. Automatically generate child `id` and label `for` attributes.
- // 3. > 1 children - render wrapping
. `labelFor` required, along with `id` on child.
- let childArray = React.Children.toArray(children);
- let id;
- let labelId = otherProps.id || createId();
- delete otherProps.id;
-
- if (childArray.length === 1) {
- // Use the existing id prop, or generate one.
- id = childArray[0].props.id || createId();
- let ariaLabelledby = childArray[0].props['aria-labelledby'] || (label ? labelId : null);
- childArray[0] = React.cloneElement(
- childArray[0],
- {
- id,
- 'aria-labelledby': ariaLabelledby
- }
- );
- }
-
- if (id && !labelFor) {
- labelFor = id;
- }
-
- if (!labelFor) {
- console.warn(`Missing labelFor attribute on ${componentName} with label "${label}"`);
- }
-
- let fieldLabelClassName = classNames(
- labelClassName,
- childArray.length === 0 ? className : null
- );
-
- let fieldLabel = label ? (
-
- {label}
- {icon && ' '}
- {icon && icon}
-
- ) : (
-
- );
-
- if (childArray.length > 0) {
- if (wrapperClassName) {
- childArray = (
-
- {childArray}
-
- );
- }
-
- return (
-
- {fieldLabel}
- {childArray}
-
- );
- }
-
- return fieldLabel;
-}
diff --git a/src/Form/index.js b/src/Form/index.js
deleted file mode 100644
index 9ed89c2dfd3..00000000000
--- a/src/Form/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Form} from './js/Form';
-export {default as FormItem} from './js/FormItem';
diff --git a/src/Form/js/Form.js b/src/Form/js/Form.js
deleted file mode 100644
index 8f0461e973e..00000000000
--- a/src/Form/js/Form.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-importSpectrumCSS('fieldlabel');
-
-export default class Form extends Component {
- static propTypes = {
- /**
- * Custom classname to append to the form element
- */
- className: PropTypes.string
- };
-
- render() {
- const {
- children,
- className,
- ...otherProps
- } = this.props;
-
- return (
-
- );
- }
-}
diff --git a/src/Form/js/FormItem.js b/src/Form/js/FormItem.js
deleted file mode 100644
index c29fb560946..00000000000
--- a/src/Form/js/FormItem.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import LabelBase from '../../FieldLabel/js/LabelBase';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-export default class FormItem extends Component {
- static propTypes = {
- /** Label for form field. Can be Text of HTML */
- label: PropTypes.oneOfType([
- PropTypes.string,
- PropTypes.object
- ]),
- /** Label Alignment. Defaults to left */
- labelAlign: PropTypes.oneOf(['left', 'right']),
- /** Id of the labelable form element */
- labelFor: PropTypes.string
- };
-
- static defaultProps = {
- labelAlign: 'left'
- };
-
- render() {
- const {
- label,
- labelAlign,
- labelFor,
- className,
- children,
- ...otherProps
- } = this.props;
-
- let labelClassNames = classNames(
- 'spectrum-Form-itemLabel',
- `spectrum-FieldLabel--${labelAlign}`
- );
-
- return (
-
- {children}
-
- );
- }
-}
diff --git a/src/Grid/README.md b/src/Grid/README.md
deleted file mode 100644
index e6ab43f21a8..00000000000
--- a/src/Grid/README.md
+++ /dev/null
@@ -1,125 +0,0 @@
-# Grid
-
-A set of container components that follow the [Spectrum Grid specs](https://www.dropbox.com/s/1gk90i7s9s01tva/Sp_ResponsiveGrid_2017Q2.xd?dl=0). These components utilize the CSS defined in the [Spectrum FlexBox Grid](https://git.corp.adobe.com/Spectrum/spectrum-flexbox-grid) project.
-
-## Introduction
-
-At a high level, the Spectrum grid system provides 12 columns which components and containers can align themselves to. So, let’s say you have a list which you want to be 1/3 of the screen and a details pane which should be 2/3s of the screen. You would have the list span 4 of the 12 columns and the details pane span 8.
-
-Now, on mobile devices, you may want the list to appear on top of the details, so you would set the list to 12 columns and the details to 12 columns.
-
-## Responsive
-I am proposing a data structure called `Responsive` that allows us to define properties for the various different viewport widths.
-
-A property that is `Responsive` defines values for the following sizes:
-
-| Size | Viewport Width |
-| ---- | --------------:|
-| xs | < 768 px |
-| sm | < 1280 px |
-| md | < 1768 px |
-| lg | < 2160 px |
-| xl | >= 2160 px |
-
-A property that is Responsive can be an object, an array, or a value.
-
-Let’s use the column size example for the following:
-
-**Object:**
-```
-
-```
-_Here we’ve defined the number of columns for all five spectrum viewports sizes_
-
-**Array:**
-```
-
-```
-_This provides identical results as the object definition above_
-
-**Value:**
-```
-
-```
-_The container always spans 10 columns_
-
-
-## Components
-
-### Grid
-
-Defines a grid. A grid can be composed of many `GridRows`.
-
-**Properties:**
-
-| Property | Description | Values |
-| ------------- |-------------| -----|
-| variant | defines whether or not the table should have a margin. | can be either fluid (no margins) or fixed. Default fluid |
-
-**Example:**
-
-```
-
-...
-
-```
-_Fixed Grid_
-
-### GridRow
-
-A new row within our grid. This acts as a break point, causing the next `GridColumn` to start at column 1 again.
-
-**Properties:**
-
-| Property | Description | Values |
-| ------------- |-------------| -----|
-| align | Aligns all child containers horizontally | Responsive. Possible values are ’start’, ‘center’, ‘end’. Not set if not provided.
-| valign | Aligns all child containers vertically | Responsive. Possible values are ’top’, ‘middle’, ‘bottom'. Not set if not provided.
-distribution | Defines where the extra space around containers should go. | Responsive. Possible values are ‘around’ and ‘between'. Not set if not provided.
-| reverse | Orders all of this rows children in reverse order | Responsive. Possible values are booleans.
-
-**Example:**
-
-```
-
- ...
-
-```
-_GridRow with top-left alignment_
-
-
-### GridColumn
-
-Defines a layout region within a grid. `GridColumns` can span multiple columns within the grid.
-
-**Properties:**
-
-| Property | Description | Values |
-| ------------- |-------------| -----|
-| size | The number of grid columns the container should span | Responsive. Possible values are numbers or the string ‘auto’. Default is auto. If using an object or array, any missing fields will default to auto.
-| offset | Offsets the container by a number of columns | Responsive. Possible values are numbers between 1 & 12.
-| first | Makes a container appear first in its row. | Responsive. Possible values are booleans.
-| last | Makes a container appear last in its row. | Responsive. Possible values are booleans.
-
-**Examples:**
-
-```
-
- ...
-
-```
-`Auto size the grid column`
-
-```
-
- ...
-
-```
-`Column spans 12 cols when xs, 10 cols when s, 8 cols when m, 4 cols when l, and 2 cols when xl`
-
-```
-
- ...
-
-```
-`Column skips 3 columns and then spans 3 columns`
diff --git a/src/Grid/index.js b/src/Grid/index.js
deleted file mode 100644
index 2753ef2c1d2..00000000000
--- a/src/Grid/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Grid} from './js/Grid';
-export {default as GridRow} from './js/GridRow';
-export {default as GridColumn} from './js/GridColumn';
diff --git a/src/Grid/js/Grid.js b/src/Grid/js/Grid.js
deleted file mode 100644
index c951df3eea2..00000000000
--- a/src/Grid/js/Grid.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import '../style/index.styl';
-
-export default class Grid extends Component {
- static propTypes = {
- /**
- * Based on http://flexboxgrid.com/
- * Fluid is percentage based
- * Fixed is values for each incrementally sized viewport (xs, sm, md, lg, etc.)
- */
- variant: PropTypes.oneOf(['fixed', 'fluid'])
- };
-
- static defaultProps = {
- variant: 'fluid'
- };
-
- render() {
- const {
- variant,
- className,
- children,
- ...otherProps
- } = this.props;
-
- let classes = classNames({
- 'spectrum-grid--fixed': variant === 'fixed',
- 'spectrum-grid--fluid': variant === 'fluid'
- }, className);
-
- return (
-
- {children}
-
- );
- }
-}
diff --git a/src/Grid/js/GridColumn.js b/src/Grid/js/GridColumn.js
deleted file mode 100644
index 9704fbcfa32..00000000000
--- a/src/Grid/js/GridColumn.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import responsive from './responsive';
-
-/**
- * A column in a grid
- * Responsive modifiers enable specifying different column sizes, offsets, and distribution at xs, sm, md & lg viewport widths.
- */
-export default class GridColumn extends Component {
- static propTypes = {
- /**
- * Custom classes to append to the grid column div
- */
- className: PropTypes.string,
-
- /**
- * How many columns to span
- */
- size: PropTypes.oneOfType([
- PropTypes.number,
- PropTypes.oneOf(['auto']),
- PropTypes.arrayOf(PropTypes.number),
- PropTypes.shape({
- xs: PropTypes.number,
- sm: PropTypes.number,
- md: PropTypes.number,
- lg: PropTypes.number,
- xl: PropTypes.number
- })
- ]),
-
- /**
- * Reorders element to first depending on viewport width
- */
- first: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.bool]),
-
- /**
- * Reorders element to last depending on viewport width
- */
- last: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.bool]),
-
- /**
- * How many columns over should the element start, useful for blank area
- */
- offsetSize: PropTypes.oneOfType([
- PropTypes.number,
- PropTypes.arrayOf(PropTypes.number),
- PropTypes.shape({
- xs: PropTypes.number,
- sm: PropTypes.number,
- md: PropTypes.number,
- lg: PropTypes.number,
- xl: PropTypes.number
- })
- ])
- };
-
- static defaultProps = {
- size: 'auto'
- };
-
- render() {
- const {
- className,
- children,
- size,
- first,
- last,
- offsetSize,
- ...otherProps
- } = this.props;
-
- let classes = classNames(
- responsive('spectrum-grid-col-#size-#value', size),
- responsive('spectrum-grid-col-#size-offset-#value', offsetSize),
- responsive('spectrum-grid-first-#size', first),
- responsive('spectrum-grid-last-#size', last),
- className
- );
-
- return (
-
- {children}
-
- );
- }
-}
diff --git a/src/Grid/js/GridRow.js b/src/Grid/js/GridRow.js
deleted file mode 100644
index ac3568b6a0c..00000000000
--- a/src/Grid/js/GridRow.js
+++ /dev/null
@@ -1,85 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import responsive from './responsive';
-
-/**
- * A row in a grid
- */
-export default class GridRow extends Component {
- static propTypes = {
- /**
- * Fill me in and fix my prop type
- */
- align: PropTypes.any,
-
- /**
- * Fill me in and fix my prop type
- */
- valign: PropTypes.any,
-
- /**
- * Fill me in and fix my prop type
- */
- distribution: PropTypes.any,
-
- /**
- * Fill me in and fix my prop type
- */
- reverse: PropTypes.any,
-
- /**
- * Fill me in and fix my prop type
- */
- className: PropTypes.string
- };
-
- static defaultProps = {
- reverse: false
- };
-
- render() {
- const {
- align,
- children,
- valign,
- distribution,
- reverse,
- className,
- ...otherProps
- } = this.props;
-
- let classes = classNames(
- 'spectrum-grid-row',
- responsive('spectrum-grid-#value-#size', align),
- responsive('spectrum-grid-#value-#size', valign),
- responsive('spectrum-grid-#value-#size', distribution),
- {'spectrum-grid-reverse': reverse},
- className
- );
-
- return (
-
- {children}
-
- );
- }
-}
diff --git a/src/Grid/js/responsive.js b/src/Grid/js/responsive.js
deleted file mode 100644
index 70f25e567e4..00000000000
--- a/src/Grid/js/responsive.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-
-const sizes = ['xs', 'sm', 'md', 'lg', 'xl'];
-
-function extractValue(data, size) {
- if (Array.isArray(data)) {
- return data[sizes.indexOf(size)];
- }
-
- if (typeof data === 'object') {
- return data[size];
- }
-
- return data;
-}
-
-export default function responsive(template, data) {
- return classNames(sizes.map((size) => {
- let value = extractValue(data, size);
- if (value == null || value === false) {
- return '';
- }
-
- if (data === 'auto') {
- return template.replace(/#size.*$/, size);
- }
-
- return template.replace('#size', size).replace('#value', value);
- }));
-}
diff --git a/src/Grid/style/index.styl b/src/Grid/style/index.styl
deleted file mode 100644
index 22f8727c3eb..00000000000
--- a/src/Grid/style/index.styl
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-flexbox-grid/dist/spectrum-flexbox-grid.css';
diff --git a/src/GridView/index.js b/src/GridView/index.js
deleted file mode 100644
index 0518c3c3769..00000000000
--- a/src/GridView/index.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as GridView} from './js/GridView';
-export {default as GalleryLayout} from './js/GalleryLayout';
-export {default as GridLayout} from './js/GridLayout';
-export {default as WaterfallLayout} from './js/WaterfallLayout';
diff --git a/src/GridView/js/BaseLayout.js b/src/GridView/js/BaseLayout.js
deleted file mode 100644
index adf73b909e6..00000000000
--- a/src/GridView/js/BaseLayout.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {DragTarget, IndexPath, Layout} from '@react/collection-view';
-
-export default class BaseLayout extends Layout {
- shouldShowDropSpacing() {
- let dropTarget = this.collectionView._dropTarget;
- let dragTarget = this.collectionView._dragTarget;
-
- // If items are being reordered, don't show the drop spacing if the drop target is right next to the drag target.
- // When dropped, the item will not move since the target is the same as the source.
- if (dropTarget && dragTarget && dragTarget.indexPath.section === dropTarget.indexPath.section && (dragTarget.indexPath.index === dropTarget.indexPath.index || dragTarget.indexPath.index + 1 === dropTarget.indexPath.index)) {
- return false;
- }
-
- // Only show the drop spacing if dropping between two items.
- // If the default drop position is not "between", then we could be dropping on the entire grid instead of an item.
- return dropTarget
- && dropTarget.dropPosition === DragTarget.DROP_BETWEEN
- && this.component.props.dropPosition === 'between';
- }
-
- getInitialLayoutInfo(type, section, index) {
- let initial = super.getInitialLayoutInfo(type, section, index);
-
- initial.opacity = 0;
- initial.transform = 'scale3d(0.8, 0.8, 0.8)';
-
- return initial;
- }
-
- getFinalLayoutInfo(type, section, index) {
- let final = super.getFinalLayoutInfo(type, section, index);
-
- final.opacity = 0;
- final.transform = 'scale3d(0.8, 0.8, 0.8)';
-
- return final;
- }
-
- _findClosestLayoutInfo(target, rect) {
- let layoutInfos = this.getVisibleLayoutInfos(rect);
- let best = null;
- let bestDistance = Infinity;
-
- for (let cur of layoutInfos) {
- if (cur.type === 'item') {
- let dist = Math.pow(target.x - cur.rect.x, 2) + Math.pow(target.y - cur.rect.y, 2);
- if (dist < bestDistance) {
- best = cur;
- bestDistance = dist;
- }
- }
- }
-
- return best;
- }
-
- _findClosest(target, rect) {
- let best = this._findClosestLayoutInfo(target, rect);
- if (best) {
- return new IndexPath(best.section, best.index);
- }
-
- return null;
- }
-}
diff --git a/src/GridView/js/GalleryLayout.js b/src/GridView/js/GalleryLayout.js
deleted file mode 100644
index 3dcac258462..00000000000
--- a/src/GridView/js/GalleryLayout.js
+++ /dev/null
@@ -1,341 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import BaseLayout from './BaseLayout';
-import {DragTarget, IndexPath, LayoutInfo, Rect, Size} from '@react/collection-view';
-
-const DEFAULT_OPTIONS = {
- S: {
- idealRowHeight: 112,
- minItemSize: new Size(96, 96),
- itemSpacing: new Size(8, 16),
- itemPadding: 24,
- dropSpacing: 50
- },
- L: {
- idealRowHeight: 208,
- minItemSize: new Size(136, 136),
- itemSpacing: new Size(24, 32),
- itemPadding: 32,
- dropSpacing: 100
- }
-};
-
-/**
- * A GalleryLayout is designed to display photos in a grid, filling all available space by
- * scaling the photos to fill each row.
- */
-export default class GalleryLayout extends BaseLayout {
- constructor(options = {}) {
- super();
-
- let cardSize = options.cardSize || 'L';
-
- /**
- * The the default row height
- * @type {number}
- * @default 208
- */
- this.idealRowHeight = options.idealRowHeight || DEFAULT_OPTIONS[cardSize].idealRowHeight;
-
- // TODO
- // this.minItemSize = options.minItemSize || DEFAULT_OPTIONS[cardSize].minItemSize;
-
- /**
- * The spacing between items
- * @type {Size}
- * @default 24 x 24
- */
- this.itemSpacing = options.itemSpacing || DEFAULT_OPTIONS[cardSize].itemSpacing;
-
- /**
- * The vertical padding for an item
- * @type {number}
- * @default 32
- */
- this.itemPadding = options.itemPadding != null ? options.itemPadding : DEFAULT_OPTIONS[cardSize].itemPadding;
-
- /**
- * The space between items created when dragging between them
- * @type {number}
- * @default 100
- */
- this.dropSpacing = options.dropSpacing != null ? options.dropSpacing : DEFAULT_OPTIONS[cardSize].dropSpacing;
-
- this.layoutInfos = [];
- this.cardType = 'gallery';
- }
-
- validate() {
- this.layoutInfos = [];
-
- let y = this.itemSpacing.height;
- let availableWidth = this.collectionView.size.width - this.itemSpacing.width * 2;
- let dropTarget = this.collectionView._dropTarget;
- if (!this.shouldShowDropSpacing()) {
- dropTarget = null;
- }
-
- let numSections = this.collectionView.getNumberOfSections();
- for (let section = 0; section < numSections; section++) {
- this.layoutInfos[section] = [];
-
- let numItems = this.collectionView.getSectionLength(section);
-
- // Compute aspect ratios for all of the items, and the total width if all items were on in a single row.
- let ratios = [];
- let totalWidth = 0;
- for (let index = 0; index < numItems; index++) {
- let size = this.collectionView.delegate.getItemSize(this.collectionView.getItem(section, index));
- let ratio = size.width / size.height;
- ratios.push(ratio);
-
- totalWidth += ratio * this.idealRowHeight;
- }
-
- // Determine how many rows we'll need, and partition the items into rows
- // using the aspect ratios as weights.
- let rows = Math.max(1, Math.round(totalWidth / availableWidth));
- let partition = linearPartition(ratios, rows);
-
- let index = 0;
- for (let row of partition) {
- // Compute the total weight for this row
- let totalWeight = 0;
- for (let j = index; j < index + row.length; j++) {
- totalWeight += ratios[j];
- }
-
- // Deternine the row height based on the total available width and weight of this row.
- let ratio = (availableWidth - (row.length - 1) * this.itemSpacing.width) / totalWeight;
- if (row === partition[partition.length - 1] && ratio > this.idealRowHeight * 2) {
- ratio = this.idealRowHeight;
- }
-
- let height = Math.round(ratio) + this.itemPadding;
- let x = this.itemSpacing.width;
-
- // If the drop target is on this row, shift the whole row to the left to create space for the dropped item
- if (dropTarget && y === this.dropTargetY) {
- x -= this.dropSpacing / 2;
- }
-
- // Create items for this row.
- for (let j = index; j < index + row.length; j++) {
- let layoutInfo = new LayoutInfo('item', section, j);
- let width = Math.round(ratio * ratios[j]);
-
- // Shift items in this row after the drop target to the right
- if (dropTarget && dropTarget.indexPath.index === j && y === this.dropTargetY) {
- x += this.dropSpacing;
- }
-
- layoutInfo.rect = new Rect(x, y, width, height);
- layoutInfo.isLastInRow = j === index + row.length - 1;
- this.layoutInfos[section][j] = layoutInfo;
-
- x += width + this.itemSpacing.width;
- }
-
- y += height + this.itemSpacing.height;
- index += row.length;
- }
- }
-
- this.contentHeight = y;
- }
-
- getVisibleLayoutInfos(rect) {
- let res = [];
- for (let section of this.layoutInfos) {
- for (let layoutInfo of section) {
- if (layoutInfo.rect.intersects(rect)) {
- res.push(layoutInfo);
- }
- }
- }
-
- return res;
- }
-
- getLayoutInfo(type, section, index) {
- return this.layoutInfos[section][index];
- }
-
- itemInserted(indexPath) {
- this.layoutInfos[indexPath.section].splice(indexPath.index, 0, null);
- }
-
- itemRemoved(indexPath) {
- this.layoutInfos[indexPath.section].splice(indexPath.index, 1);
- }
-
- itemMoved(from, to) {
- let layoutInfo = this.layoutInfos[from.section].splice(from.index, 1)[0];
- this.layoutInfos[to.section].splice(to.index, 0, layoutInfo);
- }
-
- itemReplaced(indexPath) {
- this.layoutInfos[indexPath.section][indexPath.index] = null;
- }
-
- sectionInserted(section) {
- this.layoutInfos.splice(section, 0, []);
- }
-
- sectionRemoved(section) {
- this.layoutInfos.splice(section, 1);
- }
-
- sectionMoved(fromSection, toSection) {
- let section = this.layoutInfos.splice(fromSection, 1)[0];
- this.layoutInfos.splice(toSection, 0, section);
- }
-
- sectionReplaced(section) {
- this.layoutInfos[section] = [];
- }
-
- indexPathAbove(indexPath) {
- let layoutInfo = this.getLayoutInfo('item', indexPath.section, indexPath.index);
- let rect = new Rect(layoutInfo.rect.x, 0, 1, layoutInfo.rect.y - 1);
-
- return this._findClosest(layoutInfo.rect, rect);
- }
-
- indexPathBelow(indexPath) {
- let layoutInfo = this.getLayoutInfo('item', indexPath.section, indexPath.index);
- let rect = new Rect(layoutInfo.rect.x, layoutInfo.rect.maxY + 1, 1, this.collectionView.contentSize.height);
-
- return this._findClosest(layoutInfo.rect, rect);
- }
-
- indexPathLeftOf(indexPath) {
- return this.collectionView.incrementIndexPath(indexPath, -1);
- }
-
- indexPathRightOf(indexPath) {
- return this.collectionView.incrementIndexPath(indexPath, 1);
- }
-
- getDropTarget(point) {
- let dropPosition = this.component.props.dropPosition === 'on' && !this.collectionView._dragTarget
- ? DragTarget.DROP_ON
- : DragTarget.DROP_BETWEEN;
-
- let indexPath;
- if (dropPosition === DragTarget.DROP_ON) {
- indexPath = this.collectionView.indexPathAtPoint(point);
- } else {
- // Find the closest item in this row
- let layoutInfo = this._findClosestLayoutInfo(point, new Rect(0, point.y, this.collectionView.size.width, this.itemSpacing.height));
- if (layoutInfo) {
- indexPath = new IndexPath(layoutInfo.section, layoutInfo.index);
-
- // If the item is the last in a row, and the point is at least half way across, insert the new items after.
- if (layoutInfo.isLastInRow && (point.x - layoutInfo.rect.x) > layoutInfo.rect.width / 2) {
- indexPath.index++;
- }
-
- // Store the row Y position so we can compare in `validate`.
- this.dropTargetY = layoutInfo.rect.y;
- }
- }
-
- if (indexPath) {
- return new DragTarget('item', indexPath, dropPosition);
- }
-
- let index = dropPosition === DragTarget.DROP_ON ? 0 : this.collectionView.getSectionLength(0);
- return new DragTarget('item', new IndexPath(0, index), DragTarget.DROP_BETWEEN);
- }
-}
-
-// https://www8.cs.umu.se/kurser/TDBA77/VT06/algorithms/BOOK/BOOK2/NODE45.HTM
-function linearPartition(seq, k) {
- let n = seq.length;
- if (k <= 0) {
- return [];
- }
-
- if (k >= n) {
- return seq.map(x => [x]);
- }
-
- if (n === 1) {
- return [seq];
- }
-
- let table = Array(n).fill().map(() => Array(k).fill(0));
- let solution = Array(n - 1).fill().map(() => Array(k - 1).fill(0));
-
- for (let i = 0; i < n; i++) {
- table[i][0] = seq[i] + (i > 0 ? table[i - 1][0] : 0);
- }
-
- for (let i = 0; i < k; i++) {
- table[0][i] = seq[0];
- }
-
- for (let i = 1; i < n; i++) {
- for (let j = 1; j < k; j++) {
- let currentMin = 0;
- let minX = Infinity;
-
- for (let x = 0; x < i; x++) {
- let c1 = table[x][j - 1];
- let c2 = table[i][0] - table[x][0];
- let cost = Math.max(c1, c2);
-
- if (!x || cost < currentMin) {
- currentMin = cost;
- minX = x;
- }
- }
-
- table[i][j] = currentMin;
- solution[i - 1][j - 1] = minX;
- }
- }
-
- n = n - 1;
- k = k - 2;
-
- let result = [];
- while (k >= 0) {
- if (n >= 1) {
- let row = [];
- for (let i = solution[n - 1][k] + 1; i < n + 1; i++) {
- row.push(seq[i]);
- }
-
- result.unshift(row);
- n = solution[n - 1][k];
- }
-
- k--;
- }
-
- let row = [];
- for (let i = 0; i < n + 1; i++) {
- row.push(seq[i]);
- }
-
- result.unshift(row);
-
- return result;
-}
diff --git a/src/GridView/js/GridItem.js b/src/GridView/js/GridItem.js
deleted file mode 100644
index 561bddf93a6..00000000000
--- a/src/GridView/js/GridItem.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-
-export default class GridItem extends React.Component {
- focus() {
- if (!this.cell) {
- return;
- }
-
- // If the cell provides a `focus` method, call it, otherwise find a DOM node to focus.
- if (typeof this.cell.focus === 'function') {
- this.cell.focus();
- } else {
- ReactDOM.findDOMNode(this.cell).focus();
- }
- }
-
- render() {
- let {selected, focused, layoutInfo, collectionView, size, allowsSelection} = this.props;
- let tabIndex = focused || !collectionView.focusedIndexPath ? 0 : -1;
-
- return (
-
- {React.cloneElement(this.props.children, {
- ref: (cell) => this.cell = cell,
- role: 'gridcell',
- tabIndex: tabIndex,
- 'aria-selected': selected,
- allowsSelection,
- selected,
- focused,
- isDropTarget: this.props['drop-target'],
- onLoad: this.props.onLoad,
- variant: collectionView.layout.cardType,
- size: size
- })}
-
- );
- }
-}
diff --git a/src/GridView/js/GridLayout.js b/src/GridView/js/GridLayout.js
deleted file mode 100644
index 242a288fdbe..00000000000
--- a/src/GridView/js/GridLayout.js
+++ /dev/null
@@ -1,235 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import BaseLayout from './BaseLayout';
-import {DragTarget, IndexPath, LayoutInfo, Rect, Size} from '@react/collection-view';
-
-const DEFAULT_OPTIONS = {
- S: {
- itemPadding: 20,
- minItemSize: new Size(96, 96),
- maxItemSize: new Size(Infinity, Infinity),
- margin: 8,
- minSpace: new Size(8, 16),
- maxColumns: Infinity,
- dropSpacing: 50
- },
- L: {
- itemPadding: 52,
- minItemSize: new Size(208, 208),
- maxItemSize: new Size(Infinity, Infinity),
- margin: 24,
- minSpace: new Size(24, 48),
- maxColumns: Infinity,
- dropSpacing: 100
- }
-};
-
-/**
- * A GridLayout displays equal-sized items in a grid.
- * It works with data in a single section.
- */
-export default class GridLayout extends BaseLayout {
- constructor(options = {}) {
- super();
- let cardSize = options.cardSize || 'L';
- /**
- * The minimum item size
- * @type {Size}
- * @default 208 x 208
- */
- this.minItemSize = options.minItemSize || DEFAULT_OPTIONS[cardSize].minItemSize;
-
- /**
- * The maximum item size.
- * @type {Size}
- * @default Infinity
- */
- this.maxItemSize = options.maxItemSize || DEFAULT_OPTIONS[cardSize].maxItemSize;
-
- /**
- * The margin around the grid view between the edges and the items
- * @type {Size}
- * @default 24
- */
- this.margin = options.margin != null ? options.margin : DEFAULT_OPTIONS[cardSize].margin;
-
- /**
- * The minimum space required between items
- * @type {Size}
- * @default 24 x 48
- */
- this.minSpace = options.minSpace || DEFAULT_OPTIONS[cardSize].minSpace;
-
- /**
- * The maximum number of columns. Default is infinity.
- * @type {number}
- * @default Infinity
- */
- this.maxColumns = options.maxColumns || DEFAULT_OPTIONS[cardSize].maxColumns;
-
- /**
- * The vertical padding for an item
- * @type {number}
- * @default 52
- */
- this.itemPadding = options.itemPadding != null ? options.itemPadding : DEFAULT_OPTIONS[cardSize].itemPadding;
-
- /**
- * The space between items created when dragging between them
- * @type {number}
- * @default 100
- */
- this.dropSpacing = options.dropSpacing != null ? options.dropSpacing : DEFAULT_OPTIONS[cardSize].dropSpacing;
-
- this.itemSize = null;
- this.numColumns = 0;
- this.numRows = 0;
- this.horizontalSpacing = 0;
- this.cardType = 'quiet'; // Better name?
- }
-
- getLayoutInfo(type, section, index) {
- let row = Math.floor(index / this.numColumns);
- let column = index % this.numColumns;
- let x = this.margin + column * (this.itemSize.width + this.horizontalSpacing);
- let y = this.margin + row * (this.itemSize.height + this.minSpace.height);
-
- if (this.shouldShowDropSpacing()) {
- let dropTarget = this.collectionView._dropTarget;
- let dropRow = Math.floor(dropTarget.indexPath.index / this.numColumns);
- if (dropRow === row) {
- x -= this.dropSpacing / 2;
-
- if (index >= dropTarget.indexPath.index) {
- x += this.dropSpacing;
- }
- }
- }
-
- let layoutInfo = new LayoutInfo(type, section, index);
- layoutInfo.rect = new Rect(x, y, this.itemSize.width, this.itemSize.height);
- layoutInfo.estimatedSize = false;
-
- return layoutInfo;
- }
-
- getIndexAtPoint(x, y, allowInsertingAtEnd = false) {
- let itemHeight = this.itemSize.height + this.minSpace.height;
- let itemWidth = this.itemSize.width + this.horizontalSpacing;
- return Math.max(0,
- Math.min(
- this.collectionView.getSectionLength(0) - (allowInsertingAtEnd ? 0 : 1),
- Math.floor(y / itemHeight) * this.numColumns + Math.floor((x - this.horizontalSpacing) / itemWidth)
- )
- );
- }
-
- getVisibleLayoutInfos(rect) {
- let res = [];
- let numItems = this.collectionView.getSectionLength(0) - 1;
- if (numItems < 0 || !this.itemSize) {
- return res;
- }
-
- let firstVisibleItem = this.getIndexAtPoint(rect.x, rect.y);
- let lastVisibleItem = this.getIndexAtPoint(rect.maxX, rect.maxY);
-
- for (let index = firstVisibleItem; index <= lastVisibleItem; index++) {
- let layoutInfo = this.getLayoutInfo('item', 0, index);
- if (rect.intersects(layoutInfo.rect)) {
- res.push(layoutInfo);
- }
- }
-
- return res;
- }
-
- validate() {
- // Compute the number of rows and columns needed to display the content
- let availableWidth = this.collectionView.size.width - this.margin * 2;
- let columns = Math.floor(availableWidth / (this.minItemSize.width + this.minSpace.width));
- this.numColumns = Math.max(1, Math.min(this.maxColumns, columns));
- this.numRows = Math.ceil(this.collectionView.getSectionLength(0) / this.numColumns);
-
- // Compute the available width (minus the space between items)
- let width = availableWidth - (this.minSpace.width * Math.max(0, this.numColumns - 1));
-
- // Compute the item width based on the space available
- let itemWidth = Math.floor(width / this.numColumns);
- itemWidth = Math.max(this.minItemSize.width, Math.min(this.maxItemSize.width, itemWidth));
-
- // Compute the item height, which is proportional to the item width
- let t = ((itemWidth - this.minItemSize.width) / this.minItemSize.width);
- let itemHeight = this.minItemSize.height + this.minItemSize.height * t;
- itemHeight = Math.max(this.minItemSize.height, Math.min(this.maxItemSize.height, itemHeight)) + this.itemPadding;
-
- this.itemSize = new Size(itemWidth, itemHeight);
-
- // Compute the horizontal spacing and content height
- this.horizontalSpacing = Math.floor((this.collectionView.size.width - this.numColumns * this.itemSize.width) / (this.numColumns + 1));
- this.contentHeight = this.margin * 2 + (this.numRows * this.itemSize.height) + ((this.numRows - 1) * this.minSpace.height);
- }
-
- getDropTarget(point) {
- let dropPosition = this.component.props.dropPosition === 'on' && !this.collectionView._dragTarget
- ? DragTarget.DROP_ON
- : DragTarget.DROP_BETWEEN;
-
- // If we are dropping between rows, the target should move to the
- // next item halfway through a row.
- if (dropPosition === DragTarget.DROP_BETWEEN) {
- point = point.copy();
- point.x += (this.itemSize.width + this.horizontalSpacing) / 2;
- }
-
- let indexPath;
- if (dropPosition === DragTarget.DROP_ON) {
- indexPath = this.collectionView.indexPathAtPoint(point);
- } else {
- let index = this.getIndexAtPoint(point.x, point.y, true);
- indexPath = new IndexPath(0, index);
- }
-
- if (indexPath) {
- return new DragTarget('item', indexPath, dropPosition);
- }
-
- let index = dropPosition === DragTarget.DROP_ON ? 0 : this.collectionView.getSectionLength(0);
- return new DragTarget('item', new IndexPath(0, index), DragTarget.DROP_BETWEEN);
- }
-
- getContentSize() {
- return new Size(this.collectionView.size.width, this.contentHeight);
- }
-
- indexPathAbove(indexPath) {
- return this.collectionView.incrementIndexPath(indexPath, -this.numColumns);
- }
-
- indexPathBelow(indexPath) {
- return this.collectionView.incrementIndexPath(indexPath, this.numColumns);
- }
-
- indexPathLeftOf(indexPath) {
- return this.collectionView.incrementIndexPath(indexPath, -1);
- }
-
- indexPathRightOf(indexPath) {
- return this.collectionView.incrementIndexPath(indexPath, 1);
- }
-}
diff --git a/src/GridView/js/GridView.js b/src/GridView/js/GridView.js
deleted file mode 100644
index be77b1fcd00..00000000000
--- a/src/GridView/js/GridView.js
+++ /dev/null
@@ -1,160 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import CollectionView from '../../utils/CollectionView';
-import GridItem from './GridItem';
-import {IndexPath, IndexPathSet, Layout} from '@react/collection-view';
-import ListDataSource from '../../ListDataSource';
-import PropTypes from 'prop-types';
-import React from 'react';
-import '../style/index.styl';
-
-@autobind
-export default class GridView extends React.Component {
- static propTypes = {
- /** The layout to arrange the items in. */
- layout: PropTypes.oneOfType([
- PropTypes.func,
- PropTypes.instanceOf(Layout)
- ]).isRequired,
-
- /** Whether changes to the `layout` prop should be animated. */
- animateLayoutChanges: PropTypes.bool,
-
- /** Whether to display large or small size cards */
- cardSize: PropTypes.oneOf(['S', 'L']),
-
- /** The datasource for the grid view. Should be a subclass of `ListDataSource`. */
- dataSource: PropTypes.instanceOf(ListDataSource).isRequired,
-
- /** A function which renders a cell. Passed a column object and cell data. */
- renderItem: PropTypes.func.isRequired,
-
- /** An optional function which is called to render the contents of the grid view when there are no items. */
- renderEmptyView: PropTypes.func,
-
- /** Whether to allow the user to select items */
- allowsSelection: PropTypes.bool,
-
- /** Whether to allow multiple selection of items */
- allowsMultipleSelection: PropTypes.bool,
-
- /** A function that is called when the selection changes. Passed an IndexPathSet object. */
- onSelectionChange: PropTypes.func,
-
- /** Sets the selected items. Should be an IndexPathSet object or an array of IndexPaths. */
- selectedIndexPaths: PropTypes.oneOfType([
- PropTypes.arrayOf(PropTypes.instanceOf(IndexPath)),
- PropTypes.instanceOf(IndexPathSet)
- ]),
-
- /** Whether the user can drag items from the grid view. */
- canDragItems: PropTypes.bool,
-
- /** A function which renders the view to display under the cursor during drag and drop. */
- renderDragView: PropTypes.func,
-
- /**
- * Whether the GridView accepts drops.
- * If `true`, the grid view accepts all types of drops. Alternatively,
- * it can be set to an array of accepted drop types.
- */
- acceptsDrops: PropTypes.oneOfType([PropTypes.bool, PropTypes.arrayOf(PropTypes.string)]),
-
- /**
- * Whether drops should appear on top of items, or between them. If you want to customize this
- * or mix the modes, you can override `getDropTarget` on the data source.
- */
- dropPosition: PropTypes.oneOf(['on', 'between'])
- };
-
- static defaultProps = {
- cardSize: 'L',
- animateLayoutChanges: true,
- allowsSelection: true,
- allowsMultipleSelection: true,
- canDragItems: false,
- acceptsDrops: false,
- dropPosition: 'between'
- };
-
- constructor(props) {
- super(props);
-
- this.state = {
- layout: this.getLayout(props.layout, props.cardSize)
- };
- }
-
- getLayout(layout, cardSize) {
- if (typeof layout === 'function') {
- layout = new layout({cardSize});
- }
-
- if (layout instanceof Layout) {
- return layout;
- }
-
- throw new Error('Invalid layout prop passed to GridView. Must be a Layout constructor or an instanceof the Layout class.');
- }
-
- componentWillReceiveProps(props) {
- if (props.layout !== this.props.layout || props.cardSize !== this.props.cardSize) {
- this.setState({layout: this.getLayout(props.layout, props.cardSize)});
- }
- }
-
- renderItemView(type, data) {
- return (
-
- {this.props.renderItem(data)}
-
- );
- }
-
- render() {
- let {
- allowsSelection,
- allowsMultipleSelection,
- className,
- dataSource,
- onSelectionChange,
- ...otherProps
- } = this.props;
-
- let rowCount = dataSource && dataSource.getNumberOfSections() > 0 ? dataSource.getSectionLength(0) : 0;
-
- return (
-
- );
- }
-}
diff --git a/src/GridView/js/WaterfallLayout.js b/src/GridView/js/WaterfallLayout.js
deleted file mode 100644
index 0d6bdf1fb0c..00000000000
--- a/src/GridView/js/WaterfallLayout.js
+++ /dev/null
@@ -1,274 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import BaseLayout from './BaseLayout';
-import {DragTarget, IndexPath, LayoutInfo, Rect, Size} from '@react/collection-view';
-
-/**
- * A WaterfallLayout displays items with variable heights in equal-width columns,
- * similar to Pinterest.
- */
-export default class WaterfallLayout extends BaseLayout {
- constructor(options = {}) {
- super();
-
- /**
- * The minimum item size
- * @type {Size}
- * @default 240 x 136
- */
- this.minItemSize = options.minItemSize || new Size(240, 136);
-
- /**
- * The maximum item size.
- * @type {Size}
- * @default Infinity
- */
- this.maxItemSize = options.maxItemSize || new Size(Infinity, Infinity);
-
- /**
- * The margin around the grid view between the edges and the items
- * @type {Size}
- * @default 24
- */
- this.margin = 24;
-
- /**
- * The minimum space required between items
- * @type {Size}
- * @default 24 x 24
- */
- this.minSpace = options.minSpace || new Size(24, 24);
-
- /**
- * The maximum number of columns. Default is infinity.
- * @type {number}
- * @default Infinity
- */
- this.maxColumns = options.maxColumns || Infinity;
-
- /**
- * The vertical padding for an item
- * @type {number}
- * @default 56
- */
- this.itemPadding = options.itemPadding != null ? options.itemPadding : 56;
-
- this.itemWidth = 0;
- this.numColumns = 0;
- this.layoutInfos = [];
- this.cardType = 'standard';
- }
-
- getLayoutInfo(type, section, index) {
- return this.layoutInfos[section][index];
- }
-
- getVisibleLayoutInfos(rect) {
- let res = [];
- for (let section of this.layoutInfos) {
- for (let layoutInfo of section) {
- if (layoutInfo.rect.intersects(rect)) {
- res.push(layoutInfo);
- }
- }
- }
-
- return res;
- }
-
- validate(invalidationContext) {
- // Compute the number of columns needed to display the content
- let availableWidth = this.collectionView.size.width - this.margin * 2;
- let columns = Math.floor(this.collectionView.size.width / (this.minItemSize.width + this.minSpace.width));
- this.numColumns = Math.max(1, Math.min(this.maxColumns, columns));
-
- // Compute the available width (minus the space between items)
- let width = availableWidth - (this.minSpace.width * (this.numColumns - 1));
-
- // Compute the item width based on the space available
- let itemWidth = Math.round(width / this.numColumns);
- itemWidth = Math.max(this.minItemSize.width, Math.min(this.maxItemSize.width, itemWidth));
- this.itemWidth = itemWidth;
-
- // Compute the horizontal spacing
- let horizontalSpacing = Math.round((availableWidth - this.numColumns * itemWidth) / (this.numColumns - 1));
-
- // Setup an array of column heights
- let columnHeights = Array(this.numColumns).fill(this.margin);
-
- let delegate = this.collectionView.delegate;
- let oldLayoutInfos = this.layoutInfos;
- this.layoutInfos = [];
-
- let columnLayoutInfos = Array(this.numColumns).fill().map(() => []);
-
- let numSections = this.collectionView.getNumberOfSections();
- for (let section = 0; section < numSections; section++) {
- this.layoutInfos[section] = [];
-
- let numItems = this.collectionView.getSectionLength(section);
- for (let i = 0; i < numItems; i++) {
- let layoutInfo = new LayoutInfo('item', section, i);
-
- // Compute the height of the item. Use the existing height if available,
- // otherwise call the delegate to estimate the size.
- let old = oldLayoutInfos[section] && oldLayoutInfos[section][i];
- let height;
- let estimatedSize = true;
- if (old) {
- height = old.rect.height;
- estimatedSize = invalidationContext.sizeChanged || old.estimatedSize;
- } else if (delegate.getItemSize) {
- let size = delegate.getItemSize(this.collectionView.getItem(section, i));
- let scaledHeight = Math.round(size.height * ((itemWidth) / size.width));
- height = Math.max(this.minItemSize.height, Math.min(this.maxItemSize.height, scaledHeight)) + this.itemPadding;
- } else {
- height = itemWidth;
- }
-
- // Figure out which column to place the item in, and compute its position.
- let column = this.getNextColumnIndex(columnHeights);
- let x = this.margin + column * (itemWidth + horizontalSpacing);
- let y = columnHeights[column];
-
- layoutInfo.rect = new Rect(x, y, itemWidth, height);
- layoutInfo.estimatedSize = estimatedSize;
- this.layoutInfos[section][i] = layoutInfo;
- columnLayoutInfos[column].push(layoutInfo);
-
- if (layoutInfo.estimatedSize && !invalidationContext.contentChanged && !this.collectionView._transaction) {
- this.updateItemSize(new IndexPath(section, i));
- }
-
- columnHeights[column] += layoutInfo.rect.height + this.minSpace.height;
- }
-
- // Reset all columns to the maximum for the next section
- let maxHeight = Math.max.apply(Math, columnHeights) - this.minSpace.height + this.margin;
- columnHeights.fill(maxHeight);
- }
-
- this.contentHeight = columnHeights[0];
- }
-
- getContentSize() {
- return new Size(this.collectionView.size.width, this.contentHeight);
- }
-
- getNextColumnIndex(columnHeights) {
- let minIndex = 0;
- for (let i = 0; i < columnHeights.length; i++) {
- if (columnHeights[i] < columnHeights[minIndex]) {
- minIndex = i;
- }
- }
-
- return minIndex;
- }
-
- updateItemSize(indexPath) {
- let {section, index} = indexPath;
- let view = this.collectionView.getItemView(section, index);
- if (!view) {
- return false;
- }
-
-
- let layoutInfo = this.layoutInfos[section][index];
- let size = view.getSize();
-
- if (size.height !== layoutInfo.rect.height) {
- layoutInfo.rect.height = size.height;
- layoutInfo.estimatedSize = view.estimatedSize || false;
- return true;
- }
-
- return false;
- }
-
- itemInserted(indexPath) {
- this.layoutInfos[indexPath.section].splice(indexPath.index, 0, null);
- }
-
- itemRemoved(indexPath) {
- this.layoutInfos[indexPath.section].splice(indexPath.index, 1);
- }
-
- itemMoved(from, to) {
- let layoutInfo = this.layoutInfos[from.section].splice(from.index, 1)[0];
- this.layoutInfos[to.section].splice(to.index, 0, layoutInfo);
- }
-
- itemReplaced(indexPath) {
- this.layoutInfos[indexPath.section][indexPath.index] = null;
- }
-
- sectionInserted(section) {
- this.layoutInfos.splice(section, 0, []);
- }
-
- sectionRemoved(section) {
- this.layoutInfos.splice(section, 1);
- }
-
- sectionMoved(fromSection, toSection) {
- let section = this.layoutInfos.splice(fromSection, 1)[0];
- this.layoutInfos.splice(toSection, 0, section);
- }
-
- sectionReplaced(section) {
- this.layoutInfos[section] = [];
- }
-
- indexPathAbove(indexPath) {
- let layoutInfo = this.getLayoutInfo('item', indexPath.section, indexPath.index);
- let rect = new Rect(layoutInfo.rect.x, 0, this.itemWidth, layoutInfo.rect.y - 1);
-
- return this._findClosest(layoutInfo.rect, rect);
- }
-
- indexPathBelow(indexPath) {
- let layoutInfo = this.getLayoutInfo('item', indexPath.section, indexPath.index);
- let rect = new Rect(layoutInfo.rect.x, layoutInfo.rect.maxY + 1, this.itemWidth, this.collectionView.contentSize.height);
-
- return this._findClosest(layoutInfo.rect, rect);
- }
-
- indexPathLeftOf(indexPath) {
- let layoutInfo = this.getLayoutInfo('item', indexPath.section, indexPath.index);
- let rect = new Rect(0, 0, layoutInfo.rect.x - 1, this.collectionView.contentSize.height);
-
- return this._findClosest(layoutInfo.rect, rect);
- }
-
- indexPathRightOf(indexPath) {
- let layoutInfo = this.getLayoutInfo('item', indexPath.section, indexPath.index);
- let rect = new Rect(layoutInfo.rect.maxX + 1, 0, this.collectionView.size.width, this.collectionView.contentSize.height);
-
- return this._findClosest(layoutInfo.rect, rect);
- }
-
- getDropTarget(point) {
- let indexPath = this.collectionView.indexPathAtPoint(point);
- if (indexPath) {
- return new DragTarget('item', indexPath, DragTarget.DROP_ON);
- }
-
- return new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN);
- }
-}
diff --git a/src/GridView/style/index.styl b/src/GridView/style/index.styl
deleted file mode 100644
index fdcff7f5ca1..00000000000
--- a/src/GridView/style/index.styl
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-.react-spectrum-GridView {
- height: 500px;
- outline: none;
-
- > div > .item {
- overflow: visible !important; /* override inline styles applied by collection-view */
- }
-}
-
-.react-spectrum-GridView.is-drop-target {
- background: rgba($spectrum-global-color-blue600, 0.1);
- box-shadow: 0 0 0 2px $spectrum-global-color-blue500;
- border-radius: 4px;
-}
-
-.react-spectrum-GridView-item {
- > .spectrum-Card--quiet,
- > .spectrum-Card--gallery {
- position: absolute;
- }
-}
-
-.react-spectrum-GridView > div[style*="transition"] {
- * {
- transition: inherit;
- }
-}
diff --git a/src/Heading/index.js b/src/Heading/index.js
deleted file mode 100644
index 0d18baaca93..00000000000
--- a/src/Heading/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Heading');
diff --git a/src/Heading/js/Heading.js b/src/Heading/js/Heading.js
deleted file mode 100644
index 1b0fb2727bd..00000000000
--- a/src/Heading/js/Heading.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-const VARIANTS = {
- 1: 'display',
- 2: 'pageTitle',
- 3: 'subtitle1',
- 4: 'subtitle2',
- 5: 'subtitle3',
- 6: 'subtitle3'
-};
-
-const ELEMENTS = {
- 'display': 'h1',
- 'pageTitle': 'h2',
- 'subtitle1': 'h2',
- 'subtitle2': 'h3',
- 'subtitle3': 'h4'
-};
-
-export default function Heading({
- variant,
- size = 1, // back-compat
- children,
- className,
- ...otherProps
-}) {
- variant = variant || VARIANTS[size] || 'display';
- const Element = ELEMENTS[variant];
-
- return (
-
- {children}
-
- );
-}
-
-Heading.displayName = 'Heading';
-
-Heading.propTypes = {
- /**
- * Variant of the heading to display. This maps to different heading HTML elements:
- * - display: h1
- * - pageTitle: h2
- * - subtitle1: h2
- * - subtitle2: h3
- * - subtitle3: h4
- */
- variant: PropTypes.oneOf(['display', 'pageTitle', 'subtitle1', 'subtitle2', 'subtitle3']),
-
- /**
- * Custom classname to apply to the heading.
- */
- className: PropTypes.string
-};
diff --git a/src/Icon/index.js b/src/Icon/index.js
deleted file mode 100644
index 95b518515bb..00000000000
--- a/src/Icon/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Icon');
diff --git a/src/Icon/js/Icon.js b/src/Icon/js/Icon.js
deleted file mode 100644
index 7b23b1b1eb2..00000000000
--- a/src/Icon/js/Icon.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import React from 'react';
-importSpectrumCSS('icon');
-
-const SIZES = {
- XXS: 18,
- XS: 24,
- S: 18,
- M: 24,
- L: 18,
- XL: 24,
- XXL: 24
-};
-
-export default function Icon({
- icon, // add, bell, heart, star
- size = 'M', // XS, S, M, L
- className,
- children,
- 'aria-label': ariaLabel,
- alt,
- ...otherProps
-}) {
- const sizeKey = SIZES[size];
- let svg = (icon && icon[sizeKey]) || icon || children;
- if (typeof svg === 'string') {
- throw new Error('String icon names are deprecated. Please import icons from react-spectrum/Icon/IconName and render as
.');
- }
-
- return React.cloneElement(svg, {
- focusable: 'false',
- 'aria-label': ariaLabel || alt,
- 'aria-hidden': (ariaLabel || alt ? null : true),
- role: 'img',
- className: classNames(svg.props.className, 'spectrum-Icon', {[`spectrum-Icon--size${size}`]: size}, className),
- ...otherProps
- });
-}
-
-Icon.displayName = 'Icon';
-
-Icon.propTypes = {
- /**
- * Size of icon, XXS to XXL
- */
- size: PropTypes.string
-};
diff --git a/src/Icon/style/index.styl b/src/Icon/style/index.styl
deleted file mode 100644
index c8c0e8294bf..00000000000
--- a/src/Icon/style/index.styl
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-icons/svg/spectrum-icons.css';
diff --git a/src/IllustratedMessage/index.js b/src/IllustratedMessage/index.js
deleted file mode 100644
index d1828ef70d6..00000000000
--- a/src/IllustratedMessage/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/IllustratedMessage');
diff --git a/src/IllustratedMessage/js/IllustratedMessage.js b/src/IllustratedMessage/js/IllustratedMessage.js
deleted file mode 100644
index c0990962b5f..00000000000
--- a/src/IllustratedMessage/js/IllustratedMessage.js
+++ /dev/null
@@ -1,113 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import Heading from '../../Heading';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('illustratedmessage');
-
-/**
- * An IllustratedMessage displays an illustration icon and a message, usually in an empty state or on an error page.
- */
-export default class IllustratedMessage extends React.Component {
- static propTypes = {
- /** The heading to be displayed */
- heading: PropTypes.string,
-
- /** The description to be displayed */
- description: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
-
- /** The illustration to be rendered above heading. Should be an SVG element. */
- illustration: PropTypes.element,
-
- /** The heading level for the heading element to preserve hierarchy of headings in web page for accessibility. */
- ariaLevel: PropTypes.number
- };
-
- static defaultProps = {
- heading: null,
- description: null
- };
-
- isIllustrationDecorative() {
- const {
- illustration,
- heading,
- description
- } = this.props;
-
- if (illustration) {
- const {
- props
- } = illustration;
-
- const {
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby,
- 'aria-hidden': ariaHidden
- } = props;
-
- // If illustration is explicitly hidden for accessibility return the ariaHidden value.
- if (ariaHidden != null) {
- return ariaHidden;
- }
-
- // If illustration is explicitly labelled using aria-label or aria-labelledby return null.
- if (ariaLabel || ariaLabelledby) {
- return false;
- }
- }
-
- // Otherwise, assume the image is decorative.
- return !!(heading || description);
- }
-
- render() {
- let {
- illustration = null,
- className,
- heading,
- description,
- ariaLevel,
- ...otherProps
- } = this.props;
-
- if (illustration && (!illustration.props.className || !illustration.props.className.includes('spectrum-IllustratedMessage-illustration'))) {
- illustration = React.cloneElement(illustration, {
- className: classNames(illustration.props.className, 'spectrum-IllustratedMessage-illustration'),
- 'aria-hidden': this.isIllustrationDecorative() || null
- });
- }
-
- return (
-
- {illustration}
- {heading &&
-
{heading}
- }
- {description &&
-
{description}
- }
-
- );
- }
-}
diff --git a/src/Image/index.js b/src/Image/index.js
deleted file mode 100644
index fa7844f8e84..00000000000
--- a/src/Image/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Image} from './js/Image';
-export {default as ImageCache} from './js/ImageCache';
diff --git a/src/Image/js/Image.js b/src/Image/js/Image.js
deleted file mode 100644
index dd4397cbb06..00000000000
--- a/src/Image/js/Image.js
+++ /dev/null
@@ -1,212 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import ImageCache from './ImageCache';
-import PropTypes from 'prop-types';
-import React from 'react';
-import '../style/index.styl';
-
-const DEFAULT_STATE = {
- src: '',
- loaded: false,
- isPlaceholder: false
-};
-
-@autobind
-export default class Image extends React.Component {
- static propTypes = {
- /** The image url **/
- src: PropTypes.string.isRequired,
-
- /** Placeholder image to display while the fullsize one is loading, if cached. */
- placeholder: PropTypes.string,
-
- /** HTTP headers to add to the request for the asset image */
- headers: PropTypes.object,
-
- /** Whether to use the image cache for the image */
- cache: PropTypes.bool,
-
- /** Alternate content for screen readers */
- alt: PropTypes.string,
-
- /** Whether the image is being used for decoration and should not be announced by screen readers */
- decorative: PropTypes.bool,
-
- /** Load callback triggered when images load */
- onLoad: PropTypes.func
- };
-
- static defaultProps = {
- cache: false
- };
-
- state = DEFAULT_STATE;
-
- reset() {
- this.setState(DEFAULT_STATE);
- }
-
- loadImage(src, placeholder) {
- if (!this.props.cache && !this.props.headers) {
- this.setState({
- src,
- loaded: false,
- isPlaceholder: false
- });
-
- return;
- }
-
- this._src = src;
- let fromCache = ImageCache.has(src);
-
- if (ImageCache.has(placeholder) && !fromCache) {
- this.setState({
- src: ImageCache.getCached(placeholder),
- loaded: false,
- isPlaceholder: true
- });
- }
-
- this._loadCallback = (err, url) => {
- // Ignore result if the image src changed while
- // loading, or the component was unmounted.
- if (this._src !== src || !this.mounted) {
- return;
- }
-
- // Handle loading errors
- if (err) {
- return this.onError(err);
- }
-
- // Update the state. Mark as already loaded if it was from the cache.
- this.setState({
- src: url,
- loaded: fromCache,
- isPlaceholder: this.state.isPlaceholder && !fromCache
- });
- };
-
- ImageCache.get(src, {headers: this.props.headers || {}}, this._loadCallback);
- }
-
- componentDidMount() {
- this.mounted = true;
- this.loadImage(this.props.src, this.props.placeholder);
- }
-
- componentWillUnmount() {
- ImageCache.abort(this.props.src, this._loadCallback);
- this.mounted = false;
- }
-
- componentWillReceiveProps(props) {
- if (props.src !== this.props.src) {
- ImageCache.abort(this.props.src, this._loadCallback);
- this.reset();
- this.loadImage(props.src, props.placeholder);
- }
- }
-
- componentDidUpdate() {
- this.onLoad();
- }
-
- isImageLoaded() {
- let image = this.imgRef;
- if (!image || !image.complete) {
- return false;
- }
-
- if (typeof image.naturalWidth !== 'undefined' && image.naturalWidth === 0) {
- return false;
- }
-
- return true;
- }
-
- onLoad() {
- if (this.isImageLoaded()) {
- requestAnimationFrame(() => {
- // Image could have been unmounted or changed between frames, so double check it is still there.
- if (this.isImageLoaded()) {
- if (this.props.onLoad) {
- this.props.onLoad(this.imgRef);
- }
- if (!this.state.loaded) {
- this.setState({loaded: true, isPlaceholder: false});
- }
- }
- });
- }
- }
-
- onError(err) {
- if (this.props.onError) {
- this.props.onError(err);
- }
-
- if (this.state.src) {
- this.reset();
- }
- }
-
- render() {
- let {
- alt,
- className,
- decorative,
- ...otherProps
- } = this.props;
- let {
- loaded,
- isPlaceholder,
- src
- } = this.state;
-
- if (decorative) {
- alt = '';
- }
-
- if (alt == null) {
- console.warn(
- 'Neither the `alt` prop or `decorative` were provided to an image. ' +
- 'Add `alt` text for screen readers, or enable the `decorative` prop to indicate that the image ' +
- 'is decorative or redundant with displayed text and should not be annouced by screen readers.'
- );
- }
-
- return (
-
this.imgRef = r}
- alt={alt} />
- );
- }
-}
diff --git a/src/Image/js/ImageCache.js b/src/Image/js/ImageCache.js
deleted file mode 100644
index 74773f38d0a..00000000000
--- a/src/Image/js/ImageCache.js
+++ /dev/null
@@ -1,220 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-const DEFAULT_OPTIONS = {
- cacheSize: 500,
- maxConcurrentDownloads: 10
-};
-
-// static callback for use when preloading images.
-const PRELOAD_CB = function () {};
-
-/**
- * This class caches images locally during a browser session,
- * and ensures that images are not reloaded from the network
- * as users scroll around. It can also preload images in advance.
- */
-export class ImageCache {
- constructor(options) {
- this.options = Object.assign({}, DEFAULT_OPTIONS, options);
-
- this._cache = new Map;
- this._callbacks = {};
- this._xhr = {};
- this._queue = [];
- this._active = 0;
- }
-
- _loadImage(url, options, callback) {
- // If the image is already loading, just add the callback
- if (this._callbacks[url]) {
- this._callbacks[url].add(callback);
- return;
- }
-
- // Save callback, and enqueue the url to load.
- this._callbacks[url] = new Set([callback]);
- this._enqueue(this._load.bind(this, url, options));
- }
-
- _enqueue(fn) {
- this._queue.push(fn);
- this._runQueue();
- }
-
- _runQueue() {
- // Run items from the queue until we reach the maximum concurrency limit
- while (this._queue.length > 0 && this._active < this.options.maxConcurrentDownloads) {
- let fn = this._queue.shift();
- this._active++;
- fn(() => {
- this._active--;
- this._runQueue();
- });
- }
- }
-
- async _load(url, options, callback) {
- if (!this._callbacks[url]) {
- callback();
- return;
- }
-
- let xhr = new XMLHttpRequest;
- xhr.open('GET', url);
- xhr.responseType = 'blob';
-
- if (options.headers) {
- for (let key in options.headers) {
- xhr.setRequestHeader(key, options.headers[key]);
- }
- }
-
- xhr.addEventListener('load', () => {
- let blobURL = URL.createObjectURL(xhr.response);
- this.set(url, blobURL);
- this._callback(url, null, blobURL);
- callback();
- });
-
- xhr.addEventListener('error', (err) => {
- this._callback(url, err);
- callback();
- });
-
- xhr.addEventListener('abort', () => {
- callback();
- });
-
- this._xhr[url] = xhr;
- xhr.send();
- }
-
- _callback(url, err, blobURL) {
- for (var callback of this._callbacks[url]) {
- callback(err, blobURL);
- }
-
- delete this._callbacks[url];
- delete this._xhr[url];
- }
-
- set(url, blobURL) {
- // If the cache exceeds the maximum, delete the first key in the map,
- // which corresponds to the least recently used item.
- if (this._cache.size >= this.options.cacheSize) {
- let toDelete = this._cache.keys().next().value;
- this.delete(toDelete);
- }
-
- this._cache.set(url, blobURL);
- }
-
- delete(url) {
- let blobURL = this._cache.get(url);
- if (blobURL) {
- URL.revokeObjectURL(blobURL);
- this._cache.delete(url);
- }
- }
-
- /**
- * Checks whether an image URL exists in the cache.
- */
- has(url) {
- return this._cache.has(url);
- }
-
- /**
- * Gets a blob URL for an image if it exists already in the cache.
- */
- getCached(url) {
- let blobURL = this._cache.get(url);
- if (blobURL) {
- // re-insert the blob url at the end of the map for LRU eviction strategy.
- this._cache.delete(url);
- this._cache.set(url, blobURL);
- }
-
- return blobURL;
- }
-
- /**
- * Gets a blob url for an image and calls the callback. If the image is not already cached,
- * it will be queued and loaded.
- * @param {string} url
- * @param {?object} options
- * @param {function} callback
- */
- get(url, options, callback) {
- if (typeof options === 'function') {
- callback = options;
- options = {};
- }
-
- if (/^blob:/.test(url)) {
- return callback(null, url);
- }
-
- var blobURL = this.getCached(url);
- if (blobURL) {
- return callback(null, blobURL);
- }
-
- this._loadImage(url, options, callback);
- }
-
- /**
- * Aborts loading an image by URL for the provided callback function.
- */
- abort(url, callback) {
- // Ignore if this url is not currently loading, or the callback wasn't found.
- if (!this._callbacks[url] || !this._callbacks[url].has(callback)) {
- return;
- }
-
- // Delete the callback from the list. If it is the last one, continue.
- this._callbacks[url].delete(callback);
- if (this._callbacks[url].size > 0) {
- return;
- }
-
- // Abort the request, if one is in progress.
- if (this._xhr[url]) {
- this._xhr[url].abort();
- delete this._xhr[url];
- }
-
- delete this._callbacks[url];
- }
-
- /**
- * Queues an image to be preloaded
- */
- preload(url) {
- this.get(url, PRELOAD_CB);
- }
-
- /**
- * Aborts an image preload
- */
- abortPreload(url) {
- this.abort(url, PRELOAD_CB);
- }
-}
-
-export default new ImageCache;
diff --git a/src/Image/style/index.styl b/src/Image/style/index.styl
deleted file mode 100644
index 9a7ae200626..00000000000
--- a/src/Image/style/index.styl
+++ /dev/null
@@ -1,28 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-light.styl';
-
-.react-spectrum-Image {
- opacity: 0;
- transition: opacity $spectrum-global-animation-transition-time;
-
- &.is-loaded,
- &.is-placeholder {
- opacity: 1;
- }
-}
diff --git a/src/InlineEditor/index.js b/src/InlineEditor/index.js
deleted file mode 100644
index d351a289bf8..00000000000
--- a/src/InlineEditor/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/InlineEditor');
diff --git a/src/InlineEditor/js/InlineEditor.js b/src/InlineEditor/js/InlineEditor.js
deleted file mode 100644
index 1b07c887f74..00000000000
--- a/src/InlineEditor/js/InlineEditor.js
+++ /dev/null
@@ -1,135 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import ReactDOM from 'react-dom';
-import Textfield from '../../Textfield';
-import '../style/index.styl';
-
-@autobind
-export default class InlineEditor extends Component {
- static propTypes = {
- /**
- * Value component is initally set to
- */
- defaultValue: PropTypes.string,
-
- /**
- * puts it into a controlled state
- */
- value: PropTypes.string,
-
- /**
- * Prevents the value from being editiable, only renders value as label
- */
- disabled: PropTypes.bool
- };
-
- constructor(props) {
- super(props);
-
- this.state = {
- editing: !!this.props.autoFocus,
- value: this.props.value || this.props.defaultValue || '',
- invalid: false
- };
- }
-
- componentWillReceiveProps(props) {
- if (props.value != null && props.value !== this.props.value) {
- this.setState({value: props.value});
- }
- }
-
- onChange(value) {
- this.setState({value});
- }
-
- onKeyDown(e) {
- if (e.key === 'Enter') {
- this.endEditing(true);
- } else if (e.key === 'Escape') {
- this.endEditing(false);
- }
- }
-
- startEditing() {
- this.setState({
- editing: true,
- startValue: this.state.value,
- invalid: false
- });
- }
-
- async endEditing(shouldSave = true) {
- let contEditing = false;
- let value = shouldSave ? this.state.value : this.state.startValue;
- if (shouldSave && this.props.onChange) {
- contEditing = (await this.props.onChange(value) === false);
- } else if (!shouldSave && this.props.onCancel) {
- this.props.onCancel();
- }
- this.setState({
- editing: contEditing,
- value: this.props.value == null ? value : this.props.value,
- invalid: contEditing
- });
- }
-
- focusTextfield(textfield) {
- if (textfield) {
- let input = ReactDOM.findDOMNode(textfield);
- input.focus();
- input.select();
- }
- }
-
- renderLabel() {
- let {className, disabled} = this.props;
-
- return (
-
- {this.state.value}
-
- );
- }
-
- renderEditor() {
- let {className, ...props} = this.props;
-
- return (
-
- );
- }
-
- render() {
- return this.state.editing ? this.renderEditor() : this.renderLabel();
- }
-}
diff --git a/src/InlineEditor/style/index.styl b/src/InlineEditor/style/index.styl
deleted file mode 100644
index fe84b0915e7..00000000000
--- a/src/InlineEditor/style/index.styl
+++ /dev/null
@@ -1,31 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-light.styl';
-
-.react-spectrum-InlineEditor {
- width: 100%;
- height: $spectrum-alias-single-line-height;
-
- &.react-spectrum-InlineEditor-label {
- display: inline-block;
- line-height: $spectrum-alias-single-line-height;
- text-indent: $spectrum-global-layout-size-150;
- padding-left: 1px;
- vertical-align: middle;
- }
-}
diff --git a/src/InputGroup/index.js b/src/InputGroup/index.js
deleted file mode 100644
index 3e90b51bd35..00000000000
--- a/src/InputGroup/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/InputGroup');
diff --git a/src/InputGroup/js/InputGroup.js b/src/InputGroup/js/InputGroup.js
deleted file mode 100644
index ba5926eb8e4..00000000000
--- a/src/InputGroup/js/InputGroup.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import React from 'react';
-
-importSpectrumCSS('inputgroup');
-
-export default function InputGroup({quiet, focused, invalid, disabled, className, children, ...otherProps}) {
- return (
-
- {children}
-
- );
-}
diff --git a/src/Label/index.js b/src/Label/index.js
deleted file mode 100644
index 39eef9c119c..00000000000
--- a/src/Label/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Label');
diff --git a/src/Label/js/Label.js b/src/Label/js/Label.js
deleted file mode 100644
index 0dbc3edbd3a..00000000000
--- a/src/Label/js/Label.js
+++ /dev/null
@@ -1,60 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('label');
-
-const variants = [
- 'grey', 'green', 'blue', 'red', 'orange', 'and', 'or', 'active', 'inactive'
-];
-
-export default function Label({size, children, className, variant = variants[0], ...otherProps}) {
- const sizeClassPart = {L: 'large'}[size];
-
- return (
-
- {children}
-
- );
-}
-
-Label.displayName = 'Label';
-
-Label.propTypes = {
- /**
- * Size of the label
- */
- size: PropTypes.string,
-
- /**
- * Variant of the label to display
- */
- variant: PropTypes.oneOf(variants)
-};
diff --git a/src/Link/index.js b/src/Link/index.js
deleted file mode 100644
index 68e7f080f14..00000000000
--- a/src/Link/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Link');
diff --git a/src/Link/js/Link.js b/src/Link/js/Link.js
deleted file mode 100644
index 5df9feaaf48..00000000000
--- a/src/Link/js/Link.js
+++ /dev/null
@@ -1,81 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {chain} from '../../utils/events';
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('link');
-
-function preventDefault(e) {
- if (!e.defaultPrevented) {
- e.preventDefault();
- }
-}
-
-export default function Link({
- subtle, // deprecated, use variant instead
- variant,
- children,
- className,
- href,
- onClick,
- ...otherProps
-}) {
- if (subtle) {
- console.warn('The "subtle" prop of Link is deprecated. Please use variant="quiet" instead.');
- variant = 'quiet';
- }
-
- if (variant === 'subtle') {
- console.warn('The "subtle" variant of Link is deprecated. Please use variant="quiet" instead.');
- variant = 'quiet';
- }
-
- if (!href && typeof onClick === 'function') {
- href = '#';
- onClick = chain(onClick, preventDefault);
- }
-
- return (
-
- {children}
-
- );
-}
-
-Link.propTypes = {
- /** Class to add to the Link */
- className: PropTypes.string,
-
- /** Link variant */
- variant: PropTypes.oneOf(['quiet', 'subtle', 'overBackground'])
-};
-
-Link.displayName = 'Link';
diff --git a/src/List/index.js b/src/List/index.js
deleted file mode 100644
index 5c9bbe037a5..00000000000
--- a/src/List/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as List} from './js/List';
-export {default as ListItem} from './js/ListItem';
diff --git a/src/List/js/List.js b/src/List/js/List.js
deleted file mode 100644
index 79bb270d71a..00000000000
--- a/src/List/js/List.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import FocusManager from '../../utils/FocusManager';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-importSpectrumCSS('menu');
-
-const LIST_ITEM_SELECTOR = '.spectrum-Menu-item';
-const NOT_DISABLED_SELECTOR = ':not(.is-disabled)';
-const SELECTED_LIST_ITEM_SELECTOR = LIST_ITEM_SELECTOR + NOT_DISABLED_SELECTOR + '.is-selected';
-
-@focusRing
-export default class List extends Component {
- static propTypes = {
- /**
- * Focus should immediately be given to the list upon render, specifically
- * the currently selected item
- */
- autoFocus: PropTypes.bool,
-
- /**
- * Class added to this component
- */
- className: PropTypes.string,
-
- /**
- * The WAI-ARIA role for the list. Defaults to "listbox", but could be "menu" depending on context.
- */
- role: PropTypes.oneOf(['listbox', 'menu']),
-
- /**
- * Whether or not the list supports selection.
- */
- selectable: PropTypes.bool,
-
- /**
- * Whether to include alphanumeric typing as a way to move focus to items in a list.
- */
- typeToSelect: PropTypes.bool
- };
-
- static defaultProps = {
- role: 'listbox'
- };
-
- constructor(props) {
- super(props);
- this.listId = createId();
- }
-
- render() {
- const {
- className,
- children,
- role = 'listbox',
- autoFocus,
- selectable = false,
- id = this.listId,
- typeToSelect = true,
- ...otherProps
- } = this.props;
-
- return (
-
-
-
- );
- }
-}
diff --git a/src/List/js/ListItem.js b/src/List/js/ListItem.js
deleted file mode 100644
index 7c52148c8c2..00000000000
--- a/src/List/js/ListItem.js
+++ /dev/null
@@ -1,161 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import CheckmarkMedium from '../../Icon/core/CheckmarkMedium';
-import ChevronRightMedium from '../../Icon/core/ChevronRightMedium';
-import classNames from 'classnames';
-import {cloneIcon} from '../../utils/icon';
-import filterDOMProps from '../../utils/filterDOMProps';
-import {interpretKeyboardEvent} from '../../utils/events';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-/**
- * An item in a list
- */
-@autobind
-export default class ListItem extends Component {
- static propTypes = {
- /**
- * Whether or not the list item is selected
- */
- selected: PropTypes.bool,
-
- /**
- * Whether or not the list item is disabled
- */
- disabled: PropTypes.bool,
-
- /**
- * Callback for when the list item is clicked
- */
- onClick: PropTypes.func,
-
- /**
- * Callback for when the list item is selected
- */
- onSelect: PropTypes.func,
-
- /**
- * The WAI-ARIA role for the list item. Defaults to "option", but could be "menuitem", "menuitemcheckbox", or "menuitemradio" depending on context.
- */
- role: PropTypes.oneOf(['option', 'menuitem', 'menuitemcheckbox', 'menuitemradio'])
- }
-
- static defaultProps = {
- selected: false,
- disabled: false,
- onSelect: function () {},
- role: 'option'
- }
-
- handleMouseEnter(e) {
- if (this.props.onMouseEnter) {
- this.props.onMouseEnter(e);
- } else {
- e.currentTarget.focus();
- }
- }
-
- handleFocus(e) {
- if (this.props.onFocus) {
- this.props.onFocus(e);
- }
- }
-
- handleBlur(e) {
- if (this.props.onBlur) {
- this.props.onBlur(e);
- }
- }
-
- onSelectFocused(e) {
- e.preventDefault();
-
- if (this.props.onClick) {
- this.props.onClick(e);
- }
-
- if (this.props.onSelect) {
- this.props.onSelect(this.props.value, e);
- }
- }
-
- onKeyDown(e) {
- const {onKeyDown, disabled} = this.props;
- if (onKeyDown) {
- onKeyDown(e);
- }
- if (!disabled) {
- interpretKeyboardEvent.call(this, e);
- }
- }
-
- render() {
- const {
- icon,
- label,
- className,
- children,
- selected,
- disabled,
- focused,
- hasNestedMenu,
- tabIndex = 0,
- role = 'option',
- ...otherProps
- } = this.props;
-
- delete otherProps.value;
-
- return (
- /* eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions */
-
- {cloneIcon(icon, {
- size: 'S'
- })}
- {label || children}
- {selected && }
- {hasNestedMenu && }
-
- );
- }
-}
diff --git a/src/ListDataSource/index.js b/src/ListDataSource/index.js
deleted file mode 100644
index 4f1f897e529..00000000000
--- a/src/ListDataSource/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/ListDataSource');
diff --git a/src/ListDataSource/js/ListDataSource.js b/src/ListDataSource/js/ListDataSource.js
deleted file mode 100644
index b75b6e01c73..00000000000
--- a/src/ListDataSource/js/ListDataSource.js
+++ /dev/null
@@ -1,113 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {ArrayDataSource, IndexPath} from '@react/collection-view';
-
-// symbol + counter for requests
-let REQUEST_ID = 1;
-let LAST_REQUEST = Symbol('lastRequest');
-
-/**
- * ListDataSource is a common data source used by views that load a list of data.
- * It supports async loading, infinite scrolling, and sorting data.
- * Used by TableView and GridView.
- */
-export default class ListDataSource extends ArrayDataSource {
- constructor(props) {
- super(props);
- this[LAST_REQUEST] = 0;
- }
- /**
- * Called on initial load to get the initial items to display,
- * which are inserted into a single section. Should be overridden to return an array of items.
- * If you need to load multiple sections of data, override `performLoad` instead.
- * @abstract
- * @param {?object} sortDescriptor - When called by a TableView, contains the sort column and direction
- * @return {Array}
- */
- async load(sortDescriptor) {}
-
- /**
- * Called when scrolling near the bottom of a list. You can use this
- * opportunity to load more data, e.g. for infinite scrolling. The array of
- * items you return will be appended to the last section.
- * If you need to load multiple sections of data, override `performLoadMore` instead.
- * @abstract
- * @return {Array}
- */
- async loadMore() {}
-
- /**
- * Triggers loading of data. You should call `insertSection` or `insertItems`
- * as needed to add the loaded data into view. By default, calls `load` to get
- * data for a single section.
- * @param {?object} sortDescriptor - When called by a TableView, contains the sort column and direction
- */
- async performLoad(sortDescriptor) {
- let requestId = REQUEST_ID++;
- this[LAST_REQUEST] = requestId;
- this.clear(false);
-
- let items = await this.load(sortDescriptor);
- // insert items only if it's the last request that's been made
- if (this[LAST_REQUEST] === requestId && items) {
- this.insertSection(0, items.slice(), false);
- }
- }
-
- /**
- * Triggers a reload of the data in the attached view. Will cause the contents of the view
- * to be cleared and `performLoad` to be called again. You should not call `performLoad`
- * directly since that will not allow the view an opportunity to display its loading spinner.
- */
- reloadData() {
- this.emit('reloadData');
- }
-
- /**
- * Triggers loading of more data when when scrolling near the bottom of a list.
- * You should call `insertSection` or `insertItems` as needed to add the loaded data into view.
- * Returns whether more data was successfully inserted. If you return false, the view will
- * assume that all data has already been loaded and will stop calling `performLoadMore`.
- * By default, calls `loadMore` to get data for a single section.
- * @abstract
- * @return {boolean} - Whether more data was inserted.
- */
- async performLoadMore() {
- let requestId = REQUEST_ID++;
- this[LAST_REQUEST] = requestId;
-
- let items = await this.loadMore();
- if (items && items.length > 0) {
- if (this[LAST_REQUEST] === requestId) {
- this.insertItems(new IndexPath(0, this.sections[this.sections.length - 1].length), items.slice(), false);
- }
- return true;
- }
-
- return false;
- }
-
- /**
- * Performs sorting of the data. By default, calls `performLoad` to reload the data
- * with the new sort descriptor.
- * @param {object} sortDescriptor - Contains the sort column and direction
- */
- async performSort(sortDescriptor) {
- await this.performLoad(sortDescriptor);
- }
-}
diff --git a/src/Menu/index.js b/src/Menu/index.js
deleted file mode 100644
index 4789a30bfc2..00000000000
--- a/src/Menu/index.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Menu} from './js/Menu';
-export {default as MenuItem} from './js/MenuItem';
-export {default as MenuDivider} from './js/MenuDivider';
-export {default as MenuHeading} from './js/MenuHeading';
-export {default as SubMenu} from './js/SubMenu';
diff --git a/src/Menu/js/Menu.js b/src/Menu/js/Menu.js
deleted file mode 100644
index 9b3a2b950e8..00000000000
--- a/src/Menu/js/Menu.js
+++ /dev/null
@@ -1,115 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {List} from '../../List';
-import Popover from '../../Popover';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-@autobind
-export default class Menu extends React.Component {
- static displayName = 'Menu';
-
- static propTypes = {
- /**
- * Location of the menu in relation to the element triggering it. If used
- * with overlay trigger and there isn't enough room for the menu in that
- * position, it will make a limited attempt to find a new position.
- */
- placement: PropTypes.oneOf([
- 'bottom', 'bottom left', 'bottom right',
- 'top', 'top left', 'top right',
- 'left', 'left top', 'left bottom',
- 'right', 'right top', 'right bottom'
- ]),
-
- /**
- * Whether the menu is opened.
- */
- open: PropTypes.bool,
-
- /**
- * Callback when menu closes.
- */
- onClose: PropTypes.func,
-
- /**
- * Callback when menu item is selected.
- */
- onSelect: PropTypes.func,
-
- /**
- * String for extra class names to add to the menu
- */
- className: PropTypes.string,
-
- /**
- * True by default, this keeps focus within children of this component.
- * When disabled, focus may leave this component.
- */
- trapFocus: PropTypes.bool,
-
- /**
- * The WAI-ARIA role for the menu. Defaults to "menu", but could be "listbox" depending on context.
- */
- role: PropTypes.oneOf(['menu', 'listbox'])
- };
-
- static defaultProps = {
- trapFocus: true
- };
-
- getListRef() {
- return this.listRef;
- }
-
- onClick(e) {
- e.preventDefault();
- if (this.props.onClick) {
- this.props.onClick(e);
- }
- }
-
- render() {
- const {
- children,
- className,
- open,
- onClose,
- onSelect,
- placement,
- role = 'menu',
- style,
- trapFocus,
- ...otherProps
- } = this.props;
-
- delete otherProps.target;
- delete otherProps.onClick;
-
- return (
-
- this.listRef = l} role={role} className={className} onClick={this.onClick} {...otherProps}>
- {React.Children.map(children, child => React.cloneElement(child, {
- onSelect
- }))}
-
-
- );
- }
-}
diff --git a/src/Menu/js/MenuDivider.js b/src/Menu/js/MenuDivider.js
deleted file mode 100644
index 21985dc59a5..00000000000
--- a/src/Menu/js/MenuDivider.js
+++ /dev/null
@@ -1,26 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React, {Component} from 'react';
-
-export default class MenuDivider extends Component {
- static displayName = 'MenuDivider';
-
- render() {
- return
;
- }
-}
diff --git a/src/Menu/js/MenuHeading.js b/src/Menu/js/MenuHeading.js
deleted file mode 100644
index 31b3ba830d1..00000000000
--- a/src/Menu/js/MenuHeading.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import filterDOMProps from '../../utils/filterDOMProps';
-import React, {Component} from 'react';
-
-export default class MenuHeading extends Component {
- static displayName = 'MenuHeading';
-
- render() {
- const {
- label,
- children,
- role = 'presentation',
- 'aria-level': ariaLevel,
- ...otherProps
- } = this.props;
-
- return (
-
-
- { label || children }
-
-
- );
- }
-}
diff --git a/src/Menu/js/MenuItem.js b/src/Menu/js/MenuItem.js
deleted file mode 100644
index 5f57f197078..00000000000
--- a/src/Menu/js/MenuItem.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {ListItem} from '../../List';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-/**
- * An item in a Menu
- */
-export default class MenuItem extends Component {
- static displayName = 'MenuItem';
- static propTypes = {
- ...ListItem.propTypes,
-
- /**
- * The WAI-ARIA role for the list item.
- * Defaults to "menuitem", but could be "menuitemcheckbox", "menuitemradio" or "option" depending on context.
- */
- role: PropTypes.oneOf(['menuitem', 'menuitemcheckbox', 'menuitemradio', 'option'])
- }
-
- static defaultProps = {
- role: 'menuitem'
- }
-
- render() {
- const {
- role = 'menuitem',
- ...otherProps
- } = this.props;
-
- return
;
- }
-}
diff --git a/src/Menu/js/SubMenu.js b/src/Menu/js/SubMenu.js
deleted file mode 100644
index 906b42d31d5..00000000000
--- a/src/Menu/js/SubMenu.js
+++ /dev/null
@@ -1,188 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import Menu from './Menu';
-import MenuItem from './MenuItem';
-import OverlayTrigger from '../../OverlayTrigger';
-import PropTypes from 'prop-types';
-import React, {cloneElement, Component} from 'react';
-import ReactDOM from 'react-dom';
-
-/**
- * A menu item that has a sub menu under it that is opened on hover.
- */
-@autobind
-export default class SubMenu extends Component {
- static displayName = 'SubMenu';
- static propTypes = {
- ...MenuItem.propTypes,
-
- /**
- * A custom classname to be applied to the menu item
- */
- className: PropTypes.string,
-
- /**
- * The displayed label of the submenu within its parent
- */
- label: PropTypes.string,
-
- /**
- * A select handler for the submenu, triggered whenever an item is selected.
- */
- onSelect: PropTypes.func,
-
- /**
- * True by default, this keeps focus within the expanded submenu of this component.
- * When disabled, focus may leave the expanded submenu component.
- */
- trapFocus: PropTypes.bool
- };
-
- state = {
- opened: false,
- trapFocus: true
- };
-
- menuId = createId();
- subMenuId = createId();
-
- handleKeyDown(event) {
- const {onKeyDown} = this.props;
- switch (event.key) {
- case 'ArrowLeft':
- case 'Left':
- event.preventDefault();
- this.setState({opened: false});
- break;
-
- case 'Enter':
- case ' ':
- case 'ArrowRight':
- case 'Right':
- event.preventDefault();
- this.setState({opened: true});
- break;
- }
- if (onKeyDown) {
- onKeyDown(event);
- }
- }
-
- handleSubMenuKeyDown(event) {
- switch (event.key) {
- case 'ArrowLeft':
- case 'Left':
- event.preventDefault();
- this.setState({opened: false});
- break;
- }
- }
-
- hide() {
- this.hideAnimationFrame = requestAnimationFrame(() => this.setState({opened: false}));
- }
-
- show() {
- if (this.hideAnimationFrame) {
- cancelAnimationFrame(this.hideAnimationFrame);
- }
- requestAnimationFrame(() => this.setState({opened: true}));
- if (this.props._onNestedSubmenuOpen) {
- this.props._onNestedSubmenuOpen();
- }
- }
-
- cloneItem(item) {
- const props = {
- ...item.props,
- onKeyDown: this.handleSubMenuKeyDown
- };
- if (item.type === SubMenu) {
- props._onNestedSubmenuOpen = this.show;
- }
- return cloneElement(item, props);
- }
-
- onExited() {
- ReactDOM.findDOMNode(this.menuItem).focus();
- }
-
- onHide() {
- this.hide();
- }
-
- render() {
- const {
- children,
- onSelect,
- label,
- className,
- trapFocus,
- ...otherProps
- } = this.props;
-
- const {opened} = this.state;
-
- return (
-
-
-
-
- );
- }
-}
diff --git a/src/ModalContainer/index.js b/src/ModalContainer/index.js
deleted file mode 100644
index 52b0f659da9..00000000000
--- a/src/ModalContainer/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/ModalContainer');
diff --git a/src/ModalContainer/js/ModalContainer.js b/src/ModalContainer/js/ModalContainer.js
deleted file mode 100644
index 9b98f1aadee..00000000000
--- a/src/ModalContainer/js/ModalContainer.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import BaseModal from 'react-overlays/lib/Modal';
-import {chain} from '../../utils/events';
-import classNames from 'classnames';
-import closest from 'dom-helpers/query/closest';
-import filterDOMProps from '../../utils/filterDOMProps';
-import ModalManager from './ModalManager';
-import OpenTransition from '../../utils/OpenTransition';
-import PortalContainer from '../../PortalContainer';
-import React, {cloneElement} from 'react';
-import ReactDOM from 'react-dom';
-
-importSpectrumCSS('underlay');
-
-const MODAL_LIFECYCLE_METHODS = [
- 'onBackdropClick',
- 'onEnter',
- 'onEntering',
- 'onEntered',
- 'onEscapeKeyDown',
- 'onExit',
- 'onExiting',
- 'onExited',
- 'onHide',
- 'onShow'
-];
-const MANAGER_SINGLETON = new ModalManager({handleContainerOverflow: false});
-let MODAL_KEY = 1;
-
-export default class ModalContainer {
- static show(content, context, container) {
- let key = MODAL_KEY++;
-
- // If container is not specified, look for the provider of context
- if (!container && context) {
- container = () => closest(ReactDOM.findDOMNode(context), '.react-spectrum-provider');
- } else if (!container) {
- container = () => document.querySelector('.react-spectrum-provider') || document.body;
- }
-
- let {
- disableEscKey,
- role,
- onClose,
- onHide,
- onExited,
- ...modalProps
- } = content.props;
-
- role = role && role.indexOf('dialog') !== -1 ? 'presentation' : 'dialog';
-
- // filter out content.props that are not modal lifecycle methods
- modalProps = MODAL_LIFECYCLE_METHODS.reduce((obj, key) => ({...obj, [key]: modalProps[key]}), {});
-
- let modal = (
-
- {content}
-
- );
-
- PortalContainer.add(modal, context);
- return key;
- }
-
- static hide(key) {
- PortalContainer.remove({key});
- }
-}
-
-@autobind
-export class Modal extends React.Component {
-
- state = {
- show: true
- };
-
- onClose() {
- this.setState({show: false});
- if (this.props.onClose) {
- this.props.onClose();
- }
- }
-
- onEntering(e) {
- if (this.props.onEntering) {
- this.props.onEntering(e);
- }
- // Make sure that autoFocus actually moves focus to the Modal.
- if (this.baseModal.lastFocus === document.activeElement) {
- this.baseModal.autoFocus();
- }
- }
-
- backdropMode() {
- /*
- * backdropClickable (bc)
- * bc | !bc
- * ---|------
- * t |static
- * if fullscreenTakeover, then always false
- */
- const {backdropClickable, mode} = this.props.children.props;
- let backdrop = 'static';
- if (backdropClickable) {
- backdrop = true;
- }
- if (mode === 'fullscreenTakeover') {
- backdrop = false;
- }
- return backdrop;
- }
-
- render() {
- const backdrop = this.backdropMode();
- const {children, onHide, ...modalProps} = this.props;
-
- // The z-index here should match the one in Overlay
- return (
-
this.baseModal = baseModal}
- onEntering={this.onEntering}
- onExited={onHide}
- onHide={this.onClose}
- backdrop={backdrop}
- manager={MANAGER_SINGLETON}
- renderBackdrop={(props) => }
- transition={OpenTransition}
- backdropTransition={OpenTransition}>
- {cloneElement(children, {
- onClose: this.onClose
- })}
-
- );
- }
-}
-
-class Underlay extends React.Component {
- render() {
- let {open, ...props} = this.props;
- return
;
- }
-}
-export {MANAGER_SINGLETON as modalManager};
diff --git a/src/ModalContainer/js/ModalManager.js b/src/ModalContainer/js/ModalManager.js
deleted file mode 100644
index c0bb199c5ad..00000000000
--- a/src/ModalContainer/js/ModalManager.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import css from 'dom-helpers/style';
-import ModalManager from 'react-overlays/lib/ModalManager'; // needed for the modal manager class
-
-export default class SpectrumModalManager extends ModalManager { // extending for the add and remove
-
- // For the sake of overriding add and remove methods, saving ModalManager's properties
- // This could be avoided if ModalManager had classMethods instead of arrow functions
- superAdd = this.add;
- superRemove = this.remove;
-
- addToModal(child) {
- const hideSiblingNodes = this.hideSiblingNodes;
- this.hideSiblingNodes = false;
- this.add(child, document.body);
- this.hideSiblingNodes = hideSiblingNodes;
- }
-
- removeFromModal(child) {
- const hideSiblingNodes = this.hideSiblingNodes;
- this.hideSiblingNodes = false;
- this.remove(child);
- this.hideSiblingNodes = hideSiblingNodes;
- }
-
- add = (modal, contaner, className) => {
- this.superAdd(modal, contaner, className);
- this.bodyOverflow = document.body.style.overflow;
- css(document.body, {overflow: 'hidden'});
- }
-
- remove = (modal, contaner, className) => {
- this.superRemove(modal, contaner, className);
- css(document.body, {overflow: this.bodyOverflow});
- }
-}
diff --git a/src/ModalTrigger/index.js b/src/ModalTrigger/index.js
deleted file mode 100644
index de13aa34c0d..00000000000
--- a/src/ModalTrigger/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/ModalTrigger');
diff --git a/src/ModalTrigger/js/ModalTrigger.js b/src/ModalTrigger/js/ModalTrigger.js
deleted file mode 100644
index e516a9d8a17..00000000000
--- a/src/ModalTrigger/js/ModalTrigger.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {chain} from '../../utils/events';
-import ModalContainer from '../../ModalContainer';
-import React, {cloneElement, Component} from 'react';
-
-@autobind
-export default class ModalTrigger extends Component {
- show() {
- const children = React.Children.toArray(this.props.children);
- const modalChild = children.find(c => c.props.modalContent) || children[children.length - 1];
- this.modalKey = ModalContainer.show(modalChild, this, this.props.container);
- }
-
- hide() {
- if (this.modalKey) {
- ModalContainer.hide(this.modalKey);
- this.modalKey = null;
- }
- }
-
- render() {
- let {children, ...otherProps} = this.props;
- children = React.Children.toArray(children);
- if (children.length < 2) {
- console.warn(`ModalTrigger requires a trigger and a modal. \
- Number of children: ${children.length}.`
- );
- }
- let triggerChild = children.find(c => c.props.modalTrigger) || children[0];
- let modalChild = children.find(c => c.props.modalContent) || children[children.length - 1];
-
- delete otherProps.container;
- let trigger = cloneElement(triggerChild, {
- ...otherProps,
- onClick: chain(triggerChild.props.onClick, otherProps.onClick, this.show)
- });
-
- if (children.length === 2) {
- return trigger;
- }
-
- let Fragment = React.Fragment || 'div';
-
- return (
-
- {children.map((child) => {
- if (child === triggerChild) {
- return trigger;
- } else if (child === modalChild) {
- return null;
- } else {
- return child;
- }
- }, this)}
-
- );
- }
-}
diff --git a/src/NumberInput/index.js b/src/NumberInput/index.js
deleted file mode 100644
index ccdb060a0e9..00000000000
--- a/src/NumberInput/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/NumberInput');
diff --git a/src/NumberInput/intl/cs-CZ.json b/src/NumberInput/intl/cs-CZ.json
deleted file mode 100644
index be1bd73c3b1..00000000000
--- a/src/NumberInput/intl/cs-CZ.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Snížení",
- "Enter a number": "Zadejte číslo",
- "Increment": "Zvýšení"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/da-DK.json b/src/NumberInput/intl/da-DK.json
deleted file mode 100644
index 1688ee157e7..00000000000
--- a/src/NumberInput/intl/da-DK.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Reduktion",
- "Enter a number": "Skriv et tal",
- "Increment": "Forøgelse"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/de-DE.json b/src/NumberInput/intl/de-DE.json
deleted file mode 100644
index 8948b8a060f..00000000000
--- a/src/NumberInput/intl/de-DE.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Verringern",
- "Enter a number": "Zahl eingeben",
- "Increment": "Erhöhen"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/en-US.json b/src/NumberInput/intl/en-US.json
deleted file mode 100644
index 67b433f2e86..00000000000
--- a/src/NumberInput/intl/en-US.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Enter a number": "Enter a number",
- "Decrement": "Decrement",
- "Increment": "Increment"
-}
diff --git a/src/NumberInput/intl/es-ES.json b/src/NumberInput/intl/es-ES.json
deleted file mode 100644
index f776f4c5514..00000000000
--- a/src/NumberInput/intl/es-ES.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Decrecimiento",
- "Enter a number": "Introduzca un número",
- "Increment": "Incremento"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/fi-FI.json b/src/NumberInput/intl/fi-FI.json
deleted file mode 100644
index cbec5344474..00000000000
--- a/src/NumberInput/intl/fi-FI.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Vähennys",
- "Enter a number": "Anna numero",
- "Increment": "Lisäys"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/fr-FR.json b/src/NumberInput/intl/fr-FR.json
deleted file mode 100644
index 6032a2a1475..00000000000
--- a/src/NumberInput/intl/fr-FR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Décrémenter",
- "Enter a number": "Saisir un nombre",
- "Increment": "Incrémenter"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/hu-HU.json b/src/NumberInput/intl/hu-HU.json
deleted file mode 100644
index 68c88d21461..00000000000
--- a/src/NumberInput/intl/hu-HU.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Csökkentés",
- "Enter a number": "Adjon meg egy számot",
- "Increment": "Növelés"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/it-IT.json b/src/NumberInput/intl/it-IT.json
deleted file mode 100644
index aab5001866c..00000000000
--- a/src/NumberInput/intl/it-IT.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Decrementa",
- "Enter a number": "Immetti un numero",
- "Increment": "Incrementa"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/ja-JP.json b/src/NumberInput/intl/ja-JP.json
deleted file mode 100644
index 08c67ba7db3..00000000000
--- a/src/NumberInput/intl/ja-JP.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "減らす",
- "Enter a number": "数字を入力",
- "Increment": "増やす"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/ko-KR.json b/src/NumberInput/intl/ko-KR.json
deleted file mode 100644
index f4032585986..00000000000
--- a/src/NumberInput/intl/ko-KR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "감소",
- "Enter a number": "숫자 입력",
- "Increment": "증가"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/nb-NO.json b/src/NumberInput/intl/nb-NO.json
deleted file mode 100644
index a076113b46d..00000000000
--- a/src/NumberInput/intl/nb-NO.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Reduser",
- "Enter a number": "Oppgi et tall",
- "Increment": "Øk"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/nl-NL.json b/src/NumberInput/intl/nl-NL.json
deleted file mode 100644
index ccd5f0998e5..00000000000
--- a/src/NumberInput/intl/nl-NL.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Afname",
- "Enter a number": "Getal invoeren",
- "Increment": "Toename"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/pl-PL.json b/src/NumberInput/intl/pl-PL.json
deleted file mode 100644
index a4c30857845..00000000000
--- a/src/NumberInput/intl/pl-PL.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Dekrementuj",
- "Enter a number": "Wprowadź liczbę",
- "Increment": "Inkrementuj"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/pt-BR.json b/src/NumberInput/intl/pt-BR.json
deleted file mode 100644
index ceca85786b7..00000000000
--- a/src/NumberInput/intl/pt-BR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Decrementar",
- "Enter a number": "Insira um número",
- "Increment": "Incrementar"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/ru-RU.json b/src/NumberInput/intl/ru-RU.json
deleted file mode 100644
index 29f1ab94dd3..00000000000
--- a/src/NumberInput/intl/ru-RU.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Уменьшить",
- "Enter a number": "Введите номер",
- "Increment": "Увеличить"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/sv-SE.json b/src/NumberInput/intl/sv-SE.json
deleted file mode 100644
index cb4e553ea63..00000000000
--- a/src/NumberInput/intl/sv-SE.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Minska",
- "Enter a number": "Ange ett tal",
- "Increment": "Öka"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/tr-TR.json b/src/NumberInput/intl/tr-TR.json
deleted file mode 100644
index e0b54ed1644..00000000000
--- a/src/NumberInput/intl/tr-TR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Azalış",
- "Enter a number": "Sayı girin",
- "Increment": "Artış"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/uk-UA.json b/src/NumberInput/intl/uk-UA.json
deleted file mode 100644
index 5bf9a75f6ff..00000000000
--- a/src/NumberInput/intl/uk-UA.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "Зменшення",
- "Enter a number": "Уведіть номер",
- "Increment": "Збільшення"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/zh-CN.json b/src/NumberInput/intl/zh-CN.json
deleted file mode 100644
index 12c9fa22a23..00000000000
--- a/src/NumberInput/intl/zh-CN.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "递减",
- "Enter a number": "输入一个数字",
- "Increment": "递增"
-}
\ No newline at end of file
diff --git a/src/NumberInput/intl/zh-TW.json b/src/NumberInput/intl/zh-TW.json
deleted file mode 100644
index 6b584eeea42..00000000000
--- a/src/NumberInput/intl/zh-TW.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "Decrement": "減值",
- "Enter a number": "輸入數字",
- "Increment": "增值"
-}
\ No newline at end of file
diff --git a/src/NumberInput/js/NumberInput.js b/src/NumberInput/js/NumberInput.js
deleted file mode 100644
index bffcf9d32bb..00000000000
--- a/src/NumberInput/js/NumberInput.js
+++ /dev/null
@@ -1,507 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Button from '../../Button';
-import {chain} from '../../utils/events';
-import ChevronDownSmall from '../../Icon/core/ChevronDownSmall';
-import ChevronUpSmall from '../../Icon/core/ChevronUpSmall';
-import {clamp, handleDecimalOperation} from '../../utils/number';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import InputGroup from '../../InputGroup';
-import intlMessages from '../intl/*.json';
-import LiveRegionAnnouncer from '../../utils/LiveRegionAnnouncer';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import ReactDOM from 'react-dom';
-import Textfield from '../../Textfield';
-
-importSpectrumCSS('stepper');
-
-const formatMessage = messageFormatter(intlMessages);
-
-@autobind
-export default class NumberInput extends Component {
- static propTypes = {
- /**
- * The default value.
- */
- defaultValue: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-
- /**
- * Puts component into a controlled state.
- */
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
-
- /**
- * The minimal value.
- */
- min: PropTypes.number,
-
- /**
- * The maximum value.
- */
- max: PropTypes.number,
-
- /**
- * The placeholder.
- */
- placeholder: PropTypes.string,
-
- /**
- * Increment/decrement by step based on the current value. This differs from the w3 spec,
- * which will increment/decrement to the next multiple of the current step, regardless of current value.
- */
- step: PropTypes.oneOfType([PropTypes.number, PropTypes.oneOf(['any'])]),
-
- /**
- * Whether the input is disabled.
- */
- disabled: PropTypes.bool,
-
- /**
- * Whether the input is invalid. Will display a red border around the input.
- */
- invalid: PropTypes.bool,
-
- /**
- * Whether the input is read only.
- */
- readOnly: PropTypes.bool,
-
- /**
- * Should be a localized string, it's the tooltip and what a screenreader will announce for the decrement button.
- */
- decrementTitle: PropTypes.string,
-
- /**
- * Should be a localized string, it's the tooltip and what a screenreader will announce for the increment button.
- */
- incrementTitle: PropTypes.string,
-
- /**
- * The callback function when the input number is changed.
- */
- onChange: PropTypes.func,
-
- /**
- * Whether the input should render using a quiet variant
- */
- quiet: PropTypes.bool
- };
-
- static defaultProps = {
- placeholder: formatMessage('Enter a number'),
- step: 1,
- disabled: false,
- invalid: false,
- readOnly: false,
- decrementTitle: formatMessage('Decrement'),
- incrementTitle: formatMessage('Increment'),
- onChange: function () {}
- };
-
- constructor(props) {
- super(props);
-
- const {
- id,
- value,
- defaultValue
- } = props;
-
- this.state = {
- focused: false,
- valueInvalid: false,
- inputId: id || createId(),
- value: this.getValue(value, defaultValue)
- };
- }
-
- componentDidMount() {
- if (this.textfield) {
- ReactDOM.findDOMNode(this.textfield).addEventListener('wheel', this.handleInputScrollWheel, {passive: false, bubbles: false, cancelable: true});
- }
- }
-
- componentWillUnmount() {
- if (this.textfield) {
- ReactDOM.findDOMNode(this.textfield).removeEventListener('wheel', this.handleInputScrollWheel);
- }
- }
-
- /**
- * @private
- * Takes to value and returns the first defined value or equal to zero
- */
- getValue(value, defaultValue) {
- if (value || value === 0) {
- return value;
- } else if (defaultValue || defaultValue === 0) {
- return defaultValue;
- }
- return '';
- }
-
- componentWillReceiveProps(nextProps) {
- if ('value' in nextProps) {
- this.setState({
- value: this.getValue(nextProps.value),
- valueInvalid: this.isInputValueInvalid(nextProps.value)
- });
- }
-
- if ('defaultValue' in nextProps) {
- this.setState({
- valueInvalid: this.isInputValueInvalid(nextProps.defaultValue)
- });
- }
- }
-
- onMouseDown(e) {
- e.preventDefault();
-
- // Don't shift focus to textfield when increment/decrement button is pressed on a mobile device.
- !this.flagTouchStart && this.textfield.focus();
- }
-
- /**
- * Keep track of when increment/decrement button is pressed on a mobile device.
- */
- onTouchStart() {
- this.flagTouchStart = true;
- }
-
- handleDecrementButtonClick(e) {
- e.preventDefault();
-
- this.decrementValue();
- }
-
- handleIncrementButtonClick(e) {
- e.preventDefault();
-
- this.incrementValue();
- }
-
- handleFocus() {
- this.setState({focused: true});
- }
-
- handleBlur() {
- this.flagTouchStart = false;
- this.setState({focused: false});
- LiveRegionAnnouncer.clearMessage();
- }
-
- handleInputKeyDown(e) {
- switch (e.keyCode) {
- case 38: // up arrow
- case 33: // page up
- e.preventDefault();
- this.incrementValue();
- break;
- case 40: // down arrow
- case 34: // page down
- e.preventDefault();
- this.decrementValue();
- break;
- case 35: // end
- e.preventDefault();
- this.decrementToMinValue();
- break;
- case 36: // home
- e.preventDefault();
- this.incrementToMaxValue();
- break;
- default:
- // do nothing
- }
- }
-
- handleInputScrollWheel(e) {
- e.preventDefault();
-
- // If the input isn't supposed to receive input, do nothing.
- if (this.isInactive()) {
- return;
- }
-
- if (e.deltaY < 0) {
- this.incrementValue();
- } else {
- this.decrementValue();
- }
- }
-
- handleInputChange(value, e) {
- e.stopPropagation();
-
- const {onChange} = this.props;
- const valueAsNumber = value === '' ? null : +value;
- const numeric = !isNaN(valueAsNumber);
-
- // They may be starting to type a negative number, we don't want to broadcast this to
- // the onChange handler, but we do want to update the value state.
- const resemblesNumber = numeric || value === '-' || value === '';
-
- // Only dispatch a change event if it's an actual number
- if (numeric || value === '') {
- onChange(valueAsNumber);
- }
-
- if (resemblesNumber) {
- this.setState({
- value,
- valueInvalid: this.isInputValueInvalid(value)
- });
- }
- }
-
- /**
- * @private
- * Returns true if the Textfield cannot receive any input.
- */
- isInactive() {
- const {disabled, readOnly} = this.props;
- const {focused} = this.state;
-
- return disabled || readOnly || !focused;
- }
-
- /**
- * @private
- * Adds step number to the value number so long as it stays within min/max (if they are defined).
- * If value is undefined, sets it to the step.
- */
- incrementValue() {
- let {min, max, step} = this.props;
- const {value} = this.state;
-
- if (isNaN(step)) {
- step = 1;
- }
-
- let newValue = +value;
- if (isNaN(newValue)) {
- newValue = max != null ? Math.min(step, max) : step;
- } else {
- newValue = clamp(handleDecimalOperation('+', newValue, step), min, max);
- }
-
- this.triggerChange(newValue);
- }
-
- /**
- * @private
- * If max is defined, sets value to the max value.
- */
- incrementToMaxValue() {
- const {max} = this.props;
-
- // If the input isn't supposed to receive input, do nothing.
- if (this.isInactive()) {
- return;
- }
-
- if (max != null) {
- this.triggerChange(max);
- }
- }
-
- /**
- * @private
- * Subtracts step number from the value number so long as it stays within min/max (if they are
- * defined). If value is undefined, sets it to the step.
- */
- decrementValue() {
- let {min, max, step} = this.props;
- const {value} = this.state;
-
- if (isNaN(step)) {
- step = 1;
- }
-
- let newValue = +value;
- if (isNaN(newValue)) {
- newValue = min != null ? Math.max(-step, min) : -step;
- } else {
- newValue = clamp(handleDecimalOperation('-', newValue, step), min, max);
- }
-
- this.triggerChange(newValue);
- }
-
- /**
- * @private
- * If min is defined, sets value to the max value.
- */
- decrementToMinValue() {
- const {min} = this.props;
-
- // If the input isn't supposed to receive input, do nothing.
- if (this.isInactive()) {
- return;
- }
-
- if (min != null) {
- this.triggerChange(min);
- }
- }
-
- /**
- * @private
- * Updates state to the new value and notifies the onChange handler.
- */
- triggerChange(newValue) {
- const {onChange} = this.props;
- const {value} = this.state;
-
- // Only trigger change event and setState if the value changed
- if (value !== newValue) {
-
- // Announce new value using a live region
- LiveRegionAnnouncer.announceAssertive(newValue.toString());
-
- this.setState({
- value: newValue,
- valueInvalid: this.isInputValueInvalid(newValue)
- });
- onChange(newValue);
- }
- }
-
- /**
- * @private
- * If true, the input's value is currently invalid.
- */
- isInputValueInvalid(value) {
- const {max, min} = this.props;
-
- return value !== '' && isNaN(+value)
- || (max !== null && value > max || min !== null && value < min);
- }
-
- render() {
- const {
- defaultValue,
- placeholder = formatMessage('Enter a number'),
- min,
- max,
- step,
- decrementTitle = formatMessage('Decrement'),
- incrementTitle = formatMessage('Increment'),
- invalid,
- disabled,
- quiet,
- className,
- readOnly,
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby,
- ...otherProps
- } = this.props;
-
- const {
- focused,
- value,
- valueInvalid,
- inputId
- } = this.state;
-
- return (
-
- this.textfield = t}
- className="spectrum-Stepper-input"
- id={inputId}
- value={value}
- defaultValue={defaultValue}
- type="number"
- autoComplete="off"
- aria-label={ariaLabel || null}
- aria-labelledby={ariaLabelledby || null}
- aria-valuenow={value || null}
- aria-valuetext={value || null}
- aria-valuemin={min}
- aria-valuemax={max}
- validationState={invalid || valueInvalid ? 'invalid' : null}
- step={step}
- placeholder={placeholder}
- disabled={disabled}
- readOnly={readOnly}
- quiet={quiet}
- onKeyDown={chain(otherProps.onKeyDown, this.handleInputKeyDown)}
- onFocus={chain(otherProps.onFocus, this.handleFocus)}
- onBlur={chain(otherProps.onBlur, this.handleBlur)}
- onChange={this.handleInputChange} />
-
- = max || readOnly}
- onClick={this.handleIncrementButtonClick}
- onMouseDown={e => e.preventDefault()}
- onMouseUp={e => e.preventDefault()}
- onFocus={this.handleFocus}
- onBlur={this.handleBlur}>
-
-
- e.preventDefault()}
- onMouseUp={e => e.preventDefault()}
- onFocus={this.handleFocus}
- onBlur={this.handleBlur}>
-
-
-
-
- );
- }
-}
diff --git a/src/OverlayTrigger/index.js b/src/OverlayTrigger/index.js
deleted file mode 100644
index 70aa16fbcdf..00000000000
--- a/src/OverlayTrigger/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/OverlayTrigger');
diff --git a/src/OverlayTrigger/js/Overlay.js b/src/OverlayTrigger/js/Overlay.js
deleted file mode 100644
index dfd2bf97e4d..00000000000
--- a/src/OverlayTrigger/js/Overlay.js
+++ /dev/null
@@ -1,186 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import closest from 'dom-helpers/query/closest';
-import OpenTransition from '../../utils/OpenTransition';
-import ownerDocument from 'react-overlays/lib/utils/ownerDocument';
-import Portal from 'react-overlays/lib/Portal';
-import Position from './Position';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import RootCloseWrapper from 'react-overlays/lib/RootCloseWrapper';
-
-const VISIBLE_OVERLAYS = new Map;
-const DEFAULT_BUCKET_KEY = 'all';
-
-@autobind
-export default class Overlay extends React.Component {
- static defaultProps = {
- placement: 'left'
- };
-
- constructor(props) {
- super(props);
- this.state = {
- exited: !this.props.show
- };
- }
-
- get overlayBucketKey() {
- const {children} = this.props;
- if (children && children.props) {
- return children.props.role === 'tooltip' ? 'tooltip' : DEFAULT_BUCKET_KEY;
- }
- return DEFAULT_BUCKET_KEY;
- }
-
- componentDidMount() {
- this.setState({targetNode: ReactDOM.findDOMNode(this.props.target)});
- this.mounted = true;
- this.addOverlay();
- }
-
- componentWillUnmount() {
- this.mounted = false;
- this.removeOverlay();
- }
-
- addOverlay(props = this.props) {
- const {overlayBucketKey} = this;
- let visibleOverlays = VISIBLE_OVERLAYS.get(overlayBucketKey);
- if (!visibleOverlays) {
- VISIBLE_OVERLAYS.set(overlayBucketKey, []);
- visibleOverlays = VISIBLE_OVERLAYS.get(overlayBucketKey);
- }
- if (props.show && this.mounted && !visibleOverlays.includes(this)) {
- visibleOverlays.push(this);
- }
- }
-
- removeOverlay() {
- // Remove overlay from the stack of visible overlays
- const visibleOverlays = VISIBLE_OVERLAYS.get(this.overlayBucketKey);
- let index = visibleOverlays.indexOf(this);
- if (index >= 0) {
- visibleOverlays.splice(index, 1);
- }
- }
-
- componentWillReceiveProps(nextProps) {
- if (nextProps.target && nextProps.target !== this.props.target) {
- this.setState({...this.state, targetNode: ReactDOM.findDOMNode(nextProps.target)});
- }
- }
-
- onEntered(...args) {
- this.setState({...this.state, exited: false});
- this.addOverlay();
-
- if (this.props.onEntered) {
- this.props.onEntered(...args);
- }
- }
-
- onExited(...args) {
- this.setState({...this.state, exited: true});
- this.removeOverlay();
-
- if (this.props.onExited) {
- this.props.onExited(...args);
- }
- }
-
- getOverlayContainer(target) {
- let immediateAvailableContainer = closest(this.state.targetNode, '.react-spectrum-provider');
- return this.props.container || immediateAvailableContainer;
- }
-
- hide(e) {
- const visibleOverlays = VISIBLE_OVERLAYS.get(this.overlayBucketKey);
- // Only hide if this is the top overlay
- if (visibleOverlays[visibleOverlays.length - 1] === this && this.props.onHide) {
- this.props.onHide(e);
- }
- }
-
- render() {
- let {
- containerPadding,
- target,
- container = this.getOverlayContainer(target),
- placement,
- offset,
- crossOffset,
- flip,
- boundariesElement = () => ownerDocument(this).body,
- shouldUpdatePosition,
- rootClose,
- children,
- ...props
- } = this.props;
-
- // Don't un-render the overlay while it's transitioning out.
- const mountOverlay = props.show || !this.state.exited;
- if (!mountOverlay) {
- // Don't bother showing anything if we don't have to.
- return null;
- }
-
- let child = children;
-
- // Position is be inner-most because it adds inline styles into the child,
- // which the other wrappers don't forward correctly.
- child = (
-
- {child}
-
- );
-
- // This animates the child node by injecting props, so it must precede
- // anything that adds a wrapping div.
- let {onExit, onExiting, onEnter, onEntering} = props;
- child = (
-
- {child}
-
- );
-
- // This goes after everything else because it adds a wrapping div.
- if (rootClose) {
- child = (
-
- {child}
-
- );
- }
-
- return (
-
- {child}
-
- );
- }
-}
diff --git a/src/OverlayTrigger/js/OverlayTrigger.js b/src/OverlayTrigger/js/OverlayTrigger.js
deleted file mode 100644
index 117d8760067..00000000000
--- a/src/OverlayTrigger/js/OverlayTrigger.js
+++ /dev/null
@@ -1,527 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {chain} from '../../utils/events';
-import createId from '../../utils/createId';
-import {modalManager} from '../../ModalContainer/js/ModalContainer.js';
-import Overlay from './Overlay';
-import ownerDocument from 'react-overlays/lib/utils/ownerDocument';
-import PropTypes from 'prop-types';
-import React, {cloneElement, Component} from 'react';
-import ReactDOM from 'react-dom';
-
-const triggerType = PropTypes.oneOf(['click', 'longClick', 'hover', 'focus']);
-const MOUSE_BUTTONS = {left: 0};
-
-/**
- * Check if value one is inside or equal to the of value
- *
- * @param {string} one
- * @param {string|array} of
- * @returns {boolean}
- */
-function isOneOf(one, of) {
- if (Array.isArray(of)) {
- return of.indexOf(one) >= 0;
- }
- return one === of;
-}
-
-/**
- * Find all of the scrollable parents of a DOM node
- */
-function getScrollParents(node) {
- let nodes = [];
- while (node.parentNode) {
- var style = window.getComputedStyle(node);
-
- // Look for scrollable nodes, both real and fake.
- if (/auto|scroll/.test(style.overflow + style.overflowY) || node.hasAttribute('data-scrollable')) {
- nodes.push(node);
- }
-
- node = node.parentNode;
- }
-
- return nodes;
-}
-
-/*
- * Class based on React-bootstrap
- * https://github.com/react-bootstrap/react-bootstrap/blob/master/src/OverlayTrigger.js
- */
-@autobind
-export default class OverlayTrigger extends Component {
- static propTypes = {
- ...Overlay.propTypes,
- /**
- * Specify which action or actions trigger Overlay visibility
- */
- trigger: PropTypes.oneOfType([
- triggerType, PropTypes.arrayOf(triggerType)
- ]),
- /**
- * A millisecond delay amount to show and hide the Overlay once triggered
- */
- delay: PropTypes.number,
- /**
- * A millisecond delay amount before showing the Overlay once triggered.
- */
- delayShow: PropTypes.number,
- /**
- * A millisecond delay amount before hiding the Overlay once triggered.
- */
- delayHide: PropTypes.number,
- /**
- * The initial visibility state of the Overlay. For more nuanced visibility
- * control, consider using the Overlay component directly.
- */
- defaultShow: PropTypes.bool,
- /**
- * Callback when the overlay trigger is blurred.
- */
- onBlur: PropTypes.func,
- /**
- * Callback when the overlay trigger is clicked.
- */
- onClick: PropTypes.func,
- /**
- * Callback when the overlay trigger receives focus.
- */
- onFocus: PropTypes.func,
- /**
- * Callback when the mouse leaves the overlay trigger.
- */
- onMouseOut: PropTypes.func,
- /**
- * Callback when the mouse is over the overlay trigger.
- */
- onMouseOver: PropTypes.func,
- /**
- * Callback when the overlay show is invoked, determined by the 'trigger' prop.
- */
- onShow: PropTypes.func,
- /**
- * Callback when the overlay is hidden.
- */
- onHide: PropTypes.func,
- /**
- * Will cause the overlay to show in a controlled state.
- */
- show: PropTypes.bool,
- /**
- * Overlay will be shifted by specified units in the placement's axis direction.
- */
- offset: PropTypes.number,
- /**
- * Overlay will be shifted by specified units in the placement's cross-axis direction.
- */
- crossOffset: PropTypes.number,
- /**
- * Whether overlay should be allowed to flip if it hits the boundary
- */
- flip: PropTypes.bool,
- /**
- * Grey's out the trigger and removes interaction.
- */
- disabled: PropTypes.bool,
- /**
- * By default, the body of the owning document. The overlay will do a hit test to see if it
- * extends outside the boundaries and move it to a new position if it collides.
- * Unused it would seem...
- */
- boundariesElement: PropTypes.oneOfType([
- PropTypes.func, PropTypes.string
- ]),
- /**
- * The last component or element to have focus before the overlay opened.
- * If undefined, overlay will use the document.activeElement before it opened as the lastFocus.
- * Set the lastFocus prop to override this default behavior.
- */
- lastFocus: PropTypes.oneOfType([
- PropTypes.element, PropTypes.object
- ])
- };
-
- static defaultProps = {
- defaultShow: false,
- trigger: ['hover', 'focus'],
- placement: 'left',
- offset: 0,
- crossOffset: 0,
- flip: true,
- disabled: false,
- delayHide: 100
- };
-
- constructor(props, context) {
- super(props, context);
- this.overlayId = createId();
- this._mountNode = null;
- this.longPressTimeout = null;
- this._lastFocus = props.lastFocus;
- this.boundariesElement = props.boundariesElement ? props.boundariesElement : () => ownerDocument(this).body;
- this.state = {
- show: props.show === undefined ? props.defaultShow : props.show
- };
- }
-
- componentWillReceiveProps(nextProps) {
- if ('lastFocus' in nextProps && nextProps.lastFocus !== this.props.lastFocus) {
- this._lastFocus = nextProps.lastFocus;
- }
- if (nextProps.show !== this.props.show) {
- nextProps.show ? this.handleDelayedShow() : this.handleDelayedHide();
- }
- }
-
- componentDidMount() {
- this._mountNode = document.createElement('div');
- this.renderOverlay();
-
- this._scrollParents = getScrollParents(ReactDOM.findDOMNode(this));
- for (let node of this._scrollParents) {
- node.addEventListener('scroll', this.hide, false);
- }
-
- document.body.addEventListener('mouseUp', this.windowMouseUp);
- }
-
- componentDidUpdate(prevProps) {
- const isDisabled = prevProps.disabled;
- const shouldDisable = this.props.disabled;
- if (!isDisabled && shouldDisable) {
- this.hide();
- }
- this.renderOverlay();
- }
-
- componentWillUnmount() {
- modalManager.removeFromModal(this._overlay);
- ReactDOM.unmountComponentAtNode(this._mountNode);
- this._mountNode = null;
-
- clearTimeout(this._hoverShowDelay);
- clearTimeout(this._hoverHideDelay);
-
- if (this._scrollParents) {
- for (let node of this._scrollParents) {
- node.removeEventListener('scroll', this.hide, false);
- }
-
- this._scrollParents = null;
- }
- document.body.removeEventListener('mouseUp', this.windowMouseUp);
- }
-
- handleToggle(e) {
- if (this.state.show) {
- this.hide(e);
- } else {
- this.show(e);
- }
- }
-
- handleDelayedShow(e) {
- if (this._hoverHideDelay != null) {
- clearTimeout(this._hoverHideDelay);
- this._hoverHideDelay = null;
- return;
- }
-
- if (this.state.show || this._hoverShowDelay != null) {
- return;
- }
-
- const delay = this.props.delayShow != null ?
- this.props.delayShow : this.props.delay;
-
- if (!delay) {
- this.show(e);
- return;
- }
-
- this._hoverShowDelay = setTimeout(() => {
- this._hoverShowDelay = null;
- this.show(e);
- }, delay);
- }
-
- handleDelayedHide(e) {
- if (this._hoverShowDelay != null) {
- clearTimeout(this._hoverShowDelay);
- this._hoverShowDelay = null;
- return;
- }
-
- if (!this.state.show || this._hoverHideDelay != null) {
- return;
- }
-
- let delay = (!this.props.delayHide || this.props.delayHide === OverlayTrigger.defaultProps.delayHide) && this.props.delay != null ? this.props.delay : this.props.delayHide;
-
- if (!delay) {
- this.hide(e);
- return;
- }
-
- this._hoverHideDelay = setTimeout(() => {
- this._hoverHideDelay = null;
- this.hide(e);
- }, delay);
- }
-
- // Simple implementation of mouseEnter and mouseLeave.
- // React's built version is broken: https://github.com/facebook/react/issues/4251
- // for cases when the trigger is disabled and mouseOut/Over can cause flicker
- // moving from one child element to another.
- handleMouseOverOut(handler, e) {
- const target = e.currentTarget;
- const related = e.relatedTarget || e.nativeEvent.toElement;
-
- if (!related || related !== target && !target.contains(related)) {
- handler(e);
- }
- }
-
- show(e) {
- if (!this.state.show && !this.props.disabled) {
- this._lastFocus = this.rememberedFocus();
- this.setState({show: true});
- if (this.props.onShow) {
- this.props.onShow(e);
- }
- }
- }
-
- hide(e) {
- if (this.state.show) {
- this.setState({show: false});
- if (this.props.onHide) {
- this.props.onHide(e);
- }
- }
- }
-
- onMouseDown = (e) => {
- if (!this.props.disabled && e.button === MOUSE_BUTTONS.left) {
- this.longPressTimeout = setTimeout(() => {
- this.longPressTimeout = null;
- if (this.props.onLongClick) {
- this.props.onLongClick();
- }
- this.show(e);
- }, 250);
- }
- };
-
- onMouseUp = (e) => {
- if (!this.props.disabled && this.longPressTimeout && e.button === MOUSE_BUTTONS.left) {
- if (this.props.onClick) {
- this.props.onClick(e);
- }
- clearTimeout(this.longPressTimeout);
- this.longPressTimeout = null;
- }
- };
-
- windowMouseUp = (e) => {
- if (e.button === MOUSE_BUTTONS.left && !ReactDOM.findDOMNode(this).contains(e.target) && this.longPressTimeout) {
- clearTimeout(this.longPressTimeout);
- this.longPressTimeout = null;
- }
- };
-
- onKeyDown(e) {
- if (e.key === 'ArrowDown' || e.key === 'Down') {
- if (e.altKey || e.target === ReactDOM.findDOMNode(this.dropdownRef.triggerRef)) {
- e.preventDefault();
- this.show(e);
- }
- }
- }
-
- onHide(e) {
- // if we are in longClick mode and the onHide comes from the mouse up on the trigger, then ignore it
- // it's actually an onHide coming from rootClose
- if (
- isOneOf('longClick', this.props.trigger)
- && ReactDOM.findDOMNode(this).contains(e.target)
- ) {
- return;
- }
- if (this.props.show === undefined) {
- this.hide(e);
- } else if (this.props.onHide) {
- this.props.onHide(e);
- }
- }
-
- onExited(e) {
- this.restoreFocus(e);
- if (this.props.onExited) {
- this.props.onExited(e);
- }
- }
-
- rememberedFocus() {
- if (!this._lastFocus && document && document.activeElement !== document.body) {
- this._lastFocus = document.activeElement;
- }
-
- return this._lastFocus;
- }
-
- restoreFocus(overlay) {
- if (this._lastFocus && typeof this._lastFocus.focus === 'function') {
- if (document) {
- let node;
- if (overlay) {
- node = ReactDOM.findDOMNode(overlay);
- }
- if ((node &&
- (node === document.activeElement ||
- node.contains(document.activeElement))) ||
- document.activeElement === document.body) {
- this._lastFocus.focus();
- }
- }
- if (!this.props.lastFocus) {
- this._lastFocus = null;
- }
- }
- }
-
- makeOverlay(overlay, props) {
- let {
- target = this
- } = this.props;
- let {
- rootClose = true,
- ...overlayProps
- } = props;
- delete overlayProps.crossOffset;
- delete overlayProps.defaultShow;
- delete overlayProps.flip;
- delete overlayProps.boundariesElement;
- let topOverlayProps = {
- id: overlay.props.id || overlayProps.id,
- ...props
- };
- if (!overlay.props.id) {
- overlayProps.id = this.overlayId;
- }
- return (
-
- {cloneElement(overlay, overlayProps)}
-
- );
- }
-
- renderOverlay() {
- // Only add overlay to modalManager when it is shown.
- if (this._overlay.props.show) {
- modalManager.addToModal(this._overlay);
- }
-
- ReactDOM.unstable_renderSubtreeIntoContainer(
- this, this._overlay, this._mountNode
- );
- }
-
- render() {
- const {
- trigger,
- show,
- selected = this.state.show,
- ...props
- } = this.props;
-
- delete props.delay;
- delete props.delayShow;
- delete props.delayHide;
- delete props.defaultShow;
- delete props.onShow;
- delete props.onHide;
-
- const [triggerChild, overlayChild] = React.Children.toArray(this.props.children);
- const triggerProps = {};
- delete props.children;
-
- // When Tooltip is shown,
- if (this.state.show && overlayChild.type && overlayChild.props.role === 'tooltip') {
- // Tooltip element id should match trigger element's aria-describedby value,
- if (!props.id) {
- props.id = overlayChild.props.id || this.overlayId;
- }
-
- // Tooltip should add aria-describedby attribute to trigger element.
- triggerProps['aria-describedby'] = props.id;
- }
-
- // Attach trigger events in case on un-controlled overlay
- if (show === undefined) {
- if (isOneOf('click', trigger) && !isOneOf('longClick', trigger)) {
- triggerProps.onClick = chain(this.props.onClick, this.handleToggle);
- }
-
- if (isOneOf('longClick', trigger)) {
- delete props.onClick;
- triggerProps.onMouseDown = this.onMouseDown;
- triggerProps.onMouseUp = this.onMouseUp;
- triggerProps.onKeyDown = this.onKeyDown;
- }
-
- if (isOneOf('hover', trigger)) {
- triggerProps.onMouseOver = this.handleMouseOverOut.bind(this, this.handleDelayedShow);
- triggerProps.onMouseOut = this.handleMouseOverOut.bind(this, this.handleDelayedHide);
- props.onMouseOver = this.handleMouseOverOut.bind(this, this.handleDelayedShow);
- props.onMouseOut = this.handleMouseOverOut.bind(this, this.handleDelayedHide);
- // overlay should not trap focus when trigger is 'hover'
- props.trapFocus = false;
- }
-
- if (isOneOf('focus', trigger)) {
- triggerProps.onFocus = this.handleDelayedShow;
- triggerProps.onBlur = this.handleDelayedHide;
- props.onFocus = this.handleDelayedShow;
- props.onBlur = this.handleDelayedHide;
-
- // overlay should not trap focus when trigger is 'focus'
- props.trapFocus = false;
- }
- }
-
- triggerProps.selected = selected;
-
- // Remove previous overlay from modalManager
- if (this._overlay) {
- modalManager.removeFromModal(this._overlay);
- }
-
- this._overlay = this.makeOverlay(overlayChild, props);
-
- return cloneElement(triggerChild, triggerProps);
- }
-}
diff --git a/src/OverlayTrigger/js/Position.js b/src/OverlayTrigger/js/Position.js
deleted file mode 100644
index 3f81fe07276..00000000000
--- a/src/OverlayTrigger/js/Position.js
+++ /dev/null
@@ -1,167 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import calculatePosition from './calculatePosition';
-import classNames from 'classnames';
-import getContainer from 'react-overlays/lib/utils/getContainer';
-import ownerDocument from 'react-overlays/lib/utils/ownerDocument';
-import React, {cloneElement} from 'react';
-import ReactDOM from 'react-dom';
-
-/**
- * The Position component calculates the coordinates for its child, to position
- * it relative to a `target` component or node. Useful for creating callouts
- * and tooltips, the Position component injects a `style` props with `left` and
- * `top` values for positioning your component.
- *
- * It also injects "arrow" `left`, and `top` values for styling callout arrows
- * for giving your components a sense of directionality.
- */
-@autobind
-export default class Position extends React.Component {
- constructor(props, context) {
- super(props, context);
-
- this.state = {
- positionLeft: 0,
- positionTop: 0,
- arrowOffsetLeft: null,
- arrowOffsetTop: null,
- placement: this.props.placement
- };
-
- this._needsFlush = false;
- this._lastTarget = null;
- }
-
- static defaultProps = {
- containerPadding: 10,
- offset: 0,
- crossOffset: 0
- }
-
- componentDidMount() {
- this.updatePosition(this.getTarget());
- window.addEventListener('resize', this.maybeUpdatePosition, false);
- }
-
- componentWillReceiveProps() {
- this._needsFlush = true;
- }
-
- componentDidUpdate(prevProps) {
- if (this._needsFlush) {
- this._needsFlush = false;
- this.maybeUpdatePosition(this.props.placement !== prevProps.placement);
- }
- }
-
- componentWillUnmount() {
- window.removeEventListener('resize', this.maybeUpdatePosition, false);
- }
-
- render() {
- const {children, className, ...props} = this.props;
- const {positionLeft, positionTop, maxHeight, arrowOffsetLeft, arrowOffsetTop, placement} = this.state;
-
- // These should not be forwarded to the child.
- delete props.target;
- delete props.container;
- delete props.containerPadding;
- delete props.shouldUpdatePosition;
- delete props.flip;
- delete props.boundariesElement;
- delete props.offset;
- delete props.crossOffset;
-
- const child = React.Children.only(children);
- return cloneElement(
- child,
- {
- ...props,
- placement,
- className: classNames(className, child.props.className),
- arrowStyle: {
- left: arrowOffsetLeft,
- top: arrowOffsetTop
- },
- style: {
- ...child.props.style,
- position: 'absolute',
- zIndex: 100000, // should match the z-index in ModalTrigger
- left: positionLeft,
- top: positionTop,
- maxHeight: maxHeight
- }
- }
- );
- }
-
- getTarget() {
- const target = this.props.target;
- const targetElement = typeof target === 'function' ? target() : target;
- return targetElement && ReactDOM.findDOMNode(targetElement) || null;
- }
-
- maybeUpdatePosition(placementChanged) {
- const target = this.getTarget();
-
- if (
- !this.props.shouldUpdatePosition &&
- target === this._lastTarget &&
- !placementChanged
- ) {
- return;
- }
-
- this.updatePosition(target);
- }
-
- updatePosition(target) {
- const {placement, containerPadding, offset, crossOffset, flip, boundariesElement} = this.props;
- this._lastTarget = target;
-
- if (!target) {
- this.setState({
- positionLeft: 0,
- positionTop: 0,
- arrowOffsetLeft: null,
- arrowOffsetTop: null
- });
-
- return;
- }
-
- const overlay = ReactDOM.findDOMNode(this);
- const container = getContainer(
- this.props.container, ownerDocument(this).body
- );
-
- this.setState(calculatePosition(
- placement,
- overlay,
- target,
- container,
- containerPadding,
- flip,
- boundariesElement,
- offset,
- crossOffset
- ));
- }
-}
diff --git a/src/OverlayTrigger/js/calculatePosition.js b/src/OverlayTrigger/js/calculatePosition.js
deleted file mode 100644
index 176b1ca829d..00000000000
--- a/src/OverlayTrigger/js/calculatePosition.js
+++ /dev/null
@@ -1,226 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import getCss from 'dom-helpers/style';
-import getOffset from 'dom-helpers/query/offset';
-import getPosition from 'dom-helpers/query/position';
-import getScrollLeft from 'dom-helpers/query/scrollLeft';
-import getScrollTop from 'dom-helpers/query/scrollTop';
-import ownerDocument from 'dom-helpers/ownerDocument';
-import ReactDOM from 'react-dom';
-
-const AXIS = {
- top: 'top',
- bottom: 'top',
- left: 'left',
- right: 'left'
-};
-
-const FLIPPED_DIRECTION = {
- top: 'bottom',
- bottom: 'top',
- left: 'right',
- right: 'left'
-};
-
-const CROSS_AXIS = {
- top: 'left',
- left: 'top'
-};
-
-const AXIS_SIZE = {
- top: 'height',
- left: 'width'
-};
-
-const PARSED_PLACEMENT_CACHE = {};
-
-function getContainerDimensions(containerNode) {
- let width, height, top = 0, left = 0;
- let scroll = {};
-
- const containerDOMNode = ReactDOM.findDOMNode(containerNode);
-
- if (containerDOMNode.tagName === 'BODY') {
- width = window.innerWidth;
- height = window.innerHeight;
-
- scroll.top =
- getScrollTop(ownerDocument(containerDOMNode).documentElement) ||
- getScrollTop(containerDOMNode);
- scroll.left =
- getScrollLeft(ownerDocument(containerDOMNode).documentElement) ||
- getScrollLeft(containerDOMNode);
- } else {
- ({width, height, top, left} = getOffset(containerDOMNode));
- scroll.top = getScrollTop(containerDOMNode);
- scroll.left = getScrollLeft(containerDOMNode);
- }
-
- return {width, height, scroll, top, left};
-}
-
-function getDelta(axis, offset, size, containerDimensions, padding) {
- const containerScroll = containerDimensions.scroll[axis];
- const containerHeight = containerDimensions[AXIS_SIZE[axis]];
-
- const startEdgeOffset = offset - padding - containerScroll;
- const endEdgeOffset = offset + padding - containerScroll + size;
-
- if (startEdgeOffset < 0) {
- return -startEdgeOffset;
- } else if (endEdgeOffset > containerHeight) {
- return Math.max(containerHeight - endEdgeOffset, -startEdgeOffset);
- } else {
- return 0;
- }
-}
-
-function shouldFlip(axis, offset, size, padding, placement, flipContainerDimensions, containerOffsetWithBoundary) {
- const containerScroll = flipContainerDimensions.scroll[axis];
- const containerHeight = flipContainerDimensions[AXIS_SIZE[axis]];
-
- const startEdgeOffset = containerOffsetWithBoundary[axis] + offset - padding - containerScroll;
- const endEdgeOffset = containerOffsetWithBoundary[axis] + offset + padding - containerScroll + size;
-
- if (startEdgeOffset < 0 && (placement === 'top' || placement === 'left')) {
- return true;
- } else if (endEdgeOffset > containerHeight && (placement === 'bottom' || placement === 'right')) {
- return true;
- } else {
- return false;
- }
-}
-
-function getMargins(node) {
- const style = window.getComputedStyle(node);
- return {
- top: parseInt(style.marginTop, 10) || 0,
- bottom: parseInt(style.marginBottom, 10) || 0,
- left: parseInt(style.marginLeft, 10) || 0,
- right: parseInt(style.marginRight, 10) || 0
- };
-}
-
-function parsePlacement(input) {
- if (PARSED_PLACEMENT_CACHE[input]) {
- return PARSED_PLACEMENT_CACHE[input];
- }
- let [placement, crossPlacement] = input.split(' ');
- let axis = AXIS[placement] || 'right';
- let crossAxis = CROSS_AXIS[axis];
-
- if (!AXIS[crossPlacement]) {
- crossPlacement = 'center';
- }
-
- let size = AXIS_SIZE[axis];
- let crossSize = AXIS_SIZE[crossAxis];
- PARSED_PLACEMENT_CACHE[input] = {placement, crossPlacement, axis, crossAxis, size, crossSize};
- return PARSED_PLACEMENT_CACHE[input];
-}
-
-function computePosition(childOffset, containerDimensions, overlaySize, placementInfo, offset, crossOffset) {
- const {placement, crossPlacement, axis, crossAxis, size, crossSize} = placementInfo;
- let position = {};
-
- position[crossAxis] = childOffset[crossAxis] + crossOffset;
- if (crossPlacement === 'center') {
- position[crossAxis] += (childOffset[crossSize] - overlaySize[crossSize]) / 2;
- } else if (crossPlacement !== crossAxis) {
- position[crossAxis] += (childOffset[crossSize] - overlaySize[crossSize]);
- }
-
- // Ensure overlay sticks to target(ignore for overlays smaller than target)
- if (childOffset[crossSize] < overlaySize[crossSize]) {
- const positionForPositiveSideOverflow = Math.min(position[crossAxis], childOffset[crossAxis]);
- position[crossAxis] = Math.max(positionForPositiveSideOverflow, childOffset[crossAxis] - overlaySize[crossSize] + childOffset[crossSize]);
- }
-
- if (placement === axis) {
- position[axis] = childOffset[axis] - overlaySize[size] + offset;
- } else {
- position[axis] = childOffset[axis] + childOffset[size] + offset;
- }
-
- return position;
-}
-
-export function calculatePositionInternal(placementInput, containerDimensions, childOffset, overlaySize, margins, padding, flip, boundaryDimensions, containerOffsetWithBoundary, offset, crossOffset) {
- let placementInfo = parsePlacement(placementInput);
- const {axis, size, crossAxis, crossSize, placement, crossPlacement} = placementInfo;
- let position = computePosition(childOffset, containerDimensions, overlaySize, placementInfo, offset, crossOffset);
- let normalizedOffset = offset;
-
- // First check if placement should be flipped
- if (flip && shouldFlip(axis, position[axis], overlaySize[size], padding, placement, boundaryDimensions, containerOffsetWithBoundary)) {
- const flippedPlacementInfo = parsePlacement(`${FLIPPED_DIRECTION[placement]} ${crossPlacement}`);
- const {axis, size} = flippedPlacementInfo;
- const flippedPosition = computePosition(childOffset, containerDimensions, overlaySize, flippedPlacementInfo, -1 * offset, crossOffset);
-
- // Check if flipped placement has enough space otherwise flip is not possible
- if (!shouldFlip(axis, flippedPosition[axis], overlaySize[size], padding, FLIPPED_DIRECTION[placement], boundaryDimensions, containerOffsetWithBoundary)) {
- placementInfo = flippedPlacementInfo;
- position = flippedPosition;
- normalizedOffset = -1 * offset;
- }
- }
-
- let delta = getDelta(crossAxis, position[crossAxis], overlaySize[crossSize], boundaryDimensions, padding);
- position[crossAxis] += delta;
-
- let maxHeight = Math.max(0, boundaryDimensions.height + boundaryDimensions.top + boundaryDimensions.scroll.top - containerOffsetWithBoundary.top - position.top - margins.top - margins.bottom - padding);
- overlaySize.height = Math.min(overlaySize.height, maxHeight);
-
- position = computePosition(childOffset, containerDimensions, overlaySize, placementInfo, normalizedOffset, crossOffset);
- delta = delta = getDelta(crossAxis, position[crossAxis], overlaySize[crossSize], boundaryDimensions, padding);
-
- position[crossAxis] += delta;
-
- const arrowPosition = {};
- arrowPosition[crossAxis] = childOffset[crossSize] > overlaySize[crossSize] ? null : (childOffset[crossAxis] - position[crossAxis] + childOffset[crossSize] / 2);
-
- return {
- positionLeft: position.left,
- positionTop: position.top,
- maxHeight: maxHeight,
- arrowOffsetLeft: arrowPosition.left,
- arrowOffsetTop: arrowPosition.top,
- placement: placementInfo.placement
- };
-}
-
-export default function calculatePosition(placementInput, overlayNode, target, container, padding, flip, boundariesElement, offset, crossOffset) {
- const isBodyContainer = container.tagName === 'BODY';
- const childOffset = isBodyContainer ? getOffset(target) : getPosition(target, container);
-
- if (!isBodyContainer) {
- childOffset.top += parseInt(getCss(target, 'marginTop'), 10) || 0;
- childOffset.left += parseInt(getCss(target, 'marginLeft'), 10) || 0;
- }
-
- const overlaySize = getOffset(overlayNode);
- const margins = getMargins(overlayNode);
- overlaySize.width += margins.left + margins.right;
- overlaySize.height += margins.top + margins.bottom;
-
- const containerDimensions = getContainerDimensions(container);
- const boundaryContainer = boundariesElement === 'container' ? container : boundariesElement();
- const boundaryDimensions = getContainerDimensions(boundaryContainer);
- const containerOffsetWithBoundary = boundaryContainer.tagName === 'BODY' ? getOffset(container) : getPosition(container, boundaryContainer);
- return calculatePositionInternal(placementInput, containerDimensions, childOffset, overlaySize, margins, padding, flip, boundaryDimensions, containerOffsetWithBoundary, offset, crossOffset);
-}
diff --git a/src/Pagination/index.js b/src/Pagination/index.js
deleted file mode 100644
index a5ec4567968..00000000000
--- a/src/Pagination/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Pagination');
diff --git a/src/Pagination/intl/cs-CZ.json b/src/Pagination/intl/cs-CZ.json
deleted file mode 100644
index e3765ba262a..00000000000
--- a/src/Pagination/intl/cs-CZ.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Další",
- "page_count": "z {n, plural, =one{# stránky} other{# stránek}}",
- "previous": "Předchozí"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/da-DK.json b/src/Pagination/intl/da-DK.json
deleted file mode 100644
index 6656edd81e2..00000000000
--- a/src/Pagination/intl/da-DK.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Næste",
- "page_count": "af {n, plural, =one{# side} other{# sider}}",
- "previous": "Forrige"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/de-DE.json b/src/Pagination/intl/de-DE.json
deleted file mode 100644
index b0cbbaf3cdf..00000000000
--- a/src/Pagination/intl/de-DE.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Weiter",
- "page_count": "von {n, plural, =one{# Seite} other{# Seiten}}",
- "previous": "Zurück"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/en-US.json b/src/Pagination/intl/en-US.json
deleted file mode 100644
index 4a23b070450..00000000000
--- a/src/Pagination/intl/en-US.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "previous": "Previous",
- "next": "Next",
- "page_count": "of {n, plural, =one{# page} other{# pages}}"
-}
diff --git a/src/Pagination/intl/es-ES.json b/src/Pagination/intl/es-ES.json
deleted file mode 100644
index c6b36668b26..00000000000
--- a/src/Pagination/intl/es-ES.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Siguiente",
- "page_count": "de {n, plural, =one{# página} other{# páginas}}",
- "previous": "Anterior"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/fi-FI.json b/src/Pagination/intl/fi-FI.json
deleted file mode 100644
index a70f43f2559..00000000000
--- a/src/Pagination/intl/fi-FI.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Seuraava",
- "page_count": "/ {n, plural, =one{# sivu} other{# sivua}}",
- "previous": "Edellinen"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/fr-FR.json b/src/Pagination/intl/fr-FR.json
deleted file mode 100644
index 08cfbcf3721..00000000000
--- a/src/Pagination/intl/fr-FR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Suivant",
- "page_count": "sur {n, plural, =one{# page} other{# pages}}",
- "previous": "Précédent"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/hu-HU.json b/src/Pagination/intl/hu-HU.json
deleted file mode 100644
index 852a49381ce..00000000000
--- a/src/Pagination/intl/hu-HU.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Következő",
- "page_count": "/ {n, plural, =one{# oldal} other{# oldal}}",
- "previous": "Előző"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/it-IT.json b/src/Pagination/intl/it-IT.json
deleted file mode 100644
index 5f12f4c0d70..00000000000
--- a/src/Pagination/intl/it-IT.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Successivo",
- "page_count": "di {n, plural, =one{# pagina} other{# pagine}}",
- "previous": "Precedente"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/ja-JP.json b/src/Pagination/intl/ja-JP.json
deleted file mode 100644
index 17c48a39dca..00000000000
--- a/src/Pagination/intl/ja-JP.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "次へ",
- "page_count": "/ {n, plural, =one{# ページ} other{# ページ}}",
- "previous": "前へ"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/ko-KR.json b/src/Pagination/intl/ko-KR.json
deleted file mode 100644
index 2e794808d8b..00000000000
--- a/src/Pagination/intl/ko-KR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "다음",
- "page_count": "/{n, plural, =other{#페이지}}",
- "previous": "이전"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/nb-NO.json b/src/Pagination/intl/nb-NO.json
deleted file mode 100644
index 2b0c75e5442..00000000000
--- a/src/Pagination/intl/nb-NO.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Neste",
- "page_count": "av {n, plural, =one{# side} other{# sider}}",
- "previous": "Forrige"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/nl-NL.json b/src/Pagination/intl/nl-NL.json
deleted file mode 100644
index 8d941f51776..00000000000
--- a/src/Pagination/intl/nl-NL.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Volgende",
- "page_count": "van {n, plural, =one{# pagina} other{# pagina's}}",
- "previous": "Vorige"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/pl-PL.json b/src/Pagination/intl/pl-PL.json
deleted file mode 100644
index ecb029ae0e3..00000000000
--- a/src/Pagination/intl/pl-PL.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Dalej",
- "page_count": "z {n, plural, =one{# nr strony} other{# liczba stron}}",
- "previous": "Wstecz"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/pt-BR.json b/src/Pagination/intl/pt-BR.json
deleted file mode 100644
index 837494553eb..00000000000
--- a/src/Pagination/intl/pt-BR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Próximo",
- "page_count": "de {n, plural, =one{# página} other{# páginas}}",
- "previous": "Anterior"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/ru-RU.json b/src/Pagination/intl/ru-RU.json
deleted file mode 100644
index 8cf9b100210..00000000000
--- a/src/Pagination/intl/ru-RU.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Далее",
- "page_count": "из {n, plural, =one{# стр.} other{# стр.}}",
- "previous": "Назад"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/sv-SE.json b/src/Pagination/intl/sv-SE.json
deleted file mode 100644
index ec5699a583e..00000000000
--- a/src/Pagination/intl/sv-SE.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Nästa",
- "page_count": "av {n, plural, =one{# sida} other{# sidor}}",
- "previous": "Föregående"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/tr-TR.json b/src/Pagination/intl/tr-TR.json
deleted file mode 100644
index 55f718e60eb..00000000000
--- a/src/Pagination/intl/tr-TR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Sonraki",
- "page_count": "/ {n, plural, =one{# sayfa} other{# sayfa}}",
- "previous": "Önceki"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/uk-UA.json b/src/Pagination/intl/uk-UA.json
deleted file mode 100644
index e4e389fa3b4..00000000000
--- a/src/Pagination/intl/uk-UA.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Наступний",
- "page_count": "із {n, plural, =one{# сторінки} other{# стор.}}",
- "previous": "Попередній"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/zh-CN.json b/src/Pagination/intl/zh-CN.json
deleted file mode 100644
index 66872bf79a1..00000000000
--- a/src/Pagination/intl/zh-CN.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "下一页",
- "page_count": "(共 {n, plural, =one{# 页} other{# 页}})",
- "previous": "上一页"
-}
\ No newline at end of file
diff --git a/src/Pagination/intl/zh-TW.json b/src/Pagination/intl/zh-TW.json
deleted file mode 100644
index fc83db4ca98..00000000000
--- a/src/Pagination/intl/zh-TW.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "下一頁",
- "page_count": "共 {n, plural, =one{# 頁} other{# 頁}}",
- "previous": "上一頁"
-}
\ No newline at end of file
diff --git a/src/Pagination/js/Pagination.js b/src/Pagination/js/Pagination.js
deleted file mode 100644
index 340e61fe588..00000000000
--- a/src/Pagination/js/Pagination.js
+++ /dev/null
@@ -1,224 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Button from '../../Button';
-import ChevronLeftMedium from '../../Icon/core/ChevronLeftMedium';
-import ChevronRightMedium from '../../Icon/core/ChevronRightMedium';
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import Textfield from '../../Textfield';
-
-importSpectrumCSS('pagination');
-importSpectrumCSS('splitbutton');
-
-const formatMessage = messageFormatter(intlMessages);
-
-@autobind
-export default class Pagination extends Component {
- static propTypes = {
- /**
- * Button will give two button controls, one for increment and one for decrement.
- * Explicit will give a text field input that accepts numbers between 1 and totalPages.
- * When a number is typed in explicit mode, an onChange is fired only when enter is pressed.
- * If the user tabs off without hitting enter and then uses the increment button, it will resume
- * from the number it was at before the user typed anything.
- */
- variant: PropTypes.oneOf(['button', 'explicit']),
-
- /**
- * The mode of pagination. This is purely cosmetic.
- */
- mode: PropTypes.oneOf(['cta', 'primary', 'secondary']),
-
- /**
- * The current page number.
- */
- currentPage: PropTypes.number,
-
- /**
- * The default page number.
- */
- defaultPage: PropTypes.number,
-
- /**
- * The total page number. If user hits the total number, the pagination will be capped and will not
- * progress any higher. It also can't go lower than 1.
- */
- totalPages: PropTypes.number,
-
- /**
- * The callback function when the pagination is changed. It sends the value of the new current page.
- */
- onChange: PropTypes.func,
-
- /**
- * The callback function when the pagination is changed to previous page.
- * It sends the value of the new current page.
- */
- onPrevious: PropTypes.func,
-
- /**
- * The callback function when the pagination is changed to next page.
- * It sends the value of the new current page.
- */
- onNext: PropTypes.func
- };
-
- static defaultProps = {
- variant: 'button',
- mode: 'primary',
- defaultPage: 1
- };
-
- defaultPage = this.props.currentPage || this.props.defaultPage;
-
- state = {
- currentPage: this.defaultPage,
- pageInput: this.defaultPage
- };
-
- componentWillReceiveProps(nextProps) {
- const currentPage = nextProps.currentPage;
- if ('currentPage' in nextProps && !this.isInvalidPage(currentPage)) {
- this.setState({currentPage, pageInput: currentPage});
- }
- }
-
- isInvalidPage(page) {
- const {totalPages} = this.props;
- return isNaN(page) || page < 1 || totalPages && page > totalPages;
- }
-
- changePage(pageNumber, eventToFire, event) {
- if (this.isInvalidPage(pageNumber)) {
- return;
- }
- if (!('currentPage' in this.props)) {
- this.setState({currentPage: pageNumber, pageInput: pageNumber});
- }
- if (eventToFire) {
- eventToFire(pageNumber, event);
- }
- }
-
- onPageInputChange(value) {
- if (value === '' || !this.isInvalidPage(Number(value))) {
- this.setState({pageInput: value});
- }
- }
-
- onKeyDown(event) {
- let currentPage = Number(this.state.pageInput);
- switch (event.key) {
- case 'ArrowUp':
- case 'Up':
- currentPage += 1;
- break;
- case 'ArrowDown':
- case 'Down':
- currentPage -= 1;
- break;
- case 'Enter':
- case ' ':
- return this.changePage(currentPage, this.props.onChange, event);
- }
- this.onPageInputChange(currentPage);
- }
-
- onPrevious(e) {
- this.changePage(this.state.currentPage - 1, this.props.onPrevious, e);
- }
-
- onNext(e) {
- this.changePage(this.state.currentPage + 1, this.props.onNext, e);
- }
-
- render() {
- const {
- mode,
- variant,
- totalPages,
- ...otherProps
- } = this.props;
-
- delete otherProps.onChange;
-
- const {pageInput} = this.state;
- const isButtonMode = variant === 'button';
- const isExplicitMode = variant === 'explicit';
- const buttonVariant = isButtonMode ? mode : 'action';
-
- return (
-
-
-
-
- { isExplicitMode &&
- [
- ,
-
- {formatMessage('page_count', {n: totalPages})}
-
- ]
- }
-
- {isButtonMode ? formatMessage('next') : ''}
-
-
- );
- }
-}
-
-Pagination.displayName = 'Pagination';
diff --git a/src/Popover/index.js b/src/Popover/index.js
deleted file mode 100644
index 3ee85231ae8..00000000000
--- a/src/Popover/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Popover');
diff --git a/src/Popover/js/Popover.js b/src/Popover/js/Popover.js
deleted file mode 100644
index b5e4dfa4ec5..00000000000
--- a/src/Popover/js/Popover.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import DialogHeader from '../../Dialog/js/DialogHeader';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import {trapFocus} from '../../utils/FocusManager';
-import '../style/index.styl';
-
-importSpectrumCSS('popover');
-importSpectrumCSS('dialog');
-
-@autobind
-export default class Popover extends Component {
- static propTypes = {
- /**
- * The variant will affect color and add an icon.
- */
- variant: PropTypes.oneOf(['default', 'error']),
-
- /**
- * The position of the popover. If used with overlay trigger and there isn't enough room
- * for the tooltip in that position, it will make a limited attempt to find a new position.
- */
- placement: PropTypes.oneOf([
- 'bottom', 'bottom left', 'bottom right',
- 'top', 'top left', 'top right',
- 'left', 'left top', 'left bottom',
- 'right', 'right top', 'right bottom'
- ]),
-
- /**
- * Whether the popover is opened.
- */
- open: PropTypes.bool,
-
- /**
- * The title of the popover.
- */
- title: PropTypes.node,
-
- /**
- * The css class name of the popover.
- */
- className: PropTypes.string,
-
- /**
- * Whether the focus should be trapped.
- */
- trapFocus: PropTypes.bool
- };
-
- static defaultProps = {
- variant: 'default',
- placement: 'bottom',
- open: true,
- trapFocus: true
- };
-
- componentDidMount() {
- if (this.props.trapFocus) {
- this._trapFocusTimeout = requestAnimationFrame(() => {
- if (this.popoverRef && !this.popoverRef.contains(document.activeElement)) {
- this.popoverRef.focus();
- }
- });
- }
- }
-
- componentWillUnmount() {
- if (this._trapFocusTimeout) {
- cancelAnimationFrame(this._trapFocusTimeout);
- }
- }
-
- onFocus(e) {
- if (this.props.onFocus) {
- this.props.onFocus(e);
- }
- if (this.props.trapFocus &&
- e.target === this.popoverRef &&
- !this.popoverRef.contains(e.relatedTarget)) {
- trapFocus(this, e);
- }
- }
-
- onKeyDown(e) {
- if (this.props.onKeyDown) {
- this.props.onKeyDown(e);
-
- // Do nothing if stopPropagation has been called on event after onKeyDown prop executes.
- if (e.isPropagationStopped && e.isPropagationStopped()) {
- return;
- }
- }
-
- if (this.props.trapFocus) {
- trapFocus(this, e);
- }
- }
-
- render() {
- const {
- variant,
- placement,
- arrowStyle,
- open,
- title,
- children,
- className,
- isDialog = true, // private. for use only by Menu.
- trapFocus,
- tabIndex = null,
- ...otherProps
- } = this.props;
-
- let content = isDialog ?
{children}
: children;
-
- return (
-
this.popoverRef = p}
- className={
- classNames(
- 'spectrum-Popover',
- 'react-spectrum-Popover',
- `spectrum-Popover--${placement.split(' ')[0]}`,
- {
- 'spectrum-Popover--withTip': isDialog,
- 'spectrum-Popover--dialog': isDialog,
- [`spectrum-Dialog--${variant}`]: isDialog,
- 'is-open': open
- },
- className
- )
- }
- role="presentation"
- data-testid="popover"
- {...filterDOMProps(otherProps)}
- onFocus={this.onFocus}
- onKeyDown={this.onKeyDown}
- tabIndex={trapFocus && tabIndex === null ? 1 : tabIndex}>
- {isDialog && title &&
-
- }
- {content}
- {isDialog &&
}
-
- );
- }
-}
-
-Popover.displayName = 'Popover';
diff --git a/src/Popover/style/index.styl b/src/Popover/style/index.styl
deleted file mode 100644
index afec937384a..00000000000
--- a/src/Popover/style/index.styl
+++ /dev/null
@@ -1,28 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.spectrum-Popover {
- // This makes the contents of popovers focusable immediately, without waiting
- // a frame for animations to start.
- &.react-spectrum-Popover {
- visibility: visible;
- }
-
- .spectrum-Dialog-content {
- max-height: initial;
- }
-}
diff --git a/src/PortalContainer/index.js b/src/PortalContainer/index.js
deleted file mode 100644
index 858d10a0b3d..00000000000
--- a/src/PortalContainer/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/PortalContainer');
diff --git a/src/PortalContainer/js/PortalContainer.js b/src/PortalContainer/js/PortalContainer.js
deleted file mode 100644
index 26b552875a2..00000000000
--- a/src/PortalContainer/js/PortalContainer.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-
-let children = {};
-
-/*
- * A global portal that lives in the document body which can be used to add
- * overlays like modals outside the normal React component tree.
- */
-export default class PortalContainer {
- /**
- * Renders the child
- * @param child component to be render
- * @param context Parent with the context
- */
- static add(child, context) {
- let node = children[child.key] || document.createElement('div');
- if (!context) {
- ReactDOM.render(child, node);
- } else {
- ReactDOM.unstable_renderSubtreeIntoContainer(context, child, node);
- }
- children[child.key] = node;
- }
-
- /**
- * Remove child from the dom
- * @param child
- */
- static remove(child) {
- ReactDOM.unmountComponentAtNode(children[child.key]);
- delete children[child.key];
- }
-}
diff --git a/src/Progress/index.js b/src/Progress/index.js
deleted file mode 100644
index c479d713f37..00000000000
--- a/src/Progress/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Progress');
diff --git a/src/Progress/js/Progress.js b/src/Progress/js/Progress.js
deleted file mode 100644
index 13357b43aec..00000000000
--- a/src/Progress/js/Progress.js
+++ /dev/null
@@ -1,173 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('barloader');
-
-const SIZES = {
- S: 'small',
- M: 'medium'
-};
-
-export default function Progress({
- value = 0, // number between 0 - 100
- size = 'M', // 'S', 'M'
- showPercent = false, // Whether the label should be shown or not
- variant, // Either undef or 'overBackground', 'positive', 'warning', 'critical'
- labelPosition = 'left', // 'left', 'top', 'bottom'
- isIndeterminate = false,
- label,
- className,
- id = createId(),
- min = 0,
- max = 100,
- ...otherProps
-}) {
- let fillProps = {};
- let ariaValueProps = {};
- const sizeClassPart = SIZES[size];
- value = Math.min(Math.max(+value, min), max);
- let percentage = 100 * value / (max - min);
-
- let labelId;
-
- let ariaLabelledby = [];
-
- if (otherProps['aria-labelledby']) {
- ariaLabelledby.push(otherProps['aria-labelledby']);
- delete otherProps['aria-labelledby'];
- }
-
- if (label) {
- labelId = createId() + '-label';
- ariaLabelledby.push(labelId);
- }
-
- if (otherProps['aria-label']) {
- ariaLabelledby.length > 0 && ariaLabelledby.push(id);
- }
-
- ariaLabelledby = ariaLabelledby.length ? ariaLabelledby.join(' ') : null;
-
- // only add width to bar fill if determinate
- if (!isIndeterminate) {
- fillProps = {
- style: {
- width: `${percentage}%`
- }
- };
-
- ariaValueProps = {
- 'aria-valuemin': min,
- 'aria-valuemax': max,
- 'aria-valuenow': value,
- 'aria-valuetext': `${Math.round(percentage * 10) / 10}%`
- };
- }
-
- return (
-
- {label &&
-
{label}
- }
- {showPercent &&
-
{`${Math.round(percentage)}%`}
- }
-
-
- );
-}
-
-Progress.propTypes = {
- /**
- * Value between the min and max that specifies the progression of the progress bar.
- * Calculated percentage is automatically clamped to 0-100.
- */
- value: PropTypes.number,
-
- /**
- * Minimum value for the progress bar. Defaults to 0.
- */
- min: PropTypes.number,
-
- /**
- * Maximum value for the progress bar. Defaults to 100.
- */
- max: PropTypes.number,
-
- /**
- * Size of the Progress component. Limited to small (S) or medium (M).
- */
- size: PropTypes.oneOf(['S', 'M']),
-
- /**
- * Whether to show a percentage for the progress bar's current value
- */
- showPercent: PropTypes.bool,
-
- /**
- * Boolean to determine if the Progress component should endlessly scroll (indeterminate)
- */
- isIndeterminate: PropTypes.bool,
-
- /**
- * What type of progress bar to show: 'positive' (green), 'warning' (orange), 'critical' (red)
- */
- variant: PropTypes.oneOf(['positive', 'warning', 'critical', 'overBackground']),
-
- /**
- * Determines the positioning of the provided label.
- * Limited to 'left', 'top', or 'bottom'
- */
- labelPosition: PropTypes.oneOf(['left', 'top', 'bottom']),
-
- /**
- * Determines the label for the Progress component.
- */
- label: PropTypes.string
-};
-
-Progress.displayName = 'Progress';
diff --git a/src/Provider/index.js b/src/Provider/index.js
deleted file mode 100644
index 71d8941f4b9..00000000000
--- a/src/Provider/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Provider');
diff --git a/src/Provider/js/Provider.js b/src/Provider/js/Provider.js
deleted file mode 100644
index 4bd68b15ec2..00000000000
--- a/src/Provider/js/Provider.js
+++ /dev/null
@@ -1,130 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import configureTypekit from '../../utils/configureTypekit';
-import {defaultLocale, setLocale} from '../../utils/intl';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import {setToastPlacement} from '../../Toast/js/state';
-import '../../focus-ring-polyfill';
-import '../style/index.styl';
-
-importSpectrumCSS('page');
-importSpectrumCSS('typography');
-
-export default class Provider extends Component {
- static propTypes = {
- /**
- * Theme.
- */
- theme: PropTypes.oneOf(['light', 'lightest', 'dark', 'darkest']),
-
- /**
- * Scale.
- */
- scale: PropTypes.oneOf(['medium', 'large']),
-
- /**
- * The placement of the toasts. By default position is top- shorthand for "top center".
- */
- toastPlacement: PropTypes.oneOf([
- 'top', 'top left', 'top center', 'top right',
- 'bottom', 'bottom left', 'bottom center', 'bottom right'
- ]),
-
- /**
- * Type kit ID. This is required and products must get their own id's.
- * https://typekit.com/account/kits
- * There is a default provided, but it's only intended for prototyping work.
- */
- typekitId: PropTypes.string,
-
- /**
- * Locale, takes format primary-region ex. en-US, cs-CZ
- */
- locale: PropTypes.string,
-
- /**
- * CSS class name.
- */
- className: PropTypes.string
- };
-
- static defaultProps = {
- theme: 'light',
- scale: 'medium',
- typekitId: 'ruf7eed',
- locale: defaultLocale
- };
-
- // Expose the current theme etc. on the context for children to read if needed.
- static childContextTypes = {
- theme: PropTypes.oneOf(['light', 'lightest', 'dark', 'darkest']),
- scale: PropTypes.oneOf(['medium', 'large']),
- locale: PropTypes.string
- };
-
- constructor(props) {
- super(props);
- setLocale(props.locale);
- if (process.browser) {
- configureTypekit(props.typekitId);
- }
-
- if (props.toastPlacement) {
- setToastPlacement(props.toastPlacement);
- }
- }
-
- componentWillReceiveProps(nextProps) {
- if ('locale' in nextProps) {
- setLocale(nextProps.locale);
- }
-
- if (nextProps.toastPlacement) {
- setToastPlacement(nextProps.toastPlacement);
- }
- }
-
- getChildContext() {
- return {
- theme: this.props.theme,
- scale: this.props.scale,
- locale: this.props.locale
- };
- }
-
- render() {
- let {
- theme,
- className,
- children,
- scale,
- ...props
- } = this.props;
-
- return (
-
- {children}
-
- );
- }
-}
diff --git a/src/Provider/style/index.styl b/src/Provider/style/index.styl
deleted file mode 100644
index e6f8e71440b..00000000000
--- a/src/Provider/style/index.styl
+++ /dev/null
@@ -1,22 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import 'normalize.css/normalize.css';
-
-.react-spectrum-provider {
- position: relative;
-}
diff --git a/src/Radio/index.js b/src/Radio/index.js
deleted file mode 100644
index 583ad2c2834..00000000000
--- a/src/Radio/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Radio');
diff --git a/src/Radio/js/Radio.js b/src/Radio/js/Radio.js
deleted file mode 100644
index 3ec552c60a5..00000000000
--- a/src/Radio/js/Radio.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import React from 'react';
-import SwitchBase from '../../Switch/js/SwitchBase';
-
-importSpectrumCSS('radio');
-
-export default function Radio({
- className,
- labelBelow,
- quiet,
- ...otherProps
-}) {
- return (
-
- );
-}
-
-Radio.displayName = 'Radio';
-Radio.propTypes = {
- /**
- * Whether the radio should start off checked (controlled state)
- */
- checked: PropTypes.bool,
-
- /**
- * Class given to radio
- */
- className: PropTypes.string,
-
- /**
- * Whether the radio should be checked on mount
- */
- defaultChecked: PropTypes.bool,
-
- /**
- * Displays the invalid state of this component
- */
- invalid: PropTypes.bool,
-
- /**
- * Label for radio
- */
- label: PropTypes.string,
-
- /**
- * Whether label is below radio
- */
- labelBelow: PropTypes.bool,
-
- /**
- * Whether radio is a quiet variation
- */
- quiet: PropTypes.bool,
-
- /**
- * Whether label is rendered
- */
- renderLabel: PropTypes.bool
-};
diff --git a/src/RadioGroup/index.js b/src/RadioGroup/index.js
deleted file mode 100644
index b0af274a948..00000000000
--- a/src/RadioGroup/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/RadioGroup');
diff --git a/src/RadioGroup/js/RadioGroup.js b/src/RadioGroup/js/RadioGroup.js
deleted file mode 100644
index 4a166059dbb..00000000000
--- a/src/RadioGroup/js/RadioGroup.js
+++ /dev/null
@@ -1,147 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-importSpectrumCSS('fieldgroup');
-
-export default class RadioGroup extends Component {
- static propTypes = {
- /**
- * Index of the selected radio within the group
- */
- defaultSelectedValue: PropTypes.number,
-
- /**
- * Whether the label is rendered below the radio
- */
- labelBelow: PropTypes.bool,
-
- /**
- * Render the radio group vertically instead of default horizontal
- */
- vertical: PropTypes.bool
- };
-
- static defaultProps = {
- vertical: false,
- labelsBelow: false,
- onChange: function () {}
- };
-
- constructor(props) {
- super(props);
-
- const {
- selectedValue,
- defaultSelectedValue,
- children
- } = props;
-
- let firstSelectedValue;
- React.Children.forEach(children, child => {
- if (child.props.checked) {
- firstSelectedValue = child.props.value;
- }
- });
-
- const defaultSelected = firstSelectedValue || defaultSelectedValue;
- this.state = {
- selectedValue: selectedValue != null ? selectedValue : defaultSelected
- };
- }
-
- componentWillReceiveProps(nextProps) {
- if ('selectedValue' in nextProps) {
- this.setState({
- selectedValue: nextProps.selectedValue
- });
- }
- }
-
- setSelectedValue(value) {
- if (!('selectedValue' in this.props)) {
- this.setState({
- selectedValue: value
- });
- }
-
- this.props.onChange(value);
- }
-
- handleClickItem = (value) => {
- this.setSelectedValue(value);
- }
-
- render() {
- const {
- name,
- vertical,
- labelsBelow,
- className,
- children,
- ...otherProps
- } = this.props;
-
- const {selectedValue} = this.state;
-
- return (
-
- {
- React.Children.map(children, child => {
- const {value, onChange} = child.props;
- if (value == null) {
- throw new Error('Each Radio Button must have a value property');
- }
- const radioGroupOnClick = this.handleClickItem.bind(this, value);
-
- return React.cloneElement(child, {
- checked: selectedValue === value,
- labelBelow: labelsBelow,
- name,
- onChange: (checked, e) => {
- if (onChange) {
- onChange(value);
- }
- radioGroupOnClick();
-
- // Let the RadioGroup change event propagate.
- e.stopPropagation();
- }
- });
- })
- }
-
- );
- }
-}
-
-RadioGroup.displayName = 'RadioGroup';
diff --git a/src/Rating/index.js b/src/Rating/index.js
deleted file mode 100644
index 2e4f825ea80..00000000000
--- a/src/Rating/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Rating');
diff --git a/src/Rating/js/Rating.js b/src/Rating/js/Rating.js
deleted file mode 100644
index 427ae5f817c..00000000000
--- a/src/Rating/js/Rating.js
+++ /dev/null
@@ -1,146 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-import Star from '../../Icon/core/Star';
-import StarOutline from '../../Icon/core/StarOutline';
-
-importSpectrumCSS('rating');
-
-@autobind
-export default class Rating extends React.Component {
- static propTypes = {
- /**
- * Prevent interaction with component
- */
- disabled: PropTypes.bool,
-
- /**
- * Number of stars in rating.
- */
- max: PropTypes.number,
-
- /**
- * Prevents change from happening.
- */
- readOnly: PropTypes.bool,
-
- /**
- * Sets the rating (controlled).
- */
- value: PropTypes.number
- };
-
- static defaultProps = {
- disabled: false,
- className: '',
- max: 5
- };
-
- state = {
- currentRating: this.props.value || 0,
- currentFocus: null
- };
-
- constructor(props) {
- super(props);
- this.inputId = createId();
- }
-
- componentWillReceiveProps(props) {
- if (props.value != null) {
- this.setState({
- currentRating: props.value || 0
- });
- }
- }
-
- onClickRating(currentRating, e) {
- e.stopPropagation();
-
- // Allow user to set rating to zero.
- if (currentRating === 1 && this.state.currentRating === 1) {
- currentRating = 0;
- }
-
- if (this.props.value == null) {
- this.setState({currentRating});
- }
-
- if (this.props.onChange) {
- this.props.onChange(currentRating);
- }
-
- if (this.input) {
- this.input.focus();
- }
- }
-
- onInput(e) {
- const currentRating = +e.target.value;
-
- if (currentRating !== this.state.currentRating) {
- this.onClickRating(currentRating, e);
- }
- }
-
- render() {
- let {max, disabled, className, id = this.inputId, ...otherProps} = this.props;
- let {currentRating} = this.state;
- let ratings = [];
-
- for (let i = 1; i <= max; ++i) {
- let active = i <= Math.round(currentRating);
- let currentValue = i === Math.round(currentRating);
-
- ratings.push(
-
{} : null}>
-
-
-
- );
- }
-
- return (
-
- this.input = i}
- id={id}
- className="spectrum-Rating-input"
- type="range"
- min={0}
- max={max}
- value={currentRating}
- style={{width: (24 * max) + 'px'}}
- disabled={disabled || null}
- onInput={!disabled ? this.onInput.bind(this) : null}
- {...filterDOMProps(otherProps)} />
- {ratings}
-
- );
- }
-}
diff --git a/src/Rule/index.js b/src/Rule/index.js
deleted file mode 100644
index bc3e4cfb977..00000000000
--- a/src/Rule/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Rule');
diff --git a/src/Rule/js/Rule.js b/src/Rule/js/Rule.js
deleted file mode 100644
index abf31a3eb25..00000000000
--- a/src/Rule/js/Rule.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('rule');
-
-export default function Rule({
- className,
- variant = 'large',
- ...otherProps
-}) {
-
- return (
-
- );
-}
-
-Rule.propTypes = {
- /** Which Rule variant to render. */
- variant: PropTypes.oneOf(['large', 'medium', 'small'])
-};
diff --git a/src/Search/index.js b/src/Search/index.js
deleted file mode 100644
index 715192f4143..00000000000
--- a/src/Search/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Search');
diff --git a/src/Search/intl/cs-CZ.json b/src/Search/intl/cs-CZ.json
deleted file mode 100644
index 8e01b8c7939..00000000000
--- a/src/Search/intl/cs-CZ.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Vymazat hledání"
-}
\ No newline at end of file
diff --git a/src/Search/intl/da-DK.json b/src/Search/intl/da-DK.json
deleted file mode 100644
index 36c2d5f1196..00000000000
--- a/src/Search/intl/da-DK.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Ryd søgning"
-}
\ No newline at end of file
diff --git a/src/Search/intl/de-DE.json b/src/Search/intl/de-DE.json
deleted file mode 100644
index c96a8492817..00000000000
--- a/src/Search/intl/de-DE.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Suche zurücksetzen"
-}
\ No newline at end of file
diff --git a/src/Search/intl/en-US.json b/src/Search/intl/en-US.json
deleted file mode 100644
index 7814db6be38..00000000000
--- a/src/Search/intl/en-US.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Clear search"
-}
diff --git a/src/Search/intl/es-ES.json b/src/Search/intl/es-ES.json
deleted file mode 100644
index 67dd7d5c01e..00000000000
--- a/src/Search/intl/es-ES.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Borrar búsqueda"
-}
\ No newline at end of file
diff --git a/src/Search/intl/fi-FI.json b/src/Search/intl/fi-FI.json
deleted file mode 100644
index 6cc78f8bb02..00000000000
--- a/src/Search/intl/fi-FI.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Tyhjennä haku"
-}
\ No newline at end of file
diff --git a/src/Search/intl/fr-FR.json b/src/Search/intl/fr-FR.json
deleted file mode 100644
index 92e6f0ddfc2..00000000000
--- a/src/Search/intl/fr-FR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Effacer la recherche"
-}
\ No newline at end of file
diff --git a/src/Search/intl/hu-HU.json b/src/Search/intl/hu-HU.json
deleted file mode 100644
index a8f7a572113..00000000000
--- a/src/Search/intl/hu-HU.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Keresés törlése"
-}
\ No newline at end of file
diff --git a/src/Search/intl/it-IT.json b/src/Search/intl/it-IT.json
deleted file mode 100644
index 16c73c125bc..00000000000
--- a/src/Search/intl/it-IT.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Cancella ricerca"
-}
\ No newline at end of file
diff --git a/src/Search/intl/ja-JP.json b/src/Search/intl/ja-JP.json
deleted file mode 100644
index a1a8cc5e2a2..00000000000
--- a/src/Search/intl/ja-JP.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "検索をクリア"
-}
\ No newline at end of file
diff --git a/src/Search/intl/ko-KR.json b/src/Search/intl/ko-KR.json
deleted file mode 100644
index dfcb072964a..00000000000
--- a/src/Search/intl/ko-KR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "검색 지우기"
-}
\ No newline at end of file
diff --git a/src/Search/intl/nb-NO.json b/src/Search/intl/nb-NO.json
deleted file mode 100644
index 18f0d37f093..00000000000
--- a/src/Search/intl/nb-NO.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Tøm søk"
-}
\ No newline at end of file
diff --git a/src/Search/intl/nl-NL.json b/src/Search/intl/nl-NL.json
deleted file mode 100644
index 21b15fb0e23..00000000000
--- a/src/Search/intl/nl-NL.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Zoekactie wissen"
-}
\ No newline at end of file
diff --git a/src/Search/intl/pl-PL.json b/src/Search/intl/pl-PL.json
deleted file mode 100644
index 72f3c2320ec..00000000000
--- a/src/Search/intl/pl-PL.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Wyczyść zawartość wyszukiwania"
-}
\ No newline at end of file
diff --git a/src/Search/intl/pt-BR.json b/src/Search/intl/pt-BR.json
deleted file mode 100644
index 56eb5fa77de..00000000000
--- a/src/Search/intl/pt-BR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Limpar pesquisa"
-}
\ No newline at end of file
diff --git a/src/Search/intl/ru-RU.json b/src/Search/intl/ru-RU.json
deleted file mode 100644
index 6615ff68613..00000000000
--- a/src/Search/intl/ru-RU.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Очистить поиск"
-}
\ No newline at end of file
diff --git a/src/Search/intl/sv-SE.json b/src/Search/intl/sv-SE.json
deleted file mode 100644
index f6158e7973b..00000000000
--- a/src/Search/intl/sv-SE.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Rensa sökning"
-}
\ No newline at end of file
diff --git a/src/Search/intl/tr-TR.json b/src/Search/intl/tr-TR.json
deleted file mode 100644
index 7beb039c2ac..00000000000
--- a/src/Search/intl/tr-TR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Aramayı temizle"
-}
\ No newline at end of file
diff --git a/src/Search/intl/uk-UA.json b/src/Search/intl/uk-UA.json
deleted file mode 100644
index 9acbcdf7e48..00000000000
--- a/src/Search/intl/uk-UA.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "Очистити пошук"
-}
\ No newline at end of file
diff --git a/src/Search/intl/zh-CN.json b/src/Search/intl/zh-CN.json
deleted file mode 100644
index cc56a65b706..00000000000
--- a/src/Search/intl/zh-CN.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "清除搜索"
-}
\ No newline at end of file
diff --git a/src/Search/intl/zh-TW.json b/src/Search/intl/zh-TW.json
deleted file mode 100644
index 1442b6f2a45..00000000000
--- a/src/Search/intl/zh-TW.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Clear search": "清除搜尋條件"
-}
\ No newline at end of file
diff --git a/src/Search/js/Search.js b/src/Search/js/Search.js
deleted file mode 100644
index 48cffd362ff..00000000000
--- a/src/Search/js/Search.js
+++ /dev/null
@@ -1,169 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Button from '../../Button';
-import classNames from 'classnames';
-import {cloneIcon} from '../../utils/icon';
-import CrossSmall from '../../Icon/core/CrossSmall';
-import intlMessages from '../intl/*.json';
-import Magnifier from '../../Icon/core/Magnifier';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import Textfield from '../../Textfield';
-
-importSpectrumCSS('search');
-const formatMessage = messageFormatter(intlMessages);
-
-const normalizeValue = value => value || '';
-
-@autobind
-export default class Search extends Component {
- static propTypes = {
- /** Sets the search field value (controlled). */
- value: PropTypes.string,
-
- /** Sets the default search field value (uncontrolled). */
- defaultValue: PropTypes.string,
-
- /** Sets the icon displayed in the search field. Magnifier icon by default. */
- icon: PropTypes.node
- };
-
- static defaultProps = {
- icon:
,
- onChange: function () {},
- onSubmit: function () {}
- };
-
- constructor(props) {
- super(props);
-
- const {
- value,
- defaultValue
- } = props;
-
- this.state = {
- value: normalizeValue(value || defaultValue)
- };
- }
-
- componentWillReceiveProps(props) {
- if (normalizeValue(props.value) !== this.state.value) {
- this.setState({
- value: props.value
- });
- }
- }
-
- handleTextKeyDown(e) {
- const {onSubmit, onKeyDown, disabled} = this.props;
- const {value} = this.state;
- const key = e.which;
-
- if (key === 13 || key === 27) {
- e.preventDefault();
- }
-
- if (disabled) {
- return;
- }
-
- if (key === 13) {
- onSubmit(value);
- }
-
- if (key === 27) {
- this.handleTextChange('', e, 'escapeKey');
- }
-
- if (onKeyDown) {
- onKeyDown(e);
- }
- }
-
- handleTextChange(value, e, from = 'input') {
- const {onChange, disabled} = this.props;
- if (disabled || value === this.state.value) {
- return;
- }
-
- if (!('value' in this.props)) {
- this.setState({
- value
- });
- }
-
- onChange(value, e, {from});
- }
-
- handleClearButtonClick(e) {
- this.handleTextChange('', e, 'clearButton');
- // restore focus to the searchbox
- if (this.searchbox) {
- this.searchbox.focus();
- }
- }
-
- render() {
- const {
- disabled,
- className,
- icon,
- role = 'search',
- ...otherProps
- } = this.props;
- const {value} = this.state;
-
- return (
-
- this.searchbox = s}
- className="spectrum-Search-input"
- value={value}
- disabled={disabled}
- {...otherProps}
- onKeyDown={this.handleTextKeyDown}
- onChange={this.handleTextChange} />
- {cloneIcon(icon, {className: 'spectrum-Search-icon', size: 'S'})}
- {
- value !== '' &&
- }
- disabled={disabled}
- onClick={this.handleClearButtonClick} />
- }
-
- );
- }
-}
-
-Search.displayName = 'Search';
diff --git a/src/SearchWithin/index.js b/src/SearchWithin/index.js
deleted file mode 100644
index f5db8a04d46..00000000000
--- a/src/SearchWithin/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/SearchWithin');
diff --git a/src/SearchWithin/intl/cs-CZ.json b/src/SearchWithin/intl/cs-CZ.json
deleted file mode 100644
index 5d002d43deb..00000000000
--- a/src/SearchWithin/intl/cs-CZ.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Hledat v rámci"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/da-DK.json b/src/SearchWithin/intl/da-DK.json
deleted file mode 100644
index fd1fb585df8..00000000000
--- a/src/SearchWithin/intl/da-DK.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Sød i"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/de-DE.json b/src/SearchWithin/intl/de-DE.json
deleted file mode 100644
index 3f44478a779..00000000000
--- a/src/SearchWithin/intl/de-DE.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Suchen in"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/en-US.json b/src/SearchWithin/intl/en-US.json
deleted file mode 100644
index 766f3da0e7c..00000000000
--- a/src/SearchWithin/intl/en-US.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Search within"
-}
diff --git a/src/SearchWithin/intl/es-ES.json b/src/SearchWithin/intl/es-ES.json
deleted file mode 100644
index 4a9eece2e46..00000000000
--- a/src/SearchWithin/intl/es-ES.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Buscar en"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/fi-FI.json b/src/SearchWithin/intl/fi-FI.json
deleted file mode 100644
index 63fc02626ac..00000000000
--- a/src/SearchWithin/intl/fi-FI.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Hae kohteesta"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/fr-FR.json b/src/SearchWithin/intl/fr-FR.json
deleted file mode 100644
index 47b7ed0c5d4..00000000000
--- a/src/SearchWithin/intl/fr-FR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Rechercher dans"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/hu-HU.json b/src/SearchWithin/intl/hu-HU.json
deleted file mode 100644
index d3d7bdf8698..00000000000
--- a/src/SearchWithin/intl/hu-HU.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Keresés ezen belül:"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/it-IT.json b/src/SearchWithin/intl/it-IT.json
deleted file mode 100644
index 4cd383ae094..00000000000
--- a/src/SearchWithin/intl/it-IT.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Cerca entro"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/ja-JP.json b/src/SearchWithin/intl/ja-JP.json
deleted file mode 100644
index b15afd882db..00000000000
--- a/src/SearchWithin/intl/ja-JP.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "検索範囲"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/ko-KR.json b/src/SearchWithin/intl/ko-KR.json
deleted file mode 100644
index aee0d0e0605..00000000000
--- a/src/SearchWithin/intl/ko-KR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "다음 범위 내 검색:"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/nb-NO.json b/src/SearchWithin/intl/nb-NO.json
deleted file mode 100644
index 4496bbdde30..00000000000
--- a/src/SearchWithin/intl/nb-NO.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Søk i"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/nl-NL.json b/src/SearchWithin/intl/nl-NL.json
deleted file mode 100644
index 0ac4b007ece..00000000000
--- a/src/SearchWithin/intl/nl-NL.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Zoeken in"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/pl-PL.json b/src/SearchWithin/intl/pl-PL.json
deleted file mode 100644
index 1014f7dfad5..00000000000
--- a/src/SearchWithin/intl/pl-PL.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Szukaj w następującym zakresie"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/pt-BR.json b/src/SearchWithin/intl/pt-BR.json
deleted file mode 100644
index bb2c945e880..00000000000
--- a/src/SearchWithin/intl/pt-BR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Pesquisar em"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/ru-RU.json b/src/SearchWithin/intl/ru-RU.json
deleted file mode 100644
index 9df8c176334..00000000000
--- a/src/SearchWithin/intl/ru-RU.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Поиск в"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/sv-SE.json b/src/SearchWithin/intl/sv-SE.json
deleted file mode 100644
index 32ef436a8d9..00000000000
--- a/src/SearchWithin/intl/sv-SE.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Sök inom"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/tr-TR.json b/src/SearchWithin/intl/tr-TR.json
deleted file mode 100644
index c6a97da17ea..00000000000
--- a/src/SearchWithin/intl/tr-TR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Şurada ara:"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/uk-UA.json b/src/SearchWithin/intl/uk-UA.json
deleted file mode 100644
index b496bd65d7c..00000000000
--- a/src/SearchWithin/intl/uk-UA.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "Шукати в"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/zh-CN.json b/src/SearchWithin/intl/zh-CN.json
deleted file mode 100644
index 5075b5ed979..00000000000
--- a/src/SearchWithin/intl/zh-CN.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "搜索范围"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/intl/zh-TW.json b/src/SearchWithin/intl/zh-TW.json
deleted file mode 100644
index 75e6037fa2b..00000000000
--- a/src/SearchWithin/intl/zh-TW.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Search within": "搜尋範圍:"
-}
\ No newline at end of file
diff --git a/src/SearchWithin/js/SearchWithin.js b/src/SearchWithin/js/SearchWithin.js
deleted file mode 100644
index 147d17ede9d..00000000000
--- a/src/SearchWithin/js/SearchWithin.js
+++ /dev/null
@@ -1,204 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterReactDomProps from '../../utils/filterDOMProps';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React from 'react';
-import Search from '../../Search';
-import Select from '../../Select';
-
-importSpectrumCSS('searchwithin');
-require('../style/index.styl');
-
-const formatMessage = messageFormatter(intlMessages);
-
-/**
- * A SearchWithin component displays a dropdown next to a search input, typically
- * used to select the scope of a search.
- */
-export default class SearchWithin extends React.Component {
- static propTypes = {
- /**
- * Scope options to be shown in the dropdown
- */
- scopeOptions: PropTypes.arrayOf(
- PropTypes.oneOfType([
- PropTypes.string,
- PropTypes.shape({
- label: PropTypes.string,
- value: PropTypes.string
- })
- ])
- ).isRequired,
-
- /**
- * The currently selected scope value (controlled).
- */
- scope: PropTypes.string,
-
- /**
- * The default selected scope value (uncontrolled).
- */
- defaultScope: PropTypes.string,
-
- /**
- * The current value of the textfield (controlled).
- */
- value: PropTypes.string,
-
- /**
- * The default value of the textfield (uncontrolled).
- */
- defaultValue: PropTypes.string,
-
- /**
- * A placeholder for the textfield.
- */
- placeholder: PropTypes.string,
-
- /**
- * Whether the field is disabled
- */
- disabled: PropTypes.bool,
-
- /**
- * A callback for when the field is submitted
- */
- onSubmit: PropTypes.func,
-
- /**
- * A callback for when the textfield changes.
- */
- onValueChange: PropTypes.func,
-
- /**
- * A callback for when the scope changes
- */
- onScopeChange: PropTypes.func,
-
- /**
- * Class given to SearchWithin
- */
- className: PropTypes.string
- };
-
- constructor(props) {
- super(props);
- this.outerId = createId();
- }
-
- getChildId(childName) {
- return this.outerId + '-' + childName;
- }
-
- render() {
- let {
- scope,
- defaultScope,
- value,
- defaultValue,
- onScopeChange,
- onValueChange,
- onSubmit,
- disabled = false,
- placeholder = '',
- id = this.getChildId('search'),
- selectId = this.getChildId('select'),
- 'aria-labelledby': ariaLabelledby,
- 'aria-label': ariaLabel = (!ariaLabelledby ? formatMessage('Search within') : null),
- autoFocus,
- className,
- scopeOptions,
- ...otherProps
- } = this.props;
-
- let formattedScopeOptions = scopeOptions.map(scope => typeof scope === 'string' ? {label: scope, value: scope} : scope);
-
- if (ariaLabelledby) {
- if (ariaLabel) {
- ariaLabelledby += ` ${this.outerId}`;
- }
- } else {
- ariaLabelledby = this.outerId;
- }
-
- const selectProps = {};
-
- if (scope) {
- selectProps.value = scope;
- } else {
- selectProps.defaultValue = defaultScope ? defaultScope : formattedScopeOptions[0].value;
- }
-
- const select = (
-
- );
-
- const searchProps = {};
-
- // comparison is on purpose, we don't want to mix undefined with null in equality
- if (value != null) {
- searchProps.value = value;
- } else if (defaultValue) {
- searchProps.defaultValue = defaultValue;
- }
-
- let search = (
-
- );
-
- return (
-
- {select}
- {search}
-
- );
- }
-}
diff --git a/src/SearchWithin/style/index.styl b/src/SearchWithin/style/index.styl
deleted file mode 100644
index 766fcc44690..00000000000
--- a/src/SearchWithin/style/index.styl
+++ /dev/null
@@ -1,40 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.react-spectrum-SearchWithin {
- .spectrum-Textfield {
- width: 100%;
- }
-
- .spectrum-Dropdown {
- min-width: inherit; /* Fit width until the max is hit */
- }
-
- .spectrum-Textfield,
- .spectrum-FieldButton {
- &:focus,
- &.is-selected {
- z-index: 1; /* focused field or dropdown button should be on top in z-index order */
- }
- }
-}
-
-.spectrum-SearchWithin.react-spectrum-SearchWithin { /* added extra layer of specificity to override spectrum-css */
- .spectrum-Textfield:focus {
- position: static;
- }
-}
diff --git a/src/Select/index.js b/src/Select/index.js
deleted file mode 100644
index 8f68712652f..00000000000
--- a/src/Select/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Select');
diff --git a/src/Select/js/Select.js b/src/Select/js/Select.js
deleted file mode 100644
index bc295f93825..00000000000
--- a/src/Select/js/Select.js
+++ /dev/null
@@ -1,335 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import AlertIcon from '../../Icon/Alert';
-import autobind from 'autobind-decorator';
-import Button from '../../Button';
-import ChevronDownMedium from '../../Icon/core/ChevronDownMedium';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import Dropdown from '../../Dropdown';
-import filterDOMProps from '../../utils/filterDOMProps';
-import Popover from '../../Popover';
-import PropTypes from 'prop-types';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import SelectList from '../../SelectList';
-
-importSpectrumCSS('dropdown');
-require('../style/index.styl');
-
-let POPOVER_MAX_WIDTH = null;
-let QUIET_MARGIN = 24;
-
-@autobind
-export default class Select extends React.Component {
- static propTypes = {
- /**
- * If true, the select list will close on selection of an item
- */
- closeOnSelect: PropTypes.bool,
-
- /**
- * String for extra class names to add to the select list
- */
- menuClassName: PropTypes.string,
-
- /**
- * A function that returns a wrapper component to render a list item label.
- * Useful in providing custom html to the rendered label.
- */
- renderItem: PropTypes.func,
-
- /** Sets the selected item (controlled) for the component. */
- value: PropTypes.string,
-
- /** Sets the initial selected item (uncontrolled) for the component. */
- defaultValue: PropTypes.string,
-
- /** Whether to allow multiple item selection. */
- multiple: PropTypes.bool,
-
- /** Array of strings of options in list */
- options: PropTypes.arrayOf(PropTypes.object),
-
- /** Function to call when the selected value changes. */
- onChange: PropTypes.func,
-
- /** Function to call when the dropdown menu is opened. */
- onOpen: PropTypes.func,
-
- /** Function to call when the dropdown menu is closed. */
- onClose: PropTypes.func,
-
- /** Whether to render the quiet variant of the component. */
- quiet: PropTypes.bool,
-
- /** Whether to render the invalid appearance of the component. */
- invalid: PropTypes.bool,
-
- /** Whether to enforce that at least one option from the list is selected by the user. */
- required: PropTypes.bool,
-
- /** Whether the component width should adjust to match the width of the selected value's text. */
- flexible: PropTypes.bool,
-
- /** Placeholder text to display if no items have been selected. */
- placeholder: PropTypes.string,
-
- /** Sets whether the overlay is flippable. Shift the overlay to the opposite position if out of view. */
- flip: PropTypes.bool,
-
- /** Sets the positioning of the dropdown to align to the right. */
- alignRight: PropTypes.bool,
-
- /** Sets the icon displayed in the select bar if multiple items are selectable. */
- icon: PropTypes.node
- };
-
- constructor(props) {
- super(props);
-
- let value = null;
- if ('value' in props) {
- value = props.value;
- } else if ('defaultValue' in props) {
- value = props.defaultValue;
- } else if (props.multiple) {
- value = [];
- } else {
- const opt = props.options && props.options[0];
- value = opt && !props.placeholder ? opt.value : null;
- }
-
- this.state = {value};
- this.selectId = createId();
- }
-
- componentWillReceiveProps(props) {
- if ('value' in props && props.value !== this.state.value) {
- this.setState({value: props.value});
- }
- }
-
- componentDidMount() {
- if (POPOVER_MAX_WIDTH == null) {
- // Render a fake popover we can measure the styles of, place it inside ourselves
- // so it gets styles dictated by the current scale
- let dummyPopover = document.createElement('div');
- dummyPopover.className = 'spectrum-Dropdown-popover';
- document.body.appendChild(dummyPopover);
- POPOVER_MAX_WIDTH = parseInt(window.getComputedStyle(dummyPopover).maxWidth, 10);
- document.body.removeChild(dummyPopover);
- }
-
- window.addEventListener('resize', this.updateSize);
- this.updateSize();
- }
-
- componentWillUnmount() {
- window.removeEventListener('resize', this.updateSize);
- }
-
- componentDidUpdate() {
- this.updateSize();
- }
-
- updateSize() {
- if (this.button) {
- let width = ReactDOM.findDOMNode(this.button).offsetWidth;
- if (width !== this.state.width) {
- this.setState({width});
- }
- }
- }
-
- onSelect(value) {
- if (!('value' in this.props)) {
- this.setState({value});
- }
-
- if (this.props.onChange) {
- this.props.onChange(value);
- }
- }
-
- onOpen(e) {
- this.updateSize();
- if (typeof this.props.onOpen === 'function') {
- this.props.onOpen(e);
- }
- }
-
- onKeyDown(e) {
- switch (e.key) {
- case 'Enter':
- case 'ArrowDown':
- case 'Space':
- e.preventDefault();
- this.button.onClick();
- break;
- }
- }
-
- render() {
- let {
- options = [],
- quiet,
- onClose,
- closeOnSelect,
- menuClassName,
- disabled = false,
- invalid = false,
- multiple = false,
- required = false,
- flexible = false,
- placeholder = 'Select an option',
- className,
- flip = true,
- alignRight,
- labelId,
- id = this.selectId,
- icon,
- renderItem,
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby,
- ...otherProps
- } = this.props;
-
- let {value} = this.state;
-
- const valueId = `${id}-value`;
- if (ariaLabelledby) {
- ariaLabelledby += ` ${valueId}`;
- } else if (ariaLabel) {
- ariaLabelledby = id + ' ' + valueId;
- } else if (labelId) {
- ariaLabelledby = labelId + ' ' + valueId;
- } else {
- ariaLabelledby = valueId;
- }
-
- let label = placeholder;
- if (!multiple) {
- const selectedOption = options.find(o => o.value === value);
- label = selectedOption ? selectedOption.label : placeholder;
- icon = selectedOption && selectedOption.icon;
- }
-
- closeOnSelect = typeof closeOnSelect === 'boolean' ? closeOnSelect : !multiple;
-
- // Pass ARIA props to the button, and others to the Dropdown.
- let domProps = Object.entries(filterDOMProps(otherProps));
- let buttonProps = domProps.filter(x => /^aria-.*$/.test(x[0])).reduce((o, i) => (o[i[0]] = i[1], o), {});
- let dropdownProps = domProps.filter(x => !/^aria-.*$/.test(x[0])).reduce((o, i) => (o[i[0]] = i[1], o), {});
- let minWidth = this.state.width;
- if (quiet) {
- minWidth = this.state.width + QUIET_MARGIN;
- }
- if (quiet && flexible) {
- minWidth = null;
- }
-
- return (
-
- (this.button = b)}
- onKeyDown={this.onKeyDown}
- aria-label={ariaLabel}
- aria-labelledby={ariaLabelledby}
- id={id}
- icon={icon}
- {...buttonProps}>
-
- {label}
-
- {invalid && }
-
-
- POPOVER_MAX_WIDTH ? this.state.width : null,
- marginRight: quiet && alignRight ? -1 * (QUIET_MARGIN / 2) : null
- }}
- autoFocus
- renderItem={renderItem} />
-
- );
- }
-}
-
-export function SelectMenu({onClose, onOpen, onSelect, className, open, placement, style, closeOnSelect, quiet, ...props}) {
- return (
-
-
-
- );
-}
diff --git a/src/Select/style/index.styl b/src/Select/style/index.styl
deleted file mode 100644
index e194e133dec..00000000000
--- a/src/Select/style/index.styl
+++ /dev/null
@@ -1,25 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.react-spectrum-Dropdown-fixed {
- min-width: 192px;
-}
-
-.react-spectrum-Dropdown-flexible {
- min-width: 0;
- width: auto;
-}
diff --git a/src/SelectList/index.js b/src/SelectList/index.js
deleted file mode 100644
index 09296b3517c..00000000000
--- a/src/SelectList/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/SelectList');
diff --git a/src/SelectList/js/SelectList.js b/src/SelectList/js/SelectList.js
deleted file mode 100644
index 1a8d870d268..00000000000
--- a/src/SelectList/js/SelectList.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {List, ListItem} from '../../List';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-export default class SelectList extends Component {
- static propTypes = {
- /** Whether the SelectList is disabled */
- disabled: PropTypes.bool,
-
- /** Whether to show the invalid icon and styling */
- invalid: PropTypes.bool,
-
- /** Whether multiple options are able to be selected */
- multiple: PropTypes.bool,
-
- /** Function called when the selected options are changed */
- onChange: PropTypes.func,
-
- /** Array of strings of options in list */
- options: PropTypes.arrayOf(PropTypes.object),
-
- /** Whether an input is required */
- required: PropTypes.bool,
-
- /** Array of pre-selected values*/
- value: PropTypes.oneOfType([
- PropTypes.arrayOf(PropTypes.string),
- PropTypes.string
- ]),
-
- /**
- * A function that returns a wrapper component to render a list item label.
- * Useful in providing custom html to the rendered label.
- */
- renderItem: PropTypes.func
- };
-
- static defaultProps = {
- options: [],
- multiple: false,
- disabled: false,
- invalid: false,
- required: false
- };
-
- constructor(props) {
- super(props);
- this.state = {
- value: props.value
- };
- }
-
- componentWillReceiveProps(props) {
- if (props.value && props.value !== this.state.value) {
- this.setState({
- value: props.value
- });
- }
- }
-
- addSelection(option) {
- return [
- ...(this.state.value || []),
- option.value
- ];
- }
-
- removeSelection(option) {
- let value = this.state.value || [];
- const index = value.indexOf(option.value);
- return [
- ...value.slice(0, index),
- ...value.slice(index + 1, value.length)
- ];
- }
-
- handleSelect(option) {
- let nextOptions;
- if (this.props.multiple) {
- if (this.isSelected(option)) {
- nextOptions = this.removeSelection(option);
- } else {
- nextOptions = this.addSelection(option);
- }
- } else {
- nextOptions = option.value;
- }
-
- // Set state if in uncontrolled mode
- if (!('value' in this.props)) {
- this.setState({value: nextOptions});
- }
-
- if (this.props.onChange) {
- this.props.onChange(nextOptions);
- }
- }
-
- isSelected(option) {
- return this.props.multiple
- ? this.state.value && this.state.value.indexOf(option.value) >= 0
- : this.state.value === option.value;
- }
-
- renderListOfOptions = (options) => (
- options.map((option, index) => (
-
- {this.props.renderItem ? this.props.renderItem(option) : option.label}
-
- ))
- )
-
- render() {
- const {
- options = [],
- multiple = false,
- disabled = false,
- invalid = false,
- required = false,
- className,
- ...otherProps
- } = this.props;
-
- delete otherProps.onTab;
- delete otherProps.renderItem;
-
- return (
-
- {this.renderListOfOptions(options)}
-
- );
- }
-}
diff --git a/src/Shell/index.js b/src/Shell/index.js
deleted file mode 100644
index d9757d660c1..00000000000
--- a/src/Shell/index.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Shell} from './js/Shell';
-export {default as ShellActions} from './js/ShellActions';
-export {default as ShellContent} from './js/ShellContent';
-export {default as ShellHeader} from './js/ShellHeader';
-export {default as ShellHelp} from './js/ShellHelp';
-export {default as ShellOrgSwitcher} from './js/ShellOrgSwitcher';
-export {default as ShellSolution} from './js/ShellSolution';
-export {default as ShellSolutionGroup} from './js/ShellSolutionGroup';
-export {default as ShellSolutionSwitcher} from './js/ShellSolutionSwitcher';
-export {default as ShellUserProfile} from './js/ShellUserProfile';
-export {default as ShellWorkspace} from './js/ShellWorkspace';
-export {default as ShellWorkspaces} from './js/ShellWorkspaces';
diff --git a/src/Shell/js/Shell.js b/src/Shell/js/Shell.js
deleted file mode 100644
index 4a4e975a3a3..00000000000
--- a/src/Shell/js/Shell.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React from 'react';
-import '../style/Shell.styl';
-
-export default function Shell({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-Shell.displayName = 'Shell';
diff --git a/src/Shell/js/ShellActions.js b/src/Shell/js/ShellActions.js
deleted file mode 100644
index 68b369a6df8..00000000000
--- a/src/Shell/js/ShellActions.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React, {Component} from 'react';
-
-export default class ShellHeaderActions extends Component {
- state = {
- openIndex: -1
- }
-
- handleMenuOpen = (e, index) => {
- this.setState({openIndex: index});
- }
-
- handleMenuClose = () => {
- this.setState({openIndex: -1});
- }
-
- render() {
- const {
- className,
- children,
- betaFeedback,
- ...otherProps
- } = this.props;
-
- const {openIndex} = this.state;
-
- let index = 0;
-
- return (
-
- {betaFeedback}
-
- {
- children &&
- React.Children.map(children, child => {
- if (typeof child === 'object' && child && child.type) { // Is this a react element?
- let childProps = child.type.name === 'Button' ? {} : {
- onOpen: this.handleMenuOpen,
- onClose: this.handleMenuClose,
- defaultOpen: index === openIndex,
- index: index++
- };
- return React.cloneElement(child, childProps);
- }
-
- // Otherwise, the child is a string
- return child;
- })
- }
-
-
- );
- }
-}
-
-ShellHeaderActions.displayName = 'ShellHeaderActions';
diff --git a/src/Shell/js/ShellContent.js b/src/Shell/js/ShellContent.js
deleted file mode 100644
index 268ac7ba2fc..00000000000
--- a/src/Shell/js/ShellContent.js
+++ /dev/null
@@ -1,41 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React from 'react';
-import '../style/Shell.styl';
-
-export default function ShellContent({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-ShellContent.displayName = 'ShellContent';
diff --git a/src/Shell/js/ShellHeader.js b/src/Shell/js/ShellHeader.js
deleted file mode 100644
index 2694ab2ac8e..00000000000
--- a/src/Shell/js/ShellHeader.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React from 'react';
-import '../style/ShellHeader.styl';
-
-export default function ShellHeader({
- homeURL = '#',
- homeIcon,
- homeTitle = 'Adobe Experience Manager',
- className,
- children,
- ...otherProps
-}) {
- return (
-
- );
-}
-
-ShellHeader.displayName = 'ShellHeader';
diff --git a/src/Shell/js/ShellHelp.js b/src/Shell/js/ShellHelp.js
deleted file mode 100644
index d3e93044b75..00000000000
--- a/src/Shell/js/ShellHelp.js
+++ /dev/null
@@ -1,208 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Button from '../../Button';
-import classNames from 'classnames';
-import HelpOutline from '../../Icon/HelpOutline';
-import Link from '../../Link';
-import {List, ListItem} from '../../List';
-import React, {Component} from 'react';
-import Search from '../../Search';
-import ShellMenu from './ShellMenu';
-import Wait from '../../Wait';
-import '../style/ShellHelp.styl';
-
-export default class ShellHelp extends Component {
- static defaultProps = {
- defaultResults: [],
- onSearch: function () {},
- onChange: function () {},
- onHide: function () {},
- onResultClick: function () {}
- };
-
- state = {
- searchTerm: ''
- };
-
- handleSearch = val => {
- const {onSearch} = this.props;
- onSearch(val);
- this.setState({
- searchTerm: val
- });
- }
-
- handleVisible = () => {
- if (this.contentRef) {
- this.contentRef.querySelector('.spectrum-Search-input').focus();
- }
- }
-
- handleResultClick = (...args) => {
- if (this.props.onResultClick) {
- this.props.onResultClick(...args);
- }
- }
-
- renderResults() {
- const {searchResults} = this.props;
- if (searchResults) {
- return this.renderSearchResults();
- }
- return this.renderDefaultResults();
- }
-
- renderSearchResults() {
- const {
- searchResults,
- numTotalResults,
- moreSearchResultsUrl
- } = this.props;
-
- const {searchTerm} = this.state;
-
- // https://git.corp.adobe.com/React/react-coral/issues/134
- // unicode for: ' •  ';
- const separator = '\u00a0 \u2022 \u00a0';
- const allResults = {
- href: `${moreSearchResultsUrl}?q=${searchTerm}`,
- title: `See all ${numTotalResults} results`
- };
-
- return (
-
- {
- numTotalResults !== 0 && searchResults && searchResults.length
- ? searchResults.map((result, index) => (
-
-
-
- {result.title}
-
- {Array.isArray(result.tags) ? result.tags.join(separator) : ''}
-
-
-
-
- )).concat(
-
-
- {allResults.title}
-
-
- )
- :
- }
-
- );
- }
-
- renderDefaultResults() {
- const {defaultResults} = this.props;
-
- return (
-
- {
- defaultResults && defaultResults.length ?
- defaultResults.map((result, index) => (
-
-
- {result.label}
-
-
- )) : null
- }
-
- );
- }
-
- render() {
- const {
- className,
- loading,
- ...otherProps
- } = this.props;
-
- return (
-
} />
- }
- onVisible={this.handleVisible}
- onHidden={this.props.onHide}
- {...otherProps}>
-
{this.contentRef = el; }}
- className={
- classNames(
- 'coral3-Shell-help',
- className
- )
- }>
-
- {
- loading
- ?
-
-
- Searching Help...
-
-
- : this.renderResults()
- }
-
-
- );
- }
-}
-
-ShellHelp.displayName = 'ShellHelp';
diff --git a/src/Shell/js/ShellMenu.js b/src/Shell/js/ShellMenu.js
deleted file mode 100644
index 90aec5ad9a6..00000000000
--- a/src/Shell/js/ShellMenu.js
+++ /dev/null
@@ -1,184 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import {getTransitionEvent} from '../../utils/transition';
-import Portal from 'react-overlays/lib/Portal';
-import React, {Component} from 'react';
-import RootCloseWrapper from 'react-overlays/lib/RootCloseWrapper';
-import '../style/ShellMenu.styl';
-
-export default class ShellMenu extends Component {
- static defaultProps = {
- defaultOpen: false,
- placement: 'right', // top, right
- animateFrom: 'right', // top, right
- full: false,
- dark: false,
- top: false, // if true, appears on top of the other menus
- onOpen: function () {},
- onClose: function () {},
- onVisible: function () {},
- onHidden: function () {}
- };
-
- constructor(props) {
- super(props);
-
- const {
- open,
- defaultOpen
- } = props;
-
- this.state = {
- open: open !== undefined ? open : defaultOpen,
- visible: false
- };
- }
-
- componentWillReceiveProps(nextProps) {
- if ('open' in nextProps) {
- this.setState({open: nextProps.open});
- }
- }
-
- componentWillUnmount() {
- if (this.menuRef) {
- this.menuRef.removeEventListener(getTransitionEvent(), this.handleTransitionEnd);
- }
- }
-
- bindMenuRef(ref) {
- if (this.menuRef) {
- this.menuRef.removeEventListener(getTransitionEvent(), this.handleTransitionEnd);
- }
- this.menuRef = ref;
- if (this.menuRef) {
- this.menuRef.addEventListener(getTransitionEvent(), this.handleTransitionEnd);
- }
- }
-
- setOpen(open) {
- if (!('open' in this.props)) {
- this.setState({open});
- }
- }
-
- handleTransitionEnd = e => {
- if (e.propertyName !== 'transform') {
- return;
- }
-
- const {onVisible, onHidden} = this.props;
- const {open} = this.state;
-
- if (open) {
- onVisible();
- } else {
- onHidden();
- }
- this.setState({visible: open});
- }
-
- handleMenuToggle = e => {
- const {open} = this.state;
-
- if (open) {
- this.handleMenuClose(e);
- } else {
- this.handleMenuOpen(e);
- }
- }
-
- handleTargetClick = e => {
- const {open} = this.state;
- // If it's already open, close it.
- if (open) {
- this.handleMenuClose();
- } else {
- this.handleMenuOpen();
- }
- e.preventDefault();
- }
-
- handleMenuOpen = () => {
- const {onOpen, index} = this.props;
- this.setOpen(true);
- onOpen(index);
- }
-
- handleMenuClose = () => {
- const {onClose, index} = this.props;
-
- this.setOpen(false);
- onClose(index);
- }
-
- render() {
- const {
- placement,
- animateFrom,
- full,
- dark,
- top,
- target,
- children
- } = this.props;
-
- const {open, visible} = this.state;
- let zIndex;
- if (open) {
- zIndex = top ? 10018 : 10015;
- } else {
- zIndex = top ? 10017 : 10010;
- }
-
- return (
-
- {this.targetRef = el; }}>
- {
- React.cloneElement(target, {onClick: this.handleTargetClick})
- }
-
-
-
- {this.bindMenuRef(el); }}
- style={{zIndex}}
- className={
- classNames(
- 'coral3-Shell-menu',
- `coral3-Shell-menu--placement-${placement}`,
- `coral3-Shell-menu--from-${animateFrom}`,
- {
- 'coral3-Shell-menu--full': full,
- 'is-open': open,
- 'coral--dark': dark,
- 'is-visible': open || visible
- }
- )
- }>
- {children}
-
-
-
-
- );
- }
-}
-
-ShellMenu.displayName = 'ShellMenu';
diff --git a/src/Shell/js/ShellOrgSwitcher.js b/src/Shell/js/ShellOrgSwitcher.js
deleted file mode 100644
index e4ab7faea88..00000000000
--- a/src/Shell/js/ShellOrgSwitcher.js
+++ /dev/null
@@ -1,149 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Button from '../../Button';
-import classNames from 'classnames';
-import React, {Component} from 'react';
-import Search from '../../Search';
-import SelectList from '../../SelectList';
-import ShellMenu from './ShellMenu';
-import '../style/ShellOrgSwitcher.styl';
-
-export default class ShellOrgSwitcher extends Component {
- static defaultProps = {
- value: '',
- manageOrgsUrl: '#',
- options: [],
- onOrgChange: () => {}
- };
-
- state = {
- searchTerm: '',
- visibleOptions: this.filterVisibleOptions(this.props.options, '')
- };
-
- componentWillReceiveProps(nextProps) {
- if (nextProps.options !== this.props.options) {
- this.setState({
- visibleOptions: this.filterVisibleOptions(nextProps.options, this.state.searchTerm)
- });
- }
- }
-
- filterVisibleOptions(options, searchTerm) {
- return options.filter(option => option.label.toLowerCase().indexOf(searchTerm) !== -1);
- }
-
- getSelectedLabel() {
- const {options, value} = this.props;
-
- const selectedOptions = options.filter(option => option.value === value);
- if (selectedOptions.length) {
- return selectedOptions[0].label;
- }
- return value || '';
- }
-
- handleVisible = () => {
- if (this.contentRef) {
- this.contentRef.querySelector('.spectrum-Search-input').focus();
- }
- }
-
- handleSearchChange = searchTerm => {
- const {options} = this.props;
-
- this.setState({
- searchTerm,
- visibleOptions: this.filterVisibleOptions(options, searchTerm)
- });
- }
-
- render() {
- const {
- value,
- className,
- manageOrgsUrl,
- onOrgChange,
- ...otherProps
- } = this.props;
-
- const {
- visibleOptions
- } = this.state;
-
- return (
-
- {this.getSelectedLabel()}
-
- }
- onVisible={this.handleVisible}
- {...otherProps}>
- {this.contentRef = el; }}
- className={
- classNames(
- 'coral3-Shell-orgSwitcher',
- className
- )
- }>
-
-
- {
- visibleOptions.length !== 0 &&
-
- }
- {
- visibleOptions.length === 0 &&
-
-
-
- No organizations found.
-
-
-
- }
-
-
- Manage Organizations
-
-
-
-
- );
- }
-}
-
-ShellOrgSwitcher.displayName = 'ShellOrgSwitcher';
diff --git a/src/Shell/js/ShellSolution.js b/src/Shell/js/ShellSolution.js
deleted file mode 100644
index 83eceefe96b..00000000000
--- a/src/Shell/js/ShellSolution.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import {cloneIcon} from '../../utils/icon';
-import React from 'react';
-
-export default function ShellSolution({
- href,
- label,
- icon,
- entitled,
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {cloneIcon(icon, {className: 'coral3-Shell-solution-icon', size: 'L'})}
- {label}{children}
-
- );
-}
-
-ShellSolution.displayName = 'ShellSolution';
diff --git a/src/Shell/js/ShellSolutionGroup.js b/src/Shell/js/ShellSolutionGroup.js
deleted file mode 100644
index 8eb906c4157..00000000000
--- a/src/Shell/js/ShellSolutionGroup.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React, {Component} from 'react';
-
-export default class ShellSolutionGroup extends Component {
- static defaultProps = {
- secondary: false
- };
-
- renderPrimarySolutions(children) {
- const entitledChildren = children.filter(
- child => child.props && child.props.entitled
- );
- const unentitledChildren = children.filter(
- child => child.props && child.props.entitled == null
- );
-
- return (
-
-
- {entitledChildren}
-
-
- {unentitledChildren}
-
-
- );
- }
-
- renderSecondarySolutions(children) {
- return (
-
- {
- React.Children.map(children, child => (
- React.cloneElement(child, {
- target: '_blank'
- })
- ))
- }
-
- );
- }
-
- render() {
- const {
- secondary,
- children
- } = this.props;
-
- if (secondary) {
- return this.renderSecondarySolutions(children);
- }
- return this.renderPrimarySolutions(children);
- }
-}
-
-ShellSolutionGroup.displayName = 'ShellSolutionGroup';
diff --git a/src/Shell/js/ShellSolutionSwitcher.js b/src/Shell/js/ShellSolutionSwitcher.js
deleted file mode 100644
index 66d5b0b398a..00000000000
--- a/src/Shell/js/ShellSolutionSwitcher.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import AppsIcon from '../../Icon/Apps';
-import Button from '../../Button';
-import classNames from 'classnames';
-import React from 'react';
-import ShellMenu from './ShellMenu';
-import '../style/ShellSolutionSwitcher.styl';
-
-export default function ShellSolutionSwitcher({
- className,
- children,
- ...otherProps
-}) {
- return (
-
} />
- }
- {...otherProps}>
-
-
- );
-}
-
-ShellSolutionSwitcher.displayName = 'ShellSolutionSwitcher';
diff --git a/src/Shell/js/ShellUserProfile.js b/src/Shell/js/ShellUserProfile.js
deleted file mode 100644
index c367a415ac5..00000000000
--- a/src/Shell/js/ShellUserProfile.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Button from '../../Button';
-import classNames from 'classnames';
-import React from 'react';
-import ShellMenu from './ShellMenu';
-import '../style/ShellUserProfile.styl';
-
-export default function ShellUserProfile({
- name,
- heading,
- subheading,
- avatarUrl = '#',
- profileUrl = '#',
- onSignOut = function () {},
- children,
- className,
- ...otherProps
-}) {
- return (
-
-
-
- }
- {...otherProps}>
-
-
-
-
-
-
{name}
-
- {heading && heading !== 'null' ? heading : ''}
-
-
- {subheading && subheading !== 'null' ? subheading : ''}
-
-
-
- {children}
-
-
- Edit Profile
- Sign Out
-
-
-
- );
-}
-
-ShellUserProfile.displayName = 'ShellUserProfile';
diff --git a/src/Shell/js/ShellWorkspace.js b/src/Shell/js/ShellWorkspace.js
deleted file mode 100644
index cf0ee2d3456..00000000000
--- a/src/Shell/js/ShellWorkspace.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React from 'react';
-import '../style/ShellWorkspace.styl';
-
-export default function ShellWorkspace({
- href = '#',
- label,
- selected = false,
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {label}
- {children}
-
- );
-}
-
-ShellWorkspace.displayName = 'ShellWorkspace';
diff --git a/src/Shell/js/ShellWorkspaces.js b/src/Shell/js/ShellWorkspaces.js
deleted file mode 100644
index 1539591987c..00000000000
--- a/src/Shell/js/ShellWorkspaces.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React from 'react';
-
-export default function ShellWorkspaces({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- );
-}
-
-ShellWorkspaces.displayName = 'ShellWorkspaces';
diff --git a/src/Shell/style/Shell.styl b/src/Shell/style/Shell.styl
deleted file mode 100644
index 120d1d448b9..00000000000
--- a/src/Shell/style/Shell.styl
+++ /dev/null
@@ -1,37 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-$coral-shell-header-height = 52px;
-
-.coral3-Shell {
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
-}
-
-.coral3-Shell-content {
- position: absolute;
- top: $coral-shell-header-height;
- bottom: 0;
- left: 0;
- right: 0;
-
- -webkit-overflow-scrolling: touch;
- overflow: auto;
-}
diff --git a/src/Shell/style/ShellHeader.styl b/src/Shell/style/ShellHeader.styl
deleted file mode 100644
index 1c387212ec5..00000000000
--- a/src/Shell/style/ShellHeader.styl
+++ /dev/null
@@ -1,167 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-@require './Shell'
-
-/* Note: $coral-shell-header-height is defined in styles/coralui-component-shell */
-
-$coral-shell-header-padding-leftright = 8px;
-$coral-shell-header-padding-topbottom = ($coral-shell-header-height - $spectrum-alias-single-line-height) * 0.5;
-$coral-shell-header-area = $coral-shell-header-height - $coral-shell-header-padding-topbottom;
-
-$coral-shell-header-background-color = $spectrum-global-color-grey50;
-$coral-shell-header-background-disabled-color = $spectrum-global-color-grey300;
-
-$coral-shell-header-action-text-size = 12px;
-
-$coral-shell-homeanchor-margin-right = 52px;
-$coral-shell-homeanchor-icon-margin = 10px;
-
-$coral-shell-homeanchor-text-size = 14px;
-$coral-shell-homeanchor-color = $spectrum-global-color-grey700;
-$coral-shell-homeanchor-hover-color = $spectrum-global-color-grey500;
-$coral-shell-homeanchor-focus-color = $spectrum-global-color-grey500;
-
-.coral3-Shell-header {
- z-index: 10020;
-}
-
-.coral3-Shell-homeAnchor .spectrum-Icon {
- vertical-align: middle;
- margin-right: .625rem;
-}
-
-.coral3-Shell-header {
- display: block;
- box-sizing: border-box;
-
- position: relative;
-
- height: $coral-shell-header-height;
-
- // padding-bottom 0 allows items to stick to the bottom without guessing the size of the padding
- padding: $coral-shell-header-padding-topbottom $coral-shell-header-padding-leftright 0 $coral-shell-header-padding-leftright;
-
- background-color: $coral-shell-header-background-color;
-
- clearfix();
-
- // Customize minimal button's badge colors to match the dark background
- .coral3-Shell-menu-button[badge] {
- &:after {
- // Match ultradark background color
- border-color: $coral-shell-header-background-color;
- }
-
- &:disabled,
- &.is-disabled {
- &:after {
- background-color: $coral-shell-header-background-disabled-color;
-
- color: $coral-shell-header-background-color;
- }
- }
- }
-}
-
-.coral3-Shell-header-home {
- display: block;
-
- margin-right: $coral-shell-homeanchor-margin-right;
-
- float: left;
- vertical-align: top;
-}
-
-.coral3-Shell-header-actions {
- float: right;
- margin-left: 15px;
-
- .coral3-Shell-menu-button {
- font-size: $coral-shell-header-action-text-size;
- }
-}
-
-// Greedy container that takes the available space
-.coral3-Shell-header-content {
- // Fill vertically, leaving space at the bottom
- height: $coral-shell-header-area;
- display: inline-block;
-
- vertical-align: top;
-}
-
-// makes the class more specific to be able to verride button styles
-.coral3-Shell-homeAnchor {
- // Fill the whole header
- display: block;
- box-sizing: border-box;
- vertical-align: top;
-
- transition: color .15s ease-out;
-
- margin: 0;
- padding: 0 8px;
-
- text-decoration: none;
- text-align: center;
-
- font-size: $coral-shell-homeanchor-text-size;
- line-height: $spectrum-alias-single-line-height;
-
- color: $coral-shell-homeanchor-color;
-
- cursor: pointer;
- white-space: nowrap;
-
- &:not(:disabled):not(.is-disabled) {
- &.is-selected,
- &:active,
- &:hover {
-
- color: $coral-shell-homeanchor-hover-color;
- }
-
- // focus overrides hover/selected
- &:focus,
- &.is-focused {
- color: $coral-shell-homeanchor-focus-color;
- }
-
- // active overrides focus
- &:active {
- // Repeated to override focus
- color: $coral-shell-homeanchor-hover-color;
- }
- }
-}
-
-.coral3-Shell-homeAnchor-icon {
- vertical-align: middle;
- margin-right: $coral-shell-homeanchor-icon-margin;
-}
-
-.coral3-Shell-homeAnchor-label {
- display: inline-block;
-}
-
-@media (max-width: 661px) {
- .coral3-Shell-homeAnchor-label {
- display: none;
- }
-}
diff --git a/src/Shell/style/ShellHelp.styl b/src/Shell/style/ShellHelp.styl
deleted file mode 100644
index 2f940196b98..00000000000
--- a/src/Shell/style/ShellHelp.styl
+++ /dev/null
@@ -1,126 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-$coral-shell-help-width = 325px;
-$coral-shell-help-loading-height = 300px
-$coral-shell-help-background = $spectrum-global-color-grey50;
-
-$coral-shell-loading-middle = 48%; // Better visual centering
-$coral-shell-loading-spacing = 16px;
-
-.coral3-Shell-help {
- display: block;
- width: $coral-shell-help-width;
-}
-
-.coral3-Shell-help-search {
- width: $coral-shell-help-width;
-
- .spectrum-Search-input {
- width: 100%;
- border-width: 0 0 1px 0;
-
- &:focus {
- box-shadow: none;
- }
- }
-}
-
-.coral3-Shell-help-result-description {
- color: $spectrum-global-color-grey700;
- font-weight: 300;
- letter-spacing: 0.125px; // Tweak: Letters were too close
-
- overflow: ellipsis;
-}
-
-.coral3-Shell-help-loading,
-.coral3-Shell-help-resultMessage {
- // Contain the wait component
- position: relative;
- display: block;
- height: $coral-shell-help-loading-height;
-
- background-color: $coral-shell-help-background;
-}
-
-.coral3-Shell-help-allResults {
- &, .coral3-Shell-help-result-content {
- // Just look like a link
- color: $spectrum-global-color-blue600;
- }
-}
-
-.coral3-Shell-help-resultMessage {
- display: table;
- width: 100%;
-}
-
-.coral3-Shell-help-resultMessage-heading {
- margin-bottom: 12px;
- margin-top: -8px;
-}
-
-.coral3-Shell-help-resultMessage-container {
- display: table-cell;
-
- padding: 0 20px;
-
- vertical-align: middle;
-
- text-align: center;
-}
-
-.coral3-Shell-help-loading-wait {
- position: absolute;
- bottom: (100% - $coral-shell-loading-middle);
- left: 50%;
-
- margin-left: -8px; // Center
- margin-bottom: ($coral-shell-loading-spacing / 2);
-}
-
-.coral3-Shell-help-loading-info {
- position: absolute;
- top: $coral-shell-loading-middle;
- left: 0;
- right: 0;
-
- padding-left: 5px; // Tweak: Make it look nicer with the ellipsis
-
- display: block;
- padding-top: ($coral-shell-loading-spacing / 2);
-
- text-align: center;
-}
-
-.spectrum-Menu.coral3-Shell-help-items,
-.spectrum-Menu.coral3-Shell-help-results {
- display: block;
- border-radius: 0;
- border: none;
-
- .spectrum-Link {
- color: inherit;
-
- &:hover {
- text-decoration: none;
- }
- }
-}
diff --git a/src/Shell/style/ShellMenu.styl b/src/Shell/style/ShellMenu.styl
deleted file mode 100644
index e100fc8749a..00000000000
--- a/src/Shell/style/ShellMenu.styl
+++ /dev/null
@@ -1,194 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-@require './Shell'
-
-$coral-shell-header-padding-leftright = 8px;
-$coral-shell-header-padding-topbottom = ($coral-shell-header-height - $spectrum-alias-single-line-height) * 0.5;
-$coral-shell-header-area = $coral-shell-header-height - $coral-shell-header-padding-topbottom;
-
-$coral-shell-header-background-color = $spectrum-global-color-grey50;
-$coral-shell-header-background-disabled-color = $spectrum-global-color-grey300;
-
-$coral-shell-header-action-text-size = 12px;
-
-$coral-shell-menu-background = rgb(255, 255, 255);
-$coral-shell-menu-border = rgb(220, 220, 220);
-$coral-shell-animation-time = 400ms;
-
-$coral-shell-menubar-badge-background-color = rgb(235, 50, 45);
-$coral-shell-menubar-badge-border-color = rgb(30, 30, 30);
-/* this is for the badge: an icon/number on a red background */
-$coral-shell-menubar-badge-text-color = white;
-
-.coral3-Shell-menu {
- visibility: hidden;
-}
-
-.is-visible {
- visibility: visible;
-}
-
-.coral3-Shell-menubar {
- // Live in harmony with buttons
- display: inline-block;
-}
-
-.coral3-Shell-menubar-item {
- display: inline-block;
-
- vertical-align: top;
-}
-
-.coral3-Shell-menubar-item--circle {
- .coral-Icon.is-image {
- &.coral-Icon--sizeXXS {
- .coral-Icon-image {
- border-radius : 9px;
- }
- }
-
- &.coral-Icon--sizeXS {
- .coral-Icon-image {
- border-radius : 12px;
- }
- }
-
- &.coral-Icon--sizeS {
- .coral-Icon-image {
- border-radius : 18px;
- }
- }
-
- &.coral-Icon--sizeM {
- .coral-Icon-image {
- border-radius : 24px;
- }
- }
-
- &.coral-Icon--sizeL {
- .coral-Icon-image {
- border-radius : 36px;
- }
- }
-
- &.coral-Icon--sizeXL {
- .coral-Icon-image {
- border-radius : 48px;
- }
- }
-
- &.coral-Icon--sizeXXL {
- .coral-Icon-image {
- border-radius : 72px;
- }
- }
- }
-}
-
-.coral3-Shell-menu {
- position: absolute;
-
- max-height: "calc(100% - %s)" % $coral-shell-header-height;
- overflow: auto;
-
- border-bottom-left-radius: 3px;
- border: solid rgb(220, 220, 220);
- border-width: 0 0 2px 2px;
-
- background: $coral-shell-menu-background;
-
- transition: transform $coral-shell-animation-time cubic-bezier(.42,-.01,.175,1)
-
- &:focus {
- // The overlay is focused when opened
- // We don't want to indicate this in most cases
- // The user can hit tab to focus on the first child of the shown overlay
- outline: none;
- }
-
- &.is-open {
- transform: translateY(0) translateX(0);
- }
-}
-
-.coral3-Shell-menu--full {
- border-radius: 0;
-}
-
-.coral3-Shell-menu--placement-top {
- top: $coral-shell-header-height;
-
- &.coral3-Shell-menu--full {
- left: 0;
- right: 0;
- border: none;
- background: $coral-shell-header-background-color;
- }
-}
-
-.coral3-Shell-menu--placement-right {
- top: $coral-shell-header-height;
- right: 0;
-
- &.coral3-Shell-menu--full {
- // Determined by position
- max-height: none;
-
- border-bottom: none;
-
- bottom: 0;
- }
-}
-
-.coral3-Shell-menu--from-top {
- transform: translateY(-100%);
-}
-
-.coral3-Shell-menu--from-right {
- transform: translateX(100%);
-}
-
-.coral3-Shell-menu-button {
- position: relative;
-}
-
-.coral3-Shell-menu-button[badge]:after {
- content: attr(badge);
- position: absolute;
- top: 5px;
- left: 18px;
-
- min-width: 5px;
- height: 12px;
- padding-left: 3.5px;
- padding-right: 3.5px;
-
- line-height: 11px;
- text-align: center;
-
- bold-text();
- font-size: 9px;
- color: $coral-shell-menubar-badge-text-color;
-
- border-radius: 16px;
-
- background-color: $coral-shell-menubar-badge-background-color;
-
- border: 1px solid $coral-shell-menubar-badge-border-color;
-}
diff --git a/src/Shell/style/ShellOrgSwitcher.styl b/src/Shell/style/ShellOrgSwitcher.styl
deleted file mode 100644
index a7b61335d0d..00000000000
--- a/src/Shell/style/ShellOrgSwitcher.styl
+++ /dev/null
@@ -1,162 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-$coral-shell-orgswitcher-width = 300px;
-$coral-shell-orgswitcher-message-height = 200px
-$coral-Shell-orgswitcher-background = $spectrum-global-color-grey50
-$coral-Shell-orgswitcher-footer-background = $spectrum-global-color-grey75
-$coral-Shell-orgswitcher-search-background = $spectrum-global-color-grey75
-$coral-Shell-orgswitcher-height = 320px;
-
-.coral3-Shell-orgSwitcher {
- width: $coral-shell-orgswitcher-width;
-}
-
-.coral3-Shell-orgSwitcher-items {
- display: block;
- max-height: $coral-Shell-orgswitcher-height;
- overflow-y: auto;
- border-radius: 0;
- border: none;
-}
-
-.coral3-Shell-orgSwitcher-item-checkmark {
- position: absolute;
- right: 16px;
- top: 12px; // Fix vertical alignment
- color: $spectrum-global-color-blue600;
-}
-
-.coral3-Shell-orgSwitcher-item-icon {
- width: 2rem;
- margin-top: -0.125rem; // Fix vertical alignment
- margin-right: 8px; // Differs from specs for visual alignment
-}
-
-.coral3-Shell-orgSwitcher-item,
-.coral3-Shell-orgSwitcher-subitem {
- cursor: pointer;
-
- padding-right: 0;
- padding-left: 0;
-
- position: relative;
-
- &.is-selected {
- color: $spectrum-global-color-blue700;
- }
-}
-
-.coral3-Shell-orgSwitcher-item {
- padding-left: 10px;
-
- &.is-child-selected > .coral3-Shell-orgSwitcher-item-checkmark {
- // Hide the checkmark if a child is selected
- display: none;
- }
-
- &.is-parent {
- cursor: default;
-
- // Let children give padding
- padding-bottom: 0;
-
- > .coral3-Shell-orgSwitcher-subitems {
- // Give a little padding
- margin-top: 0.5rem;
- }
- }
-}
-
-
-.coral3-Shell-orgSwitcher-subitem {
- padding-left: 28px;
-
- // Don't overlap parent's icon
- background: none;
-
- .coral3-Shell-orgSwitcher-item-checkmark {
- top: 10px;
- }
-
- coral-list-item-content {
- height: 1rem;
- }
-}
-
-.coral3-Shell-orgSwitcher-subitem-icon {
- width: 1.25rem;
- height: 1rem;
- margin-top: -1px; // Fix vertical alignment
-}
-
-.coral3-Shell-orgSwitcher-search {
- width: $coral-shell-orgswitcher-width;
-
- background-color: $coral-Shell-orgswitcher-search-background;
-
- border-bottom: 1px solid rgb(235, 235, 235);
-
- .spectrum-Search-input {
- width: 100%;
- }
-}
-
-.coral3-Shell-orgSwitcher-resultMessage {
- display: table;
-
- width: 100%;
- height: $coral-shell-orgswitcher-message-height;
-
- background-color: $coral-Shell-orgswitcher-background;
-}
-
-.coral3-Shell-orgSwitcher-resultMessage-heading {
- // Override heading
- margin-bottom: 0;
-}
-
-.coral3-Shell-orgSwitcher-resultMessage-container {
- display: table-cell;
-
- padding: 0 20px;
-
- vertical-align: middle;
-
- text-align: center;
-}
-
-.coral3-Shell-orgSwitcher-footer {
- display: block;
- background-color: $coral-Shell-orgswitcher-footer-background;
-
- border-top: 1px solid rgb(235, 235, 235);
-
- text-align: center;
-
- .spectrum-Button {
- // Force block
- width: 100%;
-
- // Make them be 44px so Lindsay is happy
- padding: 3px 0;
-
- border-radius: 0;
- }
-}
diff --git a/src/Shell/style/ShellOrganization.styl b/src/Shell/style/ShellOrganization.styl
deleted file mode 100644
index 5a10ccd58ec..00000000000
--- a/src/Shell/style/ShellOrganization.styl
+++ /dev/null
@@ -1,30 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-// Reproducing a selector which uses a element coral-icon. Replacing it to be a class selector .coral-Icon.
-// Logged CUI-5823 to capture this.
-.coral3-Shell-orgSwitcher-item .spectrum-Icon:first-child {
- width: 2rem;
- margin-top: -.125rem;
- margin-right: .5rem;
-}
-
-.coral3-Shell-orgSwitcher-subitem .spectrum-Icon:first-child {
- width: 1.25rem;
- height: 1rem;
- margin-top: -.0625rem;
-}
diff --git a/src/Shell/style/ShellSolutionSwitcher.styl b/src/Shell/style/ShellSolutionSwitcher.styl
deleted file mode 100644
index 75c63170132..00000000000
--- a/src/Shell/style/ShellSolutionSwitcher.styl
+++ /dev/null
@@ -1,175 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-$coral-shell-solutionswitcher-transitiontime = 0.21s; // Fibonacci number
-$coral-shell-solutionswitcher-background-color = rgb(30, 30, 30);
-$coral-shell-solutionswitcher-iconsize = 40px;
-$coral-shell-solutionswitcher-linked-solution-iconsize = 56px;
-$coral-shell-solutionswitcher-icon-container-height = 72px;
-$coral-shell-solutionswitcher-secondary-iconsize = 24px;
-$coral-shell-solution-text-color = rgba(255, 255, 255, .75);
-$coral-shell-solution-text-color-hover = rgb(255, 255, 255);
-$coral-shell-solution-icon-color = rgba(255, 255, 255, .45);
-$coral-shell-solution-secondary-icon-color = rgba(255, 255, 255, .60);
-
-.coral3-Shell-solutionSwitcher {
- position: relative;
-
- display: block;
- padding: 48px 0;
-
- background: $coral-shell-solutionswitcher-background-color;
-}
-
-.coral3-Shell-solutionSwitcher-content {
- display: flex;
- justify-content: center;
- max-width: 90%;
- margin: auto;
-
- text-align: center;
-}
-
-.coral3-Shell-solutions-container {
- display: flex;
- flex-direction: column;
- vertical-align: middle;
- padding-right: 13px;
-}
-
-.coral3-Shell-solutions + .coral3-Shell-solutions {
- margin-top: 50px;
-}
-
-.coral3-Shell-solution {
- display: inline-block;
- vertical-align: top;
-
- height: 100px;
- min-width: 120px;
-
- text-decoration: none;
-
- color: $coral-shell-solution-text-color;
- font-size: 14px;
-
- @media (max-width: 1225px) {
- width: 20%;
- }
- @media (max-width: 800px) {
- width: 40%;
- }
- @media (max-width: 550px) {
- width: 100%;
- }
-}
-
-.coral3-Shell-solution:hover {
- color: $coral-shell-solution-text-color-hover;
-}
-
-.coral3-Shell-solution--linked {
- margin-bottom: 15px;
-}
-
-.coral3-Shell-solution--linked:hover .coral3-Shell-solution-icon {
- transform: scale(1.2);
-}
-
-.coral3-Shell-solution--linked .coral3-Shell-solution-icon {
- line-height: $coral-shell-solutionswitcher-linked-solution-iconsize;
-}
-
-.coral3-Shell-solution--linked .coral3-Shell-solution-icon:before {
- width: $coral-shell-solutionswitcher-linked-solution-iconsize;
- height: $coral-shell-solutionswitcher-linked-solution-iconsize;
-}
-
-.coral3-Shell-solution-icon {
- vertical-align: middle;
- height: $coral-shell-solutionswitcher-icon-container-height;
- line-height: $coral-shell-solutionswitcher-icon-container-height;
-
- color: $coral-shell-solution-icon-color;
- font-size: $coral-shell-solutionswitcher-iconsize;
-
- will-change: transform;
- transition: transform $coral-shell-solutionswitcher-transitiontime ease-out, opacity $coral-shell-solutionswitcher-transitiontime ease-out;
-
- &:before {
- width: $coral-shell-solutionswitcher-iconsize;
- height: $coral-shell-solutionswitcher-iconsize;
- vertical-align: middle;
- }
-}
-
-.coral3-Shell-solution-label {
- display: block;
-
- font-weight: 300;
- line-height: 1.5;
-
- transition: opacity $coral-shell-solutionswitcher-transitiontime ease-out;
-}
-
-// Seconary menu styling
-.coral3-Shell-solutions--secondary {
- padding-left: 26px;
- vertical-align: top;
-
- border-left: 1px solid #3b3b3b;
-
- whitespace: nowrap;
-
- .coral3-Shell-solution {
- display: block;
- height: auto;
- width: auto;
-
- text-decoration: none;
- text-align: left;
-
- &:hover {
- .coral3-Shell-solution-icon {
- transform: scale(1);
- }
- .coral3-Shell-solution-label {
- color: $coral-shell-solution-text-color-hover;
- }
- }
- }
-
- .coral3-Shell-solution-icon {
- display: inline-block;
- margin: 12px;
- color: $coral-shell-solution-secondary-icon-color;
- font-size: $coral-shell-solutionswitcher-secondary-iconsize;
- width: $coral-shell-solutionswitcher-secondary-iconsize;
- height: $coral-shell-solutionswitcher-secondary-iconsize;
- line-height: $coral-shell-solutionswitcher-secondary-iconsize;
- text-align: center;
- &:before {
- vertical-align: baseline;
- }
- }
-
- .coral3-Shell-solution-label {
- display: inline-block;
- }
-}
diff --git a/src/Shell/style/ShellUserProfile.styl b/src/Shell/style/ShellUserProfile.styl
deleted file mode 100644
index 5b992389ea0..00000000000
--- a/src/Shell/style/ShellUserProfile.styl
+++ /dev/null
@@ -1,117 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-$coral-shell-user-width = 200px;
-$coral-shell-user-image-size = 48px;
-$coral-shell-user-name-color = $spectrum-global-color-grey800
-$coral-shell-user-heading-color = $spectrum-global-color-grey700
-$coral-Shell-user-background = $spectrum-global-color-grey50
-
-.coral3-Shell-user {
- display: block;
-
- background: $coral-Shell-user-background;
-}
-
-.coral3-Shell-user-container {
- padding: 20px 16px 16px 16px;
-
- min-width: $coral-shell-user-width;
-}
-
-.coral3-Shell-user-image {
- float: left;
-
- width: $coral-shell-user-image-size;
- height: $coral-shell-user-image-size;
- margin-right: 16px;
- line-height: $coral-shell-user-image-size;
-}
-
-.coral3-Shell-user-avatar {
- width: $coral-shell-user-image-size;
- height: $coral-shell-user-image-size;
- border-radius: $coral-shell-user-image-size;
-}
-
-.coral3-Shell-user-name {
- display: block;
-
- font-size: 15px;
- font-weight: bold;
- color: $coral-shell-user-name-color;
-}
-
-.coral3-Shell-user-heading,
-.coral3-Shell-user-subheading {
- display: block;
-
- font-size: 13px;
- color: $coral-shell-user-heading-color;
-}
-
-.coral3-Shell-user-footer {
- width: 100%;
- display: table;
-
- margin-top: 8px;
-
- background-color: rgb(250, 250, 250);
-
- border-top: 1px solid rgb(235, 235, 235);
-
- .spectrum-Button {
- display: table-cell;
-
- // Make them be 44px so Lindsay is happy
- padding: 3px 0;
-
- border-radius: 0;
- border-width: 0;
-
- // Missing in .coral-Button
- text-align: center;
-
- & + .spectrum-Button {
- &, &:focus {
- border-left: 1px solid rgb(235, 235, 235);
- }
- }
- }
-}
-
-.coral3-Shell-menu-button img {
- border-radius: 1.5rem;
- margin-top: 2.5px;
- width: 24px;
- height: 24px;
-}
-.coral3-Shell-user-container {
- overflow: hidden;
- min-width: 300px;
-
- .coral3-Shell-user-name,
- .coral3-Shell-user-heading,
- .coral3-Shell-user-subheading {
- max-width: 360px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-}
diff --git a/src/Shell/style/ShellWorkspace.styl b/src/Shell/style/ShellWorkspace.styl
deleted file mode 100644
index 974185cd2db..00000000000
--- a/src/Shell/style/ShellWorkspace.styl
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-$spectrum-color-workspace-text-default = $spectrum-global-color-grey700
-$spectrum-color-workspace-text-hover = $spectrum-global-color-grey900
-$spectrum-color-workspace-text-active = $spectrum-global-color-grey900
-$spectrum-color-workspace-text-hover = $spectrum-alias-focus-blue
-$coral-shell-workspaces-height = 42px;
-$coral-shell-workspaces-margin = 17.5px;
-$coral-shell-workspaces-textVerticalOffset = 10px;
-$coral-shell-workspaces-border-width = 2px;
-$coral-shell-workspaces-transitiontime = 0.21s;
-
-.coral3-Shell-workspaces {
- display: block;
-}
-
-.coral3-Shell-workspaces-workspace {
- display: inline-block;
- box-sizing: border-box;
- height: $coral-shell-workspaces-height;
- margin: 0 $coral-shell-workspaces-margin;
-
- border-bottom: $coral-shell-workspaces-border-width solid transparent;
-
- line-height: $coral-shell-workspaces-height - $coral-shell-workspaces-border-width - $coral-shell-workspaces-textVerticalOffset;
-
- text-decoration: none;
-
- light-text();
-
- transition: border-color $coral-shell-workspaces-transitiontime ease-out, color $coral-shell-workspaces-transitiontime ease-out;
-
- &:focus {
- outline: none;
- }
-
- &:first-of-type {
- margin-left: 0;
- }
-}
-
-.coral3-Shell-workspaces-workspace {
- color: $spectrum-color-workspace-text-default;
-
- &:hover {
- color: $spectrum-color-workspace-text-hover;
- }
-
- &.is-selected {
- border-color: $spectrum-color-workspace-text-active;
- color: $spectrum-color-workspace-text-active;
- }
-
- &:focus {
- border-color: $spectrum-color-workspace-text-hover;
- color: $spectrum-color-workspace-text-hover;
- }
-}
diff --git a/src/SideNav/index.js b/src/SideNav/index.js
deleted file mode 100644
index 22027d24628..00000000000
--- a/src/SideNav/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as SideNav} from './js/SideNav';
-export {default as SideNavItem} from './js/SideNavItem';
-export {default as SideNavHeading} from './js/SideNavHeading';
diff --git a/src/SideNav/js/SideNav.js b/src/SideNav/js/SideNav.js
deleted file mode 100644
index 47df466c4ef..00000000000
--- a/src/SideNav/js/SideNav.js
+++ /dev/null
@@ -1,221 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {chain} from '../../utils/events';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import FocusManager from '../../utils/FocusManager';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React, {Children, cloneElement, Component} from 'react';
-import '../style/index.styl';
-
-importSpectrumCSS('sidenav');
-
-const SIDENAV_ITEM_SELECTOR = '.spectrum-SideNav-itemLink:not(.is-hidden):not(.is-disabled)';
-const SELECTED_SIDENAV_ITEM_SELECTOR = SIDENAV_ITEM_SELECTOR + '.is-selected';
-
-const isNestedSelected = (props, value) => props.children && props.children.filter(c => {
- const {children} = c.props;
- if (children && typeof children !== 'string') {
- return isNestedSelected(c.props, value);
- }
- return c.props.value === value;
-}).length !== 0;
-
-@autobind
-@focusRing
-export default class SideNav extends Component {
- static propTypes = {
- /**
- * The variant of sidenav to display
- */
- variant: PropTypes.oneOf(['default', 'multiLevel']),
-
- /**
- * Whether SideNav should use roving tabIndex so that only one item can receive focus at a time. With multiLevel, this defaults to true.
- */
- manageTabIndex: PropTypes.bool,
-
- /**
- * Whether SideNav should use alphanumeric search to locate next item to focus. With multiLevel, this defaults to true.
- */
- typeToSelect: PropTypes.bool,
-
- /**
- * Custom className of sidenav to apply
- */
- className: PropTypes.string,
-
- /**
- * Value of selected Sidenav Item (use for controlled selection)
- */
- value: PropTypes.string,
-
- /**
- * Value of selected Sidenav Item at initialization
- */
- defaultValue: PropTypes.string,
-
- /**
- * Whether to automatically set focus to the seleted item when the component mounts.
- */
- autoFocus: PropTypes.bool,
-
- /**
- * Whether the sidenav is a child of a sidenav item
- */
- isNested: PropTypes.bool,
-
- /**
- * A select handler for the sidenav
- */
- onSelect: PropTypes.func
- };
-
- static defaultProps = {
- variant: 'default',
- manageTabIndex: false,
- typeToSelect: false,
- autoFocus: false,
- isNested: false,
- onSelect: () => {}
- }
-
- state = {
- value: this.props.defaultValue || this.props.value
- }
-
- constructor(props) {
- super(props);
- this.id = createId();
- }
-
- componentWillReceiveProps(nextProps) {
- const {value} = nextProps;
- if (value !== this.props.value) {
- this.setState({value});
- }
- }
-
- isSelected(child) {
- return child.props.value === this.state.value;
- }
-
- isDefaultSelected(child) {
- return child.props.value === this.props.defaultValue;
- }
-
- onSelect(value, e) {
- if (this.props.value === undefined) {
- this.setState({value});
- }
- this.props.onSelect(value, e);
- }
-
- isDefaultExpanded(child) {
- if (child.props.defaultExpanded !== undefined) {
- return child.props.defaultExpanded;
- }
- // Expand nested sidenav if any item is selected
- return Array.isArray(child.props.children) && isNestedSelected(child.props, this.state.value);
- }
-
- getListRole() {
- const {
- variant,
- isNested
- } = this.props;
- if (variant === 'multiLevel') {
- return isNested ? 'group' : 'tree';
- }
- return undefined;
- }
-
- render() {
- const {
- className,
- children,
- hidden,
- variant,
- id = this.id,
- role,
- manageTabIndex,
- typeToSelect,
- ariaLevel = 1,
- autoFocus,
- isNested,
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby,
- ...otherProps
- } = this.props;
-
- const isMultiLevel = variant === 'multiLevel';
- const Element = isNested ? 'div' : 'nav';
-
- delete otherProps.value;
-
- return (
-
-
-
- {Children.map(
- children,
- child => cloneElement(child,
- {
- role: (isMultiLevel ? 'treeitem' : undefined),
- hidden,
- manageTabIndex,
- ariaLevel: (isMultiLevel ? ariaLevel : undefined),
- _nestedNavValue: this.state.value,
- _isSelected: this.isSelected(child),
- onSelect: chain(child.props.onSelect, this.onSelect),
- defaultExpanded: this.isDefaultExpanded(child)
- }
- )
- )}
-
-
-
- );
- }
-}
diff --git a/src/SideNav/js/SideNavHeading.js b/src/SideNav/js/SideNavHeading.js
deleted file mode 100644
index b1f8335d056..00000000000
--- a/src/SideNav/js/SideNavHeading.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import SideNavItem from './SideNavItem';
-
-export default function SideNavHeading({label, ...props}) {
- return (
-
- );
-}
diff --git a/src/SideNav/js/SideNavItem.js b/src/SideNav/js/SideNavItem.js
deleted file mode 100644
index 259ed0712e0..00000000000
--- a/src/SideNav/js/SideNavItem.js
+++ /dev/null
@@ -1,362 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {chain, interpretKeyboardEvent} from '../../utils/events';
-import classNames from 'classnames';
-import {cloneIcon} from '../../utils/icon';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import ReactDOM from 'react-dom';
-import SideNav from './SideNav';
-
-const NOOP = () => {};
-const FOCUSABLE_SIDENAV_ITEMLINK_SELECTOR = '.spectrum-SideNav-itemLink[tabIndex]';
-
-/**
- * An item in a sidenav
- */
-@autobind
-@focusRing
-export default class SideNavItem extends Component {
- static propTypes = {
- /**
- * Custom className of sidenav to apply
- */
- className: PropTypes.string,
-
- /**
- * Whether the item is disabled
- */
- disabled: PropTypes.bool,
-
- /**
- * The label to display in the item
- */
- label: PropTypes.string,
-
- /**
- * The value of item
- */
- value: PropTypes.string,
-
- /**
- * The href of item
- */
- href: PropTypes.string,
-
- /**
- * The target type for item link
- */
- target: PropTypes.string,
-
- /**
- * Icon for item
- */
- icon: PropTypes.node,
-
- /**
- * Whether item should represent the current page within a set of pages or current location within an environment or context when selected.
- * See
WAI-ARIA 1.1 definition of `aria-current (state)`
- * attribute.
- */
- 'aria-current': PropTypes.oneOf(['page', 'location']),
-
- /**
- * Whether the item is expanded in case of multi-level sidenav item
- */
- expanded: PropTypes.bool,
-
- /**
- * Whether the item is expanded at initialization in case of multi-level sidenav item
- */
- defaultExpanded: PropTypes.bool,
-
- /**
- * A function that returns a href wrapper component.
- * Useful in providing custom href component(eg. Link from react-router-dom).
- *
- * ```js
- *
Foo}>
- *
- * ```
- */
- renderLink: PropTypes.func,
-
- /**
- * A click handler for the item
- */
- onClick: PropTypes.func,
-
- /**
- * A select handler for the item
- */
- onSelect: PropTypes.func
- };
-
- static defaultProps = {
- 'aria-current': 'page',
- disabled: false,
- target: '_self',
- onSelect: NOOP,
- onClick: NOOP
- }
-
- state = {
- expanded: this.props.defaultExpanded || this.props.expanded,
- focused: false
- }
-
- constructor(props) {
- super(props);
- this.id = createId();
- }
-
- get hasNestedNav() {
- const {children} = this.props;
- return children && typeof children !== 'string';
- }
-
- componentWillReceiveProps(nextProps) {
- const {expanded} = nextProps;
- if (expanded !== this.props.expanded) {
- this.setState(prevState => ({...prevState, expanded}));
- }
- }
-
- handleClick(e) {
- this.props.onClick(e);
- this.onSelectFocused(e);
- }
-
- onSelectFocused(e) {
- const {onSelect, value, expanded, href = e.target ? e.target.href : undefined} = this.props;
- let isKeyDown = e.type === 'keydown';
- if (!href || isKeyDown) {
- // When there is no href or if triggered from a keyboard event,
- // preventDefault and stopPropagation.
- e.preventDefault();
- e.stopPropagation();
- // If Enter of Space key pressed, trigger click event on event target
- if (isKeyDown && (e.key === 'Enter' || e.key === ' ')) {
- e.target.click();
- return;
- }
- }
- if (expanded === undefined) {
- this.setState((prevState) => ({...prevState, expanded: !prevState.expanded}));
- }
- onSelect(value, e);
- }
-
- /**
- * Keyboard event handler to interperet ArrowLeft/ArrowRight to collapse/expand section in multiLevel variant.
- * @param {KeyboardEvent} e Keyboard event
- */
- onKeyDown(e) {
- const {expanded} = this.state;
- const isExpandableTreeItem = this.props.role === 'treeitem' && this.hasNestedNav;
- switch (e.key) {
- case 'ArrowLeft':
- case 'Left':
- if (isExpandableTreeItem) {
- if (expanded) {
- this.onSelectFocused(e);
- this.focus();
- }
- }
- break;
- case 'ArrowRight':
- case 'Right':
- if (isExpandableTreeItem) {
- if (!expanded) {
- this.onSelectFocused(e);
- } else if (this.sideNavItemRef) {
- const links = Array.from(ReactDOM.findDOMNode(this).querySelectorAll(FOCUSABLE_SIDENAV_ITEMLINK_SELECTOR));
- if (links.indexOf(e.target) === 0) {
- links[1].focus();
- }
-
- }
- }
- break;
- }
- }
-
- onFocus() {
- this.setState({focused: true});
- }
-
- onBlur() {
- this.setState({focused: false});
- }
-
- setSideNavItemRef = s => this.sideNavItemRef = s;
-
- focus() {
- if (this.sideNavItemRef) {
- const link = ReactDOM.findDOMNode(this.sideNavItemRef).querySelector(FOCUSABLE_SIDENAV_ITEMLINK_SELECTOR);
- link.focus();
- }
- }
-
- getDescendantId(postfix) {
- const {
- id = this.id
- } = this.props;
- return postfix ? `${id}-${postfix}` : id;
- }
-
- renderLink(label, tabIndex, isTreeItem) {
- const {
- ariaLevel,
- hidden,
- id = this.id,
- icon,
- disabled,
- href,
- renderLink,
- role,
- target,
- _isSelected,
- 'aria-current': ariaCurrent
- } = this.props;
-
- const {
- expanded,
- focused
- } = this.state;
-
- const props = {
- href: disabled ? undefined : href,
- onClick: disabled ? undefined : this.handleClick,
- onFocus: disabled ? undefined : this.onFocus,
- onBlur: disabled ? undefined : this.onBlur,
- tabIndex: disabled ? undefined : tabIndex,
- className: classNames(
- 'spectrum-SideNav-itemLink',
- {
- 'is-selected': _isSelected,
- 'is-disabled': disabled,
- 'is-focused': focused,
- 'is-hidden': hidden
- }
- ),
- id,
- role: (disabled || !href) && !isTreeItem ? 'link' : role,
- 'aria-disabled': disabled || undefined,
- 'aria-expanded': this.hasNestedNav && isTreeItem ? expanded : undefined,
- 'aria-owns': this.hasNestedNav && isTreeItem && expanded ? this.getDescendantId('child-list') : undefined,
- 'aria-selected': isTreeItem ? focused : undefined,
- 'aria-current': _isSelected ? ariaCurrent : undefined,
- 'aria-level': ariaLevel,
- target
- };
-
- if (renderLink) {
- return renderLink(props);
- }
-
- return (
-
- {cloneIcon(icon, {className: 'spectrum-SideNav-itemIcon', size: 'S'})}
- {label}
- );
- }
-
- render() {
- let {
- header,
- className,
- children,
- disabled,
- role,
- renderLink,
- id = this.id,
- value,
- _isSelected,
- _nestedNavValue,
- manageTabIndex,
- onSelect,
- ariaLevel,
- ...otherProps
- } = this.props;
-
- const {expanded, focused} = this.state;
-
- let {
- label,
- tabIndex = 0
- } = this.props;
-
- if (!label && !header) {
- label = children;
- }
-
- let isTreeItem = role === 'treeitem';
- let isCurrent = !!_nestedNavValue && value === _nestedNavValue;
-
- if (isTreeItem || manageTabIndex) {
- tabIndex = isCurrent ? tabIndex : -1;
- }
-
- delete otherProps.label;
-
- delete otherProps['aria-current'];
-
- return (
-
- { (label || renderLink) && this.renderLink(label, tabIndex, isTreeItem)
- }
- { header &&
-
- }
- { this.hasNestedNav &&
-
- {children}
-
- }
-
- );
- }
-}
diff --git a/src/SideNav/style/index.styl b/src/SideNav/style/index.styl
deleted file mode 100644
index e34b39a04a6..00000000000
--- a/src/SideNav/style/index.styl
+++ /dev/null
@@ -1,28 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.spectrum--medium {
- .react-spectrum-SideNav {
- width: 240px;
- }
-}
-
-.spectrum--large {
- .react-spectrum-SideNav {
- width: 300px;
- }
-}
diff --git a/src/Slider/index.js b/src/Slider/index.js
deleted file mode 100644
index e6e263f3745..00000000000
--- a/src/Slider/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Slider');
diff --git a/src/Slider/intl/cs-CZ.json b/src/Slider/intl/cs-CZ.json
deleted file mode 100644
index 2d020df6ce1..00000000000
--- a/src/Slider/intl/cs-CZ.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maximum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/da-DK.json b/src/Slider/intl/da-DK.json
deleted file mode 100644
index 25885e157ae..00000000000
--- a/src/Slider/intl/da-DK.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maksimum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/de-DE.json b/src/Slider/intl/de-DE.json
deleted file mode 100644
index 2d020df6ce1..00000000000
--- a/src/Slider/intl/de-DE.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maximum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/en-US.json b/src/Slider/intl/en-US.json
deleted file mode 100644
index b2e617e634b..00000000000
--- a/src/Slider/intl/en-US.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "minimum": "Minimum",
- "maximum": "Maximum"
-}
diff --git a/src/Slider/intl/es-ES.json b/src/Slider/intl/es-ES.json
deleted file mode 100644
index 571ff8765bc..00000000000
--- a/src/Slider/intl/es-ES.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Máximo",
- "minimum": "Mínimo"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/fi-FI.json b/src/Slider/intl/fi-FI.json
deleted file mode 100644
index ef460d5a8ab..00000000000
--- a/src/Slider/intl/fi-FI.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maksimi",
- "minimum": "Minimi"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/fr-FR.json b/src/Slider/intl/fr-FR.json
deleted file mode 100644
index 2d020df6ce1..00000000000
--- a/src/Slider/intl/fr-FR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maximum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/hu-HU.json b/src/Slider/intl/hu-HU.json
deleted file mode 100644
index 2d020df6ce1..00000000000
--- a/src/Slider/intl/hu-HU.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maximum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/it-IT.json b/src/Slider/intl/it-IT.json
deleted file mode 100644
index e0858f02d0e..00000000000
--- a/src/Slider/intl/it-IT.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Massimo",
- "minimum": "Minimo"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/ja-JP.json b/src/Slider/intl/ja-JP.json
deleted file mode 100644
index 476d9d8b76e..00000000000
--- a/src/Slider/intl/ja-JP.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "最大",
- "minimum": "最小"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/ko-KR.json b/src/Slider/intl/ko-KR.json
deleted file mode 100644
index 4e18025ba77..00000000000
--- a/src/Slider/intl/ko-KR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "최대",
- "minimum": "최소"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/nb-NO.json b/src/Slider/intl/nb-NO.json
deleted file mode 100644
index 25885e157ae..00000000000
--- a/src/Slider/intl/nb-NO.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maksimum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/nl-NL.json b/src/Slider/intl/nl-NL.json
deleted file mode 100644
index 2d020df6ce1..00000000000
--- a/src/Slider/intl/nl-NL.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maximum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/pl-PL.json b/src/Slider/intl/pl-PL.json
deleted file mode 100644
index 25885e157ae..00000000000
--- a/src/Slider/intl/pl-PL.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maksimum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/pt-BR.json b/src/Slider/intl/pt-BR.json
deleted file mode 100644
index 571ff8765bc..00000000000
--- a/src/Slider/intl/pt-BR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Máximo",
- "minimum": "Mínimo"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/ru-RU.json b/src/Slider/intl/ru-RU.json
deleted file mode 100644
index 4a351523865..00000000000
--- a/src/Slider/intl/ru-RU.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Максимум",
- "minimum": "Минимум"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/sv-SE.json b/src/Slider/intl/sv-SE.json
deleted file mode 100644
index 2d020df6ce1..00000000000
--- a/src/Slider/intl/sv-SE.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maximum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/tr-TR.json b/src/Slider/intl/tr-TR.json
deleted file mode 100644
index 25885e157ae..00000000000
--- a/src/Slider/intl/tr-TR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Maksimum",
- "minimum": "Minimum"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/uk-UA.json b/src/Slider/intl/uk-UA.json
deleted file mode 100644
index bcc20a0a512..00000000000
--- a/src/Slider/intl/uk-UA.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "Максимум",
- "minimum": "Мінімум"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/zh-CN.json b/src/Slider/intl/zh-CN.json
deleted file mode 100644
index 476d9d8b76e..00000000000
--- a/src/Slider/intl/zh-CN.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "最大",
- "minimum": "最小"
-}
\ No newline at end of file
diff --git a/src/Slider/intl/zh-TW.json b/src/Slider/intl/zh-TW.json
deleted file mode 100644
index bf7c9215bdb..00000000000
--- a/src/Slider/intl/zh-TW.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "maximum": "最大值",
- "minimum": "最小值"
-}
\ No newline at end of file
diff --git a/src/Slider/js/Slider.js b/src/Slider/js/Slider.js
deleted file mode 100644
index 11975c01158..00000000000
--- a/src/Slider/js/Slider.js
+++ /dev/null
@@ -1,647 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {clamp, snapValueToStep} from '../../utils/number';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('slider');
-
-const formatMessage = messageFormatter(intlMessages);
-
-const INPUT_POSTFIX = 'Input';
-const LABEL_POSTFIX = '-label';
-const STYLE_KEY = {
- FILL: {
- horizontal: 'width',
- vertical: 'height'
- },
- OFFSET: {
- horizontal: 'left',
- vertical: 'bottom'
- },
- OPPOSITE_OFFSET: {
- horizontal: 'right',
- vertical: 'top'
- }
-};
-
-export default class Slider extends React.Component {
- static propTypes = {
-
- /**
- * The minimal number of the range.
- */
- min: PropTypes.number,
-
- /**
- * The maximum number of the range.
- */
- max: PropTypes.number,
-
- /**
- * The size of the incremental or decremental step.
- */
- step: PropTypes.number,
-
- /**
- * Disable the slider if value is set to true.
- */
- disabled: PropTypes.bool,
-
- /**
- * The orientation of the slider.
- */
- orientation: PropTypes.oneOf(['horizontal', 'vertical']),
-
- /**
- * Set to true to render label.
- */
- renderLabel: PropTypes.bool,
-
- /**
- * The label of the slider.
- */
- label: PropTypes.node,
-
- /**
- * Whether the line of the slider should be filled.
- */
- filled: PropTypes.bool,
-
- /**
- * Start point of the filled slider.
- */
- fillOffset: PropTypes.number,
-
- /**
- * The variant
- */
- variant: PropTypes.oneOf([null, 'ramp', 'range']),
-
- /**
- * The size of the slider. Small (S) or large (L) are available.
- */
- size: PropTypes.oneOf([null, 'S', 'L']),
-
- /**
- * Callback function when the slider is changed. If the variant is range, starting value
- * and ending value are passed to the callback function. Otherwise, only the starting value
- * is passed into the callback function.
- */
- onChange: PropTypes.func,
-
- /**
- * Utility function to return a string to use as the `aria-valuetext` for a slider `input` from its `value`. For example, to retrieve a time string from a minute in the day you could use:
- *
- * ```js
- * minutes => {
- * const date = new Date();
- * date.setHours(Math.floor(minutes / 60));
- * date.setMinutes(minutes % 60);
- * return date.toLocaleTimeString('en-us', {hour: '2-digit', minute: '2-digit'});
- * }
- * ```
- */
- getAriaValueText: PropTypes.func
- };
-
- static defaultProps = {
- min: 0,
- max: 100,
- step: 0,
- disabled: false,
- orientation: 'horizontal',
- renderLabel: false,
- label: null,
- filled: false,
- fillOffset: 0,
- variant: null,
- size: null,
- onChange() {},
- getAriaValueText: value => value
- };
-
- state = {
- startValue: null,
- endValue: null,
- draggingHandle: null,
- focusedHandle: null
- };
-
- constructor(props) {
- super(props);
- this.sliderId = createId();
- }
-
- componentWillMount() {
- this.componentWillReceiveProps(this.props);
- }
-
- componentWillReceiveProps(props) {
- // For range slider
- if (props.variant === 'range') {
- let startValue = (props.startValue == null) ? props.defaultStartValue : props.startValue;
- let endValue = (props.endValue == null) ? props.defaultEndValue : props.endValue;
- if (startValue == null && (this.state.startValue == null || this.props.min !== props.min)) {
- startValue = props.min;
- }
- if (endValue == null && (this.state.endValue == null || this.props.max !== props.max)) {
- endValue = props.max;
- }
- if (startValue != null && endValue != null) {
- this.setState({startValue, endValue});
- }
- } else {
- // For single slider
- let startValue = props.value == null ? props.defaultValue : props.value;
- if (startValue == null && (this.state.startValue == null || this.props.max !== props.max || this.props.min !== props.min)) {
- startValue = props.min + (props.max - props.min) / 2;
- }
- if (startValue != null) {
- this.setState({startValue});
- }
- }
- this.isDraggedBodyClassName = 'u-isGrabbing';
- }
-
- /**
- * Finds the nearest handle based on X/Y coordinates
- * @private
- */
- findNearestHandle = (pageX, pageY) => {
- let closestDistance = Infinity; // Incredible large start value
- let closestHandle = 'startHandle';
- const handles = ['startHandle', 'endHandle'];
-
- // if variant is not range always return focused handle
- if (this.props.variant !== 'range') {
- return closestHandle;
- }
-
- // Find the nearest handle
- handles.forEach(handle => {
- const rect = this[handle + INPUT_POSTFIX].getBoundingClientRect();
- const top = rect.top + window.pageYOffset;
- const left = rect.left + window.pageXOffset;
- const distance = Math.floor(
- Math.sqrt(Math.pow(pageX - (left + (rect.width / 2)), 2) +
- Math.pow(pageY - (top + (rect.height / 2)), 2))
- );
-
- if (distance < closestDistance) {
- closestDistance = distance;
- closestHandle = handle;
- }
- });
-
- return closestHandle;
- };
-
-
- onMouseDown = (e, sliderHandle) => {
- if (!sliderHandle) {
- sliderHandle = this.findNearestHandle(e.pageX, e.pageY);
- } else {
- // stop propagation of event up to .spectrum-Slider-controls
- e.stopPropagation();
- }
-
- const input = this[sliderHandle + INPUT_POSTFIX];
-
- if (input) {
- input.focus();
- }
-
- // persist event for use after state change
- e.persist();
-
- this.setState({
- sliderHandle: null,
- isMouseUp: false,
- draggingHandle: sliderHandle
- }, () => this.onMouseMove(e));
-
- window.addEventListener('mouseup', this.onMouseUp);
- window.addEventListener('mousemove', this.onMouseMove);
-
- document.body.classList.add(this.isDraggedBodyClassName);
- };
-
- onMouseUp = (e) => {
- const {draggingHandle} = this.state;
- const input = draggingHandle && this[draggingHandle + INPUT_POSTFIX];
-
- // Blur the input so that focused styling is removed with mouse/touch interaction.
- if (input) {
- input.blur();
- }
-
- this.setState({
- isMouseUp: true,
- draggingHandle: null
- }, () => {
- // Restore focus to the input so that keyboard interaction will continue to work.
- if (input) {
- input.focus();
- }
- });
-
- if (this.props.onChangeEnd) {
- if (this.props.variant === 'range') {
- this.props.onChangeEnd(this.state.startValue, this.state.endValue);
- } else {
- this.props.onChangeEnd(this.state.startValue);
- }
- }
-
- window.removeEventListener('mouseup', this.onMouseUp);
- window.removeEventListener('mousemove', this.onMouseMove);
-
- document.body.classList.remove(this.isDraggedBodyClassName);
- };
-
- calculateHandlePosition = (e) => {
- const {min, max, orientation, step} = this.props;
- const vertical = orientation === 'vertical';
-
- const rect = this.dom.getBoundingClientRect();
- const minOffset = vertical ? rect.top : rect.left;
- const offset = vertical ? e.clientY : e.clientX;
- const size = vertical ? rect.height : rect.width;
-
- // Compute percentage
- let percent = (offset - minOffset) / size;
- percent = clamp(percent, 0, 1);
- if (vertical) {
- percent = 1 - percent;
- }
-
- // Compute real value based in min and max, and snap to nearest step.
- let value = min + (max - min) * percent;
- if (step) {
- value = Math.round(value / step) * step;
- }
-
- return value;
- };
-
- getHandleValues = (value, step) => {
- let {draggingHandle, startValue, endValue} = this.state;
-
- if (draggingHandle === 'startHandle') {
- startValue = value;
- }
-
- if (draggingHandle === 'endHandle') {
- endValue = value;
- }
-
-
- step = (!step) ? 1 : step;
- if (+startValue + step > endValue) {
- return [this.state.startValue, this.state.endValue];
- } else {
- return [startValue, endValue];
- }
- };
-
- onMouseMove = (e) => {
- e.preventDefault();
-
- let value = this.calculateHandlePosition(e);
- if (this.props.variant === 'range') {
- let [startValue, endValue] = this.getHandleValues(value, this.props.step);
- this.updateValues(startValue, endValue, this.state.draggingHandle);
- } else {
- this.updateValues(value, null, 'startHandle');
- }
- };
-
- updateValues = (startValue, endValue = null, sliderHandle = null) => {
- const {min, max, step, variant, onChange} = this.props;
-
- startValue = snapValueToStep(startValue, min, max, step);
-
- if (variant === 'range') {
- endValue = snapValueToStep(endValue, min, max, step);
-
- if (onChange && (startValue !== this.state.startValue || endValue !== this.state.endValue)) {
- onChange(startValue, endValue);
- }
-
- if (this.props.startValue == null && this.props.endValue == null) {
- this.setState({startValue, endValue, focusedHandle: !this.state.isMouseUp ? sliderHandle : null});
- }
- } else {
- if (onChange && startValue !== this.state.startValue) {
- onChange(startValue);
- }
-
- // If value is not set in props (uncontrolled component), set state
- if (this.props.value == null) {
- this.setState({startValue: startValue, focusedHandle: !this.state.isMouseUp ? sliderHandle : null});
- }
- }
- };
-
- onChange = (e, sliderHandle) => {
- const {step, variant} = this.props;
- const {startValue, endValue} = this.state;
- const isStartHandle = sliderHandle === 'startHandle';
- const value = isStartHandle ? startValue : endValue;
- const inputValue = +e.target.value;
- if (inputValue !== value) {
- if (variant === 'range') {
- this.setState({
- draggingHandle: sliderHandle
- }, () => {
- let [startValue, endValue] = this.getHandleValues(inputValue, step);
- this.updateValues(startValue, endValue, sliderHandle);
- this.setState({draggingHandle: null});
- });
- } else {
- this.updateValues(inputValue, null, sliderHandle);
- }
- }
- };
-
- onFocus = (e, sliderHandle) => {
- this.setState({
- focusedHandle: !this.state.isMouseUp ? sliderHandle : null,
- topHandle: sliderHandle,
- isMouseUp: false
- });
- };
-
- onBlur = (e, sliderHandle) => {
- this.setState({
- focusedHandle: null
- });
- };
-
- onClickSliderValue = (e) => {
- const selection = window.getSelection();
- let sliderHandle = 'startHandle';
-
- /* Clicking the portion of the slider value text label after the en-dash character should move focus to the endHandle. */
- if (this.props.variant === 'range' && selection.focusOffset > e.target.textContent.indexOf('–')) {
- sliderHandle = 'endHandle';
- }
-
- this[sliderHandle + INPUT_POSTFIX].focus();
- };
-
- getLabelId() {
- return this.sliderId + LABEL_POSTFIX;
- }
-
- getSliderHandleInputId(sliderHandle) {
- const {id = this.sliderId} = this.props;
- return sliderHandle === 'startHandle' ? id : id + '-' + sliderHandle + INPUT_POSTFIX;
- }
-
- getAriaLabelledby = (sliderHandle = null) => {
- const {
- label,
- 'aria-labelledby': ariaLabelledby,
- 'aria-label': ariaLabel
- } = this.props;
-
- const ids = [];
-
- if (ariaLabelledby) {
- ids.push(ariaLabelledby);
- }
-
- if (label || ariaLabel) {
- ids.push(this.getLabelId());
- }
-
- if (sliderHandle) {
- ids.push(this.getSliderHandleInputId(sliderHandle));
- }
-
- return ids.join(' ');
- };
-
- renderSliderHandle = (sliderHandle) => {
- let {
- disabled,
- max,
- min,
- orientation,
- step,
- variant,
- 'aria-label': ariaLabel,
- 'aria-describedby': ariaDescribedby,
- getAriaValueText
- } = this.props;
- const {draggingHandle, focusedHandle, topHandle, startValue, endValue} = this.state;
- const isStartHandle = sliderHandle === 'startHandle';
- const value = isStartHandle ? startValue : endValue;
- const percent = (value - min) / (max - min);
- const isRange = variant === 'range';
- const isVertical = orientation === 'vertical';
- const isDragged = draggingHandle === sliderHandle;
- const isFocused = focusedHandle === sliderHandle;
- const isTopHandle = topHandle === sliderHandle;
- let styleKey = STYLE_KEY.OFFSET[orientation];
- const labelString = isStartHandle ? formatMessage('minimum') : formatMessage('maximum');
- let ariaValueMin = null;
- let ariaValueMax = null;
-
- if (isRange) {
- ariaLabel = labelString;
- ariaValueMin = isStartHandle ? min : startValue;
- ariaValueMax = isStartHandle ? endValue : max;
- }
-
- return (
-
this.onMouseDown(e, sliderHandle) : null}
- style={{
- [styleKey]: percent * 100 + '%'
- }}
- role="presentation">
- this[sliderHandle + INPUT_POSTFIX] = i}
- type="range"
- className="spectrum-Slider-input"
- step={step}
- max={max}
- min={min}
- disabled={disabled}
- aria-orientation={isVertical ? orientation : null}
- aria-label={ariaLabel || null}
- aria-labelledby={this.getAriaLabelledby(isRange ? sliderHandle : null)}
- aria-describedby={ariaDescribedby}
- aria-valuemin={ariaValueMin}
- aria-valuemax={ariaValueMax}
- aria-valuetext={getAriaValueText(value)}
- defaultValue={undefined}
- value={value}
- onChange={!disabled ? e => this.onChange(e, sliderHandle) : null}
- onFocus={!disabled ? e => this.onFocus(e, sliderHandle) : null}
- onBlur={!disabled ? e => this.onBlur(e, sliderHandle) : null} />
-
- );
- };
-
- setDOMReference = d => this.dom = d;
-
- render() {
- let {
- children,
- disabled,
- filled,
- fillOffset,
- id = this.sliderId,
- label,
- max,
- min,
- orientation,
- renderLabel,
- variant,
- 'aria-label': ariaLabel,
- getAriaValueText,
- ...otherProps
- } = this.props;
- const {startValue, endValue} = this.state;
- const isRamp = variant === 'ramp';
- const isRange = variant === 'range';
- const isVertical = orientation === 'vertical';
- const sliderClasses = classNames('spectrum-Slider', this.props.className, {
- 'spectrum-Slider--vertical': isVertical,
- 'spectrum-Slider--ramp': isRamp,
- 'spectrum-Slider--range': isRange,
- 'spectrum-Slider--filled': filled && !fillOffset,
- 'is-disabled': disabled
- });
- const shouldRenderLabel = renderLabel && label;
- const ariaLabelledby = this.getAriaLabelledby();
- const labelValue = isRange ? `${getAriaValueText(startValue)}–${getAriaValueText(endValue)}` : getAriaValueText(startValue);
- const delta = isRange ? (endValue - startValue) : (startValue - min);
- const valueRange = max - min;
- const percent = delta / valueRange;
- const styleKeyFill = STYLE_KEY.FILL[orientation];
- const styleKeyOffset = STYLE_KEY.OFFSET[orientation];
- const styleKeyOppositeOffset = STYLE_KEY.OPPOSITE_OFFSET[orientation];
-
- const startPercent = (startValue - min) / (max - min);
- const endPercent = (endValue - min) / (max - min);
- const fillOffsetPercent = (fillOffset - min) / (max - min);
- const minFillPercent = Math.min(startPercent, fillOffsetPercent);
- const maxFillPercent = Math.max(startPercent, fillOffsetPercent);
- if (isRamp) {
- children = null;
- }
-
- // Range slider should always be filled
- if (isRange && !filled) {
- filled = true;
- }
-
- return (
-
- {(shouldRenderLabel || (label && ariaLabelledby) || ariaLabel) &&
-
-
- {label}
-
- {shouldRenderLabel &&
- /* eslint-disable-next-line jsx-a11y/click-events-have-key-events */
-
this.onClickSliderValue(e) : null}>
- {labelValue}
-
- }
-
- }
-
this.onMouseDown(e) : null}>
- {!isRamp &&
-
- }
- {isRamp &&
-
- }
- {children}
- {this.renderSliderHandle('startHandle')}
- {isRange &&
-
- }
- {isRange ? this.renderSliderHandle('endHandle') : null}
- {!isRamp &&
-
- }
- {filled && fillOffset ?
-
fillOffsetPercent
- })}
- role="presentation"
- style={{
- [styleKeyOffset]: minFillPercent * 100 + '%',
- [styleKeyFill]: (maxFillPercent - minFillPercent) * 100 + '%'
- }} />
- : null}
-
-
- );
- }
-}
diff --git a/src/SplitButton/index.js b/src/SplitButton/index.js
deleted file mode 100644
index c17d8002f48..00000000000
--- a/src/SplitButton/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/SplitButton');
diff --git a/src/SplitButton/js/SplitButton.js b/src/SplitButton/js/SplitButton.js
deleted file mode 100644
index 9541195abd7..00000000000
--- a/src/SplitButton/js/SplitButton.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Button from '../../Button';
-import ChevronDownMedium from '../../Icon/core/ChevronDownMedium';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import Dropdown from '../../Dropdown';
-import filterDOMProps from '../../utils/filterDOMProps';
-import {Menu} from '../../Menu';
-import PropTypes from 'prop-types';
-import React from 'react';
-import ReactDOM from 'react-dom';
-
-importSpectrumCSS('splitbutton');
-
-@autobind
-export default class SplitButton extends React.Component {
- constructor(props) {
- super(props);
- this.buttonId = createId();
- }
-
- onKeyDown(e) {
- if ((e.key === 'ArrowDown' || e.key === 'Down') &&
- (e.altKey || e.target === ReactDOM.findDOMNode(this.dropdownRef.triggerRef))) {
- e.preventDefault();
- e.stopPropagation();
- this.dropdownRef.overlayTrigger.show(e);
- }
- if (this.props.onKeyDown) {
- this.props.onKeyDown(e);
- }
- }
-
- render() {
- const {
- children,
- className,
- id = this.buttonId,
- onSelect,
- onOpen,
- onClose,
- variant,
- disabled,
- ...otherProps
- } = this.props;
-
- return (
-
this.dropdownRef = d} className={classNames('spectrum-SplitButton', className)} alignRight onSelect={onSelect} onOpen={onOpen} onClose={onClose} onKeyDown={this.onKeyDown} role="group" aria-labelledby={id}>
-
-
-
-
-
- {children}
-
-
- );
- }
-}
-
-SplitButton.propTypes = {
- /** Items to render as dropdown menu items. MenuItem components are commonly used here. */
- children: PropTypes.node,
-
- /** Function to trigger once button is selected. */
- onSelect: PropTypes.func,
-
- /** Function to trigger when the button dropdown menu opens. */
- onOpen: PropTypes.func,
-
- /** Function to trigger when the button dropdown menu closes. */
- onClose: PropTypes.func,
-
- /** SplitButton variant to render. */
- variant: PropTypes.oneOf(['primary', 'secondary', 'cta'])
-};
diff --git a/src/SplitView/index.js b/src/SplitView/index.js
deleted file mode 100644
index 83a80ae4772..00000000000
--- a/src/SplitView/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/SplitView');
diff --git a/src/SplitView/js/SplitView.js b/src/SplitView/js/SplitView.js
deleted file mode 100644
index e26a2806509..00000000000
--- a/src/SplitView/js/SplitView.js
+++ /dev/null
@@ -1,427 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React from 'react';
-import ReactDOM from 'react-dom';
-
-importSpectrumCSS('splitview');
-
-const COLLAPSE_THREASHOLD = 50;
-const ORIENTATIONS = {
- horizontal: 'width',
- vertical: 'height'
-};
-
-const CURSORS = {
- horizontal: {
- default: 'ew-resize',
- min: ['e-resize', 'w-resize'],
- max: ['w-resize', 'e-resize']
- },
- vertical: {
- default: 'ns-resize',
- min: ['s-resize', 'n-resize'],
- max: ['n-resize', 's-resize']
- }
-};
-
-@autobind
-@focusRing
-export default class SplitView extends React.Component {
- static propTypes = {
- /** A custom class name to apply to the split view */
- className: PropTypes.string,
-
- /** The orientation of the split view panes - horizontal or vertical */
- orientation: PropTypes.oneOf(['horizontal', 'vertical']),
-
- /** Whether the split view is resizable */
- resizable: PropTypes.bool,
-
- /** Whether the primary pane of the split view is collapsible */
- collapsible: PropTypes.bool,
-
- /** A function that should be applied when the splitter is moused down */
- onMouseDown: PropTypes.func,
-
- /** A function that should be applied when the split view is dragged */
- onResize: PropTypes.func,
-
- /** A function that should be applied when dragging ends on the split view */
- onResizeEnd: PropTypes.func,
-
- /** The child index of the primary pane of the split view. 0 by default, meaning either left or top depending on orientation. */
- primaryPane: PropTypes.oneOf([0, 1]),
-
- /** The minimum size of the primary pane */
- primaryMin: PropTypes.number,
-
- /** The maximum size of the primary pane */
- primaryMax: PropTypes.number,
-
- /** The size of the primary pane */
- primarySize: PropTypes.number,
-
- /** The default size of the primary pane */
- primaryDefault: PropTypes.number,
-
- /** The minimum size of the secondary pane */
- secondaryMin: PropTypes.number,
-
- /** The maximum size of the secondary pane */
- secondaryMax: PropTypes.number
- };
-
- static defaultProps = {
- orientation: 'horizontal',
- resizable: true,
- collapsible: false,
- primaryDefault: 304,
- primaryPane: 0,
- primaryMin: 304,
- primaryMax: Infinity,
- secondaryMin: 304,
- secondaryMax: Infinity
- };
-
- primaryId = createId();
- state = {
- dividerPosition: this.props.primarySize === undefined ? this.props.primaryDefault : this.props.primarySize,
- hovered: false,
- dragging: false
- };
-
- render() {
- let children = React.Children.toArray(this.props.children);
- if (children.length !== 2) {
- throw new Error(`SplitView must have 2 children, ${children.length} found.`);
- }
-
- let {
- primaryPane,
- orientation,
- resizable,
- className,
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby
- } = this.props;
- let {
- dividerPosition,
- hovered,
- dragging,
- minPos,
- maxPos
- } = this.state;
- let dimension = ORIENTATIONS[orientation];
- let secondaryPane = Number(!primaryPane);
- let primary = (
-
- {children[primaryPane]}
-
- );
-
- let secondary = (
-
- {children[secondaryPane]}
-
- );
-
- /**
- * Fix for:
- * ESLint warning: Non-interactive elements should not be assigned mouse or keyboard event listeners jsx-a11y/no-noninteractive-element-interactions
- * ESLint error: The attribute aria-valuenow is not supported by the role separator jsx-a11y/role-supports-aria-props
- * ESLint error: The attribute aria-valuemin is not supported by the role separator jsx-a11y/role-supports-aria-props
- * ESLint error: The attribute aria-valuemax is not supported by the role separator jsx-a11y/role-supports-aria-props
- * ESLint error: `tabIndex` should only be declared on interactive elements jsx-a11y/no-noninteractive-tabindex
- */
- let splitterProps = {
- tabIndex: (resizable ? 0 : null),
- 'aria-valuenow': ((dividerPosition - minPos) / (maxPos - minPos) * 100 | 0),
- 'aria-valuemin': 0,
- 'aria-valuemax': 100,
- 'aria-controls': this.primaryId,
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby,
- 'onKeyDown': this.onKeyDown
- };
-
- return (
- // eslint-disable-next-line jsx-a11y/no-static-element-interactions
-
this.container = r}
- className={classNames('spectrum-SplitView', `spectrum-SplitView--${orientation}`, className)}
- onMouseMove={resizable ? this.onMouseMove : null}
- onMouseDown={resizable ? this.onMouseDown : null}
- onMouseLeave={resizable ? this.onMouseLeave : null}
- data-testid="splitview">
- {primaryPane === 0 ? primary : secondary}
-
- {primaryPane === 1 ? primary : secondary}
-
- );
- }
-
- componentDidMount() {
- window.addEventListener('resize', this.resize, false);
- this.resize();
- }
-
- componentWillUnmount() {
- window.removeEventListener('resize', this.resize, false);
- }
-
- componentWillReceiveProps(nextProps) {
- const {primarySize} = this.props;
-
- if (nextProps.primarySize !== primarySize) {
- this.updatePosition(nextProps.primarySize === undefined ? nextProps.primaryDefault : nextProps.primarySize);
- }
- }
-
- onMouseMove(e) {
- this._over = true;
- if (this.state.dragging) {
- return;
- }
-
- this.updateCursor(e);
- }
-
- onMouseDown(e) {
- if (this.state.hovered) {
- if (this.props.onMouseDown) {
- this.props.onMouseDown();
- }
-
- if (this.props.primarySize !== undefined) {
- return;
- }
-
- window.addEventListener('mousemove', this.onMouseDragged, false);
- window.addEventListener('mouseup', this.onMouseUp, false);
- this.setState({dragging: true});
- this._offset = this.getOffset();
- }
- }
-
- getOffset() {
- let rect = this.container.getBoundingClientRect();
- return this.props.orientation === 'horizontal' ? rect.left : rect.top;
- }
-
- getPosition(e) {
- return this.props.orientation === 'horizontal' ? e.clientX : e.clientY;
- }
-
- onMouseDragged(e) {
- if (!this.state.dragging) {
- return;
- }
-
- e.preventDefault();
-
- let {primaryPane, collapsible} = this.props;
- let pos = this.getPosition(e) - this._offset;
- if (primaryPane === 1) {
- pos = this._size - pos;
- }
-
- if (collapsible && pos < this.state.minPos - COLLAPSE_THREASHOLD) {
- pos = 0;
- }
-
- this.updatePosition(pos);
- this.updateCursor(e);
- }
-
- onMouseUp(e) {
- if (!this.state.dragging) {
- return;
- }
-
- window.removeEventListener('mouseup', this.mouseUp, false);
- window.removeEventListener('mousemove', this.mouseDragged, false);
-
- this.setState({dragging: false});
- this.updateCursor(e);
- if (!this._over) {
- document.body.style.cursor = null;
- }
-
- if (this.props.onResizeEnd) {
- this.props.onResizeEnd(this.state.dividerPosition);
- }
- }
-
- onMouseLeave() {
- this._over = false;
- this.setState({hovered: false});
- if (!this.state.dragging) {
- document.body.style.cursor = null;
- }
- }
-
- resize() {
- this._size = this.props.orientation === 'horizontal' ? this.container.offsetWidth : this.container.offsetHeight;
-
- let {primaryMin, primaryMax, secondaryMin, secondaryMax} = this.props;
- this.setState({
- minPos: Math.max(primaryMin, this._size - secondaryMax),
- maxPos: Math.min(primaryMax, this._size - secondaryMin)
- }, () => {
- this.updatePosition(this.state.dividerPosition);
- });
- }
-
- updatePosition(x, isKeyboard = false) {
- this._lastPosition = this.state.dividerPosition;
-
- let pos = Math.max(this.state.minPos, Math.min(this.state.maxPos, x));
- if (this.props.collapsible && x === 0) {
- pos = 0;
- }
-
- if (pos !== this.state.dividerPosition) {
- this.setState({dividerPosition: pos});
- if (this.props.onResize) {
- this.props.onResize(pos);
- }
-
- if (isKeyboard && this.props.onResizeEnd) {
- this.props.onResizeEnd(pos);
- }
- }
- }
-
- updateCursor(e) {
- let over = this.state.dragging || this.dividerContainsPoint(this.getPosition(e));
- let wasOver = this.state.dragging ? false : this.state.hovered;
-
- if (!wasOver && over) {
- let {primaryPane, orientation} = this.props;
- let cursors = CURSORS[orientation];
- let cursor = cursors.default;
- if (this.state.dividerPosition <= this.state.minPos) {
- cursor = cursors.min[primaryPane];
- } else if (this.state.dividerPosition >= this.state.maxPos) {
- cursor = cursors.max[primaryPane];
- }
-
- this.setState({hovered: this._over});
- document.body.style.cursor = cursor;
- } else if (wasOver && !over) {
- this.setState({hovered: false});
- document.body.style.cursor = null;
- }
- }
-
- dividerContainsPoint(x) {
- x -= this.getOffset();
- if (this.props.primaryPane === 1) {
- x = this._size - x;
- }
-
- let padding = 10;
-
- let d1 = this.state.dividerPosition - padding;
- let d2 = this.state.dividerPosition + padding;
-
- return x >= d1 && x <= d2;
- }
-
- decrement(e) {
- e.preventDefault();
- this.updatePosition(this.state.dividerPosition + (this.props.primaryPane === 0 ? -10 : 10), true);
- }
-
- increment(e) {
- e.preventDefault();
- this.updatePosition(this.state.dividerPosition + (this.props.primaryPane === 0 ? 10 : -10), true);
- }
-
- onKeyDown(e) {
- if (!this.props.resizable || (this.props.primarySize !== undefined)) {
- return;
- }
-
- let {orientation, collapsible} = this.props;
-
- switch (e.key) {
- case 'Left':
- case 'ArrowLeft':
- if (orientation === 'horizontal') {
- this.decrement(e);
- }
- break;
- case 'Up':
- case 'ArrowUp':
- if (orientation === 'vertical') {
- this.decrement(e);
- }
- break;
- case 'Right':
- case 'ArrowRight':
- if (orientation === 'horizontal') {
- this.increment(e);
- }
- break;
- case 'Down':
- case 'ArrowDown':
- if (orientation === 'vertical') {
- this.increment(e);
- }
- break;
- case 'Home':
- e.preventDefault();
- this.updatePosition(collapsible ? 0 : this.state.minPos, true);
- break;
- case 'End':
- e.preventDefault();
- this.updatePosition(this.state.maxPos, true);
- break;
- case 'Enter':
- if (collapsible) {
- e.preventDefault();
- this.updatePosition(this.state.dividerPosition === 0 ? this._lastPosition || this.state.minPos : 0, true);
- }
- break;
- }
- }
-}
diff --git a/src/StatusLight/index.js b/src/StatusLight/index.js
deleted file mode 100644
index 5fed83c0e48..00000000000
--- a/src/StatusLight/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/StatusLight');
diff --git a/src/StatusLight/js/StatusLight.js b/src/StatusLight/js/StatusLight.js
deleted file mode 100644
index 6b79dc71eea..00000000000
--- a/src/StatusLight/js/StatusLight.js
+++ /dev/null
@@ -1,70 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('statuslight');
-
-const VARIANTS = [
- 'celery', 'yellow', 'fuchsia', 'indigo', 'seafoam', 'chartreuse', 'magenta', 'purple',
- 'neutral', 'positive', 'notice', 'negative', 'info'
-];
-
-// For backward compatibility
-const DEPRECATED_VARIANTS = {
- archived: 'neutral',
- active: 'info'
-};
-
-export default function StatusLight({variant = VARIANTS[0], children, disabled, className, ...otherProps}) {
- if (DEPRECATED_VARIANTS[variant]) {
- console.warn(`The "${variant}" variant of StatusLight is deprecated. Please use "${DEPRECATED_VARIANTS[variant]}" instead.`);
- variant = DEPRECATED_VARIANTS[variant];
- }
-
- return (
-
- {children}
-
- );
-}
-
-StatusLight.displayName = 'StatusLight';
-
-StatusLight.propTypes = {
- /**
- * The css class for the status light, it's applied to the top level div.
- */
- className: PropTypes.string,
-
- /**
- * The variant changes the color of the status light.
- */
- variant: PropTypes.oneOf(VARIANTS),
-
- /**
- * Greys out the light and label
- */
- disabled: PropTypes.bool
-};
diff --git a/src/StepList/index.js b/src/StepList/index.js
deleted file mode 100644
index d16f0677272..00000000000
--- a/src/StepList/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as StepList} from './js/StepList';
-export {default as Step} from './js/Step';
diff --git a/src/StepList/js/Step.js b/src/StepList/js/Step.js
deleted file mode 100644
index 4dd7c575d3f..00000000000
--- a/src/StepList/js/Step.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import OverlayTrigger from '../../OverlayTrigger';
-import PropTypes from 'prop-types';
-import React from 'react';
-import Tooltip from '../../Tooltip';
-
-const SMALL = 'S';
-
-export default function Step({
- children,
- className,
- complete,
- selected,
- size,
- ...otherProps
-}) {
- return (
-
-
- {(size !== SMALL) && children}
-
-
- {(size === SMALL) ?
-
-
-
- {children}
-
-
- : }
-
-
-
- );
-}
-
-Step.displayName = 'Step';
-
-Step.propTypes = {
- /** Class to add to the step */
- className: PropTypes.string,
-
- /** Whether the current step is completed */
- complete: PropTypes.bool,
-
- /** Whether the current step is selected */
- selected: PropTypes.bool,
-
- /** Define the size of the step */
- size: PropTypes.oneOf(['S', 'L'])
-};
diff --git a/src/StepList/js/StepList.js b/src/StepList/js/StepList.js
deleted file mode 100644
index 69502209cc0..00000000000
--- a/src/StepList/js/StepList.js
+++ /dev/null
@@ -1,83 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import React from 'react';
-import TabListBase from '../../TabList/js/TabListBase';
-
-importSpectrumCSS('steplist');
-
-const SMALL = 'S';
-const LARGE = 'L';
-const ON = 'on';
-
-export default function StepList({
- className,
- interaction = ON,
- size = LARGE,
- ...otherProps
-}) {
- return (
-
getChildProps(size, ...args)} />
- );
-}
-
-function getChildProps(size, tabList, child, index) {
- return {
- complete: +tabList.state.selectedIndex > index,
- size
- };
-}
-
-StepList.displayName = 'StepList';
-
-StepList.propTypes = {
- /** Class to add to the step list */
- className: PropTypes.string,
-
- /** Index of the selected step (uncontrolled state) */
- defaultSelectedIndex: PropTypes.number,
-
- /** Turn step list interaction (clickable to progress) on or off */
- interaction: PropTypes.oneOf([ON, 'off']),
-
- /** Index of the selected step */
- selectedIndex: PropTypes.number,
-
- /** Size of the steps and step list */
- size: PropTypes.oneOf(['S', 'L'])
-};
-
-StepList.defaultProps = {
- interaction: ON,
- size: LARGE
-};
diff --git a/src/Switch/index.js b/src/Switch/index.js
deleted file mode 100644
index ee1b1fe16bf..00000000000
--- a/src/Switch/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Switch');
diff --git a/src/Switch/js/Switch.js b/src/Switch/js/Switch.js
deleted file mode 100644
index acf4517dbb6..00000000000
--- a/src/Switch/js/Switch.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import React from 'react';
-import SwitchBase from './SwitchBase';
-
-importSpectrumCSS('toggle');
-
-export default function Switch({
- variant, // 'ab'
- quiet,
- className,
- ...otherProps
-}) {
- return (
-
- );
-}
-
-Switch.displayName = 'Switch';
-Switch.propTypes = {
- /**
- * Class given to switch
- */
- className: PropTypes.string,
-
- /**
- * Whether the switch is checked or not (controlled state)
- */
- checked: PropTypes.bool,
-
- /**
- * Whether the switch should be checked (uncontrolled state)
- */
- defaultChecked: PropTypes.bool,
-
- /** Text to add to switch. Can be Text of HTML */
- label: PropTypes.oneOfType([
- PropTypes.string,
- PropTypes.object
- ]),
-
- /**
- * Function called when switch is changed
- */
- onChange: PropTypes.func,
-
- /**
- * Whether switch is a quiet variation
- */
- quiet: PropTypes.bool,
-
- /**
- * Change switch to A/B variant rather an on/off
- */
- variant: PropTypes.oneOf(['ab'])
-
-};
diff --git a/src/Switch/js/SwitchBase.js b/src/Switch/js/SwitchBase.js
deleted file mode 100644
index 57d1549deb6..00000000000
--- a/src/Switch/js/SwitchBase.js
+++ /dev/null
@@ -1,185 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import {focusAfterMouseEvent} from '../../utils/events';
-import focusRing from '../../utils/focusRing';
-import {getTextFromReact} from '../../utils/string';
-import React, {Component} from 'react';
-
-@focusRing
-@autobind
-export default class SwitchBase extends Component {
- static defaultProps = {
- renderLabel: true,
- // defaultChecked is undefined by default so we can repect
- // the value that is passed in without erroneously putting
- // both checked and defaultChecked on the input
- defaultChecked: undefined,
- disabled: false,
- required: false,
- invalid: false,
- readOnly: false,
- onChange: function () {}
- };
-
- constructor(props) {
- super(props);
-
- const {
- checked,
- defaultChecked
- } = props;
-
- this.state = {
- checked: checked !== undefined ? checked : defaultChecked || false
- };
- }
-
- componentWillReceiveProps(nextProps) {
- if ('checked' in nextProps) {
- this.setState({
- checked: nextProps.checked
- });
- }
- }
-
- focus() {
- if (this.inputRef && !this.disabled) {
- this.inputRef.focus();
- }
- }
-
- setChecked(checked) {
- if (!('checked' in this.props)) {
- this.setState({
- checked
- });
- }
- }
-
- getInput() {
- return this.inputRef;
- }
-
- handleChange(e) {
- const {onChange} = this.props;
- const {checked} = e.target;
-
- this.setChecked(checked);
- onChange(checked, e);
- }
-
- render() {
- const {
- label,
- value,
- name,
- disabled,
- required,
- invalid,
- readOnly,
- className,
- style,
- children,
- inputType,
- renderLabel,
- inputClassName,
- markClassName,
- markIcon,
- labelClassName,
- onMouseDown,
- onMouseUp,
- ...otherProps
- } = this.props;
- const {checked} = this.state;
- const shouldRenderLabel = renderLabel && (label || children);
- const Element = shouldRenderLabel ? 'label' : 'div';
-
- // Don't let native browser change events bubble up to the root div.
- // Otherwise we double dispatch.
- delete otherProps.onChange;
-
- // Add aria-label that concatenates label and children
- // when renderLabel is false and no other aria-label is provided.
- let ariaLabel = null;
- if (otherProps['aria-label']) {
- ariaLabel = otherProps['aria-label'];
- delete otherProps['aria-label'];
- } else if (!renderLabel && (label || children)) {
- let labels = [];
- if (label) {
- labels.push(label);
- }
- if (children) {
- let str = getTextFromReact(children);
- if (str !== label) {
- labels.push(str);
- }
- }
- ariaLabel = labels.join(' ');
- }
-
- // Fix for ESLint error: The attribute aria-checked is not supported by the role textbox. This role is implicit on the element input jsx-a11y/role-supports-aria-props
- if (inputType && !otherProps['aria-checked']) {
- otherProps['aria-checked'] = checked;
- }
-
- return (
-
- this.inputRef = el}
- type={inputType}
- className={inputClassName}
- checked={checked}
- disabled={disabled}
- name={name}
- value={value}
- required={required ? true : null}
- readOnly={readOnly}
- onChange={this.handleChange}
- onMouseDown={focusAfterMouseEvent.bind(this, onMouseDown)}
- onMouseUp={focusAfterMouseEvent.bind(this, onMouseUp)}
- aria-invalid={invalid || null}
- aria-label={ariaLabel}
- {...filterDOMProps(otherProps)} />
- {markIcon}
- {shouldRenderLabel &&
-
- {label}
- {/* When both label and children are present,
- include a space character so that the text
- doesn't get smushed together. */
- label && children && ' '}
- {children}
-
- }
-
- );
- }
-}
-
-SwitchBase.displayName = 'SwitchBase';
diff --git a/src/TabList/index.js b/src/TabList/index.js
deleted file mode 100644
index 8cf58f1830f..00000000000
--- a/src/TabList/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as TabList} from './js/TabList';
-export {default as Tab} from './js/Tab';
diff --git a/src/TabList/js/Tab.js b/src/TabList/js/Tab.js
deleted file mode 100644
index 18ad37f77ba..00000000000
--- a/src/TabList/js/Tab.js
+++ /dev/null
@@ -1,129 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import {cloneIcon} from '../../utils/icon';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-/**
- * An individual tab in a TabList or TabView
- */
-@focusRing
-export default class Tab extends Component {
- static displayName = 'Tab';
-
- static propTypes = {
- /** Class to add to tab */
- className: PropTypes.string,
-
- /** Whether the tab should be disabled or not */
- disabled: PropTypes.bool,
-
- /** Icon to add to tab */
- icon: PropTypes.object,
-
- /** Whether to disable the invalid icon on the tab */
- invalid: PropTypes.bool,
-
- /** Tab label */
- label: PropTypes.string,
-
- /** Whether to render children in the tab */
- renderChildren: PropTypes.bool,
-
- /** Whether the tab is selected */
- selected: PropTypes.bool,
-
- /** Index of the tab in the grouping */
- tabIndex: PropTypes.number
- };
-
- static defaultProps = {
- disabled: false,
- invalid: false,
- selected: false,
- tabIndex: 0,
- renderChildren: true
- };
-
- constructor(props) {
- super(props);
- this.tabId = createId();
- }
-
- handleClick = e => {
- if (!this.props.disabled && this.props.onClick) {
- this.props.onClick(e);
- }
- }
-
- handleKeyPress = e => {
- if (e.key === 'Enter' || e.key === ' ') {
- e.preventDefault();
- this.handleClick(e);
- }
- }
-
- render() {
- const {
- id = this.tabId,
- label,
- children,
- className,
- selected,
- disabled,
- invalid,
- icon,
- renderChildren, // v3 Temporary, will be removed in next major version bump
- tabIndex = 0,
- ...otherProps
- } = this.props;
-
- let iconSize = label || (renderChildren && children) ? 'XS' : 'S';
-
- return (
-
- {cloneIcon(icon, {size: iconSize, className: 'spectrum-Tabs-item-icon'})}
- {(label || (renderChildren && children)) && {label || (renderChildren && children)} }
-
- );
- }
-}
diff --git a/src/TabList/js/TabLine.js b/src/TabList/js/TabLine.js
deleted file mode 100644
index 2ed4abcd813..00000000000
--- a/src/TabList/js/TabLine.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-
-export default function TabLine({orientation, selectedTab}) {
- // Ideally this would be a DNA variable, but vertical tabs aren't even in DNA, soo...
- let verticalSelectionIndicatorOffset = 12;
-
- const style = {
- transform: orientation === 'vertical'
- ? `translateY(${selectedTab.offsetTop + verticalSelectionIndicatorOffset / 2}px)`
- : `translateX(${selectedTab.offsetLeft}px) `
- };
-
- if (orientation === 'horizontal') {
- style.width = `${selectedTab.offsetWidth}px`;
- } else {
- style.height = `${selectedTab.offsetHeight - verticalSelectionIndicatorOffset}px`;
- }
-
- return
;
-}
diff --git a/src/TabList/js/TabList.js b/src/TabList/js/TabList.js
deleted file mode 100644
index 11afd59b899..00000000000
--- a/src/TabList/js/TabList.js
+++ /dev/null
@@ -1,314 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import {getBoundingClientRect} from './getBoundingClientRect';
-import PropTypes from 'prop-types';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import TabLine from './TabLine';
-import TabListBase from './TabListBase';
-import TabListDropdown from './TabListDropdown';
-import '../style/index.styl';
-
-importSpectrumCSS('tabs');
-
-// For backward compatibility
-const VARIANTS = {
- 'panel': '',
- 'anchored': '',
- 'page': 'compact'
-};
-
-/**
- * A TabList displays a list of tabs
- */
-@autobind
-export default class TabList extends React.Component {
- static propTypes = {
- /** The visual style of the tab list */
- variant: PropTypes.oneOf(['compact', 'panel', 'anchored', '']),
-
- /** Whether the tab list should render using a quiet style */
- quiet: PropTypes.bool,
-
- /** The layout orientation of the tabs */
- orientation: PropTypes.oneOf(['horizontal', 'vertical']),
-
- /**
- * Whether selection should be 'automatic' when a Tab receives keyboard focus
- * or 'manual' using Enter or Space key to select.
- */
- keyboardActivation: PropTypes.oneOf(['automatic', 'manual']),
-
- /**
- * The index of the Tab that should be selected (open). When selectedIndex is
- * specified, the component is in a controlled state and a Tab can only be selected by changing the
- * selectedIndex prop value. By default, the first Tab will be selected.
- */
- selectedIndex: PropTypes.number,
-
- /**
- * The same as selectedIndex except that the component is in an uncontrolled
- * state.
- */
- defaultSelectedIndex: PropTypes.number,
-
- /**
- * A function that will be called when an Tab is selected or deselected. It will be passed
- * the updated selected index.
- */
- onChange: PropTypes.func,
-
- /**
- * If the parent is display flex or an explicit width is given to this component, then it can be
- * collapsible and you may set this to true.
- */
- collapsible: PropTypes.bool,
-
- /**
- * Whether to autoFocus first selected Tab or first Tab.
- */
- autoFocus: PropTypes.bool
- };
-
- static defaultProps = {
- variant: '',
- quiet: false,
- orientation: 'horizontal',
- collapsible: false,
- autoFocus: false
- };
-
- constructor(props) {
- super(props);
-
- this.debouncedResizeUpdate = null;
- }
-
- state = {
- selectedIndex: TabListBase.getDefaultSelectedIndex(this.props),
- tabArray: [],
- tooNarrow: false
- };
-
- componentWillReceiveProps(nextProps) {
- if ('selectedIndex' in nextProps) {
- this.setState({
- selectedIndex: nextProps.selectedIndex
- });
- }
- if (this.state.selectedIndex >= React.Children.toArray(nextProps.children).length) {
- this.onChange(TabListBase.getDefaultSelectedIndex(nextProps));
- }
- }
-
- componentDidMount() {
- window.addEventListener('resize', this.resizeListener);
- this.updateTabs();
- this.widthCheck();
- }
-
- componentWillUnmount() {
- window.removeEventListener('resize', this.resizeListener);
- this.clearDebouncedResizeUpdateInterval();
- }
-
- componentDidUpdate(prevProps) {
- if (prevProps.children !== this.props.children) {
- this.updateTabs();
- this.widthCheck();
- }
- }
-
- resizeListener() {
- if (!this.debouncedResizeUpdate) {
- this.debouncedResizeUpdate = setTimeout(() => {
- this.widthCheck();
- this.debouncedResizeUpdate = null;
- }, 50);
- }
- }
-
- clearDebouncedResizeUpdateInterval() {
- if (this.debouncedResizeUpdate) {
- clearTimeout(this.debouncedResizeUpdate);
- this.debouncedResizeUpdate = null;
- }
- }
-
- // will need to change to left probably if dealing with rtl
- getFurthestPoint(elem) {
- return getBoundingClientRect(elem).right;
- }
-
- widthCheck() {
- const tabList = ReactDOM.findDOMNode(this);
- // since tab array is in state, we don't necessarily have the most recent if we just use
- // state.tabArray, so get the tabs for the width check
- const tabs = ReactDOM.findDOMNode(this).querySelectorAll('.spectrum-Tabs-item');
-
- let farEdgeTabList = this.getFurthestPoint(tabList);
- let farEdgeLastTab = this.getFurthestPoint(tabs[tabs.length - 1]);
- if (farEdgeTabList < farEdgeLastTab) {
- this.setState({tooNarrow: true});
- } else {
- this.setState({tooNarrow: false});
- }
- }
-
- updateTabs() {
- // Measure the tabs so we can position the line below correctly
- const tabArray = ReactDOM.findDOMNode(this).querySelectorAll('.spectrum-Tabs-item');
- this.setState({tabArray});
- }
-
- onChange(selectedIndex) {
- let lastSelectedIndex = this.state.selectedIndex;
-
- // If selectedIndex is defined on props then this is a controlled component and we shouldn't
- // change our own state.
- if (!('selectedIndex' in this.props)) {
- this.setState({
- selectedIndex
- });
- }
- if (lastSelectedIndex !== selectedIndex && this.props.onChange) {
- this.props.onChange(selectedIndex);
- }
- }
-
- getTabList() {
- let {
- className,
- orientation = 'horizontal',
- variant = '',
- quiet,
- children,
- defaultSelectedIndex,
- collapsible,
- ...otherProps
- } = this.props;
-
- let {
- selectedIndex,
- tabArray,
- tooNarrow
- } = this.state;
-
- let selectedTab = tabArray[selectedIndex];
-
- // For backwards compatibility
- // let mappedVariant = VARIANTS[variant] !== undefined ? VARIANTS[variant] : variant;
- if (VARIANTS[variant] != null) {
- let message = `The "${variant}" variant of TabList has been deprecated.`;
- if (VARIANTS[variant]) {
- message += ` Please use the "${VARIANTS[variant]}" variant instead.`;
- } else {
- message += ' Please remove the variant prop to use the default variant instead.';
- }
-
- console.warn(message);
- variant = VARIANTS[variant];
- }
-
- let tooNarrowProps = {};
- let shouldHide = false;
- if (collapsible && tooNarrow && orientation !== 'vertical') {
- tooNarrowProps['aria-hidden'] = tooNarrow;
- shouldHide = true;
- }
-
- return (
-
- {children}
- {selectedTab &&
-
- }
-
- );
- }
-
- getDropdown() {
- let {
- quiet,
- children,
- 'aria-labelledby': ariaLabelledby,
- 'aria-label': ariaLabel
- } = this.props;
-
- let {
- selectedIndex
- } = this.state;
-
- return (
-
- {children}
-
- );
- }
-
- render() {
- let {
- collapsible,
- orientation
- } = this.props;
-
- let {
- tooNarrow
- } = this.state;
-
- if (collapsible && orientation !== 'vertical') {
- return (
-
- {this.getTabList()}
- {tooNarrow &&
- this.getDropdown()
- }
-
- );
- } else {
- return this.getTabList();
- }
- }
-}
diff --git a/src/TabList/js/TabListBase.js b/src/TabList/js/TabListBase.js
deleted file mode 100644
index c460a8bdfae..00000000000
--- a/src/TabList/js/TabListBase.js
+++ /dev/null
@@ -1,271 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import FocusManager from '../../utils/FocusManager';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-const TAB_ITEM_SELECTOR = '[role=tab]:not([aria-disabled])';
-const TAB_ITEM_SELECTED_SELECTOR = TAB_ITEM_SELECTOR + '[aria-selected=true]';
-const NAVIGATION_KEYS = ['PageUp', 'PageDown', 'Home', 'End', 'ArrowUp', 'Up', 'ArrowDown', 'Down', 'ArrowLeft', 'Left', 'ArrowRight', 'Right'];
-
-/**
- * selectedIndex: The index of the StepList that should be selected. When selectedIndex is
- * specified, the component is in a controlled state and a Step can only be selected by changing the
- * selectedIndex prop value. By default, the first Step will be selected.
- *
- * defaultSelectedIndex: The same as selectedIndex except that the component is in an uncontrolled
- * state.
- *
- * onChange: A function that will be called when an Step is selected or deselected.
- * It will be passed the updated selected index.
- *
- * childMappingFunction: allows you to map additional properties for each tab child
- * @private
- */
-@focusRing
-@autobind
-export default class TabListBase extends Component {
- state = {
- selectedIndex: TabListBase.getDefaultSelectedIndex(this.props)
- };
-
- static getDefaultSelectedIndex(props) {
- if (props.selectedIndex != null) {
- return props.selectedIndex;
- }
-
- if (props.defaultSelectedIndex != null) {
- return props.defaultSelectedIndex;
- }
-
- let firstSelected = React.Children.toArray(props.children).findIndex(c => c && c.props.selected);
- if (firstSelected !== -1) {
- return firstSelected;
- }
-
- return 0;
- }
-
- componentWillReceiveProps(nextProps) {
- if ('selectedIndex' in nextProps) {
- this.setState({
- selectedIndex: nextProps.selectedIndex
- });
- }
- }
-
- onClickItem(selectedIndex, e) {
- this.setSelectedIndex(selectedIndex, e);
- }
-
- onFocus(selectedIndex, e) {
- if (this.props.keyboardActivation === 'automatic' && this.isNavigationKeyDown && !this.isMouseDown) {
- this.setSelectedIndex(selectedIndex, e);
- }
- }
-
- onMouseDown(e) {
- this.isMouseDown = true;
- window.addEventListener('mouseup', this.onMouseUp);
-
- // ensure Tab receives keyboard focus in Safari
- e.currentTarget.focus();
- }
-
- onMouseUp() {
- this.isMouseDown = false;
- window.removeEventListener('mouseup', this.onMouseUp);
- }
-
- onKeyDown(selectedIndex, e) {
- switch (e.key) {
- case 'Enter':
- case ' ':
- e.preventDefault();
- this.onClickItem(selectedIndex, e);
- break;
- default:
- this.isNavigationKeyDown = NAVIGATION_KEYS.indexOf(e.key) !== -1;
- }
- }
-
- onKeyUp() {
- this.isNavigationKeyDown = false;
- }
-
- setSelectedIndex(selectedIndex, e) {
- const lastSelectedIndex = this.state.selectedIndex;
-
- // If selectedIndex is defined on props then this is a controlled component and we shouldn't
- // change our own state.
- if (!('selectedIndex' in this.props)) {
- this.setState({
- selectedIndex
- });
- }
-
- if (lastSelectedIndex !== selectedIndex) {
- this.props.onChange(selectedIndex, e);
- }
- }
-
- getChildProps(child, index) {
- const selectedIndex = this.state.selectedIndex;
- const selected = +selectedIndex === index;
- const disabled = this.props.disabled ? true : child.props.disabled;
-
- return {
- ...this.getMappedChildProps(child, index),
- selected,
- disabled,
- tabIndex: (selected ? 0 : -1),
- onClick: this.getChildOnClick(child, index),
- onFocus: this.getChildOnFocus(child, index),
- onMouseDown: this.getChildOnMouseDown(child, index),
- onKeyDown: this.getChildOnKeyDown(child, index),
- onKeyUp: this.getChildOnKeyUp(child, index)
- };
- }
-
- getMappedChildProps(child, index) {
- const {childMappingFunction} = this.props;
- if (!childMappingFunction) { return {}; }
- return childMappingFunction(this, child, index);
- }
-
- getChildOnClick(child, index) {
- if (this.props.disabled) { return null; }
- const tabListOnClick = this.onClickItem.bind(this, index);
- return (e) => {
- if (child.props.onClick) {
- child.props.onClick(index, e);
- }
- tabListOnClick(e);
- };
- }
-
- getChildOnFocus(child, index) {
- if (this.props.disabled) {
- return null;
- }
- return (e) => {
- if (child.props.onFocus) {
- child.props.onFocus(index, e);
- }
- this.onFocus(index, e);
- };
- }
-
- getChildOnMouseDown(child, index) {
- if (this.props.disabled) {
- return null;
- }
- return (e) => {
- if (child.props.onMouseDown) {
- child.props.onMouseDown(e, index);
- }
- this.onMouseDown(e);
- };
- }
-
- getChildOnKeyDown(child, index) {
- if (this.props.disabled) {
- return null;
- }
- return (e) => {
- if (child.props.onKeyDown) {
- child.props.onKeyDown(e, index);
- }
- this.onKeyDown(index, e);
- };
- }
-
- getChildOnKeyUp(child, index) {
- if (this.props.disabled) {
- return null;
- }
- return (e) => {
- if (child.props.onKeyUp) {
- child.props.onKeyUp(e, index);
- }
- this.onKeyUp(index, e);
- };
- }
-
- getItems() {
- const {children} = this.props;
- return React.Children.toArray(children).map((child, index) =>
- child ? React.cloneElement(child, this.getChildProps(child, index)) : null
- );
- }
-
- cleanProps() { // todo filterdomprops?
- const {...otherProps} = this.props;
- delete otherProps.autoFocus;
- delete otherProps.defaultSelectedIndex;
- delete otherProps.selectedIndex;
-
- // We don't need/want to add onChange to the div because we call it manually when we hear that
- // a tab has been clicked. If we were to add the handler to the div, it would be
- // called every time any input inside a tab is changed.
- delete otherProps.onChange;
- delete otherProps.disabled;
- delete otherProps.childMappingFunction;
- delete otherProps.keyboardActivation;
-
- // div element should have aria-orientation rather than orientation
- otherProps['aria-orientation'] = otherProps.orientation;
- delete otherProps.orientation;
-
- return otherProps;
- }
-
- render() {
- return (
-
-
- {this.getItems()}
-
-
- );
- }
-}
-
-TabListBase.propTypes = {
- autoFocus: PropTypes.bool,
- defaultSelectedIndex: PropTypes.number,
- disabled: PropTypes.bool,
- orientation: PropTypes.oneOf(['horizontal', 'vertical']),
- keyboardActivation: PropTypes.oneOf(['automatic', 'manual']),
- onChange() {}
-};
-
-TabListBase.defaultProps = {
- autoFocus: false,
- defaultSelectedIndex: 0,
- disabled: false,
- orientation: 'horizontal',
- keyboardActivation: 'automatic',
- onChange() {}
-};
-
-TabListBase.displayName = 'TabListBase';
diff --git a/src/TabList/js/TabListDropdown.js b/src/TabList/js/TabListDropdown.js
deleted file mode 100644
index f5faf1aa5d3..00000000000
--- a/src/TabList/js/TabListDropdown.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import Select from '../../Select';
-import TabLine from './TabLine';
-import '../style/index.styl';
-
-@autobind
-export default class TabListDropdown extends React.Component {
- state = {
- selectNode: undefined,
- selectedIndex: undefined
- };
-
- setSelectRef(s) {
- this.selectRef = s;
- }
-
- // It's useful to have the TabListDropdown be a separate component because the tabline needs a dom node
- // to do its calculations, we can guarantee that in componentDidMount whereas if we move this up
- // a component, it's conditionally rendered and we would need to use componentDidUpdate instead
- // with conditional logic.
- // By storing through setState, we can cause a render.
- componentDidMount() {
- this.setState({selectNode: ReactDOM.findDOMNode(this.selectRef)});
- }
-
- componentDidUpdate(prevProps) {
- // this is purely so that the Tabline re-renders whenever the selection changes
- // quiet Selects change width depending on what has been selected
- // we don't want an infinite loop, so if the index matches, don't set it
- if (prevProps.selectedIndex !== this.props.selectedIndex) {
- // eslint-disable-next-line react/no-did-update-set-state
- this.setState({selectedIndex: this.props.selectedIndex});
- }
- }
-
- onChange(selectedIndex) {
- this.props.onChange(Number(selectedIndex));
- }
-
- childrenToOptions() {
- const options = React.Children.toArray(this.props.children).map((child, i) => {
- let option = {};
- option.label = child.props.label || child.props.children;
- // value maps to the tab index, but has to be a string to be a valid select value
- option.value = i.toString();
-
- if (child.props.disabled) {
- option.disabled = true;
- }
-
- if (child.props.icon !== undefined) {
- option.icon = child.props.icon;
- }
- return option;
- });
-
- return options;
- }
-
- render() {
- let {
- className,
- selectedIndex,
- 'aria-labelledby': ariaLabelledby,
- 'aria-label': ariaLabel
- } = this.props;
-
- return (
-
-
- {this.state.selectNode &&
-
- }
-
- );
- }
-}
diff --git a/src/TabList/js/getBoundingClientRect.js b/src/TabList/js/getBoundingClientRect.js
deleted file mode 100644
index 1879efc806b..00000000000
--- a/src/TabList/js/getBoundingClientRect.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-
-/* this is purely so that we can mock before instantiating */
-export function getBoundingClientRect(elem) {
- return elem.getBoundingClientRect();
-}
diff --git a/src/TabList/style/index.styl b/src/TabList/style/index.styl
deleted file mode 100644
index 6dac880d340..00000000000
--- a/src/TabList/style/index.styl
+++ /dev/null
@@ -1,94 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.react-spectrum-Tabs--collapsible {
- display: flex;
- flex-grow: 1;
- flex-shrink: 0;
- flex-basis: 0%;
- overflow: hidden;
- position: relative;
-}
-
-.react-spectrum-Tabs--container {
- flex-grow: 1;
- flex-shrink: 0;
- flex-basis: 0%;
- &.react-spectrum-Tabs--hidden {
- visibility: hidden;
- }
-}
-
-.spectrum-Tabs{
- &.react-spectrum-Tabs--dropdown {
- height: calc(100% - 2px);
- left: 0;
- position: absolute;
- transform: translateY(-50%);
- top: 50%;
- width: 100%;
-
- .spectrum-FieldButton {
- padding: 0 4px;
- }
-
- .focus-ring {
- border-radius: 2px;
- }
- }
-}
-
-// spectrum-css PR https://github.com/adobe/spectrum-css/pull/188 and issue https://github.com/adobe/spectrum-css/issues/187
-.spectrum--light {
- .spectrum-Tabs{
- &.react-spectrum-Tabs--dropdown {
- .focus-ring {
- box-shadow: 0 0 0 2px rgb(38, 128, 235);
- }
- }
- }
-}
-
-.spectrum--lightest {
- .spectrum-Tabs{
- &.react-spectrum-Tabs--dropdown {
- .focus-ring {
- box-shadow: 0 0 0 2px rgb(55, 142, 240);
- }
- }
- }
-}
-
-.spectrum--dark {
- .spectrum-Tabs{
- &.react-spectrum-Tabs--dropdown {
- .focus-ring {
- box-shadow: 0 0 0 2px rgb(38, 128, 235);
- }
- }
- }
-}
-
-.spectrum--darkest {
- .spectrum-Tabs{
- &.react-spectrum-Tabs--dropdown {
- .focus-ring {
- box-shadow: 0 0 0 2px rgb(20, 115, 230);
- }
- }
- }
-}
diff --git a/src/TabView/index.js b/src/TabView/index.js
deleted file mode 100644
index a4ccc28bf61..00000000000
--- a/src/TabView/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as TabView} from './js/TabView';
-export {default as Tab} from '../TabList/js/Tab';
diff --git a/src/TabView/js/TabView.js b/src/TabView/js/TabView.js
deleted file mode 100644
index d5ccfb765a3..00000000000
--- a/src/TabView/js/TabView.js
+++ /dev/null
@@ -1,132 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {arraysEqual} from '../../utils/array';
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import PropTypes from 'prop-types';
-import React from 'react';
-import {TabList} from '../../TabList';
-import TabListBase from '../../TabList/js/TabListBase';
-import '../style/index.styl';
-
-@autobind
-export default class TabView extends React.Component {
- static propTypes = {
- /** Class to add to the tab view */
- className: PropTypes.string,
-
- /** Id for tab view */
- id: PropTypes.string,
-
- /** Function called when a tab is selected */
- onSelect: PropTypes.func,
-
- /** Tab orientation */
- orientation: PropTypes.oneOf(['vertical', 'horizontal']),
-
- /**
- * The index of the Tab that should be selected (open). When selectedIndex is
- * specified, the component is in a controlled state and a Tab can only be selected by changing the
- * selectedIndex prop value. By default, the first Tab will be selected.
- */
- selectedIndex: PropTypes.number,
-
- /**
- * The same as selectedIndex except that the component is in an uncontrolled state.
- */
- defaultSelectedIndex: PropTypes.number
- };
-
- static defaultProps = {
- id: createId(),
- orientation: 'horizontal'
- };
-
- constructor(props) {
- super(props);
- this.tabViewId = createId();
- this.state = {
- selectedIndex: TabListBase.getDefaultSelectedIndex(props)
- };
- }
-
- componentWillReceiveProps(props) {
- // Reset selected index when children change
- let oldChildren = React.Children.toArray(this.props.children).map(child => child.key);
- let newChildren = React.Children.toArray(props.children).map(child => child.key);
-
- if (props.selectedIndex !== this.props.selectedIndex || !arraysEqual(oldChildren, newChildren)) {
- this.setState({
- selectedIndex: props.selectedIndex || 0
- });
- }
- }
-
- onChange(selectedIndex) {
- if (this.props.selectedIndex == null) {
- this.setState({selectedIndex});
- }
-
- if (this.props.onSelect) {
- this.props.onSelect(selectedIndex);
- }
- }
-
- render() {
- let {
- className,
- id = this.tabViewId,
- orientation,
- ...props
- } = this.props;
-
- const tabId = id + '-tab';
- const tabPanelId = id + '-tabpanel';
-
- let children = React.Children.map(this.props.children, (c, i) =>
- typeof c === 'object' && c ? React.cloneElement(c, {
- 'aria-controls': tabPanelId,
- id: tabId + '-' + i,
- renderChildren: false
- }) : c
- );
-
- // Clone children so that they get componentWillReceiveProps when clicking on the same tab
- let selected = children[this.state.selectedIndex];
- let body = React.Children.map(selected.props.children, c =>
- typeof c === 'object' && c ? React.cloneElement(c) : c
- );
-
- return (
-
-
- {children}
-
-
- {body}
-
-
- );
- }
-}
diff --git a/src/TabView/style/index.styl b/src/TabView/style/index.styl
deleted file mode 100644
index cc962d3408e..00000000000
--- a/src/TabView/style/index.styl
+++ /dev/null
@@ -1,34 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.react-spectrum-TabView {
- display: flex;
- flex-direction: column;
-
- .react-spectrum-TabView-body {
- position: relative;
- padding: 15px 8px;
- flex: 1;
- }
-
- &.react-spectrum-TabView--vertical {
- flex-direction: row;
- .react-spectrum-TabView-body {
- padding: 4px 15px;
- }
- }
-}
diff --git a/src/Table/index.js b/src/Table/index.js
deleted file mode 100644
index 72b13853b1f..00000000000
--- a/src/Table/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Table} from './js/Table';
-export {default as THead} from './js/THead';
-export {default as TBody} from './js/TBody';
-export {default as TR} from './js/TR';
-export {default as TD} from './js/TD';
-export {default as TH} from './js/TH';
diff --git a/src/Table/js/TBody.js b/src/Table/js/TBody.js
deleted file mode 100644
index b58de67ade5..00000000000
--- a/src/Table/js/TBody.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import React from 'react';
-
-/**
- * A table body
- */
-export default function TBody({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-TBody.displayName = 'TBody';
diff --git a/src/Table/js/TD.js b/src/Table/js/TD.js
deleted file mode 100644
index 1d36c61f2a7..00000000000
--- a/src/Table/js/TD.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-/**
- * A table cell
- */
-export default function TD({
- className,
- children,
- divider,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-TD.displayName = 'TD';
-TD.propTypes = {
- /** Whether or not to display a vertical dividing line to the right of the cell. */
- isDivider: PropTypes.bool
-};
diff --git a/src/Table/js/TH.js b/src/Table/js/TH.js
deleted file mode 100644
index defb23f9a35..00000000000
--- a/src/Table/js/TH.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import React from 'react';
-
-/**
- * A table column header
- */
-export default function TH({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-TH.displayName = 'TH';
diff --git a/src/Table/js/THead.js b/src/Table/js/THead.js
deleted file mode 100644
index 5c0341330ca..00000000000
--- a/src/Table/js/THead.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import React from 'react';
-
-/**
- * A table header row
- */
-export default function THead({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-THead.displayName = 'THead';
diff --git a/src/Table/js/TR.js b/src/Table/js/TR.js
deleted file mode 100644
index c029003c854..00000000000
--- a/src/Table/js/TR.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import React from 'react';
-
-/**
- * A table row
- */
-export default function TR({
- className,
- children,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-TR.displayName = 'TR';
diff --git a/src/Table/js/Table.js b/src/Table/js/Table.js
deleted file mode 100644
index 290d0c82216..00000000000
--- a/src/Table/js/Table.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('table');
-
-/**
- * A table
- */
-export default function Table({
- quiet,
- className,
- children,
- ...otherProps
-}) {
- return (
-
- );
-}
-
-Table.displayName = 'Table';
-Table.propTypes = {
- /** Items to display in the Table. Use Tbody, TD, TH, THead, TR, or other elements permitted in a table. */
- children: PropTypes.node,
-
- /** Whether or not the table should be rendered using a quiet variant. */
- quiet: PropTypes.bool
-};
diff --git a/src/TableView/index.js b/src/TableView/index.js
deleted file mode 100644
index 16af5e92980..00000000000
--- a/src/TableView/index.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as TableView} from './js/TableView';
-export {default as TableViewDataSource} from './js/TableViewDataSource';
-
diff --git a/src/TableView/intl/cs-CZ.json b/src/TableView/intl/cs-CZ.json
deleted file mode 100644
index 29d42cdbba9..00000000000
--- a/src/TableView/intl/cs-CZ.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Vybrat",
- "Select All": "Vybrat vše"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/da-DK.json b/src/TableView/intl/da-DK.json
deleted file mode 100644
index 724b2094764..00000000000
--- a/src/TableView/intl/da-DK.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Vælg",
- "Select All": "Vælg alle"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/de-DE.json b/src/TableView/intl/de-DE.json
deleted file mode 100644
index 9931955c95e..00000000000
--- a/src/TableView/intl/de-DE.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Auswählen",
- "Select All": "Alles auswählen"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/en-US.json b/src/TableView/intl/en-US.json
deleted file mode 100644
index e1f2fc1faa4..00000000000
--- a/src/TableView/intl/en-US.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Select",
- "Select All": "Select All"
-}
diff --git a/src/TableView/intl/es-ES.json b/src/TableView/intl/es-ES.json
deleted file mode 100644
index 8c29587348a..00000000000
--- a/src/TableView/intl/es-ES.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Seleccionar",
- "Select All": "Seleccionar todos"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/fi-FI.json b/src/TableView/intl/fi-FI.json
deleted file mode 100644
index 6e8431bba88..00000000000
--- a/src/TableView/intl/fi-FI.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Valitse",
- "Select All": "Valitse kaikki"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/fr-FR.json b/src/TableView/intl/fr-FR.json
deleted file mode 100644
index 37f47d15612..00000000000
--- a/src/TableView/intl/fr-FR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Sélectionner",
- "Select All": "Sélectionner tout"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/hu-HU.json b/src/TableView/intl/hu-HU.json
deleted file mode 100644
index 34da40f97bd..00000000000
--- a/src/TableView/intl/hu-HU.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Kijelölés",
- "Select All": "Összes kijelölése"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/it-IT.json b/src/TableView/intl/it-IT.json
deleted file mode 100644
index 8049384b7a6..00000000000
--- a/src/TableView/intl/it-IT.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Seleziona",
- "Select All": "Seleziona tutto"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/ja-JP.json b/src/TableView/intl/ja-JP.json
deleted file mode 100644
index b72afe5a970..00000000000
--- a/src/TableView/intl/ja-JP.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "選択",
- "Select All": "すべてを選択"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/ko-KR.json b/src/TableView/intl/ko-KR.json
deleted file mode 100644
index 8c96e918b8f..00000000000
--- a/src/TableView/intl/ko-KR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "선택",
- "Select All": "모두 선택"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/nb-NO.json b/src/TableView/intl/nb-NO.json
deleted file mode 100644
index e891c81a604..00000000000
--- a/src/TableView/intl/nb-NO.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Velg",
- "Select All": "Velg alle"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/nl-NL.json b/src/TableView/intl/nl-NL.json
deleted file mode 100644
index 42bb1161165..00000000000
--- a/src/TableView/intl/nl-NL.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Selecteren",
- "Select All": "Alles selecteren"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/pl-PL.json b/src/TableView/intl/pl-PL.json
deleted file mode 100644
index b1b24f74911..00000000000
--- a/src/TableView/intl/pl-PL.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Zaznacz",
- "Select All": "Zaznacz wszystko"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/pt-BR.json b/src/TableView/intl/pt-BR.json
deleted file mode 100644
index 5863366f8e2..00000000000
--- a/src/TableView/intl/pt-BR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Selecionar",
- "Select All": "Selecionar tudo"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/ru-RU.json b/src/TableView/intl/ru-RU.json
deleted file mode 100644
index bd2135efd78..00000000000
--- a/src/TableView/intl/ru-RU.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Выбрать",
- "Select All": "Выбрать все"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/sv-SE.json b/src/TableView/intl/sv-SE.json
deleted file mode 100644
index 563485f4766..00000000000
--- a/src/TableView/intl/sv-SE.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Markera",
- "Select All": "Markera allt"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/tr-TR.json b/src/TableView/intl/tr-TR.json
deleted file mode 100644
index 86ba3a4b841..00000000000
--- a/src/TableView/intl/tr-TR.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Seç",
- "Select All": "Tümünü Seç"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/uk-UA.json b/src/TableView/intl/uk-UA.json
deleted file mode 100644
index d34f777db3a..00000000000
--- a/src/TableView/intl/uk-UA.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "Вибрати",
- "Select All": "Вибрати все"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/zh-CN.json b/src/TableView/intl/zh-CN.json
deleted file mode 100644
index 7979f847c55..00000000000
--- a/src/TableView/intl/zh-CN.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "选择",
- "Select All": "全选"
-}
\ No newline at end of file
diff --git a/src/TableView/intl/zh-TW.json b/src/TableView/intl/zh-TW.json
deleted file mode 100644
index fb02b22f245..00000000000
--- a/src/TableView/intl/zh-TW.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "Select": "選取",
- "Select All": "全選"
-}
\ No newline at end of file
diff --git a/src/TableView/js/TableCell.js b/src/TableView/js/TableCell.js
deleted file mode 100644
index 24b4c376185..00000000000
--- a/src/TableView/js/TableCell.js
+++ /dev/null
@@ -1,166 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import ArrowDownSmall from '../../Icon/core/ArrowDownSmall';
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import {FOCUSABLE_ELEMENT_SELECTOR} from '../../utils/FocusManager';
-import focusRing from '../../utils/focusRing';
-import React from 'react';
-import ReactDOM from 'react-dom';
-
-@focusRing
-@autobind
-export default class TableCell extends React.Component {
- state = {
- focused: false,
- childFocused: false
- };
-
- constructor(props) {
- super(props);
- this.cellId = createId();
- }
-
- getCellStyle(column) {
- let style = {
- width: column.width,
- minWidth: column.minWidth,
- maxWidth: column.maxWidth
- };
-
- if (column.width) {
- style.flexShrink = 0;
- } else {
- style.flexGrow = 1;
- style.flexBasis = 0;
- }
-
- return style;
- }
-
- onKeyPress(e) {
- if (e.key === 'Enter' || e.key === ' ') {
- if (this.props.onClick) {
- e.preventDefault();
- this.props.onClick(e);
- }
- }
- }
-
- onFocus(e) {
- const cellNode = ReactDOM.findDOMNode(this);
- const childFocused = cellNode !== e.target;
- this.setState({childFocused});
-
- if (!childFocused) {
- // If a child can receive focus, marshall focus to the focusable descendant
- const focusable = cellNode.querySelector(FOCUSABLE_ELEMENT_SELECTOR);
- if (focusable && focusable !== e.relatedTarget) {
- e.stopPropagation();
- e.preventDefault();
- // prevent extra focus events from propagating focusing child
- e.nativeEvent.stopImmediatePropagation();
- focusable.focus();
- return;
- }
- }
-
- if (this.props.onFocus) {
- this.props.onFocus(e);
- }
- }
-
- onBlur(e) {
- const cellNode = ReactDOM.findDOMNode(this);
- if (cellNode !== e.target && !cellNode.contains(document.activeElement)) {
- this.setState({childFocused: false});
- }
- }
-
- render() {
- let {
- column,
- id = this.cellId,
- isHeaderRow,
- sortDir,
- onClick,
- onDoubleClick,
- className,
- children,
- allowsMultipleSelection,
- tabIndex,
- rowFocused
- } = this.props;
- let isSortable = isHeaderRow && column && column.sortable;
- className = classNames(className, {
- 'spectrum-Table-headCell': isHeaderRow,
- 'spectrum-Table-cell': !isHeaderRow,
- 'react-spectrum-Table-cell': !isHeaderRow,
- 'is-sortable': isSortable,
- 'is-sorted-desc': isHeaderRow && sortDir === 1,
- 'is-sorted-asc': isHeaderRow && sortDir === -1,
- 'spectrum-Table-cell--divider': !isHeaderRow && column && column.divider,
- 'spectrum-Table-cell--alignCenter': column && column.align === 'center',
- 'spectrum-Table-cell--alignRight': column && column.align === 'right'
- });
-
- let ariaSort = null;
- if (isSortable) {
- switch (sortDir) {
- case 1:
- ariaSort = 'descending';
- break;
- case -1:
- ariaSort = 'ascending';
- break;
- default:
- ariaSort = 'none';
- }
- }
-
- if (isSortable) {
- tabIndex = rowFocused || !allowsMultipleSelection ? 0 : -1;
- } else if (tabIndex !== null) {
- tabIndex = this.state.childFocused ? null : -1;
- }
-
- return (
- // eslint-disable-next-line jsx-a11y/no-static-element-interactions
-
- {children}
- {isSortable &&
-
- }
-
- );
- }
-}
diff --git a/src/TableView/js/TableRow.js b/src/TableView/js/TableRow.js
deleted file mode 100644
index 902040dbde5..00000000000
--- a/src/TableView/js/TableRow.js
+++ /dev/null
@@ -1,386 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Checkbox from '../../Checkbox';
-import classNames from 'classnames';
-import closest from 'dom-helpers/query/closest';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import FocusManager, {FOCUSABLE_ELEMENT_SELECTOR} from '../../utils/FocusManager';
-import focusRing from '../../utils/focusRing';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import React from 'react';
-import TableCell from './TableCell';
-
-const formatMessage = messageFormatter(intlMessages);
-const CELL_SELECTOR = '[role="gridcell"],[role="columnheader"],[role="rowheader"]';
-
-@focusRing
-@autobind
-export default class TableRow extends React.Component {
- state = {
- focused: false
- };
-
- constructor(props) {
- super(props);
- this.rowId = createId();
- }
-
- componentWillReceiveProps(nextProps) {
- if ('focused' in nextProps) {
- this.setState({
- focused: nextProps.focused
- });
- }
- }
-
- /**
- * Sets focus to the table row DOM element or appropriate column.
- */
- focus() {
- if (this.row) {
- const {tableView, isHeaderRow} = this.props;
-
- // tableView keeps track of the focusedColumnIndex when a cell receive focus
- if (tableView) {
- // if a focusedColumnIndex is defined, try to set focus to the appropriate cell.
- if (tableView.focusedColumnIndex !== null) {
- this.row.children[tableView.focusedColumnIndex].focus();
- }
-
- }
-
- // If no child of row receives focus:
- // - focus the first focusable descendant of the header row
- // - or focus the row itself.
- if (this.row.contains && !this.row.contains(document.activeElement)) {
- let focusable = isHeaderRow ? this.row.querySelector(FOCUSABLE_ELEMENT_SELECTOR) : this.row;
- if (focusable) {
- focusable.focus();
- }
- }
- }
- }
-
- onCellClick(column, isDoubleClick, e) {
- let rowIndex = null;
-
- if (this.props.collectionView) {
- let indexPath = this.props.collectionView.indexPathForComponent(this);
- rowIndex = indexPath && indexPath.index;
- }
-
- if (!isDoubleClick && this.props.onCellClick) {
- this.props.onCellClick(column, rowIndex);
- }
-
- if (isDoubleClick && this.props.onCellDoubleClick) {
- this.props.onCellDoubleClick(column, rowIndex);
- }
-
- if (e && e.target.tabIndex === -1) {
- this.focus();
- }
- }
-
- /**
- * Handle click event on checkbox to toggle selection of row using keyboard.
- * @param {MouseEvent} e Click event
- */
- onCheckboxClick(e) {
- // force selection of item in the selection view
- const {collectionView, isHeaderRow} = this.props;
-
- if (collectionView && !isHeaderRow) {
- let indexPath = collectionView.indexPathForComponent(this);
-
- collectionView.selectItem(indexPath, true, e.shiftKey, true);
- }
- }
-
- onMouseDown(event) {
- // Stop propagation on mouse down if the target is a focusable child of a cell within the row.
- // Otherwise, collection-view will try to focus the row instead.
- if (event.target.matches(FOCUSABLE_ELEMENT_SELECTOR) &&
- event.target !== this.row &&
- !event.target.matches(CELL_SELECTOR)) {
- event.stopPropagation();
- }
- }
-
- /**
- * Handle key down event on a row, to navigate between focusable descendant
- * elements using the left or right arrow keys, or to navigate between the
- * header row and the body using the down or up arrow keys.
- * @param {KeyboardEvent} event A keydown event
- */
- onKeyDown(event) {
- const {
- tableView,
- collectionView = (tableView ? tableView.collection : null),
- isHeaderRow,
- onSelectChange,
- onCellFocus
- } = this.props;
- let {key} = event;
- let focusable = null;
-
- switch (key) {
- case 'Tab':
- if (onCellFocus) {
- onCellFocus(null);
- }
- break;
- case 'ArrowUp':
- case 'Up':
- if (!isHeaderRow && collectionView) {
- let indexPath = collectionView.indexPathForComponent(this);
- if (indexPath && indexPath.section === 0 && indexPath.index === 0) {
- if (tableView && tableView.headerRowRef) {
- // try to focus appropriate focusedColumnIndex in the header row
- tableView.headerRowRef.focus();
- }
- }
- }
- break;
- case 'ArrowDown':
- case 'Down':
- if (isHeaderRow) {
- if (onCellFocus && closest(event.target, '.spectrum-Table-checkboxCell')) {
- onCellFocus(null);
- }
- if (collectionView) {
- focusable = collectionView.getDOMNode().querySelector(FOCUSABLE_ELEMENT_SELECTOR);
- }
- } else if (collectionView) {
- let indexPath = collectionView.indexPathForComponent(this);
- if (indexPath && indexPath.section === 0 && indexPath.index === collectionView.getSectionLength(0) - 1) {
- event.preventDefault();
- event.stopPropagation();
- }
- }
- break;
- case 'a':
- if (isHeaderRow && (event.metaKey || event.ctrlKey) && onSelectChange) {
- onSelectChange(true);
- event.preventDefault();
- event.stopPropagation();
- }
- break;
- case 'Escape':
- case 'Esc':
- if (onSelectChange) {
- onSelectChange(false);
- }
- break;
- case 'Enter':
- case ' ':
- // Stop propagation on enter and space keys if the target is a focusable child of a cell within the row.
- // Otherwise, collection-view will try to focus the row instead.
- if (event.target.matches(FOCUSABLE_ELEMENT_SELECTOR) &&
- event.target !== this.row &&
- !event.target.matches(CELL_SELECTOR)) {
- event.stopPropagation();
- }
- break;
- }
-
- if (focusable) {
- event.preventDefault();
- event.stopPropagation();
- focusable.focus();
- }
- }
-
- /**
- * Handles focus event on row, setting focused state and refreshing visible items in the collection.
- * @param {FocusEvent} event A focus event
- */
- onFocus(e) {
- this.setState({focused: true});
-
- if (e && e.target === this.row) {
- if (!this.row.contains(e.relatedTarget)) {
- // If row itself is receiving focus, call focus method to see if focus is being marshalled to a focused column
- this.focus();
- if (this.props.onFocus) {
- this.props.onFocus(e);
- }
- } else if (this.props.onCellFocus) {
- this.props.onCellFocus(null);
- }
- }
- }
-
- /**
- * Handles blur event on row, setting focused state and refreshing visible items in the collection.
- */
- onBlur() {
- this.setState({focused: false});
- }
-
- /**
- * Handles focus event on cell
- * @param {Number} columnIndex Index of column receiving keyboard focus
- */
- onCellFocus(columnIndex, e) {
- if (this.props.onCellFocus) {
- this.props.onCellFocus(columnIndex, e);
- }
- }
-
- getAriaLabelledby() {
- let {
- columns,
- isHeaderRow,
- allowsSelection,
- id = this.rowId,
- tableId
- } = this.props;
- let ariaLabelledby = null;
-
- if (isHeaderRow && tableId) {
- id = [tableId, 0].join('-');
- }
-
- ariaLabelledby = columns.map((column, i) => {
- if (allowsSelection) {
- i += 1;
- }
- if (column.announce !== false) {
- return [[tableId, 0, i].join('-'), [id, i].join('-')].join(' ');
- }
- }).join(' ');
-
- return !isHeaderRow ? ariaLabelledby : null;
- }
-
- render() {
- let {
- columns,
- renderCell,
- selected = false,
- focused = false,
- isHeaderRow,
- allowsSelection,
- onSelectChange,
- id = this.rowId,
- tableId,
- layoutInfo = {},
- collectionView,
- allowsMultipleSelection,
- ...otherProps
- } = this.props;
- let {
- index
- } = layoutInfo;
- let className = classNames('react-spectrum-TableView-row', {
- 'spectrum-Table-head': isHeaderRow,
- 'spectrum-Table-row': !isHeaderRow,
- 'is-selected': selected,
- 'is-focused': focused && this.state.focused,
- 'is-drop-target': this.props['drop-target']
- });
- let ariaRowIndex = null;
- let tabIndex = null;
- let indeterminate = null;
-
- if (isHeaderRow && tableId) {
- id = [tableId, 0].join('-');
- }
-
- if (collectionView) {
- if (!isHeaderRow) {
- ariaRowIndex = index;
- if (ariaRowIndex !== null) {
- ariaRowIndex += 2;
- }
-
- // determine appropriate tabIndex for row depending on whether it is focused.
- tabIndex = focused || !collectionView.focusedIndexPath ? 0 : -1;
- } else {
- indeterminate = !selected && collectionView.selectedIndexPaths.length > 0;
- }
- }
-
- delete otherProps.onFocus;
-
- const checkboxCellClassNames = classNames(
- 'spectrum-Table-checkboxCell',
- 'react-spectrum-TableView-checkboxCell'
- );
-
- return (
-
- this.row = row}
- id={id}
- role="row"
- tabIndex={tabIndex}
- aria-selected={allowsSelection ? selected : null}
- aria-rowindex={isHeaderRow ? 1 : ariaRowIndex}
- aria-labelledby={this.getAriaLabelledby()}
- onFocus={this.onFocus}
- onBlur={this.onBlur}
- onKeyDown={this.onKeyDown}
- onMouseDown={this.onMouseDown}
- {...filterDOMProps(otherProps)}>
- {allowsSelection &&
-
- e.stopPropagation()}
- id={[id, 0, 'checkbox'].join('-')}
- tabIndex={isHeaderRow || focused ? 0 : -1}
- aria-label={isHeaderRow ? formatMessage('Select All') : formatMessage('Select')}
- aria-labelledby={!isHeaderRow ? [id, 0, 'checkbox'].join('-') + ' ' + this.getAriaLabelledby() : null}
- title={isHeaderRow ? formatMessage('Select All') : formatMessage('Select')}
- style={(isHeaderRow && !allowsMultipleSelection) ? {visibility: 'hidden'} : null} />
-
- }
- {columns.map((column, i) => React.cloneElement(
- renderCell(column, i, focused),
- {
- key: i,
- id: [id, (allowsSelection ? (i + 1) : i)].join('-'),
- 'aria-colindex': (allowsSelection ? (i + 2) : (i + 1)),
- onClick: this.onCellClick.bind(this, column, false),
- onDoubleClick: this.onCellClick.bind(this, column, true),
- onFocus: this.onCellFocus.bind(this, (allowsSelection ? (i + 1) : i)),
- rowFocused: focused
- }))}
-
-
- );
- }
-}
diff --git a/src/TableView/js/TableView.js b/src/TableView/js/TableView.js
deleted file mode 100644
index bdc97bf85d9..00000000000
--- a/src/TableView/js/TableView.js
+++ /dev/null
@@ -1,379 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import CollectionView, {RowWrapper} from '../../utils/CollectionView';
-import createId from '../../utils/createId';
-import {IndexPath, IndexPathSet} from '@react/collection-view';
-import ListDataSource from '../../ListDataSource';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import TableCell from './TableCell';
-import TableRow from './TableRow';
-import TableViewDataSource from './TableViewDataSource';
-import TableViewLayout from './TableViewLayout';
-import '../style/index.styl';
-
-importSpectrumCSS('table');
-importSpectrumCSS('dropindicator');
-
-const columnShape = PropTypes.shape({
- title: PropTypes.string.isRequired,
- sortable: PropTypes.bool,
- width: PropTypes.number,
- minWidth: PropTypes.number,
- maxWidth: PropTypes.number,
- // resizable: PropTypes.bool,
- divider: PropTypes.bool,
- align: PropTypes.oneOf(['left', 'center', 'right'])
-});
-
-const sortDescriptorShape = PropTypes.shape({
- column: columnShape.isRequired,
- direction: PropTypes.oneOf([-1, 1]).isRequired
-});
-
-@autobind
-export default class TableView extends Component {
- static propTypes = {
- /** The columns to display in the table view (controlled). */
- columns: PropTypes.arrayOf(columnShape),
-
- /** The initial columns to display in the table view (uncontrolled). */
- defaultColumns: PropTypes.arrayOf(columnShape),
-
- /** The datasource for the table view. Should be a subclass of `ListDataSource`. */
- dataSource: PropTypes.instanceOf(ListDataSource).isRequired,
-
- /** A function which renders a cell. Passed a column object and cell data. */
- renderCell: PropTypes.func.isRequired,
-
- /** An optional function which overrides the rendering for a column header. Passed the column object. */
- renderColumnHeader: PropTypes.func,
-
- /** An optional function which is called to render the contents of the table body when there are no rows. */
- renderEmptyView: PropTypes.func,
-
- /** Whether to allow the user to select items */
- allowsSelection: PropTypes.bool,
-
- /** Whether to allow multiple selection of items */
- allowsMultipleSelection: PropTypes.bool,
-
- /** A function that is called when the selection changes. Passed an IndexPathSet object. */
- onSelectionChange: PropTypes.func,
-
- /** Sets the selected rows. Should be an IndexPathSet object or an array of IndexPaths. */
- selectedIndexPaths: PropTypes.oneOfType([
- PropTypes.arrayOf(PropTypes.instanceOf(IndexPath)),
- PropTypes.instanceOf(IndexPathSet)
- ]),
-
- /** The sort column and direction (controlled). */
- sortDescriptor: sortDescriptorShape,
-
- /** The initial sort column and direction (uncontrolled). */
- defaultSortDescriptor: sortDescriptorShape,
-
- /** A function that is called when the sort descriptor changes. */
- onSortChange: PropTypes.func,
-
- /** A function that is called when a cell is clicked. Passed a column object and row index. */
- onCellClick: PropTypes.func,
-
- /* A function that is called when a cell is double clicked. Passed a column object and row index. */
- onCellDoubleClick: PropTypes.func,
-
- /** Whether to use the spectrum quiet variant. */
- quiet: PropTypes.bool,
-
- /** The height each row should be in the table. It has a maximum of 72 */
- rowHeight: PropTypes.number,
-
- /** Whether the user can drag rows from the table. */
- canDragItems: PropTypes.bool,
-
- /** A function which renders the view to display under the cursor during drag and drop. */
- renderDragView: PropTypes.func,
-
- /**
- * Whether the TableView accepts drops.
- * If `true`, the table accepts all types of drops. Alternatively,
- * it can be set to an array of accepted drop types.
- */
- acceptsDrops: PropTypes.oneOfType([PropTypes.bool, PropTypes.arrayOf(PropTypes.string)]),
-
- /**
- * Whether drops should appear on top of rows, or between them. If you want to customize this
- * or mix the modes, you can override `getDropTarget` on the data source.
- */
- dropPosition: PropTypes.oneOf(['on', 'between'])
- };
-
- static defaultProps = {
- allowsSelection: true,
- allowsMultipleSelection: true,
- canDragItems: false,
- acceptsDrops: false,
- dropPosition: 'between'
- };
-
- static SORT_ASCENDING = 1;
- static SORT_DESCENDING = -1;
-
- constructor(props) {
- super(props);
- this.tableViewId = createId();
- const rowHeight = Math.max(48, Math.min(72, props.rowHeight));
- this.layout = new TableViewLayout({rowHeight});
- this.state = {
- columns: this.props.columns ||
- this.props.defaultColumns ||
- this.props.dataSource.getColumns(),
- sortDescriptor: this.props.sortDescriptor ||
- this.props.defaultSortDescriptor ||
- (this.props.dataSource.sortColumn && { // backward compatibility
- column: this.props.dataSource.sortColumn,
- direction: this.props.dataSource.sortDirection
- })
- };
- this.focusedColumnIndex = null;
- }
-
- componentWillReceiveProps(props) {
- if (props.columns && props.columns !== this.props.columns) {
- this.setState({
- columns: props.columns
- });
- }
-
- if (props.sortDescriptor && props.sortDescriptor !== this.props.sortDescriptor) {
- this.setState({sortDescriptor: props.sortDescriptor});
- }
- }
-
- setSelectAll(select) {
- if (select) {
- this.collection.selectAll();
- } else {
- this.collection.clearSelection();
- }
- }
-
- renderHeader() {
- const {
- id = this.tableViewId,
- allowsMultipleSelection,
- allowsSelection
- } = this.props;
-
- let numRows = this.getRowCount();
- let allItemsSelected = this.collection && this.collection.selectedIndexPaths.length === numRows && numRows > 0;
-
- return (
-
-
this.headerRowRef = row} />
-
- );
- }
-
- renderItemView(type, data) {
- const {
- id = this.tableViewId,
- allowsMultipleSelection,
- allowsSelection,
- onCellClick,
- onCellDoubleClick
- } = this.props;
- return (
-
- );
- }
-
- renderColumnHeader(column, columnIndex, rowFocused) {
- const {
- allowsSelection,
- allowsMultipleSelection,
- renderColumnHeader
- } = this.props;
- return (
-
- {renderColumnHeader ? renderColumnHeader(column) : column.title}
-
- );
- }
-
- renderCell(data, column, columnIndex, rowFocused) {
- // For backwards compatibility with TableViewDataSource, support
- // getting per-cell data instead of per-row data.
- if (this.props.dataSource instanceof TableViewDataSource) {
- data = data[columnIndex];
- }
-
- return (
-
- {this.props.renderCell(column, data, rowFocused)}
-
- );
- }
-
- renderSupplementaryView(type) {
- const {allowsSelection} = this.props;
- let colCount = this.state.columns.length;
- if (allowsSelection) {
- colCount += 1;
- }
-
- if (type === 'insertion-indicator') {
- return ;
- }
-
- return null;
- }
-
- async sortByColumn(column) {
- if (column.sortable) {
- let dir = TableView.SORT_ASCENDING;
- if (this.state.sortDescriptor && this.state.sortDescriptor.column === column) {
- dir = -this.state.sortDescriptor.direction;
- }
-
- let sortDescriptor = {
- column: column,
- direction: dir
- };
-
- if (this.props.onSortChange) {
- this.props.onSortChange(sortDescriptor);
- }
-
- if (!('sortDescriptor' in this.props)) {
- this.setState({sortDescriptor});
- }
- }
- }
-
- onSelectionChange(selectedIndexPaths) {
- // Force update to properly set the state of the Select All checkbox
- this.forceUpdate();
-
- if (this.props.onSelectionChange) {
- this.props.onSelectionChange(selectedIndexPaths);
- }
- }
-
- getRowCount() {
- let dataSource = this.props.dataSource;
- let count = 0;
- let numSections = dataSource.getNumberOfSections();
- for (let section = 0; section < numSections; section++) {
- count += dataSource.getSectionLength(section);
- }
-
- return count;
- }
-
- onCellFocus(columnIndex, e) {
- this.focusedColumnIndex = columnIndex;
- }
-
- render() {
- const {
- allowsMultipleSelection,
- allowsSelection,
- className,
- dataSource,
- id = this.tableViewId,
- quiet,
- 'aria-label': ariaLabel,
- 'aria-labelledby': ariaLabelledby,
- 'aria-describedby': ariaDescribedby
- } = this.props;
- const tableClasses = classNames(
- className,
- 'react-spectrum-TableView',
- 'spectrum-Table', {
- 'spectrum-Table--quiet': quiet
- }
- );
- const rowCount = this.getRowCount(0) + 1;
- let colCount = this.state.columns.length;
- if (allowsSelection) {
- colCount += 1;
- }
- return (
-
- {this.renderHeader()}
- this.collection = c ? c.collection : null}
- role="rowgroup"
- className="spectrum-Table-body react-spectrum-TableView-body"
- layout={this.layout}
- dataSource={dataSource}
- renderItemView={this.renderItemView}
- renderSupplementaryView={this.renderSupplementaryView}
- canSelectItems={allowsSelection}
- allowsMultipleSelection={allowsMultipleSelection}
- sortDescriptor={this.state.sortDescriptor}
- selectionMode="toggle"
- keyboardMode="focus"
- onSelectionChanged={this.onSelectionChange}
- onRowCountChanged={this.onRowCountChanged}
- colCount={colCount} />
-
- );
- }
-}
diff --git a/src/TableView/js/TableViewDataSource.js b/src/TableView/js/TableViewDataSource.js
deleted file mode 100644
index 67b9240c086..00000000000
--- a/src/TableView/js/TableViewDataSource.js
+++ /dev/null
@@ -1,116 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {DataSource} from '@react/collection-view';
-
-/*
- * TableViewDataSource is the super class for all data sources used by TableView.
- * @deprecated
- */
-export default class TableViewDataSource extends DataSource {
- constructor() {
- super();
- console.warn('TableViewDataSource is deprecated and will be removed in the next major version of react-spectrum. Please switch to the new TableView API using ListDataSource. See http://react-spectrum.corp.adobe.com/components/TableView for details.');
- this.columns = this.getColumns();
- this.sortColumn = null;
- this.sortDir = -1;
- }
-
- getNumberOfSections() {
- return 1;
- }
-
- getSectionLength(section) {
- return this.getNumberOfRows(section);
- }
-
- getItem(section, index) {
- return this.columns.map(column => this.getCell(column, index, section));
- }
-
- /**
- * Returns a list of columns in the TableView
- * @return {object[]}
- * @abstract
- */
- getColumns() {
- throw new Error('getColumns must be implemented by subclasses');
- }
-
- /**
- * Returns the number of rows in the TableView
- * @return {number}
- * @abstract
- */
- getNumberOfRows(section) {
- throw new Error('getNumberOfRows must be implemented by subclasses');
- }
-
- /**
- * Returns the data for a cell in the TableView
- * @return {any}
- * @abstract
- */
- getCell(column, row, section) {
- throw new Error('getCell must be implemented by subclasses');
- }
-
- getSectionHeader(section) {
- return null;
- }
-
- async performSort(sortDescriptor) {
- this.sortColumn = sortDescriptor.column;
- this.sortDir = sortDescriptor.direction;
- this.sort(this.sortColumn, this.sortDir);
- }
-
- async performLoad() {
- // For compatibility with the new ListDataSource API.
- }
-
- async performLoadMore() {
- await this.loadMore();
- }
-
- /**
- * Called by the TableView when scrolling near the bottom. You can use this
- * opportunity to load more data, e.g. for infinite scrolling.
- * @abstract
- */
- async loadMore() {
- // if you want infinite scrolling, override this with your logic
- }
-
- /**
- * Called by the TableView when a column header is clicked. You should sort your data
- * accordingly and call `reloadData`.
- * @param {object} column
- * @param {number} dir
- * @abstract
- */
- sort(column, dir) {
- throw new Error('sort must be implemented by subclasses');
- }
-
- /**
- * Reloads the data in the TableView
- */
- reloadData() {
- this.emit('reloadSection', 0, false);
- }
-}
diff --git a/src/TableView/js/TableViewLayout.js b/src/TableView/js/TableViewLayout.js
deleted file mode 100644
index e3190e73264..00000000000
--- a/src/TableView/js/TableViewLayout.js
+++ /dev/null
@@ -1,88 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {DragTarget, IndexPath, LayoutInfo, ListLayout, Rect} from '@react/collection-view';
-
-export default class TableViewLayout extends ListLayout {
- constructor(options = {}) {
- super(options);
-
- this.insertionIndicator = null;
- }
-
- getLayoutInfo(type, section, index) {
-
- if (type === 'insertion-indicator') {
- return this.insertionIndicator;
- }
-
- return super.getLayoutInfo(type, section, index);
- }
-
- getVisibleLayoutInfos(rect) {
- let layoutInfos = super.getVisibleLayoutInfos(rect);
-
- if (this.insertionIndicator) {
- layoutInfos.push(this.insertionIndicator);
- }
-
- return layoutInfos;
- }
-
- validate() {
- super.validate();
-
- let count = this.collectionView.getSectionLength(0);
- this.contentHeight = count * this.rowHeight - 1;
-
- // Show the drop insertion indicator if the default drop position of the table view is "between",
- // the target's drop position is also "between", and the table is not empty.
- let dropTarget = this.collectionView._dropTarget;
- let showInsertionIndicator = dropTarget &&
- this.component.props.dropPosition === 'between' &&
- dropTarget.dropPosition === DragTarget.DROP_BETWEEN &&
- count > 0;
-
- if (showInsertionIndicator) {
- let l = new LayoutInfo('insertion-indicator');
- l.rect = new Rect(0, Math.max(0, Math.min(this.contentHeight - 3, dropTarget.indexPath.index * this.rowHeight - 1)), this.collectionView.size.width, 2);
- l.zIndex = 10;
- this.insertionIndicator = l;
- } else {
- this.insertionIndicator = null;
- }
- }
-
- getDropTarget(point) {
- let dropPosition = this.component.props.dropPosition === 'on' ? DragTarget.DROP_ON : DragTarget.DROP_BETWEEN;
-
- // If we are dropping between rows, the target should move to the
- // next item halfway through a row.
- if (dropPosition === DragTarget.DROP_BETWEEN) {
- point = point.copy();
- point.y += this.rowHeight / 2;
- }
-
- let indexPath = this.collectionView.indexPathAtPoint(point);
- if (indexPath) {
- return new DragTarget('item', indexPath, dropPosition);
- } else {
- let index = dropPosition === DragTarget.DROP_ON ? 0 : this.collectionView.getSectionLength(0);
- return new DragTarget('item', new IndexPath(0, index), DragTarget.DROP_BETWEEN);
- }
- }
-}
diff --git a/src/TableView/style/index.styl b/src/TableView/style/index.styl
deleted file mode 100644
index 306fa1f29ad..00000000000
--- a/src/TableView/style/index.styl
+++ /dev/null
@@ -1,94 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-/*
- * ADOBE CONFIDENTIAL
- *
- * Copyright 2016 Adobe Systems Incorporated
- * All Rights Reserved.
- *
- * NOTICE: All information contained herein is, and remains
- * the property of Adobe Systems Incorporated and its suppliers,
- * if any. The intellectual and technical concepts contained
- * herein are proprietary to Adobe Systems Incorporated and its
- * suppliers and may be covered by U.S. and Foreign Patents,
- * patents in process, and are protected by trade secret or copyright law.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Adobe Systems Incorporated.
- */
-
- @import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-.react-spectrum-TableView {
- height: 100%
- display: flex
- flex-direction: column
-}
-
-.react-spectrum-TableView-body {
- flex: 1
- outline: none
-
- > div > .item {
- overflow: visible !important; /* override inline styles applied by collection-view */
-
- .spectrum-Table-row {
- border-bottom-style: solid; /* table rows in collection-view should have bottom border */
- }
- }
-
- > div > .insertion-indicator {
- // override collection-view
- transition: none !important;
- overflow: visible !important;
- }
-}
-
-.react-spectrum-TableView-row {
- display: flex
- align-items: center
-
- &.spectrum-Table-row {
- box-sizing: border-box;
- height: 100%;
- }
-
- .spectrum-Table-cell {
- // Needed to pass an implied width to the child elements (so truncating can be added in children)
- // % because IE
- min-width: 0%
- // height so that borders used to divide take up full height
- height: 100%;
- // height 100% causes all elements to be rendered at the top of the row, not in the center
- // adding flex with align-items center puts all the contents back in the vertical middle
- display: flex;
- align-items: center;
- padding-top: 0;
- padding-bottom: 0;
- }
-}
-
-.react-spectrum-Table-cell {
- &:focus {
- outline: none;
- }
-}
-
-.react-spectrum-TableView-checkboxCell {
- flex-shrink: 0;
-}
diff --git a/src/TagField/index.js b/src/TagField/index.js
deleted file mode 100644
index 8e0544ef815..00000000000
--- a/src/TagField/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/TagField');
diff --git a/src/TagField/js/TagField.js b/src/TagField/js/TagField.js
deleted file mode 100644
index 83f44e18804..00000000000
--- a/src/TagField/js/TagField.js
+++ /dev/null
@@ -1,181 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Autocomplete from '../../Autocomplete';
-import classNames from 'classnames';
-import PropTypes from 'prop-types';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import {TagList} from '../../TagList';
-import Textfield from '../../Textfield';
-import '../style/index.styl';
-
-@autobind
-export default class TagField extends React.Component {
- static propTypes = {
- /** Allow tag creation in tag field */
- allowCreate: PropTypes.bool,
-
- /** Allow duplicate tags in tag field */
- allowDuplicates: PropTypes.bool,
-
- /** Class to add to the tag field */
- className: PropTypes.string,
-
- /** Placeholder text to display if there are no tags nor text entered */
- placeholder: PropTypes.string,
-
- /** Whether the tag field is disabled */
- disabled: PropTypes.bool,
-
- /** Function to retrieve autocomplete options */
- getCompletions: PropTypes.func,
-
- /** Whether to disable the invalid icon and styling */
- invalid: PropTypes.bool,
-
- /** Whether to use the quiet styling for the tag field */
- quiet: PropTypes.bool,
-
- /** List of tags to display */
- value: PropTypes.arrayOf(PropTypes.string),
-
- /**
- * A function called when a tag is added or removed.
- * It is passed an array of strings containing the new tag list.
- */
- onChange: PropTypes.func,
-
- /**
- * A function that returns a wrapper component to render a list item label.
- * Useful in providing custom html to the rendered label.
- * Passed to the underlying Autocomplete component.
- */
- renderItem: PropTypes.func,
-
- /**
- * A function that takes a tag object and returns a custom Tag component
- * If this prop is not specified, tags will render with default behavior
- */
- renderTag: PropTypes.func
- };
-
- static defaultProps = {
- allowCreate: true,
- allowDuplicates: false
- };
-
- state = {
- value: '',
- tags: this.props.value || []
- };
-
- componentWillReceiveProps(props) {
- if (props.value && props.value !== this.state.value) {
- const deleting = props.value.length < this.state.tags.length;
- const hadFocus = this.taglist && ReactDOM.findDOMNode(this).contains(document.activeElement);
- this.setState({tags: props.value}, () => hadFocus && this.focus(deleting));
- }
- }
-
- onTextfieldChange(value) {
- this.setState({value});
- }
-
- onSelect(value) {
- let coercedValue = value.label || value;
- let areDuplicates = (a, b) => a === b || (a.label && b.label && a.label === b.label);
- if (!coercedValue || (!this.props.allowDuplicates && this.state.tags.some(t => areDuplicates(t, value)))) {
- return;
- }
-
- this.setState({value: ''});
-
- let tags = [...this.state.tags, value];
- this.onChange(tags);
- }
-
- onRemove(value) {
- let tags = this.state.tags.filter(t => t.label !== value && t !== value);
- this.onChange(tags);
- }
-
- focus(deleting) {
- if (this.taglist) {
- const dom = ReactDOM.findDOMNode(this.taglist);
- if (!dom.contains(document.activeElement)) {
- const nodes = dom.querySelectorAll('[role=row]');
- if (nodes.length && deleting) {
- nodes[nodes.length - 1].focus();
- } else {
- this.textfield.focus();
- }
- }
- }
- }
-
- onChange(tags) {
- if (this.props.value == null) {
- let deleting = tags.length < this.state.tags.length;
- this.setState({tags}, () => this.focus(deleting));
- }
- if (this.props.onChange) {
- this.props.onChange(tags.map(tag => tag.label || tag));
- }
- }
-
- render() {
- let {getCompletions, allowCreate, disabled, invalid, quiet, className, placeholder, renderTag, renderItem, ...props} = this.props;
- let {value, tags} = this.state;
-
- delete props.onChange;
-
- return (
-
- this.taglist = tl}
- disabled={disabled}
- onClose={this.onRemove}
- values={(!renderTag && tags.map(tag => tag.label || tag)) || undefined}
- aria-labelledby={this.props['aria-labelledby']}
- aria-label={this.props['aria-label']}>
- { renderTag && tags.map(tag => renderTag(tag)) }
-
- this.textfield = tf}
- className="react-spectrum-TagField-input"
- autocompleteInput
- disabled={disabled}
- placeholder={tags.length === 0 ? placeholder : ''}
- {...props} />
-
- );
- }
-}
diff --git a/src/TagField/style/dark.styl b/src/TagField/style/dark.styl
deleted file mode 100644
index 62c15a1241d..00000000000
--- a/src/TagField/style/dark.styl
+++ /dev/null
@@ -1,22 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-.spectrum--dark {
- @import 'skin.styl'
-}
diff --git a/src/TagField/style/index.styl b/src/TagField/style/index.styl
deleted file mode 100644
index ae13da355a6..00000000000
--- a/src/TagField/style/index.styl
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-light.styl';
-
-$react-spectrum-tagfield-margin = 6px;
-
-.react-spectrum-Autocomplete.react-spectrum-TagField {
- display: inline-flex;
- flex-wrap: wrap;
- align-items: center;
- box-sizing: border-box;
- padding: 0;
- height: auto;
-
- .spectrum-TagList {
- margin: 0 3px 3px 3px;
-
- > .spectrum-TagList-item {
- margin: 3px 3px 0 0;
- &:last-of-type {
- margin-right: 0;
- }
- }
- }
-
- .spectrum-Textfield.react-spectrum-TagField-input {
- border: none;
- flex: 1;
- width: 100%;
- height: 100%;
- min-width: 40px;
- border: 0;
- outline: none;
- background: transparent;
- box-shadow: none;
- text-indent: $react-spectrum-tagfield-margin;
- padding: $react-spectrum-tagfield-margin 0;
-
- &:focus,
- &:hover,
- &:disabled {
- border: 0;
- outline: none;
- box-shadow: none;
- background: transparent;
- }
- }
-}
-
-.react-spectrum-TagField--quiet {
- border-radius: 0;
- border: none;
- border-bottom: 1px solid;
-
- // removes the side padding to align the text properly
- padding-left: 0;
- padding-right: 0;
-}
-
-@import 'light';
-@import 'dark';
diff --git a/src/TagField/style/light.styl b/src/TagField/style/light.styl
deleted file mode 100644
index 1c4e3e747b9..00000000000
--- a/src/TagField/style/light.styl
+++ /dev/null
@@ -1,23 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-light.styl'
-@import '@adobe/spectrum-css/dist/components/textfield/multiStops/light.css';
-
-.spectrum--light {
- @import 'skin.styl'
-}
diff --git a/src/TagField/style/skin.styl b/src/TagField/style/skin.styl
deleted file mode 100644
index 8b35e8ca553..00000000000
--- a/src/TagField/style/skin.styl
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.react-spectrum-TagField {
- &.is-focused:not(.is-invalid) {
- border-color: $spectrum-alias-focus-blue;
- box-shadow: 0 0 0 1px $spectrum-alias-focus-blue;
- }
-
- &.is-disabled {
- background-color: $spectrum-global-color-grey200;
- border-color: transparent;
- color: $spectrum-global-color-grey500;
- }
-
- &.is-invalid {
- &.is-focused {
- box-shadow: 0 0 0 1px $spectrum-alias-text-color-invalid;
- }
- }
-}
-
-.react-spectrum-TagField--quiet {
- &.is-focused:not(.is-invalid) {
- border-color: $spectrum-alias-focus-blue;
- box-shadow: 0 1px 0 $spectrum-alias-focus-blue;
- }
-
- &.is-disabled {
- background-color: transparent;
- border-color: $spectrum-global-color-grey300;
- }
-
- &.is-invalid {
- &.is-focused {
- box-shadow: 0 1px 0 $spectrum-alias-text-color-invalid;
- }
- }
-}
diff --git a/src/TagList/index.js b/src/TagList/index.js
deleted file mode 100644
index 33d35d7745a..00000000000
--- a/src/TagList/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as TagList} from './js/TagList';
-export {default as Tag} from './js/Tag';
diff --git a/src/TagList/intl/cs-CZ.json b/src/TagList/intl/cs-CZ.json
deleted file mode 100644
index 2aa8bd22e0d..00000000000
--- a/src/TagList/intl/cs-CZ.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Odebrat"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/da-DK.json b/src/TagList/intl/da-DK.json
deleted file mode 100644
index 8e7b4c569fe..00000000000
--- a/src/TagList/intl/da-DK.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Fjern"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/de-DE.json b/src/TagList/intl/de-DE.json
deleted file mode 100644
index adb1d2ed5d6..00000000000
--- a/src/TagList/intl/de-DE.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Entfernen"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/en-US.json b/src/TagList/intl/en-US.json
deleted file mode 100644
index 8c94ff35d2a..00000000000
--- a/src/TagList/intl/en-US.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Remove"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/es-ES.json b/src/TagList/intl/es-ES.json
deleted file mode 100644
index 7ec4fc35115..00000000000
--- a/src/TagList/intl/es-ES.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Quitar"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/fi-FI.json b/src/TagList/intl/fi-FI.json
deleted file mode 100644
index 7373cc76a68..00000000000
--- a/src/TagList/intl/fi-FI.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Poista"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/fr-FR.json b/src/TagList/intl/fr-FR.json
deleted file mode 100644
index f8e24efa4b0..00000000000
--- a/src/TagList/intl/fr-FR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Supprimer"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/hu-HU.json b/src/TagList/intl/hu-HU.json
deleted file mode 100644
index 0ecb8992cca..00000000000
--- a/src/TagList/intl/hu-HU.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Eltávolítás"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/it-IT.json b/src/TagList/intl/it-IT.json
deleted file mode 100644
index a3a21047fe9..00000000000
--- a/src/TagList/intl/it-IT.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Rimuovi"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/ja-JP.json b/src/TagList/intl/ja-JP.json
deleted file mode 100644
index 54893071fe0..00000000000
--- a/src/TagList/intl/ja-JP.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "削除"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/ko-KR.json b/src/TagList/intl/ko-KR.json
deleted file mode 100644
index 1b983b3a827..00000000000
--- a/src/TagList/intl/ko-KR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "제거"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/nb-NO.json b/src/TagList/intl/nb-NO.json
deleted file mode 100644
index 8e7b4c569fe..00000000000
--- a/src/TagList/intl/nb-NO.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Fjern"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/nl-NL.json b/src/TagList/intl/nl-NL.json
deleted file mode 100644
index f53d4522b0a..00000000000
--- a/src/TagList/intl/nl-NL.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Verwijderen"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/pl-PL.json b/src/TagList/intl/pl-PL.json
deleted file mode 100644
index caab1655e4c..00000000000
--- a/src/TagList/intl/pl-PL.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Usuń"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/pt-BR.json b/src/TagList/intl/pt-BR.json
deleted file mode 100644
index 7fcaa36880f..00000000000
--- a/src/TagList/intl/pt-BR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Remover"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/ru-RU.json b/src/TagList/intl/ru-RU.json
deleted file mode 100644
index e638e251b04..00000000000
--- a/src/TagList/intl/ru-RU.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Удалить"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/sv-SE.json b/src/TagList/intl/sv-SE.json
deleted file mode 100644
index b840bda6e5c..00000000000
--- a/src/TagList/intl/sv-SE.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Ta bort"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/tr-TR.json b/src/TagList/intl/tr-TR.json
deleted file mode 100644
index 703759e92c6..00000000000
--- a/src/TagList/intl/tr-TR.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Kaldır"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/uk-UA.json b/src/TagList/intl/uk-UA.json
deleted file mode 100644
index 683c9e259ab..00000000000
--- a/src/TagList/intl/uk-UA.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "Видалити"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/zh-CN.json b/src/TagList/intl/zh-CN.json
deleted file mode 100644
index 061e5350ab0..00000000000
--- a/src/TagList/intl/zh-CN.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "删除"
-}
\ No newline at end of file
diff --git a/src/TagList/intl/zh-TW.json b/src/TagList/intl/zh-TW.json
deleted file mode 100644
index a2417e60ddd..00000000000
--- a/src/TagList/intl/zh-TW.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "Remove": "移除"
-}
\ No newline at end of file
diff --git a/src/TagList/js/Tag.js b/src/TagList/js/Tag.js
deleted file mode 100644
index 5c02de698aa..00000000000
--- a/src/TagList/js/Tag.js
+++ /dev/null
@@ -1,178 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import Avatar from '../../Avatar';
-import Button from '../../Button';
-import classNames from 'classnames';
-import {cloneIcon} from '../../utils/icon';
-import CrossSmall from '../../Icon/core/CrossSmall';
-import filterDOMProps from '../../utils/filterDOMProps';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('tags');
-const formatMessage = messageFormatter(intlMessages);
-
-/**
- * A tag is used to categorize content and display filters.
- */
-@autobind
-export default class Tag extends React.Component {
- static propTypes = {
- /** Avatar to use in the tag */
- avatar: PropTypes.string,
-
- /** Whether the tag is removable from the tag list */
- closeable: PropTypes.bool,
-
- /** Function to be executed upon tag closure */
- onClose: PropTypes.func,
-
- /** Whether the tag is disabled from user interaction */
- disabled: PropTypes.bool,
-
- /** Icon to use in the tag */
- icon: PropTypes.string,
-
- /** Whether the tag is selected */
- selected: PropTypes.bool,
-
- /** Whether the tag ought to be colored red to reflect invalid status */
- invalid: PropTypes.bool
- };
-
- static defaultProps = {
- closeable: false,
- disabled: false,
- selected: false
- }
-
- constructor(props) {
- super(props);
- this.state = {
- tagFocused: false
- };
- }
-
- handleButtonFocus(e) {
- this.setState({tagFocused: true});
- }
-
- handleButtonBlur(e) {
- this.setState({tagFocused: false});
- }
-
- render() {
- let {
- value,
- children,
- avatar,
- icon,
- closable = false,
- disabled = false,
- selected = false,
- invalid = false,
- className,
- onClose = function () {},
- tabIndex,
- role,
- ...otherProps
- } = this.props;
- let tag = this.tag;
- const {tagFocused} = this.state;
- const removeString = formatMessage('Remove');
- const childContent = children || value;
- const ariaLabel = childContent ? `${removeString}: ${childContent}` : {removeString};
-
- function handleKeyDown(e) {
- switch (e.keyCode) {
- case 46: // delete
- case 8: // backspace
- case 32: // space
- onClose(value || children, e);
- e.preventDefault();
- break;
- }
- }
- function handleButtonClick(e) {
- onClose(value || children, e);
- // If the button is clicked and this is a gridcell it must be a mouse event
- // Set focus to the tag rather than the button as that is where focus manager
- // expects it to be
- if (role === 'gridcell') {
- if (tag) {
- tag.focus();
- }
- }
-
- }
-
-
- return (
- {this.tag = t;}}
- className={
- classNames(
- 'spectrum-Tags-item',
- {
- 'is-selected': selected,
- 'is-disabled': disabled,
- 'spectrum-Tags-item--deletable': closable,
- 'is-invalid': invalid
- },
- {'focus-ring': tagFocused},
- className
- )
- }
- tabIndex={tabIndex}
- aria-selected={!disabled && selected}
- onKeyDown={!disabled && closable ? (e => {handleKeyDown(e);}) : null}
- {...filterDOMProps(otherProps)}
- role={(role === 'gridcell') ? 'row' : undefined}>
- {avatar &&
-
- }
- {cloneIcon(icon, {
- size: 'S',
- className: 'spectrum-Tags-itemIcon'
- })}
-
- {childContent}
-
- {closable &&
-
- }
- title={removeString}
- onClick={!disabled ? (e => {handleButtonClick(e);}) : null}
- onBlur={this.handleButtonBlur}
- onFocus={this.handleButtonFocus} />
-
- }
-
- );
- }
-}
diff --git a/src/TagList/js/TagList.js b/src/TagList/js/TagList.js
deleted file mode 100644
index eb7049d7595..00000000000
--- a/src/TagList/js/TagList.js
+++ /dev/null
@@ -1,215 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {chain} from '../../utils/events';
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import FocusManager from '../../utils/FocusManager';
-import focusRing from '../../utils/focusRing';
-import PropTypes from 'prop-types';
-import React from 'react';
-import Tag from './Tag';
-
-importSpectrumCSS('tags');
-
-/**
- * A TagList displays a list of Tags
- */
-const TAGLIST_SELECTOR = '[role=row]:not([aria-disabled])';
-const TAGLIST_SELECTED_SELECTOR = TAGLIST_SELECTOR + '[aria-selected=true]';
-
-@focusRing
-export default class TagList extends React.Component {
-
- static displayName = 'TagList';
-
- static propTypes = {
- /** Custom CSS class to add to the tag list */
- className: PropTypes.string,
-
- /** Whether to disable the tag list */
- disabled: PropTypes.bool,
-
- /** Name of tag list **/
- name: PropTypes.string,
-
- /** Function called when focus is taken away from the tag list */
- onBlur: PropTypes.func,
-
- /** Function called when a tag in the tag list is closed */
- onClose: PropTypes.func,
-
- /** Function called when focus is put on the tag list */
- onFocus: PropTypes.func,
-
- /** Whether the tag list can only be read */
- readOnly: PropTypes.bool,
-
- /** Initial tags in the tag list */
- values: PropTypes.arrayOf(PropTypes.string)
- };
-
- static defaultProps = {
- readOnly: false,
- disabled: false,
- onClose: function () {},
- onFocus: function () {},
- onBlur: function () {},
- onChange: function () {}
- };
-
- state = {
- selectedIndex: null,
- focused: false
- }
-
- componentWillReceiveProps(nextProps) {
- if ('selectedIndex' in nextProps) {
- this.setState({
- selectedIndex: nextProps.selectedIndex
- });
- }
- }
-
- onClickItem(selectedIndex, e) {
- this.setSelectedIndex(selectedIndex, e);
- }
-
-
- setSelectedIndex(selectedIndex, e) {
- const lastSelectedIndex = this.state.selectedIndex;
-
- // If selectedIndex is defined on props then this is a controlled component and we shouldn't
- // change our own state.
- if (!('selectedIndex' in this.props)) {
- this.setState({
- selectedIndex
- });
- }
-
- if (lastSelectedIndex !== selectedIndex) {
- this.props.onChange(selectedIndex);
- }
- }
-
- handleFocus = e => {
- const {onFocus} = this.props;
- this.setState({focused: true});
- onFocus(e);
- }
-
- handleBlur = e => {
- const {onBlur} = this.props;
- this.setState({focused: false});
- onBlur(e);
- }
-
-
- baseChildProps(index, child = {props: {}}) {
- const {readOnly, onClose, disabled} = this.props;
- const {selectedIndex, focused} = this.state;
- return {
- key: index,
- selected: !disabled && focused && selectedIndex === index,
- tabIndex: !disabled && (selectedIndex === index || (!focused && selectedIndex === null)) ? 0 : -1,
- closable: !readOnly,
- disabled,
- onClick: chain(this.getChildOnClick(index), child.props.onClick),
- onFocus: chain(this.getChildOnFocus(index), child.props.onFocus),
- onClose,
- role: 'gridcell'
- };
- }
-
- getChildOnClick(index) {
- if (this.props.disabled) { return null; }
- const tagListOnClick = this.onClickItem.bind(this, index);
- return (e) => {
- tagListOnClick(e);
- };
- }
-
- getChildOnFocus(index) {
- if (this.props.disabled) {
- return null;
- }
- return (e) => {
- this.setSelectedIndex(index, e);
- this.handleFocus;
- };
- }
-
- renderChildren() {
- if (this.props.values) {
- return this.renderValues();
- }
- return React.Children.map(this.props.children, (child, index) =>
- React.cloneElement(child, this.baseChildProps(index, child))
- );
- }
-
- renderValues() {
- const {values} = this.props;
- return values.map((value, index) => (
-
- {value}
-
- ));
- }
-
- render() {
- const {
- className,
- name,
- readOnly,
- disabled,
- invalid,
- ...otherProps
- } = this.props;
-
- const {focused} = this.state;
-
- return (
-
-
- {this.renderChildren()}
-
-
- );
- }
-}
diff --git a/src/Textarea/index.js b/src/Textarea/index.js
deleted file mode 100644
index d6fa4ceb8d6..00000000000
--- a/src/Textarea/index.js
+++ /dev/null
@@ -1,95 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import Textfield from '../Textfield';
-
-@autobind
-export default class Textarea extends Component {
- static propTypes = {
- /** Custom CSS class to add to the textarea */
- className: PropTypes.string,
-
- /** Whether to disable the textarea */
- disabled: PropTypes.bool,
-
- /** Whether to show the warning icon and red border */
- invalid: PropTypes.bool,
-
- /** Function called when focus is taken away from the textarea */
- onBlur: PropTypes.func,
-
- /** Function called when the textarea value is changed */
- onChange: PropTypes.func,
-
- /** Function called when focus is put on the textarea */
- onFocus: PropTypes.func,
-
- /** String to show in the textarea when nothing has been input */
- placeholder: PropTypes.string,
-
- /** Whether the textarea should render using a quiet variant */
- quiet: PropTypes.bool,
-
- /** Whether the textarea can only be read */
- readOnly: PropTypes.bool,
-
- /** Whether the textarea requires user input (shows warning if empty) */
- required: PropTypes.bool
- };
-
- static defaultProps = {
- disabled: false,
- invalid: false,
- quiet: false,
- readOnly: false,
- required: false
- };
-
- handleHeightChange(value, e) {
- const {
- quiet,
- onChange
- } = this.props;
-
- if (typeof onChange === 'function') {
- onChange(value, e);
- }
-
- if (quiet) {
- e.target.style.height = 'auto';
- e.target.style.height = `${e.target.scrollHeight}px`;
- }
- }
-
- render() {
- const {
- quiet,
- ...otherProps
- } = this.props;
-
- return (
-
- );
- }
-}
diff --git a/src/Textfield/index.js b/src/Textfield/index.js
deleted file mode 100644
index d14226790db..00000000000
--- a/src/Textfield/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Textfield');
diff --git a/src/Textfield/js/Textfield.js b/src/Textfield/js/Textfield.js
deleted file mode 100644
index d01f5fd5aaa..00000000000
--- a/src/Textfield/js/Textfield.js
+++ /dev/null
@@ -1,148 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import ReactDOM from 'react-dom';
-
-importSpectrumCSS('textfield');
-
-@autobind
-export default class Textfield extends Component {
- static propTypes = {
- /** Whether to automatically focus this text field */
- autoFocus: PropTypes.bool,
-
- /** Custom CSS class to add to the text field */
- className: PropTypes.string,
-
- /** Whether to disable the text field */
- disabled: PropTypes.bool,
-
- /** Whether to show the warning icon and red border. DEPRECATED: use validationState instead */
- invalid: PropTypes.bool,
-
- /** Whether to render a textfield that accepts multiple lines of text */
- multiLine: PropTypes.bool,
-
- /** Function called when focus is taken away from the text field */
- onBlur: PropTypes.func,
-
- /** Function called when the text field value is changed */
- onChange: PropTypes.func,
-
- /** Function called when focus is put on the text field */
- onFocus: PropTypes.func,
-
- /** String to show in the text field when nothing has been input */
- placeholder: PropTypes.string,
-
- /** Whether the text field should render using a quiet variant */
- quiet: PropTypes.bool,
-
- /** Whether the text field can only be read */
- readOnly: PropTypes.bool,
-
- /** Whether the text field requires user input (shows warning if empty) */
- required: PropTypes.bool,
-
- /** Show either checkmark or warning icons */
- validationState: PropTypes.oneOf(['valid', 'invalid'])
- };
-
- static defaultProps = {
- autoFocus: false,
- disabled: false,
- quiet: false,
- required: false,
- invalid: false,
- readOnly: false
- };
-
- componentDidMount() {
- if (this.props.autoFocus) {
- // wait a frame to make sure the textfield in the DOM and focusable
- requestAnimationFrame(() => this.focus());
- }
- }
-
- focus() {
- if (!this.props.disabled) {
- ReactDOM.findDOMNode(this).focus();
- }
- }
-
- onChange(e) {
- if (this.props.onChange) {
- this.props.onChange(e.target.value, e);
- }
- }
-
- render() {
- const {
- className,
- quiet,
- disabled,
- required,
- invalid,
- readOnly,
- multiLine,
- validationState,
- ...otherProps
- } = this.props;
-
- var Tag = multiLine ? 'textarea' : 'input';
-
- const isInvalid = invalid || validationState === 'invalid';
-
- delete otherProps.autoFocus;
- delete otherProps.autocompleteInput;
-
- if (invalid) {
- console.warn('The "invalid" prop of Textfield is deprecated. Please use validationState="invalid" instead.');
- }
-
- return (
-
- );
- }
-}
-
-Textfield.displayName = 'Textfield';
diff --git a/src/Toast/index.js b/src/Toast/index.js
deleted file mode 100644
index 0fdb3d074e4..00000000000
--- a/src/Toast/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as Toast} from './js/Toast';
-export * from './js/ToastContainer';
diff --git a/src/Toast/intl/cs-CZ.json b/src/Toast/intl/cs-CZ.json
deleted file mode 100644
index cb86a561c53..00000000000
--- a/src/Toast/intl/cs-CZ.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Zavřít",
- "error": "Chyba",
- "info": "Informace",
- "success": "Úspěch",
- "warning": "Upozornění"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/da-DK.json b/src/Toast/intl/da-DK.json
deleted file mode 100644
index e89bfb8b046..00000000000
--- a/src/Toast/intl/da-DK.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Luk",
- "error": "Fejl",
- "info": "Oplysninger",
- "success": "Fuldført",
- "warning": "Advarsel"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/de-DE.json b/src/Toast/intl/de-DE.json
deleted file mode 100644
index d8b5107b90c..00000000000
--- a/src/Toast/intl/de-DE.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Schließen",
- "error": "Fehler",
- "info": "Informationen",
- "success": "Erfolg",
- "warning": "Warnung"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/en-US.json b/src/Toast/intl/en-US.json
deleted file mode 100644
index d79aa4add9b..00000000000
--- a/src/Toast/intl/en-US.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Close",
- "error": "Error",
- "warning": "Warning",
- "success": "Success",
- "info": "Information"
-}
diff --git a/src/Toast/intl/es-ES.json b/src/Toast/intl/es-ES.json
deleted file mode 100644
index f15eca3095d..00000000000
--- a/src/Toast/intl/es-ES.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Cerrar",
- "error": "Error",
- "info": "Información",
- "success": "Éxito",
- "warning": "Advertencia"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/fi-FI.json b/src/Toast/intl/fi-FI.json
deleted file mode 100644
index b1bee530c7b..00000000000
--- a/src/Toast/intl/fi-FI.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Sulje",
- "error": "Virhe",
- "info": "Tiedot",
- "success": "Onnistui",
- "warning": "Varoitus"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/fr-FR.json b/src/Toast/intl/fr-FR.json
deleted file mode 100644
index 7012268053d..00000000000
--- a/src/Toast/intl/fr-FR.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Fermer",
- "error": "Erreur",
- "info": "Informations",
- "success": "Succès",
- "warning": "Avertissement"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/hu-HU.json b/src/Toast/intl/hu-HU.json
deleted file mode 100644
index 096d88f52dd..00000000000
--- a/src/Toast/intl/hu-HU.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Bezárás",
- "error": "Hiba",
- "info": "Információ",
- "success": "Siker",
- "warning": "Figyelmeztetés"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/it-IT.json b/src/Toast/intl/it-IT.json
deleted file mode 100644
index 57011519675..00000000000
--- a/src/Toast/intl/it-IT.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Chiudi",
- "error": "Errore",
- "info": "Informazioni",
- "success": "Operazione riuscita",
- "warning": "Avvertenza"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/ja-JP.json b/src/Toast/intl/ja-JP.json
deleted file mode 100644
index f42d7cdfcfb..00000000000
--- a/src/Toast/intl/ja-JP.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "閉じる",
- "error": "エラー",
- "info": "情報",
- "success": "成功",
- "warning": "警告"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/ko-KR.json b/src/Toast/intl/ko-KR.json
deleted file mode 100644
index 848beba6792..00000000000
--- a/src/Toast/intl/ko-KR.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "닫기",
- "error": "오류",
- "info": "정보",
- "success": "성공",
- "warning": "경고"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/nb-NO.json b/src/Toast/intl/nb-NO.json
deleted file mode 100644
index 1649d456466..00000000000
--- a/src/Toast/intl/nb-NO.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Lukk",
- "error": "Feil",
- "info": "Informasjon",
- "success": "Vellykket",
- "warning": "Advarsel"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/nl-NL.json b/src/Toast/intl/nl-NL.json
deleted file mode 100644
index fcfc8d95e66..00000000000
--- a/src/Toast/intl/nl-NL.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Sluiten",
- "error": "Fout",
- "info": "Informatie",
- "success": "Geslaagd",
- "warning": "Waarschuwing"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/pl-PL.json b/src/Toast/intl/pl-PL.json
deleted file mode 100644
index 63219fee5b1..00000000000
--- a/src/Toast/intl/pl-PL.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Zamknij",
- "error": "Błąd",
- "info": "Informacja",
- "success": "Powodzenie",
- "warning": "Ostrzeżenie"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/pt-BR.json b/src/Toast/intl/pt-BR.json
deleted file mode 100644
index 3bd81647854..00000000000
--- a/src/Toast/intl/pt-BR.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Fechar",
- "error": "Erro",
- "info": "Informação",
- "success": "Sucesso",
- "warning": "Aviso"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/ru-RU.json b/src/Toast/intl/ru-RU.json
deleted file mode 100644
index c3529a0a34a..00000000000
--- a/src/Toast/intl/ru-RU.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Закрыть",
- "error": "Ошибка",
- "info": "Информация",
- "success": "Успешно",
- "warning": "Предупреждение"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/sv-SE.json b/src/Toast/intl/sv-SE.json
deleted file mode 100644
index 7ac882a41d0..00000000000
--- a/src/Toast/intl/sv-SE.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Stäng",
- "error": "Fel",
- "info": "Information",
- "success": "Lyckades",
- "warning": "Varning"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/tr-TR.json b/src/Toast/intl/tr-TR.json
deleted file mode 100644
index 7196c8d77cc..00000000000
--- a/src/Toast/intl/tr-TR.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Kapat",
- "error": "Hata",
- "info": "Bilgiler",
- "success": "Başarılı",
- "warning": "Uyarı"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/uk-UA.json b/src/Toast/intl/uk-UA.json
deleted file mode 100644
index 69ad3d25019..00000000000
--- a/src/Toast/intl/uk-UA.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "Закрити",
- "error": "Помилка",
- "info": "Інформація",
- "success": "Успішно",
- "warning": "Попередження"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/zh-CN.json b/src/Toast/intl/zh-CN.json
deleted file mode 100644
index ca8e07127ec..00000000000
--- a/src/Toast/intl/zh-CN.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "关闭",
- "error": "错误",
- "info": "信息",
- "success": "成功",
- "warning": "警告"
-}
\ No newline at end of file
diff --git a/src/Toast/intl/zh-TW.json b/src/Toast/intl/zh-TW.json
deleted file mode 100644
index 225305b884d..00000000000
--- a/src/Toast/intl/zh-TW.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "close": "關閉",
- "error": "錯誤",
- "info": "資訊",
- "success": "成功",
- "warning": "警告"
-}
\ No newline at end of file
diff --git a/src/Toast/js/Toast.js b/src/Toast/js/Toast.js
deleted file mode 100644
index 7a30eb24283..00000000000
--- a/src/Toast/js/Toast.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import AlertMedium from '../../Icon/core/AlertMedium';
-import Button from '../../Button';
-import classNames from 'classnames';
-import CrossMedium from '../../Icon/core/CrossMedium';
-import filterDOMProps from '../../utils/filterDOMProps';
-import InfoMedium from '../../Icon/core/InfoMedium';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React from 'react';
-import SuccessMedium from '../../Icon/core/SuccessMedium';
-
-importSpectrumCSS('toast');
-
-const formatMessage = messageFormatter(intlMessages);
-
-const ICONS = {
- error: AlertMedium,
- warning: AlertMedium,
- info: InfoMedium,
- success: SuccessMedium
-};
-
-const DEFAULT_ROLE = 'alert';
-
-export default function Toast({
- variant,
- children,
- closable,
- onClose,
- onAction,
- className,
- timeout,
- actionLabel,
- closeOnAction,
- ...otherProps
-}) {
- let Icon = ICONS[variant];
- let role = otherProps.role || DEFAULT_ROLE;
-
- const handleAction = (...args) => {
- if (onAction) {
- onAction(...args);
- }
-
- if (closeOnAction && onClose) {
- onClose(...args);
- }
- };
-
- return (
-
- {Icon &&
}
-
-
{children}
- {actionLabel &&
-
- }
-
- {closable &&
-
- {
-
-
-
- }
-
- }
-
- );
-}
-
-Toast.propTypes = {
- /** Contents to be displayed in the Toast. */
- children: PropTypes.node,
-
- /** Variant of toast to use. */
- variant: PropTypes.oneOf(['error', 'warning', 'info', 'success']),
-
- /** Whether to show close button on toast. */
- closable: PropTypes.bool,
-
- /** Label for action button. */
- actionLabel: PropTypes.string,
-
- /** Should the action button close the toast? */
- closeOnAction: PropTypes.bool,
-
- /** Function called when toast is closed. */
- onClose: PropTypes.func,
-
- /** Function called when action button is clicked. */
- onAction: PropTypes.func,
-
- /**
- * Set the amount of time in milliseconds that the toast should persist.
- * If set to 0, the toast will remain until closed manually.
- */
- timeout: PropTypes.number
-};
diff --git a/src/Toast/js/ToastContainer.js b/src/Toast/js/ToastContainer.js
deleted file mode 100644
index 3aedbb20c94..00000000000
--- a/src/Toast/js/ToastContainer.js
+++ /dev/null
@@ -1,169 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import CSSTransition from 'react-transition-group/CSSTransition';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import Timer from '../../utils/timer';
-import Toast from './Toast';
-import {TOAST_CONTAINERS, TOAST_PLACEMENT} from './state';
-import TransitionGroup from 'react-transition-group/TransitionGroup';
-import '../style/index.styl';
-
-const TOAST_TIMEOUT = 5000;
-const TOAST_ANIMATION_TIME = 200;
-
-/**
- * @type {Map}
- * Maps allow us to use objects as keys
- * timer - a Timer object
- * id - a unique integer to identify the toast by, used
- * to keep the key so React doesn't clobber our DOM and
- * cause use to lose focus while other elements are
- * being removed around it
- */
-const TOAST_DATA = new Map;
-
-export class ToastContainer extends React.Component {
- state = {
- placement: TOAST_PLACEMENT,
- toasts: []
- };
-
- timerAction(toast, action) {
- if (TOAST_DATA.has(toast)) {
- let timer = TOAST_DATA.get(toast).timer;
- if (timer) {
- timer[action]();
- }
- }
- }
-
- add(toast, timeout = TOAST_TIMEOUT) {
- if (timeout < 0) {
- timeout = TOAST_TIMEOUT;
- }
- TOAST_DATA.set(toast, {
- timer: timeout === 0 ? null : new Timer(this.remove.bind(this, toast), timeout),
- id: createId()
- });
-
- this.setState({
- toasts: [...this.state.toasts, toast]
- });
- }
-
- remove(toast, e) {
- const {toasts: currentToasts} = this.state;
- const toasts = currentToasts.filter(t => t !== toast);
-
- if (toasts.length !== currentToasts.length && toast.props.onClose) {
- toast.props.onClose(e);
- }
-
- this.setState({toasts});
-
- this.timerAction(toast, 'pause');
- TOAST_DATA.delete(toast);
- }
-
- onFocus(toast, e) {
- this.timerAction(toast, 'pause');
- if (toast.props.onFocus) {
- toast.props.onFocus();
- }
- }
-
- onBlur(toast, e) {
- this.timerAction(toast, 'resume');
- if (toast.props.onBlur) {
- toast.props.onBlur();
- }
- }
-
- render() {
- let [position, containerPlacement] = this.state.placement.split(' ');
- let className = classNames(
- 'react-spectrum-ToastContainer',
- `react-spectrum-ToastContainer--${position}`,
- containerPlacement && `react-spectrum-ToastContainer--${containerPlacement}`,
- );
-
- return (
-
- {this.state.toasts.map((toast) =>
- (
- {React.cloneElement(toast, {
- onClose: this.remove.bind(this, toast),
- onFocus: this.onFocus.bind(this, toast),
- onBlur: this.onBlur.bind(this, toast)
- })}
- )
- )}
-
- );
- }
-}
-
-function createToastNode(container) {
- let parent = container || document.querySelector('.react-spectrum-provider') || document.body;
- let node = document.createElement('div');
- parent.appendChild(node);
- return node;
-}
-
-function ensureToastContainer(container, callback) {
- let toastContainer = TOAST_CONTAINERS.get(container);
-
- // Make sure that toastContainer is a real DOM node, not only a memory footprint of previously cached node.
- if (toastContainer && document.body.contains(ReactDOM.findDOMNode(toastContainer))) {
- callback(toastContainer);
- } else {
- let toastContainerRef;
- ReactDOM.render( toastContainerRef = ref} />, createToastNode(container), () => {
- TOAST_CONTAINERS.set(container, toastContainerRef);
- callback(toastContainerRef);
- });
- }
-}
-
-export function addToast(toast, timeout, container) {
- ensureToastContainer(container, toastContainer => toastContainer.add(toast, timeout));
-}
-
-export function removeToast(toast, container) {
- ensureToastContainer(container, toastContainer => toastContainer.remove(toast));
-}
-
-export function success(message, options = {}) {
- addToast({message} , options.timeout, options.container);
-}
-
-export function warning(message, options = {}) {
- addToast({message} , options.timeout, options.container);
-}
-
-export function error(message, options = {}) {
- addToast({message} , options.timeout, options.container);
-}
-
-export function info(message, options = {}) {
- addToast({message} , options.timeout, options.container);
-}
-
diff --git a/src/Toast/js/state.js b/src/Toast/js/state.js
deleted file mode 100644
index da920a52860..00000000000
--- a/src/Toast/js/state.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export const TOAST_CONTAINERS = new Map;
-export let TOAST_PLACEMENT = 'top center';
-
-export function setToastPlacement(placement) {
- TOAST_PLACEMENT = placement;
-
- for (let container of TOAST_CONTAINERS.values()) {
- container.setState({placement});
- }
-}
diff --git a/src/Toast/style/index.styl b/src/Toast/style/index.styl
deleted file mode 100644
index 6e76056ed50..00000000000
--- a/src/Toast/style/index.styl
+++ /dev/null
@@ -1,98 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import '@spectrum/spectrum-variables/stylus/spectrum-light.styl';
-
-.react-spectrum-ToastContainer {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- z-index: 100050; /* above modals */
- display: flex;
- flex-direction: column;
- align-items: center;
- pointer-events: none;
-
- .spectrum-Toast {
- margin: 8px;
- pointer-events: all;
- }
-}
-.react-spectrum-ToastContainer--top {
- top: 0;
-}
-.react-spectrum-ToastContainer--bottom {
- flex-direction: column-reverse;
- top: unset;
- bottom: 0;
-}
-.react-spectrum-ToastContainer--left {
- align-items: flex-start;
-}
-.react-spectrum-ToastContainer--center {
- align-items: center;
-}
-.react-spectrum-ToastContainer--right {
- align-items: flex-end;
-}
-
-.react-spectrum-Toast-slide-top-enter, .react-spectrum-Toast-slide-top-appear {
- opacity: 0;
- transform: translate3d(0, -100%, 0);
-}
-
-.react-spectrum-Toast-slide-top-enter-active, .react-spectrum-Toast-slide-top-appear-active {
- opacity: 1;
- transform: translate3d(0, 0, 0);
- transition: all $spectrum-global-animation-transition-time;
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
-}
-
-.react-spectrum-Toast-slide-top-exit {
- opacity: 1;
- transform: translate3d(0, 0, 0);
-}
-
-.react-spectrum-Toast-slide-top-exit-active {
- opacity: 0;
- transform: translate3d(0, -100%, 0);
- transition: all $spectrum-global-animation-transition-time ease-in-out;
-}
-
-.react-spectrum-Toast-slide-bottom-enter, .react-spectrum-Toast-slide-bottom-enter-appear {
- opacity: 0;
- transform: translate3d(0, 100%, 0);
-}
-
-.react-spectrum-Toast-slide-bottom-enter-active, .react-spectrum-Toast-slide-bottom-appear-active {
- opacity: 1;
- transform: translate3d(0, 0, 0);
- transition: all $spectrum-global-animation-transition-time;
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.275);
-}
-
-.react-spectrum-Toast-slide-bottom-exit {
- opacity: 1;
- transform: translate3d(0, 0, 0);
-}
-
-.react-spectrum-Toast-slide-bottom-exit-active {
- opacity: 0;
- transform: translate3d(0, 100%, 0);
- transition: all $spectrum-global-animation-transition-time ease-in-out;
-}
diff --git a/src/Tooltip/index.js b/src/Tooltip/index.js
deleted file mode 100644
index c228141d294..00000000000
--- a/src/Tooltip/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Tooltip');
diff --git a/src/Tooltip/js/Tooltip.js b/src/Tooltip/js/Tooltip.js
deleted file mode 100644
index 40ec1948162..00000000000
--- a/src/Tooltip/js/Tooltip.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-
-importSpectrumCSS('tooltip');
-
-export default class Tooltip extends Component {
- static propTypes = {
- /**
- * The placement of the tooltip.
- */
- placement: PropTypes.oneOf(['bottom', 'top', 'left', 'right']),
-
- /**
- * The variant will affect color.
- */
- variant: PropTypes.oneOf(['inspect', 'info', 'success', 'error']),
-
- /**
- * The class name of the tooltip.
- */
- className: PropTypes.string,
-
- /**
- * The ID of the tooltip.
- */
- id: PropTypes.string,
-
- /**
- * The WAI-ARIA role for the tooltip
- */
- role: PropTypes.oneOf(['tooltip']),
-
- /**
- * Control if the tooltip should be opened or not.
- */
- open: PropTypes.bool
- };
-
- static defaultProps = {
- variant: 'inspect',
- placement: 'right',
- open: true,
- role: 'tooltip'
- };
-
- constructor(props) {
- super(props);
- this.tooltipId = createId();
- }
-
- render() {
- const {
- variant,
- children,
- arrowStyle,
- className,
- placement,
- open,
- id = this.tooltipId,
- ...otherProps
- } = this.props;
-
- return (
-
- {children}
-
-
- );
- }
-}
diff --git a/src/Tour/index.js b/src/Tour/index.js
deleted file mode 100644
index c7cd8642f6d..00000000000
--- a/src/Tour/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Tour');
diff --git a/src/Tour/intl/cs-CZ.json b/src/Tour/intl/cs-CZ.json
deleted file mode 100644
index e1a4755070f..00000000000
--- a/src/Tour/intl/cs-CZ.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Hotovo",
- "next": "Další",
- "skip": "Vynechat prohlídku"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/da-DK.json b/src/Tour/intl/da-DK.json
deleted file mode 100644
index 4d763ff70ce..00000000000
--- a/src/Tour/intl/da-DK.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "OK",
- "next": "Næste",
- "skip": "Spring rundvisning over"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/de-DE.json b/src/Tour/intl/de-DE.json
deleted file mode 100644
index dfc2e86974f..00000000000
--- a/src/Tour/intl/de-DE.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Fertig",
- "next": "Weiter",
- "skip": "Tour überspringen"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/en-US.json b/src/Tour/intl/en-US.json
deleted file mode 100644
index 3983c96acd4..00000000000
--- a/src/Tour/intl/en-US.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "next": "Next",
- "done": "Done",
- "skip": "Skip Tour"
-}
diff --git a/src/Tour/intl/es-ES.json b/src/Tour/intl/es-ES.json
deleted file mode 100644
index 7089ce3d142..00000000000
--- a/src/Tour/intl/es-ES.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Terminado",
- "next": "Siguiente",
- "skip": "Ignorar el tour"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/fi-FI.json b/src/Tour/intl/fi-FI.json
deleted file mode 100644
index 2157b1a1710..00000000000
--- a/src/Tour/intl/fi-FI.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Valmis",
- "next": "Seuraava",
- "skip": "Ohita esittely"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/fr-FR.json b/src/Tour/intl/fr-FR.json
deleted file mode 100644
index 522ed6b526f..00000000000
--- a/src/Tour/intl/fr-FR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Terminé",
- "next": "Suivant",
- "skip": "Ignorer la visite"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/hu-HU.json b/src/Tour/intl/hu-HU.json
deleted file mode 100644
index 526c6d1c29e..00000000000
--- a/src/Tour/intl/hu-HU.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Kész",
- "next": "Következő",
- "skip": "Bemutató átugrása"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/it-IT.json b/src/Tour/intl/it-IT.json
deleted file mode 100644
index 30b0e343c02..00000000000
--- a/src/Tour/intl/it-IT.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Fine",
- "next": "Successivo",
- "skip": "Salta introduzione"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/ja-JP.json b/src/Tour/intl/ja-JP.json
deleted file mode 100644
index e649de87dae..00000000000
--- a/src/Tour/intl/ja-JP.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "完了",
- "next": "次へ",
- "skip": "ツアーをスキップ"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/ko-KR.json b/src/Tour/intl/ko-KR.json
deleted file mode 100644
index 0e23d80b9b7..00000000000
--- a/src/Tour/intl/ko-KR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "완료",
- "next": "다음",
- "skip": "둘러보기 건너뛰기"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/nb-NO.json b/src/Tour/intl/nb-NO.json
deleted file mode 100644
index 074874f7a18..00000000000
--- a/src/Tour/intl/nb-NO.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Ferdig",
- "next": "Neste",
- "skip": "Hopp over omvisning"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/nl-NL.json b/src/Tour/intl/nl-NL.json
deleted file mode 100644
index e1d239006e6..00000000000
--- a/src/Tour/intl/nl-NL.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Gereed",
- "next": "Volgende",
- "skip": "Tour overslaan"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/pl-PL.json b/src/Tour/intl/pl-PL.json
deleted file mode 100644
index e7a0e91f014..00000000000
--- a/src/Tour/intl/pl-PL.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Zakończ",
- "next": "Dalej",
- "skip": "Pomiń krótki przewodnik"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/pt-BR.json b/src/Tour/intl/pt-BR.json
deleted file mode 100644
index e36266bae2f..00000000000
--- a/src/Tour/intl/pt-BR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Concluído",
- "next": "Próximo",
- "skip": "Ignorar o tour"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/ru-RU.json b/src/Tour/intl/ru-RU.json
deleted file mode 100644
index 16a34421779..00000000000
--- a/src/Tour/intl/ru-RU.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Готово",
- "next": "Далее",
- "skip": "Пропустить ознакомление"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/sv-SE.json b/src/Tour/intl/sv-SE.json
deleted file mode 100644
index 9c4318e4aab..00000000000
--- a/src/Tour/intl/sv-SE.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Klart",
- "next": "Nästa",
- "skip": "Hoppa över rundturen"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/tr-TR.json b/src/Tour/intl/tr-TR.json
deleted file mode 100644
index 1e496bf74e4..00000000000
--- a/src/Tour/intl/tr-TR.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Bitti",
- "next": "Sonraki",
- "skip": "Turu Atla"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/uk-UA.json b/src/Tour/intl/uk-UA.json
deleted file mode 100644
index b64a34f4135..00000000000
--- a/src/Tour/intl/uk-UA.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "Готово",
- "next": "Наступний",
- "skip": "Пропустити тур"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/zh-CN.json b/src/Tour/intl/zh-CN.json
deleted file mode 100644
index cf6be4437e8..00000000000
--- a/src/Tour/intl/zh-CN.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "完成",
- "next": "下一页",
- "skip": "跳过教程"
-}
\ No newline at end of file
diff --git a/src/Tour/intl/zh-TW.json b/src/Tour/intl/zh-TW.json
deleted file mode 100644
index 816323688a5..00000000000
--- a/src/Tour/intl/zh-TW.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "done": "完成",
- "next": "下一頁",
- "skip": "略過導覽"
-}
\ No newline at end of file
diff --git a/src/Tour/js/Tour.js b/src/Tour/js/Tour.js
deleted file mode 100644
index cc6b8c2a627..00000000000
--- a/src/Tour/js/Tour.js
+++ /dev/null
@@ -1,141 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {chain} from '../../utils/events';
-import intlMessages from '../intl/*.json';
-import {messageFormatter} from '../../utils/intl';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-const formatMessage = messageFormatter(intlMessages);
-
-export let STATUS_CANCEL = 'cancel';
-export let STATUS_COMPLETE = 'complete';
-
-@autobind
-export default class Tour extends React.Component {
- static propTypes = {
- /** Hide progress, the current step/total steps number in the
- * top right of a coachmark, this is passed through */
- disableProgress: PropTypes.bool,
-
- /** when not clicking on the coachmark itself, this determines the behavior.
- * - 'next': a click off will behave the same as clicking 'next' on a coachmark
- * - 'skip': a click off will skip the remainder of the tour
- * - 'noop': a click off will do nothing
- **/
- clickOutsideAction: PropTypes.oneOf(['next', 'skip', 'noop']),
-
- /**
- * Event when tour is finished. It's passed 'cancel' if the tour ended via the skip button
- * or other form of early dismissal. It's passed 'complete' if the tour is completed.
- */
- onTourEnd: PropTypes.func
- };
-
- static defaultProps = {
- disableProgress: false,
- clickOutsideAction: 'noop'
- };
-
- constructor(props) {
- super(props);
-
- this.state = {
- current: 0,
- total: 0,
- hidden: false
- };
- }
-
- componentDidMount() {
- if (this.props.children) {
- this.setState({
- total: React.Children.count(this.props.children)
- });
- }
- }
-
- onConfirm() {
- if (this.state.current === this.state.total - 1) {
- this.setState({
- hidden: true
- });
- if (this.props.onTourEnd) {
- this.props.onTourEnd(STATUS_COMPLETE);
- }
- } else {
- this.setState({
- current: this.state.current + 1
- });
- }
- }
-
- onCancel() {
- this.setState({
- current: 0,
- hidden: true
- });
- if (this.props.onTourEnd) {
- this.props.onTourEnd(STATUS_CANCEL);
- }
- }
-
- onHide(event, currentChild) {
- if (this.props.clickOutsideAction === 'next') {
- chain(this.onConfirm, currentChild.props.onConfirm)(event);
- } else if (this.props.clickOutsideAction === 'skip') {
- chain(this.onCancel, currentChild.props.onCancel)(event);
- }
- }
-
- render() {
- let {
- children,
- disableProgress,
- clickOutsideAction
- } = this.props;
-
- let {
- current,
- total,
- hidden
- } = this.state;
-
- if (!children || React.Children.count(children) <= this.state.current) {
- throw new Error('Tour should always have children!');
- }
-
- if (hidden) {
- return null;
- }
-
- let currentChild = React.Children.toArray(this.props.children)[current];
- return React.cloneElement(currentChild, {
- disableProgress,
- currentStep: current + 1,
- totalSteps: total,
- dismissible: (clickOutsideAction === 'skip' || clickOutsideAction === 'next') ? true : undefined,
- onConfirm: chain(this.onConfirm, currentChild.props.onConfirm),
- onCancel: chain(this.onCancel, currentChild.props.onCancel),
- onHide: (event) => this.onHide(event, currentChild),
- confirmLabel: currentChild.props.confirmLabel || (current < total - 1 ? formatMessage('next') : formatMessage('done')),
- cancelLabel: currentChild.props.cancelLabel || (current < total - 1 ? formatMessage('skip') : null)
- });
- }
-}
diff --git a/src/TreeDataSource/index.js b/src/TreeDataSource/index.js
deleted file mode 100644
index 9ceb54136cd..00000000000
--- a/src/TreeDataSource/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/TreeDataSource');
diff --git a/src/TreeDataSource/js/TreeDataSource.js b/src/TreeDataSource/js/TreeDataSource.js
deleted file mode 100644
index a54ca196e57..00000000000
--- a/src/TreeDataSource/js/TreeDataSource.js
+++ /dev/null
@@ -1,135 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {EventEmitter} from 'events';
-
-/**
- * TreeDataSource is a common data source used by views that render heirarchical data,
- * such as [TreeView](/components/TreeView) and [ColumnView](/components/ColumnView).
- * It supports async loading, drag and drop, and has methods to update data in connected components.
- */
-export default class TreeDataSource extends EventEmitter {
- /**
- * Loads and returns the child items for the given parent.
- * The parent will be `null` if it is the root.
- * @param {object} item
- * @return {object[]}
- * @abstract
- */
- async getChildren(item) {
- throw new Error('getChildren must be implemented by subclasses');
- }
-
- /**
- * Returns whether the given parent item has children
- * @param {object} parent
- * @return {boolean}
- * @abstract
- */
- hasChildren(parent) {
- throw new Error('hasChildren must be implemented by subclasses');
- }
-
- /**
- * Starts a transaction. All changes until `endTransaction` is called
- * are batched together and applied at once.
- */
- startTransaction() {
- this.emit('startTransaction');
- }
-
- /**
- * Ends a transaction. All changes since the last `startTransaction` call
- * are applied together.
- * @param {boolean} [animated=true] whether the changes should be animated
- */
- endTransaction(animated) {
- this.emit('endTransaction', animated);
- }
-
- /**
- * Inserts a child into the given parent item.
- * @param {object} parent - The parent object to insert into
- * @param {number} index - The child insertion index
- * @param {object} child - The child to insert
- */
- insertChild(parent, index, child) {
- this.emit('insertChild', parent, index, child);
- }
-
- /**
- * Removes an item from its parent.
- * @param {object} item - The item to remove
- */
- removeItem(item) {
- this.emit('removeItem', item);
- }
-
- /**
- * Moves an item to a new parent, or to a new index within the same parent
- * @param {object} fromParent - The item to move
- * @param {object} [toParent] - The parent item to move to. If not provided, the item is moved within the same parent.
- * @param {number} toIndex - The index to move the item to
- */
- moveItem(item, toParent, toIndex) {
- this.emit('moveItem', item, toParent, toIndex);
- }
-
- /**
- * Reloads the given item
- * @param {object} item
- */
- reloadItem(item) {
- this.emit('reloadItem', item);
- }
-
- /**
- * Performs a drop operation on an item in the tree. By default,
- * it inserts all of the items into the target at the start.
- * @param {object} target - the target item of the drop
- * @param {object} index - the index within the target to insert the items at
- * @param {DropOperation} dropOperation - the operation to perform
- * @param {Array} items - the items being dropped
- */
- performDrop(target, index, dropOperation, items) {
- this.startTransaction();
-
- for (let item of items) {
- this.insertChild(target, index++, item);
- }
-
- this.endTransaction();
- }
-
- /**
- * Performs a drag and drop move operation. By default,
- * it inserts all of the items into the target at the start.
- * @param {object} target - the target item of the drop
- * @param {object} index - the index within the target to move the items to
- * @param {DropOperation} dropOperation - the operation to perform
- * @param {Array} items - the items being moved
- */
- performMove(target, index, dropOperation, items) {
- this.startTransaction();
-
- for (let item of items) {
- this.moveItem(item, target, index++);
- }
-
- this.endTransaction();
- }
-}
diff --git a/src/TreeView/index.js b/src/TreeView/index.js
deleted file mode 100644
index 7fa646add40..00000000000
--- a/src/TreeView/index.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export {default as TreeView} from './js/TreeView';
-export {default as TreeViewDataSource} from './js/TreeViewDataSource';
diff --git a/src/TreeView/js/TreeItem.js b/src/TreeView/js/TreeItem.js
deleted file mode 100644
index a940ea32d8c..00000000000
--- a/src/TreeView/js/TreeItem.js
+++ /dev/null
@@ -1,163 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import ChevronRightMedium from '../../Icon/core/ChevronRightMedium';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import focusRing from '../../utils/focusRing';
-import React from 'react';
-import VisuallyHidden from '../../VisuallyHidden';
-
-@autobind
-@focusRing
-export default class TreeItem extends React.Component {
- constructor(props) {
- super(props);
- this.itemId = createId();
- }
-
- /**
- * Sets focus to the TreeItem DOM element.
- */
- focus() {
- if (this.treeitem) {
- this.treeitem.focus();
- }
- }
-
- getOwnedChildIds() {
- const {
- content,
- collectionView,
- treeId = this.itemId
- } = this.props;
-
- const {
- hasChildren,
- children,
- isExpanded,
- level = 0
- } = content;
-
- let ownedChildIds = null;
-
- if (hasChildren && isExpanded && children && children.length > 0) {
- // Filter visible views to only items that are children of this item, and generate ids
- ownedChildIds = collectionView.visibleViews
- .filter(view => view.content.parent === content)
- .sort((a, b) => a.content.index - b.content.index)
- .map(view => `${treeId}-${level + 1}-${view.content.index}`)
- .join(' ');
- }
-
- return !ownedChildIds || !ownedChildIds.length ? null : ownedChildIds;
- }
-
- onToggle(e) {
- let {content, onToggle} = this.props;
- if (onToggle) {
- onToggle(content.item, e);
- }
-
- requestAnimationFrame(() => this.focus());
- }
-
- stopPropagationAndPreventDefault(e) {
- e.stopPropagation();
- e.preventDefault();
- }
-
- setTreeItemRef(t) {
- this.treeitem = t;
- }
-
- render() {
- let {
- content,
- renderItem,
- allowsSelection,
- selected,
- focused,
- collectionView,
- treeId = this.itemId,
- 'drop-target': isDropTarget,
- onKeyDown
- } = this.props;
-
- let {
- item,
- hasChildren,
- isToggleable,
- isExpanded,
- parent,
- level = 0
- } = content;
-
- let itemClassName = classNames('spectrum-TreeView-item', {
- 'is-open': isExpanded
- });
-
- let linkClassName = classNames('spectrum-TreeView-itemLink', {
- 'is-selected': (allowsSelection && selected),
- 'is-focused': focused,
- 'is-drop-target': isDropTarget
- });
-
- let tabIndex = null;
- if (collectionView) {
- tabIndex = focused || !collectionView.focusedIndexPath ? 0 : -1;
- }
-
- let setSize = parent.children ? parent.children.length : 0;
- let posInSet = content.index;
- let id = `${treeId}-${level}-${posInSet}`;
- let ownedChildIds = this.getOwnedChildIds();
-
- return (
-
-
- {isToggleable && hasChildren &&
-
- }
- {renderItem(item, content)}
- {ownedChildIds &&
-
- }
-
-
- );
- }
-}
diff --git a/src/TreeView/js/TreeView.js b/src/TreeView/js/TreeView.js
deleted file mode 100644
index 939742acd76..00000000000
--- a/src/TreeView/js/TreeView.js
+++ /dev/null
@@ -1,374 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import createId from '../../utils/createId';
-import {DragTarget, EditableCollectionView, IndexPath, ListLayout} from '@react/collection-view';
-import PropTypes from 'prop-types';
-import Provider from '../../Provider';
-import proxy from '../../utils/proxyObject';
-import React from 'react';
-import TreeItem from './TreeItem';
-import '../style/index.styl';
-import TreeViewDataSource from './TreeViewDataSource';
-import TreeViewDelegate from './TreeViewDelegate';
-
-importSpectrumCSS('treeview');
-
-/**
- * TreeView renders a collapseable heirarchical tree
- */
-@autobind
-export default class TreeView extends React.Component {
- static propTypes = {
- /** The datasource for the tree view. Should be a subclass of `TreeDataSource`. */
- dataSource: PropTypes.object.isRequired,
-
- /** A function which renders an item in the tree */
- renderItem: PropTypes.func.isRequired,
-
- /* A function that is called when the selection changes. Passes a list of all selected items. */
- onSelectionChange: PropTypes.func,
-
- /**
- * A function that is called when an item is toggled (expanded/collapsed).
- * Will only fire if item is toggleable and has children.
- * Passes the item being toggled and the isExpanded state.
- */
- onToggleItem: PropTypes.func,
-
- /** Sets the selected items. Optional. */
- selectedItems: PropTypes.arrayOf(PropTypes.object),
-
- /** Whether to allow the user to select items */
- allowsSelection: PropTypes.bool,
-
- /** Whether to allow the user to select no items. */
- allowsEmptySelection: PropTypes.bool,
-
- /** Whether to allow the user to select multiple items */
- allowsMultipleSelection: PropTypes.bool,
-
- /** An optional delegate for the tree view. */
- delegate: PropTypes.object,
-
- /** The timeout after which items automatically expand when dragging over them. */
- dragHoverTimeout: PropTypes.number,
-
- /** Whether the user can drag rows from the table. */
- canDragItems: PropTypes.bool,
-
- /** A function which renders the view to display under the cursor during drag and drop. */
- renderDragView: PropTypes.func,
-
- /**
- * Whether the TableView accepts drops.
- * If `true`, the table accepts all types of drops. Alternatively,
- * it can be set to an array of accepted drop types.
- */
- acceptsDrops: PropTypes.oneOfType([PropTypes.bool, PropTypes.arrayOf(PropTypes.string)]),
-
- /** Custom CSS class to add to the tree view */
- className: PropTypes.string
- };
-
- static defaultProps = {
- allowsSelection: false,
- allowsEmptySelection: true,
- allowsMultipleSelection: false,
- dragHoverTimeout: 800
- };
-
- // These come from the parent Provider. Used to set the correct props
- // to the provider that wraps the drag view.
- static contextTypes = {
- theme: PropTypes.string,
- scale: PropTypes.string,
- locale: PropTypes.string
- };
-
- constructor(props) {
- super(props);
-
- this.layout = new ListLayout({
- rowHeight: 44
- });
-
- this.treeId = createId();
-
- let dataSource = this.getDataSource(props);
- let delegate = this.getDelegate(props, dataSource);
- this.state = {
- dataSource,
- delegate
- };
- }
-
- getDataSource(props) {
- // If the data source provided is a TreeViewDataSource (old API), use it directly,
- // otherwise wrap it.
- let dataSource = props.dataSource instanceof TreeViewDataSource
- ? props.dataSource
- : new TreeViewDataSource(props.dataSource);
-
- // Update selected items once loaded
- if (props.selectedItems) {
- dataSource.once('load', () => this.forceUpdate());
- }
-
- return dataSource;
- }
-
- getDelegate(props, dataSource) {
- // Combine the data source and delegate objects.
- // Providing methods on the data source has superseded providing an explicit delegate,
- // but the old way is supported for backward compatibility.
- let combinedDelegate = Object.assign({}, proxy(props.dataSource), proxy(props.delegate));
-
- // Create a delegate proxy object, which ensures that the delegate methods are
- // called with item objects rather than IndexPaths, which don't make sense in a tree.
- let delegate = new TreeViewDelegate(dataSource, combinedDelegate);
-
- // Finally, combine the delegate with the TreeView itself, which is needed
- // for UI rendering purposes.
- return Object.assign({}, proxy(delegate), proxy(this));
- }
-
- componentWillReceiveProps(props) {
- if (props.dataSource !== this.props.dataSource) {
- this.state.dataSource.teardown();
- let dataSource = this.getDataSource(props);
- let delegate = this.getDelegate(props, dataSource);
- this.setState({
- dataSource,
- delegate
- });
- }
- }
-
- componentWillUnmount() {
- this.state.dataSource.teardown();
- }
-
- render() {
- const {
- selectedItems,
- className,
- id = this.treeId,
- allowsSelection,
- allowsEmptySelection,
- allowsMultipleSelection
- } = this.props;
- let {dataSource} = this.state;
-
- let selectedIndexPaths;
- if (selectedItems) {
- selectedIndexPaths = selectedItems.map(item => dataSource.indexPathForItem(item)).filter(Boolean);
- }
-
- return (
- this.collection = c}
- className={classNames('spectrum-TreeView', className)}
- layout={this.layout}
- delegate={this.state.delegate}
- dataSource={dataSource}
- transitionDuration={300}
- canSelectItems={this.props.allowsSelection}
- selectedIndexPaths={selectedIndexPaths}
- onSelectionChanged={this.onSelectionChange}
- onKeyDown={this.onKeyDown}
- role="tree"
- id={id}
- aria-multiselectable={allowsSelection && allowsMultipleSelection}
- selectionMode={allowsSelection && (allowsMultipleSelection || allowsEmptySelection) ? 'toggle' : 'replace'}
- keyboardMode="focus" />
- );
- }
-
- renderItemView(type, content) {
- return (
-
- );
- }
-
- renderDragView(target) {
- let dragView;
- let style = {
- background: 'transparent'
- };
-
- // Use custom drag renderer if provided,
- // otherwise just get the existing item view.
- if (this.props.renderDragView) {
- dragView = this.props.renderDragView(target, this.collection.selectedIndexPaths);
- } else {
- // Get the item wrapper view from collection-view. The first child is the actual item component.
- let view = this.collection.getItemView(target.indexPath);
- dragView = [...view.children][0];
-
- style.width = view.layoutInfo.rect.width;
- style.height = view.layoutInfo.rect.height;
- }
-
- // Wrap in a spectrum provider so spectrum components are themed correctly.
- return (
-
- {dragView}
-
- );
- }
-
- indentationForItem(section, index) {
- if (!this.collection) {
- return 0;
- }
- let content = this.collection.getItem(section, index);
- return 28 * content.level;
- }
-
- onKeyDown(e) {
- const {dataSource} = this.state;
- let focusedItem = this.focusedItem;
- let treeItem;
- let indexPath;
- if (focusedItem) {
- treeItem = dataSource._getItem(focusedItem);
- switch (e.key) {
- case 'ArrowRight':
- if (treeItem && treeItem.hasChildren) {
- if (treeItem.isExpanded) {
- let nextItem = treeItem.children && treeItem.children[0];
- indexPath = nextItem ? dataSource.indexPathForItem(nextItem.item) : null;
- } else {
- e.preventDefault();
- this.expandItem(focusedItem);
- }
- }
- break;
- case 'ArrowLeft':
- if (treeItem) {
- if (treeItem.isExpanded) {
- e.preventDefault();
- this.collapseItem(focusedItem);
- } else if (treeItem.parent) {
- indexPath = dataSource.indexPathForItem(treeItem.parent.item);
- }
- }
- break;
- case 'Home':
- indexPath = new IndexPath(0, 0);
- break;
- case 'End':
- indexPath = new IndexPath(0, dataSource.sections[0].length - 1);
- break;
- }
-
- if (indexPath) {
- e.preventDefault();
- this.collection.scrollToItem(indexPath);
- this.collection.focusItem(indexPath);
- }
- }
-
- if (this.props.onKeyDown) {
- this.props.onKeyDown(e);
- }
- }
-
- /**
- * Expands or collapses the given item depending on its current state.
- * @param {object} item
- */
- toggleItem(item) {
- this.state.dataSource.toggleItem(item);
-
- if (this.props.onToggleItem) {
- const treeItem = this.state.dataSource._getItem(item);
- if (treeItem && treeItem.isToggleable && treeItem.hasChildren) {
- this.props.onToggleItem(treeItem.item, treeItem.isExpanded);
- }
- }
- }
-
- /**
- * Expands the given item, displaying all of its children.
- * @param {object} item
- */
- expandItem(item) {
- this.state.dataSource.expandItem(item);
- }
-
- /**
- * Collapses the given item, hiding all of its children.
- * @param {object} item
- */
- collapseItem(item) {
- this.state.dataSource.collapseItem(item);
- }
-
- selectItem(item) {
- let indexPath = this.state.dataSource.indexPathForItem(item);
- if (indexPath) {
- this.collection.selectItem(indexPath);
- }
- }
-
- get selectedItems() {
- if (!this.collection) {
- return [];
- }
-
- return Array.from(this.collection.selectedIndexPaths)
- .map(indexPath => this.collection.getItem(indexPath).item);
- }
-
- get focusedItem() {
- if (!this.collection || !this.collection.focusedIndexPath) {
- return null;
- }
-
- return this.collection.getItem(this.collection.focusedIndexPath).item;
- }
-
- onSelectionChange() {
- if (this.props.onSelectionChange) {
- this.props.onSelectionChange(this.selectedItems);
- }
- }
-
- dropTargetUpdated(dropTarget) {
- clearTimeout(this._dragHoverTimer);
-
- // Expand tree items when a drag hovers over
- if (dropTarget && dropTarget.dropPosition === DragTarget.DROP_ON) {
- this._dragHoverTimer = setTimeout(() => {
- let item = this.collection.getItem(dropTarget.indexPath);
- if (item) {
- this.expandItem(item.item);
- }
- }, this.props.dragHoverTimeout);
- }
- }
-}
diff --git a/src/TreeView/js/TreeViewDataSource.js b/src/TreeView/js/TreeViewDataSource.js
deleted file mode 100644
index a455c324feb..00000000000
--- a/src/TreeView/js/TreeViewDataSource.js
+++ /dev/null
@@ -1,595 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {ArrayDataSource, IndexPath} from '@react/collection-view';
-import autobind from 'autobind-decorator';
-
-/**
- * Represents a node in the tree
- * @private
- */
-@autobind
-class TreeItem {
- constructor(item, parent, hasChildren, index) {
- this.item = item;
- this.hasChildren = hasChildren;
- this.children = null;
- this.isToggleable = true;
- this.isExpanded = false;
- this.isVisible = false;
- this.isLoading = false;
- this.parent = parent;
- this.level = parent ? parent.level + 1 : -1;
- this.index = index;
- }
-
- walk(fn, all = false) {
- if (!this.children) {
- return;
- }
-
- for (let child of this.children) {
- fn(child);
- if (child.isExpanded || all) {
- child.walk(fn);
- }
- }
- }
-
- get nextSibling() {
- if (!this.parent || !this.parent.children) {
- return null;
- }
-
- let siblings = this.parent.children;
- return siblings[this.index + 1];
- }
-
- updateChildIndices(start = 0, end) {
- if (!this.children) {
- return;
- }
-
- if (end == null) {
- end = this.children.length;
- }
-
- for (let i = start; i < end; i++) {
- this.children[i].index = i;
- }
- }
-}
-
-/*
- * TreeViewDataSource is the super class for all data sources used
- * by TreeView. It manages expanding and collapsing items, loading
- * children on demand, and manipulation of that data. Because it
- * uses content objects as the keys for many of its methods, all
- * items in the tree must be unique.
- */
-export default class TreeViewDataSource extends ArrayDataSource {
- constructor(dataSource) {
- super([[]]);
-
- this.root = new TreeItem(null, null, false);
- this.root.isExpanded = true;
- this.lookup = new Map;
- this.dataSource = dataSource;
-
- if (dataSource && typeof dataSource.on === 'function') {
- // Bind methods that come from ArrayDataSource
- this.startTransaction = this.startTransaction.bind(this);
- this.endTransaction = this.endTransaction.bind(this);
-
- // Setup event handlers
- dataSource.on('startTransaction', this.startTransaction);
- dataSource.on('endTransaction', this.endTransaction);
- dataSource.on('insertChild', this.insertChild);
- dataSource.on('removeItem', this.removeItem);
- dataSource.on('moveItem', this.moveItem);
- dataSource.on('reloadItem', this.reloadItem);
- }
-
- process.nextTick(() => this.loadData());
- }
-
- teardown() {
- if (this.dataSource && typeof this.dataSource.removeListener === 'function') {
- this.dataSource.removeListener('startTransaction', this.startTransaction);
- this.dataSource.removeListener('endTransaction', this.endTransaction);
- this.dataSource.removeListener('insertChild', this.insertChild);
- this.dataSource.removeListener('removeItem', this.removeItem);
- this.dataSource.removeListener('moveItem', this.moveItem);
- this.dataSource.removeListener('reloadItem', this.reloadItem);
- }
- }
-
- async loadData() {
- this.lookup = new Map;
- await this.loadChildren(this.root);
-
- let items = [];
- this.root.walk(child => {
- child.isVisible = true;
- items.push(child);
- });
-
- this.replaceSection(0, items, false);
- this.emit('load');
- }
-
- async loadChildren(parent) {
- parent.isLoading = true;
- this.reloadItem(parent.item);
-
- let items = await this.getChildren(parent.item);
- let res = [];
- let index = 0;
-
- for (let item of items) {
- let node = this.getTreeItem(item, parent, index++);
-
- if (node.isExpanded) {
- await this.loadChildren(node);
- }
-
- res.push(node);
- this.lookup.set(item, node);
- }
-
- parent.children = res;
- parent.hasChildren = res.length > 0;
- parent.isLoading = false;
- this.reloadItem(parent.item);
- }
-
- getTreeItem(item, parent, index) {
- return new TreeItem(item, parent, this.hasChildren(item), index);
- }
-
- /**
- * Loads and returns the child items for the given parent.
- * The parent will be `null` if it is the root.
- * @param {object} parent
- * @return {object[]}
- * @abstract
- */
- async getChildren(parent) {
- if (this.dataSource) {
- return this.dataSource.getChildren(parent);
- }
-
- throw new Error('getChildren must be implemented by subclasses');
- }
-
- /**
- * Returns whether the given parent item has children
- * @param {object} parent
- * @return {boolean}
- * @abstract
- */
- hasChildren(parent) {
- if (this.dataSource) {
- return this.dataSource.hasChildren(parent);
- }
-
- throw new Error('hasChildren must be implemented by subclasses');
- }
-
- _getItem(parent) {
- if (!parent) {
- return this.root;
- }
-
- let node = this.lookup.get(parent);
- if (node) {
- return node;
- }
-
- // If nothing was found in the lookup, an equivalent object may exist with different object identity.
- // Search through the map to find one that matches the isItemEqual comparator.
- return this._findItem(this.lookup.values(), parent);
- }
-
- _findItem(haystack, needle) {
- let isItemEqual = this.dataSource && this.dataSource.isItemEqual;
- if (typeof isItemEqual !== 'function') {
- return null;
- }
-
- for (let node of haystack) {
- if (isItemEqual(node.item, needle)) {
- return node;
- }
- }
-
- return null;
- }
-
- /**
- * Returns the row IndexPath for the provided item, and optionally
- * increments it by the given number of rows.
- * @param {object} item
- * @param {number?} inc
- * @returns {IndexPath}
- */
- indexPathForItem(item, inc = 0) {
- let content = this._getItem(item);
- if (!content) {
- return null;
- }
-
- let index = this.sections[0].indexOf(content);
- if (index === -1) {
- return null;
- }
-
- return new IndexPath(0, index + inc);
- }
-
- /**
- * Reloads the given item
- * @param {object} item
- */
- reloadItem(item) {
- let indexPath = this.indexPathForItem(item);
- if (indexPath) {
- this.emit('reloadItem', indexPath, false);
- }
- }
-
- /**
- * Returns an array of children that are currently
- * loaded for the given parent item, or null if the
- * children have not been loaded for that parent.
- * @param {object} parent
- * @return {object[]}
- */
- getLoadedChildren(parent) {
- let item = this._getItem(parent);
- if (!item || !item.children) {
- return null;
- }
-
- return item.children.map(child => child.item);
- }
-
- /**
- * Returns whether the given content item is expanded
- * @param {object} item
- * @return {boolean}
- */
- isExpanded(item) {
- let node = this._getItem(item);
- return node && node.isExpanded;
- }
-
- /**
- * Expands or collapses the given item depending on its current state.
- * @param {object} item
- */
- async toggleItem(item) {
- let node = this._getItem(item);
- if (!node) {
- return;
- }
-
- if (node.isExpanded) {
- this.collapseItem(node.item);
- } else {
- await this.expandItem(node.item);
- }
- }
-
- /**
- * Expands the given item, displaying all of its children.
- * @param {object} item
- * @param {boolean} showAnimation
- */
- async expandItem(item, showAnimation = true) {
- let node = this._getItem(item);
- if (!node || node.isExpanded) {
- return;
- }
-
- // Update parent
- node.isExpanded = true;
- this.reloadItem(node.item);
-
- // Load children if needed.
- if (!node.children) {
- await this.loadChildren(node);
- }
-
- // Add all children to the visible set
- this.startTransaction();
-
- let indexPath = this.indexPathForItem(node.item);
- node.walk(child => {
- indexPath.index++;
- if (!child.isVisible) {
- child.isVisible = true;
- this.insertItem(indexPath, child);
- }
- });
-
- this.endTransaction(showAnimation);
- }
-
- /**
- * Collapses the given item, hiding all of its children.
- * @param {object} item
- * @param {boolean} showAnimation
- */
- collapseItem(item, showAnimation = true) {
- let node = this._getItem(item);
- if (!node || !node.isExpanded) {
- return;
- }
-
- // Update parent
- node.isExpanded = false;
- this.reloadItem(node.item);
-
- // Remove all children from visible
- this.startTransaction();
-
- let indexPath = this.indexPathForItem(node.item, +1);
- node.walk(child => {
- if (child.isVisible) {
- child.isVisible = false;
- super.removeItem(indexPath);
- }
- });
-
- this.endTransaction(showAnimation);
- }
-
- _findInsertionIndex(parent, index) {
- let parentItem = this._getItem(parent);
- if (!parentItem.isExpanded) {
- return null;
- }
-
- // If there are no children, insert after the parent item.
- if (parentItem.children.length === 0) {
- return this.indexPathForItem(parentItem.item, +1);
- }
-
- // Check if appending to the parent
- if (index >= parentItem.children.length) {
- // Insert before the next sibling.
- let nextSibling = parentItem.nextSibling;
- if (nextSibling) {
- return this.indexPathForItem(nextSibling.item);
- } else {
- return new IndexPath(0, this.sections[0].length);
- }
- }
-
- // Otherwise, insert before the current item at the given index.
- return this.indexPathForItem(parentItem.children[index].item);
- }
-
- /**
- * Inserts a child into the given parent item.
- * @param {object} parent - The parent object to insert into
- * @param {number} index - The child insertion index
- * @param {object} child - The child to insert
- */
- insertChild(parent, index, child) {
- let parentItem = this._getItem(parent);
- if (!parentItem) {
- return;
- }
-
- // Make sure the disclosure indicator is correct
- if (!parentItem.hasChildren) {
- parentItem.hasChildren = true;
- this.reloadItem(parentItem.item);
- }
-
- // If the children have been loaded, insert the new child
- if (parentItem.children) {
- let insertionIndex = this._findInsertionIndex(parentItem.item, index);
- let childItem = new TreeItem(child, parentItem, this.hasChildren(child), index);
- parentItem.children.splice(index, 0, childItem);
- parentItem.updateChildIndices(index + 1);
- this.lookup.set(child, childItem);
-
- // Add to the visible items if the parent is expanded
- if (parentItem.isExpanded) {
- childItem.isVisible = true;
- this.insertItem(insertionIndex, childItem);
- }
- }
- }
-
- /**
- * Removes a child index from the given parent item.
- * @param {object} parent - The parent item to remove from
- * @param {number} index - The child index to remove
- */
- removeChild(parent, index) {
- let parentItem = this._getItem(parent);
- if (!parentItem || !parentItem.children) {
- return;
- }
-
- // Remove the child
- let child = parentItem.children[index];
- parentItem.children.splice(index, 1);
- parentItem.updateChildIndices(index);
-
- // Make sure the disclosure indicator is correct
- if (parentItem.children.length === 0) {
- parentItem.hasChildren = false;
- this.reloadItem(parentItem.item);
- }
-
- // Remove from the visible items if the parent is expanded
- if (parentItem.isExpanded) {
- this.startTransaction();
-
- let indexPath = this.indexPathForItem(child.item);
- child.isVisible = false;
- super.removeItem(indexPath);
-
- // Remove all children
- if (child.isExpanded) {
- child.walk(child => {
- child.isVisible = false;
- super.removeItem(indexPath);
- });
- }
-
- this.endTransaction();
- }
-
- // Remove all children from the lookup map
- child.walk(child => {
- this.lookup.delete(child.item);
- }, true);
-
- this.lookup.delete(child.item);
- }
-
- /**
- * Removes an item from the tree view.
- * @param {object} item - The item to remove
- */
- removeItem(item) {
- let node = this._getItem(item);
- if (!node) {
- return;
- }
-
- this.removeChild(node.parent.item, node.index);
- }
-
- /**
- * Moves an item from one parent to another
- * @param {object} fromParent - The parent item to move from
- * @param {number} fromIndex - The index of the child item to move
- * @param {object} toParent - The parent item to move to
- * @param {number} toIndex - The index to move the item to
- */
- moveChild(fromParent, fromIndex, toParent, toIndex) {
- let fromItem = this._getItem(fromParent);
- let toItem = this._getItem(toParent);
- if (!fromItem || !fromItem.children || !toItem) {
- return;
- }
-
- // Find the visible indexes to update
- let child = fromItem.children[fromIndex];
- let fromVisibleIndex = this.indexPathForItem(child.item);
- let toVisibleIndex = this._findInsertionIndex(toItem.item, toIndex);
-
- // Move the child to the new parent
- child.parent = toItem;
- child.level = toItem.level + 1;
-
- fromItem.children.splice(fromIndex, 1);
- if (toItem.children) {
- toItem.children.splice(toIndex, 0, child);
- }
-
- // Update indices of changed items
- if (fromItem === toItem) {
- fromItem.updateChildIndices(Math.min(fromIndex, toIndex), Math.max(fromIndex, toIndex) + 1);
- } else {
- fromItem.updateChildIndices(fromIndex);
- toItem.updateChildIndices(toIndex);
- }
-
- // Reload both parents to ensure the disclosure indicators are correct
- if (fromItem.children.length === 0) {
- fromItem.hasChildren = false;
- this.reloadItem(fromItem.item);
- }
-
- if (!toItem.hasChildren) {
- toItem.hasChildren = true;
- this.reloadItem(toItem.item);
- }
-
- // Move, remove, or insert the item from visible depending on whether parents are expanded
- if (fromItem.isExpanded && toItem.isExpanded) {
- if (toVisibleIndex.index > fromVisibleIndex.index) {
- toVisibleIndex.index--;
- }
-
- super.moveItem(fromVisibleIndex, toVisibleIndex);
- } else if (fromItem.isExpanded) {
- child.isVisible = false;
- super.removeItem(fromVisibleIndex);
- } else if (toItem.isExpanded) {
- child.isVisible = true;
- this.insertItem(toVisibleIndex, child);
- }
- }
-
- /**
- * Moves an item to a new parent, or to a new index within the same parent
- * @param {object} fromParent - The item to move
- * @param {object} [toParent] - The parent item to move to. If not provided, the item is moved within the same parent.
- * @param {number} toIndex - The index to move the item to
- */
- moveItem(item, toParent, toIndex) {
- let node = this._getItem(item);
- if (!node) {
- return;
- }
-
- if (typeof toParent === 'number') {
- toIndex = toParent;
- toParent = node.parent.item;
- }
-
- this.moveChild(node.parent.item, node.index, toParent, toIndex);
- }
-
- performDrop(dropTarget, dropOperation, items) {
- if (this.dataSource && typeof this.dataSource.performDrop === 'function') {
- let target = this.getItem(dropTarget.indexPath.section, dropTarget.indexPath.index);
- if (dropTarget.dropPosition === 'DROP_ON') {
- this.dataSource.performDrop(target.item, 0, dropOperation, items);
- } else {
- this.dataSource.performDrop(target.parent.item, target.index, dropOperation, items);
- }
- }
- }
-
- performReorder(dragTarget, dropTarget, dropOperation, indexPaths) {
- if (this.dataSource && typeof this.dataSource.performMove === 'function') {
- let target = this.getItem(dropTarget.indexPath.section, dropTarget.indexPath.index);
- let items = Array.from(indexPaths)
- .map(indexPath => this.getItem(indexPath.section, indexPath.index).item)
- .filter(item => item !== target.item);
- if (items.length === 0) {
- return;
- }
-
- if (dropTarget.dropPosition === 'DROP_ON') {
- this.dataSource.performMove(target.item, 0, dropOperation, items);
- } else {
- this.dataSource.performMove(target.parent.item, target.index, dropOperation, items);
- }
- }
- }
-}
diff --git a/src/TreeView/js/TreeViewDelegate.js b/src/TreeView/js/TreeViewDelegate.js
deleted file mode 100644
index 281a71cf75c..00000000000
--- a/src/TreeView/js/TreeViewDelegate.js
+++ /dev/null
@@ -1,104 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-const DELEGATE_KEYS = [
- 'shouldSelectItem',
- 'shouldDrag',
- 'getAllowedDropOperations',
- 'getDropOperation',
- 'itemsForDrop',
- 'shouldDeleteItems'
-];
-
-/*
- * This class wraps the delegate methods available to collection-view
- * so that they accept item objects instead of IndexPaths, which don't
- * make sense in a tree data structure.
- */
-export default class TreeViewDelegate {
- constructor(dataSource, delegate = {}) {
- this.dataSource = dataSource;
- this.delegate = delegate;
-
- // Remove keys that the delegate doesn't have on it
- for (let key of DELEGATE_KEYS) {
- if (typeof delegate[key] !== 'function') {
- this[key] = null;
- }
- }
- }
-
- _getTarget(target) {
- return this.dataSource.getItem(target.indexPath.section, target.indexPath.index).item;
- }
-
- _getItems(indexPaths) {
- return Array.from(indexPaths)
- .map(indexPath => this.dataSource.getItem(indexPath.section, indexPath.index).item);
- }
-
- shouldSelectItem(indexPath) {
- let item = this.dataSource.getItem(indexPath.section, indexPath.index).item;
- return this.delegate.shouldSelectItem(item);
- }
-
- shouldDrag(dragTarget, selectedIndexPaths) {
- let target = this._getTarget(dragTarget);
- let selectedItems = this._getItems(selectedIndexPaths);
- return this.delegate.shouldDrag(target, selectedItems);
- }
-
- getAllowedDropOperations(dragTarget, selectedIndexPaths) {
- let target = this._getTarget(dragTarget);
- let selectedItems = this._getItems(selectedIndexPaths);
- return this.delegate.getAllowedDropOperations(target, selectedItems);
- }
-
- prepareDragData(dragTarget, dataTransfer, selectedIndexPaths) {
- let target = this._getTarget(dragTarget);
- let selectedItems = this._getItems(selectedIndexPaths);
- if (typeof this.delegate.prepareDragData === 'function') {
- return this.delegate.prepareDragData(target, dataTransfer, selectedItems);
- }
-
- dataTransfer.setData('CollectionViewData', JSON.stringify(selectedItems));
- }
-
- getDropTarget(target) {
- let item = this._getTarget(target);
- if (typeof this.delegate.shouldAcceptDrop === 'function' && !this.delegate.shouldAcceptDrop(item)) {
- return null;
- }
-
- return target;
- }
-
- getDropOperation(dropTarget, allowedOperations) {
- let target = this._getTarget(dropTarget);
- return this.delegate.getDropOperation(target, allowedOperations);
- }
-
- itemsForDrop(dropTarget, dataTransfer) {
- let target = this._getTarget(dropTarget);
- return this.delegate.itemsForDrop(target, dataTransfer);
- }
-
- shouldDeleteItems(indexPaths) {
- let items = this._getItems(indexPaths);
- return this.delegate.shouldDeleteItems(items);
- }
-}
diff --git a/src/TreeView/style/index.styl b/src/TreeView/style/index.styl
deleted file mode 100644
index dc544863e17..00000000000
--- a/src/TreeView/style/index.styl
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.spectrum-TreeView {
- height: 300px; // fixed height is intentional for container rendering; override in a custom class
-}
diff --git a/src/VisuallyHidden/index.js b/src/VisuallyHidden/index.js
deleted file mode 100644
index 19cafb843c2..00000000000
--- a/src/VisuallyHidden/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/VisuallyHidden');
diff --git a/src/VisuallyHidden/js/VisuallyHidden.js b/src/VisuallyHidden/js/VisuallyHidden.js
deleted file mode 100644
index 45b921eeddf..00000000000
--- a/src/VisuallyHidden/js/VisuallyHidden.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-import '../../utils/style/index.styl';
-
-export default function VisuallyHidden({
- children,
- className,
- element: Element = 'span',
- focusable,
- ...otherProps
-}) {
- return ({children} );
-}
-
-VisuallyHidden.displayName = 'VisuallyHidden';
-
-VisuallyHidden.propTypes = {
- /**
- * The css class for the visually hidden element, it's applied to the top level element.
- */
- className: PropTypes.string,
-
- /**
- * The DOM element to use to render the visually hidden element
- */
- element: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
-
- /**
- * Whether the visually hidden element can become visible on keyboard focus.
- */
- focusable: PropTypes.bool
-};
-
-VisuallyHidden.defaultProps = {
- element: 'span',
- focusable: false
-};
diff --git a/src/Wait/index.js b/src/Wait/index.js
deleted file mode 100644
index 68db505c0c0..00000000000
--- a/src/Wait/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Wait');
diff --git a/src/Wait/js/Wait.js b/src/Wait/js/Wait.js
deleted file mode 100644
index 0255d2fffc5..00000000000
--- a/src/Wait/js/Wait.js
+++ /dev/null
@@ -1,131 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-import '../style/index.styl';
-
-importSpectrumCSS('circleloader');
-
-const DETERMINATE = 'determinate';
-const INDETERMINATE = 'indeterminate';
-
-export default class Wait extends React.Component {
- static propTypes = {
- /** Whether to center the Wait compnent in the parent container. */
- centered: PropTypes.bool,
-
- /** Custom CSS class to add to the Wait component */
- className: PropTypes.string,
-
- /**
- * Boolean to determine if the Wait component should endlessly spin (indeterminate) or
- * if it should be controlled manually.
- */
- indeterminate: PropTypes.bool,
-
- /** Size of the Wait component */
- size: PropTypes.string,
-
- /** Adjust the filled portion of the Wait component to a determined value */
- value: PropTypes.number,
-
- /**
- * The variant of Wait to display.
- */
- variant: PropTypes.oneOf(['overBackground'])
- };
-
- render() {
- let {
- value = 0,
- size = 'M',
- indeterminate = true,
- centered = false,
- className,
- variant,
- ...otherProps
- } = this.props;
-
- // Determinate version has two high level masks, 1) right half, 2) left half
- // within each of those is a submask which rotates into view within that mask
- // but starts off on the opposite side so it's hidden
- // for first 50%, submask1 moves from -180 to 0 as it covers the first half
- // for the second 50%, submask1 stays in one place and submask2 rotates in
- // from -180 to 0
- let angle;
- let fillSubmask1Style = {};
- let fillSubmask2Style = {};
- let ariaValue = undefined;
-
- if (variant === DETERMINATE || variant === INDETERMINATE) {
- console.warn(`The "${variant}" variant of Wait is deprecated. Please use the "indeterminate" prop instead.`);
- }
-
- if (variant === DETERMINATE || !indeterminate) {
- value = Math.min(Math.max(+value, 0), 100);
- ariaValue = value;
- if (value > 0 && value <= 50) {
- angle = -180 + (value / 50 * 180);
- fillSubmask1Style.transform = 'rotate(' + angle + 'deg)';
- fillSubmask2Style.transform = 'rotate(-180deg)';
- } else if (value > 50) {
- angle = -180 + (value - 50) / 50 * 180;
- fillSubmask1Style.transform = 'rotate(0deg)';
- fillSubmask2Style.transform = 'rotate(' + angle + 'deg)';
- }
- }
-
- return (
-
- );
- }
-}
diff --git a/src/Wait/style/index.styl b/src/Wait/style/index.styl
deleted file mode 100644
index f7821c9cf70..00000000000
--- a/src/Wait/style/index.styl
+++ /dev/null
@@ -1,23 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.spectrum-CircleLoader.react-spectrum-Wait--centered {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
-}
diff --git a/src/Well/index.js b/src/Well/index.js
deleted file mode 100644
index 4252dc48bc5..00000000000
--- a/src/Well/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-module.exports = require('./js/Well');
diff --git a/src/Well/js/Well.js b/src/Well/js/Well.js
deleted file mode 100644
index 9ca4b7b9626..00000000000
--- a/src/Well/js/Well.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import filterDOMProps from '../../utils/filterDOMProps';
-import PropTypes from 'prop-types';
-import React from 'react';
-
-importSpectrumCSS('well');
-
-export default function Well({
- children,
- className,
- ...otherProps
-}) {
- return (
-
- {children}
-
- );
-}
-
-Well.displayName = 'Well';
-
-Well.propTypes = {
- /** Custom CSS class to add to the Well component */
- className: PropTypes.string,
- /** Limited WAI-ARIA landmark roles for Well component */
- role: PropTypes.oneOf(['form', 'group', 'navigation', 'region', 'search'])
-};
diff --git a/src/package.json b/src/package.json
deleted file mode 100644
index 6a440539b6d..00000000000
--- a/src/package.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "name": "@react/react-spectrum",
- "version": "2.24.0",
- "description": "Spectrum UI components in React",
- "repository": {
- "type": "git",
- "url": "https://git.corp.adobe.com.com/React/react-spectrum"
- },
- "scripts": {
- "prepublishOnly": "cp -R ../dist dist"
- },
- "peerDependencies": {
- "react": "^0.14 || ^15 || ^16",
- "react-dom": "^0.14 || ^15 || ^16"
- },
- "dependencies": {
- "@react/collection-view": "^4.1.5",
- "autobind-decorator": "^1.4.0",
- "classnames": "^2.2.5",
- "dom-helpers": "^3.3.1",
- "intl-messageformat": "^2.2.0",
- "moment": "^2.15.1",
- "moment-range": "^3.0.3",
- "prop-types": "^15.6.0",
- "react-overlays": "0.8.3",
- "react-transition-group": "^2.2.0"
- },
- "devDependencies": {
- "@adobe/focus-ring-polyfill": "^0.x",
- "@adobe/spectrum-css": "2.14.0-alpha.16",
- "@react/react-spectrum-icons": "^2.1.0",
- "@spectrum/spectrum-flexbox-grid": "1.1.1",
- "@spectrum/spectrum-icons": "1.0.0-beta.17",
- "@spectrum/spectrum-variables": "1.0.1"
- },
- "engines": {
- "node": ">=6.0.0"
- }
-}
diff --git a/src/page/index.js b/src/page/index.js
deleted file mode 100644
index c7b597cd4b1..00000000000
--- a/src/page/index.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import '../focus-ring-polyfill';
-import './style/index.styl';
-import configureTypekit from '../utils/configureTypekit';
-
-export {setLocale} from '../utils/intl';
-
-importSpectrumCSS('page');
-importSpectrumCSS('typography');
-
-if (process.browser) {
- configureTypekit('ruf7eed');
- if (!/coral--/.test(document.body && document.body.className)) {
- document.body.classList.add('coral--light');
- document.body.classList.add('spectrum');
- document.body.classList.add('spectrum--light');
- }
-}
-
-console.warn(
- 'react-spectrum/page is deprecated and will be removed in the next major version. ' +
- 'Please wrap your app in a component instead. ' +
- 'See https://git.corp.adobe.com/React/react-spectrum/releases/tag/v2.6.0'
-);
diff --git a/src/page/style/index.styl b/src/page/style/index.styl
deleted file mode 100644
index 49dc4ea7377..00000000000
--- a/src/page/style/index.styl
+++ /dev/null
@@ -1,18 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-@import 'normalize.css/normalize.css';
diff --git a/src/utils/CollectionView.js b/src/utils/CollectionView.js
deleted file mode 100644
index d5a1a2a9602..00000000000
--- a/src/utils/CollectionView.js
+++ /dev/null
@@ -1,285 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import classNames from 'classnames';
-import {DragTarget, EditableCollectionView} from '@react/collection-view';
-import loadingLayout from './loadingLayout';
-import PropTypes from 'prop-types';
-import Provider from '../Provider';
-import proxy from './proxyObject';
-import React from 'react';
-import Wait from '../Wait';
-import './style/CollectionView/index.styl';
-
-// symbol + counter for requests
-let REQUEST_ID = 1;
-let LAST_REQUEST = Symbol('lastRequest');
-
-@autobind
-export default class CollectionView extends React.Component {
- // These come from the parent Provider. Used to set the correct props
- // to the provider that wraps the drag view.
- static contextTypes = {
- theme: PropTypes.string,
- scale: PropTypes.string,
- locale: PropTypes.string
- };
-
- constructor(props) {
- super(props);
-
- this.isLoading = false;
- this.hasMore = true;
- this[LAST_REQUEST] = 0;
- this.state = {
- delegate: Object.assign({}, proxy(this), proxy(props.dataSource)),
- isDropTarget: false
- };
- }
-
- componentDidMount() {
- this.props.layout.component = this;
- if (this.collection) {
- this.collection.setLayout(loadingLayout(this.props.layout));
- }
-
- this.setupDataSource(this.props.dataSource);
- this.reloadData();
- }
-
- componentWillReceiveProps(props) {
- if (props.layout !== this.props.layout) {
- props.layout.component = this;
- if (this.collection) {
- this.collection.setLayout(loadingLayout(props.layout), props.animateLayoutChanges);
- }
- }
-
- if (props.dataSource !== this.props.dataSource) {
- this.setState({
- delegate: Object.assign({}, proxy(this), proxy(props.dataSource))
- });
-
- this.teardownDataSource(this.props.dataSource);
- this.setupDataSource(props.dataSource);
- this.reloadData(props);
- } else if (('sortDescriptor' in props) && !this.isEqualSortDescriptor(props.sortDescriptor, this.props.sortDescriptor)) {
- // TODO: should this actually update here or is it up to the user to call performSort themselves.
- this.updateSort(props.sortDescriptor);
- }
- }
-
- componentDidUpdate() {
- // Re-render empty views on prop update in case renderEmptyView would change.
- if (this.collection) {
- this.collection.reloadSupplementaryViewsOfType('empty-view');
- }
- }
-
- componentWillUnmount() {
- this.teardownDataSource(this.props.dataSource);
- }
-
- setupDataSource(dataSource) {
- dataSource.on('reloadData', this.reloadData);
- }
-
- teardownDataSource(dataSource) {
- dataSource.removeListener('reloadData', this.reloadData);
- }
-
- isEqualSortDescriptor(a, b) {
- if (!a || !b) {
- return !a === !b;
- }
-
- return a.column === b.column && a.direction === b.direction;
- }
-
- async reloadData(props = this.props) {
- // reset hasMore when reloading
- this.hasMore = true;
- await this.performLoad(() =>
- props.dataSource.performLoad(props.sortDescriptor)
- );
- }
-
- async updateSort(sortDescriptor) {
- await this.performLoad(() =>
- this.props.dataSource.performSort(sortDescriptor)
- );
- }
-
- async performLoad(fn) {
- let requestId = REQUEST_ID++;
- try {
- this.isLoading = true;
- if (this.collection) {
- this.collection.relayout();
- }
-
- this[LAST_REQUEST] = requestId;
- await fn();
- } finally {
- // only relayout if the completed request is the last request made
- if (this[LAST_REQUEST] === requestId) {
- this.isLoading = false;
- if (this.collection) {
- this.collection.relayout();
- }
- }
- }
- }
-
- onScroll(offset) {
- if (this.props.onScroll) {
- this.props.onScroll(offset);
- }
-
- if (!this.collection || this.isLoading) {
- return;
- }
-
- let scrollOffset = this.collection.contentSize.height - this.collection.size.height * 2;
- if (this.hasMore && this.collection.contentOffset.y > scrollOffset) {
- this.performLoad(async () => {
- let res = await this.props.dataSource.performLoadMore();
- if (typeof res === 'boolean') {
- this.hasMore = res;
- }
- });
- }
- }
-
- dropTargetUpdated(target) {
- // Highlight the entire collection view if the drop position is between, but the default
- // drop position from props is "on". This means the drop was over a non-target item.
- // Also do this if the drop position is "between" and the collection view is empty.
- let isDropTarget = target &&
- target.type === 'item' &&
- target.indexPath.section === 0 &&
- target.indexPath.index === 0 &&
- target.dropPosition === DragTarget.DROP_BETWEEN &&
- (this.props.dropPosition === 'on' || this.collection.getSectionLength(0) === 0);
-
- if (isDropTarget && !this.state.isDropTarget) {
- this.setState({isDropTarget: true});
- } else if (this.state.isDropTarget) {
- this.setState({isDropTarget: false});
- }
- }
-
- renderItemView(type, data) {
- return this.props.renderItemView(type, data);
- }
-
- renderDragView(target) {
- let dragView;
- let style = {
- background: 'transparent'
- };
-
- // Use custom drag renderer if provided,
- // otherwise just get the existing item view.
- if (this.props.renderDragView) {
- dragView = this.props.renderDragView(target, this.collection.selectedIndexPaths);
- } else {
- // Get the item wrapper view from collection-view. The first child is the actual item component.
- let view = this.collection.getItemView(target.indexPath);
- dragView = [...view.children][0];
-
- style.width = view.layoutInfo.rect.width;
- style.height = view.layoutInfo.rect.height;
- }
-
- // Wrap in a spectrum provider so spectrum components are themed correctly.
- return (
-
- {dragView}
-
- );
- }
-
- renderSupplementaryView(type) {
- const {renderEmptyView, renderSupplementaryView, role, colCount} = this.props;
- let supplementaryView;
-
- if (renderSupplementaryView) {
- supplementaryView = renderSupplementaryView(type);
- }
-
- if (!supplementaryView) {
- const wrapInRow = role === 'grid' || role === 'rowgroup';
-
- if (type === 'loading-indicator') {
- supplementaryView = ;
- }
-
- if (type === 'empty-view' && renderEmptyView) {
- supplementaryView = renderEmptyView();
- }
-
- if (supplementaryView && wrapInRow) {
- supplementaryView = (
-
- {supplementaryView}
-
- );
- }
- }
-
- return supplementaryView ||
;
- }
-
- render() {
- let {
- className,
- ...otherProps
- } = this.props;
-
- delete otherProps.layout;
-
- return (
- this.collection = c}
- className={classNames(className, {
- 'is-drop-target': this.state.isDropTarget
- })}
- delegate={this.state.delegate}
- onScroll={this.onScroll} />
- );
- }
-}
-
-export class RowWrapper extends React.Component {
- render() {
- const {
- children,
- colCount,
- className
- } = this.props;
- return (
-
- );
- }
-}
diff --git a/src/utils/FocusManager.js b/src/utils/FocusManager.js
deleted file mode 100644
index 8f9dfa3aff1..00000000000
--- a/src/utils/FocusManager.js
+++ /dev/null
@@ -1,449 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import autobind from 'autobind-decorator';
-import {chain} from './events';
-import {interpretKeyboardEvent} from './events';
-import PropTypes from 'prop-types';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import {removeDiacritics} from './string';
-import scrollToDOMNode from './scrollToDOMNode';
-
-const WHITESPACE_REGEXP = /[\n\r]+|[\s]{1,}/g;
-const DELAY_BEFORE_AUTOFOCUS = 20;
-
-@autobind
-export default class FocusManager extends React.Component {
- static propTypes = {
-
- /**
- * A selector of focusable elements to manage focus between
- */
- itemSelector: PropTypes.string.isRequired,
-
- /**
- * Whether to use roving tabIndex so that only one element within the group can receive focus with tab key at a time.
- */
- manageTabIndex: PropTypes.bool,
-
- /**
- * Orientation of items; "horizontal" orientation ignores up/down arrow keys, "vertical" orientation ignores left/right arrow keys, "both" handles up/left and down/right.
- */
- orientation: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
-
- /**
- * A selector of selected elements
- */
- selectedItemSelector: PropTypes.string,
-
- /**
- * Whether to disable focus management
- */
- disabled: PropTypes.bool,
-
- /**
- * Whether to include alphanumeric typing as a way to move focus to items in a list.
- */
- typeToSelect: PropTypes.bool,
-
- /**
- * Whether to include the child wrapper element in the group of elements that can receive focus.
- */
- includeSelf: PropTypes.bool,
-
- /**
- * Whether to ignore PageUp and PageDown events to move focus between items.
- */
- ignorePageUpPageDown: PropTypes.bool,
-
- /**
- * Whether to autoFocus first selected item or first item.
- */
- autoFocus: PropTypes.bool
- };
-
- static defaultProps = {
- manageTabIndex: true,
- orientation: 'vertical',
- typeToSelect: false,
- includeSelf: false,
- ignorePageUpPageDown: false
- };
-
- getItems(selected = false) {
- const {itemSelector, selectedItemSelector, includeSelf} = this.props;
- const selector = selected && selectedItemSelector ? selectedItemSelector : itemSelector;
- const node = ReactDOM.findDOMNode(this);
- const array = [];
- if (includeSelf && node.matches(selector)) {
- array.push(node);
- }
- return array.concat(Array.from(node.querySelectorAll(selector)));
- }
-
- onFocusFirst(e) {
- const items = this.getItems();
- if (items.length && (!e || items.indexOf(e.target) !== -1)) {
- if (e) {
- e.preventDefault();
- }
-
- items[0].focus();
- }
- }
-
- onFocusLast(e) {
- const items = this.getItems();
- if (items.length && (!e || items.indexOf(e.target) !== -1)) {
- if (e) {
- e.preventDefault();
- }
-
- items[items.length - 1].focus();
- }
- }
-
- onFocusPrevious(e) {
- const items = this.getItems();
- if (items.length && e && items.indexOf(e.target) !== -1) {
- e.preventDefault();
-
- let index = items.indexOf(e.target) - 1;
- if (index < 0) {
- index = items.length - 1;
- }
- items[index].focus();
- }
- }
-
- onFocusNext(e) {
- const items = this.getItems();
- if (items.length && e && items.indexOf(e.target) !== -1) {
- e.preventDefault();
-
- let index = items.indexOf(e.target) + 1;
- if (index >= items.length) {
- index = 0;
- }
- items[index].focus();
- }
- }
-
- onPageUp(e) {
- if (this.props.ignorePageUpPageDown) {
- return;
- }
-
- const items = this.getItems();
- if (items.length && e && items.indexOf(e.target) !== -1) {
- e.preventDefault();
-
- const listNode = ReactDOM.findDOMNode(this);
- const nextPage = Math.max(e.target.offsetTop + e.target.offsetHeight - listNode.clientHeight, 0);
- const index = items.indexOf(e.target);
- const item = items.slice(0, index).reverse().find(item => item.offsetTop < nextPage);
-
- if (item) {
- item.focus();
- scrollToDOMNode(item, listNode, true);
- } else {
- this.onFocusFirst(e);
- }
- }
- }
-
- onPageDown(e) {
- if (this.props.ignorePageUpPageDown) {
- return;
- }
-
- const items = this.getItems();
- if (items.length && e && items.indexOf(e.target) !== -1) {
- e.preventDefault();
-
- const listNode = ReactDOM.findDOMNode(this);
- const nextPage = Math.min(e.target.offsetTop + listNode.clientHeight, listNode.scrollHeight + listNode.clientHeight);
- const index = items.indexOf(e.target) + 1;
- const item = items.slice(index).find(item => item.offsetTop + item.offsetHeight > nextPage);
-
- if (item) {
- item.focus();
- scrollToDOMNode(item, listNode, true);
- } else {
- this.onFocusLast(e);
- }
- }
- }
-
- keysSoFar = '';
- keyClearTimeout = null;
-
- findItemToFocus(e) {
- const {
- target,
- shiftKey,
- charCode
- } = e;
-
- const character = removeDiacritics(String.fromCharCode(charCode)).toUpperCase();
-
- let items = this.getItems();
-
- if (this.keysSoFar === '' || character === this.keysSoFar || shiftKey) {
- // reverse order if shiftKey is pressed
- if (shiftKey) {
- items = items.reverse();
- }
- this.searchIndex = items.indexOf(target);
- }
-
- if (character !== this.keysSoFar) {
- this.keysSoFar += character;
- }
-
- this.clearKeysSoFarAfterDelay();
-
- let item = this.findMatchInRange(
- items,
- this.searchIndex + 1,
- items.length
- );
-
- if (!item) {
- item = this.findMatchInRange(
- items,
- 0,
- this.searchIndex
- );
- }
-
- if (item) {
- item.focus();
- }
- }
-
- clearKeysSoFarAfterDelay() {
- if (this.keyClearTimeout) {
- clearTimeout(this.keyClearTimeout);
- }
- this.keyClearTimeout = setTimeout(() => this.keysSoFar = '', 500);
- }
-
- findMatchInRange(items, startIndex, endIndex) {
- // Find the first item starting with the keysSoFar substring, searching in the specified range of items
- for (let i = startIndex; i < endIndex; i++) {
- const label = items[i].innerText || items[i].textContent;
- if (label &&
- removeDiacritics(label)
- .replace(WHITESPACE_REGEXP, '')
- .toUpperCase()
- .indexOf(this.keysSoFar) === 0) {
- return items[i];
- }
- }
- return null;
- }
-
- /**
- * Handle keydown event
- * @param {Event} e Event object
- */
- onKeyDown(e) {
- if (e.isPropagationStopped()) {
- return;
- }
-
- interpretKeyboardEvent.call(this, e, this.props.orientation);
- }
-
- /**
- * Handle keypress event
- * @param {Event} e Event object
- */
- onKeyPress(e) {
- if (e.isPropagationStopped()) {
- return;
- }
-
- this.findItemToFocus(e);
- }
-
- /**
- * When an item receives focus, it should have tabIndex === 0 and all other items should have tabIndex === -1
- * @param {Event} e Event object
- */
- onFocus(e) {
- if (e.isPropagationStopped()) {
- return;
- }
-
- this.getItems().forEach(item => item.tabIndex = item === e.target ? 0 : -1);
- }
-
- /**
- * When an item loses focus, set the appropriate tabIndex on each item based on its selected state.
- * If the item losing focus is selected,
- * it should be the only item to receive focus on shift+tab or tab back to the control,
- * However, if the item losing focus is not selected,
- * any of the selected items should receive focus on shift+tab or tab.
- * @param {Event} e Event object
- */
- onBlur(e) {
- if (e.isPropagationStopped()) {
- return;
- }
-
- const selectedItems = this.getItems(true);
-
- // If there are selected items,
- if (selectedItems.length) {
- // store whether item losing focus is selected.
- const targetSelected = selectedItems.indexOf(e.target) !== -1;
-
- this.getItems().forEach(item => {
-
- // store whether the current item is selected.
- const selected = selectedItems.indexOf(item) !== -1;
-
- // If the current item is the item losing focus and it is selected,
- // or the current item is selected and the item losing focus is not selected,
- // set tabIndex === 0, otherwise set tabIndex === -1.
- item.tabIndex = (item === e.target && targetSelected) || (!targetSelected && selected) ? 0 : -1;
- });
- }
- }
-
- componentDidMount() {
- const {autoFocus, selectedItemSelector} = this.props;
- if (autoFocus) {
- const selectedItem = selectedItemSelector
- ? ReactDOM.findDOMNode(this).querySelector(selectedItemSelector)
- : null;
-
- // wait a frame before trying to shift focus
- this.focusTimer = setTimeout(() => {
- if (selectedItem) {
- selectedItem.focus();
- } else {
- this.onFocusFirst();
- }
- }, DELAY_BEFORE_AUTOFOCUS);
- }
- }
-
- componentWillUnmount() {
- clearTimeout(this.focusTimer);
- }
-
- render() {
- const {
- children,
- disabled,
- manageTabIndex,
- typeToSelect
- } = this.props;
- const child = React.Children.only(children);
- const {
- onKeyDown,
- onKeyPress,
- onFocus,
- onBlur
- } = child.props;
- return React.cloneElement(child, {
- onKeyDown: !disabled ? chain(onKeyDown, this.onKeyDown) : onKeyDown,
- onKeyPress: typeToSelect && !disabled ? chain(onKeyPress, this.onKeyPress) : onKeyPress,
- onFocus: manageTabIndex && !disabled ? chain(onFocus, this.onFocus) : onFocus,
- onBlur: manageTabIndex && !disabled ? chain(onBlur, this.onBlur) : onBlur
- });
- }
-}
-
-const focusableElements = [
- 'input:not([disabled]):not([type=hidden])',
- 'select:not([disabled])',
- 'textarea:not([disabled])',
- 'button:not([disabled])',
- 'a[href]',
- 'area[href]',
- 'summary',
- 'iframe',
- 'object',
- 'embed',
- 'audio[controls]',
- 'video[controls]',
- '[contenteditable]'
-];
-
-export const FOCUSABLE_ELEMENT_SELECTOR = focusableElements.join(',') + ',[tabindex]';
-
-focusableElements.push('[tabindex]:not([tabindex="-1"])');
-
-export const TABBABLE_ELEMENT_SELECTOR = focusableElements.join(':not([tabindex="-1"]),');
-
-export function trapFocus(componentOrElement, event) {
- const {
- type,
- key,
- shiftKey,
- target
- } = event;
-
- let node;
- let tabbables;
- let tabbable;
- let first;
- let last;
-
- if (type === 'keydown' || type === 'focus') {
- node = ReactDOM.findDOMNode(componentOrElement);
- if (node) {
- // find tabbable elements within container element
- tabbables = Array.from(node.querySelectorAll(TABBABLE_ELEMENT_SELECTOR)).filter(el => el !== node);
- first = tabbables[0] || node;
- last = tabbables[tabbables.length - 1] || node;
- }
- }
-
- // If navigating using the tab key,
- if (type === 'keydown' && key === 'Tab') {
- if (node) {
- if (shiftKey) {
- // with focus on first tabbable element, navigating backwards,
- if (target === first || target === node) {
- // focus the last tabbable element
- tabbable = last;
- }
- // otherwise, with focus on last tabbable element, navigating forwards,
- } else if (target === last || target === node) {
- // focus the first tabbable element.
- tabbable = first;
- }
- }
- } else if (type === 'focus' && target === node) {
- tabbable = first;
- }
-
- if (tabbable) {
- event.preventDefault();
- event.stopPropagation();
-
- if (tabbable !== document.activeElement) {
- tabbable.focus();
- }
- }
-}
diff --git a/src/utils/LiveRegionAnnouncer.js b/src/utils/LiveRegionAnnouncer.js
deleted file mode 100644
index d34f5a6653b..00000000000
--- a/src/utils/LiveRegionAnnouncer.js
+++ /dev/null
@@ -1,250 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import PropTypes from 'prop-types';
-import React, {Component} from 'react';
-import ReactDOM from 'react-dom';
-import './style/index.styl';
-import VisuallyHidden from '../VisuallyHidden';
-
-/* Inspired by https://github.com/AlmeroSteyn/react-aria-live */
-let liveRegionAnnouncer = null;
-let node = null;
-let clearAssertiveTimeoutId = null;
-let clearPoliteTimeoutId = null;
-const LIVEREGION_TIMEOUT_DELAY = 1000;
-
-export default class LiveRegionAnnouncer extends Component {
- state = {
- assertiveMessage: '',
- politeMessage: ''
- };
-
- static getInstance(callback, context) {
- if (!liveRegionAnnouncer) {
- node = document.createElement('div');
- document.body.appendChild(node);
- ReactDOM.render( liveRegionAnnouncer = l} />, node, callback);
- } else if (callback) {
- callback();
- }
- return liveRegionAnnouncer;
- }
-
- static destroyInstance(callback) {
- if (liveRegionAnnouncer) {
- liveRegionAnnouncer.setState({
- assertiveMessage: '',
- politeMessage: ''
- },
- () => {
- const instanceNode = ReactDOM.findDOMNode(liveRegionAnnouncer);
- instanceNode && ReactDOM.unmountComponentAtNode(instanceNode.parentNode);
- if (callback) {
- // wait a frame for component to unmount
- setTimeout(callback, 50);
- }
- });
- }
- }
-
- componentWillUnmount() {
- if (node) {
- document.body.removeChild(node);
- }
- liveRegionAnnouncer = null;
- node = null;
- }
-
- static announceAssertive(message, timeoutDuration = LIVEREGION_TIMEOUT_DELAY) {
- if (clearAssertiveTimeoutId) {
- clearTimeout(clearAssertiveTimeoutId);
- clearAssertiveTimeoutId = null;
- }
- LiveRegionAnnouncer.getInstance(
- () => liveRegionAnnouncer.setState({
- assertiveMessage: message
- },
- () => {
- if (message !== '') {
- clearAssertiveTimeoutId = setTimeout(() => LiveRegionAnnouncer.clearMessage('assertive'), timeoutDuration);
- }
- })
- );
- }
-
- static announcePolite(message, timeoutDuration = LIVEREGION_TIMEOUT_DELAY) {
- if (clearPoliteTimeoutId) {
- clearTimeout(clearPoliteTimeoutId);
- clearPoliteTimeoutId = null;
- }
- LiveRegionAnnouncer.getInstance(
- () => liveRegionAnnouncer.setState({
- politeMessage: message
- },
- () => {
- if (message !== '') {
- clearPoliteTimeoutId = setTimeout(() => LiveRegionAnnouncer.clearMessage('polite'), timeoutDuration);
- }
- })
- );
- }
-
- static clearMessage(politeness) {
- LiveRegionAnnouncer.getInstance(
- () => {
- if (!politeness) {
- LiveRegionAnnouncer.announceAssertive('');
- LiveRegionAnnouncer.announcePolite('');
- } else {
- liveRegionAnnouncer.setState({
- [politeness + 'Message']: ''
- });
- }
- }
- );
- }
-
- render() {
- const {
- assertiveMessage,
- politeMessage
- } = this.state;
- return (
-
- );
- }
-}
-
-export class LiveRegion extends Component {
- state = {
- assertiveMessage1: '',
- assertiveMessage2: '',
- politeMessage1: '',
- politeMessage2: ''
- };
-
- useAlternatePolite = false;
- useAlternateAssertive = false;
-
- static propTypes = {
- assertiveMessage: PropTypes.string,
- politeMessage: PropTypes.string
- };
-
- componentWillReceiveProps(nextProps) {
- const {
- assertiveMessage: oldAssertiveMessage,
- politeMessage: oldPoliteMessage
- } = this.props;
- const {
- assertiveMessage,
- politeMessage
- } = nextProps;
-
- if (oldPoliteMessage !== politeMessage) {
- this.setState({
- politeMessage1: this.useAlternatePolite ? '' : politeMessage,
- politeMessage2: this.useAlternatePolite ? politeMessage : ''
- });
- this.useAlternatePolite = !this.useAlternatePolite;
- }
-
- if (oldAssertiveMessage !== assertiveMessage) {
- this.setState({
- assertiveMessage1: this.useAlternateAssertive ? '' : assertiveMessage,
- assertiveMessage2: this.useAlternateAssertive ? assertiveMessage : ''
- });
- this.useAlternateAssertive = !this.useAlternateAssertive;
- }
- }
-
- render() {
- const {
- assertiveMessage1,
- assertiveMessage2,
- politeMessage1,
- politeMessage2
- } = this.state;
- return (
-
-
-
-
-
-
- );
- }
-}
-
-export const MessageBlock = ({message, 'aria-live': ariaLive}) => (
-
- {message || ''}
-
-);
-
-MessageBlock.propTypes = {
- message: PropTypes.string,
- 'aria-live': PropTypes.string.isRequired
-};
-
-export class LiveRegionMessage extends Component {
- static propTypes = {
- message: PropTypes.string.isRequired,
- 'aria-live': PropTypes.string.isRequired,
- clearOnUnmount: PropTypes.bool
- };
-
- componentDidMount() {
- this.announce();
- }
-
- componentDidUpdate(prevProps) {
- if (this.props.message !== prevProps.message) {
- this.announce();
- }
- }
-
- componentWillUnmount() {
- if (this.props.clearOnUnmount) {
- LiveRegionAnnouncer.clearMessage();
- }
- }
-
- announce() {
- const {
- message,
- 'aria-live': ariaLive
- } = this.props;
- if (ariaLive === 'assertive') {
- LiveRegionAnnouncer.announceAssertive(message || '');
- }
- if (ariaLive === 'polite') {
- LiveRegionAnnouncer.announcePolite(message || '');
- }
- }
-
- render() {
- return null;
- }
-}
diff --git a/src/utils/OpenTransition.js b/src/utils/OpenTransition.js
deleted file mode 100644
index 25512b9e350..00000000000
--- a/src/utils/OpenTransition.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import Transition from 'react-transition-group/Transition';
-
-const OPEN_STATES = {
- entering: false,
- entered: true
-};
-
-/**
- * timeout issues adding css animations to enter may be related to
- * https://github.com/reactjs/react-transition-group/issues/189 or
- * https://github.com/reactjs/react-transition-group/issues/22
- * my VM isn't good enough to debug accurately and get a better answer
- *
- * as a result, use enter 0 so that is-open is applied once entered
- * it doesn't matter if we know when the css-animation is done on entering
- * for exiting though, give time for the css-animation to play
- * before removing from the DOM
- * **note** hitting esc bypasses exit animation for anyone testing
- */
-
-export default function OpenTransition(props) {
- return (
-
- {(state) => React.cloneElement(props.children, {open: !!OPEN_STATES[state]})}
-
- );
-}
diff --git a/src/utils/array.js b/src/utils/array.js
deleted file mode 100644
index 4eaf5525e08..00000000000
--- a/src/utils/array.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export function arraysEqual(a, b) {
- return a.length === b.length && a.every((x, i) => x === b[i]);
-}
diff --git a/src/utils/configureTypekit.js b/src/utils/configureTypekit.js
deleted file mode 100644
index 10f0bdb0809..00000000000
--- a/src/utils/configureTypekit.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export default function configureTypekit(typeKitId) {
- const config = {
- kitId: typeKitId,
- scriptTimeout: 3000
- };
-
- if (!window.Typekit) { // we load the typescript only once
- const h = document.getElementsByTagName('html')[0];
- h.className += ' wf-loading';
-
- const t = setTimeout(() => {
- h.className = h.className.replace(/(\s|^)wf-loading(\s|$)/g, ' ');
- h.className += ' wf-inactive';
- }, config.scriptTimeout);
-
- const tk = document.createElement('script');
- let d = false;
-
- tk.src = `https://use.typekit.net/${config.kitId}.js`;
- tk.type = 'text/javascript';
- tk.async = 'true';
- tk.onload = tk.onreadystatechange = function onload() {
- const a = this.readyState;
- if (d || a && a !== 'complete' && a !== 'loaded') {
- return;
- }
- d = true;
- clearTimeout(t);
- try {
- window.Typekit.load(config);
- } catch (b) { /* empty */ }
- };
-
- const s = document.getElementsByTagName('script')[0];
- s.parentNode.insertBefore(tk, s);
- }
-}
diff --git a/src/utils/createId.js b/src/utils/createId.js
deleted file mode 100644
index f6426e9c64e..00000000000
--- a/src/utils/createId.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-const PREFIX = 'react-spectrum-';
-let incrementor = 0;
-
-export default () => PREFIX + ++incrementor;
diff --git a/src/utils/events.js b/src/utils/events.js
deleted file mode 100644
index 0d1755241ad..00000000000
--- a/src/utils/events.js
+++ /dev/null
@@ -1,140 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export function interpretKeyboardEvent(event, orientation = 'vertical') {
- switch (event.key) {
- case 'Enter':
- case ' ':
- if (this.onSelectFocused) {
- this.onSelectFocused(event);
- }
- break;
-
- case 'Tab':
- if (this.onTab) {
- this.onTab(event);
- }
- break;
-
- case 'PageUp':
- if (this.onPageUp) {
- this.onPageUp(event);
- } else if (this.onFocusFirst) {
- this.onFocusFirst(event);
- }
- break;
-
- case 'PageDown':
- if (this.onPageDown) {
- this.onPageDown(event);
- } else if (this.onFocusLast) {
- this.onFocusLast(event);
- }
- break;
-
- case 'Home':
- if (this.onFocusFirst) {
- this.onFocusFirst(event);
- }
- break;
-
- case 'End':
- if (this.onFocusLast) {
- this.onFocusLast(event);
- }
- break;
-
- case 'ArrowUp':
- case 'Up':
- if (event.altKey && this.onAltArrowUp) {
- this.onAltArrowUp(event);
- } else if (orientation !== 'horizontal' && this.onFocusPrevious) {
- this.onFocusPrevious(event);
- }
- break;
-
- case 'ArrowDown':
- case 'Down':
- if (event.altKey && this.onAltArrowDown) {
- this.onAltArrowDown(event);
- } else if (orientation !== 'horizontal' && this.onFocusNext) {
- this.onFocusNext(event);
- }
- break;
-
- case 'ArrowLeft':
- case 'Left':
- if (orientation !== 'vertical' && this.onFocusPrevious) {
- this.onFocusPrevious(event);
- }
- break;
-
- case 'ArrowRight':
- case 'Right':
- if (orientation !== 'vertical' && this.onFocusNext) {
- this.onFocusNext(event);
- }
- break;
-
- case 'Escape':
- case 'Esc':
- if (this.onEscape) {
- this.onEscape(event);
- }
- break;
-
- default:
- // do nothing
- }
-}
-
-export function chain(...callbacks) {
- return (...args) => {
- for (let callback of callbacks) {
- if (typeof callback === 'function') {
- callback(...args);
- }
- }
- };
-}
-
-let mouseDownPrevented = false;
-export function focusAfterMouseEvent(handler, event) {
- // If server side rendering, just call handler method.
- if (!document) {
- handler && handler.call(this, event);
- return;
- }
-
- // execute the handler
- if (handler) {
- handler.call(this, event);
- if (event.isDefaultPrevented()) {
- mouseDownPrevented = event.type === 'mousedown';
- return;
- }
- }
-
- // make sure that the element has focus by calling this.focus();
- if (!mouseDownPrevented && typeof this.focus === 'function') {
- this.focus();
- }
-
- if (event.type === 'mouseup') {
- mouseDownPrevented = false;
- }
-}
diff --git a/src/utils/filterDOMProps.js b/src/utils/filterDOMProps.js
deleted file mode 100644
index 14944e8b82c..00000000000
--- a/src/utils/filterDOMProps.js
+++ /dev/null
@@ -1,204 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-const DOMProps = {
- 'abbr': 1,
- 'accept': 1,
- 'acceptCharset': 1,
- 'accessKey': 1,
- 'action': 1,
- 'allowFullScreen': 1,
- 'allowTransparency': 1,
- 'alt': 1,
- 'async': 1,
- 'autoComplete': 1,
- 'autoFocus': 1,
- 'autoPlay': 1,
- 'cellPadding': 1,
- 'cellSpacing': 1,
- 'challenge': 1,
- 'charset': 1,
- 'checked': 1,
- 'cite': 1,
- 'class': 1,
- 'className': 1,
- 'cols': 1,
- 'colSpan': 1,
- 'command': 1,
- 'content': 1,
- 'contentEditable': 1,
- 'contextMenu': 1,
- 'controls': 1,
- 'coords': 1,
- 'crossOrigin': 1,
- 'data': 1,
- 'dateTime': 1,
- 'default': 1,
- 'defer': 1,
- 'dir': 1,
- 'disabled': 1,
- 'download': 1,
- 'draggable': 1,
- 'dropzone': 1,
- 'encType': 1,
- 'for': 1,
- 'form': 1,
- 'formAction': 1,
- 'formEncType': 1,
- 'formMethod': 1,
- 'formNoValidate': 1,
- 'formTarget': 1,
- 'frameBorder': 1,
- 'headers': 1,
- 'height': 1,
- 'hidden': 1,
- 'high': 1,
- 'href': 1,
- 'hrefLang': 1,
- 'htmlFor': 1,
- 'httpEquiv': 1,
- 'icon': 1,
- 'id': 1,
- 'inputMode': 1,
- 'isMap': 1,
- 'itemId': 1,
- 'itemProp': 1,
- 'itemRef': 1,
- 'itemScope': 1,
- 'itemType': 1,
- 'kind': 1,
- 'label': 1,
- 'lang': 1,
- 'list': 1,
- 'loop': 1,
- 'manifest': 1,
- 'max': 1,
- 'maxLength': 1,
- 'media': 1,
- 'mediaGroup': 1,
- 'method': 1,
- 'min': 1,
- 'minLength': 1,
- 'multiple': 1,
- 'muted': 1,
- 'name': 1,
- 'noValidate': 1,
- 'open': 1,
- 'optimum': 1,
- 'pattern': 1,
- 'ping': 1,
- 'placeholder': 1,
- 'poster': 1,
- 'preload': 1,
- 'radioGroup': 1,
- 'readOnly': 1,
- 'rel': 1,
- 'required': 1,
- 'role': 1,
- 'rows': 1,
- 'rowSpan': 1,
- 'sandbox': 1,
- 'scope': 1,
- 'scoped': 1,
- 'scrolling': 1,
- 'seamless': 1,
- 'selected': 1,
- 'shape': 1,
- 'size': 1,
- 'sizes': 1,
- 'sortable': 1,
- 'span': 1,
- 'spellCheck': 1,
- 'src': 1,
- 'srcDoc': 1,
- 'srcSet': 1,
- 'start': 1,
- 'step': 1,
- 'style': 1,
- 'tabIndex': 1,
- 'target': 1,
- 'title': 1,
- 'translate': 1,
- 'type': 1,
- 'typeMustMatch': 1,
- 'useMap': 1,
- 'value': 1,
- 'width': 1,
- 'wmode': 1,
- 'wrap': 1,
- 'onCopy': 1,
- 'onCut': 1,
- 'onPaste': 1,
- 'onLoad': 1,
- 'onError': 1,
- 'onWheel': 1,
- 'onScroll': 1,
- 'onCompositionEnd': 1,
- 'onCompositionStart': 1,
- 'onCompositionUpdate': 1,
- 'onKeyDown': 1,
- 'onKeyPress': 1,
- 'onKeyUp': 1,
- 'onFocus': 1,
- 'onBlur': 1,
- 'onChange': 1,
- 'onInput': 1,
- 'onSubmit': 1,
- 'onClick': 1,
- 'onContextMenu': 1,
- 'onDoubleClick': 1,
- 'onDrag': 1,
- 'onDragEnd': 1,
- 'onDragEnter': 1,
- 'onDragExit': 1,
- 'onDragLeave': 1,
- 'onDragOver': 1,
- 'onDragStart': 1,
- 'onDrop': 1,
- 'onMouseDown': 1,
- 'onMouseEnter': 1,
- 'onMouseLeave': 1,
- 'onMouseMove': 1,
- 'onMouseOut': 1,
- 'onMouseOver': 1,
- 'onMouseUp': 1,
- 'onSelect': 1,
- 'onTouchCancel': 1,
- 'onTouchEnd': 1,
- 'onTouchMove': 1,
- 'onTouchStart': 1,
- 'onAnimationStart': 1,
- 'onAnimationEnd': 1,
- 'onAnimationIteration': 1,
- 'onTransitionEnd': 1
-};
-
-/**
- * Checking for aria-* and data-* props
- */
-const propRe = /^((data|aria)-.*)$/;
-
-export default function filterReactDomProps(props) {
- const filterProps = {};
-
- for (const prop in props) {
- if (props.hasOwnProperty(prop) && (DOMProps[prop] || propRe.test(prop))) {
- filterProps[prop] = props[prop];
- }
- }
- return filterProps;
-}
diff --git a/src/utils/focusRing.js b/src/utils/focusRing.js
deleted file mode 100644
index 4a58f517a71..00000000000
--- a/src/utils/focusRing.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import ReactDOM from 'react-dom';
-
-export const FOCUS_RING_CLASSNAME = 'focus-ring';
-
-/**
- * This is a decorator that ensures a focus-ring className set by the focus-ring-polyfill
- * is retained when a focused component is rendered following a state change.
-*/
-export default function focusRing(WrappedComponent) {
- const proto = WrappedComponent.prototype;
- const componentWillUpdate = proto.componentWillUpdate;
- const componentDidUpdate = proto.componentDidUpdate;
-
- let elementWithFocusRing = null;
-
- proto.componentWillUpdate = function (props, state) {
- // call original method
- if (componentWillUpdate) {
- componentWillUpdate.apply(this, arguments);
- }
-
- if (elementWithFocusRing == null || elementWithFocusRing !== document.activeElement) {
- try {
- const node = ReactDOM.findDOMNode(this);
- elementWithFocusRing = node.parentNode.querySelector('.' + FOCUS_RING_CLASSNAME);
- } catch (error) {
- // do nothing if component is not mounted
- }
- }
- };
-
- proto.componentDidUpdate = function (props, state) {
- // call original method
- if (componentDidUpdate) {
- componentDidUpdate.apply(this, arguments);
- }
-
- try {
- const node = ReactDOM.findDOMNode(this);
- if (elementWithFocusRing &&
- (document.activeElement === elementWithFocusRing || node.contains(document.activeElement)) &&
- !elementWithFocusRing.classList.contains(FOCUS_RING_CLASSNAME)) {
- document.activeElement.classList.add(FOCUS_RING_CLASSNAME);
- elementWithFocusRing = null;
- }
- } catch (error) {
- // do nothing if component is not mounted
- }
- };
-}
diff --git a/src/utils/icon.js b/src/utils/icon.js
deleted file mode 100644
index c37576e6153..00000000000
--- a/src/utils/icon.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import classNames from 'classnames';
-import React from 'react';
-
-export function cloneIcon(icon, opts = {}) {
- if (!icon) {
- return null;
- }
-
- if (typeof icon === 'string') {
- throw new Error('String icon names are deprecated. Pass icons by importing them from react-spectrum/Icon/IconName and render as .');
- }
-
- const {
- className,
- size,
- 'aria-label': ariaLabel,
- 'aria-hidden': ariaHidden,
- alt = ariaLabel || icon.props['aria-label'] || icon.props.alt
- } = opts;
-
- return React.cloneElement(icon, {
- className: classNames(className, icon.props.className),
- size: icon.props.size || size,
- 'aria-label': ariaLabel || alt,
- alt,
- 'aria-hidden': ariaHidden || (alt ? icon.props['aria-hidden'] : true)
- });
-}
diff --git a/src/utils/intl.js b/src/utils/intl.js
deleted file mode 100644
index 500fe4e51dd..00000000000
--- a/src/utils/intl.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import IntlMessageFormat from 'intl-messageformat';
-
-export const defaultLocale = (typeof navigator !== 'undefined' && (navigator.language || navigator.userLanguage)) || 'en-US';
-
-let currentLocale = defaultLocale;
-export function setLocale(locale) {
- currentLocale = locale;
-}
-
-export function getLocale() {
- return currentLocale;
-}
-
-export function messageFormatter(strings) {
- let cache = {};
-
- return function formatMessage(key, variables, formats) {
- let message = cache[key + '.' + currentLocale];
- if (!message) {
- let localeStrings = strings[currentLocale] || strings['en-US'];
- let msg = localeStrings[key];
- if (!msg) {
- throw new Error(`Could not find intl message ${key} in ${currentLocale} locale`);
- }
-
- message = new IntlMessageFormat(msg, currentLocale, formats);
- cache[key] = message;
- }
-
- return message.format(variables);
- };
-}
diff --git a/src/utils/isEmpty.js b/src/utils/isEmpty.js
deleted file mode 100644
index 3cf3027dc0d..00000000000
--- a/src/utils/isEmpty.js
+++ /dev/null
@@ -1,32 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export default function isEmpty(value) {
- if (value == null) {
- return true;
- }
- if (value.length && value.length === 0) {
- return true;
- }
- if (value.size && value.size === 0) {
- return true;
- }
- if (value === {}) {
- return true;
- }
- return false;
-}
diff --git a/src/utils/loadingLayout.js b/src/utils/loadingLayout.js
deleted file mode 100644
index 2a820fd9667..00000000000
--- a/src/utils/loadingLayout.js
+++ /dev/null
@@ -1,92 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {LayoutInfo, Rect} from '@react/collection-view';
-
-/*
- * Adds support for a loading spinner and empty views to a collection-view layout
- */
-export default function loadingLayout(layout) {
- let {getLayoutInfo, getVisibleLayoutInfos, validate, getContentSize} = layout;
-
- let emptyView = null;
- let loadingIndicator = null;
-
- layout.getLayoutInfo = function (type, section, index) {
- if (type === 'empty-view') {
- return emptyView;
- }
-
- if (type === 'loading-indicator') {
- return loadingIndicator;
- }
-
- return getLayoutInfo.call(this, type, section, index);
- };
-
- layout.getVisibleLayoutInfos = function (rect) {
- let layoutInfos = getVisibleLayoutInfos.call(this, rect);
- if (emptyView) {
- layoutInfos.push(emptyView);
- }
-
- if (loadingIndicator) {
- layoutInfos.push(loadingIndicator);
- }
-
- return layoutInfos;
- };
-
- layout.validate = function (invalidationContext) {
- validate.call(this, invalidationContext);
-
- let count = this.collectionView.getSectionLength(0);
-
- let isLoading = this.component.isLoading;
- if (isLoading) {
- loadingIndicator = new LayoutInfo('loading-indicator');
-
- if (count === 0) {
- loadingIndicator.rect = new Rect(0, 0, this.collectionView.size.width, this.collectionView.size.height);
- } else {
- loadingIndicator.rect = new Rect(0, getContentSize.call(this).height, this.collectionView.size.width, 100);
- }
- } else {
- loadingIndicator = null;
-
- if (count === 0) {
- emptyView = new LayoutInfo('empty-view');
- emptyView.rect = new Rect(0, 0, this.collectionView.size.width, this.collectionView.size.height);
- } else {
- emptyView = null;
- }
- }
- };
-
- layout.getContentSize = function () {
- let size = getContentSize.call(this);
- let count = this.collectionView.getSectionLength(0);
-
- if (loadingIndicator && count > 0) {
- size.height += loadingIndicator.rect.height;
- }
-
- return size;
- };
-
- return layout;
-}
diff --git a/src/utils/moment.js b/src/utils/moment.js
deleted file mode 100644
index f35fbca925d..00000000000
--- a/src/utils/moment.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {DateRange} from 'moment-range';
-import moment from 'moment';
-
-export const toMoment = (value, format) => {
- if (!value) {
- return null;
- }
-
- // if 'today'
- if (value === 'today') {
- return moment();
- }
-
- if (value instanceof DateRange) {
- return value;
- }
-
- if (Array.isArray(value)) {
- return new DateRange(value.map(v => toMoment(v, format)));
- }
-
- // If it's a moment object
- if (moment.isMoment(value)) {
- return value.isValid() ? value.clone() : null;
- }
-
- // Anything else
- const result = moment(value, value instanceof Date ? null : format, true);
- return result.isValid() ? result : null;
-};
-
-export const isDateInRange = (date, min, max) => {
- if (!min && !max) {
- return true;
- }
- if (!min) {
- return date <= max;
- }
- if (!max) {
- return date >= min;
- }
- return min <= date && date <= max;
-};
-
-export const formatMoment = (date, valueFormat) => {
- if (!date) {
- return '';
- }
- if (valueFormat === moment.ISO_8601) {
- return date.format();
- }
- if (typeof valueFormat === 'string') {
- return date.format(valueFormat);
- }
-
- throw new Error(
- `${valueFormat} is not valid, 'valueFormat' should be a moment format string ` +
- 'or the moment.ISO_8601 constant.'
- );
-};
diff --git a/src/utils/number.js b/src/utils/number.js
deleted file mode 100644
index 87bd04260da..00000000000
--- a/src/utils/number.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export function clamp(number, min = -Infinity, max = Infinity) {
- return Math.min(Math.max(number, min), max);
-}
-
-/**
- * Ensures that a given value is constrained within a given min, max and snaps to an appropriate step.
- * @param {Number} rawValue The value to be snapped
- * @param {Number} min Minimum value of the range
- * @param {Number} max Maximum value of the range
- * @param {Number} step Step by which to increment/decrement values within the range.
- * @returns {Number} The snapped value
- */
-export function snapValueToStep(rawValue, min, max, step) {
- step = parseFloat(step) || 1;
- let remainder = ((rawValue - min) % step);
- let snappedValue;
- let precision = step.toString().replace(/^(?:\d+)(?:\.(\d+))?$/g, '$1').length;
-
- if (Math.abs(remainder) * 2 >= step) {
- snappedValue = (rawValue - Math.abs(remainder)) + step;
- } else {
- snappedValue = rawValue - remainder;
- }
-
- if (snappedValue < min) {
- snappedValue = min;
- } else if (snappedValue > max) {
- snappedValue = min + Math.floor((max - min) / step) * step;
- }
-
- // correct floating point behavior by rounding to step precision
- if (precision > 0) {
- snappedValue = parseFloat(snappedValue.toFixed(precision));
- }
-
- return snappedValue;
-}
-
-/**
- * Corrects floating point errors when adding or subtracting values.
- * @param {String} operator '+' or '-'
- * @param {Number} value1 Starting value
- * @param {Number} value1 Value to be added or subtracted
- * @returns {Number} The returned value
- */
-export function handleDecimalOperation(operator, value1, value2) {
- let result = operator === '+' ? value1 + value2 : value1 - value2;
-
- // Check if we have decimals
- if (value1 % 1 !== 0 || value2 % 1 !== 0) {
- const value1Decimal = value1.toString().split('.');
- const value2Decimal = value2.toString().split('.');
- const value1DecimalLength = (value1Decimal[1] && value1Decimal[1].length) || 0;
- const value2DecimalLength = (value2Decimal[1] && value2Decimal[1].length) || 0;
- const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength));
-
- // Transform the decimals to integers based on the precision
- value1 = Math.round(value1 * multiplier);
- value2 = Math.round(value2 * multiplier);
-
- // Perform the operation on integers values to make sure we don't get a fancy decimal value
- result = operator === '+' ? value1 + value2 : value1 - value2;
-
- // Transform the integer result back to decimal
- result /= multiplier;
- }
-
- return result;
-}
-
diff --git a/src/utils/proxyObject.js b/src/utils/proxyObject.js
deleted file mode 100644
index d6f3a7903a4..00000000000
--- a/src/utils/proxyObject.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {Component} from 'react';
-
-/**
- * Creates a proxy object containing all of the methods of the input object
- * bound to that object, such that calling them still applies to the input
- * object. This allows combining the methods of two objects without mutating
- * either one.
- */
-export default function proxy(obj) {
- let res = {};
- if (!obj) {
- return res;
- }
-
- for (let key of getAllPropertyNames(obj)) {
- if (typeof obj[key] === 'function') {
- res[key] = obj[key].bind(obj);
- }
- }
-
- return res;
-}
-
-function getAllPropertyNames(obj) {
- var props = [];
-
- do {
- props = props.concat(Object.getOwnPropertyNames(obj));
- } while ((obj = Object.getPrototypeOf(obj)) && obj !== Object.prototype && obj !== Component.prototype);
-
- return props;
-}
diff --git a/src/utils/scrollToDOMNode.js b/src/utils/scrollToDOMNode.js
deleted file mode 100644
index 43d793ab9f8..00000000000
--- a/src/utils/scrollToDOMNode.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export default (node, parentNode, alignToStart) => {
- if (parentNode && parentNode.contains(node)) {
- const {clientHeight, clientWidth, scrollTop, scrollLeft} = parentNode;
- const {offsetHeight, offsetWidth, offsetTop, offsetLeft} = node;
- const parentPosition = window.getComputedStyle(parentNode).position;
- let parentOffsetTop = parentNode.offsetTop;
- let parentOffsetLeft = parentNode.offsetLeft;
-
- if (parentPosition !== 'static') {
- parentOffsetTop = parentOffsetLeft = 0;
- }
-
- if (offsetTop < scrollTop) {
- parentNode.scrollTop = offsetTop;
- } else {
- const offsetBottom = offsetTop + offsetHeight;
- const scrollBottom = scrollTop + clientHeight;
- if (offsetBottom > scrollBottom) {
- parentNode.scrollTop = alignToStart ? offsetTop - parentOffsetTop : offsetBottom - clientHeight - parentOffsetTop;
- }
- }
-
- if (offsetLeft < scrollLeft) {
- parentNode.scrollLeft = offsetLeft;
- } else {
- const offsetRight = offsetLeft + offsetWidth;
- const scrollRight = scrollLeft + clientWidth;
- if (offsetRight > scrollRight) {
- parentNode.scrollLeft = alignToStart ? offsetLeft - parentOffsetLeft : offsetRight - clientWidth - parentOffsetLeft;
- }
- }
- }
-};
diff --git a/src/utils/string.js b/src/utils/string.js
deleted file mode 100644
index 8a517acfab0..00000000000
--- a/src/utils/string.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export function isUrl(string) {
- return string && !!string.match(/\/|:|\./g);
-}
-
-export function normalize(string = '', normalizationForm = 'NFC') {
- if ('normalize' in String.prototype) {
- string = string.normalize(normalizationForm);
- }
- return string;
-}
-
-export function removeDiacritics(string = '', normalizationForm = 'NFD') {
- return normalize(string, normalizationForm.replace('C', 'D')).replace(/[\u0300-\u036f]/g, '');
-}
-
-/** adapted from https://github.com/rwu823/react-addons-text-content */
-export function getTextFromReact(reactChild) {
- let result = '';
-
- const addChildTextToResult = (child) => {
- if (typeof child === 'string' || typeof child === 'number') {
- result = `${result} ${child}`;
- } else if (Array.isArray(child)) {
- child.forEach(c => addChildTextToResult(c));
- } else if (child && child.props) {
- const {children} = child.props;
- if (Array.isArray(children)) {
- children.forEach(c => addChildTextToResult(c));
- } else {
- addChildTextToResult(children);
- }
- }
- };
-
- addChildTextToResult(reactChild);
-
- // clean up adjacent whitespace in result
- const adjacentWhitespaceRegex = /(\s)(?:\s+)/g;
- return result.trim().replace(adjacentWhitespaceRegex, '$1');
-}
diff --git a/src/utils/style/CollectionView/index.styl b/src/utils/style/CollectionView/index.styl
deleted file mode 100644
index 443f50a5dac..00000000000
--- a/src/utils/style/CollectionView/index.styl
+++ /dev/null
@@ -1,21 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.react-spectrum-CollectionView-rowWrapper,
-.react-spectrum-CollectionView-rowWrapper > div {
- height: 100%;
-}
\ No newline at end of file
diff --git a/src/utils/style/index.styl b/src/utils/style/index.styl
deleted file mode 100644
index cfbf0921421..00000000000
--- a/src/utils/style/index.styl
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-// Hidden from visual browsers, but still accessible to screenreaders
-.u-react-spectrum-screenReaderOnly {
- border: 0;
- clip: rect(0 0 0 0);
- clip-path: inset(50%);
- height: 1px;
- margin: 0 -1px -1px 0;
- overflow: hidden;
- padding: 0;
- position: absolute;
- width: 1px;
- white-space: nowrap;
-
- &.is-focusable {
- &:active,
- &:focus {
- clip: auto;
- clip-path: none;
- height: auto;
- margin: inherit;
- overflow: visible;
- position: static;
- width: auto;
- white-space: inherit;
- }
- }
-}
diff --git a/src/utils/timer.js b/src/utils/timer.js
deleted file mode 100644
index d5f0d158fad..00000000000
--- a/src/utils/timer.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export default class Timer {
-
- constructor(callback, delay) {
- this.callback = callback;
- this.remaining = delay;
- this.resume();
- }
-
- pause() {
- window.clearTimeout(this.timerId);
- this.remaining -= new Date() - this.start;
- }
-
- resume() {
- this.start = new Date();
- if (this.timerId) {
- window.clearTimeout(this.timerId);
- }
- this.timerId = window.setTimeout(this.callback, this.remaining);
- }
-}
diff --git a/src/utils/transition.js b/src/utils/transition.js
deleted file mode 100644
index 11a83e135af..00000000000
--- a/src/utils/transition.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-// Determine which event to add a transition event to depending on the browser being used.
-let transitionEvent;
-export function getTransitionEvent() {
- if (!transitionEvent) {
- const el = document.createElement('fakeelement');
- const transitions = {
- transition: 'transitionend',
- OTransition: 'oTransitionEnd',
- MozTransition: 'transitionend',
- WebkitTransition: 'webkitTransitionEnd'
- };
- const keys = Object.keys(transitions);
-
- for (let i = 0; i < keys.length; i++) {
- const t = keys[i];
- if (el.style[t] !== undefined) {
- transitionEvent = transitions[t];
- break;
- }
- }
- }
- return transitionEvent;
-}
diff --git a/stories/Accordion.js b/stories/Accordion.js
deleted file mode 100644
index 88a51e43f46..00000000000
--- a/stories/Accordion.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {Accordion, AccordionItem} from '../src/Accordion';
-import {action} from '@storybook/addon-actions';
-import ComboBox from '../src/ComboBox';
-import FieldLabel from '../src/FieldLabel';
-import Radio from '../src/Radio';
-import RadioGroup from '../src/RadioGroup';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-const OPTIONS = [
- 'Chocolate',
- 'Vanilla',
- 'Strawberry',
- 'Caramel',
- 'Cookies and Cream',
- 'Coconut',
- 'Peppermint',
- 'Some crazy long value that should be cut off'
-];
-
-storiesOf('Accordion', module)
- .add(
- 'Default',
- () => render({'aria-label': 'Default'}),
- {info: 'This is the basic usage of the Accordion.'}
- )
- .add(
- 'Multiselectable',
- () => render({'aria-label': 'Multiselectable', multiselectable: true}),
- {info: 'This is an Accordion where you can open multiple accordion items.'}
- )
- .add(
- 'Default selected index',
- () => render({'aria-label': 'Default selected index', defaultSelectedIndex: 1}),
- {info: 'This is an Accordion where the the second accordion item is opened by default.'}
- )
- .add(
- 'Selected index',
- () => render({'aria-label': 'Selected index', selectedIndex: 1}),
- {info: 'This is a controlled Accordion where the the second accordion item is opened by default.'}
- )
- .add(
- 'ariaLevel',
- () => render({'aria-label': 'ariaLevel', ariaLevel: 4}),
- {info: 'This is an Accordion where heading level for Accordion item headings has been changed from its default value of 3 to 4. This allows a developer to place Accordion headings with in the heading hierarchy of the application.'}
- )
- .add(
- 'nested RadioGroup',
- () => render({'aria-label': 'nested RadioGroup', radioGroup: true}),
- {info: 'This is an Accordion containing a nested radio group to demonstrate that keyboard selection of RadioGroup items does not propagate to ancestor Accordion element.'}
- )
- .add(
- 'nested ComboBox',
- () => render({'aria-label': 'nested ComboBox', comboBox: true}),
- {info: 'This is an Accordion containing a nested ComboBox to demonstrate that keyboard selection of ComboBox items does not propagate to ancestor Accordion element.'}
- );
-
-function render(props = {}) {
- const {radioGroup, comboBox, ...otherProps} = props;
- return (
-
- Item 1
-
- {(radioGroup &&
-
-
-
-
-
-
- ) ||
- (comboBox &&
-
-
- ) ||
- 'Item 2'}
-
- Item 3
- Item 4
-
- );
-}
diff --git a/stories/Alert.js b/stories/Alert.js
deleted file mode 100644
index 09a1ef1390b..00000000000
--- a/stories/Alert.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-*/
-import {action} from '@storybook/addon-actions';
-import Alert from '../src/Alert';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Alert', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'Closeable',
- () => render({closeLabel: 'Close', onClose: action('close')})
- )
- .add(
- 'header',
- () => render({header: 'info'})
- )
- .add(
- 'variant: info',
- () => render({header: 'info', variant: 'info'})
- )
- .add(
- 'variant: help',
- () => render({header: 'help', variant: 'help'})
- )
- .add(
- 'variant: success',
- () => render({header: 'success', variant: 'success'})
- )
- .add(
- 'variant: error',
- () => render({header: 'error', variant: 'error'})
- )
- .add(
- 'variant: warning',
- () => render({header: 'warning', variant: 'warning'})
- )
- .add(
- 'aria-live: polite',
- () => render({header: 'error', variant: 'error', 'aria-live': 'polite'})
- )
- .add(
- 'aria-live: off',
- () => render({header: 'error', variant: 'error', 'aria-live': 'off'})
- );
-
-function render(props = {}, children = 'This is a React Spectrum alert') {
- return (
-
- {children}
-
- );
-}
diff --git a/stories/Asset.js b/stories/Asset.js
deleted file mode 100644
index 2b8b7aba45c..00000000000
--- a/stories/Asset.js
+++ /dev/null
@@ -1,63 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {Asset} from '../src/Asset';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Asset', module)
- .add(
- 'Image',
- () => (
-
- )
- )
- .add(
- 'File',
- () => (
-
- )
- )
- .add(
- 'Folder',
- () => (
-
- )
- )
- .add(
- 'Decorative: true',
- () => (
-
- ),
- {info: 'Use the decorative boolean prop to indicate that the image is decorative, or redundant with displayed text, and should not announced by screen readers.'}
- );
diff --git a/stories/Autocomplete.js b/stories/Autocomplete.js
deleted file mode 100644
index 06011986294..00000000000
--- a/stories/Autocomplete.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Autocomplete from '../src/Autocomplete';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textfield from '../src/Textfield';
-
-const OPTIONS = [
- 'Chocolate',
- 'Vanilla',
- 'Strawberry',
- 'Caramel',
- 'Cookies and Cream',
- 'Coconut',
- 'Peppermint',
- 'Some crazy long value that should be cut off'
-];
-
-function getCompletions(text) {
- return OPTIONS.filter(o => o.toLowerCase().startsWith(text.toLowerCase()));
-}
-
-function getCompletionsAsync(input) {
- if (input === '') {
- return [];
- }
- return fetch(`https://api.github.com/search/users?q=${input}`)
- .then((response) => response.json())
- .then((json) => json.items && json.items.map(item => ({label: item.login, id: item.id})));
-}
-
-storiesOf('Autocomplete', module)
- .add(
- 'Default',
- () => (
-
-
-
- )
- )
- .add(
- 'allowCreate',
- () => (
-
-
-
- )
- )
- .add(
- 'Async',
- () => (
-
-
-
- )
- )
- .add(
- 'Controlled',
- () => (
-
-
-
- )
- )
- .add(
- 'renderItem',
- () => (
- {item} }>
-
-
- ),
- {info: 'This example uses renderItem method to italicize text'}
- )
- .add(
- 'showMenu: false',
- () => (
-
-
-
- )
- );
diff --git a/stories/Avatar.js b/stories/Avatar.js
deleted file mode 100644
index ac6fee0b8fd..00000000000
--- a/stories/Avatar.js
+++ /dev/null
@@ -1,40 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Avatar from '../src/Avatar';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Avatar', module)
- .add(
- 'Default',
- () => (
-
- )
- )
- .add(
- 'Disabled',
- () => (
-
- )
- )
- .add(
- 'With alt text',
- () => (
-
- )
- );
diff --git a/stories/Banner.js b/stories/Banner.js
deleted file mode 100644
index 5e526d2d4bf..00000000000
--- a/stories/Banner.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Banner from '../src/Banner';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Banner', module)
- .add(
- 'Default',
- () => render({header: 'Most Popular', content: 'Includes Illustrator CC'})
- ).add(
- 'variant: corner',
- () => (
-
- {render({header: 'Most Popular', content: 'Includes Illustrator CC', corner: true})}
-
- )
- ).add(
- 'variant: warning',
- () => render({header: 'Purchase Soon', content: 'Your trial is about to expire', variant: 'warning'})
- ).add(
- 'variant: error',
- () => render({header: 'Purchase Soon', content: 'Trial expires in 2 days', variant: 'error'})
- );
-
-function render(props = {}) {
- return ( );
-}
diff --git a/stories/Breadcrumbs.js b/stories/Breadcrumbs.js
deleted file mode 100644
index 9a6f15930d3..00000000000
--- a/stories/Breadcrumbs.js
+++ /dev/null
@@ -1,51 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Breadcrumbs from '../src/Breadcrumbs';
-import FolderIcon from '../src/Icon/Folder';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Breadcrumbs', module)
- .add(
- 'Default',
- () => (
-
- )
- )
- .add(
- 'icon: folder',
- () => (
- }
- items={[{label: 'Folder 1', href: '#Folder-1'}, {label: 'Folder 2'}, {label: 'Folder 3'}]}
- onBreadcrumbClick={action('breadcrumbClick')} />
- )
- )
- .add(
- 'variant: "title"',
- () => (
-
- )
- );
diff --git a/stories/Button.js b/stories/Button.js
deleted file mode 100644
index 9033066b59a..00000000000
--- a/stories/Button.js
+++ /dev/null
@@ -1,185 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Bell from '../src/Icon/Bell';
-import Brush from '../src/Icon/Brush';
-import Button from '../src/Button';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Button', module)
- .add(
- 'variant: cta',
- () => render({variant: 'cta'})
- )
- .add(
- 'variant: primary',
- () => render({variant: 'primary'})
- )
- .add(
- 'variant: secondary',
- () => render({variant: 'secondary'})
- )
- .add(
- 'variant: warning',
- () => render({variant: 'warning'})
- )
- .add(
- 'variant: overBackground',
- () => (
-
- {render({variant: 'overBackground'})}
-
- )
- )
- .add(
- 'variant: action',
- () => renderSelected({variant: 'action'})
- )
- .add(
- 'variant: action with holdAffordance',
- () => renderSelected({variant: 'action', holdAffordance: true, onLongClick: action('longClick')})
- )
- .add(
- 'variant: tool',
- () => renderSelected({variant: 'tool', label: null, icon: })
- )
- .add(
- 'variant: tool with holdAffordance',
- () => renderSelected({variant: 'tool', label: null, icon: , holdAffordance: true, onLongClick: action('longClick')})
- )
- .add(
- 'variant: action icon only',
- () => renderSelected({variant: 'action', label: null, icon: })
- )
- .add(
- 'logic variant: and',
- () => render({logic: true, variant: 'and', label: 'and'})
- )
- .add(
- 'logic variant: or',
- () => render({logic: true, variant: 'or', label: 'or'})
- )
- .add(
- 'quiet: true, variant: primary',
- () => render({quiet: true, variant: 'primary'})
- )
- .add(
- 'quiet: true, variant: secondary',
- () => render({quiet: true, variant: 'secondary'})
- )
- .add(
- 'quiet: true, variant: warning',
- () => render({quiet: true, variant: 'warning'})
- )
- .add(
- 'quiet: true, variant: overBackground',
- () => (
-
- {render({quiet: true, variant: 'overBackground'})}
-
- )
- )
- .add(
- 'quiet: true, variant: action',
- () => renderSelected({quiet: true, variant: 'action'})
- )
- .add(
- 'quiet: true, variant: action icon only',
- () => renderSelected({quiet: true, variant: 'action', label: null, icon: })
- )
- .add(
- 'icon: bell',
- () => render({icon: , variant: 'primary'})
- )
- .add(
- 'selected: true',
- () => render({selected: true, variant: 'primary'})
- )
- .add(
- 'element: a',
- () => render({element: 'a', href: 'http://example.com'})
- )
- .add(
- 'shift focus on mouseDown',
- () => renderShiftFocusOnMouseDown({variant: 'secondary'}),
- {info: 'In Safari, buttons don\'t receive focus following mousedown/mouseup events. React-spectrum provides a workaround for this issue so that components like the ButtonGroup will be navigable using the keyboard after receiving focus with the mouse. This story tests whether it is still possible to shift focus on mousedown without using preventDefault to prevent focus from being reclaimed by the button being clicked.'}
- );
-
-function renderSelected(props = {}) {
- return (
-
-
-
-
-
- );
-}
-
-function render(props = {}) {
- return (
-
-
-
-
- );
-}
-
-function renderShiftFocusOnMouseDown(props = {}) {
- const buttons = [];
- return (
-
- buttons.push(b)}
- onMouseDown={e => {e.preventDefault(); buttons[1].focus();}}
- onClick={action('click')}
- {...props} />
- buttons.push(b)}
- onMouseDown={e => {e.preventDefault(); buttons[0].focus();}}
- onClick={action('click')}
- {...props} />
- buttons.push(b)}
- onMouseDown={e => e.preventDefault()}
- onClick={action('click')}
- {...props} />
-
- );
-}
diff --git a/stories/ButtonGroup.js b/stories/ButtonGroup.js
deleted file mode 100644
index 3468538cff7..00000000000
--- a/stories/ButtonGroup.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Add from '../src/Icon/Add';
-import Bell from '../src/Icon/Bell';
-import Brush from '../src/Icon/Brush';
-import Button from '../src/Button';
-import ButtonGroup from '../src/ButtonGroup';
-import Camera from '../src/Icon/Camera';
-import CheckmarkCircle from '../src/Icon/CheckmarkCircle';
-import Delete from '../src/Icon/Delete';
-import React from 'react';
-import RegionSelect from '../src/Icon/RegionSelect';
-import Select from '../src/Icon/Select';
-import {storiesOf} from '@storybook/react';
-import Undo from '../src/Icon/Undo';
-
-const defaultProps = {
- children: [
- } />,
- } />,
- } />,
- } />,
- } />,
- } />
- ]
-};
-
-const toolProps = {
- children: [
- } />,
- } />,
- } />
- ]
-};
-
-const selectedValue = [
- 'delete'
-];
-
-storiesOf('ButtonGroup', module)
- .add(
- 'Default',
- () => (render({...defaultProps}))
- )
- .add(
- 'Vertical',
- () => (render({orientation: 'vertical'}))
- )
- .add(
- 'allows multiple selection',
- () => (render({multiple: true}))
- )
- .add('single button preselected, controlled',
- () => (render({value: 'bell'}))
- )
- .add('multiple buttons preselected, controlled',
- () => (render({value: ['delete', 'bell'], multiple: true}))
- )
- .add(
- 'disabled: true',
- () => (render({value: selectedValue, multiple: true, disabled: true}))
- )
- .add(
- 'readOnly: true',
- () => (render({readOnly: true, onClick: action('click')}))
- )
- .add(
- 'readOnly: true (vertical)',
- () => (render({readOnly: true, orientation: 'vertical', onClick: action('click')}))
- )
- .add(
- 'Tool',
- () => (render({...toolProps}))
- )
- .add(
- 'Tool (vertical)',
- () => (render({orientation: 'vertical', ...toolProps}))
- )
- .add(
- 'manageTabIndex: false',
- () => (render({manageTabIndex: false, ...defaultProps}))
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Calendar.js b/stories/Calendar.js
deleted file mode 100644
index cdf97fb8484..00000000000
--- a/stories/Calendar.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Calendar from '../src/Calendar';
-import moment from 'moment';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Calendar', module)
- .add(
- 'Default',
- () => render({value: 'today'})
- )
- .add(
- 'startDay=1',
- () => render({startDay: 1, value: 'today'})
- )
- .add(
- 'uncontrolled',
- () => render({defaultValue: 'today'})
- )
- .add(
- 'min=today, max=one week',
- () => render({min: 'today', max: moment().date(moment().date() + 7).format('YYYY-MM-DD')})
- )
- .add(
- 'value=2015-01-15',
- () => render({type: 'datetime', value: '2015-01-15'})
- )
- .add(
- 'headerFormat=M/YYYY',
- () => render({headerFormat: 'M/YYYY'})
- )
- .add(
- 'disabled=true',
- () => render({disabled: true})
- )
- .add(
- 'selectionType=range',
- () => render({selectionType: 'range'})
- )
- .add(
- 'selectionType=range with value',
- () => render({selectionType: 'range', value: ['2015-01-15', '2015-01-19']})
- )
- .add(
- 'disabled selectionType=range',
- () => render({selectionType: 'range', value: ['2015-01-15', '2015-01-19'], disabled: true})
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Card.js b/stories/Card.js
deleted file mode 100644
index 78926f04ae8..00000000000
--- a/stories/Card.js
+++ /dev/null
@@ -1,358 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import {Asset} from '../src/Asset';
-import {Card, CardBody, CardCoverPhoto, CardFooter, CardPreview} from '../src/Card';
-import DropdownButton from '../src/DropdownButton/js/DropdownButton';
-import {MenuItem} from '../src/Menu';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-importSpectrumCSS('card');
-
-storiesOf('Card', module)
- .add(
- 'Default',
- () => (
-
-
-
-
-
-
- )
- )
- .add(
- 'Selected',
- () => (
-
-
-
-
-
-
- )
- )
- .add(
- 'Selection Disabled',
- () => (
-
-
-
-
-
-
- )
- )
- .add(
- 'Explicit onSelectionChange',
- () => (
-
-
-
-
-
-
- )
- )
- .add(
- 'Explicit onSelectionChange and onClick',
- () => (
-
-
-
-
-
-
- )
- )
- .add(
- 'Footer',
- () => (
-
-
-
-
-
- Footer
-
-
-
- )
- )
- .add(
- 'Asset Preview',
- () => (
-
- )
- )
- .add(
- 'Asset Preview with image cache',
- () => (
-
- )
- )
- .add(
- 'Action button',
- () => (
-
-
- Foo
- Bar
- Baz
-
- }>
-
-
-
-
- )
- )
- .add(
- 'Quiet - Default',
- () => (
-
- )
- )
- .add(
- 'Quiet - Description',
- () => (
-
- )
- )
- .add(
- 'Quiet - Selected',
- () => (
-
- )
- )
- .add(
- 'Quiet - Small',
- () => (
-
- )
- )
- .add(
- 'Quiet - Folder',
- () => (
-
- )
- )
- .add(
- 'Quiet - File',
- () => (
-
- )
- )
- .add(
- 'Quiet - Action Button',
- () => (
-
-
- Foo
- Bar
- Baz
-
- }>
-
-
-
-
-
-
- )
- )
- .add(
- 'Quiet - Small, Action Button',
- () => (
-
-
- Foo
- Bar
- Baz
-
- }>
-
-
-
-
-
-
- )
- )
- .add(
- 'Gallery - Default',
- () => (
-
- )
- )
- .add(
- 'Gallery - Description',
- () => (
-
- )
- )
- .add(
- 'Gallery - Selected',
- () => (
-
- )
- )
- .add(
- 'Gallery - Small',
- () => (
-
- )
- )
- .add(
- 'Gallery - Action Button',
- () => (
-
-
- Foo
- Bar
- Baz
-
- }>
-
-
-
-
-
-
- )
- )
- .add(
- 'Gallery - Small, Action Button',
- () => (
-
-
- Foo
- Bar
- Baz
-
- }>
-
-
-
-
-
-
- )
- );
diff --git a/stories/Checkbox.js b/stories/Checkbox.js
deleted file mode 100644
index 0dd6f4c0813..00000000000
--- a/stories/Checkbox.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Checkbox from '../src/Checkbox';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Checkbox', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'defaultChecked: true',
- () => render({defaultChecked: true})
- )
- .add(
- 'checked: true',
- () => render({checked: true})
- )
- .add(
- 'checked: false',
- () => render({checked: false})
- )
- .add(
- 'indeterminate: true',
- () => render({indeterminate: true})
- )
- .add(
- 'invalid: true',
- () => render({invalid: true})
- )
- .add(
- 'disabled: true',
- () => render({disabled: true})
- )
- .add(
- 'quiet: true',
- () => render({quiet: true})
- )
- .add(
- 'quiet: true, indeterminate: true',
- () => render({quiet: true, indeterminate: true})
- )
- .add(
- 'quiet: true, invalid: true',
- () => render({quiet: true, invalid: true})
- )
- .add(
- 'quiet: true, invalid: true, indeterminate: true',
- () => render({quiet: true, invalid: true, indeterminate: true})
- )
- .add(
- 'quiet: true, disabled: true',
- () => render({quiet: true, disabled: true})
- )
- .add(
- 'Label Not Set',
- () => render({label: null, 'aria-label': 'React'})
- )
- .add(
- 'renderLabel: false',
- () => render({renderLabel: false, label: 'React checkbox'})
- )
- .add(
- 'custom label',
- () => renderCustomLabel()
- );
-
-function render(props = {}) {
- return (
-
- {
- props.renderLabel === false && 'with renderLabel: false'
- }
-
- );
-}
-
-function renderCustomLabel(props = {}) {
- return (
-
- Italicized Checkbox Label
-
- );
-}
diff --git a/stories/Clock.js b/stories/Clock.js
deleted file mode 100644
index fcb19db6990..00000000000
--- a/stories/Clock.js
+++ /dev/null
@@ -1,67 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Clock from '../src/Clock';
-import createId from '../src/utils/createId';
-import FieldLabel from '../src/FieldLabel';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-const clockId = createId();
-
-storiesOf('Clock', module)
- .add(
- 'Default',
- () => render({value: 'today', 'aria-label': 'Start time'})
- )
- .add(
- 'uncontrolled',
- () => render({defaultValue: 'today', 'aria-label': 'Start time'})
- )
- .add(
- 'quiet=true',
- () => render({quiet: true, 'aria-label': 'Start time'})
- )
- .add(
- 'using aria-labelledby',
- () => render({value: 'today', id: clockId, 'aria-labelledby': clockId + '-label', labelText: 'Start time'}),
- {info: 'Labeling using a FieldLabel with labelFor and id, and aria-labelledby on the Clock ensures that the fieldset is labeled and clicking on the label will focus the hours field.'}
- ).add(
- 'AM/PM',
- () => render({defaultValue: 'today', displayFormat: 'hh:mm a'})
- );
-
-function renderClock(props = {}) {
- delete props.labelText;
- return (
-
- );
-}
-
-function render(props = {}) {
- return (
- {props.labelText &&
- (
-
- {renderClock(props)}
-
) ||
- renderClock(props)
- }
);
-}
diff --git a/stories/CoachMark.js b/stories/CoachMark.js
deleted file mode 100644
index 834fa0d9d20..00000000000
--- a/stories/CoachMark.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Button from '../src/Button';
-import CoachMark from '../src/CoachMark';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('CoachMark', module)
- .add(
- 'default',
- () => (
- target
-
- This is a Default Coach Mark
-
-
)
- )
- .add(
- 'dismissible',
- () => (
- target
-
- This is a Default Coach Mark
-
-
)
- )
- .add(
- 'quiet',
- () => (
- target
-
- This is a Default Coach Mark
-
-
)
- )
- .add(
- 'steps',
- () => (
- target
-
- This is a Default Coach Mark
-
-
)
- )
- .add(
- 'image',
- () => (
- target
-
- This is a Default Coach Mark
-
-
)
- );
diff --git a/stories/ColumnView.js b/stories/ColumnView.js
deleted file mode 100644
index eeaaa3fcb08..00000000000
--- a/stories/ColumnView.js
+++ /dev/null
@@ -1,111 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import {ColumnView} from '../src/ColumnView';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import TreeDataSource from '../src/TreeDataSource';
-
-storiesOf('ColumnView', module)
- .add(
- 'Default',
- () => render({'aria-label': 'Default'})
- )
- .add(
- 'allowsSelection',
- () => render({allowsSelection: true, 'aria-label': 'allowsSelection'})
- )
- .add(
- 'allowsBranchSelection',
- () => render({allowsSelection: true, allowsBranchSelection: true, 'aria-label': 'allowsBranchSelection'})
- )
- .add(
- 'renderDetail',
- () => render({renderDetail, allowsSelection: true, 'aria-label': 'renderDetail'})
- )
- .add(
- 'selectedItems',
- () => render({allowsSelection: true, selectedItems: [{label: 'Sub Child 1'}], 'aria-label': 'selectedItems'})
- )
- .add(
- 'navigatedPath',
- () => render({navigatedPath: [data[0], data[0].children[0], data[0].children[0].children[2]]})
- )
- .add(
- 'navigatedPath using isItemEqual',
- () => render({navigatedPath: [{label: 'Test 1'}, {label: 'Child 1'}, {label: 'Sub Child 2'}]})
- );
-
-const data = [
- {label: 'Test 1', children: [
- {label: 'Child 1', children: [
- {label: 'Sub Child 1'},
- {label: 'Sub Child 2'},
- {label: 'Sub Child 3'},
- {label: 'Sub Child 4'},
- {label: 'Sub Child 5'},
- {label: 'Sub Child 6'},
- {label: 'Sub Child 7'},
- {label: 'Sub Child 8'}
- ]},
- {label: 'Child 2'}
- ]},
- {label: 'Test 2'}
-];
-
-class ExampleDS extends TreeDataSource {
- async getChildren(item) {
- if (!item) {
- return data;
- }
-
- return item.children;
- }
-
- hasChildren(item) {
- return !!item.children;
- }
-
- isItemEqual(a, b) {
- return a.label === b.label;
- }
-}
-
-function renderItem(item) {
- return item.label;
-}
-
-function renderDetail(item) {
- return (
-
-
Detail
-
{item.label}
-
- );
-}
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/ComboBox.js b/stories/ComboBox.js
deleted file mode 100644
index 4ad733b94f0..00000000000
--- a/stories/ComboBox.js
+++ /dev/null
@@ -1,139 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Bell from '../src/Icon/Bell';
-import ComboBox from '../src/ComboBox';
-import React from 'react';
-import Seat from '../src/Icon/Seat';
-import Send from '../src/Icon/Send';
-import Stop from '../src/Icon/Stop';
-import {storiesOf} from '@storybook/react';
-import Trap from '../src/Icon/Trap';
-
-const OPTIONS = [
- 'Chocolate',
- 'Vanilla',
- 'Strawberry',
- 'Caramel',
- 'Cookies and Cream',
- 'Coconut',
- 'Peppermint',
- 'Some crazy long value that should be cut off'
-];
-
-const OPTION_ICONS = [
- {label: 'Bell', icon: },
- {label: 'Stop', icon: },
- {label: 'Trap', icon: },
- {label: 'Send', icon: },
- {label: 'Seat', icon: }
-];
-
-const OPTIONS_KEY_PAIRS = [
- {label: 'Label 1', value: '1234'},
- {label: 'Label 2', value: '5678'},
- {label: 'Label 3', value: '9123'},
- {label: 'Label 4', value: '4567'},
- {label: 'Label 5', value: '8912'}
-];
-
-storiesOf('ComboBox', module)
- .add(
- 'Default',
- () => render({options: OPTIONS, 'aria-label': 'Default'})
- )
- .add(
- 'invalid',
- () => render({options: OPTIONS, 'aria-label': 'invalid', invalid: true})
- )
- .add(
- 'disabled',
- () => render({options: OPTIONS, 'aria-label': 'disabled', disabled: true})
- )
- .add(
- 'quiet',
- () => render({options: OPTIONS, 'aria-label': 'quiet', quiet: true})
- )
- .add(
- 'quiet invalid',
- () => render({options: OPTIONS, 'aria-label': 'quiet invalid', quiet: true, invalid: true})
- )
- .add(
- 'quiet disabled',
- () => render({options: OPTIONS, 'aria-label': 'quiet disabled', quiet: true, disabled: true})
- )
- .add(
- 'Key Value Pairs',
- () => render({options: OPTIONS_KEY_PAIRS, 'aria-label': 'key value pairs'})
- )
- .add(
- 'with icons',
- () => render({options: OPTION_ICONS, 'aria-label': 'with icons'})
- )
- .add(
- 'controlled',
- () => renderControlled({options: OPTIONS})
- )
- .add(
- 'renderItem',
- () => render({
- options: OPTIONS,
- 'aria-label': 'renderItem',
- renderItem: (item) => {item}
- }),
- {info: 'This example uses renderItem method to italicize text'}
- );
-
-function render(props = {}) {
- return (
-
- );
-}
-
-function renderControlled(props = {}) {
- return (
-
- );
-}
-
-class ControlledCombo extends React.Component {
- state = {
- value: 'Vanilla',
- showMenu: false
- };
- onSelect() {
- this.setState({value: 'Chocolate'});
- }
- render() {
- let props = this.props;
- return (
- this.setState({showMenu})}
- placeholder="Combo Box"
- value={this.state.value}
- {...props} />
- );
- }
-}
diff --git a/stories/CycleButton.js b/stories/CycleButton.js
deleted file mode 100644
index a8d5bcb7f66..00000000000
--- a/stories/CycleButton.js
+++ /dev/null
@@ -1,76 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import CycleButton from '../src/CycleButton';
-import PauseCircle from '../src/Icon/PauseCircle';
-import PlayCircle from '../src/Icon/PlayCircle';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import VolumeMute from '../src/Icon/VolumeMute';
-import VolumeOne from '../src/Icon/VolumeOne';
-import VolumeThree from '../src/Icon/VolumeThree';
-import VolumeTwo from '../src/Icon/VolumeTwo';
-
-storiesOf('CycleButton', module)
- .add(
- 'Default',
- () => render({})
- )
- .add(
- 'defaultAction',
- () => render({defaultAction: 'pause'})
- )
- .add(
- 'Controlled Component',
- () => render({action: 'play'})
- )
- .add(
- 'Disabled',
- () => render({disabled: true})
- )
- .add(
- 'Volume button',
- () => renderVolumeButton({defaultAction: 'volumeOne'})
- );
-
-function render(props = {}) {
- return (
- , label: 'Play'},
- {name: 'pause', icon: , label: 'Pause'}
- ]}
- {...props} />
- );
-}
-
-function renderVolumeButton(props = {}) {
- return (
- , label: 'Volume: 33%'},
- {name: 'volumeTwo', icon: , label: 'Volume: 66%'},
- {name: 'volumeThree', icon: , label: 'Volume: 100%'},
- {name: 'mute', icon: , label: 'Volume: Muted'}]}
- {...props} />
- );
-}
diff --git a/stories/Datepicker.js b/stories/Datepicker.js
deleted file mode 100644
index 0f0f8d1e039..00000000000
--- a/stories/Datepicker.js
+++ /dev/null
@@ -1,204 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Datepicker from '../src/Datepicker';
-import FieldLabel from '../src/FieldLabel';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Datepicker', module)
- .add(
- 'Default',
- () => render({'aria-label': 'Default'})
- )
- .add(
- 'Default controlled',
- () => render({value: 'today', 'aria-label': 'Default controlled'})
- )
- .add(
- 'type=datetime',
- () => render({type: 'datetime', 'aria-label': 'type=datetime'})
- )
- .add(
- 'type=datetime controlled',
- () => render({type: 'datetime', value: 'today', 'aria-label': 'type=datetime controlled'})
- )
- .add(
- 'type=datetime with AM/PM',
- () => render({type: 'datetime', defaultValue: 'today', 'aria-label': 'type=datetime', displayFormat: 'YYYY-MM-DD hh:mm a'})
- )
- .add(
- 'type=time',
- () => render({type: 'time', placeholder: 'Choose a time', 'aria-label': 'type=time'})
- )
- .add(
- 'type=time controlled',
- () => render({type: 'time', value: 'today', 'aria-label': 'type=time controlled'})
- )
- .add(
- 'type=time with AM/PM',
- () => render({type: 'time', placeholder: 'hh:mm am/pm', 'aria-label': 'type=time', displayFormat: 'hh:mm a'})
- )
- .add(
- 'startDay=1',
- () => render({startDay: 1, 'aria-label': 'startDay=1'})
- )
- .add(
- 'quiet=true',
- () => render({quiet: true, 'aria-label': 'quiet=true'})
- )
- .add(
- 'value=2015-01-15 02:15',
- () => render({type: 'datetime', value: '2015-01-15 02:15', 'aria-label': 'value=2015-01-15 02:15'})
- )
- .add(
- 'invalid=true',
- () => render({invalid: true, 'aria-label': 'invalid=true'})
- )
- .add(
- 'required=true',
- () => render({required: true, 'aria-label': 'required=true'})
- )
- .add(
- 'disabled=true',
- () => render({disabled: true, 'aria-label': 'disabled=true'})
- )
- .add(
- 'readOnly=true',
- () => render({readOnly: true, value: '2015-01-15', 'aria-label': 'readOnly=true'})
- )
- .add(
- 'placeholder=foo',
- () => render({placeholder: 'foo', 'aria-label': 'placeholder=foo'})
- )
- .add(
- 'with placement',
- () => render({type: 'datetime', placement: 'bottom', 'aria-label': 'with placement'})
- )
- .add(
- 'selectionType="range"',
- () => render({selectionType: 'range', 'aria-label': 'selectionType="range"'})
- )
- .add(
- 'selectionType="range" with value',
- () => render({selectionType: 'range', value: ['2018-10-01', '2018-10-30'], 'aria-label': 'selectionType="range" with value'})
- )
- .add(
- 'selectionType="range" disabled',
- () => render({selectionType: 'range', disabled: true, 'aria-label': 'selectionType="range" disabled'})
- )
- .add(
- 'selectionType="range" invalid',
- () => render({selectionType: 'range', invalid: true, value: ['2018-10-25', '2018-10-05'], 'aria-label': 'selectionType="range" invalid'})
- )
- .add(
- 'selectionType="range" and quiet',
- () => render({selectionType: 'range', quiet: true, 'aria-label': 'selectionType="range" and quiet'})
- )
- .add(
- 'selectionType="range" and quiet with value',
- () => render({selectionType: 'range', quiet: true, value: ['2018-10-01', '2018-10-30'], 'aria-label': 'selectionType="range" and quiet with value'})
- )
- .add(
- 'selectionType="range" and quiet disabled',
- () => render({selectionType: 'range', quiet: true, disabled: true, 'aria-label': 'selectionType="range" and quiet disabled'})
- )
- .add(
- 'selectionType="range" and quiet readOnly',
- () => render({selectionType: 'range', quiet: true, readOnly: true, value: ['2018-10-01', '2018-10-30'], 'aria-label': 'selectionType="range" with value'})
- )
- .add(
- 'selectionType="range" and quiet invalid',
- () => render({selectionType: 'range', quiet: true, invalid: true, value: ['2018-10-25', '2018-10-05'], 'aria-label': 'selectionType="range" and quiet invalid'})
- )
- .add(
- 'selectionType="range" and type="datetime"',
- () => render({
- selectionType: 'range',
- type: 'datetime',
- 'aria-label': 'selectionType="range" and type="datetime"',
- displayFormat: 'YYYY-MM-DD hh:mm a',
- placeholder: 'yyyy-mm-dd hh:mm a'
- })
- )
- .add(
- 'selectionType="range" and type="datetime" with value',
- () => render({
- selectionType: 'range',
- type: 'datetime',
- value: ['2018-10-01 00:30', '2018-10-30 17:30'],
- 'aria-label': 'selectionType="range" and type="datetime" with value',
- displayFormat: 'YYYY-MM-DD hh:mm a',
- placeholder: 'yyyy-mm-dd hh:mm a'
- })
- )
- .add(
- 'selectionType="range" and type="time"',
- () => render({
- selectionType: 'range',
- type: 'time',
- 'aria-label': 'selectionType="range" and type="time"',
- displayFormat: 'hh:mm a',
- placeholder: 'hh:mm a'
- })
- )
- .add(
- 'selectionType="range" and type="time" with value',
- () => render({
- selectionType: 'range',
- type: 'time',
- value: ['00:30', '17:30'],
- 'aria-label': 'selectionType="range" and type="time" with value',
- displayFormat: 'hh:mm a',
- placeholder: 'hh:mm a'
- })
- )
- .add(
- 'Labeled with FieldLabel',
- () => renderWithFieldLabel({selectionType: 'range'})
- )
- .add(
- 'Max',
- () => renderWithFieldLabel({max: 'today'})
- )
- .add(
- 'Min',
- () => renderWithFieldLabel({min: 'today'})
- )
- .add(
- 'displayFormat and valueFormat',
- () => render({type: 'datetime', defaultValue: 'today', displayFormat: 'YYYY-MM-DD hh:mm a', valueFormat: 'MMMM YYYY HH:mm'})
- );
-
-function render(props = {}) {
- return (
-
- );
-}
-
-function renderWithFieldLabel(props = {}) {
- return (
-
-
-
- );
-}
diff --git a/stories/Dial.js b/stories/Dial.js
deleted file mode 100644
index 720df028363..00000000000
--- a/stories/Dial.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Dial from '../src/Dial';
-import FieldLabel from '../src/FieldLabel';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Dial', module)
- .add(
- 'renderLabel: true',
- () => render({renderLabel: true, label: 'Label'})
- )
- .add(
- 'size: L',
- () => render({variant: 'round', label: 'size: L'})
- )
- .add(
- 'size: S',
- () => render({variant: 'round', size: 'S', label: 'size: S'})
- )
- .add(
- 'step',
- () => render({step: 25})
- )
- .add(
- 'disabled',
- () => render({disabled: true})
- )
- .add(
- 'variant: with aria-label',
- () => render({renderLabel: true, 'aria-label': 'variant: with aria-label'})
- )
- .add(
- 'variant: with aria-labelledby',
- () => (
-
-
- {render({id: 'foo', 'aria-labelledby': 'bar'})}
-
- )
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Dialog.js b/stories/Dialog.js
deleted file mode 100644
index fece4465832..00000000000
--- a/stories/Dialog.js
+++ /dev/null
@@ -1,164 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Button from '../src/Button';
-import Dialog from '../src/Dialog';
-import ModalTrigger from '../src/ModalTrigger';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textfield from '../src/Textfield';
-
-const dialogChildren = Content of the dialog ;
-
-storiesOf('Dialog', module)
- .addDecorator(story => (
-
- {story()}
-
- ))
- .add(
- 'Default',
- () => render(dialogChildren, {title: 'Dialog title'})
- )
- .add(
- 'with confirm button',
- () => render(dialogChildren, {title: 'Dialog title', confirmLabel: 'OK'})
- )
- .add(
- 'with confirm and cancel',
- () => render(dialogChildren, {title: 'Dialog title', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'with confirm and cancel function',
- () => render(dialogChildren, {title: 'Dialog title', confirmLabel: 'OK', cancelLabel: 'Cancel', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'with secondary confirmation button',
- () => render(dialogChildren, {title: 'Conflict', confirmLabel: 'Keep Both', secondaryLabel: 'Replace', cancelLabel: 'Cancel', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'with confirm disabled',
- () => render(dialogChildren, {title: 'Dialog title', confirmDisabled: true, confirmLabel: 'OK', cancelLabel: 'Cancel', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'with secondary confirmation disabled',
- () => render(dialogChildren, {title: 'Conflict', confirmDisabled: true, confirmLabel: 'Keep Both', secondaryLabel: 'Replace', cancelLabel: 'Cancel', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'Long content',
- () => render(longMarkup, {title: 'Dialog title', confirmLabel: 'OK'})
- )
- .add(
- 'variant: confirmation',
- () => render(dialogChildren, {title: 'Are you sure?', variant: 'confirmation', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'variant: information',
- () => render(dialogChildren, {title: 'Connect to WiFi', variant: 'information', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'variant: destructive',
- () => render(dialogChildren, {title: 'Delete 3 Documents', variant: 'destructive', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'variant: error',
- () => render(dialogChildren, {title: 'Error', variant: 'error', confirmLabel: 'OK'})
- )
- .add(
- 'mode: alert',
- () => render(dialogChildren, {title: 'Dialog Title', mode: 'alert', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'mode: fullscreen',
- () => render(dialogChildren, {title: 'Dialog Title', mode: 'fullscreen', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'mode: fullscreenTakeover',
- () => render(dialogChildren, {title: 'Dialog Title', mode: 'fullscreenTakeover', confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'backdropClickable: true',
- () => render(dialogChildren, {title: 'Dialog Title', backdropClickable: true, confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'disableEscKey: true',
- () => render(dialogChildren, {title: 'Requires Confirmation', disableEscKey: true, confirmLabel: 'OK', autoFocusButton: 'confirm', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'autoFocusButton: \'cancel\'',
- () => render( , {title: 'Dialog Title', backdropClickable: true, confirmLabel: 'OK', cancelLabel: 'Cancel', autoFocusButton: 'cancel', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'autoFocusButton: \'confirm\'',
- () => render( , {title: 'Dialog Title', backdropClickable: true, confirmLabel: 'OK', cancelLabel: 'Cancel', autoFocusButton: 'confirm', onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'autoFocus descendant TextField',
- () => render( , {title: 'Dialog Title', backdropClickable: true, confirmLabel: 'OK', cancelLabel: 'Cancel'})
- )
- .add(
- 'keyboardConfirm: true',
- () => render( , {title: 'Dialog Title', backdropClickable: true, confirmLabel: 'OK', cancelLabel: 'Cancel', keyboardConfirm: true, onConfirm: action('confirm'), onCancel: action('cancel'), onKeyDown: action('onKeyDown')}),
- {info: 'Setting keyboardConfirm prop to true makes it so pressing the Enter key executes the default action for the Dialog. It is the equivalent of pressing the "Confirm" button.'}
- );
-
-function render(children, props = {}) {
- return (
-
-
-
- {children}
-
-
- );
-}
-
-const longMarkup = (
-
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar
- facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna
- eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
-
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar
- facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna
- eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
-
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar
- facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna
- eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
-
-
-);
diff --git a/stories/DropZone.js b/stories/DropZone.js
deleted file mode 100644
index 4420f29c799..00000000000
--- a/stories/DropZone.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import DropZone from '../src/DropZone';
-import IllustratedMessage from '../src/IllustratedMessage';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-function onDrop() {
- alert('Something got dropped.');
-}
-
-storiesOf('DropZone', module)
- .add(
- 'With children content',
- () => render({
- onDrop,
- className: 'custom-class'
- }),
- {info: 'DropZone accepts children components as content. This example uses IllustratedMessage'}
- );
-
-function render(props = {}) {
- return ;
-}
-
-let illustration = (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-);
diff --git a/stories/Dropdown.js b/stories/Dropdown.js
deleted file mode 100644
index fc51c1c4515..00000000000
--- a/stories/Dropdown.js
+++ /dev/null
@@ -1,73 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Brush from '../src/Icon/Brush';
-import Button from '../src/Button';
-import ColorPalette from '../src/Icon/ColorPalette';
-import Dropdown from '../src/Dropdown';
-import {Menu, MenuItem, SubMenu} from '../src/Menu';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Dropdown', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'alignRight',
- () => render({alignRight: true, style: {display: 'inline-block'}})
- )
- .add(
- 'Stay open on select',
- () => render({closeOnSelect: false})
- )
- .add(
- 'Tool with holdAffordance',
- () => (
-
- } />
-
- } value="brush" selected>Brush
- } value="colorPalette">Color Palette
-
-
- )
- )
- .add(
- 'No flip',
- () => render({flip: false})
- );
-
-function render(props = {}) {
- return (
-
- Test
-
- Foo
- Bar
- Baz
-
- zaa 1
- zaa 2
- zaa 3
-
-
-
- );
-}
diff --git a/stories/DropdownButton.js b/stories/DropdownButton.js
deleted file mode 100644
index 34853c71bac..00000000000
--- a/stories/DropdownButton.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Dialog from '../src/Dialog';
-import DropdownButton from '../src/DropdownButton';
-import Facebook from '../src/Icon/Facebook';
-import Instagram from '../src/Icon/Instagram';
-import {MenuItem} from '../src/Menu';
-import ModalTrigger from '../src/ModalTrigger';
-import React from 'react';
-import SocialNetwork from '../src/Icon/SocialNetwork';
-import {storiesOf} from '@storybook/react';
-import Twitter from '../src/Icon/Twitter';
-
-storiesOf('DropdownButton', module)
- .add(
- 'Default',
- () => render({label: 'Action'})
- )
- .add(
- 'Icon only',
- () => render({icon: })
- )
- .add(
- 'alignRight',
- () => render({label: 'Action', alignRight: true})
- )
- .add(
- 'disabled',
- () => render({label: 'Action', disabled: true})
- )
- .add(
- 'Stay open on select',
- () => render({label: 'Action', closeOnSelect: false})
- )
- .add(
- 'holdAffordance',
- () => render({holdAffordance: true})
- );
-
-function render(props = {}) {
- return (
-
- } value="twitter">Twitter
- } onClick={action('click')} value="facebook">Facebook
-
- } value="instagram">Instagram
-
- Do you want to Instagram?
-
-
-
- );
-}
diff --git a/stories/FieldLabel.js b/stories/FieldLabel.js
deleted file mode 100644
index 8fe4be8c6c8..00000000000
--- a/stories/FieldLabel.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import FieldLabel from '../src/FieldLabel';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textfield from '../src/Textfield';
-
-storiesOf('FieldLabel', module)
- .add(
- 'Default',
- () => render({label: 'React'})
- )
- .add(
- 'labelFor: foo',
- () => (
-
-
-
- )
- )
- .add(
- 'position: left',
- () => render({label: 'React', position: 'left', style: {width: '100px'}})
- )
- .add(
- 'position: right',
- () => render({label: 'React', position: 'right', style: {width: '100px'}})
- )
- .add(
- 'label only',
- () => (
-
-
-
-
- )
- )
- .add(
- 'required styles',
- () => (
-
- {render({label: 'React', necessity: 'required', necessityIndicator: 'label'})}
- {render({label: 'React', necessity: 'optional', necessityIndicator: 'label'})}
- {render({label: 'React', necessity: 'required', necessityIndicator: 'icon'})}
-
- )
- );
-
-function render(props = {}) {
- return ( );
-}
diff --git a/stories/Form.js b/stories/Form.js
deleted file mode 100644
index 9f1e7a6f35b..00000000000
--- a/stories/Form.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Checkbox from '../src/Checkbox';
-import {Form, FormItem} from '../src/Form';
-import Link from '../src/Link';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textarea from '../src/Textarea';
-import Textfield from '../src/Textfield';
-
-storiesOf('Form', module)
- .add(
- 'Default',
- () => (
-
- )
- )
- .add(
- 'Label Right',
- () => (
-
-
-
-
-
-
-
-
- I agree to the terms and conditions .} />
-
-
- )
- );
diff --git a/stories/Grid.js b/stories/Grid.js
deleted file mode 100644
index 7ee375530eb..00000000000
--- a/stories/Grid.js
+++ /dev/null
@@ -1,568 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {Grid, GridColumn, GridRow} from '../src/Grid';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-var boxRow = {
- position: 'relative',
- boxSizing: 'border-box',
- minHeight: '2.25rem',
- marginBottom: '1em',
- background: 'rgba(41, 75, 105, 0.1)',
- overflow: 'hidden',
- textAlign: 'center',
- color: '#294b69',
- borderRadius: '2px',
- border: '1px solid #6f9dc7',
- padding: '1rem'
-};
-
-var box = {
- position: 'relative',
- boxSizing: 'border-box',
- minHeight: '2.25rem',
- marginBottom: '1em',
- background: 'rgba(41, 75, 105, 0.1)',
- overflow: 'hidden',
- textAlign: 'center',
- color: '#294b69',
- borderRadius: '2px',
- border: '1px solid #6f9dc7',
- padding: '1rem'
-};
-
-var boxNested = {
- position: 'relative',
- boxSizing: 'border-box',
- minHeight: '2.25rem',
- background: 'rgba(41, 75, 105, 0.1)',
- overflow: 'hidden',
- textAlign: 'center',
- color: '#294b69',
- borderRadius: '2px',
- border: '1px solid #6f9dc7',
- padding: '1rem'
-};
-
-var boxFirst = {
- position: 'relative',
- boxSizing: 'border-box',
- minHeight: '2.25rem',
- background: 'rgba(41, 75, 105, 0.1)',
- overflow: 'hidden',
- textAlign: 'center',
- color: '#294b69',
- borderRadius: '2px',
- border: '1px solid #6f9dc7',
- padding: '1rem'
-};
-
-var boxLarge = {
- position: 'relative',
- boxSizing: 'border-box',
- minHeight: '2.25rem',
- marginBottom: '1em',
- background: 'rgba(41, 75, 105, 0.1)',
- overflow: 'hidden',
- textAlign: 'center',
- color: '#294b69',
- borderRadius: '2px',
- border: '1px solid #6f9dc7',
- height: '8rem',
- padding: '1rem'
-};
-storiesOf('Grid', module)
- .add(
- 'Fixed',
- () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Fluid',
- () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Offset',
- () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Auto Width',
- () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Nested Grids',
- () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Alignment-spectrum-grid-start',
- () => (
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Alignment-spectrum-grid-center',
- () => (
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Alignment-spectrum-grid-end',
- () => (
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Alignment-spectrum-grid-top',
- () => (
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Alignment-spectrum-grid-middle',
- () => (
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Alignment-spectrum-grid-bottom',
- () => (
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Distribution-spectrum-grid-around',
- () => (
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Distribution-spectrum-grid-between',
- () => (
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Reordering-spectrum-grid-first',
- () => (
-
-
-
-
-
-
- 1
-
-
- 2
-
-
- 3
-
-
- 4
-
-
- 5
-
-
- 6
-
-
-
-
-
-
- )
- )
- .add(
- 'Reordering-spectrum-grid-last',
- () => (
-
-
-
-
-
-
- 1
-
-
- 2
-
-
- 3
-
-
- 4
-
-
- 5
-
-
- 6
-
-
-
-
-
-
- )
- )
- .add(
- 'Reversing-spectrum-grid-reverse',
- () => (
-
-
-
-
-
-
- 1
-
-
- 2
-
-
- 3
-
-
- 4
-
-
- 5
-
-
- 6
-
-
-
-
-
-
- )
- );
-
diff --git a/stories/GridView.js b/stories/GridView.js
deleted file mode 100644
index 6eb06dd8c0a..00000000000
--- a/stories/GridView.js
+++ /dev/null
@@ -1,226 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import {Asset} from '../src/Asset';
-import Button from '../src/Button';
-import ButtonGroup from '../src/ButtonGroup';
-import {Card, CardBody, CardPreview} from '../src/Card';
-import {GalleryLayout, GridLayout, GridView, WaterfallLayout} from '../src/GridView';
-import IllustratedMessage from '../src/IllustratedMessage';
-import ListDataSource from '../src/ListDataSource';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import './GridView.styl';
-
-storiesOf('GridView', module)
- .add(
- 'Default (layout: GridLayout)',
- () => render({layout: GridLayout})
- )
- .add(
- 'layout: WaterfallLayout',
- () => render({layout: WaterfallLayout})
- )
- .add(
- 'layout: GalleryLayout',
- () => render({layout: GalleryLayout, renderItem: (item) => renderItem(item, {variant: 'gallery'})})
- )
- .add(
- 'animated layout switching',
- () =>
- )
- .add(
- 'custom layout settings size small',
- () => render({
- layout: GridLayout,
- cardSize: 'S'
- })
- )
- .add(
- 'allowsSelection: false',
- () => render({allowsSelection: false})
- )
- .add(
- 'allowsMultipleSelection: false',
- () => render({allowsMultipleSelection: false})
- )
- .add(
- 'canDragItems: true',
- () => render({canDragItems: true, quiet: true})
- )
- .add(
- 'custom drag view',
- () => render({
- canDragItems: true,
- quiet: true,
- renderDragView: () => Drag view
- })
- )
- .add(
- 'with empty view',
- () => render({
- acceptsDrops: true,
- layout: GalleryLayout,
- dataSource: emptyDs,
- renderEmptyView: () => (
-
-
-
- } />
- )
- })
- )
- .add(
- 'acceptsDrops: true',
- () => render({acceptsDrops: true, layout: GalleryLayout, renderItem: (item) => renderItem(item, {variant: 'gallery'})}),
- {info: 'This example shows how GridView supports drag and drop between items.'}
- )
- .add(
- 'dropPosition: "on"',
- () => render({acceptsDrops: true, dropPosition: 'on'}),
- {info: 'This example shows how GridView supports drag and drop over both items and the whole grid using dropPosition="on". In this example, "Active" rows can be dropped over, otherwise the drop goes to the entire table.'}
- )
- .add(
- 'canReorderItems',
- () => render({canReorderItems: true, layout: GalleryLayout, renderItem: (item) => renderItem(item, {variant: 'gallery'})}),
- {info: 'This example shows how GridView supports reordering items.'}
- );
-
-const TEST_DATA = [
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC06640.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC06369.jpg', width: 683, height: 1024},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC06370.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC06394.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC02167.jpg', width: 683, height: 1024},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC00527.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC00591.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC01822-Pano.jpeg', width: 1024, height: 367},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC00827.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC01051.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC00888.jpg', width: 683, height: 1024},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC02936.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC01062.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC01817.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03738.jpg', width: 683, height: 1024},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03716.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03438.jpg', width: 841, height: 1024},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03566.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03578.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03643.jpg', width: 1024, height: 683},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03394-Pano.jpg', width: 1024, height: 258},
- {url: 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC04666.jpg', width: 683, height: 1024}
-];
-
-class TestDS extends ListDataSource {
- constructor(data = TEST_DATA) {
- super();
- this.data = data;
- }
-
- load() {
- return this.data;
- }
-
- // loadMore() {
- // return new Promise((resolve) => {
- // setTimeout(() => {
- // resolve(this.data.slice());
- // }, 2000);
- // });
- // }
-
- itemsForDrop(dropTarget, dataTransfer) {
- let files = Array.from(dataTransfer.files);
- if (files.length > 0) {
- return files.map(file => ({url: URL.createObjectURL(file)}));
- }
- }
-
- async performDrop(dropTarget, dropOperation, items) {
- if (dropTarget.dropPosition === 'DROP_ON') {
- alert('Dropped on ' + this.data[dropTarget.indexPath.index].url.split('/').pop());
- return;
- }
-
- await Promise.all(items.map(item => (
- new Promise(resolve => {
- let img = new Image;
- img.onload = () => {
- item.width = img.naturalWidth;
- item.height = img.naturalHeight;
- resolve();
- };
- img.src = item.url;
- })
- )));
-
- super.performDrop(dropTarget, dropOperation, items);
- }
-
- getItemSize(item) {
- return {width: item.width, height: item.height};
- }
-}
-
-let emptyDs = new TestDS([]);
-let ds = new TestDS;
-
-function renderItem(item) {
- return (
-
-
-
-
-
-
- );
-}
-
-function render(props = {}) {
- return (
-
- );
-}
-
-class LayoutSwitcher extends React.Component {
- state = {
- layout: GridLayout
- };
-
- render() {
- return (
-
- this.setState({layout})}>
-
-
-
-
- {render({layout: this.state.layout})}
-
- );
- }
-}
diff --git a/stories/GridView.styl b/stories/GridView.styl
deleted file mode 100644
index 0ccf138d882..00000000000
--- a/stories/GridView.styl
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
- @import '@spectrum/spectrum-variables/stylus/spectrum-dark.styl'
-
-.gridview-test-item
- width: 100%
- height: 100%
- line-height: 24px
- img
- width: 100%
- height: 100%
- object-fit: contain
- .img-wrapper
- position: relative
- height: calc(100% - 24px)
-
-.react-spectrum-GridView
- .selected
- .img-wrapper:before
- content: ''
- position: absolute
- top: 0
- left: 0
- width: 100%
- height: 100%
- box-sizing: border-box
- border: 2px solid $spectrum-global-color-blue400
-
- .drop-target
- .img-wrapper:before
- content: ''
- position: absolute
- top: 0
- left: 0
- width: 100%
- height: 100%
- box-sizing: border-box
- border: 2px solid red
diff --git a/stories/Heading.js b/stories/Heading.js
deleted file mode 100644
index f66c547780f..00000000000
--- a/stories/Heading.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Heading from '../src/Heading';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Heading', module)
- .add(
- 'display variant (default)',
- () => render()
- )
- .add(
- 'pageTitle variant',
- () => render({variant: 'pageTitle'})
- )
- .add(
- 'subtitle1 variant',
- () => render({variant: 'subtitle1'})
- )
- .add(
- 'subtitle2 variant',
- () => render({variant: 'subtitle2'})
- )
- .add(
- 'subtitle3 variant',
- () => render({variant: 'subtitle3'})
- );
-
-function render(props = {}) {
- return React ;
-}
diff --git a/stories/Icon.js b/stories/Icon.js
deleted file mode 100644
index 5d5093e6a44..00000000000
--- a/stories/Icon.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Add from '../src/Icon/Add';
-import AdobeExperienceManagerColorLight from '../src/Icon/AdobeExperienceManagerColorLight';
-import Bell from '../src/Icon/Bell';
-import Icon from '../src/Icon';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Twitter from '../src/Icon/Twitter';
-
-storiesOf('Icon', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'icon: bell',
- () =>
- )
- .add(
- 'icon: Twitter',
- () =>
- )
- .add(
- 'size: XS',
- () => render({size: 'XS'})
- )
- .add(
- 'size: S',
- () => render({size: 'S'})
- )
- .add(
- 'size: L',
- () => render({size: 'L'})
- )
- .add(
- 'size: XL',
- () => render({size: 'XL'})
- )
- .add(
- 'Color icon',
- () =>
- )
- .add(
- 'custom SVG',
- () =>
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/IllustratedMessage.js b/stories/IllustratedMessage.js
deleted file mode 100644
index 1b70b246160..00000000000
--- a/stories/IllustratedMessage.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import IllustratedMessage from '../src/IllustratedMessage';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-function noResultsImg() {
- return (
-
-
-
- );
-}
-
-storiesOf('IllustratedMessage', module)
- .add(
- 'Custom',
- () => (
-
- )
- )
- .add(
- 'Use ariaLevel to adjust heading level',
- () => (
-
- )
- );
diff --git a/stories/InlineEditor.js b/stories/InlineEditor.js
deleted file mode 100644
index c4b8c7b8bdd..00000000000
--- a/stories/InlineEditor.js
+++ /dev/null
@@ -1,45 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import InlineEditor from '../src/InlineEditor';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('InlineEditor', module)
- .add(
- 'Default',
- () =>
- )
- .add(
- 'disabled',
- () =>
- )
- .add(
- 'controlled',
- () =>
- )
- .add(
- 'validate',
- () => ( {
- action('onChange')(value);
- return RegExp(/^\d{10}$/).test(value);
- }} />)
- );
diff --git a/stories/Label.js b/stories/Label.js
deleted file mode 100644
index 5490ddb675f..00000000000
--- a/stories/Label.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Label from '../src/Label';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Label', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'size: L',
- () => render({size: 'L'})
- ).add(
- 'variant: grey',
- () => render({variant: 'grey'})
- ).add(
- 'variant: green',
- () => render({variant: 'green'})
- ).add(
- 'variant: blue',
- () => render({variant: 'blue'})
- ).add(
- 'variant: red',
- () => render({variant: 'red'})
- ).add(
- 'variant: orange',
- () => render({variant: 'or'})
- ).add(
- 'variant: and',
- () => render({variant: 'and'})
- ).add(
- 'variant: or',
- () => render({variant: 'or'})
- ).add(
- 'variant: active',
- () => render({variant: 'active'})
- ).add(
- 'variant: inactive',
- () => render({variant: 'inactive'})
- );
-
-function render(props = {}) {
- return (Spectrum Label );
-}
diff --git a/stories/Link.js b/stories/Link.js
deleted file mode 100644
index 5b28cfe006e..00000000000
--- a/stories/Link.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import {chain} from '../src/utils/events';
-import Link from '../src/Link';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-const preventDefault = e => e.preventDefault();
-
-storiesOf('Link', module)
- .add(
- 'Default',
- () => render({href: 'https://github.com/adobe/react-spectrum'})
- )
- .add(
- 'Quiet',
- () => render({variant: 'quiet', href: 'https://github.com/adobe/react-spectrum'})
- )
- .add(
- 'Over background',
- () => (
-
- {render({variant: 'overBackground', href: 'https://github.com/adobe/react-spectrum'})}
-
- )
- )
- .add(
- 'onClick with no href attribute',
- () => render({onClick: action('clicked href === undefined')})
- );
-
-function render(props = {}) {
- if (!props.onClick) {
- const actionHandler = chain(preventDefault, action(`clicked href === "${props.href}"`));
- props.onClick = actionHandler;
- }
- return ( This is a React Spectrum Link);
-}
diff --git a/stories/List.js b/stories/List.js
deleted file mode 100644
index 58829ccad00..00000000000
--- a/stories/List.js
+++ /dev/null
@@ -1,303 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {List, ListItem} from '../src/List';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Twitter from '../src/Icon/Twitter';
-
-storiesOf('List', module)
- .add(
- 'Default',
- () => (
-
- Foo
- }>Bar
- Baz
- Test
- Hi
-
- )
- )
- .add(
- 'autoFocus=true',
- () => (
-
- Foo
- }>Bar
- Baz
- Test
- Hi
-
- )
- )
- .add(
- 'Scrolling',
- () => (
-
- Afghanistan
- Åland Islands
- Albania
- Algeria
- American Samoa
- Andorra
- Angola
- Anguilla
- Antarctica
- Antigua and Barbuda
- Argentina
- Armenia
- Aruba
- Australia
- Austria
- Azerbaijan
- Bahamas
- Bahrain
- Bangladesh
- Barbados
- Belarus
- Belgium
- Belize
- Benin
- Bermuda
- Bhutan
- Bolivia, Plurinational State of
- Bonaire, Sint Eustatius and Saba
- Bosnia and Herzegovina
- Botswana
- Bouvet Island
- Brazil
- British Indian Ocean Territory
- Brunei Darussalam
- Bulgaria
- Burkina Faso
- Burundi
- Cambodia
- Cameroon
- Canada
- Cape Verde
- Cayman Islands
- Central African Republic
- Chad
- Chile
- China
- Christmas Island
- Cocos (Keeling) Islands
- Colombia
- Comoros
- Congo
- Congo, the Democratic Republic of the
- Cook Islands
- Costa Rica
- Côte d'Ivoire
- Croatia
- Cuba
- Curaçao
- Cyprus
- Czech Republic
- Denmark
- Djibouti
- Dominica
- Dominican Republic
- Ecuador
- Egypt
- El Salvador
- Equatorial Guinea
- Eritrea
- Estonia
- Ethiopia
- Falkland Islands (Malvinas)
- Faroe Islands
- Fiji
- Finland
- France
- French Guiana
- French Polynesia
- French Southern Territories
- Gabon
- Gambia
- Georgia
- Germany
- Ghana
- Gibraltar
- Greece
- Greenland
- Grenada
- Guadeloupe
- Guam
- Guatemala
- Guernsey
- Guinea
- Guinea-Bissau
- Guyana
- Haiti
- Heard Island and McDonald Islands
- Holy See (Vatican City State)
- Honduras
- Hong Kong
- Hungary
- Iceland
- India
- Indonesia
- Iran, Islamic Republic of
- Iraq
- Ireland
- Isle of Man
- Israel
- Italy
- Jamaica
- Japan
- Jersey
- Jordan
- Kazakhstan
- Kenya
- Kiribati
- Korea, Democratic People's Republic of
- Korea, Republic of
- Kuwait
- Kyrgyzstan
- Lao People's Democratic Republic
- Latvia
- Lebanon
- Lesotho
- Liberia
- Libya
- Liechtenstein
- Lithuania
- Luxembourg
- Macao
- Macedonia, the former Yugoslav Republic of
- Madagascar
- Malawi
- Malaysia
- Maldives
- Mali
- Malta
- Marshall Islands
- Martinique
- Mauritania
- Mauritius
- Mayotte
- Mexico
- Micronesia, Federated States of
- Moldova, Republic of
- Monaco
- Mongolia
- Montenegro
- Montserrat
- Morocco
- Mozambique
- Myanmar
- Namibia
- Nauru
- Nepal
- Netherlands
- New Caledonia
- New Zealand
- Nicaragua
- Niger
- Nigeria
- Niue
- Norfolk Island
- Northern Mariana Islands
- Norway
- Oman
- Pakistan
- Palau
- Palestinian Territory, Occupied
- Panama
- Papua New Guinea
- Paraguay
- Peru
- Philippines
- Pitcairn
- Poland
- Portugal
- Puerto Rico
- Qatar
- Réunion
- Romania
- Russian Federation
- Rwanda
- Saint Barthélemy
- Saint Helena, Ascension and Tristan da Cunha
- Saint Kitts and Nevis
- Saint Lucia
- Saint Martin (French part)
- Saint Pierre and Miquelon
- Saint Vincent and the Grenadines
- Samoa
- San Marino
- Sao Tome and Principe
- Saudi Arabia
- Senegal
- Serbia
- Seychelles
- Sierra Leone
- Singapore
- Sint Maarten (Dutch part)
- Slovakia
- Slovenia
- Solomon Islands
- Somalia
- South Africa
- South Georgia and the South Sandwich Islands
- South Sudan
- Spain
- Sri Lanka
- Sudan
- Suriname
- Svalbard and Jan Mayen
- Swaziland
- Sweden
- Switzerland
- Syrian Arab Republic
- Taiwan, Province of China
- Tajikistan
- Tanzania, United Republic of
- Thailand
- Timor-Leste
- Togo
- Tokelau
- Tonga
- Trinidad and Tobago
- Tunisia
- Turkey
- Turkmenistan
- Turks and Caicos Islands
- Tuvalu
- Uganda
- Ukraine
- United Arab Emirates
- United Kingdom
- United States
- United States Minor Outlying Islands
- Uruguay
- Uzbekistan
- Vanuatu
- Venezuela, Bolivarian Republic of
- Viet Nam
- Virgin Islands, British
- Virgin Islands, U.S.
- Wallis and Futuna
- Western Sahara
- Yemen
- Zambia
- Zimbabwe
-
- )
- );
diff --git a/stories/Menu.js b/stories/Menu.js
deleted file mode 100644
index abd6cda0bd8..00000000000
--- a/stories/Menu.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {Menu, MenuDivider, MenuHeading, MenuItem} from '../src/Menu';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Menu', module)
- .addDecorator(story => (
-
- {story()}
-
- ))
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'trapFocus: false',
- () => render({trapFocus: false}),
- {info: 'By default, the menu has trapFocus: true
, which prevents focus to the next item outside of the menu. Setting trapFocus: false
, allows focus to move to the next focusable element in the DOM.
'}
- );
-
-function render(props = {}) {
- return (
-
- Menu Heading 1
- Menu Item 1
-
- Menu Item 2
-
- Menu Item 3
-
- );
-}
diff --git a/stories/ModalTrigger.js b/stories/ModalTrigger.js
deleted file mode 100644
index 3ee0d596f66..00000000000
--- a/stories/ModalTrigger.js
+++ /dev/null
@@ -1,145 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Button from '../src/Button';
-import Datepicker from '../src/Datepicker';
-import Dialog from '../src/Dialog';
-import ModalTrigger from '../src/ModalTrigger';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('ModalTrigger', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'with onConfirm',
- () => render({onConfirm: action('confirm'), onCancel: action('cancel')})
- )
- .add(
- 'with onConfirm () => false',
- () => render({onConfirm: () => false, onCancel: action('cancel')})
- )
- .add(
- 'with nested Popover',
- () => renderNested()
- )
- .add(
- 'with dynamic updates',
- () => renderDynamic()
- )
- .add(
- 'disableEscKey:true',
- () => render({disableEscKey: true, autoFocusButton: 'confirm', title: 'Requires Confirmation'})
- )
- .add(
- 'backdropClickable: true',
- () => render({backdropClickable: true})
- )
- .add(
- 'lifecycle methods',
- () => render({
- onConfirm: action('confirm'),
- onCancel: action('cancel'),
- onShow: action('show'),
- onEnter: action('enter'),
- onEntering: action('entering'),
- onEntered: action('entered'),
- onExit: action('exit'),
- onExiting: action('exiting'),
- onExited: action('exited'),
- onHide: action('hide'),
- onClose: action('close'),
- onEscapeKeyDown: action('escapeKeyDown'),
- onBackdropClick: action('backdropClick')
- }),
- {info: 'Modal supports [react-overlay](https://react-bootstrap.github.io/react-overlays/#modals) lifecycle methods for Modals as props on the Dialog.'}
- );
-
-
-const render = (props = {}) => (
-
-
-
- the modal dialog content goes here
-
-
-);
-
-const renderNested = (props = {}) => (
-
-
-
-
-
-
-);
-
-class DynamicDialog extends React.Component {
- constructor() {
- super();
- this.state = {
- counter: 1
- };
- }
-
- render() {
- return (
-
- {
- this.setState({counter: this.state.counter + 1});
- }} />
-
- );
- }
-}
-
-const renderDynamic = (props = {}) => (
-
-
-
-
-);
diff --git a/stories/NumberInput.js b/stories/NumberInput.js
deleted file mode 100644
index 6962040cc41..00000000000
--- a/stories/NumberInput.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import NumberInput from '../src/NumberInput';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('NumberInput', module)
- .add(
- 'default',
- () => render(),
- {info: 'NumberInput only accepts numeric values. Values can be changed by using the step buttons or mouse scroll wheel while focused on the input. The up/down arrow, page up/down, and home/end keys will also change values. If min or max are defined and the value extends outside of the range the component marks itself as invalid.'}
- )
- .add(
- 'min: -5, max: 10, step: 0.5',
- () => render({min: -5, max: 10, step: 0.5, placeholder: 'Type something please'}),
- {info: 'Demonstrating a -5 - 10 range input with 0.5 step'}
- )
- .add(
- 'invalid',
- () => render({invalid: true}),
- {info: 'Demonstrating invalid'}
- )
- .add(
- 'disabled',
- () => render({disabled: true}),
- {info: 'Demonstrating disabled'}
- )
- .add(
- 'quiet',
- () => render({quiet: true}),
- {info: 'Demonstrating quiet'}
- );
-
-const render = (props = {}) => (
-
-);
diff --git a/stories/OverlayTrigger.js b/stories/OverlayTrigger.js
deleted file mode 100644
index c71ddc564d3..00000000000
--- a/stories/OverlayTrigger.js
+++ /dev/null
@@ -1,189 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Autocomplete from '../src/Autocomplete';
-import Button from '../src/Button';
-import Calendar from '../src/Calendar';
-import OverlayTrigger from '../src/OverlayTrigger';
-import Popover from '../src/Popover';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textfield from '../src/Textfield';
-import Tooltip from '../src/Tooltip';
-
-
-storiesOf('OverlayTrigger', module)
- .add(
- 'with trigger: hover',
- () => render('popover', {trigger: 'hover', placement: 'right'})
- )
- .add(
- 'with trigger: click',
- () => render('popover', {trigger: 'click', placement: 'right'})
- )
- .add(
- 'with trigger: [\'hover\', \'focus\']',
- () => render('popover')
- )
- .add(
- 'with tooltip',
- () => render('tooltip', {placement: 'right'})
- )
- .add(
- 'with tooltip:bottom',
- () => render('tooltip', {placement: 'bottom'})
- )
- .add(
- 'placement: top',
- () => render('popover', {trigger: 'click', placement: 'top', variant: 'error'})
- )
- .add(
- 'placement: bottom',
- () => render('popover', {trigger: 'click', placement: 'bottom', variant: 'error'})
- )
- .add(
- 'placement: left (flip: false)',
- () => render('popover', {trigger: 'click', placement: 'left', variant: 'error', flip: false})
- )
- .add(
- 'placement: left (flip: true)',
- () => render('popover', {trigger: 'click', placement: 'left', variant: 'error'})
- )
- .add(
- 'placement: right',
- () => render('popover', {trigger: 'click', placement: 'right', variant: 'error'})
- )
- .add(
- 'with: offset',
- () => render('popover', {trigger: 'click', placement: 'right', variant: 'error', offset: 100})
- )
- .add(
- 'with: crossOffset',
- () => render('popover', {trigger: 'click', placement: 'right', variant: 'error', crossOffset: 100})
- )
- .add(
- 'disabled',
- () => render('popover', {disabled: true, trigger: 'hover', placement: 'right'})
- )
- .add(
- 'with: nested overlay (autocomplete)',
- () => render('nestedPopover', {trigger: 'click', placement: 'right', variant: 'error'})
- )
- .add(
- 'with: margin on target',
- () => render('popover', {trigger: 'click', placement: 'bottom'}, {style: {margin: 40}})
- )
- .add(
- 'controlled open',
- () => render('popover', {show: true, placement: 'bottom'}, {style: {margin: 40}})
- )
- .add(
- 'with: "block" element and placement "bottom left"',
- () => render('popover', {trigger: 'click', placement: 'bottom left'}, {style: {width: '100%', minWidth: '100%'}})
- )
- .add(
- 'tooltip and popover on same element',
- () => renderMultiple()
- );
-
-function render(type, props = {}, targetProps = {}) {
- if (type === 'popover' || type === 'nestedPopover') {
- return (
-
-
-
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- Popover content goes here...
- {type === 'nestedPopover' &&
-
-
-
- ['a', 'b', 'c']}>
-
-
- ['a', 'b', 'c']}>
-
-
-
-
-
-
- }
-
-
- );
- }
- return (
-
-
- Notes from a tooltip
-
- );
-}
-
-function renderMultiple() {
- return (
-
-
-
- tooltip 1
-
-
-
- tooltip 2
-
-
-
-
-
- Popover 3
-
- tooltip 3
-
-
-
- );
-}
diff --git a/stories/Pagination.js b/stories/Pagination.js
deleted file mode 100644
index 854666ad789..00000000000
--- a/stories/Pagination.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Pagination from '../src/Pagination';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Pagination', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'button:cta',
- () => render({variant: 'button', mode: 'cta'})
- )
- .add(
- 'button:secondary',
- () => render({variant: 'button', mode: 'secondary'})
- )
- .add(
- 'explicit',
- () => render({variant: 'explicit', totalPages: 50, onChange: action('onChange')})
- )
- .add(
- 'controlled',
- () => render({variant: 'explicit', totalPages: 50, currentPage: 2, onChange: action('onChange')})
- );
-
-function render(props = {}) {
- return ( );
-}
diff --git a/stories/Popover.js b/stories/Popover.js
deleted file mode 100644
index 86fafecb9db..00000000000
--- a/stories/Popover.js
+++ /dev/null
@@ -1,109 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Heading from '../src/Heading';
-import Popover from '../src/Popover';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import './Popover.styl';
-
-storiesOf('Popover', module)
- .addDecorator(story => (
-
- {story()}
-
- ))
- .add(
- 'Default',
- () => render('Content')
- )
- .add(
- 'Long content, placement: right top',
- () => render(longMarkup, {placement: 'right top'})
- )
- .add(
- 'open: false',
- () => render('Content', {open: false})
- )
- .add(
- 'variant: error',
- () => render('Content', {variant: 'error'})
- )
- .add(
- 'placement: top',
- () => render('Content', {placement: 'top'})
- )
- .add(
- 'placement: bottom',
- () => render('Content', {placement: 'bottom'})
- )
- .add(
- 'placement: left',
- () => render('Content', {placement: 'left'})
- )
- .add(
- 'placement: right',
- () => render('Content', {placement: 'right'})
- )
- .add(
- 'no title',
- () => render('Content', {title: null})
- );
-
-function render(content, props = {}) {
- return (
-
- {content}
-
- );
-}
-
-const longMarkup = (
-
-
Really long content...
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar
- facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna
- eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
-
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar
- facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna
- eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
-
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui. Donec non enim in turpis pulvinar
- facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus, tortor neque egestas augue, eu vulputate magna
- eros eu erat. Aliquam erat volutpat. Nam dui mi, tincidunt quis, accumsan porttitor, facilisis luctus, metus
-
-
-);
diff --git a/stories/Popover.styl b/stories/Popover.styl
deleted file mode 100644
index a8c6adfff31..00000000000
--- a/stories/Popover.styl
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.popover-story
- .spectrum-Popover
- position: relative
diff --git a/stories/Progress.js b/stories/Progress.js
deleted file mode 100644
index 4c473a52ece..00000000000
--- a/stories/Progress.js
+++ /dev/null
@@ -1,98 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Progress from '../src/Progress';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Progress', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'value: 50',
- () => render({value: 50})
- )
- .add(
- 'value: 100',
- () => render({value: 100})
- )
- .add(
- 'size: S',
- () => render({size: 'S', value: 50})
- )
- .add(
- 'showPercent: true',
- () => render({showPercent: true, value: 50})
- )
- .add(
- 'variant: positive',
- () => render({variant: 'positive', value: 50})
- )
- .add(
- 'variant: warning',
- () => render({variant: 'warning', value: 50})
- )
- .add(
- 'variant: critical',
- () => render({variant: 'critical', value: 50})
- )
- .add(
- 'label: React',
- () => render({label: 'React', value: 50})
- )
- .add(
- 'labelPosition: left',
- () => render({label: 'React', showPercent: true, labelPosition: 'left', value: 50})
- )
- .add(
- 'labelPosition: top',
- () => render({label: 'React', showPercent: true, labelPosition: 'top', value: 50})
- )
- .add(
- 'variant: overBackground',
- () => {
- const style = {
- 'width': '250px',
- 'height': '60px',
- 'background-color': 'rgba(0,0,0,0.4)',
- 'display': 'flex',
- 'align-items': 'center',
- 'justify-content': 'center'
- };
-
- return (
-
- {render({variant: 'overBackground', value: 50})}
-
- );
- }
- )
- .add('indeterminate', () => render({isIndeterminate: true}))
- .add('indeterminate, size: S', () => render({isIndeterminate: true, size: 'S'}))
- .add(
- 'Using raw values for min, max, and value',
- () => render({label: 'Loading…', showPercent: true, labelPosition: 'top', max: 2147483648, value: 715827883}),
- {info: 'min and max props default to 0 and 100, but the progress bar will also work using raw values. This example shows the progress bar having loaded 1/3 if a 2GB file'}
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Provider.js b/stories/Provider.js
deleted file mode 100644
index d83cb23a059..00000000000
--- a/stories/Provider.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-// import Button from '../src/Button';
-import Calendar from '../src/Calendar';
-// import OverlayTrigger from '../src/OverlayTrigger';
-// import Popover from '../src/Popover';
-import Provider from '../src/Provider';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-/*
-const styles = {
- parent: {
- margin: 'auto', height: 300, width: 300, padding: 50, textAlign: 'center'
- },
- child: {
- height: 100, width: 100, margin: 50, padding: 50, textAlign: 'center'
- }
-};
-*/
-
-storiesOf('Provider', module)
- .add(
- 'theme:dark',
- () => render({theme: 'dark'})
- )
- .add(
- 'locale:cs-CZ',
- () => render({theme: 'dark', locale: 'cs-CZ'})
- );/*
- .add(
- 'nested providers',
- () => renderNested()
- );*/
-
-function render(props = {}) {
- return (
-
-
-
- );
-}
-
-/*
-function renderNested() {
- return (
-
-
-
-
- Inside lightest provider
-
-
-
-
-
-
- Inside dark provider
-
-
-
-
- );
-}
-*/
-
-function App() {
- return (
- I am part of app component and exists within my provider
-
-
-
-
);
-}
diff --git a/stories/Radio.js b/stories/Radio.js
deleted file mode 100644
index 5052af9578a..00000000000
--- a/stories/Radio.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Radio from '../src/Radio';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Radio', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'defaultChecked: true',
- () => render({defaultChecked: true})
- )
- .add(
- 'checked: true',
- () => render({checked: true})
- )
- .add(
- 'checked: false',
- () => render({checked: false})
- )
- .add(
- 'disabled: true',
- () => render({disabled: true})
- )
- .add(
- 'invalid: true',
- () => render({invalid: true})
- )
- .add(
- 'quiet: true',
- () => render({quiet: true, checked: true})
- )
- .add(
- 'quiet: true, disabled: true',
- () => render({quiet: true, checked: true, disabled: true})
- )
- .add(
- 'quiet: true, invalid: true',
- () => render({quiet: true, checked: true, invalid: true})
- )
- .add(
- 'Label Not Set',
- () => render({label: null, 'aria-label': 'React'})
- )
- .add(
- 'renderLabel: false',
- () => render({renderLabel: false, label: 'React radio'})
- )
- .add(
- 'Label Below',
- () => render({labelBelow: true})
- );
-
-function render(props = {}) {
- return (
-
- {
- props.renderLabel === false && 'with renderLabel: false'
- }
-
- );
-}
diff --git a/stories/RadioGroup.js b/stories/RadioGroup.js
deleted file mode 100644
index 8f5d5fed58b..00000000000
--- a/stories/RadioGroup.js
+++ /dev/null
@@ -1,54 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Radio from '../src/Radio';
-import RadioGroup from '../src/RadioGroup';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('RadioGroup', module)
- .add(
- 'Default',
- () => render(),
- {info: 'Remember to import Radio before RadioGroup'}
- )
- .add(
- 'labelsBelow: true',
- () => render({labelsBelow: true}),
- {info: 'Remember to import Radio before RadioGroup'}
- )
- .add(
- 'vertical: true',
- () => render({vertical: true}),
- {info: 'Remember to import Radio before RadioGroup'}
- )
- .add(
- 'defaultSelectedValue',
- () => render({defaultSelectedValue: '2'}),
- {info: 'Remember to import Radio before RadioGroup'}
- );
-
-function render(props = {}) {
- return (
-
-
-
-
-
- );
-}
diff --git a/stories/Rating.js b/stories/Rating.js
deleted file mode 100644
index 8bbd2d12ccd..00000000000
--- a/stories/Rating.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Rating from '../src/Rating';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Rating', module)
- .add(
- 'Default',
- () => (
-
- )
- )
- .add(
- 'Disabled',
- () => (
-
- )
- )
- .add(
- 'readOnly',
- () => (
-
- )
- )
- .add(
- 'Controlled',
- () => (
-
- )
- ).add(
- 'Max',
- () => (
-
- )
- );
diff --git a/stories/Rule.js b/stories/Rule.js
deleted file mode 100644
index 122a9f3aee7..00000000000
--- a/stories/Rule.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Heading from '../src/Heading';
-import React from 'react';
-import Rule from '../src/Rule';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Rule', module)
- .add('Large (Default)',
- () => (
-
- Large
-
- Page or Section Titles.
-
- )
- )
- .add('Medium',
- () => (
-
- Medium
-
- Divide subsections, or divide different groups of elements (between panels, rails, etc.)
-
- )
- )
- .add('Small',
- () => (
-
- Small
-
- Divide like-elements (tables, tool groups, elements within a panel, etc.)
-
- )
- );
diff --git a/stories/Search.js b/stories/Search.js
deleted file mode 100644
index fba13bcc0ad..00000000000
--- a/stories/Search.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import Refresh from '../src/Icon/Refresh';
-import Search from '../src/Search';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Search', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'defaultValue (uncontrolled)',
- () => render({defaultValue: 'React'})
- )
- .add(
- 'value (controlled)',
- () => render({value: 'React'})
- )
- .add(
- 'disabled: true',
- () => render({value: 'React', disabled: true})
- )
- .add(
- 'icon: refresh',
- () => render({value: 'React', icon: })
- )
- .add(
- 'quiet',
- () => render({quiet: true})
- )
- .add(
- 'quiet disabled',
- () => render({quiet: true, disabled: true})
- )
- .add(
- 'quiet icon: refresh',
- () => render({quiet: true, icon: })
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/SearchWithin.js b/stories/SearchWithin.js
deleted file mode 100644
index ca2b962365f..00000000000
--- a/stories/SearchWithin.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import FieldLabel from '../src/FieldLabel';
-import React from 'react';
-import SearchWithin from '../src/SearchWithin';
-import {storiesOf} from '@storybook/react';
-
-const defaultProps = {
- placeholder: 'Enter text',
- scopeOptions: [
- {label: 'Chocolate', value: 'chocolate'},
- {label: 'Vanilla', value: 'vanilla'},
- 'Strawberry',
- {label: 'Caramel', value: 'caramel'},
- {label: 'Cookies and Cream', value: 'cookiescream'},
- {label: 'Peppermint', value: 'peppermint'},
- {label: 'Some crazy long value that should be cut off', value: 'longVal'}
- ]
-};
-
-const otherProps = {
- scopeOptions: ['All', 'Campaigns', 'Audiences', 'Tags']
-};
-
-storiesOf('SearchWithin', module)
- .add('Default', () => render({...otherProps}))
- .add('defaultValue (uncontrolled)', () => render({defaultValue: 'React'}))
- .add('defaultScope (uncontrolled)', () => render({defaultScope: 'chocolate'}))
- .add('value (controlled)', () => render({value: 'React', scope: 'vanilla'}))
- .add('disabled: true', () => render({value: 'React', disabled: true}))
- .add('labelled with aria-label', () => render({'aria-label': 'Search', ...otherProps}))
- .add('labelled with FieldLabel and aria-labelledby', () => render({'aria-labelledby': 'search-within-label-id', ...otherProps}));
-
-function render(props = {}) {
- if (props['aria-labelledby']) {
- return (
-
- );
- }
- return ;
-}
diff --git a/stories/Select.js b/stories/Select.js
deleted file mode 100644
index afc08767663..00000000000
--- a/stories/Select.js
+++ /dev/null
@@ -1,215 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Illustrator from '../src/Icon/Illustrator';
-import Lightroom from '../src/Icon/Lightroom';
-import Photoshop from '../src/Icon/Photoshop';
-import React from 'react';
-import Select from '../src/Select';
-import {storiesOf} from '@storybook/react';
-import {withKnobs} from '@storybook/addon-knobs';
-
-const defaultList = {
- options: [
- {label: 'Chocolate', value: 'chocolate'},
- {label: 'Vanilla', value: 'vanilla'},
- {label: 'Strawberry', value: 'strawberry'},
- {label: 'Caramel', value: 'caramel'},
- {label: 'Cookies and Cream', value: 'cookiescream'},
- {label: 'Peppermint', value: 'peppermint'}
- ]
-};
-
-const longList = {
- options: [
- ...defaultList.options,
- {label: 'Crispity, crunchity, peanut-buttery munchity', value: 'butterfinger'}
- ]
-};
-
-const defaultProps = {
- defaultValue: 'peppermint'
-};
-
-const tinyList = {
- options: [
- {label: 'AM', value: 'am'},
- {label: 'PM', value: 'PM'}
- ]
-};
-
-const tinyProps = {
- defaultValue: 'am'
-};
-
-const selectedValues = [
- 'chocolate',
- 'vanilla'
-];
-
-storiesOf('Select', module)
- .addDecorator(withKnobs)
- .add(
- 'Default',
- () => render({...defaultProps})
- )
- .add(
- 'Various widths',
- () => renderMany()
- )
- .add(
- 'placeholder: other placeholder',
- () => renderNoDefaultProps({placeholder: 'other placeholder'})
- )
- .add(
- 'flexible',
- () => render({flexible: true})
- )
- .add(
- 'alignRight',
- () => render({alignRight: true, defaultValue: 'vanilla'})
- )
- .add(
- 'quiet',
- () => render({quiet: true})
- )
- .add(
- 'quiet, flexible',
- () => render({quiet: true, flexible: true})
- )
- .add(
- 'quiet, alignRight',
- () => render({quiet: true, alignRight: true, defaultValue: 'vanilla'})
- )
- .add(
- 'quiet, value: longVal, flexible',
- () => render({quiet: true, flexible: true, ...longList, defaultValue: 'butterfinger'})
- )
- .add(
- 'quiet, multiple, flexible',
- () => renderNoDefaultProps({quiet: true, flexible: true, multiple: true, value: selectedValues})
- )
- .add(
- 'quiet, disabled, flexible',
- () => render({quiet: true, flexible: true, disabled: true})
- )
- .add(
- 'multiple: true',
- () => render({multiple: true, flexible: true, defaultValue: selectedValues})
- )
- .add(
- 'required: true',
- () => render({required: true})
- )
- .add(
- 'disabled: true',
- () => render({disabled: true})
- )
- .add(
- 'invalid: true',
- () => render({invalid: true})
- )
- .add(
- 'multiple disabled: true',
- () => renderNoDefaultProps({disabled: true, multiple: true, value: selectedValues})
- )
- .add(
- 'value: longVal',
- () => renderNoDefaultProps({...longList, value: 'butterfinger'})
- )
- .add(
- 'Stay open on select',
- () => render({closeOnSelect: false})
- ).add(
- 'with icons',
- () =>
- render({
- options: [
- {label: 'Photoshop', value: 'PHSP', icon: },
- {label: 'Lightroom', value: 'LTRM', icon: },
- {label: 'Illustrator', value: 'ILST', icon: },
- {label: 'Other', value: 'OTHER'}
- ]
- })
- ).add(
- 'with menuClassName',
- () => render({menuClassName: 'custom-class-name'})
- ).add(
- 'no flip',
- () => render({flip: false})
- )
- .add(
- 'renderItem',
- () => render({
- renderItem: item => {item.label}
- }),
- {info: 'This example uses renderItem method to italicize text'}
- );
-
-function render(props = {}) {
- return (
-
- );
-}
-
-function renderMany(props = {}) {
- return (
-
-
A. Default width:
-
-
B. Fixed width:
-
-
C. 100% of container
-
-
- );
-}
-
-function renderNoDefaultProps(props = {}) {
- return (
-
- );
-}
diff --git a/stories/SelectList.js b/stories/SelectList.js
deleted file mode 100644
index 5884c225ded..00000000000
--- a/stories/SelectList.js
+++ /dev/null
@@ -1,85 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import SelectList from '../src/SelectList';
-import {storiesOf} from '@storybook/react';
-
-const defaultProps = {
- 'aria-label': 'Ice cream flavor',
- placeholder: 'Select flavor...',
- style: {textAlign: 'left', maxWidth: '192px'},
- onChange: action('change'),
- options: [
- {label: 'Chocolate', value: 'chocolate'},
- {label: 'Vanilla', value: 'vanilla'},
- {label: 'Strawberry', value: 'strawberry'},
- {label: 'Caramel', value: 'caramel'},
- {label: 'Cookies and Cream', value: 'cookiescream', disabled: true},
- {label: 'Peppermint', value: 'peppermint'},
- {label: 'Some crazy long value that should be cut off', value: 'longVal'}
- ]
-};
-
-const selectedValue = [
- 'chocolate',
- 'vanilla',
- 'longVal'
-];
-
-storiesOf('SelectList', module)
- .add(
- 'Default',
- () => (render({...defaultProps}))
- )
- .add(
- 'multiple noValue: true',
- () => (render({multiple: true}))
- )
- .add(
- 'multiple: true',
- () => (render({multiple: true, value: selectedValue}))
- )
- .add(
- 'multiple disabled: true',
- () => (render({disabled: true, multiple: true, value: selectedValue}))
- )
- .add(
- 'disabled: true',
- () => (render({disabled: true}))
- )
- .add(
- 'value: longVal',
- () => (render({value: 'longVal'}))
- )
- .add(
- 'renderItem',
- () => render({
- multiple: true,
- renderItem: item => {item.label}
- }),
- {info: 'This example uses renderItem method to italicize each option\'s label text'}
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/SideNav.js b/stories/SideNav.js
deleted file mode 100644
index f11f7e0e19a..00000000000
--- a/stories/SideNav.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Email from '../src/Icon/Email';
-import Folder from '../src/Icon/Folder';
-import Home from '../src/Icon/Home';
-import React from 'react';
-import {SideNav, SideNavHeading, SideNavItem} from '../src/SideNav';
-import {storiesOf} from '@storybook/react';
-import ViewGrid from '../src/Icon/ViewGrid';
-
-storiesOf('SideNav', module)
- .add(
- 'Default',
- () => (
-
- Foo
- Baz
- Test
- Hi
-
- )
- )
- .add(
- 'manageTabIndex: true',
- () => (
-
- Foo
- Baz
- Test
- Hi
-
- )
- )
- .add(
- 'Controlled',
- () => (
-
- Foo
- Baz
- Test
- Hi
-
- )
- )
- .add(
- 'MultiLevel',
- () => (
-
-
-
-
-
-
-
-
-
-
-
-
-
- )
- )
- .add(
- 'Header',
- () => (
-
- Home
- Apps
-
- Document Cloud
- Creative Cloud
-
-
- Send & Track
- Reviews
- Signatures
-
-
- )
- )
- .add(
- 'Icon',
- () => (
-
- } value="home" label="Home" />
- } value="apps" label="Apps" />
- } value="assets" label="Assets" />
- } value="mails" label="Mails" />
-
- )
- )
- .add(
- 'renderLink',
- () => (
-
- Foo} />
- Baz
- Test
- Hi
-
- )
- );
-
-class Link extends React.Component {
- render() {
- return Custom link component: {this.props.children} ;
- }
-}
diff --git a/stories/Slider.js b/stories/Slider.js
deleted file mode 100644
index 2309333497f..00000000000
--- a/stories/Slider.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import FieldLabel from '../src/FieldLabel';
-import React from 'react';
-import Slider from '../src/Slider';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Slider', module)
- .add(
- 'Default',
- () => render({label: 'Default'})
- )
- .add(
- 'Min = 10, max = 20, Step = 1',
- () => render({min: 10, max: 20, step: 1, label: 'Min = 10, max = 20, Step = 1'})
- )
- .add(
- 'Default value',
- () => render({defaultValue: 75, label: 'Default value'})
- )
- .add(
- 'Controlled value',
- () => render({value: 75, label: 'Controlled value'})
- )
- /* Spectrum-css has not implemented vertical variant
- .add(
- 'Vertical',
- () => render({orientation: 'vertical'})
- )
- .add(
- 'Vertical step = 1',
- () => render({orientation: 'vertical', min: 0, max: 10, step: 1})
- )
- */
- .add(
- 'renderLabel: true',
- () => render({renderLabel: true, label: 'Rendered Label'})
- )
- .add(
- 'filled',
- () => render({filled: true, renderLabel: true, label: 'filled'})
- )
- .add(
- 'variant: filled with offset',
- () => render({filled: true, fillOffset: 50, defaultValue: 20, renderLabel: true, label: 'filled offset'})
- )
- .add(
- 'variant: ramp',
- () => render({variant: 'ramp', renderLabel: true, label: 'variant: ramp'})
- )
- .add(
- 'variant: range',
- () => render({variant: 'range', renderLabel: true, label: 'variant: range'})
- )
- .add(
- 'variant: range Default values',
- () => render({variant: 'range', defaultStartValue: 20, defaultEndValue: 60, renderLabel: true, label: 'variant: range Default values'})
- )
- .add(
- 'variant: range Controlled values',
- () => render({variant: 'range', startValue: 45, endValue: 75, renderLabel: true, label: 'variant: range Controlled values'})
- )
- .add(
- 'variant: range Min = 10, max = 20, Step = 1',
- () => render({variant: 'range', min: 10, max: 20, step: 1, renderLabel: true, label: 'variant: range Min = 10, max = 20, Step = 1'})
- )
- .add(
- 'disabled',
- () => render({disabled: true})
- )
- .add(
- 'variant: range disabled',
- () => render({disabled: true, variant: 'range', filled: true, renderLabel: true, label: 'variant: range disabled'})
- )
- .add(
- 'labeled using aria-labelledby',
- () => (
-
-
- {render({variant: 'range', filled: true, id: 'foo', 'aria-labelledby': 'bar', 'aria-label': 'labeled using aria-labelledby'})}
-
- )
- )
- .add(
- 'getAriaValueText',
- () => render({
- variant: 'range',
- min: 0,
- max: 1440,
- step: 15,
- defaultStartValue: 600,
- defaultEndValue: 840,
- renderLabel: true,
- label: 'Time span',
- getAriaValueText: minutes => {
- const date = new Date();
- date.setHours(Math.floor(minutes / 60));
- date.setMinutes(minutes % 60);
- return date.toLocaleTimeString('en-us', {hour: '2-digit', minute: '2-digit'});
- }
- })
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/SplitButton.js b/stories/SplitButton.js
deleted file mode 100644
index a0118ef191a..00000000000
--- a/stories/SplitButton.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Facebook from '../src/Icon/Facebook';
-import Instagram from '../src/Icon/Instagram';
-import {MenuItem} from '../src/Menu';
-import React from 'react';
-import SplitButton from '../src/SplitButton';
-import {storiesOf} from '@storybook/react';
-import Twitter from '../src/Icon/Twitter';
-
-storiesOf('SplitButton', module)
- .add(
- 'variant: primary',
- () => render({label: 'Action', variant: 'primary'})
- )
- .add(
- 'variant: secondary',
- () => render({label: 'Action', variant: 'secondary'})
- )
- .add(
- 'variant: cta',
- () => render({label: 'Action', variant: 'cta'})
- );
-
-function render(props = {}) {
- return (
-
- } value="twitter">Twitter
- } value="facebook">Facebook
- } value="instagram">Instagram
-
- );
-}
diff --git a/stories/SplitView.js b/stories/SplitView.js
deleted file mode 100644
index 1db6477acf8..00000000000
--- a/stories/SplitView.js
+++ /dev/null
@@ -1,126 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import SplitView from '../src/SplitView';
-import {storiesOf} from '@storybook/react';
-import './SplitView.styl';
-
-storiesOf('SplitView', module)
- .add(
- 'Default',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'Collapsible',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'Non-resizable',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'Primary right',
- () => (
-
- Secondary
- Primary
-
- )
- )
- .add(
- 'Custom sizes',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'Vertical orientation',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'Nested',
- () => (
-
- Left
-
- Top
- Bottom
-
-
- )
- )
- .add(
- 'onResize and onResizeEnd',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'primarySize: 0',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'primarySize: 400',
- () => (
-
- Primary
- Secondary
-
- )
- )
- .add(
- 'onMouseDown',
- () => (
-
- Primary
- Secondary
-
- )
- );
diff --git a/stories/SplitView.styl b/stories/SplitView.styl
deleted file mode 100644
index 1deee33ff49..00000000000
--- a/stories/SplitView.styl
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.spectrum-SplitView {
- height: 200px;
-}
diff --git a/stories/StatusLight.js b/stories/StatusLight.js
deleted file mode 100644
index 36f3b9a2ae2..00000000000
--- a/stories/StatusLight.js
+++ /dev/null
@@ -1,114 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import StatusLight from '../src/StatusLight';
-import {storiesOf} from '@storybook/react';
-
-const SEMANTIC_COLORS_MESSAGE = `When status lights have a semantic meaning, they should use _semantic colors_.
-
-`;
-
-const LABEL_COLORS_MESSAGE = `When status lights are used to color code categories and labels commonly found in data visualization, they use _label colors_.
-The ideal usage for these is when there are 8 or fewer categories or labels being color coded.
-Use them in the following order to ensure the greatest possible color differences for multiple forms of color blindness:
-
-* Indigo
-* Celery
-* Magenta
-* Yellow
-* Fuchsia
-* Seafoam
-* Chartreuse
-* Purple`;
-
-storiesOf('StatusLight', module)
- .add(
- 'Default',
- () => render()
- ).add(
- 'variant: neutral',
- () => render({variant: 'neutral', children: 'Paused'}),
- {info: SEMANTIC_COLORS_MESSAGE + 'Use **"neutral"** semantic color variant for the following statuses: Archived, Deleted, Paused, Draft, Not Started, Ended'}
- ).add(
- 'variant: positive',
- () => render({variant: 'positive', children: 'Approved'}),
- {info: SEMANTIC_COLORS_MESSAGE + 'Use **"positive"** semantic color variant for the following statuses: Approved, Complete, Success, New, Purchased, Licensed'}
- ).add(
- 'variant: notice',
- () => render({variant: 'notice', children: 'Needs Approval'}),
- {info: SEMANTIC_COLORS_MESSAGE + 'Use **"notice"** semantic color variant for the following statuses: Needs Approval, Pending, Scheduled, Syncing, Indexing, Processing'}
- ).add(
- 'variant: negative',
- () => render({variant: 'negative', children: 'Rejected'}),
- {info: SEMANTIC_COLORS_MESSAGE + 'Use **"negative"** semantic color variant for the following statuses: Error, Alert, Rejected, Failed'}
- ).add(
- 'variant: info',
- () => render({variant: 'info', children: 'Active'}),
- {info: SEMANTIC_COLORS_MESSAGE + 'Use **"info"** semantic color variant for the following statuses: Active, In Use, Live, Published'}
- ).add(
- 'variant: active',
- () => render({variant: 'info', children: 'Active'}),
- {info: '**Note:** the **"active"** variant is deprecated; use **"info"** instead.'}
- ).add(
- 'variant: archived',
- () => render({variant: 'archived', children: 'Archived'}),
- {info: '**Note:** the **"archived"** variant is deprecated; use **"neutral"** instead.'}
- ).add(
- 'variant: indigo',
- () => render({variant: 'indigo'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: celery',
- () => render({variant: 'celery'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: magenta',
- () => render({variant: 'magenta'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: yellow',
- () => render({variant: 'yellow'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: fuchsia',
- () => render({variant: 'fuchsia'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: seafoam',
- () => render({variant: 'seafoam'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: chartreuse',
- () => render({variant: 'chartreuse'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'variant: purple',
- () => render({variant: 'purple'}),
- {info: LABEL_COLORS_MESSAGE}
- ).add(
- 'disabled: true',
- () => render({disabled: true})
- );
-
-function render(props = {}) {
- const {
- children = props.variant || 'Status light of love',
- ...otherProps
- } = props;
- return ({children} );
-}
diff --git a/stories/StepList.js b/stories/StepList.js
deleted file mode 100644
index c22c6655189..00000000000
--- a/stories/StepList.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import {Step, StepList} from '../src/StepList';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('StepList', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'interaction: off',
- () => render({interaction: 'off'})
- )
- .add(
- 'size: small',
- () => render({size: 'S'})
- )
- .add(
- 'size: large',
- () => render({size: 'L'})
- )
- .add(
- 'defaultSelectedIndex: 1',
- () => render({defaultSelectedIndex: 1})
- )
- .add(
- 'selectedIndex: 1',
- () => render({selectedIndex: 1})
- )
- .add(
- 'no labels',
- () => render({}, [null, null, null])
- )
- .add(
- 'long labels',
- () => render({}, ['My text is the longest', 'And my text is quite long', 'If this was in German', 'It would likely look wrong'])
- );
-
-function render(props = {}, steps) {
- steps = steps || ['Step 1', 'Step 2', 'Step 3'];
- const children = steps.map((step, i) => {step} );
-
- return (
-
- {children}
-
- );
-}
diff --git a/stories/SubMenu.js b/stories/SubMenu.js
deleted file mode 100644
index 7368978a09f..00000000000
--- a/stories/SubMenu.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import {Menu, MenuHeading, MenuItem, SubMenu} from '../src/Menu';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('SubMenu', module)
- .addDecorator(story => (
-
- {story()}
-
- ))
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'Multi-level',
- () => render(true)
- );
-
-function render(multiLevel) {
- return (
-
- Menu Heading 1
- Menu Item 1
- Menu Item 2
- Menu Item 3
-
- Sub Menu Item 1
- Sub Menu Item 2
- {multiLevel &&
- Sub Menu Item 1
- Sub Menu Item 2
- }
-
- Menu Item 4
-
- );
-}
diff --git a/stories/Switch.js b/stories/Switch.js
deleted file mode 100644
index 0eca8de6e93..00000000000
--- a/stories/Switch.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Switch from '../src/Switch';
-
-storiesOf('Switch', module)
- .add(
- 'Default',
- () => (render({'aria-label': 'React'}))
- )
- .add(
- 'defaultChecked: true',
- () => (render({defaultChecked: true, 'aria-label': 'React'}))
- )
- .add(
- 'checked: true',
- () => (render({checked: true, 'aria-label': 'React'}))
- )
- .add(
- 'checked: false',
- () => (render({checked: false, 'aria-label': 'React'}))
- )
- .add(
- 'disabled: true',
- () => (render({disabled: true, 'aria-label': 'React'}))
- )
- .add(
- 'with label',
- () => (render({label: 'Test'}))
- )
- .add(
- 'with renderLabel: false',
- () => (render({label: 'React switch', renderLabel: false}))
- )
- .add(
- 'variant: ab',
- () => (render({variant: 'ab', 'aria-label': 'React'}))
- )
- .add(
- 'quiet: true',
- () => render({quiet: true, 'aria-label': 'React'})
- )
- .add(
- 'quiet: true, disabled: true',
- () => render({quiet: true, disabled: true, 'aria-label': 'React'})
- );
-
-function render(props = {}) {
- return (
-
- {
- props.renderLabel === false && 'with renderLabel: false'
- }
-
- );
-}
diff --git a/stories/TabList.js b/stories/TabList.js
deleted file mode 100644
index a0f5382f169..00000000000
--- a/stories/TabList.js
+++ /dev/null
@@ -1,216 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Button from '../src/Button';
-import Facebook from '../src/Icon/Facebook';
-import Instagram from '../src/Icon/Instagram';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import {Tab, TabList} from '../src/TabList';
-import Twitter from '../src/Icon/Twitter';
-
-storiesOf('TabList', module)
- .add(
- 'Default',
- () => render({'aria-label': 'Default'}),
- {info: 'The page, anchored, and panel variants have been deprecated. Page is now compact, and panel/anchored tabs are just default. These variants will map properly to the new styles, but please do not specify these variants going forward.'}
- )
- .add(
- 'collapsible',
- () => renderFlexed({collapsible: true, 'aria-label': 'collapsible'}),
- {info: 'DynamicTabList is not a real component, please look at the source code for the story instead on github'}
- )
- .add(
- 'defaultSelectedIndex: 1',
- () => render({defaultSelectedIndex: 1, 'aria-label': 'defaultSelectedIndex: 1'})
- )
- .add(
- 'selectedIndex: 1',
- () => render({selectedIndex: 1, 'aria-label': 'selectedIndex: 1'})
- )
- .add(
- 'selected set on Tab',
- () => (
-
- Tab 1
- Tab 2
- Tab 3
-
- )
- )
- .add(
- 'selected set on Tab with autoFocus',
- () => (
-
- Tab 1
- Tab 2
- Tab 3
-
- )
- )
- .add(
- 'selected set on Tab with autoFocus',
- () => (
-
- Tab 1
- Tab 2
- Tab 3
-
- )
- )
- .add(
- 'selected set on Tab with autoFocus',
- () => (
-
- Tab 1
- Tab 2
- Tab 3
-
- )
- )
- .add(
- 'orientation: vertical',
- () => render({orientation: 'vertical', 'aria-label': 'orientation: vertical'})
- )
- .add(
- 'variant: compact',
- () => render({variant: 'compact', 'aria-label': 'variant: compact'})
- )
- .add(
- 'quiet',
- () => render({quiet: true, 'aria-label': 'quiet'})
- )
- .add(
- 'quiet collapsible',
- () => renderFlexed({quiet: true, collapsible: true, 'aria-label': 'quiet collapsible'}),
- {info: 'DynamicTabList is not a real component, please look at the source code for the story instead on github'}
- )
- .add(
- 'quiet, variant: compact',
- () => render({quiet: true, variant: 'compact', 'aria-label': 'quiet, variant: compact'})
- )
- .add(
- 'icons',
- () => render({icons: true, 'aria-label': 'icons'})
- )
- .add(
- 'icons, orientation: vertical',
- () => render({icons: true, orientation: 'vertical', 'aria-label': 'icons, orientation: vertical'})
- )
- .add(
- 'variant: compact, orientation: vertical',
- () => render({variant: 'compact', orientation: 'vertical', 'aria-label': 'variant: compact, orientation: vertical'})
- )
- .add(
- 'icons only',
- () => (
-
- } title="Twitter" aria-label="Tab 1" />
- } title="Instagram" aria-label="Tab 2" />
- } title="Facebook" aria-label="Tab 3" />
-
- )
- )
- .add(
- 'disabled tabs',
- () => (
-
- } title="Twitter">Tab 1
- } title="Instagram" disabled>Tab 2
- } title="Facebook">Tab 3
-
- )
- )
- .add(
- 'keyboardActivation: manual',
- () => render({icons: true, keyboardActivation: 'manual', 'aria-label': 'keyboardActivation: manual'})
- );
-
-function render(props = {}) {
- const {icons, ...otherProps} = props;
- return (
-
- } title={icons && 'Twitter'}>Tab 1
- } title={icons && 'Instagram'}>Tab 2
- } title={icons && 'Facebook'}>Tab 3
-
- } title={icons && 'Twitter'}>Tab 4
- } title={icons && 'Instagram'}>Another Tab 5
- } title={icons && 'Facebook'}>Some Other Tab 6
- } title={icons && 'Twitter'}>And More 7
- } title={icons && 'Instagram'}>Even More 8
- } title={icons && 'Facebook'}>Different Tab 9
-
- );
-}
-
-class DynamicTablist extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- tabs: [
- 'First Tab',
- 'Second Tab',
- 'Tab 3',
- 'Tab 4',
- 'Tab 5',
- 'Tab 6',
- 'Tab 7',
- 'Tab 8',
- 'Last Tab, 9'
- ]
- };
- this.addTab = this.addTab.bind(this);
- this.removeTab = this.removeTab.bind(this);
- }
-
- addTab() {
- let newTabs = this.state.tabs;
- newTabs.push('New Tab ' + (newTabs.length + 1));
- this.setState({tabs: newTabs});
- }
- removeTab() {
- if (this.state.tabs.length > 1) {
- let newTabs = this.state.tabs.slice(0, -1);
- this.setState({tabs: newTabs});
- }
- }
-
- render() {
- const {...otherProps} = this.props;
- const {tabs} = this.state;
-
- return (
-
-
- {tabs.map((tabname, i) => {tabname} )}
-
- -
- +
-
-
- );
- }
-}
-
-function renderFlexed(props = {}) {
- const {collapsible, ...otherProps} = props;
- return (
-
- );
-}
diff --git a/stories/TabView.js b/stories/TabView.js
deleted file mode 100644
index 65c9ac2fc7b..00000000000
--- a/stories/TabView.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Facebook from '../src/Icon/Facebook';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import {Tab, TabView} from '../src/TabView';
-import Twitter from '../src/Icon/Twitter';
-
-storiesOf('TabView', module)
- .add(
- 'Default',
- () => (
-
- Tab Body 1
- Tab Body 2
-
- )
- )
- .add(
- 'orientation = vertical',
- () => (
-
- Tab Body 1
- Tab Body 2
-
- )
- )
- .add(
- 'orientation = vertical, icons',
- () => (
-
- }>Tab Body 1
- }>Tab Body 2
-
- )
- )
- .add(
- 'Controlled',
- () => (
-
- Tab Body 1
- Tab Body 2
-
- )
- )
- .add(
- 'defaultSelectedIndex: 1',
- () => (
-
- Tab Body 1
- Tab Body 2
-
- )
- )
- .add(
- 'collapsible',
- () => (
-
- Tab Body 1
- Tab Body 2
- Tab Body 3
- Tab Body 4
- Tab Body 5
- Tab Body 6
- Tab Body 7
- Tab Body 8
- Tab Body 9
- Tab Body 10
-
- )
- );
diff --git a/stories/Table.js b/stories/Table.js
deleted file mode 100644
index 5da39e98d4f..00000000000
--- a/stories/Table.js
+++ /dev/null
@@ -1,63 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import {Table, TBody, TD, TH, THead, TR} from '../src/Table';
-
-storiesOf('Table', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'quiet: true',
- () => render({quiet: true})
- )
- .add(
- 'with dividers',
- () => render({divider: true})
- );
-
-function render(props = {}) {
- return (
-
-
- Pet Name
- Type
- Good/Bad
-
-
-
- Mongo
- Chihuahua
- Bad
-
-
- Tiny
- Great Dane
- Bad
-
-
- Jaws
- Pit Bull
- Good
-
-
-
- );
-}
diff --git a/stories/TableView.js b/stories/TableView.js
deleted file mode 100644
index 64464c41af7..00000000000
--- a/stories/TableView.js
+++ /dev/null
@@ -1,260 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import {DragTarget, IndexPath} from '@react/collection-view';
-import IllustratedMessage from '../src/IllustratedMessage';
-import ListDataSource from '../src/ListDataSource';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Switch from '../src/Switch';
-import {TableView, TableViewDataSource} from '../src/TableView';
-
-storiesOf('TableView', module)
- .addDecorator(
- story => {story()}
- )
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'variant: quiet',
- () => render({quiet: true})
- )
- .add(
- 'allowsSelection: false',
- () => render({allowsSelection: false})
- )
- .add(
- 'allowsMultipleSelection: false',
- () => render({allowsMultipleSelection: false})
- )
- .add(
- 'rowHeight: 72',
- () => render({rowHeight: 72})
- )
- .add(
- 'canDragItems: true',
- () => render({canDragItems: true, quiet: true})
- )
- .add(
- 'custom drag view',
- () => render({
- canDragItems: true,
- quiet: true,
- renderDragView: () => Drag view
- })
- )
- .add(
- 'with empty view',
- () => render({
- dataSource: new TableDS([]),
- quiet: true,
- renderEmptyView: () => (
-
-
-
- } />
- )
- })
- )
- .add(
- 'with old API',
- () => (
-
- )
- )
- .add(
- 'acceptsDrops: true',
- () => render({acceptsDrops: true}),
- {info: 'This example shows how TableView supports drag and drop between rows.'}
- )
- .add(
- 'acceptsDrops: true, quiet: true',
- () => render({acceptsDrops: true, quiet: true}),
- {info: 'This example shows how TableView supports drag and drop between rows.'}
- )
- .add(
- 'dropPosition: "on"',
- () => render({acceptsDrops: true, quiet: true, dropPosition: 'on'}),
- {info: 'This example shows how TableView supports drag and drop over both rows and the whole table using dropPosition="on". In this example, "Active" rows can be dropped over, otherwise the drop goes to the entire table.'}
- )
- .add(
- 'canReorderItems',
- () => render({acceptsDrops: true, quiet: true, canReorderItems: true}),
- {info: 'This example shows how TableView supports reordering rows.'}
- ).add(
- 'can shrink colums',
- () => render({allowsSelection: false, columns: SHRINKABLE_COLUMNS}),
- {info: 'This example shows how the TableView supports shrink columns on window resize.'}
- );
-
-var tableData = [
- {'id': 1, 'name': 'Python, carpet', 'enabled': true, 'createdBy': 'Alexandro Hindrich', description: 'Morelia spilota, commonly referred to as carpet python and diamond pythons'},
- {'id': 2, 'name': 'Cormorant, flightless', 'enabled': false, 'createdBy': 'Felicity McRinn', description: 'The flightless cormorant, also known as the Galapagos cormorant'},
- {'id': 3, 'name': 'Cape cobra', 'enabled': false, 'createdBy': 'Emalee Worsfield', description: 'The Cape cobra, also called the yellow cobra'},
- {'id': 4, 'name': 'Red lava crab', 'enabled': true, 'createdBy': 'Cedric Henriet', description: 'No description'},
- {'id': 5, 'name': 'Tiger', 'enabled': true, 'createdBy': 'Roselin Burk', description: 'The tiger is the largest cat species, most recognizable for its pattern of dark vertical stripes on reddish-orange fur with a lighter underside. '},
- {'id': 6, 'name': 'Blue-tongued skink', 'enabled': false, 'createdBy': 'Dru Kretschmer', description: 'Blue-tongued skinks comprise the Australasian genus Tiliqua, which contains some of the largest members of the skink family'},
- {'id': 7, 'name': 'Springbuck', 'enabled': false, 'createdBy': 'Brockie Eastham', description: 'No description'},
- {'id': 8, 'name': 'Woodpecker, downy', 'enabled': true, 'createdBy': 'Lexis Bravey', description: 'The downy woodpecker is a species of woodpecker, the smallest in North America.'},
- {'id': 9, 'name': 'Cape white-eye', 'enabled': true, 'createdBy': 'Vevay Wessel', description: 'The Cape white-eye is a small passerine bird in the white-eye family. It is native to southern Africa.'},
- {'id': 10, 'name': 'African wild cat', 'enabled': false, 'createdBy': 'Melamie Klais', description: 'The African wildcat, also called Near Eastern wildcat is a wildcat species that lives in Northern Africa'}
-];
-
-const COLUMNS = [
- {
- title: 'Active',
- key: 'enabled',
- width: 100,
- announce: false
- },
- {
- title: 'Name',
- key: 'name',
- minWidth: 200,
- sortable: true,
- divider: true
- },
- {
- title: 'Created By',
- key: 'createdBy',
- width: 200,
- sortable: true
- }
-];
-
-const SHRINKABLE_COLUMNS = [
- {
- title: 'Description',
- key: 'description',
- width: 500,
- sortable: true,
- align: 'left'
- },
- {
- title: 'Name',
- key: 'name',
- sortable: true,
- maxWidth: 200,
- align: 'left'
- },
- {
- title: 'Created By',
- key: 'createdBy',
- maxWidth: 200,
- sortable: true,
- align: 'left'
- },
- {
- title: 'Active',
- key: 'enabled',
- width: 100,
- announce: false
- }
-];
-
-class OldTableDS extends TableViewDataSource {
- getColumns() {
- return COLUMNS;
- }
-
- getNumberOfRows(section) {
- return tableData.length;
- }
-
- getCell(column, row, section) {
- return tableData[row][column.key];
- }
-
- sort(column, dir) {
- tableData.sort((a, b) => a[column.key] < b[column.key] ? -dir : dir);
- this.reloadData();
- }
-}
-
-class TableDS extends ListDataSource {
- constructor(data = tableData) {
- super();
- this.data = data;
- }
-
- load(sortDescriptor) {
- let data = this.data.slice();
- if (sortDescriptor) {
- data.sort((a, b) => a[sortDescriptor.column.key] < b[sortDescriptor.column.key] ? -sortDescriptor.direction : sortDescriptor.direction);
- }
-
- return data;
- }
-
- loadMore() {
- return new Promise((resolve) => {
- setTimeout(() => {
- resolve(this.data);
- }, 2000);
- });
- }
-
- getDropTarget(target) {
- let item = tableData[target.indexPath.index];
- if (item && !item.enabled && target.dropPosition === DragTarget.DROP_ON) {
- return new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN);
- }
-
- return target;
- }
-}
-
-var ds = new TableDS;
-
-function renderCell(column, data, rowFocused) {
- if (column.key === 'enabled') {
- // Determine how to set tabIndex of Switch based on focused state of row.
- var tabIndex = rowFocused ? 0 : -1;
-
- return (
-
- );
- }
- return {'' + (data[column.key] || data)} ;
-}
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Tag.js b/stories/Tag.js
deleted file mode 100644
index 0934e06a525..00000000000
--- a/stories/Tag.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Camera from '../src/Icon/Camera';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import {Tag} from '../src/TagList';
-
-storiesOf('Tag', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'closable: true',
- () => render({closable: true})
- )
- .add(
- 'avatar',
- () => render({avatar: 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg'})
- )
- .add(
- 'avatar, closable: true',
- () => render({avatar: 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg', closable: true})
- )
- .add(
- 'icon',
- () => render({icon: })
- )
- .add(
- 'icon, closable: true',
- () => render({icon: , closable: true})
- )
- .add(
- 'invalid: true',
- () => render({invalid: true, closable: true})
- )
- .add(
- 'avatar, invalid: true',
- () => render({avatar: 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg', invalid: true, closable: true})
- )
- .add(
- 'selected',
- () => Check aria-selected
- );
-
-function render(props = {}, children = 'Cool Tag') {
- return (
-
-
- {props.children || children}
-
-
- {props.children || children}
-
-
- );
-}
diff --git a/stories/TagField.js b/stories/TagField.js
deleted file mode 100644
index 7483457f401..00000000000
--- a/stories/TagField.js
+++ /dev/null
@@ -1,149 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import {Tag} from '../src/TagList';
-import TagField from '../src/TagField';
-
-const OPTIONS = [
- 'Chocolate',
- 'Vanilla',
- 'Strawberry',
- 'Caramel',
- 'Cookies and Cream',
- 'Coconut',
- 'Peppermint',
- 'Some crazy long value that should be cut off'
-];
-
-const OBJECT_OPTIONS = [
- {label: 'Chocolate', id: '1'},
- {label: 'Vanilla', id: '2'},
- {label: 'Strawberry', id: '3'}
-
-];
-
-const OBJECT_OPTIONS_WITH_AVATAR = [
- {label: 'Chocolate', id: '1', avatar: 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg'},
- {label: 'Vanilla', id: '2', avatar: 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg'},
- {label: 'Strawberry', id: '3', avatar: 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg'}
-];
-
-const EXISTING_VALUES = [
- 'Chocolate',
- 'Vanilla',
- 'Peppermint'
-];
-
-function getCompletions(text) {
- return OPTIONS.filter(o => ({label: o.name, id: o.id}));
-}
-function getCompletionsObject(text) {
- return OBJECT_OPTIONS.filter(o => o.label.toLowerCase().startsWith(text.toLowerCase()));
-}
-function getCompletionsObjectWithAvatar(text) {
- return OBJECT_OPTIONS_WITH_AVATAR.filter(o => o.label.toLowerCase().startsWith(text.toLowerCase()));
-}
-
-storiesOf('TagField', module)
- .add(
- 'Default',
- () => (
-
- )
- )
- .add(
- 'Autocomplete',
- () => (
-
- )
- )
- .add(
- 'Display existing values',
- () => (
-
- )
- )
- .add(
- 'Disallow new tags',
- () => (
-
- )
- )
- .add(
- 'Allow duplicate tags',
- () => (
-
- )
- )
- .add(
- 'Handle additions and removals',
- () => (
-
- )
- )
- .add(
- 'disabled',
- () => (
-
- )
- )
- .add(
- 'invalid',
- () => (
-
- )
- )
- .add(
- 'quiet',
- () => (
-
- )
- )
- .add(
- 'quiet disabled',
- () => (
-
- )
- )
- .add(
- 'quiet invalid',
- () => (
-
- )
- )
- .add(
- 'controlled',
- () => (
-
- )
- )
- .add(
- 'renderItem',
- () => (
- {item} } />
- ),
- {info: 'This example uses the renderItem prop to italicize text in the Autocomplete'}
- )
- .add(
- 'With custom tag rendering',
- () => (
- {tag.label} } />
- )
- );
diff --git a/stories/TagList.js b/stories/TagList.js
deleted file mode 100644
index 04c23bba004..00000000000
--- a/stories/TagList.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import {Tag, TagList} from '../src/TagList';
-
-storiesOf('TagList', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'Read Only',
- () => render({readOnly: true})
- )
- .add(
- 'Disabled',
- () => render({disabled: true})
- )
- .add(
- 'Using Values',
- () => render({values: [
- 'Mango', 'Turtle', 'Noodles', 'Pluto'
- ]})
- );
-
-function render(props = {}) {
- return (
-
-
- Tag 1
- Tag 2
- Tag 3
- Tag 4
- Tag 5
- Tag 6
- Tag 7
- Tag 8
- Tag 9
- Tag 10
- This is a longer tab
- This is another longer tab
-
-
- );
-}
diff --git a/stories/Textarea.js b/stories/Textarea.js
deleted file mode 100644
index 75695ff7373..00000000000
--- a/stories/Textarea.js
+++ /dev/null
@@ -1,66 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textarea from '../src/Textarea';
-
-storiesOf('Textarea', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'value: Test (controlled)',
- () => render({value: 'Test'})
- )
- .add(
- 'defaultValue: Test (uncontrolled)',
- () => render({defaultValue: 'Test'})
- )
- .add(
- 'quiet: true',
- () => render({quiet: true})
- )
- .add(
- 'disabled: true',
- () => render({disabled: true})
- )
- .add(
- 'invalid: true',
- () => render({invalid: true})
- )
- .add(
- 'readOnly: true',
- () => render({readOnly: true})
- )
- .add(
- 'required: true',
- () => render({required: true})
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Textfield.js b/stories/Textfield.js
deleted file mode 100644
index 01288a64e20..00000000000
--- a/stories/Textfield.js
+++ /dev/null
@@ -1,82 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Textfield from '../src/Textfield';
-
-storiesOf('Textfield', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'value: Test (controlled)',
- () => render({value: 'Test'})
- )
- .add(
- 'defaultValue: Test (uncontrolled)',
- () => render({defaultValue: 'Test'})
- )
- .add(
- 'quiet: true',
- () => render({quiet: true})
- )
- .add(
- 'disabled: true',
- () => render({disabled: true})
- )
- .add(
- 'invalid: true (deprecated)',
- () => render({invalid: true})
- )
- .add(
- 'validationState: invalid',
- () => render({validationState: 'invalid'})
- )
- .add(
- 'validationState: valid',
- () => render({validationState: 'valid'})
- )
- .add(
- 'readOnly: true',
- () => render({readOnly: true})
- )
- .add(
- 'required: true',
- () => render({required: true})
- )
- .add(
- 'autoFocus: true',
- () => render({autoFocus: true})
- )
- .add(
- 'multiLine: true',
- () => render({multiLine: true})
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Toast.js b/stories/Toast.js
deleted file mode 100644
index ac3737e1aaf..00000000000
--- a/stories/Toast.js
+++ /dev/null
@@ -1,114 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Button from '../src/Button';
-import {error, success, Toast, warning} from '../src/Toast';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-storiesOf('Toast', module)
- .add(
- 'Default',
- () => Toast is done.
- )
- .add(
- 'closable',
- () => Toast is done.
- )
- .add(
- 'actionable',
- () => The thing that you are trying to do the thing to has been archived.
- )
- .add(
- 'actionable, not closable',
- () => The thing that you are trying to do the thing to has been archived.
- )
- .add(
- 'action triggers close',
- () => Toast is done.
- )
- .add(
- 'variant = error',
- () => Toast is burnt.
- )
- .add(
- 'variant = warning',
- () => Toast is burning.
- )
- .add(
- 'variant = info',
- () => A new version of Lightroom Classic is now available.
- )
- .add(
- 'variant = success',
- () => Toast is golden brown.
- )
- .add(
- 'success trigger',
- () => (
- {
- success('Great success!', {
- actionLabel: 'undo',
- onClose: action('onClose'),
- onAction: action('onAction')
- });
- }}
- variant="primary">
- Show Toast
-
- )
- )
- .add(
- 'error trigger',
- () => error('Dismal Failure!')} variant="primary">Show Toast
- )
- .add(
- 'warning trigger',
- () => warning('Could be serious!', {role: 'region', 'aria-live': 'off'})} variant="primary">Show Toast
- )
- .add(
- 'warning trigger with action close',
- () => ( warning('Could be serious!', {
- role: 'region',
- 'aria-live': 'off',
- actionLabel: 'undo',
- closeOnAction: true,
- onAction: action('onAction'),
- onClose: action('onClose')
- })}
- variant="primary">Show Toast )
- )
- .add(
- 'no timeout',
- () => (
- {
- success("I won't go away!", {
- actionLabel: 'undo',
- onClose: action('onClose'),
- onAction: action('onAction'),
- timeout: 0
- });
- }}
- variant="primary">
- Show Toast
-
- )
- );
diff --git a/stories/Tooltip.js b/stories/Tooltip.js
deleted file mode 100644
index 0d2c68c7703..00000000000
--- a/stories/Tooltip.js
+++ /dev/null
@@ -1,97 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Button from '../src/Button';
-import OverlayTrigger from '../src/OverlayTrigger';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Tooltip from '../src/Tooltip';
-
-storiesOf('Tooltip', module)
- .add(
- 'Default',
- () => render('This is a tooltip.')
- )
- .add(
- 'placement: left',
- () => render('This is a tooltip.', {placement: 'left'})
- )
- .add(
- 'placement: top',
- () => render('This is a tooltip.', {placement: 'top'})
- )
- .add(
- 'placement: bottom',
- () => render('This is a tooltip.', {placement: 'bottom'})
- )
- .add(
- 'variant: error',
- () => render('This is a tooltip.', {variant: 'error'})
- )
- .add(
- 'variant: success',
- () => render('This is a tooltip.', {variant: 'success'})
- )
- .add(
- 'variant: info',
- () => render('This is a tooltip.', {variant: 'info'})
- )
- .add(
- 'Long content',
- () => render(longMarkup)
- )
- .add(
- 'with OverlayTrigger: using click',
- () => render('This is a tooltip.', {trigger: 'click'})
- )
- .add(
- 'with OverlayTrigger: using hover and focus',
- () => render('This is a tooltip.', {trigger: ['hover', 'focus']})
- );
-
-function render(content, props = {}) {
- if (props.trigger) {
- return (
-
-
-
- {content}
-
-
- );
- }
-
- return (
-
-
- {content}
-
-
- );
-}
-
-const longMarkup = (
-
- Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor
- quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean
- ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra.
- Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi. Aenean fermentum, elit eget tincidunt
- condimentum, eros ipsum rutrum orci, sagittis tempus lacus enim ac dui.
-
-);
diff --git a/stories/Tour.js b/stories/Tour.js
deleted file mode 100644
index d8408a2762c..00000000000
--- a/stories/Tour.js
+++ /dev/null
@@ -1,192 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Button from '../src/Button';
-import CoachMark from '../src/CoachMark';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import Tour from '../src/Tour';
-
-storiesOf('Tour', module)
- .add(
- 'default',
- () => (
-
-
- Step One
-
- Step Two
-
- Step Three
-
-
-
{
- switch (status) {
- case 'cancel':
- document.body.focus();
- break;
- default:
- document.querySelector('#stepOne').focus();
- break;
- }
- }}>
-
- This is step 1
-
-
-
- This is step 2
-
-
-
- You did it!
-
-
-
)
- )
- .add(
- 'Disable progress',
- () => (
-
-
- Step One
-
- Step Two
-
- Step Three
-
- {
- switch (status) {
- case 'cancel':
- document.body.focus();
- break;
- default:
- document.querySelector('#stepOne').focus();
- break;
- }
- }}>
-
- This is step 1
-
-
-
- This is step 2
-
-
-
- You did it!
-
-
-
-
)
- )
- .add(
- 'clickOutsideAction: skip',
- () => (
-
-
- Step One
-
- Step Two
-
- Step Three
-
- {
- switch (status) {
- case 'cancel':
- document.body.focus();
- break;
- default:
- document.querySelector('#stepOne').focus();
- break;
- }
- }}>
-
- This is step 1
-
-
-
- This is step 2
-
-
-
- You did it!
-
-
-
-
)
- )
- .add(
- 'clickOutsideAction: next',
- () => (
-
-
- Step One
-
- Step Two
-
- Step Three
-
- {
- switch (status) {
- case 'cancel':
- document.body.focus();
- break;
- default:
- document.querySelector('#stepOne').focus();
- break;
- }
- }}>
-
- This is step 1
-
-
-
- This is step 2
-
-
-
- You did it!
-
-
-
-
)
- );
diff --git a/stories/TreeView.js b/stories/TreeView.js
deleted file mode 100644
index d9bd72e6832..00000000000
--- a/stories/TreeView.js
+++ /dev/null
@@ -1,118 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {action} from '@storybook/addon-actions';
-import Folder from '../src/Icon/Folder';
-import Layers from '../src/Icon/Layers';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import TreeDataSource from '../src/TreeDataSource';
-import {TreeView} from '../src/TreeView';
-import './TreeView.styl';
-
-storiesOf('TreeView', module)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'with icons',
- () => render({icons: true})
- )
- .add(
- 'allowsSelection: true',
- () => render({icons: true, allowsSelection: true})
- )
- .add(
- 'allowsMultipleSelection: true',
- () => render({icons: true, allowsSelection: true, allowsMultipleSelection: true})
- )
- .add(
- 'acceptsDrops: true',
- () => render({icons: true, acceptsDrops: true})
- )
- .add(
- 'canDragItems: true',
- () => render({icons: true, canDragItems: true, allowsSelection: true, allowsMultipleSelection: true, acceptsDrops: true})
- )
- .add(
- 'selectedItems',
- () => render({icons: true, allowsSelection: true, allowsMultipleSelection: true, selectedItems: [data[0]]})
- )
- .add(
- 'selectedItems using isItemEqual',
- () => render({icons: true, allowsSelection: true, allowsMultipleSelection: true, selectedItems: [{label: 'Test 2'}]})
- );
-
-const data = [
- {label: 'Test 1', children: [
- {label: 'Child 1', children: [
- {label: 'Sub Child 1'},
- {label: 'Sub Child 2'},
- {label: 'Sub Child 3'},
- {label: 'Sub Child 4'},
- {label: 'Sub Child 5'},
- {label: 'Sub Child 6'},
- {label: 'Sub Child 7'},
- {label: 'Sub Child 8'}
- ]},
- {label: 'Child 2'}
- ]},
- {label: 'Test 2'}
-];
-
-class ExampleDS extends TreeDataSource {
- async getChildren(item) {
- if (!item) {
- return data;
- }
-
- return item.children || [];
- }
-
- hasChildren(item) {
- return !!item.children;
- }
-
- itemsForDrop(dropTarget, dataTransfer) {
- let files = Array.from(dataTransfer.files);
- if (files.length) {
- return files.map(file => ({label: file.name}));
- }
- }
-
- isItemEqual(a, b) {
- return a.label === b.label;
- }
-}
-
-function renderItem(showIcons, item) {
- // return item.label;
- let icon = item.children ? : ;
- return {showIcons ? icon : null}{item.label} ;
-}
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/TreeView.styl b/stories/TreeView.styl
deleted file mode 100644
index 04012fa1b95..00000000000
--- a/stories/TreeView.styl
+++ /dev/null
@@ -1,20 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-.spectrum-TreeView {
- width: 300px;
-}
diff --git a/stories/VisuallyHidden.js b/stories/VisuallyHidden.js
deleted file mode 100644
index 571b9071a61..00000000000
--- a/stories/VisuallyHidden.js
+++ /dev/null
@@ -1,55 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Button from '../src/Button';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-import VisuallyHidden from '../src/VisuallyHidden';
-
-storiesOf('VisuallyHidden', module)
- .add(
- 'Default',
- () => (render({children: 'A visually hidden span of content'})),
- {info: 'A **VisuallyHidden** component provides text that is visually hidden yet remains accessible to assistive technology like screen readers.'}
- ).add(
- 'element',
- () => render({element: 'div', children: 'A visually hidden div of content'})
- ).add(
- 'focusable: true',
- () => render({focusable: true, element: 'a', href: '#main', className: 'spectrum-Link', target: '_self', children: 'Skip to Main Content'}),
- {info: 'The `focusable` boolean property is useful for implementations such as "skip links" where a visually hidden interactive control should become visible when it receives focus.'}
- ).add(
- 'Link context (per WCAG 2.1 SC 2.4.4)',
- () => (
- Buy Creative Cloud now
- ),
- {info: 'Providing additional context when labelling a control may be necessary to satisfy [WCAG 2.1 Success Criterion 2.4.4 Link Purpose (In Context)](https://www.w3.org/TR/WCAG21/#link-purpose-in-context).'}
- );
-
-function render(props = {}) {
- const {
- children,
- ...otherProps
- } = props;
- return (
- {children}
-
);
-}
diff --git a/stories/Wait.js b/stories/Wait.js
deleted file mode 100644
index c2669038605..00000000000
--- a/stories/Wait.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {number, withKnobs} from '@storybook/addon-knobs';
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-import Wait from '../src/Wait';
-
-const sliderOptions = {
- range: true,
- min: 0,
- max: 100,
- step: 1
-};
-
-storiesOf('Wait', module)
- .addDecorator(withKnobs)
- .add(
- 'Default',
- () => render()
- )
- .add(
- 'size: S',
- () => render({size: 'S'})
- )
- .add(
- 'size: L',
- () => render({size: 'L'})
- )
- .add(
- 'variant: overBackground',
- () => {
- const style = {
- 'width': '100px',
- 'height': '100px',
- 'background-color': 'rgba(0,0,0,0.4)',
- 'display': 'flex',
- 'align-items': 'center',
- 'justify-content': 'center'
- };
-
- return (
-
- {render({variant: 'overBackground'})}
-
- );
- }
- )
- .add(
- 'centered: true',
- () => {
- const style = {
- 'width': '100px',
- 'height': '100px',
- 'position': 'relative',
- 'border-color': 'black',
- 'border-style': 'solid'
- };
-
- return (
-
- {render({centered: true})}
-
- );
- }
- )
- .add(
- 'indeterminate: false',
- () => {
- const value = number('Value', 32, sliderOptions);
- return render({indeterminate: false, value});
- },
- {info: 'Adjust the slider in the knobs tab below to change the value'}
- )
- .add(
- 'indeterminate: false, size: S',
- () => {
- const value = number('Value', 32, sliderOptions);
- return render({indeterminate: false, size: 'S', value});
- },
- {info: 'Adjust the slider in the knobs tab below to change the value'}
- )
- .add(
- 'indeterminate: false, size: L',
- () => {
- const value = number('Value', 32, sliderOptions);
- return render({indeterminate: false, size: 'L', value});
- },
- {info: 'Adjust the slider in the knobs tab below to change the value'}
- )
- .add(
- 'indeterminate: false, variant: overBackground',
- () => {
- const value = number('Value', 32, sliderOptions);
- const style = {
- 'width': '100px',
- 'height': '100px',
- 'background-color': 'rgba(0,0,0,0.4)',
- 'display': 'flex',
- 'align-items': 'center',
- 'justify-content': 'center'
- };
-
- return (
-
- {render({indeterminate: false, variant: 'overBackground', value})}
-
- );
- },
- {info: 'Adjust the slider in the knobs tab below to change the value'}
- )
- .add(
- 'indeterminate: false, centered: true',
- () => {
- const value = number('Value', 32, sliderOptions);
- const style = {
- 'width': '100px',
- 'height': '100px',
- 'position': 'relative',
- 'border-color': 'black',
- 'border-style': 'solid'
- };
-
- return (
-
- {render({indeterminate: false, centered: true, value})}
-
- );
- },
- {info: 'Adjust the slider in the knobs tab below to change the value'}
- );
-
-function render(props = {}) {
- return (
-
- );
-}
diff --git a/stories/Well.js b/stories/Well.js
deleted file mode 100644
index 3d321cd6463..00000000000
--- a/stories/Well.js
+++ /dev/null
@@ -1,31 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import React from 'react';
-import {storiesOf} from '@storybook/react';
-
-import Well from '../src/Well';
-
-storiesOf('Well', module)
- .add(
- 'Default',
- () => render()
- );
-
-function render(props = {}) {
- return (This is a React Spectrum Well );
-}
diff --git a/test/.setup.js b/test/.setup.js
deleted file mode 100644
index eea816c9e3d..00000000000
--- a/test/.setup.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {jsdom} from 'jsdom';
-import {Module} from 'module';
-import path from 'path';
-import 'raf/polyfill';
-import configure from 'enzyme-adapter-react-helper';
-
-const exposedProperties = [ 'window', 'navigator', 'document' ];
-
-global.document = jsdom('', {features: {QuerySelector: true}});
-global.window = document.defaultView;
-global.HTMLElement = window.HTMLElement;
-global.HTMLImageElement = window.HTMLImageElement;
-global.MouseEvent = window.MouseEvent;
-
-Object.keys(document.defaultView).forEach(property => {
- if (typeof global[property] === 'undefined') {
- exposedProperties.push(property);
- global[property] = document.defaultView[property];
- }
-});
-
-global.navigator = {
- userAgent: 'node.js',
- language: 'en-US'
-};
-
-// Override require resolution so icons work without copying them into src/
-var oldResolveFilename = Module._resolveFilename;
-Module._resolveFilename = function (request, parent, isMain) {
- if (/Icon\/(core\/)?([^\/\.]+)$/.test(request)) {
- request = '@react/react-spectrum-icons/dist/' + (/core/.test(request) ? 'core/' : '') + path.basename(request);
- } else if (/\.\.\/js\/Icon/.test(request)) {
- request = path.resolve(__dirname + '/../src/Icon/js/Icon.js');
- } else if (/\.\/focus-ring-polyfill/.test(request)) {
- request = '@adobe/focus-ring-polyfill';
- }
-
- return oldResolveFilename.call(this, request, parent, isMain);
-};
-
-configure();
diff --git a/test/Accordion/Accordion.js b/test/Accordion/Accordion.js
deleted file mode 100644
index f21d3f35f89..00000000000
--- a/test/Accordion/Accordion.js
+++ /dev/null
@@ -1,286 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {Accordion, AccordionItem} from '../../src/Accordion';
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-
-describe('Accordion', () => {
- it('supports additional classNames', () => {
- const tree = shallow( );
- const wrapper = tree.find('.spectrum-Accordion');
-
- assert.equal(wrapper.hasClass('myClass'), true);
- });
-
- it('supports invalid children', () => {
- shallow(
-
-
- {null}
- ,
- );
- });
-
- describe('selectedKey', () => {
- const renderAccordionWithSelectedIndex = index => shallow(
-
-
- One content.
-
-
- Two content.
-
-
- );
-
- const assertChildWithClassNameSelected = (tree, className) => {
- const child = tree.find('[selected=true]');
- assert.equal(child.length, 1);
- assert.equal(child.prop('className'), className);
- };
-
- it('supports string index', () => {
- const tree = renderAccordionWithSelectedIndex('1');
- assertChildWithClassNameSelected(tree, 'two');
- });
-
- it('supports integer index', () => {
- const tree = renderAccordionWithSelectedIndex(1);
- assertChildWithClassNameSelected(tree, 'two');
- });
-
- // Issue #137
- it('supports integer index of 0', () => {
- const tree = renderAccordionWithSelectedIndex(0);
- assertChildWithClassNameSelected(tree, 'one');
- });
-
- it('sets selection on header click', () => {
- const div = global.document.createElement('div');
- global.document.body.appendChild(div);
- const tree = mount(
-
-
- One content.
-
-
- Two content.
-
- ,
- {appendTo: div}
- );
- const wrapper = tree.find('.spectrum-Accordion');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'false');
- findAccordionHeaderAt(wrapper, 0).simulate('click');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'true');
- findAccordionHeaderAt(wrapper, 1).simulate('click');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'false');
- assert.equal(findAccordionHeaderAt(wrapper, 1).getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.unmount();
- });
- });
-
- it('supports multiselectable', () => {
- const div = global.document.createElement('div');
- global.document.body.appendChild(div);
- const tree = mount(
-
-
- One content.
-
-
- Two content.
-
- ,
- {appendTo: div}
- );
- tree.setProps({multiselectable: true});
- const wrapper = tree.find('.spectrum-Accordion');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'false');
- findAccordionHeaderAt(wrapper, 0).simulate('click');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'true');
- findAccordionHeaderAt(wrapper, 1).simulate('click');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'true');
- assert.equal(findAccordionHeaderAt(wrapper, 1).getDOMNode().getAttribute('aria-expanded'), 'true');
- findAccordionHeaderAt(wrapper, 1).simulate('click');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'true');
- assert.equal(findAccordionHeaderAt(wrapper, 1).getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.unmount();
- });
-
- it('sets selection with selectedIndex prop', () => {
- const div = global.document.createElement('div');
- global.document.body.appendChild(div);
- const tree = mount(
-
-
- One content.
-
-
- Two content.
-
- ,
- {appendTo: div}
- );
- const wrapper = tree.find('.spectrum-Accordion');
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.setProps({selectedIndex: 0});
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.setProps({selectedIndex: 1});
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'false');
- assert.equal(findAccordionHeaderAt(wrapper, 1).getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.setProps({multiselectable: true});
- tree.setProps({selectedIndex: []});
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'false');
- assert.equal(findAccordionHeaderAt(wrapper, 1).getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.setProps({selectedIndex: [0, 1]});
- assert.equal(findAccordionHeaderAt(wrapper, 0).getDOMNode().getAttribute('aria-expanded'), 'true');
- assert.equal(findAccordionHeaderAt(wrapper, 1).getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.unmount();
- });
-
- it('supports defaultSelectedIndex', () => {
- const tree = shallow(
-
-
- One content.
-
-
- Two content.
-
-
- );
-
- const child = tree.find('[selected=true]');
-
- assert.equal(child.length, 1);
- assert.equal(child.prop('className'), 'two');
- });
-
- it('does not call onChange if descendant input is changed', () => {
- const onChange = sinon.spy();
-
- // We need to use mount instead of shallow because we need our simulated change event to
- // bubble to properly test the scenario. Simulated events don't bubble when rendering shallowly.
- const tree = mount(
-
-
- One content.
-
-
- );
-
- tree.find('input').simulate('change');
-
- assert(!onChange.called);
- tree.unmount();
- });
-
- describe('Accessibility', () => {
- it('should have role="region"', () => {
- const tree = shallow( );
- const wrapper = tree.find('.spectrum-Accordion');
-
- assert.equal(wrapper.prop('role'), 'region');
- });
-
- describe('Keyboard navigation', () => {
- let tree;
- let wrapper;
- let header;
- before(() => {
- tree = mount(
-
- Zero content.
-
-
- One content.
-
-
- Two content.
-
-
- Three content.
-
-
- Four content.
-
-
- Five content.
-
- );
- wrapper = tree.find('.spectrum-Accordion');
- });
-
- after(() => {
- tree.unmount();
- });
-
- it('when ArrowDown key is pressed, focus next not disabled item header', () => {
- header = findAccordionHeaderAt(wrapper, 1);
- header.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(findAccordionHeaderAt(wrapper, 2).prop('id'), document.activeElement.id);
- header = findAccordionHeaderAt(wrapper, 2);
- header.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.notEqual(findAccordionHeaderAt(wrapper, 3).prop('id'), document.activeElement.id);
- assert.equal(findAccordionHeaderAt(wrapper, 4).prop('id'), document.activeElement.id);
- });
-
- it('when ArrowDown key is pressed on last item, focus first not disabled item header', () => {
- header = findAccordionHeaderAt(wrapper, 4);
- header.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(findAccordionHeaderAt(wrapper, 1).prop('id'), document.activeElement.id);
- });
-
- it('when ArrowUp key is pressed, focus previous not disabled item header', () => {
- header = findAccordionHeaderAt(wrapper, 4);
- header.simulate('keydown', {key: 'ArrowUp', preventDefault: () => {}});
- assert.notEqual(findAccordionHeaderAt(wrapper, 3).prop('id'), document.activeElement.id);
- assert.equal(findAccordionHeaderAt(wrapper, 2).prop('id'), document.activeElement.id);
- header = wrapper.find(AccordionItem).at(2).find('.spectrum-Accordion-itemHeader');
- header.simulate('keydown', {key: 'ArrowUp', preventDefault: () => {}});
- assert.equal(findAccordionHeaderAt(wrapper, 1).prop('id'), document.activeElement.id);
- });
-
- it('when ArrowUp key is pressed on first item, focus last not disabled item header', () => {
- header = findAccordionHeaderAt(wrapper, 1);
- header.simulate('keydown', {key: 'ArrowUp', preventDefault: () => {}});
- assert.equal(findAccordionHeaderAt(wrapper, 4).prop('id'), document.activeElement.id);
- });
-
- it('when End key is pressed, focus last not disabled item header', () => {
- header = findAccordionHeaderAt(wrapper, 1);
- header.simulate('keydown', {key: 'End', preventDefault: () => {}});
- assert.equal(findAccordionHeaderAt(wrapper, 4).prop('id'), document.activeElement.id);
- });
-
- it('when Home key is pressed, focus first not disabled item header', () => {
- header = findAccordionHeaderAt(wrapper, 4);
- header.simulate('keydown', {key: 'Home', preventDefault: () => {}});
- assert.equal(findAccordionHeaderAt(wrapper, 1).prop('id'), document.activeElement.id);
- });
- });
-
- });
-});
-
-const findAccordionItemAt = (wrapper, index) => wrapper.find(AccordionItem).at(index);
-const findAccordionHeaderAt = (wrapper, index) => findAccordionItemAt(wrapper, index).find('.spectrum-Accordion-itemHeader');
diff --git a/test/Accordion/AccordionItem.js b/test/Accordion/AccordionItem.js
deleted file mode 100644
index 508fb418c68..00000000000
--- a/test/Accordion/AccordionItem.js
+++ /dev/null
@@ -1,156 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import AccordionItem from '../../src/Accordion/js/AccordionItem';
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('AccordionItem', () => {
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- assert.equal(tree.hasClass('spectrum-Accordion-item'), true);
- });
-
- it('supports selected', () => {
- let tree = shallow( );
- assert.equal(tree.hasClass('is-open'), true);
- tree = shallow( );
- assert.equal(tree.hasClass('is-open'), false);
- });
-
- it('supports header', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Accordion-itemHeader').text(), 'foo');
- });
-
- it('renders children when selected', () => {
- const tree = shallow(foo );
- assert.equal(findContent(tree).text(), 'foo');
- });
-
- it('doesn\'t render children when not selected', () => {
- const tree = shallow(foo );
- assert.equal(findContent(tree).text(), '');
- });
-
- describe('supports onItemClick', () => {
- let spy;
- let tree;
- let header;
-
- beforeEach(() => {
- spy = sinon.spy();
- tree = shallow( );
- header = findHeader(tree);
- });
-
- it('when header clicked', () => {
- header.simulate('click');
- assert(spy.called);
- });
- });
-
- describe('Accessibility', () => {
- describe('WAI-ARIA', () => {
- let tree;
- let heading;
- let header;
- let content;
-
- beforeEach(() => {
- tree = shallow(One content );
- heading = findHeading(tree);
- header = findHeader(tree);
- content = findContent(tree);
- });
-
- it('item container div role equals \'presentation\'', () => {
- assert.equal(tree.prop('role'), 'presentation');
- });
-
- it('header is a \'button\' element', () => {
- assert.equal(header.type(), 'button');
- });
-
- it('relationship between header and content is defined using aria-controls', () => {
- assert.equal(header.prop('aria-controls'), content.prop('id'));
- });
-
- it('content role equals \'region\'', () => {
- assert.equal(content.prop('role'), 'region');
- });
-
- it('content region is labelled by the header using aria-labelledby', () => {
- assert.equal(content.prop('aria-labelledby'), header.prop('id'));
- });
-
- it('header has parent with role equal to \'heading\' that supports aria-level', () => {
- assert.equal(heading.type(), 'h3');
- assert.equal(heading.prop('aria-level'), undefined);
- });
-
- it('supports aria-level', () => {
- tree = shallow(One content );
- let heading = findHeading(tree);
- assert.equal(heading.prop('aria-level'), 4);
- });
-
- describe('default WAI-ARIA state properties', () => {
- it('aria-expanded is false', () => {
- assert.equal(header.prop('aria-expanded'), false);
- });
-
- it('aria-hidden on content region is true', () => {
- assert.equal(content.prop('aria-hidden'), true);
- });
- });
-
- describe('selected WAI-ARIA state properties', () => {
- beforeEach(() => {
- tree = shallow( );
- header = findHeader(tree);
- content = findContent(tree);
- });
-
- it('aria-expanded is false', () => {
- assert.equal(header.prop('aria-expanded'), true);
- });
-
- it('aria-hidden on content region is true', () => {
- assert.equal(content.prop('aria-hidden'), false);
- });
- });
-
- describe('disabled state', () => {
- beforeEach(() => {
- tree = shallow( );
- header = findHeader(tree);
- });
-
- it('disabled is true', () => {
- assert.equal(header.prop('disabled'), true);
- });
- });
- });
- });
-});
-const findHeading = tree => tree.find('.spectrum-Accordion-itemHeading');
-const findHeader = tree => tree.find('.spectrum-Accordion-itemHeader');
-const findContent = tree => tree.find('.spectrum-Accordion-itemContent');
diff --git a/test/Alert/Alert.js b/test/Alert/Alert.js
deleted file mode 100644
index 046fd7acaaf..00000000000
--- a/test/Alert/Alert.js
+++ /dev/null
@@ -1,97 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Alert from '../../src/Alert';
-import assert from 'assert';
-import intlMessages from '../../src/Alert/intl/*.json';
-import {messageFormatter} from '../../src/utils/intl';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-const formatMessage = messageFormatter(intlMessages);
-
-describe('Alert', () => {
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Alert spectrum-Alert--info');
- assert.equal(tree.type(), 'div');
- assertAlertClassAndIcon(tree, 'info');
- assert.equal(tree.find('.spectrum-Alert-header').length, 1);
- assert.equal(tree.find('.spectrum-Alert-content').length, 1);
- assert.equal(tree.find('.spectrum-Alert-footer').length, 0);
- });
-
- it('supports large size', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Alert spectrum-Alert--info');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Alert spectrum-Alert--info myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('supports multiple variants', () => {
- let tree = shallow( );
- assertAlertClassAndIcon(tree, 'help');
-
- tree = shallow( );
- assertAlertClassAndIcon(tree, 'success');
-
- tree = shallow( );
- assertAlertClassAndIcon(tree, 'error');
-
- tree = shallow( );
- assertAlertClassAndIcon(tree, 'warning');
- });
-
- it('supports header', () => {
- const tree = shallow(My Custom Header } />);
- const child = tree.find('.spectrum-Alert-header > div');
- assert.equal(child.length, 1);
- assert.equal(child.children().text(), 'My Custom Header');
- });
-
- it('supports children', () => {
- const tree = shallow(
My Custom Content
);
- const child = tree.find('.spectrum-Alert-content > div');
- assert.equal(child.length, 1);
- assert.equal(child.children().text(), 'My Custom Content');
- });
-
- it('supports closeable', () => {
- const onClose = sinon.spy();
- const tree = shallow(
);
- const child = tree.find('.spectrum-Alert-footer');
- assert.equal(child.length, 1);
- const buttons = child.find('Button');
- assert.equal(buttons.length, 1);
- buttons.first().simulate('click');
- assert(onClose.calledOnce);
- });
-});
-
-const assertAlertClassAndIcon = (tree, variant) => {
- assert.equal(tree.hasClass(`spectrum-Alert--${variant}`), true);
- assert.equal(tree.find('.spectrum-Alert-icon').prop('alt'), formatMessage(variant));
-};
diff --git a/test/Asset/Asset.js b/test/Asset/Asset.js
deleted file mode 100644
index d00993849d1..00000000000
--- a/test/Asset/Asset.js
+++ /dev/null
@@ -1,75 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {Asset} from '../../src/Asset';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Asset', () => {
- it('should support AssetFile as the default content', () => {
- const tree = shallow(
);
- assert.equal(tree.find('AssetFile').length, 1);
- });
-
- describe('should support decorative to hide element from screen readers', () => {
- it('when type is file as the default content', () => {
- const tree = shallow(
);
- assert.equal(tree.find('AssetFile').prop('decorative'), true);
- tree.setProps({decorative: false});
- tree.update();
- assert.equal(tree.find('AssetFile').prop('decorative'), false);
- });
- it('when type is image', () => {
- let imgSrc = 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03578.jpg';
- const tree = shallow(
{}} alt="image" decorative />);
- assert.equal(tree.find('AssetImage').prop('alt'), 'image');
- assert.equal(tree.find('AssetImage').prop('decorative'), true);
- tree.setProps({decorative: false});
- tree.update();
- assert.equal(tree.find('AssetImage').prop('decorative'), false);
- });
- it('when type is folder as the default content', () => {
- const tree = shallow( );
- assert.equal(tree.find('AssetFolder').prop('decorative'), true);
- tree.setProps({decorative: false});
- tree.update();
- assert.equal(tree.find('AssetFolder').prop('decorative'), false);
- });
- });
-
- it('should support AssetImage when type is image', () => {
- let imgSrc = 'https://git.corp.adobe.com/pages/govett/photos/photos/DSC03578.jpg';
- const tree = shallow( {}} alt="image" />);
- assert.equal(tree.prop('className'), 'spectrum-Asset');
- let asset = tree.find('AssetImage');
- assert.equal(asset.length, 1);
- assert.equal(asset.prop('smartness'), 1);
- assert.equal(typeof asset.prop('onLoad'), 'function');
- assert.equal(asset.prop('alt'), 'image');
- });
-
- it('should support AssetFolder when type is folder', () => {
- const tree = shallow( );
- assert.equal(tree.find('AssetFolder').length, 1);
- });
-
- it('should support custom classes', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Asset my-class');
- });
-});
diff --git a/test/Asset/AssetFile.js b/test/Asset/AssetFile.js
deleted file mode 100644
index 08db4ab2507..00000000000
--- a/test/Asset/AssetFile.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {AssetFile} from '../../src/Asset';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('AssetFile', () => {
- it('should display a File Icon', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Asset-file').length, 1);
- assert.equal(tree.find('.my-class').length, 1);
- assert.equal(tree.prop('role'), 'img');
- });
- it('should include alt text for accessibility', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'File');
- tree.setProps({alt: 'Filename'});
- assert.equal(tree.prop('aria-label'), 'Filename');
- });
- it('should support decorative to hide element from screen readers', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- tree.setProps({decorative: false});
- assert.equal(tree.prop('aria-hidden'), null);
- });
-});
diff --git a/test/Asset/AssetFolder.js b/test/Asset/AssetFolder.js
deleted file mode 100644
index b80711d8aa1..00000000000
--- a/test/Asset/AssetFolder.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {AssetFolder} from '../../src/Asset';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('AssetFolder', () => {
- it('should display a Folder Icon', () => {
- const tree = shallow( );
- assert(tree.find('.spectrum-Asset-folder'), true);
- assert(tree.find('.my-class'), true);
- assert.equal(tree.prop('role'), 'img');
- });
- it('should include alt text for accessibility', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'Folder');
- tree.setProps({alt: 'Folder name'});
- assert.equal(tree.prop('aria-label'), 'Folder name');
- });
- it('should support decorative to hide element from screen readers', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- tree.setProps({decorative: false});
- assert.equal(tree.prop('aria-hidden'), null);
- });
-});
diff --git a/test/Asset/AssetImage.js b/test/Asset/AssetImage.js
deleted file mode 100644
index f29fe75d93b..00000000000
--- a/test/Asset/AssetImage.js
+++ /dev/null
@@ -1,179 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {AssetImage} from '../../src/Asset';
-import {mount} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('AssetImage', () => {
- let clock;
- let tree;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
- afterEach(() => {
- clock.runAll();
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.restore();
- });
- // Square Image returns the Minimum Percentage, 75%
- it('should render the correct size when image is a square', async () => {
- // Jsdom doesn't implement size properties, so set the height and width of the image
- Object.defineProperty(HTMLImageElement.prototype, 'complete', {get: () => true});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalHeight', {get: () => 240});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalWidth', {get: () => 240});
-
- const onLoad = sinon.spy();
-
- tree = mount(
-
- );
-
- let img = tree.find('img');
- img.simulate('load', {target: img.getDOMNode()});
- clock.runAll();
-
- assert(onLoad.called);
-
- tree.update();
- img = tree.find('img');
-
- assert(img.getDOMNode().classList.contains('spectrum-Asset-image'));
- assert.deepEqual(img.prop('style'), {maxWidth: '75%', maxHeight: '75%'});
- });
-
- it('should include alt text for accessibility', async () => {
- // Jsdom doesn't implement size properties, so set the height and width of the image
- Object.defineProperty(HTMLImageElement.prototype, 'complete', {get: () => true});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalHeight', {get: () => 240});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalWidth', {get: () => 240});
-
- tree = mount(
-
- );
-
- let img = tree.find('img');
- img.simulate('load', {target: img.getDOMNode()});
- clock.runAll();
-
- tree.update();
- img = tree.find('img');
-
- assert.equal(img.prop('alt'), 'image');
- });
-
- it('should support decorative to hide element from screen readers', async () => {
- // Jsdom doesn't implement size properties, so set the height and width of the image
- Object.defineProperty(HTMLImageElement.prototype, 'complete', {get: () => true});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalHeight', {get: () => 240});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalWidth', {get: () => 240});
-
- tree = mount(
-
- );
-
- let img = tree.find('img');
- img.simulate('load', {target: img.getDOMNode()});
- clock.runAll();
-
- tree.update();
- img = tree.find('img');
-
- assert.equal(img.prop('alt'), '');
- });
-
- // Images that have a width:height or height:width > 1:4 have maximum percentage, 100%
- it('should render the correct size when image ratio of sides is >= 1:4', async () => {
- // Jsdom doesn't implement size properties, so set the height and width of the image
- Object.defineProperty(HTMLImageElement.prototype, 'complete', {get: () => true});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalHeight', {get: () => 100});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalWidth', {get: () => 400});
-
- tree = mount(
-
- );
-
- let img = tree.find('img');
- img.simulate('load', {target: img.getDOMNode()});
- clock.runAll();
-
- tree.update();
- img = tree.find('img');
-
- assert(img.getDOMNode().classList.contains('spectrum-Asset-image'));
- assert.deepEqual(img.prop('style'), {maxWidth: '100%', maxHeight: '100%'});
- });
-
- it('should render the correct size when image is a horizontal rectangle', async () => {
- Object.defineProperty(HTMLImageElement.prototype, 'complete', {get: () => true});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalHeight', {get: () => 70});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalWidth', {get: () => 100});
-
- tree = mount(
-
- );
-
- let img = tree.find('img');
- img.simulate('load', {target: img.getDOMNode()});
- clock.runAll();
-
- tree.update();
- img = tree.find('img');
-
- assert(img.getDOMNode().classList.contains('spectrum-Asset-image'));
- assert.deepEqual(img.prop('style'), {maxWidth: '85%', maxHeight: '85%'});
- });
-
- it('should render the correct size when input is a vertical rectangle', async () => {
- Object.defineProperty(HTMLImageElement.prototype, 'complete', {get: () => true});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalHeight', {get: () => 100});
- Object.defineProperty(HTMLImageElement.prototype, 'naturalWidth', {get: () => 70});
-
- tree = mount(
-
- );
-
- let img = tree.find('img');
- img.simulate('load', {target: img.getDOMNode()});
- clock.runAll();
-
- tree.update();
- img = tree.find('img');
-
- assert(img.getDOMNode().classList.contains('spectrum-Asset-image'));
- assert.deepEqual(img.prop('style'), {maxWidth: '85%', maxHeight: '85%'});
- });
-});
diff --git a/test/Autocomplete/Autocomplete.js b/test/Autocomplete/Autocomplete.js
deleted file mode 100644
index 44403061d15..00000000000
--- a/test/Autocomplete/Autocomplete.js
+++ /dev/null
@@ -1,735 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Autocomplete from '../../src/Autocomplete';
-import {Menu, MenuItem} from '../../src/Menu';
-import {mount, shallow} from 'enzyme';
-import {nextEventLoopIteration, sleep} from '../utils';
-import Overlay from '../../src/OverlayTrigger/js/Overlay';
-import React from 'react';
-import sinon from 'sinon';
-
-const assertMenuFocusStates = (tree, expectedFocusStates) => {
- assert.deepEqual(tree.find(MenuItem).map(c => c.prop('focused')), expectedFocusStates);
-};
-
-const assertMenuFocusStatesDOM = (listNode, expectedFocusStates) => {
- assert.deepEqual(Array.from(listNode.childNodes).map(item => item.classList[1] === 'is-focused'), expectedFocusStates);
-};
-
-const findInput = tree => tree.find('input');
-
-describe('Autocomplete', () => {
- let clock;
-
- before(() => {
- clock = sinon.useFakeTimers();
- });
-
- after(() => {
- clock.restore();
- });
-
- it('should render children', () => {
- const tree = shallow(
-
-
-
- );
-
- assert.equal(tree.prop('className'), 'react-spectrum-Autocomplete test');
- assert.equal(tree.childAt(1).prop('show'), false);
- assert.equal(findInput(tree).prop('value'), '');
- assert.equal(typeof findInput(tree).prop('onChange'), 'function');
- });
-
- it('should render other children and select the right input', () => {
- const tree = shallow(
-
-
-
-
- );
-
- assert.equal(tree.childAt(0).type(), 'span');
- assert.equal(tree.childAt(1).type(), 'input');
- assert.equal(typeof findInput(tree).prop('onChange'), 'function');
- assert.equal(tree.childAt(2).prop('show'), false);
- });
-
- it('should call getCompletions and render a menu with results', async () => {
- let tree = shallow(
- ['one', 'two']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration();
-
- assert.equal(findInput(tree).prop('value'), 'test');
-
- findInput(tree).simulate('mouseEnter');
- await nextEventLoopIteration();
-
- assert.equal(tree.childAt(1).prop('show'), true);
- assert.equal(tree.find(MenuItem).length, 2);
- assert.equal(tree.find(MenuItem).getElements()[0].key, 'item-0');
- });
-
- it('should call getCompletions and render a menu with results asynchronously', async () => {
- const getCompletions = async v => {
- await sleep(10); // this will be run by a clock.tick further down in the test
- return ['one', 'two'];
- };
-
- const tree = shallow(
-
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- clock.tick(15); // Wait for async getCompletions
- // Dom needs actual time to pass in order to update, otherwise all we have is updated state
- await nextEventLoopIteration();
-
- assert.equal(findInput(tree).prop('value'), 'test');
-
- findInput(tree).simulate('mouseEnter');
- await nextEventLoopIteration();
-
- assert.equal(tree.childAt(1).prop('show'), true);
-
- findInput(tree).simulate('mouseEnter');
- await nextEventLoopIteration();
- assert.equal(tree.find(MenuItem).length, 2);
- });
-
- it('should optionally call the renderItem callback to render menu items', async () => {
- let tree = shallow(
- ['one', 'two']} renderItem={label => {label} }>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration();
-
- assert.equal(tree.find(MenuItem).first().childAt(0).type(), 'em');
- });
-
- it('should handle keyboard navigation of menu items', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- findInput(tree).simulate('mouseEnter');
- await nextEventLoopIteration();
-
- assertMenuFocusStates(tree, [true, false, false]);
-
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', preventDefault: () => {}});
- assertMenuFocusStates(tree, [false, true, false]);
-
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', preventDefault: () => {}});
- assertMenuFocusStates(tree, [false, false, true]);
-
- findInput(tree).simulate('keyDown', {key: 'ArrowUp', preventDefault: () => {}});
- assertMenuFocusStates(tree, [false, true, false]);
-
- findInput(tree).simulate('keyDown', {key: 'End', preventDefault: () => {}});
- assertMenuFocusStates(tree, [false, false, true]);
-
- findInput(tree).simulate('keyDown', {key: 'Home', preventDefault: () => {}});
- assertMenuFocusStates(tree, [true, false, false]);
-
- // Wrapping behavior
- findInput(tree).simulate('keyDown', {key: 'ArrowUp', preventDefault: () => {}});
- assertMenuFocusStates(tree, [false, false, true]);
-
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', preventDefault: () => {}});
- assertMenuFocusStates(tree, [true, false, false]);
-
- // Mouse focus
- tree.find(MenuItem).at(1).simulate('mouseEnter');
- assertMenuFocusStates(tree, [false, true, false]);
- });
-
- it('should handle PageUp/PageDown navigation of menu items', async () => {
- const itemHeight = 32;
- const tree = mount(
- ['one', 'two', 'three', 'four', 'five', 'six']}>
-
-
- );
-
- findInput(tree).simulate('focus');
-
- findInput(tree).simulate('keyDown', {key: 'PageDown', preventDefault: () => {}});
- findInput(tree).simulate('keyDown', {key: 'PageUp', preventDefault: () => {}});
-
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- findInput(tree).simulate('mouseEnter');
- await nextEventLoopIteration();
-
- // Stub DOM dimensions
- const listNode = document.querySelector('ul');
- const items = listNode.childNodes;
- const stubs = [];
- stubs.push(sinon.stub(listNode, 'clientHeight').get(() => itemHeight * 2));
- stubs.push(sinon.stub(listNode, 'scrollHeight').get(() => itemHeight * items.length));
- items.forEach((item, index) => {
- stubs.push(sinon.stub(item, 'offsetHeight').get(() => itemHeight));
- stubs.push(sinon.stub(item, 'offsetTop').get(() => itemHeight * index));
- });
-
- assertMenuFocusStatesDOM(listNode, [true, false, false, false, false, false]);
-
- // Page up/Page down tests rely on offsetTop and clientHeight
- findInput(tree).simulate('keyDown', {key: 'PageDown', preventDefault: () => {}});
- assertMenuFocusStatesDOM(listNode, [false, false, true, false, false, false]);
-
- findInput(tree).simulate('keyDown', {key: 'PageDown', preventDefault: () => {}});
- assertMenuFocusStatesDOM(listNode, [false, false, false, false, true, false]);
-
- findInput(tree).simulate('keyDown', {key: 'PageDown', preventDefault: () => {}});
- assertMenuFocusStatesDOM(listNode, [false, false, false, false, false, true]);
-
- findInput(tree).simulate('keyDown', {key: 'PageUp', preventDefault: () => {}});
- assertMenuFocusStatesDOM(listNode, [false, false, false, true, false, false]);
-
- findInput(tree).simulate('keyDown', {key: 'PageUp', preventDefault: () => {}});
- assertMenuFocusStatesDOM(listNode, [false, true, false, false, false, false]);
-
- findInput(tree).simulate('keyDown', {key: 'PageUp', preventDefault: () => {}});
- assertMenuFocusStatesDOM(listNode, [true, false, false, false, false, false]);
-
- stubs.forEach(stub => {
- stub.restore();
- stub.resetHistory();
- });
- tree.unmount();
- });
-
- it('should select an item when the enter key is pressed', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
-
- findInput(tree).simulate('keyDown', {key: 'Enter', preventDefault: function () {}});
-
- assert.equal(tree.childAt(1).prop('show'), false);
- assert.equal(findInput(tree).prop('value'), 'one');
- });
-
- it('should not select an item when the space key is pressed', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
-
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', preventDefault: function () {}});
- findInput(tree).simulate('keyDown', {key: ' ', preventDefault: function () {}});
-
- assert.equal(tree.childAt(1).prop('show'), true);
- assert.equal(findInput(tree).prop('value'), 'test');
- });
-
- it('should hide the menu when the escape key is pressed', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
-
- findInput(tree).simulate('keydown', {key: 'Escape', preventDefault: function () {}});
-
- assert.equal(tree.childAt(1).prop('show'), false);
- assert.equal(findInput(tree).prop('value'), 'test');
- });
-
- it('should show the menu when ArrowDown is pressed', async () => {
- const spy = sinon.spy();
- const tree = shallow(
- ['one', 'two', 'three']} onMenuShow={spy}>
-
-
- );
-
- findInput(tree).simulate('focus');
-
- findInput(tree).simulate('keydown', {key: 'ArrowDown', preventDefault: function () {}});
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- tree.update();
-
- assert.equal(tree.childAt(1).prop('show'), true);
-
- await nextEventLoopIteration(); // wait for async getCompletions
- assert(spy.called);
- });
-
- it('should show the menu when the Alt + ArrowDown is pressed', async () => {
- const spy = sinon.spy();
- const tree = shallow(
- ['one', 'two', 'three']} onMenuShow={spy}>
-
-
- );
-
- findInput(tree).simulate('focus');
-
- findInput(tree).simulate('keydown', {key: 'ArrowDown', altKey: true, preventDefault: function () {}});
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- tree.update();
-
- assert.equal(tree.childAt(1).prop('show'), true);
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- assert(spy.called);
- });
-
- it('should hide the menu when the Alt + ArrowUp is pressed', async () => {
- const spy = sinon.spy();
- const tree = shallow(
- ['one', 'two', 'three']} onMenuHide={spy}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
-
- findInput(tree).simulate('keydown', {key: 'ArrowUp', altKey: true, preventDefault: function () {}});
-
- assert.equal(tree.childAt(1).prop('show'), false);
- assert.equal(findInput(tree).prop('value'), 'test');
-
- assert(spy.called);
- });
-
- it('should hide the menu on blur', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
-
- assert.equal(tree.prop('className'), 'react-spectrum-Autocomplete is-focused');
- assert.equal(tree.find(Menu).length, 1);
-
- findInput(tree).simulate('blur');
- assert.equal(tree.prop('className'), 'react-spectrum-Autocomplete');
- assert.equal(tree.childAt(1).prop('show'), false);
- });
-
- it('supports a controlled value mode', async () => {
- const onChange = sinon.spy();
- const onSelect = sinon.spy();
-
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- assert.equal(findInput(tree).prop('value'), 'foo');
-
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration();
-
- assert.equal(onChange.callCount, 1);
- assert.deepEqual(onChange.getCall(0).args[0], 'test');
- assert.equal(onSelect.callCount, 0);
-
- // It doesn't change the value in controlled mode
- assert.equal(findInput(tree).prop('value'), 'foo');
-
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', altKey: true, preventDefault: function () {}});
- // wait for the menu to open and verify it's open
- await nextEventLoopIteration();
- assert.equal(tree.find(Overlay).props().show, true);
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', preventDefault: function () {}});
- findInput(tree).simulate('keyDown', {key: 'Enter', preventDefault: function () {}});
- // once a selection has been made, verify that the overlay closed
- assert.equal(tree.find(Overlay).props().show, false);
-
- assert.equal(onChange.callCount, 2);
- assert.deepEqual(onChange.getCall(1).args[0], 'one');
-
- assert.equal(onSelect.callCount, 1);
- assert.equal(onSelect.getCall(0).args[0], 'one');
- // verify that the value is still 'foo' after the menu close
- assert.equal(findInput(tree).prop('value'), 'foo');
- });
-
- it('supports a controlled show menu:false mode', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- assert.equal(findInput(tree).prop('value'), 'foo');
- await nextEventLoopIteration();
- assert.equal(tree.find(Overlay).props().show, false);
- tree.simulate('change', 'tw');
- await nextEventLoopIteration();
- assert.equal(tree.find(Overlay).props().show, false);
- });
-
- it('supports a controlled show menu:true mode', async () => {
- const onChange = sinon.spy();
- const onSelect = sinon.spy();
-
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- assert.equal(findInput(tree).prop('value'), 'foo');
- await nextEventLoopIteration();
- assert.equal(tree.find(Overlay).props().show, true);
- findInput(tree).simulate('keyDown', {key: 'ArrowDown', preventDefault: function () {}});
- findInput(tree).simulate('keyDown', {key: 'Enter', preventDefault: function () {}});
- // once a selection has been made, verify that the overlay closed
- assert.equal(tree.find(Overlay).props().show, true);
-
- assert.equal(onChange.callCount, 1);
- assert.deepEqual(onChange.getCall(0).args[0], 'two');
-
- assert.equal(onSelect.callCount, 1);
- assert.equal(onSelect.getCall(0).args[0], 'two');
- // verify that the value is still 'foo' after the menu close
- assert.equal(findInput(tree).prop('value'), 'foo');
- });
-
- it('should trigger onMenuToggle when onChange is triggered in controlled state', async () => {
- const onMenuToggle = sinon.spy();
-
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
-
- tree.find('input').simulate('change', 'fooo');
- await nextEventLoopIteration(); // Wait for async getCompletions
- await nextEventLoopIteration(); // And something else??
-
- assert.equal(tree.instance().state.showMenu, false);
- assert(onMenuToggle.calledOnce);
- assert.equal(onMenuToggle.getCall(0).args[0], true);
- });
-
- it('does not select first menu item by default with allowCreate', async () => {
- const onSelect = sinon.spy();
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
-
- findInput(tree).simulate('focus');
-
- // No menu item selected
- assertMenuFocusStates(tree, [false, false, false]);
-
- // Emits onSelect for non-selected item
- findInput(tree).simulate('keyDown', {key: 'Enter', preventDefault: function () {}});
- assert.equal(findInput(tree).prop('value'), 'test');
-
- assert.equal(onSelect.callCount, 1);
- assert.equal(onSelect.getCall(0).args[0], 'test');
- });
-
- it('can toggle the menu programmatically', async () => {
- let onMenuToggle = sinon.spy();
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
- let showMenuResolver = null;
- let showMenuPromise = new Promise(resolve => showMenuResolver = resolve);
- let component = tree.instance();
- let showMenu = component.showMenu;
- sinon.stub(component, 'showMenu').callsFake(async (...args) => {
- await showMenu.apply(component, ...args);
- showMenuResolver();
- });
- let hideMenuResolver = null;
- let hideMenuPromise = new Promise(resolve => hideMenuResolver = resolve);
- let hideMenu = tree.instance().hideMenu;
- sinon.stub(tree.instance(), 'hideMenu').callsFake(async (...args) => {
- await hideMenu.apply(component, ...args);
- hideMenuResolver();
- });
-
- assert(!onMenuToggle.called);
- tree.instance().toggleMenu();
- await nextEventLoopIteration();
- await nextEventLoopIteration();
-
- await showMenuPromise;
- assert(onMenuToggle.calledOnce);
- assert.equal(onMenuToggle.getCall(0).args[0], true);
- tree.update();
- assert.equal(tree.childAt(1).prop('show'), true);
-
- tree.instance().toggleMenu();
-
- await hideMenuPromise;
- assert(onMenuToggle.calledTwice);
- assert.equal(onMenuToggle.getCall(1).args[0], false);
- tree.update();
-
- assert.equal(tree.childAt(1).prop('show'), false);
- });
-
- it('supports non-string completions', async () => {
- const onSelect = sinon.spy();
- const tree = shallow(
- [{id: 1, label: 'one'}, {id: 2, label: 'two'}]}>
-
-
- );
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration();
-
- findInput(tree).simulate('keyDown', {key: 'Enter', preventDefault: function () {}});
- assert.equal(findInput(tree).prop('value'), 'one');
-
- assert.equal(onSelect.callCount, 1);
- assert.deepEqual(onSelect.getCall(0).args[0], {id: 1, label: 'one'});
- });
-
- it('supports caching of width when componentDidUpdate is called', async () => {
- const tree = mount(
- ['one', 'two', 'three']}>
-
-
- );
-
- // stub offsetWidth getter
- const stubWidth = 192;
- const stub = sinon.stub(tree.instance().wrapper, 'offsetWidth').get(() => stubWidth);
-
- // show menu
- tree.instance().toggleMenu();
- await nextEventLoopIteration();
- assert.equal(tree.instance().state.width, stubWidth);
- assert.equal(tree.instance().menu.props.style.width, stubWidth + 'px');
-
- // restore original offsetWidth getter
- stub.restore();
- tree.unmount();
- });
-
- it('should show a checkmark on the currently selected menu item', async () => {
- const tree = shallow(
- ['one', 'two']}>
-
-
- );
-
- tree.find('input').simulate('focus');
- tree.find('input').simulate('change', 'two');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- tree.update();
-
- assert.equal(tree.find('input').prop('value'), 'two');
-
- assert.equal(tree.find(MenuItem).length, 2);
- assert.equal(tree.find(MenuItem).at(1).prop('selected'), true);
- });
-
- it('should focus the selected index when showing the menu', async () => {
- const tree = shallow(
- ['one', 'two']}>
-
-
- );
-
- await tree.instance().showMenu();
- tree.update();
-
- assert.equal(tree.find(MenuItem).length, 2);
- assert.equal(tree.find(MenuItem).at(1).prop('selected'), true);
-
- assertMenuFocusStates(tree, [false, true]);
- });
-
- describe('autocompletes when Tab is pressed', () => {
- const render = async (getCompletions) => {
- const preventDefaultSpy = sinon.spy();
- const onSelectSpy = sinon.spy();
-
- const tree = shallow(
-
-
-
- );
- const input = findInput(tree);
-
- input.simulate('focus');
- input.simulate('change', 't');
-
- await nextEventLoopIteration();
-
- input
- .simulate('keydown', {key: 'ArrowDown', preventDefault: function () {}});
-
- input
- .simulate('keydown', {key: 'Tab', preventDefault: preventDefaultSpy});
-
- return {preventDefaultSpy, onSelectSpy};
- };
-
- it('if the menu is open', async () => {
- const {preventDefaultSpy, onSelectSpy} = await render(v => ['one', 'two', 'three']);
-
- assert(onSelectSpy.withArgs('two').calledOnce);
- assert(preventDefaultSpy.calledOnce);
- });
-
- it('otherwise performs default behavior', async () => {
- const {preventDefaultSpy, onSelectSpy} = await render(v => []);
-
- assert(onSelectSpy.notCalled);
- assert(preventDefaultSpy.notCalled);
- });
- });
-
- describe('Accessibility', () => {
- it('should have appropriate role and aria-* attributes', async () => {
- const tree = shallow(
- ['one', 'two', 'three']}>
-
-
- );
-
- assert.equal(tree.prop('role'), 'combobox');
- assert.equal(tree.prop('aria-controls'), undefined);
- assert.equal(tree.prop('aria-expanded'), false);
- assert.equal(tree.prop('aria-haspopup'), 'true');
- assert.equal(tree.prop('aria-owns'), undefined);
-
- assert.equal(findInput(tree).prop('id'), 'foo');
- assert.equal(findInput(tree).prop('role'), 'textbox');
- assert.equal(findInput(tree).prop('aria-autocomplete'), 'list');
- assert.equal(findInput(tree).prop('aria-controls'), undefined);
-
- findInput(tree).simulate('focus');
- findInput(tree).simulate('change', 'test');
-
- await nextEventLoopIteration(); // Wait for async getCompletions
- tree.update();
-
- const menu = tree.find(Menu);
- const menuItems = tree.find(MenuItem);
-
- assert.equal(tree.childAt(1).prop('show'), true);
- assert.equal(menu.length, 1);
- assert.equal(menuItems.length, 3);
-
- assert.equal(tree.prop('aria-expanded'), true);
- assert.equal(tree.prop('aria-owns'), menu.prop('id'));
- assert.equal(findInput(tree).prop('aria-controls'), menu.prop('id'));
-
- assert.equal(menu.prop('role'), 'listbox');
- menuItems.forEach((item) => {
- assert.equal(item.prop('role'), 'option');
- });
-
- assert.equal(findInput(tree).prop('aria-activedescendant'), menuItems.at(0).prop('id'));
-
- findInput(tree).simulate('keydown', {key: 'ArrowDown', preventDefault: function () {}});
- assert.equal(findInput(tree).prop('aria-activedescendant'), menuItems.at(1).prop('id'));
-
- findInput(tree).simulate('keydown', {key: 'ArrowDown', preventDefault: function () {}});
- assert.equal(findInput(tree).prop('aria-activedescendant'), menuItems.at(2).prop('id'));
-
- let mouseDownPreventDefault = sinon.spy();
- menuItems.at(2).simulate('mouseDown', {preventDefault: mouseDownPreventDefault});
- assert(mouseDownPreventDefault.called);
-
- findInput(tree).simulate('keydown', {key: 'Enter', preventDefault: function () {}});
-
- assert.equal(tree.prop('aria-expanded'), false);
- assert.equal(tree.prop('aria-owns'), undefined);
-
- assert.equal(findInput(tree).prop('aria-controls'), undefined);
- assert.equal(findInput(tree).prop('aria-activedescendant'), undefined);
- assert.equal(findInput(tree).prop('value'), 'three');
- });
- });
-});
diff --git a/test/Avatar/Avatar.js b/test/Avatar/Avatar.js
deleted file mode 100644
index e642dfebd0a..00000000000
--- a/test/Avatar/Avatar.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Avatar from '../../src/Avatar';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Avatar', function () {
- it('should render an avatar image', function () {
- let tree = shallow( );
- assert.equal(tree.type(), 'img');
- assert.equal(tree.prop('className'), 'spectrum-Avatar');
- assert.equal(tree.prop('src'), 'http://opensource.adobe.com/spectrum-css/2.7.2/docs/img/example-ava.jpg');
- assert.equal(tree.prop('alt'), 'Avatar');
- });
-
- it('should render a disabled avatar', function () {
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Avatar is-disabled');
- });
-
- it('should support custom classes', function () {
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Avatar my-class');
- });
-
- it('should support other DOM props', function () {
- let tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'Avatar');
- });
-});
diff --git a/test/Banner/Banner.js b/test/Banner/Banner.js
deleted file mode 100644
index 6a6818ff712..00000000000
--- a/test/Banner/Banner.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Banner from '../../src/Banner';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Banner', () => {
- it('supports variants, default info', () => {
- let tree = shallow( );
- assert(tree.hasClass('spectrum-Banner--warning'));
-
- tree = shallow( );
- assert(tree.hasClass('spectrum-Banner--info'));
- });
-
- it('supports corner placement', () => {
- let tree = shallow( );
- assert(tree.hasClass('spectrum-Banner--corner'));
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert(tree.hasClass('myClass'));
- assert(tree.hasClass('spectrum-Banner'));
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('data-foo'), true);
-
- });
-});
diff --git a/test/Breadcrumbs/Breadcrumbs.js b/test/Breadcrumbs/Breadcrumbs.js
deleted file mode 100644
index 8fa59dbe587..00000000000
--- a/test/Breadcrumbs/Breadcrumbs.js
+++ /dev/null
@@ -1,89 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Breadcrumbs from '../../src/Breadcrumbs';
-import FolderIcon from '../../src/Icon/Folder';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Breadcrumbs', function () {
- let tree;
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- });
- it('should render breadcrumbs', function () {
- tree = shallow( );
- assert.equal(tree.find('ul').prop('className'), 'spectrum-Breadcrumbs');
- assert.equal(tree.find('.spectrum-Breadcrumbs-item').length, 3);
- });
-
- it('should support putting an icon at the start', function () {
- tree = shallow( } items={[{label: 'Foo'}, {label: 'Bar'}, {label: 'Baz'}]} />);
- assert.equal(tree.childAt(0).type(), FolderIcon);
- });
-
- it('should support clicking on a breadcrumb', function () {
- const onBreadcrumbClick = sinon.spy();
- tree = shallow( );
- tree.find('.spectrum-Breadcrumbs-item').at(1).find('.spectrum-Breadcrumbs-itemLink').simulate('click');
- assert(onBreadcrumbClick.calledOnce);
- assert.deepEqual(onBreadcrumbClick.lastCall.args[0], {label: 'Bar'});
- assert.deepEqual(onBreadcrumbClick.lastCall.args[1], 1);
- });
-
- it('clicking on the last breadcrumb should do nothing', function () {
- const onBreadcrumbClick = sinon.spy();
- tree = shallow( );
- tree.find('.spectrum-Breadcrumbs-item').at(2).find('.spectrum-Breadcrumbs-itemLink').simulate('click');
- assert(onBreadcrumbClick.notCalled);
- });
-
- it('focusing a breadcrumb should display focus-ring style', function () {
- tree = mount( );
- let link = tree.find('.spectrum-Breadcrumbs-itemLink').at(0);
- link.simulate('focus', {target: link.getDOMNode()});
- assert(link.getDOMNode().classList.contains('focus-ring'));
- });
-
- it('on losing focus, a breadcrumb should not display focus-ring style', function () {
- tree = mount( );
- let link = tree.find('.spectrum-Breadcrumbs-itemLink').at(0);
- link.simulate('focus', {target: link.getDOMNode()});
- assert(link.getDOMNode().classList.contains('focus-ring'));
- link.simulate('blur', {target: link.getDOMNode()});
- assert(!link.getDOMNode().classList.contains('focus-ring'));
- });
-
- describe('variant="title"', () => {
- it('last breadcrumb should render with an h1 element when variant="title"', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Breadcrumbs-item').at(2).find('h1').length, 1);
- assert(tree.find('.spectrum-Breadcrumbs-item').at(2).find('h1').hasClass('spectrum-Heading--pageTitle'));
- assert.equal(tree.find('.spectrum-Breadcrumbs-item').at(2).find('h1').prop('aria-level'), undefined);
- });
-
- it('h1 element should include an aria-level attribute when ariaLevel is set', () => {
- tree = shallow( );
- assert.equal(tree.find('.spectrum-Breadcrumbs-item').at(2).find('h1').prop('aria-level'), 3);
- });
- });
-});
diff --git a/test/Button/Button.js b/test/Button/Button.js
deleted file mode 100644
index a258e258602..00000000000
--- a/test/Button/Button.js
+++ /dev/null
@@ -1,370 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Bell from '../../src/Icon/Bell';
-import Button from '../../src/Button';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Button', () => {
- it('supports different elements', () => {
- const tree = shallow( );
- assert.equal(tree.type(), 'button');
- tree.setProps({element: 'a'});
- assert.equal(tree.type(), 'a');
- assert.equal(tree.prop('role'), 'button');
- assert.equal(tree.prop('tabIndex'), 0);
- });
-
- it('supports different elements being disabled', () => {
- const onClickSpy = sinon.spy();
- const preventDefaultSpy = sinon.spy();
-
- const tree = shallow( );
- assert.equal(tree.type(), 'button');
- tree.setProps({element: 'a', href: 'http://example.com', disabled: true});
- assert.equal(tree.type(), 'a');
- assert.equal(tree.prop('href'), undefined);
- assert.equal(tree.prop('tabIndex'), undefined);
- assert.equal(tree.prop('aria-disabled'), true);
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--secondary is-disabled');
-
- tree.simulate('click', {preventDefault: preventDefaultSpy});
- assert(!onClickSpy.called);
- assert(preventDefaultSpy.called);
- });
-
- it('support different element activation using the Space or Enter key', () => {
- const onClickSpy = sinon.spy();
- const preventDefaultSpy = sinon.spy();
- const tree = shallow( );
- const instance = tree.instance();
- instance.buttonRef = {
- click: () => instance.onClick({preventDefault: preventDefaultSpy})
- };
- tree.simulate('keyDown', {key: 'Esc', preventDefault: preventDefaultSpy});
- assert(!onClickSpy.called);
- assert(!preventDefaultSpy.called);
- tree.simulate('keyDown', {key: ' ', preventDefault: preventDefaultSpy});
- assert(onClickSpy.callCount, 1);
- assert(preventDefaultSpy.callCount, 2);
- tree.simulate('keyDown', {key: 'Enter', preventDefault: preventDefaultSpy});
- assert(onClickSpy.callCount, 2);
- assert(preventDefaultSpy.callCount, 4);
- });
-
- it('supports different variants', () => {
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--primary');
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-ActionButton');
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-ActionButton spectrum-ActionButton--quiet');
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Tool');
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--quiet spectrum-Button--primary');
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--quiet spectrum-Button--secondary');
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-ActionButton spectrum-ActionButton--quiet');
- });
-
- it('supports block', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--secondary spectrum-Button--block');
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert(!tree.prop('disabled'));
- tree.setProps({disabled: true});
- assert.equal(tree.prop('disabled'), true);
- });
-
- it('supports selected', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--secondary');
- tree.setProps({selected: true});
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--secondary is-selected');
- });
-
- describe('supports aria-expanded', () => {
- it('when aria-haspopup is true', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-expanded'), null);
- tree.setProps({selected: true});
- assert.equal(tree.prop('aria-expanded'), true);
- });
-
- it('when prop is explicitly set', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-expanded'), true);
- tree.setProps({'aria-expanded': false});
- assert.equal(tree.prop('aria-expanded'), false);
- });
- });
-
- it('supports quiet', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--quiet spectrum-Button--primary');
- });
-
- it('supports logic', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-LogicButton spectrum-LogicButton--and');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Button spectrum-Button--secondary myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow(My Heading );
- assert.equal(tree.prop('data-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(My Custom Content
);
- const child = tree.find('div');
- assert.equal(child.length, 1);
- assert.equal(child.children().text(), 'My Custom Content');
- });
-
- it('can be clicked', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.simulate('click');
- assert(spy.called);
- });
-
- describe('icon', () => {
- it('supports different icons', () => {
- const tree = shallow( } />);
- assert.equal(tree.find(Bell).length, 1);
- assert.equal(tree.find(Bell).prop('size'), 'S');
- });
-
- it('supports different sizes', () => {
- const tree = shallow( } />);
- assert.equal(tree.find(Bell).prop('size'), 'L');
- });
- });
-
- describe('label', () => {
- it('doesn\'t render a label by default', () => {
- const tree = shallow( );
- assert(!tree.children().last().text());
- });
-
- it('supports label text', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Button-label').children().last().text(), 'My Label');
- });
- });
- describe('tool', () => {
- it('supports holdAffordance', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tool-hold').length, 1);
- });
- it('doesn\'t render a holdAffordance by default', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tool-hold').length, 0);
- });
- it('doesn\'t render a holdAffordance when not a tool variant', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tool-hold').length, 0);
- });
- });
- describe('action', () => {
- it('supports holdAffordance', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tool-hold').length, 1);
- });
- it('doesn\'t render a holdAffordance by default', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tool-hold').length, 0);
- });
- it('toggle supports holdAffordance', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tool-hold').length, 1);
- });
- });
-
- describe('', () => {
- let clock;
- let tree;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.restore();
- });
- it('supports focus method', async () => {
- tree = mount( );
- tree.instance().focus();
- assert.equal(document.activeElement, tree.getDOMNode());
- });
-
- it('supports autoFocus', () => {
- tree = mount( );
- assert(!tree.getDOMNode().getAttribute('autoFocus'));
- clock.runAll(); // there's a raf, so run the clock to fire it
- assert.equal(document.activeElement, tree.getDOMNode());
- });
- });
-
- describe('receives focus', () => {
- let tree;
- const focusSpy = sinon.spy();
- const mouseDownSpy = sinon.spy();
- const mouseUpSpy = sinon.spy();
- before(() => {
- tree = shallow( );
- tree.instance().buttonRef = {
- focus: focusSpy
- };
- });
-
- afterEach(() => {
- focusSpy.resetHistory();
- mouseDownSpy.resetHistory();
- mouseUpSpy.resetHistory();
- });
-
- after(() => tree.unmount());
-
- it('on mouse down', () => {
- tree.simulate('mouseDown', {type: 'mousedown'});
- assert.equal(focusSpy.callCount, 1);
- focusSpy.resetHistory();
- tree.setProps({onMouseDown: e => mouseDownSpy(e)});
- tree.simulate('mouseDown', {type: 'mousedown', isDefaultPrevented: () => true});
- tree.simulate('mouseUp', {type: 'mouseup'});
- assert.equal(focusSpy.callCount, 0);
- assert.equal(mouseDownSpy.callCount, 1);
- focusSpy.resetHistory();
- mouseDownSpy.resetHistory();
- tree.setProps({onMouseDown: e => mouseDownSpy(e)});
- tree.simulate('mouseDown', {type: 'mousedown', isDefaultPrevented: () => false});
- assert.equal(focusSpy.callCount, 1);
- assert.equal(mouseDownSpy.callCount, 1);
- });
-
- it('on mouse up', () => {
- tree.simulate('mouseUp', {type: 'mouseup'});
- assert.equal(focusSpy.callCount, 1);
- focusSpy.resetHistory();
- tree.setProps({onMouseUp: e => mouseUpSpy(e)});
- tree.simulate('mouseUp', {type: 'mouseup', isDefaultPrevented: () => true});
- assert.equal(focusSpy.callCount, 0);
- assert.equal(mouseUpSpy.callCount, 1);
- focusSpy.resetHistory();
- mouseUpSpy.resetHistory();
- tree.setProps({onMouseUp: e => mouseUpSpy(e)});
- tree.simulate('mouseUp', {type: 'mouseup', isDefaultPrevented: () => false});
- assert.equal(focusSpy.callCount, 1);
- assert.equal(mouseUpSpy.callCount, 1);
- });
- });
-
- describe('focus change following mouse event', () => {
- let tree;
- const mouseDownButton0Spy = sinon.spy();
- const mouseDownButton1Spy = sinon.spy();
- const mouseUpButton0Spy = sinon.spy();
- const mouseUpButton1Spy = sinon.spy();
- let shiftFocusOnMouseUp = false;
- before(() => {
- tree = mount(
- {
- !shiftFocusOnMouseUp && findButtons(tree).last().getDOMNode().focus();
- e.preventDefault();
- mouseDownButton0Spy(e);
- }}
- onMouseUp={(e) => {
- shiftFocusOnMouseUp && findButtons(tree).last().getDOMNode().focus();
- e.preventDefault();
- mouseUpButton0Spy(e);
- }} />
- {
- !shiftFocusOnMouseUp && findButtons(tree).first().getDOMNode().focus();
- e.preventDefault();
- mouseDownButton1Spy(e);
- }}
- onMouseUp={(e) => {
- shiftFocusOnMouseUp && findButtons(tree).first().getDOMNode().focus();
- e.preventDefault();
- mouseUpButton1Spy(e);
- }} />
-
);
- });
-
- beforeEach(() => {
- mouseDownButton0Spy.resetHistory();
- mouseUpButton0Spy.resetHistory();
- mouseDownButton1Spy.resetHistory();
- mouseUpButton1Spy.resetHistory();
- });
-
- after(() => {
- tree.unmount();
- });
-
- it('on mouse down', () => {
- findButtons(tree).first().simulate('mousedown', {type: 'mousedown'});
- assert.equal(mouseDownButton0Spy.callCount, 1);
- findButtons(tree).first().simulate('mouseup', {type: 'mouseup'});
- assert.equal(mouseUpButton0Spy.callCount, 1);
- assert.equal(document.activeElement, findButtons(tree).last().getDOMNode());
-
- findButtons(tree).last().simulate('mousedown', {type: 'mousedown'});
- assert.equal(mouseDownButton1Spy.callCount, 1);
- findButtons(tree).last().simulate('mouseup', {type: 'mouseup'});
- assert.equal(mouseUpButton1Spy.callCount, 1);
- assert.equal(document.activeElement, findButtons(tree).first().getDOMNode());
- });
-
- it('on mouse up', () => {
- shiftFocusOnMouseUp = true;
- findButtons(tree).first().simulate('mousedown', {type: 'mousedown'});
- assert.equal(mouseDownButton0Spy.callCount, 1);
- findButtons(tree).first().simulate('mouseup', {type: 'mouseup'});
- assert.equal(mouseUpButton0Spy.callCount, 1);
- assert.equal(document.activeElement, findButtons(tree).last().getDOMNode());
-
- findButtons(tree).last().simulate('mousedown', {type: 'mousedown'});
- assert.equal(mouseDownButton1Spy.callCount, 1);
- findButtons(tree).last().simulate('mouseup', {type: 'mouseup'});
- assert.equal(mouseUpButton1Spy.callCount, 1);
- assert.equal(document.activeElement, findButtons(tree).first().getDOMNode());
- });
- });
-});
-
-const findButtons = tree => tree.find(Button);
diff --git a/test/ButtonGroup/ButtonGroup.js b/test/ButtonGroup/ButtonGroup.js
deleted file mode 100644
index 421858ba203..00000000000
--- a/test/ButtonGroup/ButtonGroup.js
+++ /dev/null
@@ -1,493 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import Add from '../../src/Icon/Add';
-import assert from 'assert';
-import Bell from '../../src/Icon/Bell';
-import Button from '../../src/Button';
-import ButtonGroup from '../../src/ButtonGroup';
-import Camera from '../../src/Icon/Camera';
-import CheckmarkCircle from '../../src/Icon/CheckmarkCircle';
-import Delete from '../../src/Icon/Delete';
-import FocusManager from '../../src/utils/FocusManager';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import Undo from '../../src/Icon/Undo';
-
-const defaultProps = {
- children: [
- } />,
- } />,
- } disabled />,
- } />,
- } />,
- } readOnly />
- ]
-};
-
-const badButtonProps = {
- children: [
- } />,
- } />
- ]
-};
-
-const toolButtonProps = {
- children: [
- } />,
- } />
- ]
-};
-
-const classButtonProps = {
- children: [
- } />,
- } />
- ]
-};
-
-
-const selectedValue = [
- 'react',
- 'add',
- 'undo'
-];
-
-describe('ButtonGroup', () => {
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert(tree.childAt(0).prop('className').indexOf('bell') >= 0);
- });
-
- it('supports numerous buttons', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).length, 6);
- });
-
- it('should default to quiet action button', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('variant'), 'action');
- assert.equal(tree.find(Button).first().prop('quiet'), true);
- });
-
- it('should default to quiet action button if invalid variant is provided', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('variant'), 'action');
- assert.equal(tree.find(Button).first().prop('quiet'), true);
- });
-
- it('should support tool buttons', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('variant'), 'tool');
- });
-
- it('supports an item being selected', () => {
- const tree = shallow( );
- assert.equal(tree.find({selected: true}).length, 1);
- });
-
- it('supports passing class to child node', () => {
- const tree = shallow( );
- assert.equal(tree.find('.myClass').length, 1);
- });
-
- it('supports an item being selected', () => {
- const tree = shallow( );
- const selectedItem = tree.find({selected: true});
- assert.equal(selectedItem.length, 1);
- });
-
- it('supports multiple items being selected', () => {
- const tree = shallow( );
- assert.equal(tree.find({selected: true}).length, 3);
- });
-
- it('supports multiple items being deselected', () => {
- const onChangeSpy = sinon.spy();
- const onClickSpy = sinon.spy();
- const tree = shallow( );
- tree.setState({value: selectedValue});
- let selectedItems = tree.find({selected: true});
- assert.equal(selectedItems.length, 3);
-
- selectedItems.at(0).simulate('click');
- selectedItems = tree.find({selected: true});
- assert.equal(selectedItems.length, 2);
- assert(onChangeSpy.calledOnce);
- assert(onClickSpy.calledOnce);
-
- selectedItems.at(0).simulate('click');
- selectedItems = tree.find({selected: true});
- assert.equal(selectedItems.length, 1);
- assert(onChangeSpy.calledTwice);
- assert(onClickSpy.calledTwice);
-
- selectedItems.at(0).simulate('click');
- selectedItems = tree.find({selected: true});
- assert.equal(selectedItems.length, 1);
- assert(onChangeSpy.calledTwice);
- assert(onClickSpy.calledThrice);
- });
-
- it('componentWillReceiveProps', () => {
- const onChangeSpy = sinon.spy();
- const onClickSpy = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.props.value, null);
- assert.equal(tree.state.value, null);
- tree.setProps({value: selectedValue});
- assert.deepEqual(tree.props.value, tree.state.value);
- });
-
- it('supports all items being disabled', () => {
- const tree = shallow( );
- tree.find(Button).forEach((node) => {
- assert.equal(node.prop('disabled'), true);
- });
- });
-
- it('supports an item being disabled', () => {
- const tree = shallow( );
- assert.equal(tree.find({disabled: true}).length, 1);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- tree.find(Button).first().simulate('click');
- assert.equal(tree.find({selected: true}).length, 0);
- });
-
- it('supports orientation', () => {
- const tree = shallow( );
- tree.setProps({orientation: 'horizontal'});
- assert.equal(tree.childAt(0).prop('aria-orientation'), null);
- tree.setProps({orientation: 'vertical'});
- assert.equal(tree.childAt(0).prop('aria-orientation'), null);
- tree.setProps({orientation: 'both'});
- assert.equal(tree.childAt(0).prop('aria-orientation'), null);
- tree.setProps({orientation: 'horizontal', readOnly: true});
- assert.equal(tree.childAt(0).prop('aria-orientation'), 'horizontal');
- tree.setProps({orientation: 'vertical', readOnly: true});
- assert.equal(tree.childAt(0).prop('aria-orientation'), 'vertical');
- tree.setProps({orientation: 'both', readOnly: true});
- assert.equal(tree.childAt(0).prop('aria-orientation'), null);
- });
-
- it('supports selection being returned on selection change for single select', (done) => {
- const tree = shallow(
- {
- assert.deepEqual(value, 'react');
- done();
- }} />
- );
- tree.find(Button).first().simulate('click');
- });
-
- describe('Accessibility', () => {
- describe('supports appropriate WAI-ARIA properties depending on selection mode', () => {
- describe('readOnly', () => {
- it('should have role=toolbar if there are more than one button', () => {
- const tree = shallow( );
- assert.equal(tree.childAt(0).prop('role'), 'toolbar');
- });
-
- it('children should not have a role attribute', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('role'), undefined);
- });
-
- it('should have role=group if there is one button or less', () => {
- const tree = shallow(
-
- );
- assert.equal(tree.childAt(0).prop('role'), 'group');
- });
-
- it('items should not have aria-checked attribute', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('aria-checked'), undefined);
- });
- });
-
- describe('multiple', () => {
- it('should have role=group', () => {
- const tree = shallow( );
- assert.equal(tree.childAt(0).prop('role'), 'group');
- });
-
- it('children should have role=checkbox', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('role'), 'checkbox');
- });
-
- it('selected items should have aria-checked=true', () => {
- const tree = shallow( );
- tree.find(Button).forEach((node, i) => {
- assert.equal(node.prop('aria-checked'), i < 2 || i > 4);
- });
- });
- });
-
- describe('Default (single-selection)', () => {
- it('should have role=radiogroup', () => {
- const tree = shallow( );
- assert.equal(tree.childAt(0).prop('role'), 'radiogroup');
- });
-
- it('children should have role=radio', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).first().prop('role'), 'radio');
- });
-
- it('selected item should have aria-checked=true', () => {
- const tree = shallow( );
- tree.find(Button).forEach((node, i) => {
- assert.equal(node.prop('aria-checked'), i === 0);
- });
- });
- });
-
- it('supports aria-checked updating with selection', () => {
- const tree = shallow( );
- tree.find(Button).forEach((node, i) => {
- assert.equal(node.prop('aria-checked'), false);
- });
- tree.find(Button).first().simulate('click');
- tree.find(Button).forEach((node, i) => {
- assert.equal(node.prop('aria-checked'), i === 0);
- });
- });
- });
-
- describe('Keyboard interaction, ', () => {
- describe('readOnly', () => {
- it('buttons should have tabIndex=0, or if disabled tabIndex=-1, when no button has focus', () => {
- const tree = mount( );
- tree.find(Button).forEach((node) => {
- let tabIndex = !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
-
- tree.unmount();
- });
- it('focused button should have tabIndex=0, while not focused buttons should have tabIndex=-1', () => {
- const tree = mount( );
- tree.find(Button).first().simulate('focus');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 0 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
- tree.find(Button).last().simulate('focus');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 5 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
- tree.find(Button).last().simulate('blur');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 5 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
-
- tree.unmount();
- });
- });
-
- describe('multiple', () => {
- it('buttons should have tabIndex=0, or if disabled tabIndex=-1, when no button has focus', () => {
- const tree = mount( );
- tree.find(Button).forEach((node) => {
- let tabIndex = !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
-
- tree.unmount();
- });
-
- it('focused button should have tabIndex=0, while not focused buttons should have tabIndex=-1', () => {
- const tree = mount( );
- tree.find(Button).first().simulate('focus');
- tree.find(Button).first().simulate('click');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 0 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
- tree.find(Button).at(4).simulate('focus');
- tree.find(Button).at(4).simulate('click');
- tree.find(Button).at(1).simulate('focus');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 1 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
- tree.find(Button).at(1).simulate('blur');
- tree.update();
-
- // with multiple selection, selected items should have tabIndex=0 on blur
- tree.find(Button).forEach((node, i) => {
- let tabIndex = (i === 0 || i === 4) && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
-
- tree.unmount();
- });
- });
-
- describe('Default (single-selection)', () => {
- it('buttons should have tabIndex=0, or if disabled tabIndex=-1, attribute when no button has focus', () => {
- const tree = mount( );
- tree.find(Button).forEach((node) => {
- let tabIndex = !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
-
- tree.unmount();
- });
-
- it('focused button should have tabIndex=0, while not focused buttons should have tabIndex=-1', () => {
- const tree = mount( );
- tree.find(Button).first().simulate('focus');
- tree.find(Button).first().simulate('click');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 0 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
- tree.find(Button).last().simulate('focus');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 5 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
- tree.find(Button).last().simulate('blur');
-
- // with single selection, only selected item should have tabIndex=0 on blur
- tree.find(Button).forEach((node, i) => {
- let tabIndex = i === 0 && !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- });
-
- tree.unmount();
- });
- });
-
- it('supports `manageTabIndex={false}`', () => {
- const tree = mount( );
- assert.equal(tree.find(FocusManager).prop('manageTabIndex'), false);
- tree.find(Button).first().simulate('focus');
- tree.find(Button).first().simulate('click');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- assert.equal(node.prop('tabIndex'), undefined);
- });
- tree.find(Button).last().simulate('focus');
- tree.find(Button).forEach((node, i) => {
- let tabIndex = !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- assert.equal(node.prop('tabIndex'), undefined);
- });
- tree.find(Button).last().simulate('blur');
-
- // with single selection, only selected item should have tabIndex=0 on blur
- tree.find(Button).forEach((node, i) => {
- let tabIndex = !node.prop('disabled') ? 0 : -1;
- assert.equal(node.getDOMNode().tabIndex, tabIndex);
- assert.equal(node.prop('tabIndex'), undefined);
- });
-
- tree.unmount();
- });
-
- describe('navigation', () => {
- let tree;
- let wrapper;
- let button;
- before(() => {
- tree = mount( );
- wrapper = tree.find('.spectrum-ButtonGroup');
- });
-
- after(() => {
- tree.unmount();
- });
-
- const findButtonAt = (wrapper, index) => wrapper.find(Button).at(index);
- const testKeyboardNavigation = (key, indexes) => {
- let len = indexes.length;
- for (let i = 0; i < len; i++) {
- button = findButtonAt(wrapper, indexes[i]);
- if (i > 0) {
- assert.equal(button.prop('value'), document.activeElement.value);
- }
- if (i < len - 1) {
- button.simulate('keydown', {key: key, preventDefault: () => {}});
- }
- }
- };
-
- it('supports ArrowRight to focus next, not disabled button', () => {
- testKeyboardNavigation('ArrowRight', [0, 1, 3]);
- });
-
- it('supports ArrowDown to focus next, not disabled button', () => {
- testKeyboardNavigation('ArrowDown', [0, 1, 3]);
- });
-
- it('supports wrapping when ArrowRight key is pressed on last button', () => {
- testKeyboardNavigation('ArrowDown', [5, 0]);
- });
-
- it('supports wrapping when ArrowDown key is pressed on last button', () => {
- testKeyboardNavigation('ArrowDown', [5, 0]);
- });
-
- it('supports ArrowLeft to focus previous, not disabled button', () => {
- testKeyboardNavigation('ArrowLeft', [3, 1, 0]);
- });
-
- it('supports ArrowUp to focus previous, not disabled button', () => {
- testKeyboardNavigation('ArrowUp', [3, 1, 0]);
- });
-
- it('supports wrapping when ArrowLeft key is pressed on first button', () => {
- testKeyboardNavigation('ArrowLeft', [0, 5]);
- });
-
- it('supports wrapping when ArrowUp key is pressed on first button', () => {
- testKeyboardNavigation('ArrowUp', [0, 5]);
- });
-
- it('supports Home to focus first, not disabled button', () => {
- testKeyboardNavigation('Home', [5, 0]);
- });
-
- it('supports PageUp to focus first, not disabled button', () => {
- testKeyboardNavigation('PageUp', [5, 0]);
- });
-
- it('supports End to focus last, not disabled button', () => {
- testKeyboardNavigation('End', [0, 5]);
- });
-
- it('supports PageDown to focus last, not disabled button', () => {
- testKeyboardNavigation('PageDown', [0, 5]);
- });
- });
- });
-
- });
-});
diff --git a/test/Calendar/Calendar.js b/test/Calendar/Calendar.js
deleted file mode 100644
index 66f765e25ac..00000000000
--- a/test/Calendar/Calendar.js
+++ /dev/null
@@ -1,800 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Calendar from '../../src/Calendar';
-import createId from '../../src/utils/createId';
-import {DateRange} from 'moment-range';
-import moment from 'moment';
-import {mount, shallow} from 'enzyme';
-import {rAF, sleep} from '../utils';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Calendar', () => {
- const DEFAULT_VALUE_FORMAT = 'YYYY-MM-DD';
- const DEFAULT_HEADER_FORMAT = 'MMMM YYYY';
-
- it('default', () => {
- const now = moment();
-
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Calendar'), true);
- assert.equal(tree.prop('role'), 'group');
-
- const headerTitle = findHeaderTitle(tree);
- assert.equal(headerTitle.text(), now.format(DEFAULT_HEADER_FORMAT));
- assert.equal(tree.prop('aria-labelledby'), headerTitle.prop('id'));
-
- const prevBtn = findPreviousButton(tree);
- assert.equal(prevBtn.prop('aria-label'), 'Previous');
- assert.equal(prevBtn.prop('title'), 'Previous');
- const nextBtn = findNextButton(tree);
- assert.equal(nextBtn.prop('aria-label'), 'Next');
- assert.equal(nextBtn.prop('title'), 'Next');
-
- const body = findBody(tree);
- assert.equal(body.find('thead tr').length, 1);
- const headerCells = body.find('thead tr th');
- assert.equal(headerCells.length, 7);
- assert.equal(headerCells.first().childAt(0).prop('title'), 'Sunday'); // week starts Sunday
- assert.equal(body.find('tbody tr').length, 6);
- assert.equal(body.find('tbody tr CalendarCell').length, 42); // 6 weeks * 7 days each
- });
-
- it('supports defaultValue uncontrolled behavior', () => {
- const date = moment(new Date(2016, 7, 1));
- const weekLater = date.clone().add(1, 'week');
- const tree = shallow( );
-
- tree.instance().componentWillMount();
-
- // Setting defaultValue later doesn't change the state. Only component interactions
- // change the state.
- tree.setProps({defaultValue: weekLater});
- assert.deepEqual(+tree.state('value'), +date);
-
- // Component interaction should change the state.
- findCellByDate(tree, weekLater).simulate('click', {}, weekLater);
- assert.deepEqual(+tree.state('value'), +weekLater);
- });
-
- it('supports value controlled behavior', () => {
- const date = moment(new Date(2016, 7, 1));
- const weekLater = date.clone().add(1, 'week');
- const tree = shallow( );
-
- // Changing value will change the state
- tree.setProps({value: weekLater});
-
- assert.deepEqual(+tree.state('value'), +weekLater);
-
- // Component interaction should not change the state, only manually setting value
- // as a prop will change the state.
- findCellByDate(tree, date).simulate('click', {}, date);
- assert.deepEqual(+tree.state('value'), +weekLater);
- });
-
- it('supports startDay', () => {
- const tree = shallow( ); // Weeks start on Tuesday
- // Grab first column to see if it is Tuesday
- const head = tree.find('.spectrum-Calendar-body thead tr th').first();
- assert.equal(head.childAt(0).prop('title'), 'Tuesday');
- assert.equal(head.childAt(0).text(), 'Tu');
- });
-
- it('supports headerFormat', () => {
- const tree = shallow( );
- assert.equal(findHeaderTitle(tree).text(), '8/2016');
- });
-
- it('supports valueFormat', () => {
- const tree = shallow( );
- tree.instance().componentWillMount();
- assert.equal(+tree.state('value'), +new Date(2016, 7, 1));
- tree.setProps({value: '01-08-2016'});
- assert.equal(+tree.state('value'), +new Date(2016, 0, 8));
- });
-
- it('supports selectionType=range', function () {
- const start = moment(new Date(2016, 7, 1));
- const end = moment(new Date(2016, 7, 5));
- const tree = shallow( );
- tree.instance().componentWillMount();
- assert.deepEqual(tree.state('value'), new DateRange(start, end));
- });
-
- it('supports selectionType=range with uncontrolled behavior', function () {
- const start = moment(new Date(2016, 7, 1));
- const end = moment(new Date(2016, 7, 5));
- const tree = shallow( );
- tree.instance().componentWillMount();
- assert.deepEqual(tree.state('value'), new DateRange(start, end));
-
- const weekLater = new DateRange(start.clone().add(1, 'week'), end.clone().add(1, 'week'));
-
- // Setting defaultValue later doesn't change the state.
- tree.setProps({defaultValue: weekLater});
- assert.deepEqual(tree.state('value').toDate(), [start.toDate(), end.toDate()]);
-
- // Component interaction should change the state.
- findCellByDate(tree, weekLater.start).simulate('click', {}, weekLater.start);
- findCellByDate(tree, weekLater.end).simulate('click', {}, weekLater.end);
- assert.deepEqual(tree.state('value').toDate(), weekLater.toDate());
- });
-
- it('supports selectionType=range with controlled behavior', function () {
- const start = moment(new Date(2016, 7, 1));
- const end = moment(new Date(2016, 7, 5));
- const tree = shallow( );
- tree.instance().componentWillMount();
- assert.deepEqual(tree.state('value'), new DateRange(start, end));
-
- const weekLater = new DateRange(start.clone().add(1, 'week'), end.clone().add(1, 'week'));
-
- // Changing value will change the state
- tree.setProps({value: weekLater});
- assert.deepEqual(tree.state('value').toDate(), weekLater.toDate());
-
- // Component interaction should not change the state, only manually setting value
- // as a prop will change the state.
- findCellByDate(tree, start).simulate('click', {}, start);
- findCellByDate(tree, end).simulate('click', {}, end);
- assert.deepEqual(tree.state('value').toDate(), weekLater.toDate());
- });
-
- describe('dispatches onChange', () => {
- let spy;
-
- const assertOnChangeArgsMatch = el => {
- const newDate = el.prop('date').clone();
-
- const args = spy.lastCall.args;
- assert.equal(+args[0], +newDate);
- };
-
- beforeEach(() => {
- spy = sinon.spy();
- });
-
- it('when a non-disabled day is clicked', () => {
- const tree = shallow( );
- const firstNonSelectedCell = findFirstNonSelectedCell(tree);
- const firstNonSelectedCellDate = firstNonSelectedCell.prop('date');
- firstNonSelectedCell.simulate('click', {}, firstNonSelectedCellDate);
- assertOnChangeArgsMatch(firstNonSelectedCell);
- });
-
- it('when a focused day receives enter/space keydown event', () => {
- const tree = shallow( );
- const preventDefaultSpy = sinon.spy();
- const firstNonSelectedCell = findFirstNonSelectedCell(tree);
- const firstNonSelectedCellDate = firstNonSelectedCell.prop('date');
- tree.setState({focusedDate: firstNonSelectedCellDate});
- findBody(tree).simulate('keydown', {keyCode: 13, preventDefault: preventDefaultSpy});
- assertOnChangeArgsMatch(firstNonSelectedCell);
- assert(preventDefaultSpy.called);
- });
-
- it('with a range when selectionType=range', function () {
- const tree = shallow( );
- const startCell = findFirstNonSelectedCell(tree);
- const endCell = findAllSelectableCells(tree).at(5);
- const startDate = startCell.prop('date');
- const endDate = endCell.prop('date');
- startCell.simulate('click', {}, startDate);
- endCell.simulate('click', {}, endDate);
- assert.deepEqual(spy.lastCall.args[0].toDate(), [startDate.toDate(), endDate.toDate()]);
- });
- });
-
- describe('dispatches onFocus', () => {
- it('when table body receives focus', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.instance().componentWillMount();
- const body = findBody(tree);
- body.simulate('focus');
- assert(tree.state('isFocused'));
- assert(spy.called);
- });
- });
-
- describe('dispatches onBlur', () => {
- it('when table body loses focus', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.instance().componentWillMount();
- const body = findBody(tree);
- body.simulate('focus');
- assert(tree.state('isFocused'));
- body.simulate('blur');
- assert(!tree.state('isFocused'));
- assert(spy.called);
- });
- });
-
- describe('currentMonth', () => {
- let now;
- let tree;
-
- beforeEach(() => {
- now = moment().startOf('day');
- tree = shallow( );
- });
-
- it('changes currentMonth when value prop is set to different day', () => {
- const date3MonthsLater = now.clone().add(3, 'month');
- assert.equal(+tree.state('currentMonth'), +now.clone().startOf('month'));
- tree.setProps({value: date3MonthsLater});
- assert.equal(+tree.state('currentMonth'), +date3MonthsLater.clone().startOf('month'));
- });
-
- it('changes currentMonth when previous or next buttons are clicked', async () => {
- const previousMonth = now.clone().subtract(1, 'month');
- findPreviousButton(tree).simulate('focus');
- findPreviousButton(tree).simulate('click');
- tree.instance().prevMonthButton = {
- focus: sinon.spy()
- };
- await sleep(20);
- assert.equal(+tree.state('currentMonth'), +previousMonth.clone().startOf('month'));
- assert(tree.instance().prevMonthButton.focus.calledOnce);
- findPreviousButton(tree).simulate('blur');
- await sleep(20);
- findNextButton(tree).simulate('focus');
- findNextButton(tree).simulate('click');
- tree.instance().nextMonthButton = {
- focus: sinon.spy()
- };
- await sleep(20);
- assert(tree.instance().nextMonthButton.focus.calledOnce);
- assert.equal(+tree.state('currentMonth'), +now.clone().startOf('month'));
- });
- });
-
- describe('focusedDate', () => {
- let now;
- let preventDefaultSpy;
- let tree;
- let body;
-
- const assertDateAfterKeyDown = ({keyCode, date, meta = false}) => {
- body.simulate('focus');
- body.simulate('keydown', {preventDefault: preventDefaultSpy, keyCode, metaKey: meta});
- assert.equal(+tree.state('focusedDate'), +date.clone());
- assert.equal(+tree.state('currentMonth'), +date.clone().startOf('month'));
- assert.equal(+findFocusedCell(tree).prop('date'), +date.clone().startOf('day'));
- assert(preventDefaultSpy.called);
-
- // wait for render to test aria-activedescendant attribute
- tree.update();
- body = findBody(tree);
- assert.equal(body.prop('aria-activedescendant'), findFocusedCell(tree).prop('id'));
- };
-
- beforeEach(() => {
- now = moment().startOf('day');
- preventDefaultSpy = sinon.spy();
- tree = shallow( );
- tree.instance().componentWillMount();
- body = findBody(tree);
- });
-
- it('increments/decrements one day with left/right arrows', () => {
- const previousDay = now.clone().subtract(1, 'day');
- assertDateAfterKeyDown({keyCode: 37, date: previousDay}); // left arrow
- assertDateAfterKeyDown({keyCode: 39, date: now}); // right arrow
- });
-
- it('increments/decrements one week with up/down arrows', () => {
- const previousWeek = now.clone().subtract(1, 'week');
- assertDateAfterKeyDown({keyCode: 38, date: previousWeek}); // up arrow
- assertDateAfterKeyDown({keyCode: 40, date: now}); // down arrow
- });
-
- it('goes to beginning/end of month with home and end keys', () => {
- const monthBegin = now.clone().startOf('month').startOf('day');
- const monthEnd = now.clone().endOf('month').startOf('day');
- assertDateAfterKeyDown({keyCode: 36, date: monthBegin}); // home
- assertDateAfterKeyDown({keyCode: 35, date: monthEnd}); // end
- });
-
- it('increments/decrements one month with page up/down', () => {
- const previousMonth = now.clone().subtract(1, 'month');
- assertDateAfterKeyDown({keyCode: 33, date: previousMonth});
- assertDateAfterKeyDown({keyCode: 34, date: previousMonth.clone().add(1, 'month')});
- });
-
- it('increments/decrements one year with cmd + page up/down', () => {
- const previousYear = now.clone().subtract(1, 'year');
- assertDateAfterKeyDown({keyCode: 33, date: previousYear, meta: true});
- assertDateAfterKeyDown({keyCode: 34, date: now, meta: true});
- });
-
- it('is set to value if it exists', () => {
- const date = '2015-01-01';
- tree = shallow( );
- tree.instance().componentWillMount();
- tree.update();
- assert.equal(+tree.state('focusedDate'), +moment(date, DEFAULT_VALUE_FORMAT));
- });
-
- it('is set to defaultValue if it exists', () => {
- const date = '2015-01-01';
- tree = shallow( );
- tree.instance().componentWillMount();
- tree.update();
- assert.equal(+tree.state('focusedDate'), +moment(date, DEFAULT_VALUE_FORMAT));
- });
-
- it('is set to now if no value or defaultValue exist', () => {
- tree = shallow( );
- tree.instance().componentWillMount();
- tree.update();
- assert(tree.state('focusedDate').isSame(now, 'day'));
- });
- });
-
- describe('selectionType=range', function () {
- it('highlights the selected range when hovering over cells', function () {
- const before = moment().startOf('month').startOf('day');
- const start = before.clone().add(5, 'days');
- const after = start.clone().add(5, 'days');
- const tree = shallow( );
-
- findCellByDate(tree, start).simulate('click', {}, start);
- assert.deepEqual(tree.state('selectingRange').toDate(), [start.toDate(), start.clone().endOf('day').toDate()]);
-
- findCellByDate(tree, before).simulate('highlight', {}, before);
- assert.deepEqual(tree.state('selectingRange').toDate(), [before.toDate(), start.toDate()]);
-
- findCellByDate(tree, after).simulate('highlight', {}, after);
- assert.deepEqual(tree.state('selectingRange').toDate(), [start.toDate(), after.toDate()]);
- });
-
- it('indicates the selected range using table caption and aria-describedby on the body', function () {
- const before = moment().startOf('month').startOf('day');
- const start = before.clone().add(5, 'days');
- const after = start.clone().add(5, 'days');
- const tree = shallow( );
-
- findCellByDate(tree, start).simulate('click', {}, start);
- assert.deepEqual(tree.state('selectingRange').toDate(), [start.toDate(), start.clone().endOf('day').toDate()]);
-
- findCellByDate(tree, before).simulate('highlight', {}, before);
- assert.deepEqual(tree.state('selectingRange').toDate(), [before.toDate(), start.toDate()]);
-
- findCellByDate(tree, after).simulate('highlight', {}, after);
- assert.deepEqual(tree.state('selectingRange').toDate(), [start.toDate(), after.toDate()]);
-
- findCellByDate(tree, after).simulate('click', {}, after);
- assert.deepEqual(tree.state('highlightedRange').toDate(), [start.toDate(), after.toDate()]);
-
- const tableCaption = findTableCaption(tree);
- assert.equal(tableCaption.text(), `Selected Range: ${start.format('LL')} to ${after.format('LL')}`);
-
- assert.equal(findBody(tree).prop('aria-describedby'), tableCaption.prop('id'));
- });
-
- it('resets the selection when the escape key is pressed', function () {
- const before = moment().startOf('month').startOf('day');
- const start = before.clone().add(5, 'days');
- const tree = shallow( );
- const body = findBody(tree);
-
- findCellByDate(tree, start).simulate('click', {}, start);
- findCellByDate(tree, before).simulate('highlight', {}, before);
- assert.deepEqual(tree.state('selectingRange').toDate(), [before.toDate(), start.toDate()]);
-
- body.simulate('keydown', {keyCode: 27});
-
- assert.equal(tree.state('selectingRange'), null);
- });
-
- describe('highlights the selected range when navigating using the keyboard', () => {
- let now;
- let tree;
- let body;
-
- const assertDateAfterKeyDown = async ({keyCode, meta = false}) => {
- body.simulate('focus');
- body.simulate('keydown', {preventDefault: () => {}, keyCode, metaKey: meta});
- // wait for render
- await rAF(() => {
- tree.update();
- });
- };
-
- beforeEach(() => {
- now = moment().startOf('day');
- tree = shallow( );
- tree.instance().componentWillMount();
- body = findBody(tree);
- body.simulate('focus');
- tree.instance().focusTimeUnit(now);
- });
-
- it('adds appropriate selection prompt to aria-label of focused cell', () => {
- const nextWeek = now.clone().add(1, 'week');
- const rangeSelectionStartPrompt = ' (Click to start selecting date range)';
- const rangeSelectionFinishPrompt = ' (Click to finish selecting date range)';
- let renderedCell = findCellByDate(tree, now).render();
- assert.equal(renderedCell.prop('aria-label').indexOf(rangeSelectionStartPrompt), renderedCell.prop('aria-label').length - rangeSelectionStartPrompt.length);
- findCellByDate(tree, now).simulate('click', {}, now);
- renderedCell = findCellByDate(tree, now).render();
- assert.equal(renderedCell.prop('aria-label').indexOf(rangeSelectionFinishPrompt), renderedCell.prop('aria-label').length - rangeSelectionFinishPrompt.length);
- assertDateAfterKeyDown({keyCode: 40}); // down arrow
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), nextWeek.toDate()]);
- renderedCell = findCellByDate(tree, nextWeek).render();
- assert.equal(renderedCell.prop('aria-label').indexOf(rangeSelectionFinishPrompt), renderedCell.prop('aria-label').length - rangeSelectionFinishPrompt.length);
- findCellByDate(tree, nextWeek).simulate('click', {}, nextWeek);
- renderedCell = findCellByDate(tree, nextWeek).render();
- assert.equal(renderedCell.prop('aria-label').indexOf(rangeSelectionFinishPrompt), -1);
- assert.equal(renderedCell.prop('aria-label').indexOf(rangeSelectionStartPrompt), -1);
- });
-
- it('increments/decrements one day with left/right arrows', async () => {
- const previousDay = now.clone().subtract(1, 'day');
- findCellByDate(tree, now).simulate('click', {}, now);
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.clone().endOf('day').toDate()]);
- assertDateAfterKeyDown({keyCode: 37}); // left arrow
- assert.deepEqual(tree.state('selectingRange').toDate(), [previousDay.toDate(), now.toDate()]);
- assertDateAfterKeyDown({keyCode: 39}); // right arrow
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.toDate()]);
- });
-
- it('increments/decrements one week with up/down arrows', () => {
- const previousWeek = now.clone().subtract(1, 'week');
- findCellByDate(tree, now).simulate('click', {}, now);
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.clone().endOf('day').toDate()]);
- assertDateAfterKeyDown({keyCode: 38}); // up arrow
- assert.deepEqual(tree.state('selectingRange').toDate(), [previousWeek.toDate(), now.toDate()]);
- assertDateAfterKeyDown({keyCode: 40}); // down arrow
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.toDate()]);
- });
-
- it('goes to beginning/end of month with home and end keys', () => {
- const monthBegin = now.clone().startOf('month').startOf('day');
- const monthEnd = now.clone().endOf('month').startOf('day');
- findCellByDate(tree, now).simulate('click', {}, now);
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.clone().endOf('day').toDate()]);
- assertDateAfterKeyDown({keyCode: 36}); // home
- assert.deepEqual(tree.state('selectingRange').toDate(), [monthBegin.toDate(), now.toDate()]);
- assertDateAfterKeyDown({keyCode: 35}); // end
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), monthEnd.toDate()]);
- });
-
- it('increments/decrements one month with page up/down', () => {
- const previousMonth = now.clone().subtract(1, 'month');
- findCellByDate(tree, now).simulate('click', {}, now);
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.clone().endOf('day').toDate()]);
- assertDateAfterKeyDown({keyCode: 33});
- assert.deepEqual(tree.state('selectingRange').toDate(), [previousMonth.toDate(), now.toDate()]);
- assertDateAfterKeyDown({keyCode: 34});
- assert.deepEqual(tree.state('selectingRange').toDate(), [previousMonth.clone().add(1, 'month').toDate(), now.toDate()]);
- });
-
- it('increments/decrements one year with cmd + page up/down', () => {
- const previousYear = now.clone().subtract(1, 'year');
- findCellByDate(tree, now).simulate('click', {}, now);
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.clone().endOf('day').toDate()]);
- assertDateAfterKeyDown({keyCode: 33, meta: true});
- assert.deepEqual(tree.state('selectingRange').toDate(), [previousYear.toDate(), now.toDate()]);
- assertDateAfterKeyDown({keyCode: 34, meta: true});
- assert.deepEqual(tree.state('selectingRange').toDate(), [now.toDate(), now.toDate()]);
- });
- });
- });
-
- it('sets min and max to the start of the respective day', () => {
- const minDate = moment(new Date(2016, 9, 24, 12, 30));
- const maxDate = minDate.clone().add(3, 'day');
- const tree = shallow( );
- tree.instance().componentWillMount();
- assert.equal(+tree.state('min'), +minDate.startOf('day'));
- assert.equal(+tree.state('max'), +maxDate.startOf('day'));
-
- const minDateMinus1 = minDate.clone().subtract(1, 'day');
- const maxDatePlus1 = maxDate.clone().add(1, 'day');
- tree.setProps({min: minDateMinus1, max: maxDatePlus1});
- assert.equal(+tree.state('min'), +minDateMinus1.startOf('day'));
- assert.equal(+tree.state('max'), +maxDatePlus1.startOf('day'));
- });
-
- it('enforces min and max', () => {
- const date = moment('2015-01-01', DEFAULT_VALUE_FORMAT);
- const oneWeekLater = date.clone().add(1, 'week');
- const tree = shallow( );
- tree.instance().componentWillMount();
- tree.update();
- assert.equal(findAllSelectableCells(tree).length, 8); // includes start and end days
- findCellByDate(tree, date).simulate('click', {}, date);
- const body = findBody(tree);
- body.simulate('focus');
- body.simulate('keydown', {preventDefault: () => {}, keyCode: 37});
- assert(tree.state('focusedDate').isSame(date));
- findCellByDate(tree, oneWeekLater).simulate('click', {}, oneWeekLater);
- body.simulate('focus');
- body.simulate('keydown', {preventDefault: () => {}, keyCode: 39});
- assert(tree.state('focusedDate').isSame(oneWeekLater));
- });
-
- it('generateDateId', () => {
- const index = parseInt(createId().substring(15), 10) + 1;
- const today = moment(new Date(2016, 7, 24));
- const tree = shallow( );
- assert.equal(tree.instance().generateDateId(today), 'react-spectrum-' + index + '-2016/08/24');
- });
-
- describe('CalendarCell', () => {
- let now;
- let tree;
- const dateStringForTitle = date => `${date.format('dddd')}, ${date.format('LL')}`;
-
- beforeEach(() => {
- now = moment();
- tree = shallow( );
- findBody(tree).simulate('focus');
- });
-
- describe('selected cell', () => {
- let cellTree, dateNode;
-
- beforeEach(() => {
- cellTree = shallow(findFocusedCell(tree).getElement());
- dateNode = cellTree.find('.spectrum-Calendar-date');
- });
-
- it('props', () => {
- assert.equal(cellTree.prop('id'), tree.instance().generateDateId(now));
- assert.equal(cellTree.prop('title'), `Today, ${dateStringForTitle(now)} selected`);
- assert.equal(cellTree.prop('aria-disabled'), false);
- assert.equal(cellTree.prop('aria-selected'), true);
- assert.equal(cellTree.prop('aria-invalid'), false);
- assert(cellTree.prop('onClick'));
- assert(cellTree.prop('onMouseEnter'));
- assert.equal(cellTree.childAt(0).text(), `${now.date()}`);
- });
-
- it('classes', () => {
- assert.equal(dateNode.hasClass('is-today'), true);
- assert.equal(dateNode.hasClass('is-selected'), true);
- assert.equal(dateNode.hasClass('is-focused'), true);
- });
-
- it('supports range selections', function () {
- const start = moment(new Date(2016, 7, 1));
- const end = moment(new Date(2016, 7, 5));
- const tree = shallow( );
-
- const startCell = shallow(findCellByDate(tree, start).getElement()).find('span');
- const midCell = shallow(findCellByDate(tree, start.clone().add(1, 'day')).getElement()).find('span');
- const endCell = shallow(findCellByDate(tree, end).getElement()).find('span');
-
- assert.equal(startCell.hasClass('is-range-selection'), true);
- assert.equal(midCell.hasClass('is-range-selection'), true);
- assert.equal(endCell.hasClass('is-range-selection'), true);
- });
-
- it('supports click event', function () {
- const start = moment(new Date(2016, 7, 14));
- const tree = shallow( );
- findBody(tree).simulate('focus');
-
- assert(start.isSame(tree.state('focusedDate')));
-
- const nextDate = start.clone().add(-7, 'day');
-
- const nextCell = shallow(findCellByDate(tree, nextDate).getElement());
-
- nextCell.simulate('click', {preventDefault: () => {}});
-
- assert(nextDate.isSame(tree.state('focusedDate')));
- });
-
- it('supports mouseDown event', function () {
- const start = moment(new Date(2016, 7, 14));
- const tree = shallow( );
- findBody(tree).simulate('focus');
-
- assert(start.isSame(tree.state('focusedDate')));
-
- const nextDate = start.clone().add(-7, 'day');
-
- const nextCell = shallow(findCellByDate(tree, nextDate).getElement());
-
- nextCell.simulate('mouseDown', {preventDefault: () => {}});
-
- assert(nextDate.isSame(tree.state('focusedDate')));
- });
-
- it('supports mouseEnter event', function () {
- const spy = sinon.spy();
- const start = moment(new Date(2016, 7, 14));
- const tree = shallow( );
- tree.instance().onHighlight = spy;
- findBody(tree).simulate('focus');
-
- const nextDate = start.clone().add(-7, 'day');
-
- const nextCell = shallow(findCellByDate(tree, nextDate).getElement());
-
- nextCell.simulate('click', {preventDefault: () => {}});
-
- nextCell.simulate('mouseenter');
-
- assert(spy.called);
- });
- });
-
- describe('disabled cell', () => {
- let cellTree, dateNode;
- let startOfNextMonth;
-
- beforeEach(() => {
- startOfNextMonth = moment()
- .endOf('month')
- .add(1, 'day')
- .startOf('day');
- cellTree = shallow(findCellByDate(tree, startOfNextMonth).getElement());
- dateNode = cellTree.find('.spectrum-Calendar-date');
- });
-
- it('props', () => {
- assert.equal(cellTree.prop('id'), tree.instance().generateDateId(startOfNextMonth));
- assert.equal(cellTree.prop('title'), null);
- assert.equal(cellTree.prop('aria-disabled'), true);
- assert.equal(cellTree.prop('aria-selected'), false);
- assert.equal(cellTree.prop('aria-invalid'), false);
- assert(!cellTree.prop('onClick'));
- assert.equal(cellTree.childAt(0).text(), `${startOfNextMonth.date()}`);
- });
-
- it('classes', () => {
- assert.equal(dateNode.hasClass('is-today'), false);
- assert.equal(dateNode.hasClass('is-selected'), false);
- assert.equal(dateNode.hasClass('is-focused'), false);
- assert.equal(dateNode.hasClass('is-disabled'), true);
- });
- });
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
-
- const body = findBody(tree);
- // every cell should be disabled
- assert.equal(body.find('tbody tr CalendarCell[disabled]').length, 42);
- assert.equal(body.prop('aria-disabled'), true);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- const body = findBody(tree);
- assert.equal(body.prop('aria-readonly'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- describe('With aria-label prop', () => {
- describe('is defined,', () => {
- it('calendar has aria-labelledby prop that includes both the calendar id and the header element id.', () => {
- const tree = shallow( );
- const body = findBody(tree);
- const headerTitle = findHeaderTitle(tree);
- assert.equal(tree.prop('aria-label'), 'foo');
- assert.equal(tree.prop('aria-labelledby'), tree.prop('id') + ' ' + headerTitle.prop('id'));
- assert.equal(body.prop('aria-labelledby'), tree.prop('id') + ' ' + headerTitle.prop('id'));
- });
- describe('and aria-labelledby prop defined,', () => {
- it('calendar has aria-labelledby prop that includes the calendar id, the aria-labelledby prop and the header element id.', () => {
- const tree = shallow( );
- const body = findBody(tree);
- const headerTitle = findHeaderTitle(tree);
- assert.equal(tree.prop('aria-label'), 'foo');
- assert.equal(tree.prop('aria-labelledby'), 'bar ' + tree.prop('id') + ' ' + headerTitle.prop('id'));
- assert.equal(body.prop('aria-labelledby'), 'bar ' + tree.prop('id') + ' ' + headerTitle.prop('id'));
- });
- });
- });
- });
-
- describe('With aria-labelledby prop', () => {
- describe('is undefined,', () => {
- it('calendar has aria-labelledby prop referencing header element id.', () => {
- const tree = shallow( );
- const body = findBody(tree);
- const headerTitle = findHeaderTitle(tree);
- assert.equal(tree.prop('aria-labelledby'), headerTitle.prop('id'));
- assert.equal(body.prop('aria-labelledby'), headerTitle.prop('id'));
- });
- });
- describe('is defined,', () => {
- it('calendar has aria-labelledby prop that includes both the aria-labelledby prop and the header element id.', () => {
- const tree = shallow( );
- const body = findBody(tree);
- const headerTitle = findHeaderTitle(tree);
- assert.equal(tree.prop('aria-labelledby'), 'foo ' + headerTitle.prop('id'));
- assert.equal(body.prop('aria-labelledby'), 'foo ' + headerTitle.prop('id'));
- });
- });
- });
-
- describe('focus', () => {
- let clock;
- let tree;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.runAll();
- clock.restore();
- });
- it('focusCalendarBody moves focus to calendarBody', () => {
- tree = mount( );
- let calBody = findBody(tree);
- tree.instance().focusCalendarBody();
-
- clock.runAll();
- // body should be focused on next animation frame
- assert.equal(calBody.getDOMNode(), document.activeElement);
-
- // test blur before restoring focus
- tree.instance().focusCalendarBody();
- assert.equal(document.body, document.activeElement);
- clock.runAll();
- assert.equal(calBody.getDOMNode(), document.activeElement);
- });
-
- it('supports autoFocus', () => {
- tree = mount( );
- let calBody = findBody(tree);
-
- clock.runAll();
- // body should be focused on next animation frame
- assert.equal(calBody.getDOMNode(), document.activeElement);
- });
- });
-});
-
-const findHeaderTitle = tree => tree.find('.spectrum-Calendar-header').childAt(0);
-const findPreviousButton = tree => tree.find('.spectrum-Calendar-header').childAt(1);
-const findNextButton = tree => tree.find('.spectrum-Calendar-header').childAt(2);
-const findBody = tree => tree.find('.spectrum-Calendar-body');
-const findAllCells = tree => findBody(tree).find('tbody tr CalendarCell');
-const findAllSelectableCells = tree => (
- findAllCells(tree)
- .filterWhere(c => !c.prop('disabled'))
-);
-const findFirstNonSelectedCell = tree => findAllSelectableCells(tree).first();
-const findFocusedCell = tree => findBody(tree).find('tbody tr CalendarCell[focused=true]');
-const findCellByDate = (tree, date) =>
- findAllCells(tree).filterWhere(c => +c.prop('date') === +date);
-const findTableCaption = tree => tree.find('VisuallyHidden[element="caption"]').shallow();
diff --git a/test/Card/Card.js b/test/Card/Card.js
deleted file mode 100644
index b8369850565..00000000000
--- a/test/Card/Card.js
+++ /dev/null
@@ -1,63 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {Card} from '../../src/Card';
-import Checkbox from '../../src/Checkbox/js/Checkbox';
-import {mount} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Card', () => {
- let tree;
- afterEach(() => {
- if (tree) {
- tree.unmount();
- }
- });
- it('should display a checkbox on hover', () => {
- tree = mount(
);
- tree.simulate('mouseover');
- const checkboxDiv = tree.find('.spectrum-Card-quickActions');
- const checkbox = checkboxDiv.find(Checkbox);
- assert.equal(checkbox.exists(), true);
- });
-
- it('should support selection', () => {
- tree = mount(
);
- const checkboxDiv = tree.find('.spectrum-Card-quickActions');
- const checkbox = checkboxDiv.find(Checkbox);
- assert.equal(checkbox.prop('checked'), true);
- });
-
- it('should allow selection to be disabled', () => {
- tree = mount(
);
- const checkboxDiv = tree.find('.spectrum-Card-quickActions');
- assert.equal(checkboxDiv.exists(), false);
- });
-
- it('should fire event onSelectionChange when supplied', () => {
- let onSelectionChange = sinon.spy();
-
- tree = mount(
);
- let checkbox = tree.find(Checkbox);
- // have to explicitly call the onChange prop, enzyme adapter 15 won't call it for some reason
- checkbox.instance().props.onChange();
-
- assert(onSelectionChange.called);
- });
-});
diff --git a/test/Checkbox/Checkbox.js b/test/Checkbox/Checkbox.js
deleted file mode 100644
index 74a68a7e663..00000000000
--- a/test/Checkbox/Checkbox.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Checkbox from '../../src/Checkbox';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-
-describe('Checkbox', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert.equal(tree.prop('inputType'), 'checkbox');
- assert(!tree.prop('aria-checked'));
- assert.equal(tree.prop('className'), 'spectrum-Checkbox');
- assert.equal(tree.prop('inputClassName'), 'spectrum-Checkbox-input');
- assert.equal(tree.prop('markClassName'), 'spectrum-Checkbox-box');
- assert.equal(tree.prop('labelClassName'), 'spectrum-Checkbox-label');
- });
-
- it('supports indeterminate', () => {
- // Render the Checkbox AND it's SwitchBase component and make sure overriding
- // aria-checked happens properly.
- let tree = shallow( );
- let innerTree = tree.shallow();
- assert.equal(tree.prop('aria-checked'), 'mixed');
- assert.equal(findInput(innerTree).prop('aria-checked'), 'mixed');
- assert.equal(findInput(innerTree).prop('checked'), false);
-
-
- tree.setProps({indeterminate: false});
- innerTree = tree.shallow();
- assert.equal(findInput(innerTree).prop('aria-checked'), false);
- assert.equal(findInput(innerTree).prop('checked'), false);
-
- tree.setProps({checked: true});
- innerTree = tree.shallow();
- assert.equal(findInput(innerTree).prop('aria-checked'), true);
- assert.equal(findInput(innerTree).prop('checked'), true);
-
- // test mounted for code coverage of indeterminate property on input element
- tree = mount( );
- let inputRef = tree.instance().inputRef.getInput();
- assert.equal(inputRef.getAttribute('aria-checked'), 'mixed');
- assert.equal(inputRef.checked, false);
- tree.setProps({indeterminate: false});
- tree.update();
- assert(inputRef.getAttribute('aria-checked'), 'false');
- assert.equal(inputRef.checked, false);
- tree.setProps({checked: true});
- assert(inputRef.getAttribute('aria-checked'), 'true');
- assert.equal(inputRef.checked, true);
- tree.unmount();
- });
-
- it('supports quiet', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Checkbox spectrum-Checkbox--quiet');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('foo'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- let innerTree = tree.shallow();
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(findInput(innerTree).prop('aria-hidden'), true);
- });
-});
-
-const findInput = tree => tree.find('input');
diff --git a/test/Clock/Clock.js b/test/Clock/Clock.js
deleted file mode 100644
index dc68cfcf2a0..00000000000
--- a/test/Clock/Clock.js
+++ /dev/null
@@ -1,437 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Clock from '../../src/Clock';
-import moment from 'moment';
-import {mount, shallow} from 'enzyme';
-import {rAF} from '../utils';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Clock', () => {
- it('default', () => {
- const tree = shallow( );
- assert(tree.hasClass('react-spectrum-Clock'));
- assert.equal(tree.prop('role'), 'group');
- assert(!tree.prop('aria-disabled'));
- assert(!tree.prop('aria-invalid'));
-
- const hour = findHourTextfield(tree);
- assert(!hour.prop('invalid'));
- assert(!hour.prop('disabled'));
- assert(!hour.prop('readOnly'));
- assert(!hour.prop('quiet'));
- assert.equal(hour.prop('value'), '');
-
- const minute = findMinuteTextfield(tree);
- assert(!minute.prop('invalid'));
- assert(!minute.prop('disabled'));
- assert(!minute.prop('readOnly'));
- assert(!minute.prop('quiet'));
- assert.equal(minute.prop('value'), '');
- });
-
- describe('dispatches onChange', () => {
- let now;
- let spy;
- let stopPropagationSpy;
-
- const assertChangeArgs = (element, value, compareDate, format = 'HH:mm') => {
- element.simulate('change', value, {stopPropagation: stopPropagationSpy, target: {value}});
- assert(stopPropagationSpy.called);
-
- const args = spy.lastCall.args;
- assert.deepEqual(args[0], compareDate.format ? compareDate.format(format) : compareDate);
- assert.deepEqual(+args[1], +compareDate);
- };
-
- beforeEach(() => {
- now = moment().second(0).millisecond(0);
- spy = sinon.spy();
- stopPropagationSpy = sinon.spy();
- });
-
- it('when hour changes', () => {
- const tree = shallow( );
- const hour = findHourTextfield(tree);
- assertChangeArgs(hour, '10', now.hour(10));
- assertChangeArgs(hour, '', '');
- tree.setState({value: null});
- assertChangeArgs(hour, '24', now.hour(23));
- });
-
- it('when minute changes', () => {
- now = now.hour(0);
- const tree = shallow( );
- const minute = findMinuteTextfield(tree);
- assertChangeArgs(minute, '50', now.minute(50));
- assertChangeArgs(minute, '', '');
- tree.setState({value: null});
- assertChangeArgs(minute, '60', now.minute(59));
- });
-
- it('maintains month, day, and year of value when hour/minute changes are made', () => {
- const date = new Date(2001, 0, 1);
- const valueFormat = 'YYYY-MM-DD HH:mm';
- const tree = shallow( );
- const minute = findMinuteTextfield(tree);
- assertChangeArgs(minute, '10', moment(date).minute(10), valueFormat);
- });
-
- it('maintains month, day, and year of defaultValue when hour/minutes changes are made', () => {
- const date = new Date(2001, 0, 1);
- const valueFormat = 'YYYY-MM-DD HH:mm';
- const tree = shallow(
-
- );
- const hour = findHourTextfield(tree);
- assertChangeArgs(hour, '3', moment(date).hour(3), valueFormat);
- });
- });
-
- it('supports defaultValue uncontrolled behavior', () => {
- const now = moment().second(0).millisecond(0);
- const tree = shallow( );
-
- // Setting defaultValue later doesn't change the state. Only component interactions
- // change the state.
- tree.setProps({defaultValue: now.clone().add(7, 'day')});
- assert.deepEqual(+tree.state('value'), +now);
-
- // Component interaction should change the state.
- findHourTextfield(tree).simulate('change', 0, {stopPropagation: function () {}, target: {value: 0}});
- assert.deepEqual(+tree.state('value'), +now.clone().hours(0));
- });
-
- it('supports value controlled behavior', () => {
- const now = moment();
- const dateWeekLater = now.clone().add(7, 'day');
-
- const tree = shallow( );
-
- // Changing value will change the state.
- tree.setProps({value: dateWeekLater});
- assert.deepEqual(+tree.state('value'), +dateWeekLater);
-
- // Component interaction should not change the state, only manually setting value
- // as a prop will change the state.
- findHourTextfield(tree).simulate('change', 0, {stopPropagation: function () {}, target: {value: 0}});
- assert.deepEqual(+tree.state('value'), +dateWeekLater);
- });
-
- it('supports quiet', () => {
- const tree = shallow( );
- assert.equal(findHourTextfield(tree).prop('quiet'), true);
- assert.equal(findMinuteTextfield(tree).prop('quiet'), true);
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-disabled'), true);
- assert.equal(findHourTextfield(tree).prop('disabled'), true);
- assert.equal(findMinuteTextfield(tree).prop('disabled'), true);
- });
-
- it('supports invalid', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-invalid'), true);
- assert.equal(findHourTextfield(tree).prop('invalid'), true);
- assert.equal(findMinuteTextfield(tree).prop('invalid'), true);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- assert.equal(findHourTextfield(tree).prop('readOnly'), true);
- assert.equal(findMinuteTextfield(tree).prop('readOnly'), true);
- });
-
- it('supports required', () => {
- const tree = shallow( );
- assert.equal(findHourTextfield(tree).prop('required'), true);
- assert.equal(findMinuteTextfield(tree).prop('required'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('supports setting value as a prop', () => {
- const tree = shallow( );
- // set valid value
- tree.setProps({value: '23:59'});
- assert.equal(tree.state('hourText'), '23');
- assert.equal(tree.state('minuteText'), '59');
- // set invalid value
- tree.setProps({value: '24:60'});
- assert.equal(tree.state('hourText'), '23');
- assert.equal(tree.state('minuteText'), '59');
- // invalid data without hourText or minuteText
- tree.setState({hourText: null, minuteText: null});
- tree.setProps({value: '24:60'});
- assert.equal(tree.state('hourText'), '');
- assert.equal(tree.state('minuteText'), '');
- });
-
- it('supports focus method', () => {
- const tree = mount( );
- tree.instance().focus();
- assert.equal(document.activeElement, findHourTextfield(tree).at(0).getDOMNode());
- tree.unmount();
- });
-
- it('supports autoFocus', async () => {
- const tree = mount( );
- await rAF();
- assert.equal(document.activeElement, findHourTextfield(tree).at(0).getDOMNode());
- tree.unmount();
- });
-
- it('supports handleFocus, handleHourBlur, handleMinuteBlur', () => {
- const tree = shallow( );
- findHourTextfield(tree).simulate('focus');
- assert(tree.state('focused'));
- findHourTextfield(tree).simulate('blur', {target: {value: '1'}});
- tree.update();
- assert(!tree.state('focused'));
- assert.equal(tree.state('hourText'), '01');
- findMinuteTextfield(tree).simulate('focus');
- tree.update();
- assert(tree.state('focused'));
- findMinuteTextfield(tree).simulate('blur', {target: {value: '1'}});
- tree.update();
- assert(!tree.state('focused'));
- assert.equal(tree.state('minuteText'), '01');
- findHourTextfield(tree).simulate('blur', {target: {value: '10'}});
- tree.update();
- assert(!tree.state('focused'));
- assert.equal(tree.state('hourText'), '10');
- findMinuteTextfield(tree).simulate('blur', {target: {value: '10'}});
- tree.update();
- assert(!tree.state('focused'));
- assert.equal(tree.state('minuteText'), '10');
- });
-
- it('supports looping at min/max and changing am/pm with arrow keys', () => {
- const tree = shallow( );
- assert.equal(tree.state('hourText'), '11');
- assert.equal(tree.state('minuteText'), '59');
- assert.equal(tree.state('meridiemVal'), 'pm');
- assert.equal(findTimeValue(tree).text(), '11:59 pm');
- let textfield = findHourTextfield(tree);
- let min = textfield.prop('min');
- let max = textfield.prop('max');
- textfield.simulate('keydown', {
- key: 'ArrowUp',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
- assert.equal(tree.state('hourText'), '12');
- assert.equal(tree.state('meridiemVal'), 'am');
- assert.equal(findTimeValue(tree).text(), '12:59 am');
- textfield = findHourTextfield(tree);
- textfield.simulate('keydown', {
- key: 'Up',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
- assert.equal(tree.state('hourText'), '01');
- assert.equal(tree.state('meridiemVal'), 'am');
- assert.equal(findTimeValue(tree).text(), '01:59 am');
- textfield = findHourTextfield(tree);
- textfield.simulate('keydown', {
- key: 'ArrowDown',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
- assert.equal(tree.state('hourText'), '12');
- assert.equal(tree.state('meridiemVal'), 'am');
- assert.equal(findTimeValue(tree).text(), '12:59 am');
- textfield = findHourTextfield(tree);
- textfield.simulate('keydown', {
- key: 'Down',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
- assert.equal(tree.state('hourText'), '11');
- assert.equal(tree.state('meridiemVal'), 'pm');
- assert.equal(findTimeValue(tree).text(), '11:59 pm');
-
- textfield = findMinuteTextfield(tree);
- min = textfield.prop('min');
- max = textfield.prop('max');
- textfield.simulate('keydown', {
- key: 'ArrowUp',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
- assert.equal(tree.state('minuteText'), '00');
- assert.equal(findTimeValue(tree).text(), '12:00 am');
- textfield = findMinuteTextfield(tree);
- textfield.simulate('keydown', {
- key: 'ArrowDown',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
- assert.equal(tree.state('minuteText'), '59');
- assert.equal(findTimeValue(tree).text(), '11:59 pm');
- textfield = findMinuteTextfield(tree);
- textfield.simulate('keydown', {
- key: 'Down',
- target: {
- value: textfield.prop('value'),
- min,
- max
- },
- preventDefault: () => {}
- });
-
- assert.equal(tree.state('minuteText'), '58');
- assert.equal(findTimeValue(tree).text(), '11:58 pm');
- });
-
- describe('Accessibility', () => {
- it('supports aria-labelledby', () => {
- const tree = shallow( );
- const clockId = tree.instance().clockId;
- const timeValueId = findTimeValue(tree).prop('id');
- assert.equal(findFieldset(tree).prop('aria-labelledby'), timeValueId);
- assert.equal(findHourTextfield(tree).prop('aria-labelledby'), [clockId + '-group', clockId].join(' '));
- assert.equal(findMinuteTextfield(tree).prop('aria-labelledby'), [clockId + '-group', clockId + '-minutes'].join(' '));
- tree.setProps({'aria-labelledby': 'foo'});
- assert.equal(findHourTextfield(tree).prop('aria-labelledby'), ['foo', clockId].join(' '));
- assert.equal(findMinuteTextfield(tree).prop('aria-labelledby'), ['foo', clockId + '-minutes'].join(' '));
- });
-
- it('supports aria-label', () => {
- const tree = shallow( );
- const clockId = tree.instance().clockId;
- const timeValueId = findTimeValue(tree).prop('id');
- assert.equal(findFieldset(tree).prop('aria-labelledby'), [clockId + '-group', timeValueId].join(' '));
- assert.equal(findFieldset(tree).prop('aria-label'), 'foo');
- assert.equal(findHourTextfield(tree).prop('aria-labelledby'), [clockId + '-group', clockId].join(' '));
- assert.equal(findMinuteTextfield(tree).prop('aria-labelledby'), [clockId + '-group', clockId + '-minutes'].join(' '));
- });
- });
-
- describe('AM/PM Support', () => {
- it('supports AM/PM format', () => {
- const tree = shallow( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(meridiemDropdown.length, 1);
- assert.equal(tree.state('displayMeridiem'), true);
- });
-
- it('does not display AM/PM dropdown by default', () => {
- const tree = shallow( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(meridiemDropdown.length, 0);
- assert.equal(tree.state('displayMeridiem'), false);
- });
-
- it('displays am for 01:00', () => {
- const tree = shallow( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(meridiemDropdown.prop('value'), 'am');
- });
-
- it('displays pm for 13:00', () => {
- const tree = shallow( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(meridiemDropdown.prop('value'), 'pm');
- });
-
- it('supports lowercase AM', () => {
- const tree = mount( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(meridiemDropdown.find('.spectrum-Dropdown-label').text(), 'am');
-
- tree.unmount();
- });
-
- it('supports uppercase AM', () => {
- const tree = mount( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(meridiemDropdown.find('.spectrum-Dropdown-label').text(), 'AM');
-
- tree.unmount();
- });
-
- it('handles 13:00 as 1pm', () => {
- const tree = shallow( );
- assert.equal(tree.state('hourText'), '1');
- assert.equal(tree.state('meridiemVal'), 'pm');
- assert.equal(findTimeValue(tree).text(), '01:00 pm');
- });
-
- it('handles 00:30 as 12:30am', () => {
- const tree = shallow( );
- assert.equal(tree.state('hourText'), '12');
- assert.equal(tree.state('minuteText'), '30');
- assert.equal(tree.state('meridiemVal'), 'am');
- assert.equal(findTimeValue(tree).text(), '12:30 am');
- });
-
- it('can change from AM to PM', () => {
- const tree = shallow( );
- const meridiemDropdown = findMeridiemDropdown(tree);
- assert.equal(tree.state('meridiemVal'), 'am');
- meridiemDropdown.simulate('change', 'pm');
- assert.equal(tree.state('meridiemVal'), 'pm');
- assert.equal(findTimeValue(tree).text(), '12:30 pm');
- meridiemDropdown.simulate('change', 'am');
- assert.equal(tree.state('meridiemVal'), 'am');
- assert.equal(findTimeValue(tree).text(), '12:30 am');
- });
- });
-
-});
-const findFieldset = tree => tree.find('.react-spectrum-Clock');
-const findHourTextfield = tree => tree.find('.react-spectrum-Clock-hour');
-const findMinuteTextfield = tree => tree.find('.react-spectrum-Clock-minute');
-const findTimeValue = tree => tree.find('VisuallyHidden[element="time"]').shallow();
-const findMeridiemDropdown = tree => tree.find('.react-spectrum-Clock-meridiem');
diff --git a/test/CoachMark/CoachMark.js b/test/CoachMark/CoachMark.js
deleted file mode 100644
index df06324f24f..00000000000
--- a/test/CoachMark/CoachMark.js
+++ /dev/null
@@ -1,130 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import CoachMark from '../../src/CoachMark';
-import {mount} from 'enzyme';
-import Portal from 'react-overlays/lib/Portal';
-import Provider from '../../src/Provider';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('CoachMark', () => {
- let tree;
- let clock;
- let mountNode;
-
- beforeEach(() => {
- mountNode = document.createElement('DIV');
- document.body.appendChild(mountNode);
- clock = sinon.useFakeTimers();
- });
- afterEach(() => {
- document.activeElement.blur();
- clock.runAll();
- tree.detach();
- tree = null;
- clock.restore();
- document.body.removeChild(mountNode);
- });
- it('Should contain an overlay trigger shown', async () => {
- let onHide = sinon.spy();
- // need to mount because there is a ref that determines the container for the portal
- // need to mount to a real node so that we can perform clicks and use the jsdom events
- tree = mount(
- ,
- {attachTo: mountNode}
- );
- clock.runAll();
- assert.equal(tree.find(CoachMark).find(Portal).length, 1);
- /**
- * when 15 support is dropped, change back to:
- * assert.equal(tree.find(CoachMarkIndicator).length, 1);
- * assert.equal(tree.find(OverlayTrigger).props().defaultShow, true);
- * assert.equal(tree.find(OverlayTrigger).props().show, true);
- */
- assert.equal(document.querySelectorAll('.spectrum-CoachMarkIndicator').length, 1);
-
- assert.equal(document.querySelectorAll('.spectrum-CoachMarkPopover').length, 1);
-
- tree.find(CoachMark).instance().onHide();
- assert(onHide.called); // onHide didn't do anything other than call the prop we passed in
- clock.runAll();
-
- // this should by default stay open regardless of activity
- document.querySelectorAll('.spectrum-CoachMarkIndicator')[0].click();
- assert.equal(document.querySelectorAll('.spectrum-CoachMarkPopover').length, 1);
- assert(!onHide.calledTwice);
-
- document.body.click();
- assert.equal(document.querySelectorAll('.spectrum-CoachMarkPopover').length, 1);
- assert(!onHide.calledTwice);
- });
-
- it('should be dismissible', async () => {
- let onHide = sinon.spy();
- // need to mount because there is a ref that determines the container for the portal
- tree = mount(
- ,
- {attachTo: mountNode}
- );
- clock.runAll();
- document.querySelectorAll('.spectrum-CoachMarkIndicator')[0].click();
- assert(onHide.calledOnce);
- tree.update();
- clock.runAll();
- assert.equal(document.querySelectorAll('.spectrum-CoachMarkPopover').length, 0);
-
- document.querySelectorAll('.spectrum-CoachMarkIndicator')[0].click();
- assert(!onHide.calledTwice);
- tree.update();
- clock.runAll();
- assert.equal(document.querySelectorAll('.spectrum-CoachMarkPopover').length, 1);
- });
-
- it('only responds to the coach mark indicator being positioned once', async () => {
- tree = mount(
- ,
- {attachTo: mountNode}
- );
- clock.runAll();
- let component = tree.instance();
- assert(component.shouldUpdatePosition);
- assert(!tree.state().indicatorPositioned);
-
- let originalRender = component.render.bind(component);
- let renderSpy = sinon.stub(component, 'render').callsFake(() => {
- assert(component.shouldUpdatePosition);
- assert(tree.state().indicatorPositioned);
- return originalRender();
- });
- component.onIndicatorPositioned();
- assert(renderSpy.called);
- renderSpy.restore();
-
- assert(!component.shouldUpdatePosition);
- assert(tree.state().indicatorPositioned);
-
- renderSpy = sinon.stub(component, 'render').callsFake(() => {
- assert(!component.shouldUpdatePosition);
- assert(tree.state().indicatorPositioned);
- return originalRender();
- });
- component.onIndicatorPositioned();
- renderSpy.restore();
- });
-});
diff --git a/test/CoachMark/CoachMarkIndicator.js b/test/CoachMark/CoachMarkIndicator.js
deleted file mode 100644
index c2545ba7c3e..00000000000
--- a/test/CoachMark/CoachMarkIndicator.js
+++ /dev/null
@@ -1,177 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import CoachMarkIndicator from '../../src/CoachMark/js/CoachMarkIndicator';
-import {mount} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('CoachMarkIndicator', () => {
- let clock;
- let tree;
-
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
-
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.restore();
- });
-
- it('default', () => {
- tree = mount();
-
- let rings = tree.find('.spectrum-CoachMarkIndicator-ring');
- assert.equal(rings.length, 3);
- rings.forEach(ring => {
- assert(ring.hasClass('spectrum-CoachMarkIndicator-ring'));
- });
- });
-
- it('quiet', () => {
- tree = mount();
-
- let coachmarkIndicatorDiv = tree.children().children();
- assert(coachmarkIndicatorDiv.hasClass('spectrum-CoachMarkIndicator--quiet'));
- assert(coachmarkIndicatorDiv.hasClass('spectrum-CoachMarkIndicator'));
- assert.equal(coachmarkIndicatorDiv.children().length, 3);
- });
-
- it('Should attach to a dom element', async () => {
- const container = document.createElement('div');
- const someElement = document.createElement('div');
- someElement.setAttribute('id', 'something');
- someElement.getBoundingClientRect = () => ({
- left: 50,
- top: 75,
- width: 250,
- height: 150
- });
- container.appendChild(someElement);
-
- const someOtherElement = document.createElement('div');
- someOtherElement.setAttribute('id', 'somethingElse');
- someOtherElement.getBoundingClientRect = () => ({
- left: 200,
- top: 250,
- width: 100,
- height: 100
- });
- container.appendChild(someOtherElement);
-
- document.documentElement.appendChild(container);
-
- tree = mount( );
-
- let coachMarkState = tree.state();
- assert.equal(coachMarkState.style.top, 147);
- assert.equal(coachMarkState.style.left, 172);
-
- tree.setProps({
- selector: '#somethingElse'
- });
-
- coachMarkState = tree.state();
- assert.equal(coachMarkState.style.top, 297);
- assert.equal(coachMarkState.style.left, 247);
-
- document.documentElement.removeChild(container);
- });
-
- it('Should not render if it can not find the selector', async () => {
- tree = mount( );
- let updateTargetNodeSpy = sinon.stub(tree.instance(), 'updateTargetNode').callThrough();
-
- let coachMarkState = tree.state();
- assert(!('top' in coachMarkState.style));
- assert(!('left' in coachMarkState.style));
- clock.tick(2000);
-
- assert.equal(updateTargetNodeSpy.getCalls().length, 12);
- assert(!('top' in coachMarkState.style));
- assert(!('left' in coachMarkState.style));
- });
-
- it('Should move if its target moved because of a resize', async () => {
- const container = document.createElement('div');
- const someElement = document.createElement('div');
- someElement.setAttribute('id', 'something');
- someElement.getBoundingClientRect = () => ({
- left: 50,
- top: 75,
- width: 250,
- height: 150
- });
- container.appendChild(someElement);
-
- document.documentElement.appendChild(container);
-
- let onPositionedSpy = sinon.spy();
- tree = mount( );
-
- let coachMarkState = tree.state();
- assert.equal(coachMarkState.style.top, 147);
- assert.equal(coachMarkState.style.left, 172);
- assert(onPositionedSpy.calledOnce);
-
- someElement.getBoundingClientRect = () => ({
- left: 200,
- top: 250,
- width: 100,
- height: 100
- });
-
- tree.instance().resizeListener();
-
- coachMarkState = tree.state();
- assert.equal(coachMarkState.style.top, 147);
- assert.equal(coachMarkState.style.left, 172);
- assert(onPositionedSpy.calledOnce);
-
- clock.tick(51); // one tick past debounce
-
- coachMarkState = tree.state();
- assert.equal(coachMarkState.style.top, 297);
- assert.equal(coachMarkState.style.left, 247);
- assert(onPositionedSpy.calledTwice);
-
- document.documentElement.removeChild(container);
- });
-});
diff --git a/test/CoachMark/CoachMarkPopover.js b/test/CoachMark/CoachMarkPopover.js
deleted file mode 100644
index a32dd5be4e4..00000000000
--- a/test/CoachMark/CoachMarkPopover.js
+++ /dev/null
@@ -1,299 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import CoachMarkPopover from '../../src/CoachMark/js/CoachMarkPopover';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('CoachMarkPopover', () => {
- let clock;
- let tree;
-
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
-
- afterEach(() => {
- document.activeElement.blur();
- clock.runAll();
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.restore();
- });
-
- it('default', () => {
- tree = mount(
-
-
- This is the Default Coach Mark
-
-
);
-
- clock.runAll();
-
- let coachmarkPopover = tree.find(CoachMarkPopover);
-
- assert.equal(coachmarkPopover.getDOMNode(), document.activeElement);
-
- assert.equal(coachmarkPopover.getDOMNode().tabIndex, 1);
-
- let coachmarkPopoverContainer = coachmarkPopover.find('.spectrum-CoachMarkPopover');
- assert.equal(coachmarkPopoverContainer.children().length, 3);
-
- let coachMarkHeader = coachmarkPopover.find('.spectrum-CoachMarkPopover-header');
- assert.equal(coachMarkHeader.children().length, 1);
-
- let coachMarkTitle = coachmarkPopover.find('.spectrum-CoachMarkPopover-title');
- assert.equal(coachMarkTitle.text(), 'Default');
-
- let coachMarkContent = coachmarkPopover.find('.spectrum-CoachMarkPopover-content');
- assert.equal(coachMarkContent.text(), 'This is the Default Coach Mark');
-
- let coachMarkFooter = coachmarkPopover.find('.spectrum-CoachMarkPopover-footer');
- assert.equal(coachMarkFooter.children().length, 0);
-
- assert.equal(coachmarkPopover.find('img').length, 0);
- });
-
- it('can display an image', () => {
- tree = mount(
-
-
- This is the Default Coach Mark
-
-
);
-
- clock.runAll();
-
- let coachmarkPopover = tree.find(CoachMarkPopover);
-
- assert.equal(coachmarkPopover.getDOMNode(), document.activeElement);
-
- assert.equal(coachmarkPopover.find('img').length, 1);
- assert.equal(coachmarkPopover.find('img').prop('alt'), '');
- });
-
- it('Should only display valid progress', () => {
- let tree = shallow(
- This is a Coach Mark
- );
-
- assert.equal(tree.find('.spectrum-CoachMarkPopover-step').length, 0);
-
- tree = shallow(
- This is a Coach Mark
- );
-
- assert.equal(tree.find('.spectrum-CoachMarkPopover-step').length, 0);
-
- tree = shallow(
- This is a Coach Mark
- );
-
- assert.equal(tree.find('.spectrum-CoachMarkPopover-step').length, 0);
-
- tree = shallow(
- This is a Coach Mark
- );
-
- assert.equal(tree.find('.spectrum-CoachMarkPopover-step').length, 0);
-
- tree = shallow(
- This is a Coach Mark
- );
-
- assert.equal(tree.find('.spectrum-CoachMarkPopover-step').length, 1);
- });
-
- it('Should have working confirm and cancel buttons', () => {
- const confirmSpy = sinon.spy();
- const cancelSpy = sinon.spy();
-
- const tree = shallow(
- This is the Default Coach Mark
- );
-
- const buttons = tree.find(Button);
- assert.equal(buttons.length, 2);
-
- assert(!cancelSpy.called);
- const cancelButton = buttons.first();
- assert.equal(cancelButton.children().first().text(), 'cancel');
- cancelButton.simulate('click');
- assert(cancelSpy.called);
-
- assert(!confirmSpy.called);
- const confirmButton = buttons.last();
- assert.equal(confirmButton.children().first().text(), 'confirm');
- confirmButton.simulate('click');
- assert(confirmSpy.called);
- });
-
- it('Should autoFocus confirm button by default', () => {
- const confirmSpy = sinon.spy();
-
- tree = mount(
- This is the Default Coach Mark
- );
-
- clock.runAll();
-
- const confirmButton = tree.find(Button);
- assert.equal(confirmButton.getDOMNode(), document.activeElement);
- confirmButton.simulate('click');
- assert(confirmSpy.called);
- });
-
- it('Should autoFocus cancel button if no confirm button is present', () => {
- const cancelSpy = sinon.spy();
-
- tree = mount(
- This is the Default Coach Mark
- );
-
- clock.runAll();
-
- const cancelButton = tree.find(Button);
- assert.equal(cancelButton.getDOMNode(), document.activeElement);
- cancelButton.simulate('click');
- assert(cancelSpy.called);
- });
-
- it('focusing CoachMarkPopover itself should marshall focus to first tabbable descendant', () => {
- const focusSpy = sinon.spy();
-
- tree = mount(
- This is the Default Coach Mark
- );
-
- tree.simulate('focus', {type: 'focus'});
-
- clock.runAll();
-
- assert(focusSpy.called);
-
- const cancelButton = tree.find(Button).first();
- assert.equal(cancelButton.getDOMNode(), document.activeElement);
- });
-
- it('trapFocus: false should prevent trapFocus from executing', async () => {
- const focusSpy = sinon.spy();
-
- tree = mount(
- This is the Default Coach Mark
- );
-
- assert.equal(tree.find(CoachMarkPopover).getDOMNode().hasAttribute('tabIndex'), false);
-
- const lastFocus = document.activeElement;
- tree.simulate('focus', {type: 'focus'});
- clock.runAll();
- assert.equal(document.activeElement, lastFocus);
- });
-
- it('supports onKeyDown event handler', () => {
- const onKeyDown = sinon.spy();
- const tree = shallow(
- This is the Default Coach Mark
- );
- tree.simulate('keydown', {key: 'Tab', shiftKey: false});
- assert(onKeyDown.called);
- });
-
- it('supports trapFocus', () => {
- const preventDefault = sinon.spy();
- const stopPropagation = sinon.spy();
- tree = mount(
- This is the Default Coach Mark
- );
- const event = {
- preventDefault,
- stopPropagation
- };
- clock.runAll();
- assert.equal(tree.childAt(0).prop('tabIndex'), 1);
- tree.simulate('focus', {...event, type: 'focus'});
- assert(preventDefault.called);
- assert(stopPropagation.called);
- assert.equal(document.activeElement, tree.find(Button).first().getDOMNode());
- event.key = 'Tab';
- event.shiftKey = true;
- tree.find(Button).first().simulate('keydown', {...event, type: 'keydown'});
- assert(preventDefault.calledTwice);
- assert(stopPropagation.calledTwice);
- assert.equal(document.activeElement, tree.find(Button).last().getDOMNode());
- event.shiftKey = false;
- tree.find(Button).last().simulate('keydown', {...event, type: 'keydown'});
- assert(preventDefault.calledThrice);
- assert(stopPropagation.calledThrice);
- assert.equal(document.activeElement, tree.find(Button).first().getDOMNode());
-
- // Should support stopPropagation from within onKeyDown event listener
- tree.setProps({
- 'onKeyDown': e => e.isPropagationStopped = () => true
- });
- event.shiftKey = true;
- tree.find(Button).first().simulate('keydown', {...event, type: 'keydown'});
- assert(preventDefault.calledThrice);
- assert(stopPropagation.calledThrice);
- assert.equal(document.activeElement, tree.find(Button).first().getDOMNode());
- });
-});
diff --git a/test/ColumnView/Column.js b/test/ColumnView/Column.js
deleted file mode 100644
index bff626dd2e9..00000000000
--- a/test/ColumnView/Column.js
+++ /dev/null
@@ -1,206 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {ArrayDataSource, EditableCollectionView, IndexPath} from '@react/collection-view';
-import assert from 'assert';
-import Column from '../../src/ColumnView/js/Column';
-import {data, renderItem, TestDS} from './utils';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {sleep} from '../utils';
-
-describe('Column', function () {
- let ds;
- beforeEach(async function () {
- ds = new TestDS;
- await ds.navigateToItem(null);
- });
-
- it('should render a collection view', function () {
- let wrapper = shallow( );
- assert.equal(wrapper.type(), EditableCollectionView);
- assert(wrapper.prop('dataSource') instanceof ArrayDataSource);
- assert.deepEqual(wrapper.prop('selectedIndexPaths'), []);
- });
-
- it('should allow multiple highlighting if selection is enabled', function () {
- let wrapper = shallow( );
- assert.equal(wrapper.prop('allowsMultipleSelection'), true);
- });
-
- it('should render an item view', function () {
- let wrapper = shallow( );
- let itemNode = ds.navigationStack[0].children.getItem(0, 0);
- let item = wrapper.wrap(wrapper.instance().renderItemView('item', itemNode));
- assert.equal(item.prop('item'), itemNode);
- assert.equal(item.prop('renderItem'), renderItem);
- assert.equal(item.prop('isSelected'), false);
- });
-
- it('should select an item', function () {
- let wrapper = shallow( );
- let itemNode = ds.navigationStack[0].children.getItem(0, 0);
- let item = wrapper.wrap(wrapper.instance().renderItemView('item', itemNode));
- assert.equal(item.prop('allowsSelection'), true);
-
- assert.deepEqual(ds.getSelection(), []);
- item.simulate('select', data[0]);
- assert.deepEqual(ds.getSelection(), [data[0]]);
- });
-
- it('should highlight a navigated item', async function () {
- await ds.navigateToItem(data[1]);
- let wrapper = shallow( );
- assert.deepEqual(wrapper.prop('selectedIndexPaths'), [new IndexPath(0, 1)]);
- });
-
- it('should trigger a navigate when highlighting an item', async function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- wrapper.simulate('selectionChanged');
- await sleep(0); // navigate is async
- assert.equal(ds.navigationStack.length, 2);
- assert.deepEqual(ds.navigationStack[1].item, data[1]);
- });
-
- it('should navigate to the parent if no items are selected', async function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: []
- };
-
- wrapper.simulate('selectionChanged');
- await sleep(0); // navigate is async
- assert.equal(ds.navigationStack.length, 1);
- assert.deepEqual(ds.navigationStack[0].item, null);
- });
-
- it('should not navigate if multiple items are selected', async function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 0), new IndexPath(0, 1)]
- };
-
- wrapper.simulate('selectionChanged');
- await sleep(0); // navigate is async
- assert.equal(ds.navigationStack.length, 1);
- assert.deepEqual(ds.navigationStack[0].item, null);
- });
-
- it('should commit the selection when pressing enter', function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- assert.deepEqual(ds.getSelection(), []);
- wrapper.simulate('keyDown', {key: 'Enter'});
- assert.deepEqual(ds.getSelection(), [data[1]]);
- });
-
- it('should not commit the selection when pressing enter if selection is not enabled', function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- assert.deepEqual(ds.getSelection(), []);
- wrapper.simulate('keyDown', {key: 'Enter'});
- assert.deepEqual(ds.getSelection(), []);
- });
-
- it('should commit the selection when pressing enter for branch items if enabled', function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 0), new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- assert.deepEqual(ds.getSelection(), []);
- wrapper.simulate('keyDown', {key: 'Enter'});
- assert.deepEqual(ds.getSelection(), [data[0], data[1]]);
- });
-
- it('should not commit the selection when pressing enter for branch items if not enabled', function () {
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 0), new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- assert.deepEqual(ds.getSelection(), []);
- wrapper.simulate('keyDown', {key: 'Enter'});
- assert.deepEqual(ds.getSelection(), [data[1]]);
- });
-
- it('should unselect the highlighted items when pressing enter if they are all already selected', function () {
- ds.setSelected([data[0], data[1]], true);
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 0), new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- assert.deepEqual(ds.getSelection(), [data[0], data[1]]);
- wrapper.simulate('keyDown', {key: 'Enter'});
- assert.deepEqual(ds.getSelection(), []);
- });
-
- it('should select the highlighted items when pressing enter if there are mixed selected and unselected items', function () {
- ds.setSelected([data[0]], true);
- let wrapper = shallow( );
- wrapper.instance().collection = {
- selectedIndexPaths: [new IndexPath(0, 0), new IndexPath(0, 1)],
- getItem: (indexPath) => ds.navigationStack[0].children.getItem(indexPath.section, indexPath.index)
- };
-
- assert.deepEqual(ds.getSelection(), [data[0]]);
- wrapper.simulate('keyDown', {key: 'Enter'});
- assert.deepEqual(ds.getSelection(), [data[0], data[1]]);
- });
-
- it('should navigate to the next column when pressing the right arrow key', async function () {
- let wrapper = shallow( );
-
- wrapper.simulate('keyDown', {key: 'ArrowRight'});
-
- await sleep(0); // navigate is async
- assert.equal(ds.navigationStack.length, 2);
- assert.equal(ds.navigationStack[0].item, null);
- assert.equal(ds.navigationStack[1].item, data[0]);
- });
-
- it('should navigate to the previous column when pressing the left arrow key', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToNext();
- let wrapper = shallow( );
-
- assert.equal(ds.navigationStack.length, 3);
- wrapper.simulate('keyDown', {key: 'ArrowLeft'});
- await sleep(10);
-
- assert.equal(ds.navigationStack.length, 2);
- assert.equal(ds.navigationStack[0].item, null);
- assert.equal(ds.navigationStack[1].item, data[0]);
- });
-});
diff --git a/test/ColumnView/ColumnView.js b/test/ColumnView/ColumnView.js
deleted file mode 100644
index 8677fb68eea..00000000000
--- a/test/ColumnView/ColumnView.js
+++ /dev/null
@@ -1,140 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Column from '../../src/ColumnView/js/Column';
-import {ColumnView} from '../../src/ColumnView';
-import {data, renderItem, TestDS, TreeDS} from './utils';
-import {IndexPath} from '@react/collection-view';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-describe('ColumnView', () => {
- let ds;
- beforeEach(async function () {
- ds = new TestDS;
- await ds.navigateToItem(null);
- });
-
- it('passes default props to Column', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert(tree.hasClass('spectrum-MillerColumns'));
- let col = tree.find(Column);
-
- assert.equal(col.length, 1);
- assert.equal(tree.find(Column).prop('allowsSelection'), false);
- assert.equal(tree.find(Column).prop('allowsBranchSelection'), false);
- });
-
- it('renders a detail column', async () => {
- let renderDetail = sinon.spy();
- const tree = shallow( , {disableLifecycleMethods: true});
- assert(!renderDetail.called);
-
- await ds.navigateToItem(data[1]);
- assert(tree.find(Column));
- assert(tree.find('.spectrum-MillerColumns-item'));
- assert(renderDetail.calledTwice);
- await ds.navigateToItem(null);
- });
-
- it('calls the selectionChange prop', async () => {
- let onSelectionChange = sinon.spy();
- shallow( , {disableLifecycleMethods: true});
-
- await ds.setSelected([data[1]]);
- assert(onSelectionChange.calledOnce);
- });
-
- it('calls the onNavigate prop', async () => {
- let onNavigate = sinon.spy();
- let wrapper = mount( );
- let instance = wrapper.instance();
- assert.equal(instance.mounted, true);
-
- // Navigate to the first column then the 2nd
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[0]);
- await sleep(50);
- let col = wrapper.find(Column).last().instance();
- if (col.collection.focusedIndexPath) {
- assert(col.collection.focusedIndexPath.equals(new IndexPath(0, 0)));
- }
- assert.equal(wrapper.state('focusedColumnIndex'), 1);
-
- assert.equal(onNavigate.callCount, 4);
- assert.deepEqual(onNavigate.getCall(0).args[0], [data[0]]);
- assert.deepEqual(onNavigate.getCall(onNavigate.callCount - 1).args[0][0], data[0]);
- assert.deepEqual(onNavigate.getCall(onNavigate.callCount - 1).args[0][1], data[0].children[0]);
- wrapper.unmount();
- assert.equal(instance.mounted, false);
- });
-
- it('should set the selected items if passed', async () => {
- class Test extends TestDS {
- isItemEqual(a, b) {
- return a.label === b.label;
- }
- }
-
- let ds = new Test;
-
- shallow( , {disableLifecycleMethods: true});
- assert.equal(ds.isSelected({label: 'Child 1'}), true);
- });
-
- it('should work with a TreeDataSource', async () => {
- let ds = new TreeDS;
- let tree = shallow( , {disableLifecycleMethods: true});
- await sleep(100);
- let col = tree.find(Column);
- assert.equal(col.length, 1);
- assert.equal(col.prop('item').children.getSectionLength(0), 2);
- });
-
- describe('navigatedPath', function () {
- it('should navigate to a nested item', async function () {
- let tree = shallow( , {disableLifecycleMethods: true});
- await sleep(100);
- let col = tree.find(Column);
- assert.equal(col.length, 3);
- });
-
- it('should navigate to a nested item using isItemEqual comparator', async function () {
- let tree = shallow( , {disableLifecycleMethods: true});
- await sleep(100);
- let col = tree.find(Column);
- assert.equal(col.length, 3);
- });
- });
-
- describe('Accessibility', () => {
- it('should have role="tree"', () => {
- let wrapper = shallow( , {disableLifecycleMethods: true});
- assert.equal(wrapper.prop('role'), 'tree');
- });
-
- it('should have aria-multiselectable="true"', () => {
- let wrapper = shallow( , {disableLifecycleMethods: true});
- assert.equal(wrapper.prop('aria-multiselectable'), false);
- wrapper.setProps({allowsSelection: true});
- assert.equal(wrapper.prop('aria-multiselectable'), true);
- });
- });
-});
diff --git a/test/ColumnView/ColumnViewDataSource.js b/test/ColumnView/ColumnViewDataSource.js
deleted file mode 100644
index 756c1667e0c..00000000000
--- a/test/ColumnView/ColumnViewDataSource.js
+++ /dev/null
@@ -1,604 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {ColumnViewDataSource} from '../../src/ColumnView';
-import {data, TestDS, TreeDS} from './utils';
-import {IndexPath} from '@react/collection-view';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-describe('ColumnViewDataSource', function () {
- let ds;
-
- function testEmitter(emitter) {
- emitter.emittedEvents = [];
-
- emitter.emit = function (...args) {
- emitter.emittedEvents.push(args.map(arg => arg && arg.copy ? arg.copy() : arg));
- };
- }
-
- function checkSortedChildren(node) {
- for (let i = 0; i < node.children.length; i++) {
- assert.equal(node.children[i].index, i);
-
- if (node.children[i].children) {
- checkSortedChildren(node.children[i]);
- }
- }
- }
-
- beforeEach(async function () {
- ds = new TestDS;
- await ds.navigateToItem(null);
- });
-
- it('should navigate to the root by default', function () {
- assert.equal(ds.navigationStack.length, 1);
- assert.equal(ds.navigationStack[0].item, null);
- assert.equal(ds.navigationStack[0].hasChildren, true);
- assert.equal(ds.navigationStack[0].children.sections[0][0].item, data[0]);
- });
-
- it('should navigate to an item', async function () {
- let spy = sinon.spy();
- ds.on('navigate', spy);
-
- await ds.navigateToItem(data[0]);
- assert.equal(ds.navigationStack.length, 2);
- assert.equal(ds.navigationStack[0].item, null);
- assert.equal(ds.navigationStack[1].item, data[0]);
- assert.equal(ds.navigationStack[1].hasChildren, true);
- assert.equal(ds.navigationStack[1].children.sections[0][0].item, data[0].children[0]);
-
- assert(spy.calledTwice);
- assert.deepEqual(spy.getCall(0).args[0], [data[0]]);
- });
-
- it('should navigate further down the tree', async function () {
- let spy = sinon.spy();
- ds.on('navigate', spy);
-
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[1]);
- assert.equal(ds.navigationStack.length, 3);
- assert.equal(ds.navigationStack[0].item, null);
- assert.equal(ds.navigationStack[1].item, data[0]);
- assert.equal(ds.navigationStack[2].item, data[0].children[1]);
- assert.equal(ds.navigationStack[2].hasChildren, false);
-
- assert.equal(spy.callCount, 4);
- assert.deepEqual(spy.getCall(2).args[0], [data[0], data[0].children[1]]);
- });
-
- it('should navigate to the next column', async function () {
- await ds.navigateToNext();
- assert.equal(ds.navigationStack.length, 2);
- assert.equal(ds.navigationStack[0].item, null);
- assert.equal(ds.navigationStack[1].item, data[0]);
- assert.equal(ds.navigationStack[1].hasChildren, true);
- assert.equal(ds.navigationStack[1].children.sections[0][0].item, data[0].children[0]);
- });
-
- it('should navigate to the previous column', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToNext();
- await ds.navigateToPrevious();
- assert.equal(ds.navigationStack.length, 2);
- assert.equal(ds.navigationStack[0].item, null);
- });
-
- it('should not navigate to the next column if there are no children', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToNext();
- await ds.navigateToNext();
- await ds.navigateToNext();
- await ds.navigateToNext();
- assert.equal(ds.navigationStack.length, 4);
- });
-
- it('should not navigate to the previous column if already at the first', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToPrevious();
- assert.equal(ds.navigationStack.length, 2);
- assert.equal(ds.navigationStack[0].item, null);
- });
-
- it('should return whether an item in the navigation path', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[1]);
- assert.equal(ds.isNavigated(data[0]), true);
- assert.equal(ds.isNavigated(data[0].children[1]), true);
- assert.equal(ds.isNavigated(data[1]), false);
- });
-
- it('should get the detail item if no children', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[1]);
- assert.equal(ds.getDetailItem(), data[0].children[1]);
- });
-
- it('should not get a detail item if there are children', async function () {
- await ds.navigateToItem(data[0]);
- assert.equal(ds.getDetailItem(), null);
- });
-
- it('should select an item and reloadItems items up to parent level', async function () {
- let spy = sinon.spy();
- let parentValue = ds._lookupItem(data[0]);
-
- ds.on('selectionChange', spy);
- testEmitter(parentValue.parent.children);
-
- ds.selectItem(data[0]);
- assert.deepEqual(parentValue.parent.children.emittedEvents[0], ['reloadItem', new IndexPath(0, 0), false]);
- assert.equal(ds.selectedItems.size, 1);
- assert(spy.calledOnce);
- assert.deepEqual(spy.getCall(0).args[0], [data[0]]);
-
- await ds.navigateToItem(data[0]);
- let childValue = ds._lookupItem(data[0].children[0]);
- testEmitter(childValue.parent.children);
-
- ds.selectItem(data[0].children[0]);
- assert.deepEqual(parentValue.parent.children.emittedEvents[0], ['reloadItem', new IndexPath(0, 0), false]);
- assert.deepEqual(childValue.parent.children.emittedEvents[0], ['reloadItem', new IndexPath(0, 0), false]);
- assert.equal(ds.selectedItems.size, 2);
- assert(spy.calledTwice);
- assert.deepEqual(spy.getCall(1).args[0], [data[0], data[0].children[0]]);
- });
-
- it('should deselect an item and reloadItems items up to parent level', async function () {
- ds.selectItem(data[0]);
- assert.equal(ds.selectedItems.size, 1);
-
- await ds.navigateToItem(data[0]);
- ds.selectItem(data[0].children[0]);
- assert.equal(ds.selectedItems.size, 2);
-
- let spy = sinon.spy();
- let parentValue = ds._lookupItem(data[0]);
- ds.on('selectionChange', spy);
- testEmitter(parentValue.parent.children);
-
- ds.deselectItem(data[0]);
- assert.deepEqual(parentValue.parent.children.emittedEvents[0], ['reloadItem', new IndexPath(0, 0), false]);
- assert.equal(ds.selectedItems.size, 1);
- assert(spy.calledOnce);
- assert.deepEqual(spy.getCall(0).args[0], [data[0].children[0]]);
-
- let childValue = ds._lookupItem(data[0].children[0]);
- testEmitter(childValue.parent.children);
-
- ds.deselectItem(data[0].children[0]);
- assert.deepEqual(parentValue.parent.children.emittedEvents[0], ['reloadItem', new IndexPath(0, 0), false]);
- assert.deepEqual(childValue.parent.children.emittedEvents[0], ['reloadItem', new IndexPath(0, 0), false]);
- assert.equal(ds.selectedItems.size, 0);
- assert(spy.calledTwice);
- assert.deepEqual(spy.getCall(1).args[0], []);
- });
-
- it('should set multiple items selected or deselected', async function () {
- let spy = sinon.spy();
- ds.on('selectionChange', spy);
-
- await ds.navigateToItem(data[0]);
- ds.setSelected([data[0], data[0].children[0]], true);
- assert.equal(ds.selectedItems.size, 2);
- assert(spy.calledOnce);
- assert.deepEqual(spy.getCall(0).args[0], [data[0], data[0].children[0]]);
-
- ds.setSelected([data[0], data[0].children[0]], false);
- assert.equal(ds.selectedItems.size, 0);
- assert(spy.calledTwice);
- assert.deepEqual(spy.getCall(1).args[0], []);
- });
-
- it('should clear the selection', async function () {
- let spy = sinon.spy();
- ds.on('selectionChange', spy);
-
- await ds.navigateToItem(data[0]);
- ds.setSelected([data[0], data[0].children[0]], true);
- assert.equal(ds.selectedItems.size, 2);
- assert(spy.calledOnce);
- assert.deepEqual(spy.getCall(0).args[0], [data[0], data[0].children[0]]);
-
- ds.clearSelection();
- assert.equal(ds.selectedItems.size, 0);
- assert(spy.calledTwice);
- assert.deepEqual(spy.getCall(1).args[0], []);
- });
-
- it('should get the selected items', async function () {
- let spy = sinon.spy();
- ds.on('selectionChange', spy);
-
- await ds.navigateToItem(data[0]);
- ds.setSelected([data[0], data[0].children[0]], true);
- assert.deepEqual(ds.getSelection(), [data[0], data[0].children[0]]);
- });
-
- it('should check if an item is selected', async function () {
- await ds.navigateToItem(data[0]);
- ds.setSelected([data[0], data[0].children[0]], true);
- assert.equal(ds.isSelected(data[0]), true);
- assert.equal(ds.isSelected(data[0].children[0]), true);
- assert.equal(ds.isSelected(data[1]), false);
- });
-
- it('should select items by object reference by default', async function () {
- ds.isItemEqual = null;
- await ds.navigateToItem(data[0]);
-
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), false);
- ds.selectItem(data[0].children[0]);
-
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), true);
-
- ds.deselectItem(data[0].children[0]);
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), false);
- });
-
- it('should support selecting objects equivalent by isItemEqual comparator', async function () {
- class Test extends TestDS {
- isItemEqual(a, b) {
- return a.label === b.label;
- }
- }
-
- let ds = new Test;
- await sleep(10);
- await ds.navigateToItem(data[0]);
-
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), false);
- ds.selectItem(data[0].children[0]);
-
- assert.equal(ds.isSelected({label: 'Child 1'}), true);
- assert.equal(ds.isSelected(data[0].children[0]), true);
-
- ds.deselectItem({label: 'Child 1'});
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), false);
- });
-
- it('should support selecting objects equivalent by isItemEqual comparator with TreeDataSource', async function () {
- let ds = new ColumnViewDataSource(new TreeDS);
- await sleep(10);
- await ds.navigateToItem(data[0]);
-
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), false);
- ds.selectItem(data[0].children[0]);
-
- assert.equal(ds.isSelected({label: 'Child 1'}), true);
- assert.equal(ds.isSelected(data[0].children[0]), true);
-
- ds.deselectItem({label: 'Child 1'});
- assert.equal(ds.isSelected({label: 'Child 1'}), false);
- assert.equal(ds.isSelected(data[0].children[0]), false);
- });
-
- describe('insertChild', function () {
- it('should do nothing if children not yet loaded', async function () {
- testEmitter(ds.root.children);
- ds.insertChild(data[1], 0, {name: 'Child 0', children: []});
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false]
- ]);
- });
-
- it('should insert a child', async function () {
- await ds.navigateToItem(data[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- ds.insertChild(data[0], 0, {name: 'Child 0', children: []});
-
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should append a child', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- ds.insertChild(data[0], 2, {name: 'Child 3', children: []});
-
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should insert into an empty item', async function () {
- await ds.navigateToItem(data[1]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- testEmitter(ds.root.children);
-
- ds.insertChild(data[1], 0, {name: 'Child 3', children: []});
-
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false]
- ]);
-
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should append to the root', async function () {
- testEmitter(ds.root.children);
- ds.insertChild(null, 2, {name: 'Root 3', children: []});
-
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
- });
-
- describe('removeItem', function () {
- it('should do nothing if children not yet loaded', async function () {
- testEmitter(ds.root.children);
- ds.removeItem(data[0].children[0]);
- assert.deepEqual(ds.root.children.emittedEvents, []);
- });
-
- it('should remove a child', async function () {
- await ds.navigateToItem(data[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
-
- ds.removeItem(data[0].children[0]);
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should update disclosure indicator if removing last child', async function () {
- await ds.navigateToItem(data[0]);
- await ds.removeItem(data[0].children[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- testEmitter(ds.root.children);
-
- ds.removeItem(data[0].children[1]);
-
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false]
- ]);
-
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.equal(ds.navigationStack[1].hasChildren, false);
- checkSortedChildren(ds.root);
- });
-
- it('should update the navigation stack if removing a navigated item', async function () {
- await ds.navigateToItem(data[0]);
- ds.removeItem(data[0]);
-
- assert.equal(ds.navigationStack.length, 1);
- });
- });
-
- describe('moveItem', function () {
- it('should do nothing if the parent is not loaded', async function () {
- testEmitter(ds.root.children);
- ds.moveItem(data[0].children[0], data[0], 1);
- assert.deepEqual(ds.root.children.emittedEvents, []);
- });
-
- it('should remove an item if the destination is not loaded', async function () {
- await ds.navigateToItem(data[0]);
- let children = ds.navigationStack[1].children;
-
- testEmitter(children);
- testEmitter(ds.root.children);
-
- ds.moveItem(data[0].children[0], data[0].children[0].children[0], 0);
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should move an item within the same parent', async function () {
- await ds.navigateToItem(data[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
-
- ds.moveItem(data[0].children[0], 1);
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['moveItem', new IndexPath(0, 0), new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should move an item up the tree', async function () {
- await ds.navigateToItem(data[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- testEmitter(ds.root.children);
-
- ds.moveItem(data[0].children[0], null, 1);
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should move an item down the tree', async function () {
- await ds.navigateToItem(data[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- testEmitter(ds.root.children);
-
- ds.moveItem(data[0], data[0], 1);
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should reload source parent when moving the last item', async function () {
- await ds.navigateToItem(data[0]);
- ds.removeItem(data[0].children[0]);
-
- let children = ds.navigationStack[1].children;
- testEmitter(children);
- testEmitter(ds.root.children);
-
- ds.moveItem(data[0].children[1], null, 1);
- assert.deepEqual(children.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['reloadItem', new IndexPath(0, 0), false],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should reload destination parent when inserting the first item', async function () {
- await ds.navigateToItem(data[1]);
- let dest = ds.navigationStack[1].children;
-
- await ds.navigateToItem(data[0]);
- let source = ds.navigationStack[1].children;
-
- testEmitter(dest);
- testEmitter(source);
- testEmitter(ds.root.children);
-
- ds.moveItem(data[0].children[0], data[1], 0);
- assert.deepEqual(source.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.deepEqual(dest.emittedEvents, [
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 0), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.deepEqual(ds.root.children.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should update the navigation stack if moving a navigated item up the tree', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[0]);
- ds.moveItem(data[0].children[0], null, 1);
-
- assert.deepEqual(ds.navigationStack, [ds.root]);
- });
-
- it('should update the navigation stack if moving a navigated item down the tree', async function () {
- await ds.navigateToItem(data[0]);
- await ds.navigateToItem(data[0].children[0]);
- ds.moveItem(data[0].children[0], data[0].children[1], 1);
-
- assert.deepEqual(ds.navigationStack, [ds.root, ds.root.children.sections[0][0]]);
- });
- });
-
- describe('setNavigatedPath', function () {
- it('should navigate to a nested item', async function () {
- await ds.setNavigatedPath([data[0], data[0].children[0]]);
- assert.deepEqual(ds.navigationStack, [ds.root, ds.root.children.sections[0][0], ds.root.children.sections[0][0].children.sections[0][0]]);
- });
-
- it('should navigate to a nested item using isItemEqual comparator', async function () {
- await ds.setNavigatedPath([{label: 'Test 1'}, {label: 'Child 1'}]);
- assert.deepEqual(ds.navigationStack, [ds.root, ds.root.children.sections[0][0], ds.root.children.sections[0][0].children.sections[0][0]]);
- });
- });
-});
diff --git a/test/ColumnView/Item.js b/test/ColumnView/Item.js
deleted file mode 100644
index 75dc094c8d9..00000000000
--- a/test/ColumnView/Item.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {ArrayDataSource} from '@react/collection-view';
-import assert from 'assert';
-import Item from '../../src/ColumnView/js/Item';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Column Item', () => {
- let renderItem, item;
-
- before(function () {
- item = {
- item: {label: 'Test 1', children: []},
- hasChildren: true,
- getItemId: () => 'test-1-item',
- getColumnId: () => 'test-1-column',
- index: 1
- };
-
- item.parent = {children: new ArrayDataSource([[item, item, item, item, item]])};
- renderItem = function () { ; };
- });
-
- it('sets the correct branch classes based on props', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-AssetList-item'));
- assert(tree.hasClass('is-selectable'));
- assert(tree.hasClass('is-branch'));
- assert(tree.hasClass('is-navigated'));
- assert(!tree.hasClass('is-selected'));
- assert.equal(tree.find('Checkbox').length, 0);
- });
-
- it('sets the correct selected classes based on props', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-AssetList-item'));
- assert(!tree.hasClass('is-selectable'));
- assert(tree.hasClass('is-branch'));
- assert(!tree.hasClass('is-navigated'));
- assert(tree.hasClass('is-selected'));
- });
-
- it('renders a checkbox when with branch selection', () => {
- const tree = shallow( );
- assert.equal(tree.find('Checkbox').length, 1);
- });
-
- it('renders a checkbox without branch selection', () => {
- item.hasChildren = false;
- const tree = shallow( );
- assert.equal(tree.find('Checkbox').length, 1);
- item.hasChildren = true;
- });
-
- it('has ref when mounted', () => {
- const tree = mount( );
- assert(tree.instance().itemRef);
- tree.unmount();
- });
-
- describe('Accessibility', () => {
- it('should have role=treeitem', () => {
- const tree = shallow( );
- assert.equal(tree.prop('role'), 'treeitem');
- assert.equal(tree.prop('aria-labelledby'), 'test-1-item-label');
- assert.equal(tree.find('Checkbox').first().prop('aria-labelledby'), 'test-1-item-label');
- });
-
- it('supports tabIndex', () => {
- const tree = shallow( );
- assert.equal(tree.prop('tabIndex'), 0);
- tree.setProps({focused: false});
- assert.equal(tree.prop('tabIndex'), -1);
- tree.setProps({column: {props: {focused: false}}, focused: true});
- assert.equal(tree.prop('tabIndex'), -1);
- tree.setProps({
- column: {props: {focused: true}},
- focused: false,
- collectionView: {
- focusedIndexPath: null,
- getSectionLength: () => 1
- }
- });
- assert.equal(tree.prop('tabIndex'), 0);
- });
-
- it('supports aria-selected', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-selected'), true);
- tree.setProps({selected: false, isSelected: false});
- assert.equal(tree.prop('aria-selected'), false);
- tree.setProps({allowsBranchSelection: false});
- assert(!tree.prop('aria-selected'));
- });
-
- it('supports aria-level, aria-posinset and aria-setsize', () => {
- const tree = shallow(
- );
- assert.equal(tree.prop('aria-level'), 4);
- assert.equal(tree.prop('aria-posinset'), 2);
- assert.equal(tree.prop('aria-setsize'), 5);
- });
-
- it('clicking checkbox should set focus to item', () => {
- const tree = shallow( );
- tree.instance().itemRef = {
- focus: sinon.spy()
- };
- const stopPropagation = sinon.spy();
- const preventDefault = sinon.spy();
- tree.find('Checkbox').simulate('mousedown', {stopPropagation, preventDefault});
- tree.find('Checkbox').simulate('focus', {stopPropagation, preventDefault});
- assert(stopPropagation.calledOnce);
- assert(preventDefault.calledOnce);
- assert(tree.instance().itemRef.focus.calledOnce);
- });
-
- it('should add aria-owns and aria-describedby for detail view when renderDetail is true', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-owns'), 'test-1-column');
- assert.equal(tree.prop('aria-describedby'), 'test-1-column');
- });
- });
-});
diff --git a/test/ColumnView/utils.js b/test/ColumnView/utils.js
deleted file mode 100644
index e8e817f1bb8..00000000000
--- a/test/ColumnView/utils.js
+++ /dev/null
@@ -1,86 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {ColumnViewDataSource} from '../../src/ColumnView';
-import React from 'react';
-import TreeDataSource from '../../src/TreeDataSource';
-
-export const data = [
- {label: 'Test 1', children: [
- {label: 'Child 1', children: [
- {label: 'Sub Child 1'},
- {label: 'Sub Child 2'},
- {label: 'Sub Child 3'},
- {label: 'Sub Child 4'},
- {label: 'Sub Child 5'},
- {label: 'Sub Child 6'},
- {label: 'Sub Child 7'},
- {label: 'Sub Child 8'}
- ]},
- {label: 'Child 2'}
- ]},
- {label: 'Test 2'}
-];
-
-export class TestDS extends ColumnViewDataSource {
- async getChildren(item) {
- if (!item) {
- return data;
- }
-
- return item.children;
- }
-
- hasChildren(item) {
- return !!item.children;
- }
-
- isItemEqual(a, b) {
- return a.label === b.label;
- }
-}
-
-export class TreeDS extends TreeDataSource {
- async getChildren(item) {
- if (!item) {
- return data;
- }
-
- return item.children;
- }
-
- hasChildren(item) {
- return !!item.children;
- }
-
- isItemEqual(a, b) {
- return a.label === b.label;
- }
-}
-
-export function renderItem(item) {
- return {item.label} ;
-}
-
-export function renderDetail(item) {
- return (
-
-
Detail
-
{item.label}
-
- );
-}
diff --git a/test/ComboBox/ComboBox.js b/test/ComboBox/ComboBox.js
deleted file mode 100644
index dd34c61ab9d..00000000000
--- a/test/ComboBox/ComboBox.js
+++ /dev/null
@@ -1,277 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Autocomplete from '../../src/Autocomplete';
-import Bell from '../../src/Icon/Bell';
-import Button from '../../src/Button';
-import ChevronDownMedium from '../../src/Icon/core/ChevronDownMedium';
-import ComboBox from '../../src/ComboBox';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-import Stop from '../../src/Icon/Stop';
-import Textfield from '../../src/Textfield';
-import Trap from '../../src/Icon/Trap';
-
-const OPTION_ICONS = [
- {label: 'one', icon: },
- {label: 'two', icon: },
- {label: 'three', icon: }
-];
-
-describe('ComboBox', () => {
- let tree;
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- });
- it('should render a textfield and button', () => {
- tree = shallow( );
- assert.equal(tree.type(), Autocomplete);
- assert.equal(tree.prop('className'), 'spectrum-InputGroup');
-
- assert.equal(tree.find(Textfield).length, 1);
- assert.equal(tree.find(Textfield).prop('autocompleteInput'), true);
- assert.equal(tree.find(Button).length, 1);
- assert.equal(tree.find(Button).prop('aria-label'), 'Show suggestions');
- assert.equal(tree.find(Button).childAt(0).type(), ChevronDownMedium);
- });
-
- it('should render classnames for states', () => {
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-InputGroup spectrum-InputGroup--quiet');
- });
-
- it('should get completions from options', () => {
- tree = shallow( );
- assert.deepEqual(tree.prop('getCompletions')('app'), ['apple', 'pineapple', 'Crabapple']);
- assert.deepEqual(tree.prop('getCompletions')('App'), ['apple', 'pineapple', 'Crabapple']);
- assert.deepEqual(tree.prop('getCompletions')('eapp'), ['pineapple']);
- });
-
- it('passes through the renderItem prop', () => {
- tree = shallow( {item.label} } />);
- assert.equal(typeof tree.prop('renderItem'), 'function');
- });
-
- it('should toggle menu on button click', async () => {
- tree = mount( );
- const autoComplete = tree.find(Autocomplete).instance();
- const button = tree.find(Button);
- const buttonNode = button.getDOMNode();
- const textfield = tree.find(Textfield);
- const textfieldNode = textfield.getDOMNode();
-
- button.simulate('mousedown', {preventDefault: () => {}, isDefaultPrevented: () => true});
- button.simulate('mouseup', {preventDefault: () => {}, isDefaultPrevented: () => true});
- assert.notEqual(buttonNode, document.activeElement);
-
- // focus button
- buttonNode.focus();
- assert.equal(buttonNode, document.activeElement);
-
- assert.equal(autoComplete.state.showMenu, false);
- // click button to show menu
- button.simulate('click');
- await sleep(1);
- assert.equal(autoComplete.state.showMenu, true);
- assert.equal(button.instance().props.selected, true);
- assert.equal(textfieldNode, document.activeElement);
-
- tree.update();
-
- const getFocusedProp = () => document.querySelector('li.spectrum-Menu-item').classList[1] === 'is-focused';
-
- // navigate to "focus" first menu item (autocomplete uses aria-activedescendant)
- assert.equal(getFocusedProp(), false);
- textfield.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(getFocusedProp(), true);
-
- // click button to hide menu
- button.simulate('click');
- await sleep(1);
- assert.equal(autoComplete.state.showMenu, false);
- assert.equal(button.instance().props.selected, false);
- assert.equal(textfieldNode, document.activeElement);
- });
-
- it('should not filter if we havent changed', () => {
- tree = shallow( );
- assert.deepEqual(tree.prop('getCompletions')('two'), ['one', 'two', 'three']);
- tree.prop('onChange')();
- assert.deepEqual(tree.prop('getCompletions')('t'), ['two', 'three']);
- });
-
- it('should support icons', function () {
- tree = shallow( );
- assert.equal(tree.prop('getCompletions')('t').length, 2);
- assert.equal(tree.prop('getCompletions')('tw').length, 1);
- });
-
- it('should support additional classNames', () => {
- tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-InputGroup myClass');
- });
-
- it('should update accessibility label for button on change', async () => {
- tree = shallow( );
- assert.equal(tree.state.count, null);
- assert.equal(tree.find(Button).prop('aria-label'), 'Show suggestions');
-
- tree.setProps({options: ['one', 'two', 'three']});
-
- // Set properties
- tree.prop('onChange')('b');
- tree.update();
- await sleep(1);
- assert.equal(tree.state('count'), 0);
- assert.equal(tree.find(Button).prop('aria-label'), 'No matching results.');
- tree.prop('onChange')('');
- tree.update();
- await sleep(1);
- assert.equal(tree.state('count'), null);
- assert.equal(tree.find(Button).prop('aria-label'), 'Show 3 suggestions');
- tree.prop('onChange')('b');
- tree.update();
- await sleep(1);
- assert.equal(tree.state('count'), 0);
- assert.equal(tree.find(Button).prop('aria-label'), 'No matching results.');
- tree.prop('onChange')('t');
- tree.update();
- await sleep(1);
- assert.equal(tree.state('count'), 2);
- assert.equal(tree.find(Button).prop('aria-label'), 'Show 2 suggestions');
- tree.prop('onChange')('tw');
- tree.update();
- await sleep(1);
- assert.equal(tree.state('count'), 1);
- assert.equal(tree.find(Button).prop('aria-label'), 'Show suggestion');
- });
-
- it('supports a controlled state', async () => {
- const onChange = sinon.spy();
-
- tree = mount( );
- const autoComplete = tree.find(Autocomplete).instance();
- const button = tree.find(Button);
- const buttonNode = button.getDOMNode();
- const textfield = tree.find(Textfield);
- const textfieldNode = textfield.getDOMNode();
- const instance = tree.instance();
-
- button.simulate('mousedown', {preventDefault: () => {}, isDefaultPrevented: () => true});
- button.simulate('mouseup', {preventDefault: () => {}, isDefaultPrevented: () => true});
- assert.notEqual(buttonNode, document.activeElement);
-
- // focus button
- buttonNode.focus();
- assert.equal(buttonNode, document.activeElement);
-
- // click button to show menu
- button.simulate('click');
- await sleep(1);
- assert.equal(autoComplete.state.showMenu, true);
- assert.equal(button.instance().props.selected, true);
- assert.equal(textfieldNode, document.activeElement);
-
- tree.update();
-
- const getFocusedProp = () => document.querySelector('li.spectrum-Menu-item').classList[1] === 'is-focused';
-
- // navigate to "focus" first menu item (autocomplete uses aria-activedescendant)
- assert.equal(getFocusedProp(), false);
- textfield.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(getFocusedProp(), true);
- textfield.simulate('keyDown', {key: 'ArrowDown', preventDefault: function () {}});
- textfield.simulate('keyDown', {key: 'Enter', preventDefault: function () {}});
-
- // click button to hide menu
- await sleep(1);
-
- assert.equal(onChange.callCount, 1);
- assert.deepEqual(onChange.getCall(0).args[0], 'onetwo');
- assert.equal(autoComplete.state.showMenu, false);
- assert.equal(button.instance().props.selected, false);
- assert.equal(textfieldNode, document.activeElement);
-
- assert.equal(instance.props.value, 'on');
- });
-
- it('supports a controlled state showing menu', async () => {
- const onChange = sinon.spy();
- const onMenuToggle = sinon.spy();
-
- tree = mount( );
- const autoComplete = tree.find(Autocomplete);
- const button = tree.find(Button);
- const buttonNode = button.getDOMNode();
-
- assert.equal(autoComplete.props().showMenu, true);
- assert.equal(button.instance().props.selected, true);
-
- // focus button
- buttonNode.focus();
-
- // click button to show menu
- button.simulate('click');
- await sleep(1);
- assert(onMenuToggle.calledOnce);
- assert.equal(onMenuToggle.getCall(0).args[0], false);
- assert.equal(autoComplete.props().showMenu, true);
- assert.equal(button.instance().props.selected, true);
- tree.prop('onChange')('one');
- await sleep(1);
- assert(onChange.called);
- assert.equal(onChange.getCall(0).args[0], 'one');
- assert.equal(autoComplete.props().showMenu, true);
- assert.equal(button.instance().props.selected, true);
- });
-
- it('supports a controlled state hiding menu', async () => {
- const onChange = sinon.spy();
- const onMenuToggle = sinon.spy();
-
- tree = mount( );
- const autoComplete = tree.find(Autocomplete);
- const button = tree.find(Button);
- const buttonNode = button.getDOMNode();
-
- assert.equal(autoComplete.props().showMenu, false);
- assert.equal(button.instance().props.selected, false);
-
- // focus button
- buttonNode.focus();
-
- // click button to show menu
- button.simulate('click');
- await sleep(1);
- assert(onMenuToggle.calledOnce);
- assert.equal(onMenuToggle.getCall(0).args[0], true);
- assert.equal(autoComplete.props().showMenu, false);
- assert.equal(button.instance().props.selected, false);
- tree.prop('onChange')('one');
- await sleep(1);
- assert(onChange.called);
- assert.equal(onChange.getCall(0).args[0], 'one');
- assert.equal(autoComplete.props().showMenu, false);
- assert.equal(button.instance().props.selected, false);
- });
-});
diff --git a/test/CycleButton/CycleButton.js b/test/CycleButton/CycleButton.js
deleted file mode 100644
index fb1808e37cf..00000000000
--- a/test/CycleButton/CycleButton.js
+++ /dev/null
@@ -1,134 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import CycleButton from '../../src/CycleButton';
-import PauseCircle from '../../src/Icon/PauseCircle';
-import PlayCircle from '../../src/Icon/PlayCircle';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('CycleButton', () => {
- it('renders a tag with correct props', () => {
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]} />);
- assert.equal(tree.prop('className'), 'spectrum-CycleButton');
- assert.equal(tree.prop('quiet'), true);
- assert.equal(tree.prop('variant'), 'action');
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Play');
- assert.equal(tree.children().last().dive().prop('aria-hidden'), true);
- assert.equal(tree.children().last().prop('size'), 'S');
- });
-
- it('renders with defaultAction', () => {
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- defaultAction="pause" />);
- assert.equal(tree.prop('className'), 'spectrum-CycleButton');
- assert.equal(tree.prop('quiet'), true);
- assert.equal(tree.prop('variant'), 'action');
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Pause');
- });
-
- it('renders with controlled component', () => {
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- action="pause" />);
- let instance = tree.instance();
- let preventDefaultSpy = sinon.spy();
- instance.buttonRef = {
- click: () => instance.onClick({preventDefault: preventDefaultSpy})
- };
- assert.equal(tree.prop('className'), 'spectrum-CycleButton');
- assert.equal(tree.prop('quiet'), true);
- assert.equal(tree.prop('variant'), 'action');
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Pause');
- });
-
- it('calls onAction with next action when clicked', () => {
- let onAction = sinon.spy();
- let onChange = sinon.spy();
-
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- onChange={onChange}
- onAction={onAction} />);
- tree.find('Button').simulate('click');
- sinon.assert.calledOnce(onAction);
- sinon.assert.calledWith(onAction, 'play');
- sinon.assert.calledWith(onChange, 'pause');
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Pause');
- tree.find('Button').simulate('click');
- sinon.assert.calledTwice(onAction);
- sinon.assert.calledWith(onAction, 'pause');
- sinon.assert.calledWith(onChange, 'play');
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Play');
- });
-
- it('supports controlled action prop', () => {
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]} />);
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Play');
- tree.setProps({action: 'pause'});
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Pause');
- });
-
- it('calls onChange with current action when controlled', () => {
- let onChange = sinon.spy();
- let onAction = sinon.spy();
-
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- onChange={onChange}
- onAction={onAction}
- action="play" />);
- tree.find('Button').simulate('click');
- sinon.assert.calledWith(onChange, 'pause');
- sinon.assert.calledWith(onAction, 'play');
- assert.equal(tree.state('action'), 'play');
- });
-
- it('renders with disabled', () => {
- let tree = shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- disabled />);
- assert.equal(tree.prop('className'), 'spectrum-CycleButton');
- assert.equal(tree.prop('quiet'), true);
- assert.equal(tree.prop('variant'), 'action');
- assert.equal(tree.find('VisuallyHidden').dive().text(), 'Play');
- assert.equal(tree.children().last().dive().prop('aria-hidden'), true);
- });
-
- it('throws error with invalid defaultAction', () => {
- try {
- shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- defaultAction="invalidAction" />);
- } catch (e) {
- assert.equal(e, 'Invalid Props');
- }
- });
-
- it('throws error with invalid controlled component action', () => {
- try {
- shallow( , label: 'Play'}, {name: 'pause', icon: , label: 'Pause'}]}
- action="invalidAction" />);
- } catch (e) {
- assert.equal(e, 'Invalid Props');
- }
- });
-});
diff --git a/test/Datepicker/Datepicker.js b/test/Datepicker/Datepicker.js
deleted file mode 100644
index b3fdcbb923a..00000000000
--- a/test/Datepicker/Datepicker.js
+++ /dev/null
@@ -1,773 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import Calendar from '../../src/Calendar';
-import CalendarIcon from '../../src/Icon/Calendar';
-import Clock from '../../src/Clock';
-import ClockIcon from '../../src/Icon/Clock';
-import Datepicker from '../../src/Datepicker';
-import moment from 'moment';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import Textfield from '../../src/Textfield';
-
-const DEFAULT_DATE_VAL_FORMAT = 'YYYY-MM-DD';
-const DEFAULT_TIME_VAL_FORMAT = 'HH:mm';
-const DEFAULT_DATE_TIME_VAL_FORMAT = `${DEFAULT_DATE_VAL_FORMAT} ${DEFAULT_TIME_VAL_FORMAT}`;
-const POPOVER_SELECTOR = '.spectrum-Popover';
-const PREV_MONTH_BUTTON_SELECTOR = '.spectrum-Calendar-prevMonth';
-const HOUR_TEXTFIELD_SELECTOR = '.react-spectrum-Clock-hour';
-const MINUTE_TEXTFIELD_SELECTOR = '.react-spectrum-Clock-minute';
-const CLOSE_BUTTON_SELECTOR = '.react-spectrum-Datepicker-closeButton';
-
-describe('Datepicker', () => {
- let clock;
- let tree;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
- afterEach(async () => {
- document.activeElement.blur();
- clock.tick(125);
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.restore();
- });
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Datepicker'), true);
- assert.equal(tree.hasClass('is-invalid'), false);
-
- const textfield = findTextfield(tree);
- assert.equal(textfield.hasClass('spectrum-InputGroup-field'), true);
- assert(!textfield.prop('aria-invalid'));
- assert.equal(textfield.prop('readOnly'), false);
- assert.equal(textfield.prop('disabled'), false);
- assert.equal(textfield.prop('invalid'), false);
- assert.equal(textfield.prop('quiet'), false);
-
- const button = findToggleButton(tree);
- assert.equal(button.prop('variant'), 'field');
- assert.equal(button.prop('icon').type, CalendarIcon);
- assert.equal(button.prop('disabled'), false);
- assert.equal(button.prop('quiet'), false);
-
- const calendar = tree.find(Calendar);
- assert.equal(calendar.prop('disabled'), false);
- assert.equal(calendar.prop('invalid'), false);
- assert.equal(calendar.prop('readOnly'), false);
- assert.equal(calendar.prop('required'), false);
-
- const clock = tree.find(Clock);
- assert.equal(clock.parent().hasClass('react-spectrum-Datepicker-clockContainer'), true);
- assert.equal(clock.prop('disabled'), false);
- assert.equal(clock.prop('invalid'), false);
- assert.equal(clock.prop('readOnly'), false);
- assert.equal(clock.prop('required'), false);
-
- assert.equal(tree.find('OverlayTrigger').prop('placement'), 'right');
- });
-
- it('supports type (date, time, and datetime)', () => {
- const tree = shallow( );
-
- assert.equal(tree.find(Calendar).length, 1);
- assert.equal(tree.find(Clock).length, 0);
- assert.equal(findToggleButton(tree).prop('icon').type, CalendarIcon);
- assert.equal(tree.instance().getDefaultValueFormat(tree.instance().props), 'YYYY-MM-DD');
-
- tree.setProps({type: 'datetime'});
- assert.equal(tree.find(Calendar).length, 1);
- assert.equal(tree.find(Clock).length, 1);
- assert.equal(findToggleButton(tree).prop('icon').type, CalendarIcon);
- assert.equal(tree.instance().getDefaultValueFormat(tree.instance().props), 'YYYY-MM-DD HH:mm');
-
- tree.setProps({type: 'time'});
- assert.equal(tree.find(Calendar).length, 0);
- assert.equal(tree.find(Clock).length, 1);
- assert.equal(findToggleButton(tree).prop('icon').type, ClockIcon);
- assert.equal(tree.instance().getDefaultValueFormat(tree.instance().props), 'HH:mm');
-
- tree.setProps({type: 'foo'});
- assert.throws(() => tree.instance().getDefaultValueFormat(tree.instance().props), 'Error: foo is not a valid type. Must be \'date\', \'datetime\', or \'time\'');
-
- });
-
- it('supports defaultValue uncontrolled behavior', () => {
- const now = moment();
- const tree = shallow( );
-
- // Setting defaultValue later doesn't change the state. Only component interactions
- // change the state.
- tree.setProps({defaultValue: now.clone().add(7, 'day')});
- assert.deepEqual(+tree.state('value'), +now);
-
- // Blurring the textfield should change the value state.
- findTextfield(tree).simulate('blur', {
- target: {value: '2016-08-01'}
- });
- assert.deepEqual(+tree.state('value'), +(new Date(2016, 7, 1)));
- });
-
- it('supports value controlled behavior', () => {
- const now = moment();
- const dateWeekLater = now.clone().add(7, 'day');
-
- const tree = shallow( );
-
- // Changing value will change the state
- tree.setProps({value: dateWeekLater});
- assert.deepEqual(+tree.state('value'), +dateWeekLater);
-
- // Component interaction should not change the state, only manually setting value
- // as a prop will change the state.
- findTextfield(tree).simulate('change', '2016-08-01', {
- stopPropagation: function () {},
- target: {value: '2016-08-01'}
- });
- assert.deepEqual(+tree.state('value'), +dateWeekLater);
- });
-
- describe('onFocus', () => {
- it('focusing textfield', () => {
- const spy = sinon.spy();
- const event = {};
- const tree = shallow( );
-
- findTextfield(tree).simulate('focus', event);
- assert(!spy.called);
- assert(tree.state('focused'));
-
- tree.setState({focused: false});
- tree.setProps({onFocus: spy});
-
- findTextfield(tree).simulate('focus', event);
- assert(spy.calledWith(event));
- assert(tree.state('focused'));
- });
- });
-
- describe('onBlur', () => {
- it('calls onBlur when text input is blurred', () => {
- const spy = sinon.spy();
- const event = {target: {value: '2016-08-01 00:00'}};
- const tree = shallow( );
- findTextfield(tree).simulate('blur', event);
- assert(!spy.called);
- assert(!tree.state('focused'));
-
- tree.setState({focused: true});
- tree.setProps({onBlur: spy});
- findTextfield(tree).simulate('blur', event);
- assert(spy.calledWith(event));
- });
-
- it('calls onBlur when text input is blurred - range', () => {
- const spy = sinon.spy();
- const event = {target: {value: '2016-08-01', name: 'start'}};
- const tree = shallow( );
-
- findTextfield(tree).at(0).simulate('blur', event);
- assert(spy.calledWith(event));
- });
-
- it('calls onBlur when text input is blurred - range start date higher then end date', () => {
- const spy = sinon.spy();
- const event = {target: {value: '2016-08-01', name: 'start'}};
- const tree = shallow( );
- tree.setState({valueText: {start: '', end: '2016-07-01'}});
-
- findTextfield(tree).at(0).simulate('blur', event);
- assert(spy.calledWith(event));
- assert.deepEqual(tree.state('invalid'), true);
- });
-
- it('calls onBlur when text input is blurred - range end date lower then start date', () => {
- const spy = sinon.spy();
- const event = {target: {value: '2016-06-01', name: 'end'}};
- const tree = shallow( );
- tree.setState({valueText: {start: '2016-07-01', end: ''}});
-
- findTextfield(tree).at(1).simulate('blur', event);
- assert(spy.calledWith(event));
- assert.deepEqual(tree.state('invalid'), true);
- });
-
- it('calls onBlur when text input is blurred - range date not valid', () => {
- const spy = sinon.spy();
- const event = {target: {value: 'NOT VALID', name: 'start'}};
- const tree = shallow( );
- tree.setState({valueText: {start: '', end: '2016-07-01'}});
-
- findTextfield(tree).at(0).simulate('blur', event);
- assert(spy.calledWith(event));
- assert.deepEqual(tree.state('invalid'), true);
- });
- });
-
- describe('onChange', () => {
- let spy;
- let tree;
- const assertChangeArgs = (el, args, inputText, date) => {
- args.unshift('change');
- el.simulate(...args);
- const callArgs = spy.lastCall.args;
- assert.equal(callArgs[0], inputText);
- assert.deepEqual(+callArgs[1], +date);
- };
-
- beforeEach(() => {
- spy = sinon.spy();
- tree = shallow( );
- });
-
- it('textfield onChange', () => {
- const textfield = findTextfield(tree);
- const simulatedGoodEvent = {
- stopPropagation: function () {},
- target: {value: '2016-08-01 00:00'}
- };
- const simulatedBadEvent = {
- stopPropagation: function () {},
- target: {value: 'foo'}
- };
-
- textfield.simulate('change', '2016-08-01 00:00', simulatedGoodEvent);
- assert(!spy.called);
-
- textfield.simulate('blur', simulatedGoodEvent);
- const firstCallArgs = spy.lastCall.args;
- assert.equal(firstCallArgs[0], '2016-08-01 00:00');
- assert.equal(+firstCallArgs[1], +(new Date(2016, 7, 1)));
-
- textfield.simulate('blur', simulatedBadEvent);
- const secondCallArgs = spy.lastCall.args;
- assert.equal(secondCallArgs[0], 'foo');
- assert.equal(secondCallArgs[1], null);
- });
-
- it('calendar onChange', () => {
- const calendar = tree.find(Calendar);
- const text = '2016-08-01 00:00';
- const date = moment(text, DEFAULT_DATE_VAL_FORMAT);
- assertChangeArgs(calendar, [date], text, date);
- });
-
- it('calendar onChange with displayFormat', () => {
- tree.setProps({displayFormat: DEFAULT_DATE_VAL_FORMAT});
-
- const calendar = tree.find(Calendar);
- const text = '2016-08-01';
- const date = moment(text, DEFAULT_DATE_VAL_FORMAT);
- assertChangeArgs(calendar, [date], text, date);
- });
-
- it('clock onChange', () => {
- const calendar = tree.find(Calendar);
- const text = '2016-08-01 12:35';
- const date = moment(text, DEFAULT_DATE_TIME_VAL_FORMAT);
- assertChangeArgs(calendar, [date], text, date);
- });
-
- it('clock onChange with displayFormat', () => {
- tree.setProps({displayFormat: 'YYYY-MM-DD hh:mm:ss'});
-
- const calendar = tree.find(Calendar);
- const text = '2016-08-01 12:35:00';
- const date = moment(text, DEFAULT_DATE_TIME_VAL_FORMAT);
- assertChangeArgs(calendar, [date], text, date);
- });
-
- describe('maintains month, day, and year when hour/minute changes are made', () => {
- const date = new Date(2001, 0, 1);
-
- const changeTimeAndGetNewDate = (wrapper, value, field) => {
- const clockEl = shallow(wrapper.find(Clock).getElement()).find(`.react-spectrum-Clock-${field}`);
- clockEl.simulate('change', value, {stopPropagation: function () {}, target: {value: `${value}`}});
- return spy.lastCall.args[1];
- };
-
- beforeEach(() => {
- spy = sinon.spy();
- });
-
- it('when controlled', () => {
- tree = shallow( );
- let newDate = changeTimeAndGetNewDate(tree, 10, 'hour');
- const newTree = tree.setProps({value: newDate});
- newDate = changeTimeAndGetNewDate(newTree, 15, 'minute');
- assert.equal(+newDate, +moment(date).hour(10).minute(15));
- });
-
- it('when not controlled', () => {
- tree = shallow( );
- let newDate = changeTimeAndGetNewDate(tree, 10, 'hour');
- // changeTimeAndGetNewDate is called setState internally. In order for this change to
- // be reflected in the shallow render tree, we need to call update.
- tree = tree.update();
- newDate = changeTimeAndGetNewDate(tree, 15, 'minute');
- assert.equal(+newDate, +moment(date).hour(10).minute(15));
- });
- });
- });
-
- it('supports placeholder', () => {
- const tree = shallow( );
- assert.equal(findTextfield(tree).prop('placeholder'), 'foo');
- });
-
- it('supports quiet', () => {
- const tree = shallow( );
- assert.equal(tree.childAt(0).prop('quiet'), true);
- assert.equal(findTextfield(tree).prop('quiet'), true);
- assert.equal(findToggleButton(tree).prop('quiet'), true);
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert.equal(tree.prop('disabled'), true);
- assert.equal(findTextfield(tree).prop('disabled'), true);
- assert.equal(findToggleButton(tree).prop('disabled'), true);
- assert.equal(tree.find(Calendar).prop('disabled'), true);
- assert.equal(tree.find(Clock).prop('disabled'), true);
- });
-
- it('supports invalid', () => {
- const tree = shallow( );
- assert.equal(tree.prop('invalid'), true);
- assert.equal(findTextfield(tree).prop('invalid'), true);
- assert.equal(tree.find(Calendar).prop('invalid'), true);
- assert.equal(tree.find(Clock).prop('invalid'), true);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- assert.equal(findTextfield(tree).prop('readOnly'), true);
- assert.equal(findToggleButton(tree).prop('disabled'), true);
- assert.equal(tree.find(Calendar).prop('readOnly'), true);
- assert.equal(tree.find(Clock).prop('readOnly'), true);
- });
-
- it('supports required', () => {
- const tree = shallow( );
- assert.equal(tree.find(Calendar).prop('required'), true);
- assert.equal(tree.find(Clock).prop('required'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(findTextfield(tree).prop('foo'), true);
- });
-
- it('supports popover placement', () => {
- const tree = shallow( );
- assert.equal(tree.find('OverlayTrigger').prop('placement'), 'top');
- });
-
- it('supports range', () => {
- const tree = shallow( );
- const textfield = findTextfield(tree);
- assert.equal(textfield.length, 2);
- assert.equal(textfield.at(0).prop('name'), 'start');
- assert(textfield.at(0).hasClass(`spectrum-Datepicker-${textfield.at(0).prop('name')}Field`));
- assert.equal(textfield.at(1).prop('name'), 'end');
- assert(textfield.at(1).hasClass(`spectrum-Datepicker-${textfield.at(1).prop('name')}Field`));
- });
-
- describe('range with type="time"', () => {
- it('calls onChange with new start and end times when clock updates', () => {
- const spy = sinon.spy();
- const tree = shallow( );
-
- const clock = tree.find(Clock);
- assert.equal(clock.length, 2);
- assert.equal(clock.at(0).prop('name'), 'startTime');
- assert.equal(clock.at(1).prop('name'), 'endTime');
-
- // call change event for startTime
- let newValue = moment('01:30', DEFAULT_TIME_VAL_FORMAT);
- clock.at(0).simulate('change', 'start', newValue.format(DEFAULT_TIME_VAL_FORMAT), newValue);
- assert.equal(spy.lastCall.args[0].start, newValue.format(DEFAULT_TIME_VAL_FORMAT));
-
- // call change event for endTime
- newValue = moment('20:30', DEFAULT_TIME_VAL_FORMAT);
- clock.at(1).simulate('change', 'end', newValue.format(DEFAULT_TIME_VAL_FORMAT), newValue);
- assert.equal(spy.lastCall.args[0].end, newValue.format(DEFAULT_TIME_VAL_FORMAT));
- });
- });
- describe('range with type="datetime"', () => {
- it('calls onChange with new time when clock updates', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- const clock = tree.find(Clock);
- assert.equal(clock.length, 2);
- assert.equal(clock.at(0).prop('name'), 'startTime');
- assert.equal(clock.at(1).prop('name'), 'endTime');
- assert.equal(clock.at(0).prop('value').format(DEFAULT_TIME_VAL_FORMAT), '01:30');
- assert.equal(clock.at(1).prop('value').format(DEFAULT_TIME_VAL_FORMAT), '20:30');
-
- // call change event for startTime
- let newValue = clock.at(0).prop('value').clone().minutes(45);
- clock.at(0).simulate('change', 'start', newValue.format(DEFAULT_DATE_TIME_VAL_FORMAT), newValue);
- assert.equal(spy.lastCall.args[0].start, newValue.format(DEFAULT_DATE_TIME_VAL_FORMAT));
-
- // call change event for endTime
- newValue = clock.at(1).prop('value').clone().minutes(45);
- clock.at(1).simulate('change', 'end', newValue.format(DEFAULT_DATE_TIME_VAL_FORMAT), newValue);
- assert.equal(spy.lastCall.args[0].end, newValue.format(DEFAULT_DATE_TIME_VAL_FORMAT));
- });
-
- it('calls onChange with correct start and end times when calendar updates', () => {
- const spy = sinon.spy();
- tree = mount( );
- const instance = tree.instance();
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- let newValue = instance.calendarRef.props.value.clone();
- newValue.start = newValue.start.clone().add(1, 'd');
- newValue.end = newValue.end.clone().subtract(1, 'd');
- instance.calendarRef.setValue(newValue);
- assert.equal(spy.lastCall.args[0].start, newValue.start.format(DEFAULT_DATE_TIME_VAL_FORMAT));
- assert.equal(spy.lastCall.args[0].end, newValue.end.format(DEFAULT_DATE_TIME_VAL_FORMAT));
- });
-
- it('should reverse order if end time is before start time', () => {
- const spy = sinon.spy();
- tree = mount( );
- const instance = tree.instance();
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- let newValue = instance.calendarRef.props.value.clone();
- newValue.end = newValue.end.clone().subtract(2, 'd');
- instance.calendarRef.setValue(newValue);
- assert.equal(spy.lastCall.args[0].start, newValue.end.format(DEFAULT_DATE_TIME_VAL_FORMAT));
- assert.equal(spy.lastCall.args[0].end, newValue.start.format(DEFAULT_DATE_TIME_VAL_FORMAT));
- });
- });
-
- it('calls onChange with correct time when calendar updates', () => {
- const val = moment('2016-08-01 01:30');
- const spy = sinon.spy();
- tree = mount( );
- const instance = tree.instance();
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- tree.setProps({selectionType: 'single'});
- let newValue = instance.calendarRef.props.value.clone().add(1, 'd');
- instance.calendarRef.setValue(newValue);
- assert.equal(spy.lastCall.args[0], newValue.format(DEFAULT_DATE_TIME_VAL_FORMAT));
- });
-
- describe('Accessibility', () => {
- describe('labelling', () => {
- describe('selectionType="single"', () => {
- it('with aria-label', () => {
- tree = mount( );
- const textfield = findTextfield(tree);
- assert.equal(textfield.length, 1);
- assert.equal(textfield.prop('aria-label'), 'Datepicker');
- });
-
- it('with aria-labelledby', () => {
- const ariaLabelledby = 'foo-id';
- tree = mount( );
- const textfield = findTextfield(tree);
- assert.equal(textfield.length, 1);
- assert.equal(textfield.prop('aria-labelledby'), ariaLabelledby);
- });
- });
-
- describe('selectionType="range"', () => {
- it('with aria-label', () => {
- tree = mount( );
- const id = tree.instance().datepickerId;
- const textfield = findTextfield(tree);
- assert.equal(textfield.length, 2);
- assert.equal(textfield.at(0).prop('aria-label'), 'Start Date');
- assert.equal(textfield.at(1).prop('aria-label'), 'End Date');
- assert.equal(tree.find('InputGroup').prop('id'), `${id}-combobox`);
- assert.equal(textfield.at(0).prop('id'), id);
- assert.equal(textfield.at(1).prop('id'), `${id}-end`);
- assert.equal(textfield.at(0).prop('aria-labelledby'), `${id}-combobox ${id}`);
- assert.equal(textfield.at(1).prop('aria-labelledby'), `${id}-combobox ${id}-end`);
- });
-
- it('with aria-labelledby', () => {
- const ariaLabelledby = 'foo-id';
- tree = mount( );
- const id = tree.instance().datepickerId;
- const textfield = findTextfield(tree);
- assert.equal(textfield.length, 2);
- assert.equal(textfield.at(0).prop('aria-label'), 'Start Date');
- assert.equal(textfield.at(1).prop('aria-label'), 'End Date');
- assert.equal(tree.find('InputGroup').prop('id'), `${id}-combobox`);
- assert.equal(textfield.at(0).prop('id'), id);
- assert.equal(textfield.at(1).prop('id'), `${id}-end`);
- assert.equal(textfield.at(0).prop('aria-labelledby'), `${ariaLabelledby} ${id}`);
- assert.equal(textfield.at(1).prop('aria-labelledby'), `${ariaLabelledby} ${id}-end`);
- });
- });
- });
- });
-
- it('supports expanding popover using the down arrow', () => {
- const spy = sinon.spy();
- const showSpy = sinon.spy();
- const event = {key: 'ArrowDown', defaultPrevented: false};
- const tree = shallow( );
- tree.instance().overlayTriggerRef = {show: showSpy};
- findTextfield(tree).simulate('keydown', event);
- assert(!spy.called);
- assert(showSpy.calledWith(event));
-
- showSpy.resetHistory();
- tree.setProps({onKeyDown: spy});
- findTextfield(tree).simulate('keydown', event);
- assert(spy.calledWith(event));
- assert(showSpy.calledWith(event));
-
- spy.resetHistory();
- showSpy.resetHistory();
- event.key = 'Down';
- findTextfield(tree).simulate('keydown', event);
- assert(spy.calledWith(event));
- assert(showSpy.calledWith(event));
-
- spy.resetHistory();
- showSpy.resetHistory();
- event.key = 'ArrowUp';
- findTextfield(tree).simulate('keydown', event);
- assert(spy.calledWith(event));
- assert(!showSpy.called);
-
- spy.resetHistory();
- showSpy.resetHistory();
- event.key = 'ArrowDown';
- findToggleButton(tree).simulate('keydown', event);
- assert(spy.calledWith(event));
- assert(showSpy.calledWith(event));
-
- spy.resetHistory();
- showSpy.resetHistory();
- event.defaultPrevented = true;
- findTextfield(tree).simulate('keydown', event);
- assert(spy.calledWith(event));
- assert(!showSpy.called);
- });
-
- it('clicking overlay trigger button toggles open state', async () => {
- tree = mount( );
- const instance = tree.instance();
- assert(!tree.state('open'));
- findToggleButton(tree).getDOMNode().focus();
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(tree.state('open'));
- assert.equal(document.activeElement, instance.calendarRef.calendarBody);
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(!tree.state('open'));
-
- // textfield should receive focus on close
- assert.equal(document.activeElement, findToggleButton(tree).getDOMNode());
- });
-
- describe('focus management', () => {
- let clock;
- let tree;
- let instance;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- tree = mount( );
- instance = tree.instance();
- });
- afterEach(async () => {
- document.activeElement.blur();
- clock.tick(125);
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.restore();
- });
-
- it('when type=date/datetime, should focus previous month button when Popover dialog element receives focus', async () => {
- assert(!tree.state('open'));
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(tree.state('open'));
- assert.equal(document.activeElement, instance.calendarRef.calendarBody);
- // trapFocus should manage focus among descendants, so blur before testing trapFocus on Popover itself
- document.activeElement.blur();
- document.querySelector(POPOVER_SELECTOR).focus();
- assert.equal(document.activeElement, document.querySelector(PREV_MONTH_BUTTON_SELECTOR));
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(!tree.state('open'));
- });
-
- it('when type=time, should focus hours input when Popover dialog element receives focus', async () => {
- // Clock type
- tree.setProps({type: 'time'});
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(tree.state('open'));
- assert.equal(document.activeElement, document.querySelector(HOUR_TEXTFIELD_SELECTOR));
- // trapFocus should manage focus among descendants, so blur before testing trapFocus on Popover itself
- document.activeElement.blur();
- document.querySelector(POPOVER_SELECTOR).focus();
- assert.equal(document.activeElement, document.querySelector(HOUR_TEXTFIELD_SELECTOR));
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(!tree.state('open'));
- });
-
- it('close button closes popover and restores focus to last focus', async () => {
- tree.setProps({type: 'date'});
-
- // when opening from toggle button
- findToggleButton(tree).getDOMNode().focus();
- findToggleButton(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(tree.state('open'));
- document.querySelector(CLOSE_BUTTON_SELECTOR).focus();
- document.querySelector(CLOSE_BUTTON_SELECTOR).click();
- clock.tick(125);
- assert(!tree.state('open'));
-
- // toggle button should receive focus on close
- assert.equal(document.activeElement, findToggleButton(tree).getDOMNode());
-
- // when opening from textfield
- findTextfield(tree).getDOMNode().focus();
- findTextfield(tree).simulate('keydown', {key: 'ArrowDown', defaultPrevented: false});
- clock.tick(125);
- assert(tree.state('open'));
- document.querySelector(CLOSE_BUTTON_SELECTOR).focus();
- document.querySelector(CLOSE_BUTTON_SELECTOR).click();
- clock.tick(125);
- assert(!tree.state('open'));
-
- // textfield should receive focus on close
- assert.equal(document.activeElement, findTextfield(tree).getDOMNode());
- });
-
- it('should wrap focus within popover', async () => {
- findTextfield(tree).simulate('focus');
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(tree.state('open'));
- const preventDefault = sinon.spy();
- const stopPropagation = sinon.spy();
- const event = {
- type: 'keydown',
- key: 'Tab',
- shiftKey: false,
- target: instance.calendarRef.calendarBody,
- preventDefault,
- stopPropagation,
- isPropagationStopped: () => false
- };
- instance.popoverRef.onKeyDown(event);
- assert(preventDefault.called);
- assert(stopPropagation.called);
- assert.equal(document.activeElement, document.querySelector(PREV_MONTH_BUTTON_SELECTOR));
- document.activeElement.blur();
-
- tree.setProps({type: 'datetime'});
- event.target = document.querySelector(MINUTE_TEXTFIELD_SELECTOR);
- instance.popoverRef.onKeyDown(event);
- assert(preventDefault.calledTwice);
- assert(stopPropagation.calledTwice);
- assert.equal(document.activeElement, document.querySelector(PREV_MONTH_BUTTON_SELECTOR));
- document.activeElement.blur();
-
- tree.setProps({type: 'time'});
- event.target = document.querySelector(MINUTE_TEXTFIELD_SELECTOR);
- instance.popoverRef.onKeyDown(event);
- assert(preventDefault.calledThrice);
- assert(stopPropagation.calledThrice);
- assert.equal(document.activeElement, document.querySelector(HOUR_TEXTFIELD_SELECTOR));
-
- // shiftKey=true
- event.target = document.querySelector(HOUR_TEXTFIELD_SELECTOR);
- event.shiftKey = true;
- instance.popoverRef.onKeyDown(event);
- assert.equal(preventDefault.callCount, 4);
- assert.equal(stopPropagation.callCount, 4);
- assert.equal(document.activeElement, document.querySelector(MINUTE_TEXTFIELD_SELECTOR));
-
- tree.setProps({type: 'datetime'});
- event.target = document.querySelector(PREV_MONTH_BUTTON_SELECTOR);
- instance.popoverRef.onKeyDown(event);
- assert.equal(preventDefault.callCount, 5);
- assert.equal(stopPropagation.callCount, 5);
- assert.equal(document.activeElement, document.querySelector(MINUTE_TEXTFIELD_SELECTOR));
-
- tree.setProps({type: 'date'});
- event.target = document.querySelector(PREV_MONTH_BUTTON_SELECTOR);
- instance.popoverRef.onKeyDown(event);
- assert.equal(preventDefault.callCount, 6);
- assert.equal(stopPropagation.callCount, 6);
- assert.equal(document.activeElement, instance.calendarRef.calendarBody);
-
- const date = moment('2016-08-01', DEFAULT_DATE_VAL_FORMAT);
- instance.handleCalendarChange(date);
- clock.tick(125);
- assert(!tree.state('open'));
- });
-
- it('Enter key should close popover', async () => {
- tree.setProps({type: 'datetime'});
- findToggleButton(tree).simulate('click');
- clock.tick(125);
- assert(tree.state('open'));
- const preventDefault = sinon.spy();
- const stopPropagation = sinon.spy();
- const event = {
- type: 'keydown',
- key: 'Enter',
- target: document.querySelector(HOUR_TEXTFIELD_SELECTOR),
- preventDefault,
- stopPropagation,
- isPropagationStopped: () => true
- };
- instance.popoverRef.onKeyDown(event);
- assert(stopPropagation.called);
- clock.tick(125);
- assert(!tree.state('open'));
- });
- });
-});
-
-const findTextfield = tree => tree.find(Textfield);
-const findToggleButton = tree => tree.find(Button).first();
diff --git a/test/Dial/Dial.js b/test/Dial/Dial.js
deleted file mode 100644
index 7cd0360183c..00000000000
--- a/test/Dial/Dial.js
+++ /dev/null
@@ -1,368 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Dial from '../../src/Dial';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Dial', function () {
- it('should render a dial', function () {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dial'));
- assert.equal(findHandles(tree).length, 1);
- assert.equal(findInputs(tree).length, 1);
- assert.equal(tree.state('startValue'), 50);
- assert.equal(findInputs(tree).prop('value'), 50);
- assert.equal(findHandles(tree).prop('style').transform, 'rotate(90deg)');
- });
-
- it('should support setting a default value', function () {
- const tree = shallow( );
- assert.equal(tree.state('startValue'), 75);
- assert.equal(findInputs(tree).prop('value'), 75);
- assert.equal(findHandles(tree).prop('style').transform, 'rotate(157.5deg)');
- });
-
- it('should support setting a min and max value', function () {
- const tree = shallow( );
- assert.equal(tree.state('startValue'), 15);
- assert.equal(findInputs(tree).prop('value'), 15);
- assert.equal(findHandles(tree).prop('style').transform, 'rotate(90deg)');
-
- tree.setProps({
- min: -50,
- max: 50
- });
-
- tree.update();
-
- assert.equal(tree.state('startValue'), 0);
- assert.equal(findInputs(tree).prop('value'), 0);
- assert.equal(findHandles(tree).prop('style').transform, 'rotate(90deg)');
- });
-
- it('should support drag and drop to set the dial value', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- tree.instance().onMouseMove({
- preventDefault() {},
- clientY: 80
- });
-
- assert.deepEqual(onChange.getCall(0).args[0], 40);
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 40);
- });
-
- it('should support drag and drop to set the dial value, snapping to step', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- tree.instance().onMouseMove({
- preventDefault() {},
- clientY: 82
- });
-
- assert.deepEqual(onChange.getCall(0).args[0], 40);
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 40);
- });
-
-
- it('should not set state if value is controlled', function () {
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- clientY: 80
- });
-
- assert.equal(tree.state('startValue'), 75);
- assert.equal(findInputs(tree).prop('value'), 75);
- });
-
- it('should stop dragging on mouse up', function () {
- const tree = shallow( );
- const dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- // Initial mouse down
- tree.instance().dom = dom;
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- clientY: 80
- });
-
- assert.equal(tree.state('startValue'), 50);
- assert(tree.state('isDragging'));
-
- // Mouse move
- tree.instance().dom = dom;
- let event = new window.MouseEvent('mousemove', {
- clientY: 90
- });
-
- window.dispatchEvent(event);
- assert.equal(tree.state('startValue'), 30);
-
- // Mouse up
- event = new window.MouseEvent('mouseup');
- window.dispatchEvent(event);
- assert(!tree.state('isDragging'));
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 30);
- });
-
- it('should support disabled', function () {
- const tree = shallow( );
- assert(tree.hasClass('is-disabled'));
- assert.equal(findControls(tree).prop('onMouseDown'), null);
- assert.equal(findInputs(tree).prop('disabled'), true);
- });
-
- it('should support focus/blur states', function () {
- const tree = shallow( );
- findInputs(tree).simulate('focus');
- assert(tree.state('isFocused'));
- assert(findHandles(tree).hasClass('is-focused'));
-
- findInputs(tree).simulate('blur');
- assert(!tree.state('isFocused'));
- assert(!findHandles(tree).hasClass('is-focused'));
- });
-
- it('should support changing value via input element using keyboard or assitive technology', function () {
- const tree = mount( );
- tree.instance().dom.querySelector('input').value = 100;
- findInput(tree).simulate('change');
- assert.equal(tree.state('startValue'), findInput(tree).prop('value'));
- assert.equal(tree.state('startValue'), 100);
- tree.unmount();
- });
-
- it('should support small size', function () {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dial'));
- assert(tree.hasClass('spectrum-Dial--small'));
- assert.equal(findHandles(tree).prop('style').transform, 'rotate(90deg)');
- });
-
- it('should support adding label, hidden by default, but still accessible', function () {
- const labelString = 'Foo';
- const tree = shallow( );
- const id = tree.instance().dialId;
-
- assert.equal(findLabel(tree).length, 1);
-
- assert.equal(findValue(tree).length, 0);
-
- assert.equal(findInputs(tree).prop('id'), id);
- assert.equal(findInputs(tree).prop('aria-labelledby'), findLabel(tree).prop('id'));
- });
-
- it('should support adding label and aria-labelledby, hidden by default, but still accessible', function () {
- const labelString = 'Foo';
- const ariaLabelledbyString = 'barId';
- const tree = shallow( );
- const id = tree.instance().dialId;
- const labelId = tree.instance().getLabelId();
-
- assert.equal(findLabel(tree).prop('htmlFor'), id);
- assert.equal(findLabel(tree).prop('id'), labelId);
- assert.equal(findLabel(tree).text(), labelString);
- assert.equal(findLabel(tree).prop('hidden'), true);
-
- assert.equal(findValue(tree).length, 0);
-
- assert.equal(findInputs(tree).prop('id'), id);
- assert.equal(findInputs(tree).prop('aria-label'), null);
- assert.equal(findInputs(tree).prop('aria-labelledby'), [ariaLabelledbyString, labelId].join(' '));
- });
-
- it('should support adding label and aria-labelledby with renderLabel', function () {
- const labelString = 'Foo';
- const ariaLabelledbyString = 'barId';
- const tree = shallow( );
- const id = tree.instance().dialId;
- const labelId = tree.instance().getLabelId();
-
- assert.equal(findLabel(tree).prop('htmlFor'), id);
- assert.equal(findLabel(tree).prop('id'), labelId);
- assert.equal(findLabel(tree).text(), labelString);
- assert.equal(findLabel(tree).prop('hidden'), null);
-
- assert.equal(findValue(tree).prop('aria-labelledby'), [ariaLabelledbyString, labelId].join(' '));
- assert.equal(findValue(tree).prop('role'), 'textbox');
- assert.equal(findValue(tree).prop('aria-readonly'), 'true');
- assert.equal(findValue(tree).text(), 50);
-
- assert.equal(findInputs(tree).prop('id'), id);
- assert.equal(findInputs(tree).prop('aria-label'), null);
- assert.equal(findInputs(tree).prop('aria-labelledby'), [ariaLabelledbyString, labelId].join(' '));
- });
-
- it('should submit values when stopped dragging', function () {
- let onChangeEnd = sinon.spy();
- let tree = shallow( );
- const dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- // Initial mouse down
- tree.instance().dom = dom;
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- clientY: 80
- });
-
- assert.equal(tree.state('startValue'), 50);
- assert(tree.state('isDragging'));
-
- // Mouse move
- tree.instance().dom = dom;
- let event = new window.MouseEvent('mousemove', {
- clientY: 90
- });
-
- window.dispatchEvent(event);
- assert.equal(tree.state('startValue'), 30);
-
- // Mouse up
- event = new window.MouseEvent('mouseup');
- window.dispatchEvent(event);
- assert(!tree.state('isDragging'));
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 30);
-
- assert(onChangeEnd.called);
- });
-
- it('should set focus to input on mousedown', function () {
- const tree = mount( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- clientY: 80
- });
-
- assert.equal(tree.instance().input, document.activeElement);
- tree.unmount();
- });
-
- it('should set focus to input on mouseup', function () {
- const tree = mount( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- clientY: 80
- });
-
- tree.instance().onMouseUp({
- preventDefault() {},
- clientY: 80
- });
-
- assert.equal(tree.instance().input, document.activeElement);
- tree.unmount();
- });
-
- it('should set focus to input on value click', function () {
- const tree = mount( );
- findValue(tree).simulate('click');
- assert.equal(tree.instance().input, document.activeElement);
- tree.unmount();
- });
-});
-
-const findLabel = tree => tree.find('.spectrum-Dial-label');
-const findValue = tree => tree.find('.spectrum-Dial-value');
-const findControls = tree => tree.find('.spectrum-Dial-controls');
-const findHandles = tree => tree.find('.spectrum-Dial-handle');
-const findInputs = tree => tree.find('.spectrum-Dial-input');
-const findInput = tree => findInputs(tree).first();
diff --git a/test/Dialog/Dialog.js b/test/Dialog/Dialog.js
deleted file mode 100644
index 8f71c092ee3..00000000000
--- a/test/Dialog/Dialog.js
+++ /dev/null
@@ -1,357 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Dialog from '../../src/Dialog';
-import DialogHeader from '../../src/Dialog/js/DialogHeader';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-describe('Dialog', () => {
- it('default', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dialog'));
- assert.equal(tree.prop('id'), tree.instance().dialogId);
- tree.setProps({id: 'foo'});
- assert.equal(tree.prop('id'), 'foo');
- assert.equal(tree.prop('tabIndex'), 1);
- });
-
- it('supports optional title', () => {
- const tree = shallow( );
- assert.equal(tree.find(DialogHeader).length, 0);
- assert.equal(tree.prop('aria-labelledby'), null, 'with no title, aria-labelledby === null');
- tree.setProps({title: 'Foo'});
- assert.equal(tree.find(DialogHeader).length, 1);
- assert.equal(tree.find(DialogHeader).prop('id'), `${tree.prop('id')}-heading`, 'with title, DialogHeader has an id');
- assert.equal(tree.find(DialogHeader).dive().find('Heading').prop('id'), `${tree.prop('id')}-heading`, 'DialogHeader id propagates to Heading');
- assert.equal(tree.prop('aria-labelledby'), `${tree.prop('id')}-heading`, 'with title, aria-labelledby is set to id on DialogHeader > Heading');
- });
-
- it('supports optional footer', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dialog-footer').length, 0);
- tree.setProps({confirmLabel: 'Go'});
- assert.equal(tree.find('.spectrum-Dialog-footer').length, 1);
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'information');
- });
-
- it('defaults to information variant with only confirm button', () => {
- const tree = shallow( );
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'information');
- });
-
- it('defaults to information variant with confirm and cancel button', () => {
- const tree = shallow( );
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'confirmation');
- });
-
- it('supports different variants', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dialog--error'));
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'error');
-
- tree.setProps({variant: 'information'});
- assert(!tree.hasClass('spectrum-Dialog--error'));
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'information');
-
- tree.setProps({variant: 'confirmation'});
- assert(!tree.hasClass('spectrum-Dialog--error'));
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'confirmation');
-
- tree.setProps({variant: 'destructive'});
- assert(!tree.hasClass('spectrum-Dialog--error'));
- assert(tree.find('.spectrum-Dialog-footer').prop('variant'), 'destructive');
- });
-
- it('supports alert mode', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dialog--alert'));
- });
-
- it('supports fullscreen mode', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dialog--fullscreen'));
- assert.equal(tree.find('.spectrum-Dialog-footer').length, 0);
- });
-
- it('supports fullscreen takeover mode', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Dialog--fullscreenTakeover'));
- assert.equal(tree.find('.spectrum-Dialog-footer').length, 0);
- });
-
- it('renders content comp if there is a title', () => {
- const tree = shallow(bar );
- let content = tree.find('.spectrum-Dialog-content');
- assert.equal(content.length, 1);
- assert.equal(content.childAt(0).type(), 'span');
- });
-
- it('does not render a content comp if there is no title', () => {
- const tree = shallow(bar );
- let content = tree.find('.spectrum-Dialog-content');
- assert.equal(content.length, 0);
- });
-
- it('calls props.onClose', () => {
- var onClose = sinon.spy();
- const tree = shallow( );
- tree.find('.spectrum-Dialog-footer').simulate('close');
- assert(onClose.calledOnce);
- });
-
- it('calls props.onConfirm and onClose', async () => {
- var stub = sinon.stub();
- stub.returns(true);
-
- var onClose = sinon.spy();
- const tree = shallow( );
- tree.find('.spectrum-Dialog-footer').simulate('confirm');
- assert(stub.calledOnce);
- await sleep(1);
- assert(onClose.calledOnce);
- });
-
- it('calls props.onCancel and onClose', async () => {
- var stub = sinon.stub();
- stub.returns(true);
-
- var onClose = sinon.spy();
- const tree = shallow( );
- tree.find('.spectrum-Dialog-footer').simulate('cancel');
- assert(stub.calledOnce);
- await sleep(1);
- assert(onClose.calledOnce);
- });
-
- it('calls props.onConfirm but not onClose', async () => {
- var stub = sinon.stub();
- stub.returns(false);
-
- var onClose = sinon.spy();
- const tree = shallow( );
- tree.find('.spectrum-Dialog-footer').simulate('confirm');
- assert(stub.calledOnce);
- await sleep(1);
- assert(!onClose.calledOnce);
- });
-
- it('calls props.onCancel but not onClose', async () => {
- var stub = sinon.stub();
- stub.returns(false);
-
- var onClose = sinon.spy();
- const tree = shallow( );
- tree.find('.spectrum-Dialog-footer').simulate('cancel');
- assert(stub.calledOnce);
- await sleep(1);
- assert(!onClose.calledOnce);
- });
-
- it('supports autoFocusButton=\'confirm\'', async () => {
- let tree = mount( );
- let dialogButtons = tree.find('DialogButtons');
- assert.equal(dialogButtons.prop('autoFocusButton'), 'confirm');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(1).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(1).getDOMNode());
- tree.unmount();
- });
-
- it('supports autoFocusButton=\'cancel\'', async () => {
- let tree = mount( );
- let dialogButtons = tree.find('DialogButtons');
- assert.equal(dialogButtons.prop('autoFocusButton'), 'cancel');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(0).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(0).getDOMNode());
- tree.unmount();
- });
-
- it('focusing Dialog itself should simply focus the dialog', async () => {
- let onFocusSpy = sinon.spy();
- let tree = mount( );
- // onFocus, Dialog will marshall focus to first tabbable descendant.
- tree.getDOMNode().focus();
- tree.simulate('focus', {type: 'focus'});
- await sleep(17);
- assert(onFocusSpy.called);
- assert.equal(document.activeElement, tree.getDOMNode());
-
- let dialogButtons = tree.find('DialogButtons');
- let buttons = dialogButtons.find('Button');
- let preventDefault = sinon.spy();
- let stopPropagation = sinon.spy();
- tree.simulate('keydown', {type: 'keydown', key: 'Tab', preventDefault, stopPropagation});
- assert(preventDefault.called);
- assert(stopPropagation.called);
- assert.equal(document.activeElement, buttons.first().getDOMNode());
-
- onFocusSpy.resetHistory();
- preventDefault.resetHistory();
- stopPropagation.resetHistory();
-
- tree.getDOMNode().focus();
- tree.simulate('keydown', {type: 'keydown', key: 'Tab', shiftKey: true, preventDefault, stopPropagation});
- assert(preventDefault.called);
- assert(stopPropagation.called);
- assert.equal(document.activeElement, buttons.last().getDOMNode());
- tree.unmount();
- });
-
- it('trapFocus: false should prevent trapFocus from executing', async () => {
- let tree = mount( );
- tree.getDOMNode().focus();
- tree.simulate('focus', {type: 'focus'});
- await sleep(17);
- assert.equal(document.activeElement, tree.getDOMNode());
- tree.unmount();
- });
-
- it('focus Dialog itself if it contains no tabbable children', async () => {
- let tree = mount( );
- tree.getDOMNode().focus();
- await sleep(17);
- assert.equal(document.activeElement, tree.getDOMNode());
- tree.unmount();
- });
-
- it('supports disabling confirm button', () => {
- const tree = shallow( );
- let dialogButtons = tree.find('DialogButtons');
- assert(dialogButtons.prop('confirmDisabled'));
- assert(dialogButtons.dive().find('Button').prop('disabled'));
- tree.setProps({confirmDisabled: false});
- dialogButtons = tree.find('DialogButtons');
- assert(!dialogButtons.prop('confirmDisabled'));
- assert(!dialogButtons.dive().find('Button').prop('disabled'));
- });
-
- it('supports keyboardConfirm', async () => {
- var stub = sinon.stub();
- stub.returns(true);
-
- var onClose = sinon.spy();
- var onKeyDown = sinon.spy();
- const tree = shallow( );
- tree.simulate('keydown', {key: 'Enter'});
- assert(onKeyDown.calledOnce);
- assert(!stub.calledOnce);
- await sleep(1);
- assert(!onClose.calledOnce);
-
- onKeyDown.resetHistory();
-
- tree.setProps({'confirmDisabled': false});
- tree.simulate('keydown', {key: 'Enter'});
- assert(onKeyDown.calledOnce);
- assert(stub.calledOnce);
- await sleep(1);
- assert(onClose.calledOnce);
-
- stub.resetHistory();
- onClose.resetHistory();
- onKeyDown.resetHistory();
-
- // stopPropagation
- tree.simulate('keydown', {key: 'Enter', isPropagationStopped: () => true});
- assert(onKeyDown.calledOnce);
- assert(!stub.calledOnce);
- await sleep(17);
- assert(!onClose.calledOnce);
-
- onKeyDown.resetHistory();
-
- tree.setProps({'confirmDisabled': false});
- tree.simulate('keydown', {key: 'ArrowDown'});
- assert(onKeyDown.calledOnce);
- assert(!stub.calledOnce);
- await sleep(1);
- assert(!onClose.calledOnce);
-
- onKeyDown.resetHistory();
-
- tree.setProps({'confirmDisabled': false, 'keyboardConfirm': false});
- tree.simulate('keydown', {key: 'Enter'});
- assert(onKeyDown.calledOnce);
- assert(!stub.calledOnce);
- await sleep(1);
- assert(!onClose.calledOnce);
- });
-
- it('Esc key triggers onCancel', async () => {
- var stub = sinon.stub();
- stub.returns(true);
-
- var onClose = sinon.spy();
- var onKeyDown = sinon.spy();
- const tree = shallow( );
- tree.simulate('keydown', {key: 'Esc'});
- assert(onKeyDown.calledOnce);
- assert(stub.calledOnce);
- await sleep(1);
- assert(onClose.calledOnce);
- tree.simulate('keydown', {key: 'Escape'});
-
- assert(onKeyDown.calledTwice);
- assert(stub.calledTwice);
- await sleep(1);
- assert(onClose.calledTwice);
- });
-
- describe('Accessibility', () => {
- it('supports aria-label property', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'foo');
- });
-
- it('supports aria-labelledby property', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-labelledby'), 'foo');
- tree.setProps({'aria-labelledby': null, title: 'test'});
- const dialogId = tree.instance().dialogId;
- assert.equal(tree.prop('id'), dialogId);
- assert.equal(tree.prop('aria-labelledby'), `${dialogId}-heading`);
- });
-
- it('supports aria-describedby property', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-describedby'), 'foo');
- tree.setProps({'aria-describedby': null, title: 'test'});
- const dialogId = tree.instance().dialogId;
- assert.equal(tree.prop('aria-describedby'), null);
- tree.setProps({children: bar });
- assert.equal(tree.prop('aria-describedby'), `${dialogId}-content`);
- tree.setProps({title: null});
- assert.equal(tree.prop('aria-describedby'), null);
- });
-
- it('supports aria-modal property', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-modal'), Dialog.defaultProps.trapFocus);
- tree.setProps({trapFocus: false});
- assert.equal(tree.prop('aria-modal'), false);
- tree.setProps({'aria-modal': true});
- assert.equal(tree.prop('aria-modal'), true);
- });
- });
-});
diff --git a/test/Dialog/DialogButtons.js b/test/Dialog/DialogButtons.js
deleted file mode 100644
index 0775cd11a2a..00000000000
--- a/test/Dialog/DialogButtons.js
+++ /dev/null
@@ -1,137 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import DialogButtons from '../../src/Dialog/js/DialogButtons';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-describe('DialogButtons', () => {
- it('default', () => {
- const tree = shallow( );
- assert(tree.hasClass('react-spectrum-Dialog-buttons'));
- });
-
- it('renders no buttons on default', () => {
- const tree = shallow( );
- assert.equal(tree.find(Button).length, 0);
- });
-
- it('renders an OK button using confirmLabel', () => {
- const tree = shallow( );
- let button = tree.find(Button);
- assert.equal(button.length, 1);
- assert.equal(button.prop('variant'), 'primary');
- assert.equal(button.prop('label'), 'OK');
- });
-
- it('renders an OK and close button', () => {
- const tree = shallow( );
- let buttons = tree.find(Button);
- assert.equal(buttons.length, 2);
- assert.equal(buttons.at(0).prop('label'), 'Close');
- assert.equal(buttons.at(1).prop('label'), 'OK');
- assert.equal(buttons.at(0).prop('variant'), 'secondary');
- assert.equal(buttons.at(1).prop('variant'), 'primary');
- });
-
- it('renders three buttons with secondaryLabel', () => {
- const tree = shallow( );
- let buttons = tree.find(Button);
- assert.equal(buttons.length, 3);
- assert.equal(buttons.at(0).prop('label'), 'Cancel');
- assert.equal(buttons.at(1).prop('label'), 'Replace');
- assert.equal(buttons.at(2).prop('label'), 'Keep Both');
- assert.equal(buttons.at(0).prop('variant'), 'secondary');
- assert.equal(buttons.at(1).prop('variant'), 'secondary');
- assert.equal(buttons.at(2).prop('variant'), 'primary');
- });
-
- it('supports onCancel and onConfirm', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- let buttons = tree.find(Button);
- buttons.at(0).simulate('click');
- assert(spy.calledOnce);
- buttons.at(1).simulate('click');
- assert(spy.calledTwice);
- });
-
- it('supports onConfirm with primary or secondary option', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- let buttons = tree.find(Button);
- buttons.at(1).simulate('click');
- assert(spy.calledOnce);
- assert.equal(spy.getCall(0).args[0], 'secondary');
- buttons.at(2).simulate('click');
- assert(spy.calledTwice);
- assert.equal(spy.getCall(1).args[0], 'primary');
- });
-
- it('supports autoFocus=\'confirm\'', async () => {
- const tree = mount( );
- const dialogButtons = tree.find('DialogButtons');
- assert.equal(dialogButtons.prop('autoFocusButton'), 'confirm');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(1).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(1).getDOMNode());
- tree.unmount();
- });
-
- it('supports autoFocus=\'cancel\'', async () => {
- const tree = mount( );
- const dialogButtons = tree.find('DialogButtons');
- assert.equal(dialogButtons.prop('autoFocusButton'), 'cancel');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(0).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(0).getDOMNode());
- tree.unmount();
- });
-
- it('supports autoFocus=\'secondary\'', async () => {
- const tree = mount( );
- const dialogButtons = tree.find('DialogButtons');
- assert.equal(dialogButtons.prop('autoFocusButton'), 'secondary');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(0).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(1).getDOMNode());
- tree.unmount();
- });
-
- it('supports disabling confirm button', () => {
- const tree = shallow( );
- assert(tree.find(Button).prop('disabled'));
- tree.setProps({confirmDisabled: false});
- assert(!tree.find(Button).prop('disabled'));
- });
-
- it('disables secondary button when confirm is disabled', () => {
- const tree = shallow( );
- assert(tree.find(Button).at(0).prop('disabled'));
- assert(tree.find(Button).at(1).prop('disabled'));
- tree.setProps({confirmDisabled: false});
- assert(!tree.find(Button).at(0).prop('disabled'));
- assert(!tree.find(Button).at(1).prop('disabled'));
- });
-});
diff --git a/test/Dialog/DialogHeader.js b/test/Dialog/DialogHeader.js
deleted file mode 100644
index d67f00ed385..00000000000
--- a/test/Dialog/DialogHeader.js
+++ /dev/null
@@ -1,77 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import DialogButtons from '../../src/Dialog/js/DialogButtons';
-import DialogHeader from '../../src/Dialog/js/DialogHeader';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import {sleep} from '../utils';
-
-describe('DialogHeader', () => {
- it('supports optional title', () => {
- const tree = shallow( );
- tree.setProps({title: 'title'});
- assert.equal(tree.find(DialogButtons).length, 0);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert(tree.hasClass('myClass'));
- });
-
- it('supports fullscreen mode', () => {
- const tree = shallow( );
- assert.equal(tree.find(DialogButtons).length, 1);
- });
-
- it('supports fullscreen takeover mode', () => {
- const tree = shallow( );
- assert.equal(tree.find(DialogButtons).length, 1);
- });
-
- it('supports autoFocus=\'confirm\'', async () => {
- const tree = mount( );
- const dialogButtons = tree.find(DialogButtons);
- assert.equal(dialogButtons.prop('autoFocusButton'), 'confirm');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(1).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(1).getDOMNode());
- tree.unmount();
- });
-
- it('supports autoFocus=\'cancel\'', async () => {
- const tree = mount( );
- const dialogButtons = tree.find(DialogButtons);
- assert.equal(dialogButtons.prop('autoFocusButton'), 'cancel');
- let buttons = dialogButtons.find('Button');
- await sleep(17);
- assert(!buttons.at(0).getDOMNode().getAttribute('autoFocus'));
- assert.equal(document.activeElement, buttons.at(0).getDOMNode());
- tree.unmount();
- });
-
- it('supports disabling confirm button', () => {
- const tree = shallow( );
- assert(tree.find(DialogButtons).prop('confirmDisabled'));
- assert(tree.find(DialogButtons).dive().find('Button').prop('disabled'));
- tree.setProps({confirmDisabled: false});
- assert(!tree.find(DialogButtons).prop('confirmDisabled'));
- assert(!tree.find(DialogButtons).dive().find('Button').prop('disabled'));
- });
-});
diff --git a/test/DropZone/DropZone.js b/test/DropZone/DropZone.js
deleted file mode 100644
index 0dc50476ee2..00000000000
--- a/test/DropZone/DropZone.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import DropZone from '../../src/DropZone';
-import Heading from '../../src/Heading/js/Heading';
-import IllustratedMessage from '../../src/IllustratedMessage';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {sleep} from '../utils';
-
-describe('DropZone', () => {
- it('should support custom children', () => {
- let headerText = 'This is a DropZone, drop data in it.';
-
- const tree = shallow(
- {headerText}
- );
-
- assert.equal(tree.find(IllustratedMessage).length, 0);
- assert.equal(tree.find(Heading).children().text(), headerText);
- });
-
- it('should support custom className', () => {
- const tree = shallow( );
- let dropZone = tree.find('.spectrum-Dropzone');
-
- assert.equal(dropZone.prop('className'), 'spectrum-Dropzone custom-className');
- });
-
- it('should animate onDragOver', async () => {
- const tree = shallow( );
-
- let dummyEvent = {
- preventDefault: () => {},
- dataTransfer: {
- dropEffect: 'move'
- }
- };
-
- let dropZone = tree.find('.spectrum-Dropzone');
- assert.equal(dropZone.prop('className'), 'spectrum-Dropzone');
-
- dropZone.simulate('dragover', dummyEvent);
-
- let dragDropZone = tree.find('.is-dragged');
- assert.equal(dragDropZone.prop('className'), 'spectrum-Dropzone is-dragged');
-
- dropZone.simulate('dragleave', dummyEvent);
-
- await sleep(105);
-
- dropZone = tree.find('.spectrum-Dropzone');
- assert.equal(dropZone.prop('className'), 'spectrum-Dropzone');
- });
-
- it('should pass EventListeners', async () => {
- let dragLeave = false;
- let dragOver = false;
- let dropped = false;
-
- const onDragLeave = () => dragLeave = true;
- const onDragOver = () => dragOver = true;
- const onDrop = () => dropped = true;
-
- const dropZone = shallow( );
-
- let dummyEvent = {
- preventDefault: () => {},
- dataTransfer: {
- dropEffect: 'move'
- }
- };
-
- dropZone.simulate('dragover', dummyEvent);
- assert.equal(dragOver, true);
- dropZone.simulate('dragleave', dummyEvent);
- await sleep(105);
- assert.equal(dragLeave, true);
- dropZone.simulate('drop', dummyEvent);
- assert.equal(dropped, true);
- });
-
- it('should handle shouldAccept properly', async () => {
- const DROPPED_DATA = 'hello world';
-
- let dragLeft = 0;
- let dragOver = 0;
- let dropped = 0;
- let droppedData = null;
- let shouldAcceptEvent = null;
-
- const onDragLeave = () => dragLeft++;
- const onDragOver = () => dragOver++;
- const onDrop = (e) => {
- dropped++;
- droppedData = e.dataTransfer.file;
- };
- const shouldAccept = (e) => {
- shouldAcceptEvent = e;
- return dropped === 0;
- };
-
- const dropZone = shallow( );
-
- let dummyEvent = {
- preventDefault: () => {},
- dataTransfer: {
- dropEffect: 'move',
- file: DROPPED_DATA
- }
- };
-
- dropZone.prop('onDragOver')(dummyEvent);
- dropZone.simulate('dragleave', dummyEvent);
- await sleep(105);
-
- dropZone.prop('onDragOver')(dummyEvent);
- dropZone.simulate('drop', dummyEvent);
-
- dropZone.prop('onDragOver')(dummyEvent);
- dropZone.simulate('drop', dummyEvent);
-
- assert(dragOver === 2, true);
- assert(dragLeft === 1);
- assert(dropped === 2);
- assert.equal(droppedData, DROPPED_DATA);
- assert.deepEqual(shouldAcceptEvent, dummyEvent);
- });
-});
diff --git a/test/Dropdown/Dropdown.js b/test/Dropdown/Dropdown.js
deleted file mode 100644
index bcde57b4ec9..00000000000
--- a/test/Dropdown/Dropdown.js
+++ /dev/null
@@ -1,230 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import Dropdown from '../../src/Dropdown';
-import {Menu, MenuItem} from '../../src/Menu';
-import {mount, shallow} from 'enzyme';
-import OverlayTrigger from '../../src/OverlayTrigger';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Dropdown', function () {
- it('renders a target', function () {
- const tree = shallow(
-
- Test
-
- Test
-
-
- );
-
- assert.equal(tree.find(OverlayTrigger).length, 1);
- assert.equal(tree.find(OverlayTrigger).find(Button).length, 1);
- assert.equal(tree.find(OverlayTrigger).find(Menu).length, 1);
- });
-
- it('renders other children', function () {
- const tree = shallow(
-
- Test
-
-
- Test
-
-
- );
-
- assert.equal(tree.find(OverlayTrigger).find(Button).length, 1);
- assert(tree.children().find('div').length, 1);
- assert.equal(tree.find(OverlayTrigger).length, 1);
- });
-
- it('allows any child to be the trigger', function () {
- const tree = shallow(
-
- Test
-
-
- Test
-
-
- );
-
- assert.equal(tree.find(Button).length, 1);
- assert.equal(tree.find(OverlayTrigger).find(Button).length, 0);
- assert(tree.find(OverlayTrigger).find('div').length, 1);
- assert.equal(tree.find(OverlayTrigger).find(Menu).length, 1);
- });
-
- it('closes the menu onClose', function () {
- const spy = sinon.spy();
- const tree = shallow(
-
- Test
-
- Test
-
-
- );
-
- tree.instance().overlayTrigger = {
- hide: spy
- };
-
- tree.find(Menu).simulate('close');
- assert.equal(spy.callCount, 1);
- });
-
- it('closes the menu onSelect', function () {
- const onClose = sinon.spy();
- const onSelect = sinon.spy();
- const tree = shallow(
-
- Test
-
- Test
-
-
- );
-
- tree.instance().overlayTrigger = {
- hide: onClose
- };
-
- tree.find(Menu).simulate('select', 'test');
-
- assert.equal(onClose.callCount, 1);
- assert.equal(onSelect.callCount, 1);
- assert.equal(onSelect.getCall(0).args[0], 'test');
- });
-
- it('menu remains open onSelect when closeOnSelect set to false', function () {
- const onClose = sinon.spy();
- const onSelect = sinon.spy();
- const tree = shallow(
-
- Test
-
- Test
-
-
- );
-
- tree.instance().overlayTrigger = {
- hide: onClose
- };
-
- tree.find(Menu).simulate('select', 'test');
-
- assert.equal(onClose.callCount, 0);
- assert.equal(onSelect.callCount, 1);
- assert.equal(onSelect.getCall(0).args[0], 'test');
- });
-
- it('calls onOpen and onClose', function () {
- const onOpen = sinon.spy();
- const onClose = sinon.spy();
-
- const tree = shallow(
-
- Test
-
- Test
-
-
- );
-
- tree.find(OverlayTrigger).simulate('show');
- assert.equal(onOpen.callCount, 1);
-
- tree.find(OverlayTrigger).simulate('hide');
- assert.equal(onClose.callCount, 1);
- });
-
- it('aria-expanded is set correctly after open/close', function () {
-
- const tree = shallow(
-
- Test
-
- Test
-
-
- );
-
- // After a click we expand the list - aria-expanded should be true.
- tree.find(OverlayTrigger).simulate('show');
- assert.equal(tree.find(Button).prop('aria-expanded'), true);
-
- // Ensure that aria-expanded gets removed when we click to collapse the list. Prop should return null.
- tree.find(OverlayTrigger).simulate('hide');
- assert.equal(tree.find(Button).prop('aria-expanded'), null);
- });
- describe('window behaviors', () => {
- let tree;
- let clock;
- let mountNode;
-
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- mountNode = document.createElement('DIV');
- document.body.appendChild(mountNode);
- });
-
- afterEach(() => {
- if (tree) {
- tree.detach();
- tree = null;
- }
- clock.runAll();
- clock.restore();
- document.body.removeChild(mountNode);
- mountNode = null;
- });
-
- it('supports longClick', () => {
- let selectSpy = sinon.spy();
- let clickSpy = sinon.spy();
- tree = mount(
-
- Click me
-
- Test
-
- ,
- {attachTo: mountNode}
- );
- let button = tree.find(Button);
- assert(button.props().holdAffordance);
- let overlayTrigger = tree.find(OverlayTrigger).instance();
- button.simulate('mouseDown', {button: 0});
- clock.tick(250);
- button.simulate('mouseUp', {button: 0});
- assert(overlayTrigger.state.show);
-
- assert.equal(document.querySelectorAll('.spectrum-Menu-item').length, 1);
- document.querySelectorAll('.spectrum-Menu-item')[0].click();
-
- assert(!clickSpy.called);
- assert(selectSpy.calledOnce);
- assert(!overlayTrigger.state.show);
- });
- });
-});
diff --git a/test/DropdownButton/DropdownButton.js b/test/DropdownButton/DropdownButton.js
deleted file mode 100644
index 08c5afa90e5..00000000000
--- a/test/DropdownButton/DropdownButton.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import Dropdown from '../../src/Dropdown';
-import DropdownButton from '../../src/DropdownButton';
-import {MenuItem} from '../../src/Menu';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-const render = (props = {}) => shallow(
-
-
- Test1
-
-
- Test2
-
-
-);
-
-describe('DropdownButton', function () {
- it('renders a default', function () {
-
- const wrapper = render({});
-
- assert.equal(wrapper.find(Button).length, 1);
- assert.equal(wrapper.find(Dropdown).length, 1);
- });
-
- it('passes props', function () {
- const onClose = sinon.spy();
- const onOpen = sinon.spy();
- const onSelect = sinon.spy();
- const closeOnSelect = true;
- const wrapper = render({onClose, onOpen, onSelect, closeOnSelect});
-
- const dropdown = wrapper.find(Dropdown);
-
- assert.equal(dropdown.prop('onClose'), onClose);
- assert.equal(dropdown.prop('onOpen'), onOpen);
- assert.equal(dropdown.prop('onSelect'), onSelect);
- assert.equal(dropdown.prop('closeOnSelect'), closeOnSelect);
- });
-});
diff --git a/test/FieldLabel/FieldLabel.js b/test/FieldLabel/FieldLabel.js
deleted file mode 100644
index 9247af640eb..00000000000
--- a/test/FieldLabel/FieldLabel.js
+++ /dev/null
@@ -1,122 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Asterisk from '../../src/Icon/Asterisk';
-import FieldLabel from '../../src/FieldLabel';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Textfield from '../../src/Textfield';
-
-const render = (props = {}) => shallow(
-
-
-
-).dive();
-
-describe('FieldLabel', () => {
- it('should render a label and its children', () => {
- const tree = render();
-
- assert.equal(tree.find('label').text(), 'foo');
- assert.equal(tree.find(Textfield).length, 1);
- assert.equal(tree.find(Textfield).prop('value'), 'test');
- });
-
- it('should render only a label', () => {
- const tree = shallow( ).dive();
- assert.equal(tree.type(), 'label');
- assert.equal(tree.text(), 'foo');
- assert.equal(tree.prop('className'), 'spectrum-FieldLabel test');
- });
-
- it('should generate an id and label for attribute by default', () => {
- const tree = render();
- assert(tree.find('label').prop('htmlFor'));
- assert.equal(tree.find('label').prop('htmlFor'), tree.find('Textfield').prop('id'));
- });
-
- it('if an id is specified on the label it should remain unchanged', () => {
- const tree = shallow( ).dive();
- assert.equal(tree.find('label').prop('id'), 'bar');
- });
-
- it('if an id is not specified on the label one should be generated', () => {
- const tree = shallow( ).dive();
- assert(tree.find('label').prop('id'));
- });
-
- it('should render a label positioned on the left side', () => {
- const tree = render({position: 'left'});
-
- assert.equal(tree.find('label').hasClass('spectrum-FieldLabel spectrum-FieldLabel--left'), true);
- });
-
- it('should render a label positioned on the right side', () => {
- const tree = render({position: 'right'});
-
- assert.equal(tree.find('label').hasClass('spectrum-FieldLabel spectrum-FieldLabel--right'), true);
- });
-
- it('supports label for', () => {
- const tree = render({labelFor: 'bar'});
-
- assert.equal(tree.find('label').prop('htmlFor'), 'bar');
- });
-
- it('supports necessity required', () => {
- const tree = render({necessity: 'required'});
- assert.equal(tree.find('label').text(), 'foo ');
- assert.equal(tree.find(Asterisk).length, 1);
- });
-
- it('supports necessity required and necessityIndicator icon', () => {
- const tree = render({necessity: 'required', necessityIndicator: 'icon'});
- assert.equal(tree.find('label').text(), 'foo ');
- assert.equal(tree.find(Asterisk).length, 1);
- });
-
- it('supports necessity required necessityIndicator label', () => {
- const tree = render({necessity: 'required', necessityIndicator: 'label'});
- assert.equal(tree.find('label').text(), 'foo (required)');
- assert.equal(tree.find(Asterisk).length, 0);
- });
-
- it('supports necessity optional', () => {
- const tree = render({necessity: 'optional'});
- assert.equal(tree.find('label').text(), 'foo');
- assert.equal(tree.find(Asterisk).length, 0);
- });
-
- it('supports necessity optional necessityIndicator label', () => {
- const tree = render({necessity: 'optional', necessityIndicator: 'label'});
- assert.equal(tree.find('label').text(), 'foo (optional)');
- assert.equal(tree.find(Asterisk).length, 0);
- });
-
- it('supports additional classNames', () => {
- const tree = render({className: 'myClass'});
-
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = render({id: 'email'});
-
- assert.equal(tree.find('label').prop('id'), 'email');
- });
-});
diff --git a/test/Form/Form.js b/test/Form/Form.js
deleted file mode 100644
index 2d7b74f6787..00000000000
--- a/test/Form/Form.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {Form, FormItem} from '../../src/Form';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Textfield from '../../src/Textfield';
-
-const render = (props = {}) => shallow(
-
-
-
-
-
-);
-
-describe('Form', () => {
- it('should render a Form element with classes and its children', () => {
- const wrapper = render();
- assert.equal(wrapper.find('form').length, 1);
- assert.equal(wrapper.find(FormItem).length, 1);
- assert.equal(wrapper.find('form').prop('className'), 'spectrum-Form');
- });
-
- it('should render with additional properties', () => {
- const wrapper = shallow( );
- assert.equal(wrapper.prop('id'), 'formId');
- });
-
- it('should render with additional classnames', () => {
- const wrapper = shallow( );
- assert.equal(wrapper.prop('className'), 'spectrum-Form test-form');
- });
-
-});
diff --git a/test/Form/FormItem.js b/test/Form/FormItem.js
deleted file mode 100644
index 84b22cfc361..00000000000
--- a/test/Form/FormItem.js
+++ /dev/null
@@ -1,61 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {FormItem} from '../../src/Form';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Textfield from '../../src/Textfield';
-
-const render = (props = {}) => shallow(
-
-
-
-).dive();
-
-describe('FormItem', () => {
- it('should render a FormItem element with classes and its children', () => {
- const wrapper = render();
- assert.equal(wrapper.find('.spectrum-Form-item').length, 1);
- assert.equal(wrapper.find('label').length, 1);
- assert.equal(wrapper.find(Textfield).length, 1);
- });
-
- it('label should have the correct inner text and reference', () => {
- const wrapper = render();
- const label = wrapper.find('label');
- const field = wrapper.find(Textfield);
- assert.equal(label.text(), 'Company Title');
- assert.equal(label.prop('htmlFor'), 'company-title');
- assert.equal(field.prop('aria-labelledby'), label.prop('id'));
- });
-
- it('label text should be right aligned', () => {
- const wrapper = shallow( ).dive();
- assert(wrapper.find('label').hasClass('spectrum-FieldLabel--right'));
- });
-
- it('with no label prop use div rather than label', () => {
- const wrapper = shallow( I agree to terms and conditions. ).dive();
- assert.equal(wrapper.find('label').length, 1);
- const divs = wrapper.find('div');
- assert.equal(divs.length, 3);
- assert(divs.at(0).hasClass('spectrum-Form-item'));
- assert(divs.at(1).hasClass('spectrum-Form-itemLabel'));
- assert(divs.at(2).hasClass('spectrum-Form-itemField'));
- });
-});
diff --git a/test/Grid/Grid.js b/test/Grid/Grid.js
deleted file mode 100644
index 1c61aa66ca3..00000000000
--- a/test/Grid/Grid.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Grid from '../../src/Grid/js/Grid';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Grid', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-
- it('supports fixed variant', () => {
- const tree = shallow(render({variant: 'fixed'}));
- assert.equal(tree.hasClass('spectrum-grid--fixed'), true);
- });
-
- it('supports fluid variant', () => {
- const tree = shallow(render({variant: 'fluid'}));
- assert.equal(tree.hasClass('spectrum-grid--fluid'), true);
- });
-
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Grid/GridColumn.js b/test/Grid/GridColumn.js
deleted file mode 100644
index 4884bdc3b46..00000000000
--- a/test/Grid/GridColumn.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import GridColumn from '../../src/Grid/js/GridColumn';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('GridColumn', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-
- it('supports custom column size', () => {
- const tree = shallow(render({size: [12, 10, 4, 4, 2]}));
- assert.equal(tree.hasClass('spectrum-grid-col-sm-10'), true);
- });
-
- it('supports first property', () => {
- const tree = shallow(render({first: true}));
- assert.equal(tree.hasClass('spectrum-grid-first-lg'), true);
- });
-
- it('supports last property', () => {
- const tree = shallow(render({last: true}));
- assert.equal(tree.hasClass('spectrum-grid-last-sm'), true);
- });
-
- it('supports custom offset size', () => {
- const tree = shallow(render({offsetSize: {xs: 12, sm: 10, md: 8, lg: 4, xl: 2}}));
- assert.equal(tree.hasClass('spectrum-grid-col-xl-offset-2'), true);
- });
-
- it('supports auto sizing', () => {
- const tree = shallow(render({}));
- assert.equal(tree.hasClass('spectrum-grid-col-xl'), true);
- });
-
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Grid/GridRow.js b/test/Grid/GridRow.js
deleted file mode 100644
index 8325dd8040d..00000000000
--- a/test/Grid/GridRow.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import GridRow from '../../src/Grid/js/GridRow';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('GridRow', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-
- it('supports align start', () => {
- const tree = shallow(render({align: {xs: 'start'}}));
- assert.equal(tree.hasClass('spectrum-grid-start-xs'), true);
- });
-
- it('supports align center', () => {
- const tree = shallow(render({align: {md: 'center'}}));
- assert.equal(tree.hasClass('spectrum-grid-center-md'), true);
- });
-
- it('supports align start', () => {
- const tree = shallow(render({align: {xl: 'end'}}));
- assert.equal(tree.hasClass('spectrum-grid-end-xl'), true);
- });
-
- it('supports align top', () => {
- const tree = shallow(render({align: {lg: 'top'}}));
- assert.equal(tree.hasClass('spectrum-grid-top-lg'), true);
- });
-
- it('supports align middle', () => {
- const tree = shallow(render({align: {sm: 'middle'}}));
- assert.equal(tree.hasClass('spectrum-grid-middle-sm'), true);
- });
-
- it('supports align start', () => {
- const tree = shallow(render({align: {xl: 'start'}}));
- assert.equal(tree.hasClass('spectrum-grid-start-xl'), true);
- });
-
- it('supports reverse', () => {
- const tree = shallow(render({reverse: true}));
- assert.equal(tree.hasClass('spectrum-grid-reverse'), true);
- });
-
- it('supports around distribution', () => {
- const tree = shallow(render({distribution: 'around'}));
- assert.equal(tree.hasClass('spectrum-grid-around-lg'), true);
- });
-
- it('supports between distribution', () => {
- const tree = shallow(render({distribution: 'between'}));
- assert.equal(tree.hasClass('spectrum-grid-between-md'), true);
- });
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Grid/responsive.js b/test/Grid/responsive.js
deleted file mode 100644
index 495279b2bc5..00000000000
--- a/test/Grid/responsive.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import responsive from '../../src/Grid/js/responsive.js';
-
-describe('responsive', () => {
- it('supports objects', () => {
- const data = {xs: 12, sm: 10, md: 8, lg: 4, xl: 2};
- assert.equal(responsive('spectrum-grid-col-#size-#value', data), 'spectrum-grid-col-xs-12 spectrum-grid-col-sm-10 spectrum-grid-col-md-8 spectrum-grid-col-lg-4 spectrum-grid-col-xl-2');
- });
-
- it('supports arrays', () => {
- const data = [12, 10, 8, 4, 2];
- assert.equal(responsive('spectrum-grid-col-#size-#value', data), 'spectrum-grid-col-xs-12 spectrum-grid-col-sm-10 spectrum-grid-col-md-8 spectrum-grid-col-lg-4 spectrum-grid-col-xl-2');
- });
-
- it('supports values', () => {
- const data = 12;
- assert.equal(responsive('spectrum-grid-col-#size-#value', data), 'spectrum-grid-col-xs-12 spectrum-grid-col-sm-12 spectrum-grid-col-md-12 spectrum-grid-col-lg-12 spectrum-grid-col-xl-12');
- });
-
- it('supports auto sizing', () => {
- const data = 'auto';
- assert.equal(responsive('spectrum-grid-col-#size-#value', data), 'spectrum-grid-col-xs spectrum-grid-col-sm spectrum-grid-col-md spectrum-grid-col-lg spectrum-grid-col-xl');
- });
-
- it('supports undefined', () => {
- const data = undefined;
- assert.equal(responsive('spectrum-grid-col-#size-#value', data), '');
- });
-});
diff --git a/test/GridView/GalleryLayout.js b/test/GridView/GalleryLayout.js
deleted file mode 100644
index 3c02dc0eac7..00000000000
--- a/test/GridView/GalleryLayout.js
+++ /dev/null
@@ -1,154 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {DragTarget, IndexPath, Point, Rect, Size} from '@react/collection-view';
-import {GalleryLayout} from '../../src/GridView';
-import sinon from 'sinon';
-
-describe('GalleryLayout', function () {
- let layout;
- beforeEach(function () {
- layout = new GalleryLayout();
- let items = [
- {size: new Size(6000, 4000)},
- {size: new Size(8745, 3136)},
- {size: new Size(4000, 6000)},
- {size: new Size(6000, 4000)},
- {size: new Size(6000, 4000)},
- {size: new Size(6000, 4000)},
- {size: new Size(8745, 3136)},
- {size: new Size(4000, 6000)},
- {size: new Size(6000, 4000)},
- {size: new Size(6000, 4000)}
- ];
-
- layout.component = {props: {}};
- layout.collectionView = {
- size: new Size(1000, 1000),
- contentSize: new Size(1000, 1024),
- getNumberOfSections: () => 1,
- getSectionLength: () => items.length,
- incrementIndexPath: (indexPath, inc) => new IndexPath(indexPath.section, indexPath.index + inc),
- getItem: (section, index) => items[index]
- };
-
- layout.collectionView.delegate = {
- getItemSize: (item) => item.size
- };
-
- layout.validate();
- });
-
- it('should layout some items', function () {
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 6);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24, 32, 274, 214));
- assert.deepEqual(layoutInfos[1].rect, new Rect(322, 32, 509, 214));
- assert.deepEqual(layoutInfos[4].rect, new Rect(349, 278, 301, 233));
-
- let layoutInfo = layout.getLayoutInfo('item', 0, 5);
- assert.deepEqual(layoutInfo.rect, new Rect(674, 278, 301, 233));
-
- assert.deepEqual(layout.getContentSize(), new Size(1000, 743));
- });
-
- it('should get a drop target with dropPosition="on"', function () {
- layout.component.props.dropPosition = 'on';
- layout.collectionView.indexPathAtPoint = sinon.stub().returns(new IndexPath(0, 5));
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(layout.collectionView.indexPathAtPoint.getCall(0).args[0], new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_ON));
- });
-
- it('should get a drop target on the whole table with dropPosition="on"', function () {
- layout.component.props.dropPosition = 'on';
- layout.collectionView.indexPathAtPoint = sinon.stub().returns(null);
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(layout.collectionView.indexPathAtPoint.getCall(0).args[0], new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- });
-
- it('should get a drop target with dropPosition="between"', function () {
- layout.component.props.dropPosition = 'between';
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
-
- target = layout.getDropTarget(new Point(200, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN));
- });
-
- it('should get a drop target at the end with dropPosition="between"', function () {
- layout.component.props.dropPosition = 'between';
-
- let target = layout.getDropTarget(new Point(28, 10000));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 10), DragTarget.DROP_BETWEEN));
- });
-
- it('should shift a row when dragging between two items', function () {
- layout.component.props.dropPosition = 'between';
- layout.collectionView._dropTarget = new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN);
-
- let target = layout.getDropTarget(new Point(200, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN));
-
- layout.validate();
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 6);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24 - 50, 32, 274, 214));
- assert.deepEqual(layoutInfos[1].rect, new Rect(322 + 50, 32, 509, 214));
- assert.deepEqual(layoutInfos[4].rect, new Rect(349, 278, 301, 233));
- });
-
- it('should not shift a row when reordering items in a position next to the original', function () {
- layout.component.props.dropPosition = 'between';
- layout.collectionView._dragTarget = new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN);
- layout.collectionView._dropTarget = new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN);
-
- let target = layout.getDropTarget(new Point(200, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN));
-
- layout.validate();
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 6);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24, 32, 274, 214));
- assert.deepEqual(layoutInfos[1].rect, new Rect(322, 32, 509, 214));
- assert.deepEqual(layoutInfos[4].rect, new Rect(349, 278, 301, 233));
- });
-
- it('should get the indexPathAbove', function () {
- assert.deepEqual(layout.indexPathAbove(new IndexPath(0, 4)), new IndexPath(0, 1));
- });
-
- it('should get the indexPathBelow', function () {
- assert.deepEqual(layout.indexPathBelow(new IndexPath(0, 0)), new IndexPath(0, 3));
- });
-
- it('should get the indexPathLeftOf', function () {
- assert.deepEqual(layout.indexPathLeftOf(new IndexPath(0, 5)), new IndexPath(0, 4));
- });
-
- it('should get the indexPathRightOf', function () {
- assert.deepEqual(layout.indexPathRightOf(new IndexPath(0, 0)), new IndexPath(0, 1));
- });
-});
diff --git a/test/GridView/GridItem.js b/test/GridView/GridItem.js
deleted file mode 100644
index 0e738bb3024..00000000000
--- a/test/GridView/GridItem.js
+++ /dev/null
@@ -1,65 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import GridItem from '../../src/GridView/js/GridItem';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('GridItem', function () {
- it('should have aria properties', function () {
- let layoutInfo = {index: 1};
- let collectionView = {focusedIndexPath: {index: 1}, layout: {cardType: 'gallery'}};
- let wrapper = shallow(test
);
- assert.equal(wrapper.type(), 'div');
- assert.equal(wrapper.prop('role'), 'row');
- assert.equal(wrapper.prop('aria-rowindex'), 2);
-
- let cell = wrapper.childAt(0);
- assert.equal(cell.type(), 'div');
- assert.equal(cell.childAt(0).text(), 'test');
- assert.equal(cell.prop('role'), 'gridcell');
- assert.equal(cell.prop('tabIndex'), -1);
- });
-
- it('should support aria-selected', function () {
- let layoutInfo = {index: 1};
- let collectionView = {focusedIndexPath: {index: 1}, layout: {cardType: 'gallery'}};
- let wrapper = shallow(test
);
-
- let cell = wrapper.childAt(0);
- assert.equal(cell.prop('aria-selected'), true);
- });
-
- it('should have tabIndex = 0 when focused', function () {
- let layoutInfo = {index: 1};
- let collectionView = {focusedIndexPath: {index: 1}, layout: {cardType: 'gallery'}};
- let wrapper = shallow(test
);
-
- let cell = wrapper.childAt(0);
- assert.equal(cell.prop('tabIndex'), 0);
- });
-
- it('should have tabIndex = 0 when there are no items focused', function () {
- let layoutInfo = {index: 1};
- let collectionView = {focusedIndexPath: null, layout: {cardType: 'gallery'}};
- let wrapper = shallow(test
);
-
- let cell = wrapper.childAt(0);
- assert.equal(cell.prop('tabIndex'), 0);
- });
-});
diff --git a/test/GridView/GridLayout.js b/test/GridView/GridLayout.js
deleted file mode 100644
index a19db665fb3..00000000000
--- a/test/GridView/GridLayout.js
+++ /dev/null
@@ -1,127 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {DragTarget, IndexPath, Point, Rect, Size} from '@react/collection-view';
-import {GridLayout} from '../../src/GridView';
-import sinon from 'sinon';
-
-describe('GridLayout', function () {
- let layout;
- beforeEach(function () {
- layout = new GridLayout();
- layout.component = {props: {}};
- layout.collectionView = {
- size: new Size(1000, 1000),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- incrementIndexPath: (indexPath, inc) => new IndexPath(indexPath.section, indexPath.index + inc)
- };
-
- layout.validate();
- });
-
- it('should layout some items', function () {
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 8);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24, 24, 220, 272));
- assert.deepEqual(layoutInfos[1].rect, new Rect(268, 24, 220, 272));
- assert.deepEqual(layoutInfos[4].rect, new Rect(24, 344, 220, 272));
-
- let layoutInfo = layout.getLayoutInfo('item', 0, 5);
- assert.deepEqual(layoutInfo.rect, new Rect(268, 344, 220, 272));
-
- assert.deepEqual(layout.getContentSize(), new Size(1000, 8000));
- });
-
- it('should get a drop target with dropPosition="on"', function () {
- layout.component.props.dropPosition = 'on';
- layout.collectionView.indexPathAtPoint = sinon.stub().returns(new IndexPath(0, 5));
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(layout.collectionView.indexPathAtPoint.getCall(0).args[0], new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_ON));
- });
-
- it('should get a drop target on the whole table with dropPosition="on"', function () {
- layout.component.props.dropPosition = 'on';
- layout.collectionView.indexPathAtPoint = sinon.stub().returns(null);
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(layout.collectionView.indexPathAtPoint.getCall(0).args[0], new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- });
-
- it('should get a drop target with dropPosition="between"', function () {
- layout.component.props.dropPosition = 'between';
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
-
- target = layout.getDropTarget(new Point(200, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN));
- });
-
- it('should get a drop target at the end with dropPosition="between"', function () {
- layout.component.props.dropPosition = 'between';
-
- let target = layout.getDropTarget(new Point(28, 10000));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 100), DragTarget.DROP_BETWEEN));
- });
-
- it('should shift a row when dragging between two items', function () {
- layout.component.props.dropPosition = 'between';
- layout.collectionView._dropTarget = new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN);
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 8);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24 - 50, 24, 220, 272));
- assert.deepEqual(layoutInfos[1].rect, new Rect(268 + 50, 24, 220, 272));
- assert.deepEqual(layoutInfos[4].rect, new Rect(24, 344, 220, 272));
- });
-
- it('should not shift a row when reordering items in a position next to the original', function () {
- layout.component.props.dropPosition = 'between';
- layout.collectionView._dragTarget = new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN);
- layout.collectionView._dropTarget = new DragTarget('item', new IndexPath(0, 1), DragTarget.DROP_BETWEEN);
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 8);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24, 24, 220, 272));
- assert.deepEqual(layoutInfos[1].rect, new Rect(268, 24, 220, 272));
- assert.deepEqual(layoutInfos[4].rect, new Rect(24, 344, 220, 272));
- });
-
- it('should get the indexPathAbove', function () {
- assert.deepEqual(layout.indexPathAbove(new IndexPath(0, 4)), new IndexPath(0, 0));
- });
-
- it('should get the indexPathBelow', function () {
- assert.deepEqual(layout.indexPathBelow(new IndexPath(0, 0)), new IndexPath(0, 4));
- });
-
- it('should get the indexPathLeftOf', function () {
- assert.deepEqual(layout.indexPathLeftOf(new IndexPath(0, 4)), new IndexPath(0, 3));
- });
-
- it('should get the indexPathRightOf', function () {
- assert.deepEqual(layout.indexPathRightOf(new IndexPath(0, 0)), new IndexPath(0, 1));
- });
-});
diff --git a/test/GridView/GridView.js b/test/GridView/GridView.js
deleted file mode 100644
index 522e21951d2..00000000000
--- a/test/GridView/GridView.js
+++ /dev/null
@@ -1,96 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import GridItem from '../../src/GridView/js/GridItem';
-import {GridLayout, GridView} from '../../src/GridView';
-import ListDataSource from '../../src/ListDataSource';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('GridView', function () {
- class TestDS extends ListDataSource {
- load() {
- return [
- {active: true, name: 'test'},
- {active: false, name: 'foo'},
- {active: true, name: 'bar'},
- {active: false, name: 'baz'}
- ];
- }
- }
-
- let ds = new TestDS;
- function renderItem(item) {
- return {item.name} ;
- }
-
- it('should render a collection view', function () {
- let wrapper = shallow(
-
- );
-
- assert.equal(wrapper.prop('className'), 'react-spectrum-GridView');
- assert.equal(wrapper.prop('role'), 'grid');
- assert.equal(wrapper.prop('aria-multiselectable'), true);
- assert(wrapper.prop('layout') instanceof GridLayout, 'layout is an instanceof GridLayout');
- assert.equal(wrapper.prop('canSelectItems'), true);
- assert.equal(wrapper.prop('allowsMultipleSelection'), true);
- });
-
- it('should use a layout instance', function () {
- let layout = new GridLayout;
- let wrapper = shallow(
-
- );
-
- assert.equal(wrapper.prop('layout'), layout);
- });
-
- it('wraps items in a GridItem', function () {
- let wrapper = shallow(
-
- );
-
- let item = wrapper.wrap(wrapper.prop('renderItemView')('item', {name: 'foo'}));
- assert.equal(item.type(), GridItem);
- });
-
- it('should fire an onSelectionChange event', function () {
- let onSelectionChange = sinon.spy();
- let wrapper = shallow(
-
- );
-
- wrapper.simulate('selectionChanged');
- assert(onSelectionChange.calledOnce);
- });
-});
diff --git a/test/GridView/WaterfallLayout.js b/test/GridView/WaterfallLayout.js
deleted file mode 100644
index 9d1603b46a9..00000000000
--- a/test/GridView/WaterfallLayout.js
+++ /dev/null
@@ -1,105 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {DragTarget, IndexPath, Point, Rect, Size} from '@react/collection-view';
-import sinon from 'sinon';
-import {WaterfallLayout} from '../../src/GridView';
-
-describe('WaterfallLayout', function () {
- let layout;
- beforeEach(function () {
- layout = new WaterfallLayout();
- let items = [
- {size: new Size(6000, 4000)},
- {size: new Size(8745, 3136)},
- {size: new Size(4000, 6000)},
- {size: new Size(6000, 4000)},
- {size: new Size(6000, 4000)},
- {size: new Size(6000, 4000)},
- {size: new Size(8745, 3136)},
- {size: new Size(4000, 6000)},
- {size: new Size(6000, 4000)},
- {size: new Size(6000, 4000)}
- ];
-
- layout.component = {props: {}};
- layout.collectionView = {
- size: new Size(1000, 1000),
- contentSize: new Size(1000, 1024),
- getNumberOfSections: () => 1,
- getSectionLength: () => items.length,
- incrementIndexPath: (indexPath, inc) => new IndexPath(indexPath.section, indexPath.index + inc),
- getItem: (section, index) => items[index],
- getItemView: () => null
- };
-
- layout.collectionView.delegate = {
- getItemSize: (item) => item.size
- };
-
- layout.validate({});
- });
-
- it('should layout some items', function () {
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 1000, 500));
- assert.equal(layoutInfos.length, 5);
-
- assert.deepEqual(layoutInfos[0].rect, new Rect(24, 24, 301, 257));
- assert.deepEqual(layoutInfos[1].rect, new Rect(350, 24, 301, 192));
- assert.deepEqual(layoutInfos[4].rect, new Rect(24, 305, 301, 257));
-
- let layoutInfo = layout.getLayoutInfo('item', 0, 5);
- assert.deepEqual(layoutInfo.rect, new Rect(350, 521, 301, 257));
-
- assert.deepEqual(layout.getContentSize(), new Size(1000, 1118));
- });
-
- it('should get a drop target with dropPosition="on"', function () {
- layout.component.props.dropPosition = 'on';
- layout.collectionView.indexPathAtPoint = sinon.stub().returns(new IndexPath(0, 5));
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(layout.collectionView.indexPathAtPoint.getCall(0).args[0], new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_ON));
- });
-
- it('should get a drop target on the whole table with dropPosition="on"', function () {
- layout.component.props.dropPosition = 'on';
- layout.collectionView.indexPathAtPoint = sinon.stub().returns(null);
-
- let target = layout.getDropTarget(new Point(28, 100));
- assert.deepEqual(layout.collectionView.indexPathAtPoint.getCall(0).args[0], new Point(28, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- });
-
- it('should get the indexPathAbove', function () {
- assert.deepEqual(layout.indexPathAbove(new IndexPath(0, 4)), new IndexPath(0, 0));
- });
-
- it('should get the indexPathBelow', function () {
- assert.deepEqual(layout.indexPathBelow(new IndexPath(0, 0)), new IndexPath(0, 4));
- });
-
- it('should get the indexPathLeftOf', function () {
- assert.deepEqual(layout.indexPathLeftOf(new IndexPath(0, 5)), new IndexPath(0, 7));
- });
-
- it('should get the indexPathRightOf', function () {
- assert.deepEqual(layout.indexPathRightOf(new IndexPath(0, 0)), new IndexPath(0, 1));
- });
-});
diff --git a/test/Heading/Heading.js b/test/Heading/Heading.js
deleted file mode 100644
index 29a17c1a34d..00000000000
--- a/test/Heading/Heading.js
+++ /dev/null
@@ -1,59 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Heading from '../../src/Heading';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Heading', () => {
- it('supports different sizes', () => {
- const tree = shallow(Testing );
- assertSize(tree, 1, 'h1', 'display');
- changeAndAssertSize(tree, 2, 'h2', 'pageTitle');
- changeAndAssertSize(tree, 3, 'h2', 'subtitle1');
- changeAndAssertSize(tree, 4, 'h3', 'subtitle2');
- changeAndAssertSize(tree, 5, 'h4', 'subtitle3');
- changeAndAssertSize(tree, 6, 'h4', 'subtitle3');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow(Testing );
- assert.equal(tree.prop('className'), 'spectrum-Heading spectrum-Heading--display myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow(My Heading );
- assert.equal(tree.prop('data-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(My Heading );
- assert.equal(tree.childAt(0).text(), 'My Heading');
- });
-});
-
-
-function changeAndAssertSize(tree, size, element, className) {
- tree.setProps({size});
- assertSize(tree, size, element, className);
-}
-
-function assertSize(tree, size, element, className) {
- assert.equal(tree.type(), element);
- assert.equal(tree.prop('className'), `spectrum-Heading spectrum-Heading--${className}`);
-}
diff --git a/test/Icon/Icon.js b/test/Icon/Icon.js
deleted file mode 100644
index d0bf88d1aa9..00000000000
--- a/test/Icon/Icon.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Bell from '../../src/Icon/Bell';
-import Bell18 from '@react/react-spectrum-icons/dist/Bell/18';
-import Bell24 from '@react/react-spectrum-icons/dist/Bell/24';
-import Icon from '../../src/Icon';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Icon', () => {
- it('supports icons', () => {
- const tree = shallow( );
- assert.equal(tree.type(), Icon);
- assert.equal(typeof tree.prop('icon'), 'object');
- });
-
- it('supports multiple sizes', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Icon spectrum-Icon--sizeL');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Icon spectrum-Icon--sizeM myClass');
- });
-
- it('no alt specificed. Icon is hidden from AT', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('alt text gets rendered appropriately', () => {
- let tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'Test');
- assert.ifError(tree.prop('aria-hidden'));
- tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'Test');
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('is backward compatible with aria-label property', () => {
- let tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'Test');
- assert.ifError(tree.prop('aria-hidden'));
- tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'Test');
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('aria-label should take precedence over alt', () => {
- let tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'foo', 'aria-label takes precedence over alt');
- assert.ifError(tree.prop('aria-hidden'));
- });
-
- it('switches between sizes appropriately', () => {
- let tree = shallow( );
- assert.equal(tree.prop('viewBox'), Bell18.props.viewBox);
-
- tree = shallow( );
- assert.equal(tree.prop('viewBox'), Bell24.props.viewBox);
- });
-});
diff --git a/test/IllustratedMessage/IllustratedMessage.js b/test/IllustratedMessage/IllustratedMessage.js
deleted file mode 100644
index 759b3e921ef..00000000000
--- a/test/IllustratedMessage/IllustratedMessage.js
+++ /dev/null
@@ -1,84 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Heading from '../../src/Heading';
-import IllustratedMessage from '../../src/IllustratedMessage';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('IllustratedMessage', () => {
-
- it('should support customization', () => {
- const props = {
- heading: 'Upload a file',
- description: 'Drag a file into the square',
- illustration:
- };
-
- const tree = shallow( );
-
- const headingNode = findHeadingNode(tree);
- assert.equal(headingNode.children().text(), props.heading);
- assert.equal(headingNode.prop('className'), 'spectrum-IllustratedMessage-heading');
-
- assert.equal(findDescriptionNode(tree).text(), props.description);
-
- assert.equal(findIllustrationNode(tree).prop('aria-hidden'), true);
- });
-
- it('should treat illustration as decorative by default', () => {
- const props = {
- heading: 'Upload a file',
- description: 'Drag a file into the square',
- illustration:
- };
-
- const tree = shallow( );
- let illustrationNode = findIllustrationNode(tree);
-
- assert.equal(illustrationNode.prop('aria-hidden'), true);
-
- tree.setProps({illustration: });
- illustrationNode = findIllustrationNode(tree);
- assert.equal(illustrationNode.prop('aria-hidden'), null);
- assert.equal(illustrationNode.prop('aria-label'), 'foo');
-
- tree.setProps({illustration: });
- illustrationNode = findIllustrationNode(tree);
- assert.equal(illustrationNode.prop('aria-hidden'), true);
- assert.equal(illustrationNode.prop('aria-label'), 'foo');
- });
-
- it('should support ariaLevel prop to set aria-level on Heading', () => {
- const props = {
- heading: 'Upload a file',
- description: 'Drag a file into the square',
- illustration: ,
- ariaLevel: 3
- };
-
- const tree = shallow( );
-
- const headingNode = findHeadingNode(tree);
- assert.equal(headingNode.prop('aria-level'), props.ariaLevel);
- });
-});
-
-const findHeadingNode = tree => tree.find(Heading);
-const findDescriptionNode = tree => tree.find('.spectrum-IllustratedMessage-description');
-const findIllustrationNode = tree => tree.find('.spectrum-IllustratedMessage-illustration');
diff --git a/test/Image/Image.js b/test/Image/Image.js
deleted file mode 100644
index 867e2132b36..00000000000
--- a/test/Image/Image.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {Image, ImageCache} from '../../src/Image';
-import {rAF} from '../utils';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('Image', () => {
- afterEach(() => {
- if (ImageCache.get.restore) {
- ImageCache.get.restore();
- }
-
- ImageCache._cache.clear();
- });
-
- it('should render an image', () => {
- let tree = shallow( );
- assert.equal(tree.type(), 'img');
- assert.equal(tree.prop('className'), 'react-spectrum-Image');
- assert.equal(tree.prop('src'), 'image.jpg');
- assert.equal(tree.prop('alt'), '');
- });
-
- it('should pass through additional DOM props', () => {
- let tree = shallow( );
- assert.equal(tree.prop('alt'), 'image');
- });
-
- it('should hide decorative image from assitive technology', () => {
- let tree = shallow( );
- assert.equal(tree.prop('alt'), '');
- tree.setProps({decorative: false});
- assert.equal(tree.prop('alt'), 'image');
- });
-
- it('should trigger onLoad', async () => {
- let onLoad = sinon.spy();
- let tree = shallow( );
-
- tree.instance().imgRef = {complete: true, naturalWidth: 100, naturalHeight: 100};
- tree.simulate('load');
-
- await rAF();
- assert(onLoad.called);
- });
-
- it('should load an image using the cache', () => {
- sinon.stub(ImageCache, 'get').callsArgWith(2, null, 'blob:bar');
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-Image');
- assert.equal(tree.prop('src'), 'blob:bar');
- });
-
- it('should set is-loaded class when loaded', async () => {
- sinon.stub(ImageCache, 'get').callsArgWith(2, null, 'blob:bar');
- let onLoad = sinon.spy();
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-Image');
-
- tree.instance().imgRef = {complete: true, naturalWidth: 100, naturalHeight: 100};
- tree.simulate('load');
-
- await rAF();
- assert(onLoad.called);
-
- tree.update();
- assert.equal(tree.prop('className'), 'react-spectrum-Image is-loaded');
- });
-
- it('should load a pre-cached image', () => {
- ImageCache.set('image.jpg', 'blob:foo');
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-Image is-loaded');
- assert.equal(tree.prop('src'), 'blob:foo');
- });
-
- it('should show a placeholder image when cached already', async () => {
- // this test relies way too much on the internals, but i can't think of something better right now
- let resolver = null;
- let imgCachePromise = new Promise(resolve => resolver = resolve);
- sinon.stub(ImageCache, 'get').callsFake((foo, bar, callback) => {
- imgCachePromise.then(() => {
- callback(null, 'blob:bar');
- });
- });
- ImageCache.set('placeholder.jpg', 'blob:placeholder');
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-Image is-placeholder');
- assert.equal(tree.prop('src'), 'blob:placeholder');
-
- tree.instance().imgRef = {complete: true, naturalWidth: 100, naturalHeight: 100};
- tree.simulate('load');
- await rAF();
- tree.update();
- let setStateSpy = sinon.stub(tree.instance(), 'setState').callThrough();
- resolver();
- await imgCachePromise;
- // in enzyme for 15 weirdness happens and the img ref is lost on renders
- // so instead of relying on the component output after,
- // check what the state was set to
- sinon.assert.calledWith(setStateSpy, {
- src: 'blob:bar',
- loaded: false,
- isPlaceholder: false
- });
- });
-
- it('should update the image when the src prop changes', async () => {
- ImageCache.set('image1.jpg', 'blob:one');
- ImageCache.set('image2.jpg', 'blob:two');
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-Image is-loaded');
- assert.equal(tree.prop('src'), 'blob:one');
-
- tree.setProps({src: 'image2.jpg'});
- assert.equal(tree.prop('src'), 'blob:two');
- });
-
- it('should reset the state on error', async () => {
- ImageCache.set('image1.jpg', 'blob:one');
-
- let onError = sinon.spy();
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-Image is-loaded');
- assert.equal(tree.prop('src'), 'blob:one');
-
- sinon.stub(ImageCache, 'get').callsArgWith(2, 'error');
-
- tree.setProps({src: 'image2.jpg'});
- assert.equal(tree.prop('className'), 'react-spectrum-Image');
- assert.equal(tree.prop('src'), '');
- assert(onError.called);
- });
-});
diff --git a/test/InlineEditor/InlineEditor.js b/test/InlineEditor/InlineEditor.js
deleted file mode 100644
index 00ebad941a5..00000000000
--- a/test/InlineEditor/InlineEditor.js
+++ /dev/null
@@ -1,215 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import InlineEditor from '../../src/InlineEditor';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-import Textfield from '../../src/Textfield';
-
-describe('InlineEditor', () => {
- it('should render a label by default', () => {
- const tree = shallow( );
- assert.equal(tree.type(), 'span');
- assert.equal(tree.prop('className'), 'react-spectrum-InlineEditor react-spectrum-InlineEditor-label');
- assert.equal(tree.text(), 'test');
- });
-
- it('should render a textfield in autofocus mode', () => {
- const tree = shallow( );
- assert.equal(tree.type(), Textfield);
- assert.equal(tree.prop('className'), 'react-spectrum-InlineEditor react-spectrum-InlineEditor-input');
- assert.equal(tree.prop('value'), 'test');
- });
-
- it('should render a textfield on double click', () => {
- const tree = shallow( );
- assert.equal(tree.type(), 'span');
-
- tree.simulate('doubleClick');
-
- assert.equal(tree.type(), Textfield);
- assert.equal(tree.prop('className'), 'react-spectrum-InlineEditor react-spectrum-InlineEditor-input');
- assert.equal(tree.prop('value'), 'test');
- });
-
- it('should support custom classnames', () => {
- const tree = shallow( );
- assert(tree.hasClass('foo'));
-
- tree.simulate('doubleClick');
- assert(tree.hasClass('foo'));
- });
-
- it('should save the value on enter', (done) => {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('doubleClick');
- assert.equal(tree.prop('value'), 'test');
-
- tree.simulate('change', 'foo');
- assert.equal(tree.prop('value'), 'foo');
-
- tree.simulate('keyDown', {key: 'Enter'});
- setImmediate(() => {
- tree.update();
- assert.equal(tree.type(), 'span');
- assert.equal(tree.text(), 'foo');
-
- assert(onChange.calledOnce);
- assert.equal(onChange.lastCall.args[0], 'foo');
- done();
- });
- });
-
- it('should save the value on enter when onChange returns success in validate mode', (done) => {
- const onChange = sinon.stub();
- onChange.resolves(true);
- const tree = shallow( );
-
- tree.simulate('doubleClick');
- assert.equal(tree.prop('value'), 'test');
-
- tree.simulate('change', 'foo');
- assert.equal(tree.prop('value'), 'foo');
-
- tree.simulate('keyDown', {key: 'Enter'});
- setImmediate(() => {
- tree.update();
- assert.equal(tree.type(), 'span');
- assert.equal(tree.text(), 'foo');
-
- sinon.assert.calledOnce(onChange);
- assert.equal(onChange.lastCall.args[0], 'foo');
- done();
- });
- });
-
- it('should remain a textfield on enter when onChange returns failure in validate mode', (done) => {
- const onChange = sinon.stub();
- onChange.resolves(false);
- const tree = shallow( );
-
- tree.simulate('doubleClick');
- assert.equal(tree.prop('value'), 'test');
-
- tree.simulate('change', 'foo');
- assert.equal(tree.prop('value'), 'foo');
-
- tree.simulate('keyDown', {key: 'Enter'});
- setImmediate(() => {
- tree.update();
- assert.equal(tree.type(), Textfield);
- assert.equal(tree.prop('value'), 'foo');
- assert.equal(tree.prop('invalid'), true);
-
- sinon.assert.calledOnce(onChange);
- assert.equal(onChange.lastCall.args[0], 'foo');
- done();
- }, 0);
- });
-
- it('should not execute onCancel hook on Enter', (done) => {
- const onChange = sinon.spy();
- const handleCancel = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('doubleClick');
-
- tree.simulate('change', 'foo');
-
- tree.simulate('keyDown', {key: 'Enter'});
- setImmediate(() => {
- tree.update();
-
- sinon.assert.notCalled(handleCancel);
- assert(onChange.calledOnce);
-
- done();
- });
- });
-
- it('should execute onCancel hook on Escape key down', () => {
- const onChange = sinon.spy();
- const handleCancel = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('doubleClick');
-
- tree.simulate('change', 'foo');
-
- tree.simulate('keyDown', {key: 'Escape'});
-
- sinon.assert.notCalled(onChange);
- sinon.assert.called(handleCancel);
- });
-
- it('should revert to the previous value on escape', () => {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('doubleClick');
- assert.equal(tree.prop('value'), 'test');
-
- tree.simulate('change', 'foo');
- assert.equal(tree.prop('value'), 'foo');
-
- tree.simulate('keyDown', {key: 'Escape'});
- assert.equal(tree.type(), 'span');
- assert.equal(tree.text(), 'test');
-
- assert(onChange.notCalled);
- });
-
- it('should not set state on save in controlled mode', (done) => {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('doubleClick');
- assert.equal(tree.prop('value'), 'test');
-
- tree.simulate('change', 'foo');
- assert.equal(tree.prop('value'), 'foo');
-
- tree.simulate('keyDown', {key: 'Enter'});
- setImmediate(() => {
- tree.update();
- assert.equal(tree.type(), 'span');
- assert.equal(tree.text(), 'test');
-
- assert(onChange.calledOnce);
- assert.equal(onChange.lastCall.args[0], 'foo');
- done();
- });
- });
-
- it('should update the value on value prop change', () => {
- const tree = shallow( );
- assert.equal(tree.text(), 'test');
- tree.setProps({value: 'hi'});
- assert.equal(tree.text(), 'hi');
- });
-
- it('should not update the value on defaultValue prop change', () => {
- const tree = shallow( );
- assert.equal(tree.text(), 'test');
- tree.setProps({defaultValue: 'hi'});
- assert.equal(tree.text(), 'test');
- });
-});
diff --git a/test/Label/Label.js b/test/Label/Label.js
deleted file mode 100644
index ecf113b6e8b..00000000000
--- a/test/Label/Label.js
+++ /dev/null
@@ -1,52 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Label from '../../src/Label';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Label', () => {
- it('supports the large size', () => {
- const tree = shallow(Testing );
- assert(tree.hasClass('spectrum-Label--large'));
- });
-
- it('supports variants, default grey', () => {
- let tree = shallow(Testing );
- assert(tree.hasClass('spectrum-Label--red'));
-
- tree = shallow(Testing );
- assert(tree.hasClass('spectrum-Label--grey'));
- });
-
- it('supports additional classNames', () => {
- const tree = shallow(Testing );
- assert(tree.hasClass('myClass'));
- assert(tree.hasClass('spectrum-Label'));
- });
-
- it('supports additional properties', () => {
- const tree = shallow(Testing );
- assert.equal(tree.prop('data-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(My Link );
- assert.equal(tree.childAt(0).text(), 'My Link');
- });
-});
diff --git a/test/Link/Link.js b/test/Link/Link.js
deleted file mode 100644
index 1c460ab6d4c..00000000000
--- a/test/Link/Link.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Link from '../../src/Link';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('Link', () => {
- it('supports the quiet variation', () => {
- const tree = shallow( Testing);
- assert(tree.prop('className').indexOf('spectrum-Link--quiet') >= 0);
-
- // deprecated subtle prop should still work
- tree.setProps({subtle: true, variant: null});
-
- assert(tree.prop('className').indexOf('spectrum-Link--quiet') >= 0);
-
- // deprecated variant='subtle' should still work
- tree.setProps({subtle: null, variant: 'subtle'});
-
- assert(tree.prop('className').indexOf('spectrum-Link--quiet') >= 0);
- });
-
- it('supports the overBackground variation', () => {
- const tree = shallow( Testing);
- assert(tree.prop('className').indexOf('spectrum-Link--overBackground') >= 0);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( Testing);
- assert(tree.prop('className').indexOf('myClass') >= 0);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( My Link);
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('supports children', () => {
- const tree = shallow( My Link);
- assert.equal(tree.childAt(0).text(), 'My Link');
- });
-
- describe('Accessibility', () => {
- it('adds generic href when onClick prop is used without href', () => {
- const onClickSpy = sinon.spy();
- const preventDefaultSpy = sinon.spy();
- const tree = shallow( My Link);
- tree.simulate('click', {preventDefault: preventDefaultSpy, defaultPrevented: false});
- assert(onClickSpy.called);
- assert(preventDefaultSpy.called);
- assert.equal(tree.find('a').prop('href'), '#');
- });
- });
-});
diff --git a/test/List/List.js b/test/List/List.js
deleted file mode 100644
index 2750989addc..00000000000
--- a/test/List/List.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import FocusManager from '../../src/utils/FocusManager';
-import {List} from '../../src/List';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('List', () => {
- it('renders a ul with correct className', function () {
- let tree = shallow(
);
- assert.equal(tree.type(), FocusManager);
- assert.equal(tree.prop('itemSelector'), '.spectrum-Menu-item:not(.is-disabled)');
- assert.equal(tree.prop('selectedItemSelector'), '.spectrum-Menu-item:not(.is-disabled).is-selected');
- assert.equal(tree.find('ul').hasClass('spectrum-Menu'), true);
- assert.equal(tree.find('ul').hasClass('is-selectable'), false);
- });
-
- it('is selectable when it should be', function () {
- const tree = shallow(
);
- assert.equal(tree.find('ul').hasClass('is-selectable'), true);
- });
-});
diff --git a/test/List/ListItem.js b/test/List/ListItem.js
deleted file mode 100644
index 80ec25d6853..00000000000
--- a/test/List/ListItem.js
+++ /dev/null
@@ -1,151 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {ListItem} from '../../src/List';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-const render = (props) => {
- const defaultProps = {
- label: 'Foo'
- };
- return shallow( );
-};
-
-describe('ListItem', () => {
- it('li elements from ListItem shouldn\'t be passed a value prop', () => {
- const tree = render({value: 'test'});
- assert(!tree.props().value);
- assert(tree.instance().props.value === 'test');
- });
-
- describe('handleMouseEnter', () => {
- let focusSpy;
-
- beforeEach(() => {
- focusSpy = sinon.spy();
- });
-
- it('should focus the currentTarget on mouseEnter if onMouseEnter is undefined', () => {
- const tree = render();
- tree.simulate('mouseenter', {currentTarget: {focus: focusSpy}});
- assert(focusSpy.called);
- });
-
- it('shouldn\'t focus the currentTarget on mouseEnter if onMouseEnter is supplied', () => {
- const tree = render({onMouseEnter: () => {}});
- tree.simulate('mouseenter', {currentTarget: {focus: focusSpy}});
- assert(!focusSpy.called);
- });
- });
-
- describe('handleClick', () => {
- let clickSpy;
- let selectSpy;
-
- beforeEach(() => {
- clickSpy = sinon.spy();
- selectSpy = sinon.spy();
- });
-
- it('should trigger onClick if onClick is supplied', () => {
- const tree = render({onClick: clickSpy});
- tree.simulate('click', {preventDefault: () => {}});
- assert(clickSpy.called);
- });
-
- it('should trigger onSelect if onSelect is supplied and onClick is not supplied.', () => {
- const tree = render({onSelect: selectSpy});
- tree.simulate('click', {preventDefault: () => {}});
- assert(selectSpy.called);
- });
-
- it('should trigger onClick and onSelect if both are supplied.', () => {
- const tree = render({onClick: clickSpy, onSelect: selectSpy});
- tree.simulate('click', {preventDefault: () => {}});
- assert(clickSpy.called);
- assert(selectSpy.called);
- });
- });
-
- describe('handleFocus', () => {
- let focusSpy;
-
- beforeEach(() => {
- focusSpy = sinon.spy();
- });
-
- it('should trigger onFocus if onFocus is supplied', () => {
- const tree = render({onFocus: focusSpy});
- tree.simulate('focus', {preventDefault: () => {}});
- assert(focusSpy.called);
- });
- });
-
- describe('handleKeydown', () => {
- let keyDownSpy;
-
- beforeEach(() => {
- keyDownSpy = sinon.spy();
- });
-
- it('should trigger onKeyDown if onKeyDown is supplied', () => {
- const tree = render({onKeyDown: keyDownSpy});
- tree.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert(keyDownSpy.called);
- });
- });
-
- describe('handleBlur', () => {
- let blurSpy;
-
- beforeEach(() => {
- blurSpy = sinon.spy();
- });
-
- it('should trigger onBlur if onBlur is supplied', () => {
- const tree = render({onBlur: blurSpy});
- tree.simulate('blur', {preventDefault: () => {}});
- assert(blurSpy.called);
- });
- });
-
- describe('when role=menuitemcheckbox or role=menuitemradio', () => {
- it('should include aria-checked', () => {
- const tree = render({role: 'menuitemcheckbox'});
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-checked'), false);
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-selected'), null);
-
- tree.setProps({selected: true});
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-checked'), true);
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-selected'), null);
-
- tree.setProps({role: 'menuitemradio'});
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-checked'), true);
-
- tree.setProps({role: 'option'});
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-checked'), null);
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-selected'), true);
-
- tree.setProps({role: 'menuitem'});
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-checked'), null);
- assert.equal(tree.find('.spectrum-Menu-item').prop('aria-selected'), null);
- });
- });
-});
diff --git a/test/ListDataSource/ListDataSource.js b/test/ListDataSource/ListDataSource.js
deleted file mode 100644
index c6476e9f65e..00000000000
--- a/test/ListDataSource/ListDataSource.js
+++ /dev/null
@@ -1,136 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {IndexPath} from '@react/collection-view';
-import ListDataSource from '../../src/ListDataSource';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-class TestDS extends ListDataSource {
- load() {
- return [1, 2, 3, 4];
- }
-
- loadMore() {
- return [5, 6, 7, 8];
- }
-}
-
-describe('ListDataSource', function () {
- it('should trigger a load when calling performLoad', async function () {
- let ds = new TestDS;
- let insertSection = sinon.spy(ds, 'insertSection');
-
- await ds.performLoad();
- assert.equal(insertSection.callCount, 1);
- assert.deepEqual(ds.sections, [[1, 2, 3, 4]]);
- assert.deepEqual(insertSection.getCall(0).args, [0, [1, 2, 3, 4], false]);
- });
-
- it('should only display results of last performLoad', async function () {
- let ds = new TestDS;
- let i = 0;
- ds.load = async () => {
- // simulate a request taking a certain length of time
- i++;
- await sleep(5);
- let res = [];
- for (let j = 0; j < i; j++) {
- res.push(j);
- }
- return res;
- };
- let insertSection = sinon.spy(ds, 'insertSection');
- ds.performLoad();
- ds.performLoad();
- await sleep(10);
- assert.equal(insertSection.callCount, 1);
- assert.deepEqual(ds.sections, [[0, 1]]);
- });
-
- it('should not display performLoad results if earlier performLoad finishes after last made', async function () {
- let ds = new TestDS;
- let i = 0;
- ds.load = async () => {
- // simulate earlier requests taking longer than subsequent requests
- await sleep(30 - ++i * 10);
- let res = [];
- for (let j = 0; j < i; j++) {
- res.push(j);
- }
- return res;
- };
- let insertSection = sinon.spy(ds, 'insertSection');
- ds.performLoad();
- ds.performLoad();
- await sleep(25);
- assert.equal(insertSection.callCount, 1); // should only be called on last performLoad
- assert.deepEqual(ds.sections, [[0, 1]]);
- });
-
- it('should clear the data before loading', async function () {
- let ds = new TestDS;
- await ds.performLoad();
-
- let clear = sinon.spy(ds, 'clear');
- let insertSection = sinon.spy(ds, 'insertSection');
-
- await ds.performLoad();
- assert.equal(clear.callCount, 1);
- assert.deepEqual(ds.sections, [[1, 2, 3, 4]]);
- assert.equal(insertSection.callCount, 1);
- assert.deepEqual(insertSection.getCall(0).args, [0, [1, 2, 3, 4], false]);
- });
-
- it('should trigger a loadMore when calling performLoadMore', async function () {
- let ds = new TestDS;
- await ds.performLoad();
-
- let insertItems = sinon.spy(ds, 'insertItems');
-
- await ds.performLoadMore();
- assert.equal(insertItems.callCount, 1);
- assert.deepEqual(ds.sections, [[1, 2, 3, 4, 5, 6, 7, 8]]);
- assert.deepEqual(insertItems.getCall(0).args, [new IndexPath(0, 4), [5, 6, 7, 8], false]);
- });
-
- it('should only display results of last performLoadMore', async function () {
- let ds = new TestDS;
- await ds.performLoad();
-
- let insertItems = sinon.spy(ds, 'insertItems');
-
- ds.performLoadMore();
- ds.performLoadMore();
- await sleep(4);
- assert.equal(insertItems.callCount, 1);
- assert.deepEqual(ds.sections[0].length, 8);
- });
-
- it('should trigger a load when performing a sort', async function () {
- let ds = new TestDS;
- await ds.performLoad();
-
- let insertSection = sinon.spy(ds, 'insertSection');
-
- await ds.performSort();
- assert.equal(insertSection.callCount, 1);
- assert.deepEqual(ds.sections, [[1, 2, 3, 4]]);
- assert.deepEqual(insertSection.getCall(0).args, [0, [1, 2, 3, 4], false]);
- });
-});
diff --git a/test/Menu/Menu.js b/test/Menu/Menu.js
deleted file mode 100644
index 5e61ce6fa45..00000000000
--- a/test/Menu/Menu.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {List} from '../../src/List';
-import {Menu, MenuItem} from '../../src/Menu';
-import {mount} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Menu', () => {
- it('renders a List with correct className', () => {
- let tree = mount( );
- let lists = tree.find(List);
- assert.equal(lists.length, 1);
- let list = lists.at(0);
- assert(list.find('.bell').length > 0);
-
- tree.unmount();
- });
-
- it('supports onClick event', () => {
- let onClickSpy = sinon.spy();
- let tree = mount(Foo );
- tree.find(MenuItem).simulate('click');
- assert(onClickSpy.calledOnce);
-
- tree.unmount();
- });
-});
diff --git a/test/Menu/MenuDivider.js b/test/Menu/MenuDivider.js
deleted file mode 100644
index d5ee08be5fe..00000000000
--- a/test/Menu/MenuDivider.js
+++ /dev/null
@@ -1,29 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {MenuDivider} from '../../src/Menu';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('MenuDivider', () => {
- it('should render an li element with role="separator"', () => {
- const tree = shallow( );
- assert.equal(tree.find('li').length, 1);
- assert.equal(tree.find('li').prop('role'), 'separator');
- });
-});
diff --git a/test/Menu/MenuHeading.js b/test/Menu/MenuHeading.js
deleted file mode 100644
index 91e61b25bc8..00000000000
--- a/test/Menu/MenuHeading.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {MenuHeading} from '../../src/Menu';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-
-describe('MenuHeading', () => {
- it('renders a li element with a Menu sectionHeading class and role="heading"', () => {
- let tree = shallow( );
- let heading = tree.find('li.spectrum-Menu-sectionHeading');
- assert.equal(heading.length, 1);
- assert.equal(heading.childAt(0).prop('role'), 'heading');
- assert.equal(heading.childAt(0).prop('aria-level'), 3);
- });
- it('should set aria-level', () => {
- let tree = shallow( );
- let heading = tree.find('li.spectrum-Menu-sectionHeading');
- assert.equal(heading.childAt(0).prop('aria-level'), 3);
- tree.setProps({'aria-level': 4});
- assert.equal(tree.find('li.spectrum-Menu-sectionHeading').childAt(0).prop('aria-level'), 4);
- });
- it('places label text as children of the li element', () => {
- let tree = mount( );
- let heading = tree.find('li.spectrum-Menu-sectionHeading').at(0);
- assert.equal(heading.text(), 'foo');
- tree.unmount();
- });
-});
diff --git a/test/Menu/MenuItem.js b/test/Menu/MenuItem.js
deleted file mode 100644
index 8708e67ef28..00000000000
--- a/test/Menu/MenuItem.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {ListItem} from '../../src/List';
-import {MenuItem} from '../../src/Menu';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('MenuItem', () => {
- it('should be a ListItem', () => {
- const tree = shallow( );
- assert.equal(tree.find(ListItem).length, 1);
- });
- it('should accept a label', () => {
- const tree = shallow( );
- let items = tree.find(ListItem);
- assert.equal(items.length, 1);
- assert.equal(items.at(0).prop('label'), 'foo');
- });
-});
diff --git a/test/Menu/SubMenu.js b/test/Menu/SubMenu.js
deleted file mode 100644
index 25fa17b076c..00000000000
--- a/test/Menu/SubMenu.js
+++ /dev/null
@@ -1,292 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {Menu, MenuItem, SubMenu} from '../../src/Menu';
-import {mount, shallow} from 'enzyme';
-import OverlayTrigger from '../../src/OverlayTrigger';
-import React from 'react';
-import sinon from 'sinon';
-
-const render = (props = {}) => shallow(
-
- Menu Item 1
- Menu Item 2
-
- );
-
-describe('SubMenu', () => {
- let clock;
- let tree;
-
- before(() => {
- clock = sinon.useFakeTimers();
- });
-
- after(() => {
- clock.runAll();
- clock.restore();
- });
-
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- });
-
- it('has correct defaults', () => {
- const tree = render();
- assert.equal(tree.prop('placement'), 'right top');
- });
-
- it('renders an overlayTrigger', () => {
- const tree = render();
- assert.equal(tree.find(OverlayTrigger).length, 1);
- });
-
- it('menuItem is trigger for overlay', () => {
- const tree = render();
- const overlayTrigger = tree.find(OverlayTrigger);
- assert.equal(overlayTrigger.childAt(0).type(), MenuItem);
- assert.equal(overlayTrigger.find(Menu).length, 1);
- });
-
- it('Submenu is opened on trigger', async () => {
- tree = mount(
-
- Menu Item 1
- Menu Item 2
-
- );
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- tree.find('li').simulate('mouseenter');
- clock.tick(16); // wait for animation
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert(document.querySelector('.spectrum-Popover .spectrum-Menu'));
- });
-
- it('Submenu is opened on click', async () => {
- tree = mount(
-
- Menu Item 1
- Menu Item 2
-
- );
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- tree.find('li').simulate('click');
- clock.tick(16);
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert(document.querySelector('.spectrum-Popover .spectrum-Menu'));
- });
-
- it('should hide on mouseleave', async () => {
- tree = mount(
-
- Menu Item 1
- Menu Item 2
-
- );
- tree.setState({opened: true});
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert(document.querySelector('.spectrum-Popover .spectrum-Menu'));
- tree.find('li').simulate('mouseleave');
- clock.tick(250); // wait for animation
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert(!document.querySelector('.spectrum-Popover .spectrum-Menu'));
- });
-
- it('should call _onNestedSubmenuOpen on show', async () => {
- let spy = sinon.spy();
- tree = mount(
-
- Menu Item 1
-
- Menu Item 1
- Menu Item 2
-
-
- );
- tree.find('li').simulate('click');
- clock.tick(16);
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert(spy.calledOnce);
- document.querySelectorAll('.spectrum-Popover .spectrum-Menu-item')[1].click();
- clock.tick(16);
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 2);
- assert(spy.calledTwice);
- document.querySelectorAll('.spectrum-Popover .spectrum-Menu-item')[2]
- .dispatchEvent(new window.KeyboardEvent('keydown', {key: 'ArrowLeft', bubbles: true}));
- clock.tick(250);
- document.querySelectorAll('.spectrum-Popover .spectrum-Menu-item')[1]
- .dispatchEvent(new window.KeyboardEvent('keydown', {key: 'ArrowLeft', bubbles: true}));
- clock.tick(250);
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- });
-
- describe('Accessibility', () => {
-
- it('aria-haspopup is set to as menu', function () {
- const tree = render();
- assert.equal(tree.find(OverlayTrigger).find(MenuItem).at(0).prop('aria-haspopup'), 'menu');
- });
-
- it('aria-expanded is set to correct value', async () => {
- tree = mount(
-
- Menu Item 1
- Menu Item 2
-
- );
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.find('li').simulate('mouseenter');
- clock.tick(16); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.find('li').simulate('mouseleave');
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert(!document.querySelector('.spectrum-Popover .spectrum-Menu'));
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- });
-
- it('aria-owns and aria-labelledby are set correct', async () => {
- tree = mount(
-
- Menu Item 1
- Menu Item 2
-
- );
- tree.find('li').simulate('mouseenter');
- clock.tick(16); // wait for animation
- tree.update();
- const childMenu = document.querySelector('.spectrum-Popover .spectrum-Menu');
- assert.equal(tree.find('li').prop('aria-owns'), childMenu.id);
- assert.equal(tree.find('li').prop('id'), childMenu.getAttribute('aria-labelledby'));
- tree.find('li').simulate('mouseleave');
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert(!document.querySelector('.spectrum-Popover .spectrum-Menu'));
- assert.equal(tree.find('li').prop('aria-owns'), null);
- });
-
- describe('Keyboard', () => {
- it('Submenu opens with Enter or Space key, and closes with ArrowLeft', async () => {
- const onKeyDownSpy = sinon.spy();
- tree = mount(
-
- Menu Item 1
- Menu Item 2
-
- );
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.find('li').simulate('keydown', {key: 'Enter'});
- assert(onKeyDownSpy.calledOnce);
- clock.tick(16); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.find('li').simulate('keydown', {key: 'ArrowLeft'});
- assert(onKeyDownSpy.calledTwice);
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- onKeyDownSpy.resetHistory();
- tree.find('li').simulate('keydown', {key: ' '});
- assert(onKeyDownSpy.calledOnce);
- clock.tick(16); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.find('li').simulate('keydown', {key: 'Left'});
- assert(onKeyDownSpy.calledTwice);
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- });
- it('Submenu opens with ArrowRight key, and closes with ArrowLeft', async () => {
- const onKeyDownSpy = sinon.spy();
- tree = mount(
-
- Sub Menu Item 1
- Sub Menu Item 2
-
- );
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.find('li').simulate('keydown', {key: 'ArrowRight'});
- assert(onKeyDownSpy.calledOnce);
- clock.tick(16); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.find('li').simulate('keydown', {key: 'ArrowLeft'});
- assert(onKeyDownSpy.calledTwice);
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- onKeyDownSpy.resetHistory();
- tree.find('li').simulate('keydown', {key: 'Right'});
- assert(onKeyDownSpy.calledOnce);
- clock.tick(16); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'true');
- tree.find('li').simulate('keydown', {key: 'Left'});
- assert(onKeyDownSpy.calledTwice);
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- });
- it('Submenu closes with ArrowLeft on submenu item', async () => {
- tree = mount(
-
- Sub Menu Item 1
- Sub Menu Item 2
-
- );
- tree.setState({opened: true});
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'true');
- document.querySelector('.spectrum-Popover .spectrum-Menu-item')
- .dispatchEvent(new window.KeyboardEvent('keydown', {key: 'ArrowLeft', bubbles: true}));
- assert.equal(tree.state('opened'), false);
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- tree.setState({opened: true});
- document.querySelector('.spectrum-Popover .spectrum-Menu-item')
- .dispatchEvent(new window.KeyboardEvent('keydown', {key: 'Left', bubbles: true}));
- assert.equal(tree.state('opened'), false);
- clock.tick(250); // wait for animation
- tree.update();
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
- assert.equal(tree.find('li').getDOMNode().getAttribute('aria-expanded'), 'false');
- });
- });
- });
-});
diff --git a/test/ModalContainer/ModalContainer.js b/test/ModalContainer/ModalContainer.js
deleted file mode 100644
index 2f7e1ceda66..00000000000
--- a/test/ModalContainer/ModalContainer.js
+++ /dev/null
@@ -1,308 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Dialog from '../../src/Dialog';
-import ModalContainer, {Modal} from '../../src/ModalContainer';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('ModalContainer', () => {
- let clock;
-
- before(() => {
- clock = sinon.useFakeTimers();
- });
-
- after(() => {
- clock.restore();
- });
-
- it('should wrap contents in a modal and call PortalContainer', async () => {
- let content = Contents
;
- let key = ModalContainer.show(content);
-
- let node = document.querySelector('#modal-test');
- assert(node);
- assert.equal(node.previousSibling.className, 'spectrum-Underlay');
-
- clock.tick(1);
-
- assert.equal(node.previousSibling.className, 'spectrum-Underlay is-open');
-
- ModalContainer.hide(key);
- node = document.querySelector('#modal-test');
- assert(!node);
- });
-
- it('should use "static" for backdrop by default', () => {
- const tree = shallow(Contents
);
- assert.equal(tree.props().backdrop, 'static');
- });
-
- it('should use true for backdrop if it hosts a node with backdropClickable: true', () => {
- const tree = shallow(Contents
);
- assert.equal(tree.props().backdrop, true);
- });
-
- it('should use false for backdrop if it hosts a node with fullscreenTakeover: true', () => {
- const tree = shallow(Contents
);
- assert.equal(tree.props().backdrop, false);
- });
-
- it('should use false for backdrop if it hosts a node with fullscreenTakeover: true and backdropClickable: true', () => {
- const tree = shallow(Contents
);
- assert.equal(tree.props().backdrop, false);
- });
-
- it('should move focus to modal on show and restore focus to the last focused element on hide', () => {
- const tree = mount(Last focus );
-
- // set focus to a trigger element
- const triggerNode = tree.getDOMNode();
- triggerNode.focus();
- assert.equal(document.activeElement, triggerNode);
-
- // create and show a modal
- let content = Contents
;
- let key = ModalContainer.show(content);
-
- // focus should be set to modal
- let node = document.querySelector('#modal-test');
- assert.equal(document.activeElement, node);
-
- // hide the modal
- ModalContainer.hide(key);
-
- // focus should be restored to the trigger element
- assert.equal(document.activeElement, triggerNode);
- tree.unmount();
- });
-
- it('should render modal to a given context', () => {
- class ContextElement extends React.Component {
- render() {
- return
;
- }
- }
-
- let ref;
-
- const tree = mount( ref = r} className="container">Last focus );
-
- // set focus to a trigger element
- const triggerNode = tree.find('button').getDOMNode();
- triggerNode.focus();
- assert.equal(document.activeElement, triggerNode);
-
- // create and show a modal
- let content = Contents
;
- let key = ModalContainer.show(content, ref);
-
- // focus should be set to modal
- let node = document.querySelector('#modal-test');
- assert.equal(document.activeElement, node);
-
- // hide the modal
- ModalContainer.hide(key);
-
- // focus should be restored to the trigger element
- assert.equal(document.activeElement, triggerNode);
- tree.unmount();
- });
-
- it('should disable background scroll', async () => {
- let content = Contents
;
- let key = ModalContainer.show(content);
- assert.equal(document.body.style[';overflow'], 'hidden');
- ModalContainer.hide(key);
- });
-
- describe('Accessibility', () => {
- it('should have role="dialog" when child has no role', async () => {
- let content = Contents
;
- let key = ModalContainer.show(content);
-
- let node = document.querySelector('#modal-test');
- assert(node);
- assert.equal(node.previousSibling.className, 'spectrum-Underlay');
-
- clock.tick(1);
-
- assert.equal(node.previousSibling.className, 'spectrum-Underlay is-open');
- assert.equal(node.parentElement.getAttribute('role'), 'dialog');
- assert.equal(node.parentElement.getAttribute('aria-modal'), 'true');
-
- ModalContainer.hide(key);
- node = document.querySelector('#modal-test');
- assert(!node);
- });
-
- it('should have role="presentation" when child has role="dialog"', async () => {
- let content = Contents
;
- let key = ModalContainer.show(content);
-
- let node = document.querySelector('#modal-test');
- assert(node);
- assert.equal(node.previousSibling.className, 'spectrum-Underlay');
-
- clock.tick(1);
-
- assert.equal(node.previousSibling.className, 'spectrum-Underlay is-open');
- assert.equal(node.parentElement.getAttribute('role'), 'presentation');
- assert(!node.parentElement.getAttribute('aria-modal'));
-
- ModalContainer.hide(key);
- node = document.querySelector('#modal-test');
- assert(!node);
- });
- });
-
- it('should hide with Escape key', async () => {
- const tree = mount(Last focus );
-
- // set focus to a trigger element
- const triggerNode = tree.getDOMNode();
- triggerNode.focus();
- assert.equal(document.activeElement, triggerNode);
-
- let content = Contents
;
- ModalContainer.show(content);
-
- // focus should be set to modal
- let node = document.querySelector('#modal-test');
- assert.equal(document.activeElement, node);
-
- let event = new window.KeyboardEvent('keydown', {
- key: 'Escape',
- keyCode: 27,
- which: 27
- });
-
- node.ownerDocument.dispatchEvent(event);
-
- // wait for fade out and ensure that focus is restored to trigger element
- clock.tick(150);
-
- assert.equal(document.activeElement, triggerNode);
- node = document.querySelector('#modal-test');
- assert(!node);
-
- tree.unmount();
- });
-
- it('should not hide with Escape key when disableEscapeKey:true', async () => {
- const tree = mount(Last focus );
-
- // set focus to a trigger element
- const triggerNode = tree.getDOMNode();
- triggerNode.focus();
- assert.equal(document.activeElement, triggerNode);
-
- let content = Contents ;
- const key = ModalContainer.show(content);
-
- // focus should be set to modal
- let node = document.querySelector('#modal-test');
- assert.equal(document.activeElement, node);
-
- let event = new window.KeyboardEvent('keydown', {
- key: 'Escape',
- keyCode: 27,
- which: 27
- });
-
- node.ownerDocument.dispatchEvent(event);
-
- // wait for fade out and ensure that focus is restored to trigger element
- clock.tick(150);
-
- node = document.querySelector('#modal-test');
- assert(node);
- ModalContainer.hide(key);
- tree.unmount();
- });
-
- it('supports react-overlays lifecycle callback methods', async () => {
- const methods = {
- onShow: sinon.spy(),
- onEnter: sinon.spy(),
- onEntering: sinon.spy(),
- onEntered: sinon.spy(),
- onExit: sinon.spy(),
- onExiting: sinon.spy(),
- onExited: sinon.spy(),
- onHide: sinon.spy(),
- onClose: sinon.spy(),
- onEscapeKeyDown: sinon.spy()
- };
-
- const tree = mount(Last focus );
-
- // set focus to a trigger element
- const triggerNode = tree.getDOMNode();
- triggerNode.focus();
- assert.equal(document.activeElement, triggerNode);
-
- let content = (
-
- Contents
- );
- ModalContainer.show(content);
-
- assert(methods.onShow.calledOnce);
- assert(methods.onEnter.calledOnce);
- assert(methods.onEntering.calledOnce);
-
- // wait for fade in
- clock.tick(1);
-
- assert(methods.onEntered.calledOnce);
-
- // focus should be set to modal
- let node = document.querySelector('#modal-test');
- assert.equal(document.activeElement, node);
-
- let event = new window.KeyboardEvent('keydown', {
- key: 'Escape',
- keyCode: 27,
- which: 27
- });
-
- node.ownerDocument.dispatchEvent(event);
-
- assert(methods.onEscapeKeyDown.calledOnce);
- assert(methods.onClose.calledOnce);
- assert(methods.onExit.calledOnce);
- assert(methods.onExiting.calledOnce);
-
- // wait for fade out and ensure that focus is restored to trigger element
- clock.tick(150);
-
- assert(methods.onHide.calledOnce);
- assert(methods.onExited.calledOnce);
-
- assert.equal(document.activeElement, triggerNode);
- node = document.querySelector('#modal-test');
- assert(!node);
-
- tree.unmount();
- });
-});
diff --git a/test/ModalTrigger/ModalTrigger.js b/test/ModalTrigger/ModalTrigger.js
deleted file mode 100644
index 1b4f020ab66..00000000000
--- a/test/ModalTrigger/ModalTrigger.js
+++ /dev/null
@@ -1,112 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import ModalTrigger from '../../src/ModalTrigger';
-import {mount} from 'enzyme';
-import PropTypes from 'prop-types';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-
-describe('ModalTrigger', () => {
- it('can pass advanced context to the child of mounted component', () => {
- const RootComponent = () => ;
-
- RootComponent.contextTypes = {
- name: PropTypes.string,
- country: PropTypes.string,
- color: PropTypes.string
- };
-
- const DivComponent = (props, context) => (
- {context.name} is from {context.country}
- );
-
- DivComponent.contextTypes = {
- name: PropTypes.string,
- country: PropTypes.string
- };
-
- const ChildComponent = () => ;
-
-
- const context = {name: 'Julia', country: 'Mexico'};
- const wrapper = mount( , {context});
-
- assert.equal(wrapper.text(), 'Julia is from Mexico');
-
- wrapper.unmount();
- });
-
- it('should pass context', () => {
- function SimpleComponent(props, context) {
- return {context.name}
;
- }
- SimpleComponent.contextTypes = {
- name: PropTypes.string
- };
-
- const context = {
- name: 'a context has no name'
- };
-
- ModalTrigger.contextTypes = {
- name: PropTypes.string
- };
- const modalTrigger = mount(
-
-
- ,
- {context});
-
- assert.equal(modalTrigger.text(), 'a context has no name');
-
- modalTrigger.unmount();
- });
-
- it('adds a wrapping div only when necessary', () => {
- let wrapper = mount(text
);
- assert.equal(wrapper.find('button').length, 1);
- let hasContainer = !!(wrapper.find('Fragment').length || wrapper.find('div').length);
- assert.equal(hasContainer, false);
-
- wrapper.unmount();
-
- wrapper = shallow(text
);
-
- assert.equal(wrapper.find('button').length, 2);
- hasContainer = !!(wrapper.find('Fragment').length || wrapper.find('div').length);
- assert.equal(hasContainer, true);
- });
-
- it('calls chained onClick methods for ModalTrigger and trigger child', () => {
- let onClickSpy = sinon.spy();
- let onButtonClickSpy = sinon.spy();
- let wrapper = shallow(text
);
-
- let component = wrapper.instance();
- sinon.stub(component, 'show').callsFake(sinon.spy());
- component.forceUpdate();
-
- wrapper.find('button').at(0).simulate('click');
- assert(onClickSpy.called);
- assert(onButtonClickSpy.called);
- assert(component.show.calledOnce);
- });
-});
diff --git a/test/NumberInput/NumberInput.js b/test/NumberInput/NumberInput.js
deleted file mode 100644
index f8e689cf9fd..00000000000
--- a/test/NumberInput/NumberInput.js
+++ /dev/null
@@ -1,553 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import InputGroup from '../../src/InputGroup';
-import LiveRegionAnnouncer from '../../src/utils/LiveRegionAnnouncer';
-import {mount, shallow} from 'enzyme';
-import NumberInput from '../../src/NumberInput';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import sinon from 'sinon';
-import Textfield from '../../src/Textfield';
-
-describe('NumberInput', () => {
- let clock;
-
- before(() => {
- clock = sinon.useFakeTimers();
- });
-
- after(() => {
- clock.restore();
- });
-
- it('default', () => {
- const assertDefaultButtonProps = (button, inputId) => {
- assert.equal(button.prop('type'), 'button');
- assert.equal(button.prop('aria-controls'), inputId);
- assert.equal(button.prop('variant'), 'action');
- assert.equal(button.prop('tabIndex'), '-1');
- assert.equal(button.prop('disabled'), false);
- };
-
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Stepper'), true);
- assert.equal(tree.type(), InputGroup);
-
- const input = findInput(tree);
- const inputId = input.prop('id');
- assert(inputId);
- assert.equal(input.prop('defaultValue'), undefined);
- assert.equal(input.prop('type'), 'number');
- assert.equal(input.prop('role'), undefined);
- assert.equal(input.prop('aria-valuenow'), null);
- assert.equal(input.prop('aria-valuetext'), null);
- assert.equal(input.prop('step'), 1);
- assert.equal(input.prop('placeholder'), 'Enter a number');
- assert.equal(input.prop('disabled'), false);
- assert.equal(input.prop('readOnly'), false);
- assert.equal(input.prop('invalid'), false);
- assert.equal(input.hasClass('spectrum-Stepper-input'), true);
-
- const decButton = findDecrementButton(tree);
- assertDefaultButtonProps(decButton, inputId);
- assert.equal(decButton.prop('title'), 'Decrement');
-
- const incButton = findIncrementButton(tree);
- assertDefaultButtonProps(incButton, inputId);
- assert.equal(incButton.prop('title'), 'Increment');
-
- const buttonWrappers = tree.find('.spectrum-Stepper-buttons');
- assert.equal(buttonWrappers.at(0).prop('role'), 'presentation');
- });
-
- it('supports defaultValue', () => {
- const tree = shallow( );
- assert(!tree.state('valueInvalid'));
- assert.equal(tree.state('value'), 5);
- tree.setProps({defaultValue: 'foo'});
- assert(tree.state('valueInvalid'));
- // don't change to invalid value
- assert.equal(tree.state('value'), 5);
- });
-
- it('supports defaultValue of 0 not being \'\'', () => {
- const tree = shallow( );
- assert.equal(tree.state('value'), 0);
- });
-
- it('supports value of 0 not being \'\'', () => {
- const tree = shallow( );
- assert.equal(tree.state('value'), 0);
- });
-
- it('supports placeholder', () => {
- const tree = shallow( );
- const input = findInput(tree);
- assert.equal(input.prop('placeholder'), 'foo');
- });
-
- it('supports decrementTitle', () => {
- const tree = shallow( );
- const button = findDecrementButton(tree);
- assert.equal(button.prop('title'), 'foo');
- });
-
- it('supports incrementTitle', () => {
- const tree = shallow( );
- const button = findIncrementButton(tree);
- assert.equal(button.prop('title'), 'foo');
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- const input = findInput(tree);
- assert.equal(input.prop('readOnly'), true);
- findAllButtons(tree).forEach(button => {
- assert.equal(button.prop('disabled'), true);
- });
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- const input = findInput(tree);
- assert.equal(input.prop('disabled'), true);
- findAllButtons(tree).forEach(button => {
- assert.equal(button.prop('disabled'), true);
- });
- });
-
- it('supports overriding id', () => {
- const tree = shallow( );
- assert.equal(findInput(tree).prop('id'), 'foo');
- findAllButtons(tree).forEach(wrapper => {
- assert.equal(wrapper.prop('aria-controls'), 'foo');
- });
- });
-
- describe('supports step', () => {
- let tree;
- let spy;
- let preventDefaultSpy;
-
- beforeEach(() => {
- spy = sinon.spy();
- preventDefaultSpy = sinon.spy();
- tree = shallow( );
- });
-
- it('adds prop to input', () => {
- assert.equal(findInput(tree).prop('step'), 0.5);
- });
-
- describe('calls change with proper stepped value', () => {
- it('when increment button is clicked', () => {
- findIncrementButton(tree).simulate('click', {preventDefault: preventDefaultSpy});
- assert(spy.calledWith(0.5));
- assert(preventDefaultSpy.called);
- });
-
- it('when decrement button is clicked', () => {
- findDecrementButton(tree).simulate('click', {preventDefault: preventDefaultSpy});
- assert(spy.calledWith(-0.5));
- assert(preventDefaultSpy.called);
- });
-
- it('supports step="any"', () => {
- tree.setProps({step: 'any', value: '-'});
- findIncrementButton(tree).simulate('click', {preventDefault: preventDefaultSpy});
- assert(spy.calledWith(1));
- assert(preventDefaultSpy.calledOnce);
-
- tree.setProps({value: '-'});
- findDecrementButton(tree).simulate('click', {preventDefault: preventDefaultSpy});
- assert(spy.calledWith(-1));
- assert(preventDefaultSpy.calledTwice);
- });
-
- describe('when mouse wheel is scrolled', () => {
- const simulateWheel = (deltaY = 5) => {
- // WheelEvent listener is added explicitly to input with `passive: false` when component mounts,
- // we can simulate triggering the event with shallow component instance by adding an onWheel prop.
- tree.setProps({onWheel: tree.instance().handleInputScrollWheel.bind(tree.instance())});
- findInput(tree).simulate('wheel', {deltaY, preventDefault: preventDefaultSpy});
- };
-
- it('up', () => {
- tree.setState({focused: true});
- simulateWheel(-4.5);
- assert(spy.calledWith(0.5));
- assert(preventDefaultSpy.called);
- });
-
- it('down', () => {
- tree.setState({focused: true});
- simulateWheel(2);
- assert(spy.calledWith(-0.5));
- assert(preventDefaultSpy.called);
- });
-
- it('unless input is not focused or readOnly or disabled', () => {
- tree.setProps({disabled: true});
- simulateWheel();
- assert(!spy.called);
-
- tree.setProps({disabled: false, readOnly: true});
- simulateWheel();
- assert(!spy.called);
-
- tree.setProps({disabled: false, readOnly: false});
- tree.setState({focused: false});
- simulateWheel();
- assert(!spy.called);
- });
- });
-
- it('when up or page up arrow keys are pressed', () => {
- const input = findInput(tree);
- input.simulate('keyDown', {keyCode: 38, preventDefault: preventDefaultSpy}); // up arrow
- assert(spy.calledWith(0.5));
- input.simulate('keyDown', {keyCode: 33, preventDefault: preventDefaultSpy}); // page up
- assert(spy.calledWith(1));
- assert.deepEqual(preventDefaultSpy.callCount, 2);
- });
-
- it('when down or page down arrow keys are pressed', () => {
- const input = findInput(tree);
- input.simulate('keyDown', {keyCode: 40, preventDefault: preventDefaultSpy}); // down arrow
- assert(spy.calledWith(-0.5));
- input.simulate('keyDown', {keyCode: 34, preventDefault: preventDefaultSpy}); // page down
- assert(spy.calledWith(-1));
- assert.deepEqual(preventDefaultSpy.callCount, 2);
- });
-
- it('when arrow key is pressed announce value change using live region', async () => {
- sinon.stub(LiveRegionAnnouncer, 'announceAssertive').callsFake(sinon.spy());
- sinon.stub(LiveRegionAnnouncer, 'clearMessage').callsFake(sinon.spy());
-
- const input = findInput(tree);
-
- input.simulate('keyDown', {keyCode: 38, preventDefault: preventDefaultSpy, defaultPrevented: true}); // up arrow
- assert(spy.calledWith(0.5));
- assert.equal(tree.state('value'), 0.5);
-
- clock.tick(1);
-
- input.simulate('keyDown', {keyCode: 33, preventDefault: preventDefaultSpy, defaultPrevented: true}); // page up arrow
- assert(spy.calledWith(1));
- assert.equal(tree.state('value'), 1);
- assert(LiveRegionAnnouncer.announceAssertive.calledWith('1'));
- input.simulate('blur');
-
- input.simulate('keyDown', {keyCode: 34, preventDefault: preventDefaultSpy, defaultPrevented: true}); // page down arrow
- assert(spy.calledWith(0.5));
- assert.equal(tree.state('value'), 0.5);
- assert(LiveRegionAnnouncer.announceAssertive.calledWith('0.5'));
- input.simulate('focus');
-
- input.simulate('keyDown', {keyCode: 40, preventDefault: preventDefaultSpy, defaultPrevented: true}); // down arrow
- assert(spy.calledWith(0));
- assert.equal(tree.state('value'), 0);
- assert(LiveRegionAnnouncer.announceAssertive.calledWith('0'));
- clock.tick(1001);
- assert(LiveRegionAnnouncer.clearMessage.calledWith('assertive'));
-
- LiveRegionAnnouncer.announceAssertive.restore();
- LiveRegionAnnouncer.clearMessage.restore();
- });
- });
- });
-
- it('sets focused class when focused', () => {
- const tree = shallow( );
- findInput(tree).simulate('focus');
- assert.equal(tree.prop('focused'), true);
- findInput(tree).simulate('blur');
- assert.equal(tree.prop('focused'), false);
- });
-
- describe('support max', () => {
- describe('if value is greater than or equal', () => {
- let tree;
- let spy;
- let preventDefaultSpy;
-
- beforeEach(() => {
- spy = sinon.spy();
- preventDefaultSpy = sinon.spy();
- tree = shallow( );
- });
-
- it('disables increment button', () => {
- assert.equal(findIncrementButton(tree).prop('disabled'), true);
- });
-
- it('won\'t increment if up arrow pressed', () => {
- findInput(tree).simulate('keyDown', {keyCode: 38, preventDefault: preventDefaultSpy});
- assert(!spy.called);
- });
-
- describe('will jump value to max if home key is pressed', () => {
- const simulateKeyDown = () => {
- findInput(tree).simulate('keyDown', {keyCode: 36, preventDefault: preventDefaultSpy});
- };
-
- it('unless input is not focused or readOnly or disabled', () => {
- tree.setProps({disabled: true});
- simulateKeyDown();
- assert(!spy.called);
-
- tree.setProps({disabled: false, readOnly: true});
- simulateKeyDown();
- assert(!spy.called);
-
- tree.setProps({disabled: false, readOnly: false});
- tree.setState({focused: false});
- simulateKeyDown();
- assert(!spy.called);
- });
-
- it('and the input can accept input', () => {
- tree.setState({focused: true});
- tree.setProps({value: 1});
- simulateKeyDown();
- assert(spy.calledWith(10));
- assert(preventDefaultSpy.called);
- });
- });
-
- it('will allow changing value greater than max, but marks it invalid', () => {
- tree.setProps({value: 12});
- assert.equal(findIncrementButton(tree).prop('disabled'), true);
- assert.equal(findInput(tree).prop('validationState'), 'invalid');
- });
- });
- });
-
- describe('support min', () => {
- describe('if value is less than or equal', () => {
- let tree;
- let spy;
- let preventDefaultSpy;
-
- beforeEach(() => {
- spy = sinon.spy();
- preventDefaultSpy = sinon.spy();
- tree = shallow( );
- });
-
- it('disables decrement button', () => {
- assert.equal(findDecrementButton(tree).prop('disabled'), true);
- });
-
- it('won\'t decrement if down arrow pressed', () => {
- findInput(tree).simulate('keyDown', {keyCode: 40, preventDefault: preventDefaultSpy});
- assert(!spy.called);
- });
-
- describe('will jump value to max if end key is pressed', () => {
- const simulateKeyDown = () => {
- findInput(tree).simulate('keyDown', {keyCode: 35, preventDefault: preventDefaultSpy});
- };
-
- it('unless input is not focused or readOnly or disabled', () => {
- tree.setProps({disabled: true});
- simulateKeyDown();
- assert(!spy.called);
-
- tree.setProps({disabled: false, readOnly: true});
- simulateKeyDown();
- assert(!spy.called);
-
- tree.setProps({disabled: false, readOnly: false});
- tree.setState({focused: false});
- simulateKeyDown();
- assert(!spy.called);
- });
-
- it('and the input can accept input', () => {
- tree.setState({focused: true});
- tree.setProps({value: -1});
- simulateKeyDown();
- assert(spy.calledWith(-10));
- assert(preventDefaultSpy.called);
- });
- });
-
- it('will allow setting value to less than min, but marks it invalid', () => {
- tree.setProps({value: -12});
- assert.equal(findDecrementButton(tree).prop('disabled'), true);
- assert.equal(tree.state('valueInvalid'), true);
- assert.equal(findInput(tree).prop('validationState'), 'invalid');
- });
-
- it('will allow input change value to be less than min, but marks it invalid', () => {
- const spSpy = sinon.spy();
- findInput(tree).simulate('change', -12, {stopPropagation: spSpy});
- assert.equal(findDecrementButton(tree).prop('disabled'), true);
- assert.equal(tree.state('valueInvalid'), true);
- assert.equal(findInput(tree).prop('validationState'), 'invalid');
- assert(spSpy.called);
- });
- });
- });
-
- describe('input change', () => {
- let tree;
- let spy;
- let spSpy;
-
- beforeEach(() => {
- spSpy = sinon.spy();
- spy = sinon.spy();
- tree = shallow( );
- });
-
- it('will not allow non-numeric characters', () => {
- findInput(tree).simulate('change', 'foo', {stopPropagation: spSpy});
- assert(!spy.called);
- assert.equal(findInput(tree).prop('value'), 1);
- assert(spSpy.called);
- });
-
- it('will allow a single negative sign even though it is not a number', () => {
- findInput(tree).simulate('change', '-', {stopPropagation: spSpy});
- assert(!spy.called);
- assert.equal(findInput(tree).prop('value'), '-');
- assert(spSpy.called);
- });
-
- it('will allow numeric values', () => {
- findInput(tree).simulate('change', '-5', {stopPropagation: spSpy});
- assert(spy.calledWith(-5));
- assert.equal(tree.state('value'), '-5');
- assert.equal(findInput(tree).prop('value'), '-5');
- assert(spSpy.called);
- });
-
- it('should set value to null when clearing the input', () => {
- findInput(tree).simulate('change', '', {stopPropagation: spSpy});
- assert(spy.calledWith(null));
- assert.equal(tree.state('value'), '');
- assert.equal(findInput(tree).prop('value'), '');
- assert(spSpy.called);
- });
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(findInput(tree).prop('aria-label'), 'foo');
- });
-
- it('clicking increment or decrement should focus input.', async () => {
- const focusSpy = sinon.spy();
- const tree = shallow( );
- const instance = tree.instance();
- instance.textfield = {
- focus: focusSpy
- };
-
- findStepperButtons(tree).simulate('mousedown', {preventDefault: () => {}});
- assert(focusSpy.called);
- });
-
- describe('on mobile, ', () => {
- it('clicking increment or decrement should not focus input.', async () => {
- const focusSpy = sinon.spy();
- const tree = shallow( );
- const instance = tree.instance();
- instance.textfield = {
- focus: focusSpy
- };
-
- findStepperButtons(tree).simulate('touchstart');
- assert(instance.flagTouchStart);
- findStepperButtons(tree).simulate('mousedown', {preventDefault: () => {}});
- assert(!focusSpy.called);
- });
-
- it('clicking increment or decrement should announce value change using live region.', async () => {
- sinon.stub(LiveRegionAnnouncer, 'announceAssertive').callsFake(sinon.spy());
- sinon.stub(LiveRegionAnnouncer, 'clearMessage').callsFake(sinon.spy());
- const focusSpy = sinon.spy();
- const tree = shallow( );
- const instance = tree.instance();
- instance.textfield = {
- focus: focusSpy
- };
-
- findStepperButtons(tree).simulate('touchstart');
- assert(instance.flagTouchStart);
- findStepperButtons(tree).simulate('mousedown', {preventDefault: () => {}});
- assert(!focusSpy.called);
- findIncrementButton(tree).simulate('click', {preventDefault: () => {}});
- assert.equal(tree.state('value'), 1);
- assert(LiveRegionAnnouncer.announceAssertive.calledWith('1'));
- clock.tick(1001);
- assert(LiveRegionAnnouncer.clearMessage.calledWith('assertive'));
-
- LiveRegionAnnouncer.announceAssertive.restore();
- LiveRegionAnnouncer.clearMessage.restore();
- });
- });
-
- it('preventDefault on mouse event for increment or decrement button', () => {
- const preventDefault = sinon.spy();
- const tree = shallow( );
- findIncrementButton(tree).simulate('mousedown', {preventDefault});
- assert.equal(preventDefault.callCount, 1);
- findIncrementButton(tree).simulate('mouseup', {preventDefault});
- assert.equal(preventDefault.callCount, 2);
-
- findDecrementButton(tree).simulate('mousedown', {preventDefault});
- assert.equal(preventDefault.callCount, 3);
- findDecrementButton(tree).simulate('mouseup', {preventDefault});
- assert.equal(preventDefault.callCount, 4);
- });
-
- it('has textfield ref when mounted', () => {
- const tree = mount( );
- assert.deepEqual(
- ReactDOM.findDOMNode(tree.instance().textfield),
- tree.find(Textfield).getDOMNode()
- );
- tree.unmount();
- });
-
- it('allows events to pass through from props', () => {
- let handler = sinon.spy();
- const tree = shallow( );
- findInput(tree).simulate('keyDown', {keyCode: 38, preventDefault: () => {}});
- findInput(tree).simulate('wheel', {deltaY: 2, preventDefault: () => {}});
- findInput(tree).simulate('focus');
- findInput(tree).simulate('blur');
- assert.equal(handler.callCount, 4);
- });
-});
-
-const findInput = tree => tree.find(Textfield);
-const findAllButtons = tree => tree.find(Button);
-const findStepperButtons = tree => tree.find('.spectrum-Stepper-buttons');
-const findDecrementButton = tree => tree.find('.spectrum-Stepper-stepDown');
-const findIncrementButton = tree => tree.find('.spectrum-Stepper-stepUp');
diff --git a/test/OverlayTrigger/Overlay.js b/test/OverlayTrigger/Overlay.js
deleted file mode 100644
index aa15801e5ff..00000000000
--- a/test/OverlayTrigger/Overlay.js
+++ /dev/null
@@ -1,274 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button/js/Button';
-import * as ModalContainer from '../../src/ModalContainer/js/ModalContainer.js';
-import {mount} from 'enzyme';
-import OpenTransition from '../../src/utils/OpenTransition';
-import Overlay from '../../src/OverlayTrigger/js/Overlay';
-import OverlayTrigger from '../../src/OverlayTrigger/js/OverlayTrigger';
-import Popover from '../../src/Popover/js/Popover';
-import Portal from 'react-overlays/lib/Portal';
-import Position from '../../src/OverlayTrigger/js/Position';
-import PropTypes from 'prop-types';
-import React from 'react';
-import RootCloseWrapper from 'react-overlays/lib/RootCloseWrapper';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-import Tooltip from '../../src/Tooltip/js/Tooltip';
-
-describe('Overlay', () => {
- const noop = function () {};
- it('renders an overlay', () => {
- const tree = shallow(hey );
- assert(tree.find(OpenTransition));
- });
-
- it('doesn\'t change render of an overlay if not showing', () => {
- const tree = shallow( );
- assert.equal(tree.state('exited'), true);
- assert.equal(tree.getElement(), null);
- });
-
- it('renders a portal with the container prop', () => {
- const tree = shallow( );
- assert(tree.find(Portal));
- assert.equal(tree.find(Portal).prop('container'), noop);
- });
-
- it('passes props to OpenTransition', () => {
- let props = {
- show: true,
- onExit: noop,
- onExiting: noop,
- onEnter: noop,
- onEntering: noop,
- onEntered: noop
- };
- const tree = shallow( );
-
- assert.equal(tree.state('exited'), false);
- assert.equal(tree.find(OpenTransition).prop('in'), true);
- assert.equal(tree.find(OpenTransition).prop('onExit'), noop);
- assert.equal(tree.find(OpenTransition).prop('onExiting'), noop);
- assert.equal(tree.find(OpenTransition).prop('onEnter'), noop);
- assert.equal(tree.find(OpenTransition).prop('onEntering'), noop);
- });
-
- it('wraps in a close wrapper when true', () => {
- const tree = shallow( );
- assert(tree.find(RootCloseWrapper));
- });
-
- it('passes props to Position', () => {
- const target = document.createElement('div');
- let props = {
- show: true,
- container: noop,
- containerPadding: 5,
- target,
- placement: 'left',
- shouldUpdatePosition: true
- };
- const tree = shallow( );
-
- assert.equal(tree.find(Position).prop('container'), noop);
- assert.equal(tree.find(Position).prop('containerPadding'), 5);
- assert.equal(tree.find(Position).prop('target'), target);
- assert.equal(tree.find(Position).prop('placement'), 'left');
- assert.equal(tree.find(Position).prop('shouldUpdatePosition'), true);
- assert(tree.find(Position).prop('boundariesElement'));
- });
-
- it('calls props onExited with args', () => {
- let onExited = sinon.spy();
- const tree = shallow( );
- tree.instance().onExited({foo: 'bar'});
- assert(onExited.calledOnce);
- assert(onExited.withArgs({foo: 'bar'}));
- });
-
- it('should not apply extra css to body', () => {
- let overlay = mount(
-
- Click me
- Popover
-
- );
- const prevText = document.body.style.cssText;
-
- overlay.setState({'show': true});
- assert.equal(document.body.style.cssText, prevText);
- overlay.setState({'show': false});
- overlay.unmount();
- });
-
- it('calls modalManager when rendering and unmounting', () => {
- const stub = sinon.stub(require('../../src/OverlayTrigger/js/calculatePosition'), 'default').returns({
- positionLeft: 100,
- positionTop: 50,
- maxHeight: 200,
- arrowOffsetLeft: '0%',
- arrowOffsetTop: '50%'
- });
- const addspy = sinon.spy();
- const removespy = sinon.spy();
- const addstub = sinon.stub(ModalContainer.modalManager, 'addToModal').callsFake(addspy);
- const removestub = sinon.stub(ModalContainer.modalManager, 'removeFromModal').callsFake(removespy);
- const tree = mount(hi );
- assert(!addstub.called);
- tree.setState({'show': true});
- assert(addstub.called);
- stub.restore();
- stub.resetHistory();
- tree.unmount();
- assert(removestub.called);
- });
-
- it('context overlay', () => {
- function SimpleContainer(props, context) {
- return props.children;
- }
- function SimpleComponent(props, context) {
- return {context.name}
;
- }
- SimpleContainer.contextTypes = {
- name: PropTypes.string
- };
-
- SimpleComponent.contextTypes = {
- name: PropTypes.string
- };
-
- const context = {
- name: 'a context has no name'
- };
-
- const overlayTrigger = mount(
-
-
-
-
-
- ,
- {context});
-
- assert.equal(document.getElementById('modal-test').textContent, 'a context has no name');
-
- overlayTrigger.unmount();
- });
-
- it('should only hide if it is the top-most overlay', async () => {
- let onHideOuter = sinon.spy();
- let onHideInner = sinon.spy();
- let overlay = mount(
-
-
- Click me
- Popover
-
-
- );
-
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
-
- // Hiding the outer overlay should work fine since the inner overlay hasn't been shown yet
- overlay.instance().hide();
-
- assert(onHideOuter.calledOnce);
- assert(onHideInner.notCalled);
-
- onHideOuter.resetHistory();
-
- // Trigger click
- let event = new window.MouseEvent('click', {
- bubbles: true,
- cancelable: true
- });
-
- document.querySelector('button').dispatchEvent(event);
- await sleep(17);
- overlay.update();
-
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
-
- // Wait for animation
- await sleep(125);
-
- // Hiding the outer overlay should now do nothing since it is no longer the top overlay
- overlay.instance().hide();
- assert(onHideOuter.notCalled);
- assert(onHideInner.notCalled);
-
- // Hiding the inner overlay should work since it is the top overlay
- document.querySelector('button').dispatchEvent(event);
- assert(onHideOuter.notCalled);
- assert(onHideInner.calledOnce);
-
- onHideInner.resetHistory();
-
- // Wait for animation
- await sleep(125);
-
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 0);
-
- // Hiding the outer overlay should work now since it is the top overlay
- overlay.instance().hide();
- assert(onHideOuter.calledOnce);
- assert(onHideInner.notCalled);
-
- overlay.unmount();
- });
-
- it('should hide all top-most overlays of different role', async () => {
- const clock = sinon.useFakeTimers();
- const onHideFirst = sinon.spy();
- const onHideSecond = sinon.spy();
- const tree = mount(
-
-
-
-
-
-
-
-
-
- );
-
- const event = new window.MouseEvent('click', {
- bubbles: true,
- cancelable: true
- });
-
- document.querySelector('button').dispatchEvent(event);
- clock.tick(100);
- assert(onHideFirst.notCalled);
- assert(onHideSecond.notCalled);
- assert.equal(document.querySelectorAll('.spectrum-Popover').length, 1);
- assert.equal(document.querySelectorAll('.spectrum-Tooltip').length, 1);
-
- document.dispatchEvent(event);
- clock.tick(100);
- assert(onHideFirst.calledOnce);
- assert(onHideSecond.calledOnce);
- clock.restore();
- tree.unmount();
- });
-});
diff --git a/test/OverlayTrigger/OverlayTrigger.js b/test/OverlayTrigger/OverlayTrigger.js
deleted file mode 100644
index 2e095483e37..00000000000
--- a/test/OverlayTrigger/OverlayTrigger.js
+++ /dev/null
@@ -1,367 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button/js/Button';
-import {mount} from 'enzyme';
-import OverlayTrigger from '../../src/OverlayTrigger/js/OverlayTrigger';
-import Popover from '../../src/Popover/js/Popover';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import sinon from 'sinon';
-import Tooltip from '../../src/Tooltip/js/Tooltip';
-
-describe('OverlayTrigger', () => {
- describe('non window behaviors', () => {
- let tree;
- let clock;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- clock.runAll();
- clock.restore();
- });
- it('should support lastFocus prop', () => {
- let lastFocus = {
- focus: sinon.spy()
- };
- let onClickSpy = sinon.spy();
- tree = mount(
-
- Click me
- Popover
-
- );
-
- // open overlay by clicking the trigger element
- tree.find(Button).getDOMNode().focus();
- tree.find(Button).simulate('click');
- clock.tick(50);
-
- assert.equal(tree.instance().rememberedFocus(), tree.find(Button).getDOMNode());
- assert(onClickSpy.calledOnce);
- assert(tree.state('show'));
- assert.equal(document.querySelector('.spectrum-Popover'), document.activeElement);
-
- // set lastFocus prop using stub
- tree.setProps({lastFocus});
- assert.equal(tree.instance().rememberedFocus(), lastFocus);
- tree.find(Button).simulate('click');
- clock.tick(125);
-
- assert(onClickSpy.calledTwice);
- assert(!tree.state('show'));
- assert(lastFocus.focus.called);
- });
-
- it('should add aria-describedby to trigger when Overlay is a Tooltip', () => {
- tree = mount(
-
- Hover me
- Tooltip
-
- );
- tree.find(Button).simulate('click');
- assert(tree.state('show'));
- assert.equal(tree.find(Button).getDOMNode().getAttribute('aria-describedby'), 'foo');
- assert.equal(document.querySelector('.spectrum-Tooltip').id, 'foo');
- tree.find(Button).simulate('click');
- assert(!tree.state('show'));
- assert(!tree.find(Button).getDOMNode().hasAttribute('aria-describedby'));
- });
-
- it('should add aria-describedby to trigger when Overlay is a Tooltip using the tooltip generated id', () => {
- tree = mount(
-
- Hover me
- Tooltip
-
- );
-
- tree.find(Button).simulate('click');
- assert(tree.state('show'));
- assert.equal(tree.find(Button).getDOMNode().getAttribute('aria-describedby'),
- document.querySelector('.spectrum-Tooltip').id);
- tree.find(Button).simulate('click');
- assert(!tree.state('show'));
- assert(!tree.find(Button).getDOMNode().hasAttribute('aria-describedby'));
- });
-
- it('should support delay', async () => {
- const delay = 10;
- tree = mount(
-
- Click me
- Popover
-
- );
-
- tree.find(Button).simulate('mouseOver');
- assert(!tree.state('show'));
- clock.tick(delay);
- assert(tree.state('show'));
- tree.find(Button).simulate('mouseOut');
- assert(tree.state('show'));
-
- // test clearTimeout for mouseOut
- clock.tick(delay - 5);
- tree.find(Button).simulate('mouseOver');
- clock.tick(delay);
- assert(tree.state('show'));
- tree.find(Button).simulate('mouseOut');
- clock.tick(delay);
- assert(!tree.state('show'));
-
- // test clearTimeout for mouseOver
- tree.find(Button).simulate('mouseOver');
- assert(!tree.state('show'));
- clock.tick(delay - 5);
- tree.find(Button).simulate('mouseOut');
- assert(!tree.state('show'));
- clock.tick(delay);
- assert(!tree.state('show'));
-
- // with no delay show/hide immediately
- tree.setProps({delay: null});
- tree.find(Button).simulate('mouseOver');
- assert(tree.state('show'));
- tree.find(Button).simulate('mouseOut');
- clock.tick(tree.prop('delayHide'));
- assert(!tree.state('show'));
- });
-
- it('should support delayShow', async () => {
- let delayShow = 10;
- tree = mount(
-
- Click me
- Popover
-
- );
-
- tree.find(Button).simulate('mouseOver');
- assert(!tree.state('show'));
- clock.tick(delayShow);
- assert(tree.state('show'));
- tree.find(Button).simulate('mouseOut');
- clock.tick(tree.prop('delayHide'));
- assert(!tree.state('show'));
-
- tree.setProps({delayShow: null});
- tree.find(Button).simulate('mouseOver');
- assert(tree.state('show'));
- const showStub = sinon.spy();
- tree.instance().show = showStub;
- tree.instance().handleDelayedShow();
- assert(tree.state('show'));
- assert(!showStub.called);
- });
-
- it('should support delayHide', () => {
- let delayHide = 10;
- tree = mount(
-
- Click me
- Popover
-
- );
-
- tree.find(Button).simulate('mouseOver');
- assert(tree.state('show'));
- tree.find(Button).simulate('mouseOut');
- clock.tick(delayHide);
- assert(!tree.state('show'));
-
-
- const hideStub = sinon.spy();
- tree.instance().hide = hideStub;
- tree.instance().handleDelayedHide();
- assert(!tree.state('show'));
- assert(!hideStub.called);
- });
-
- it('disabled prop should hide overlay', () => {
- tree = mount(
-
- Click me
- Popover
-
- );
-
- tree.find(Button).simulate('click');
- assert(tree.state('show'));
- tree.setProps({disabled: true});
- assert(!tree.state('show'));
- });
-
- it('supports longClicks to open', () => {
- let clickSpy = sinon.spy();
- let longClickSpy = sinon.spy();
- tree = mount(
-
- Click me
- Popover
-
- );
- let button = tree.find(Button);
- button.simulate('mouseDown', {button: 0});
- clock.tick(250);
- assert(tree.state('show'));
- assert(!clickSpy.called);
- assert(longClickSpy.calledOnce);
- button.simulate('mouseUp', {button: 0});
- assert(tree.state('show'));
- assert(!clickSpy.called);
- assert(longClickSpy.calledOnce);
- });
-
- it('does not call long click prop if the mouse is lifted before the timeout', () => {
- let clickSpy = sinon.spy();
- let longClickSpy = sinon.spy();
- tree = mount(
-
- Click me
- Popover
-
- );
- let button = tree.find(Button);
- button.simulate('mouseDown', {button: 0});
- clock.tick(125);
- assert(!tree.state('show'));
- button.simulate('mouseUp', {button: 0});
- assert(!tree.state('show'));
- assert(clickSpy.called);
- assert(!longClickSpy.called);
- });
-
- it('opens using keyboard event, ArrowDown + Alt', () => {
- let clickSpy = sinon.spy();
- let longClickSpy = sinon.spy();
- tree = mount(
-
- Click me
- Popover
-
- );
- let button = tree.find(Button);
- button.simulate('keyDown', {key: 'ArrowDown', altKey: true});
- assert(tree.state('show'));
- assert(!clickSpy.called);
- assert(!longClickSpy.called);
- });
-
- it('opens using keyboard event, Down + Alt', () => {
- let clickSpy = sinon.spy();
- let longClickSpy = sinon.spy();
- tree = mount(
-
- Click me
- Popover
-
- );
- let button = tree.find(Button);
- button.simulate('keyDown', {key: 'Down', altKey: true});
- assert(tree.state('show'));
- assert(!clickSpy.called);
- assert(!longClickSpy.called);
- });
- });
-
- describe('window behaviors', () => {
- let tree;
- let clock;
- let mountNode;
-
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- mountNode = document.createElement('DIV');
- document.body.appendChild(mountNode);
- });
-
- afterEach(() => {
- if (tree) {
- tree.detach();
- tree = null;
- }
- clock.runAll();
- clock.restore();
- document.body.removeChild(mountNode);
- mountNode = null;
- });
-
- it('does not open if mouseout and mouseup before the timeout', () => {
- let clickSpy = sinon.spy();
- let longClickSpy = sinon.spy();
- tree = mount(
-
-
- Click me
- Popover
-
-
external
-
,
- {attachTo: mountNode}
- );
- let overlayTrigger = tree.find(OverlayTrigger).instance();
- let button = tree.find(Button);
- let externalTarget = tree.find('.externalTarget');
- button.simulate('mouseDown', {button: 0});
- clock.tick(150);
- button.simulate('mouseOut');
- clock.tick(50);
- ReactDOM.findDOMNode(externalTarget.instance()).dispatchEvent(new MouseEvent('mouseUp', {button: 0, bubbles: true}));
- assert(!overlayTrigger.state.show);
- assert(!clickSpy.called);
- assert(!longClickSpy.calledOnce);
- clock.tick(50); // got to end of timeout and make sure we still don't show
- assert(!overlayTrigger.state.show);
- assert(!clickSpy.called);
- assert(!longClickSpy.calledOnce);
- });
-
- it('opens if mouseout before timeout and mouseup after the timeout', () => {
- let clickSpy = sinon.spy();
- let longClickSpy = sinon.spy();
- tree = mount(
-
-
- Click me
- Popover
-
-
external
-
,
- {attachTo: mountNode}
- );
- let overlayTrigger = tree.find(OverlayTrigger).instance();
- let button = tree.find(Button);
- let externalTarget = tree.find('.externalTarget');
- button.simulate('mouseDown', {button: 0});
- clock.tick(150);
- button.simulate('mouseOut');
- clock.tick(100);
- ReactDOM.findDOMNode(externalTarget.instance()).dispatchEvent(new MouseEvent('mouseUp', {button: 0, bubbles: true}));
- assert(overlayTrigger.state.show);
- assert(!clickSpy.called);
- assert(longClickSpy.calledOnce);
- });
- });
-});
diff --git a/test/OverlayTrigger/Position.js b/test/OverlayTrigger/Position.js
deleted file mode 100644
index eafeb4c9207..00000000000
--- a/test/OverlayTrigger/Position.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import Position from '../../src/OverlayTrigger/js/Position';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import sinon from 'sinon';
-
-describe('Position', () => {
- const container = document.createElement('div');
- class Target extends React.Component {
- render() {
- return
;
- }
- }
-
- const target = ReactDOM.render( , container);
-
- it('passes props to child', () => {
- const tree = shallow(test
, {disableLifecycleMethods: true});
- assert.equal(tree.type(), 'div');
- assert.deepEqual(tree.prop('style'), {
- position: 'absolute',
- zIndex: 100000,
- left: 0,
- top: 0,
- maxHeight: undefined
- });
-
- assert.deepEqual(tree.prop('arrowStyle'), {
- left: null,
- top: null
- });
- });
-
- it('updates position on mount', () => {
- const stub = sinon.stub(require('../../src/OverlayTrigger/js/calculatePosition'), 'default').returns({
- positionLeft: 100,
- positionTop: 50,
- maxHeight: 200,
- arrowOffsetLeft: '0%',
- arrowOffsetTop: '50%'
- });
- const tree = mount(test
);
- const div = tree.find('div');
-
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(stub.callCount - 1).args, ['bottom', ReactDOM.findDOMNode(tree.instance()), ReactDOM.findDOMNode(target), document.body, 15, false, undefined, 0, 0]);
-
- assert.deepEqual(div.prop('style'), {
- position: 'absolute',
- zIndex: 100000,
- left: 100,
- top: 50,
- maxHeight: 200
- });
-
- assert.deepEqual(div.prop('arrowStyle'), {
- left: '0%',
- top: '50%'
- });
-
- stub.restore();
- stub.resetHistory();
- tree.unmount();
- });
-
- it('updates position on prop change', () => {
- const stub = sinon.stub(require('../../src/OverlayTrigger/js/calculatePosition'), 'default').returns({
- positionLeft: 100,
- positionTop: 50,
- maxHeight: 200,
- arrowOffsetLeft: '0%',
- arrowOffsetTop: '50%'
- });
- const tree = mount(test
);
-
- stub.returns({
- positionLeft: 50,
- positionTop: 150,
- maxHeight: 100,
- arrowOffsetLeft: '50%',
- arrowOffsetTop: '0%'
- });
-
- tree.setProps({placement: 'left'});
- tree.update();
- const div = tree.find('div');
-
- assert(stub.calledTwice);
- assert.deepEqual(stub.getCall(stub.callCount - 1).args, ['left', ReactDOM.findDOMNode(tree.instance()), ReactDOM.findDOMNode(target), document.body, 10, false, undefined, 0, 0]);
-
- assert.deepEqual(div.prop('style'), {
- position: 'absolute',
- zIndex: 100000,
- left: 50,
- top: 150,
- maxHeight: 100
- });
-
- assert.deepEqual(div.prop('arrowStyle'), {
- left: '50%',
- top: '0%'
- });
-
- stub.restore();
- stub.resetHistory();
- tree.unmount();
- });
-
- it('updates position on window resize', () => {
- const stub = sinon.stub(require('../../src/OverlayTrigger/js/calculatePosition'), 'default').returns({
- positionLeft: 100,
- positionTop: 50,
- maxHeight: 200,
- arrowOffsetLeft: '0%',
- arrowOffsetTop: '50%'
- });
- const tree = mount(test
);
-
- stub.returns({
- positionLeft: 50,
- positionTop: 150,
- maxHeight: 100,
- arrowOffsetLeft: '50%',
- arrowOffsetTop: '0%'
- });
-
- let event = document.createEvent('Event');
- event.initEvent('resize', false, false);
- window.dispatchEvent(event);
- tree.update(); // update after event dispatch
-
- const div = tree.find('div');
- assert(stub.calledTwice);
- assert.deepEqual(stub.getCall(stub.callCount - 1).args, ['bottom', ReactDOM.findDOMNode(tree.instance()), ReactDOM.findDOMNode(target), document.body, 10, false, undefined, 0, 0]);
-
- assert.deepEqual(div.prop('style'), {
- position: 'absolute',
- zIndex: 100000,
- left: 50,
- top: 150,
- maxHeight: 100
- });
-
- assert.deepEqual(div.prop('arrowStyle'), {
- left: '50%',
- top: '0%'
- });
-
- stub.restore();
- stub.resetHistory();
- tree.unmount();
- });
-});
diff --git a/test/OverlayTrigger/calculatePosition.js b/test/OverlayTrigger/calculatePosition.js
deleted file mode 100644
index a9c751f9a0e..00000000000
--- a/test/OverlayTrigger/calculatePosition.js
+++ /dev/null
@@ -1,337 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import calculatePosition from '../../src/OverlayTrigger/js/calculatePosition';
-
-const FLIPPED_DIRECTION = {
- left: 'right'
-};
-
-function getTargetDimension(targetPosition, height = 100, width = 100) {
- return {
- ...targetPosition,
- bottom: targetPosition.top + height,
- right: targetPosition.left + width,
- width,
- height
- };
-}
-
-const containerDimensions = {
- width: 600,
- height: 600,
- scroll: {
- top: 0,
- left: 0
- },
- top: 0,
- left: 0
-};
-
-function createElementWithDimensions(elemName, dimensions, margins) {
- margins = margins || {};
- let elem = document.createElement(elemName);
-
- Object.assign(elem.style, {
- width: 'width' in dimensions ? `${dimensions.width}px` : '0px',
- height: 'height' in dimensions ? `${dimensions.height}px` : '0px',
- top: 'top' in dimensions ? `${dimensions.top}px` : '0px',
- left: 'left' in dimensions ? `${dimensions.left}px` : '0px',
- marginTop: 'top' in margins ? `${margins.top}px` : '0px',
- marginBottom: 'bottom' in margins ? `${margins.bottom}px` : '0px',
- marginRight: 'right' in margins ? `${margins.right}px` : '0px',
- marginLeft: 'left' in margins ? `${margins.left}px` : '0px'
- });
-
- elem.scrollTop = 'scroll' in dimensions ? dimensions.scroll.top : 0;
- elem.scrollLeft = 'scroll' in dimensions ? dimensions.scroll.left : 0;
-
- elem.getBoundingClientRect = () => ({
- width: dimensions.width || 0,
- height: dimensions.height || 0,
- top: dimensions.top || 0,
- left: dimensions.left || 0,
- right: dimensions.right || 0,
- bottom: dimensions.bottom || 0
- });
-
- return elem;
-}
-
-const boundaryDimensions = {
- width: 600,
- height: 600,
- scroll: {
- top: 0,
- left: 0
- },
- top: 0,
- left: 0
-};
-
-const margins = {
- top: 0,
- left: 0,
- bottom: 0,
- right: 0
-};
-
-const overlaySize = {
- width: 200,
- height: 200
-};
-
-const PROVIDER_OFFSET = 50;
-
-describe('calculatePosition', function () {
- function checkPositionCommon(title, expected, placement, targetDimension, boundaryDimensions, offset, crossOffset, flip, providerOffset = 0) {
- const placementAxis = placement.split(' ')[0];
- const expectedPosition = {
- positionLeft: expected[0],
- positionTop: expected[1],
- arrowOffsetLeft: expected[2],
- arrowOffsetTop: expected[3],
- maxHeight: expected[4] - providerOffset,
- placement: flip ? FLIPPED_DIRECTION[placementAxis] : placementAxis
- };
-
- const container = createElementWithDimensions('div', containerDimensions);
- const target = createElementWithDimensions('div', targetDimension);
- const overlay = createElementWithDimensions('div', overlaySize, margins);
-
- const parentElement = document.createElement('div');
- parentElement.appendChild(container);
- parentElement.appendChild(target);
- parentElement.appendChild(overlay);
-
- document.documentElement.appendChild(parentElement);
-
- const getBoundariesElement = () => {
- const boundariesElem = createElementWithDimensions('div', {
- ...boundaryDimensions,
- height: boundaryDimensions.height - providerOffset
- });
- parentElement.appendChild(boundariesElem);
- return boundariesElem;
- };
-
- it(title, function () {
- const result = calculatePosition(placement, overlay, target, container, 50, flip, getBoundariesElement, offset, crossOffset);
- assert.deepEqual(result, expectedPosition);
- document.documentElement.removeChild(parentElement);
- });
- }
-
- function checkPosition(placement, targetDimension, expected, offset = 0, crossOffset = 0, flip = false) {
- checkPositionCommon(
- 'Should calculate the correct position',
- expected,
- placement,
- targetDimension,
- boundaryDimensions,
- offset,
- crossOffset,
- flip
- );
- }
-
- function checkPositionForProvider(placement, targetDimension, expected, offset = 0, crossOffset = 0, flip = false) {
- checkPositionCommon(
- 'Should calculate the correct position when provider does not start at top of screen',
- expected,
- placement,
- targetDimension,
- boundaryDimensions,
- offset,
- crossOffset,
- flip,
- PROVIDER_OFFSET
- );
- }
-
- const testCases = [
- {
- placement: 'left',
- noOffset: [50, 200, undefined, 100, 350],
- offsetBefore: [-200, 50, undefined, 0, 500],
- offsetAfter: [300, 350, undefined, 200, 200],
- crossAxisOffset: [50, 210, undefined, 90, 340],
- mainAxisOffset: [60, 200, undefined, 100, 350]
- },
- {
- placement: 'left top',
- noOffset: [50, 250, undefined, 50, 300],
- offsetBefore: [-200, 50, undefined, 0, 500],
- offsetAfter: [300, 350, undefined, 200, 200],
- crossAxisOffset: [50, 250, undefined, 50, 300],
- mainAxisOffset: [60, 250, undefined, 50, 300]
- },
- {
- placement: 'left bottom',
- noOffset: [50, 150, undefined, 150, 400],
- offsetBefore: [-200, 50, undefined, 0, 500],
- offsetAfter: [300, 350, undefined, 200, 200],
- crossAxisOffset: [50, 160, undefined, 140, 390],
- mainAxisOffset: [60, 150, undefined, 150, 400]
- },
- {
- placement: 'top',
- noOffset: [200, 50, 100, undefined, 500],
- offsetBefore: [50, -200, 0, undefined, 750],
- offsetAfter: [350, 300, 200, undefined, 250],
- mainAxisOffset: [200, 60, 100, undefined, 490],
- crossAxisOffset: [210, 50, 90, undefined, 500]
- },
- {
- placement: 'top left',
- noOffset: [250, 50, 50, undefined, 500],
- offsetBefore: [50, -200, 0, undefined, 750],
- offsetAfter: [350, 300, 200, undefined, 250],
- mainAxisOffset: [250, 60, 50, undefined, 490],
- crossAxisOffset: [250, 50, 50, undefined, 500]
- },
- {
- placement: 'top right',
- noOffset: [150, 50, 150, undefined, 500],
- offsetBefore: [50, -200, 0, undefined, 750],
- offsetAfter: [350, 300, 200, undefined, 250],
- mainAxisOffset: [150, 60, 150, undefined, 490],
- crossAxisOffset: [160, 50, 140, undefined, 500]
- },
- {
- placement: 'bottom',
- noOffset: [200, 350, 100, undefined, 200],
- offsetBefore: [50, 100, 0, undefined, 450],
- offsetAfter: [350, 600, 200, undefined, 0],
- mainAxisOffset: [200, 360, 100, undefined, 190],
- crossAxisOffset: [210, 350, 90, undefined, 200]
- },
- {
- placement: 'bottom left',
- noOffset: [250, 350, 50, undefined, 200],
- offsetBefore: [50, 100, 0, undefined, 450],
- offsetAfter: [350, 600, 200, undefined, 0],
- mainAxisOffset: [250, 360, 50, undefined, 190],
- crossAxisOffset: [250, 350, 50, undefined, 200]
- },
- {
- placement: 'bottom right',
- noOffset: [150, 350, 150, undefined, 200],
- offsetBefore: [50, 100, 0, undefined, 450],
- offsetAfter: [350, 600, 200, undefined, 0],
- mainAxisOffset: [150, 360, 150, undefined, 190],
- crossAxisOffset: [160, 350, 140, undefined, 200]
- },
- {
- placement: 'right',
- noOffset: [350, 200, undefined, 100, 350],
- offsetBefore: [100, 50, undefined, 0, 500],
- offsetAfter: [600, 350, undefined, 200, 200],
- crossAxisOffset: [350, 210, undefined, 90, 340],
- mainAxisOffset: [360, 200, undefined, 100, 350]
- },
- {
- placement: 'right top',
- noOffset: [350, 250, undefined, 50, 300],
- offsetBefore: [100, 50, undefined, 0, 500],
- offsetAfter: [600, 350, undefined, 200, 200],
- crossAxisOffset: [350, 250, undefined, 50, 300],
- mainAxisOffset: [360, 250, undefined, 50, 300]
- },
- {
- placement: 'right bottom',
- noOffset: [350, 150, undefined, 150, 400],
- offsetBefore: [100, 50, undefined, 0, 500],
- offsetAfter: [600, 350, undefined, 200, 200],
- crossAxisOffset: [350, 160, undefined, 140, 390],
- mainAxisOffset: [360, 150, undefined, 150, 400]
- }
- ];
-
- testCases.forEach(function (testCase) {
- const {placement} = testCase;
-
- describe(`placement = ${placement}`, function () {
- describe('no viewport offset', function () {
- checkPosition(
- placement, getTargetDimension({left: 250, top: 250}), testCase.noOffset
- );
- checkPositionForProvider(
- placement, getTargetDimension({left: 250, top: 250}), testCase.noOffset
- );
- });
-
- describe('viewport offset before', function () {
- checkPosition(
- placement, getTargetDimension({left: 0, top: 0}), testCase.offsetBefore
- );
- checkPositionForProvider(
- placement, getTargetDimension({left: 250, top: 250}), testCase.noOffset
- );
- });
-
- describe('viewport offset after', function () {
- checkPosition(
- placement, getTargetDimension({left: 500, top: 500}), testCase.offsetAfter
- );
- });
-
- describe('main axis offset', function () {
- checkPosition(
- placement, getTargetDimension({left: 250, top: 250}), testCase.mainAxisOffset, 10, 0
- );
- });
-
- describe('cross axis offset', function () {
- checkPosition(
- placement, getTargetDimension({left: 250, top: 250}), testCase.crossAxisOffset, 0, 10
- );
- });
- });
- });
-
- describe('flip from left to right', function () {
- checkPosition(
- // testCases[9] is for right placement
- 'left', getTargetDimension({left: 0, top: 0}), testCases[9].offsetBefore, 0, 0, true
- );
- });
-
- describe('overlay smaller than target aligns in center', function () {
- checkPosition(
- 'right', getTargetDimension({left: 250, top: 250}, overlaySize.height + 100, overlaySize.width + 100), [550, 300, undefined, null, 250]
- );
- });
-
- describe('overlay target has margin', () => {
- it('checks if overlay positions correctly', () => {
- const target = document.createElement('div');
- const overlayNode = document.createElement('div');
- const container = document.createElement('div');
-
- target.style = 'margin:20px';
- document.body.appendChild(target);
-
- const {positionTop} = calculatePosition('bottom', overlayNode, target, container, 0, false, 'container', 0, 0);
- assert.equal(positionTop, 0);
-
- document.body.removeChild(target);
- });
- });
-
-});
diff --git a/test/Pagination/Pagination.js b/test/Pagination/Pagination.js
deleted file mode 100644
index f88a42fdde5..00000000000
--- a/test/Pagination/Pagination.js
+++ /dev/null
@@ -1,188 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Pagination from '../../src/Pagination';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-const ENTER_EVENT = {key: 'Enter'};
-
-describe('Pagination', () => {
- it('has correct defaults', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- const buttons = tree.find('Button');
- assert.equal(buttons.at(0).prop('className'), 'spectrum-SplitButton-trigger');
- assert.equal(buttons.at(0).prop('variant'), 'primary');
- assert.equal(buttons.at(1).prop('className'), 'spectrum-SplitButton-action');
- });
-
- it('supports button:cta', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.find('Button').at(0).prop('variant'), 'cta');
- });
-
- it('supports button:secondary', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.find('Button').at(0).prop('variant'), 'secondary');
- });
-
- it('supports explicit variant', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert(tree.find('Textfield').length === 1);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(tree.prop('className'), 'className');
- });
-
- describe('events', () => {
- it('onPrevious triggers', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Button').at(0).simulate('click');
- assert(spy.callCount === 1);
- });
-
- it('onNext triggers', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Button').at(1).simulate('click');
- assert(spy.callCount === 1);
- });
-
- it('onChange triggers', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('change', '20');
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.calledWith(20, ENTER_EVENT));
- });
-
- it('onChange not triggered when empty input', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('change', '');
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.callCount === 0);
- });
-
- it('onChange triggered with same pagenumber when invalid value is input', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('change', 'dsdfsd');
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.calledWith(13, ENTER_EVENT));
- });
- });
-
- describe('returns correct page', () => {
- it('on keyDown', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('keyDown', {key: 'Down'});
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.calledWith(9, ENTER_EVENT));
- });
-
- it('on keyUp', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('keyDown', {key: 'Up'});
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.calledWith(11, ENTER_EVENT));
- });
-
- it('on keyDown when on firstPage', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('keyDown', {key: 'Down'});
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.calledWith(1, ENTER_EVENT));
- });
-
- it('on keyUp when on lastPage', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('keyDown', {key: 'Up'});
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(spy.calledWith(20, ENTER_EVENT));
- });
- });
-
- describe('uncontrolled behavior', () => {
- it('does change page number when previous/next is clicked', () => {
- const tree = shallow( );
- tree.find('Button').at(0).simulate('click');
- assert.equal(tree.find('Textfield').prop('value'), 2);
- tree.find('Button').at(1).simulate('click');
- assert.equal(tree.find('Textfield').prop('value'), 3);
- });
- });
-
- describe('controlled behavior', () => {
- it('onPrevious/onNext is triggered when previous/next is clicked', () => {
- const onPreviousSpy = sinon.spy();
- const onNextSpy = sinon.spy();
- const tree = shallow( );
- tree.find('Button').at(0).simulate('click', 'clickEvent');
- assert(onPreviousSpy.calledWith(1, 'clickEvent'));
- tree.find('Button').at(1).simulate('click', 'clickEvent');
- assert(onNextSpy.calledWith(3, 'clickEvent'));
- });
-
- it('does not change page number when previous/next is clicked', () => {
- const tree = shallow( );
- tree.find('Button').at(0).simulate('click');
- assert.equal(tree.find('Textfield').prop('value'), 3);
- tree.find('Button').at(1).simulate('click');
- assert.equal(tree.find('Textfield').prop('value'), 3);
- });
-
- it('does change page number when currentPage prop is changed', () => {
- const onNextSpy = sinon.spy();
- const tree = shallow( );
- tree.setProps({currentPage: 7});
- assert.equal(tree.find('Textfield').prop('value'), 7);
- });
-
- it('has correct state when currentPage prop is updated', () => {
- const onNextSpy = sinon.spy();
- const tree = shallow( );
- tree.setProps({currentPage: 7});
- assert.equal(tree.find('Textfield').prop('value'), 7);
- assert.equal(tree.state('currentPage'), 7);
- tree.find('Button').at(1).simulate('click');
- assert(onNextSpy.calledWith(8));
- });
-
- it('always triggers with currentIndex prop irrespective of internal actions', () => {
- const onNextSpy = sinon.spy();
- const onPreviousSpy = sinon.spy();
- const onChangeSpy = sinon.spy();
- const tree = shallow( );
- tree.find('Textfield').simulate('change', '20');
- tree.find('Textfield').simulate('keyDown', ENTER_EVENT);
- assert(onChangeSpy.calledWith(20, ENTER_EVENT));
- tree.find('Button').at(0).simulate('click');
- assert(onPreviousSpy.calledWith(2));
- });
- });
-});
diff --git a/test/Popover/Popover.js b/test/Popover/Popover.js
deleted file mode 100644
index 96d43eb56da..00000000000
--- a/test/Popover/Popover.js
+++ /dev/null
@@ -1,129 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import Popover from '../../src/Popover';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-describe('Popover', () => {
- it('supports different variants', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Dialog--info'), true);
- });
-
- it('supports onKeyDown event handler', () => {
- const onKeyDown = sinon.spy();
- const tree = shallow( );
- tree.simulate('keydown', {key: 'Tab', shiftKey: false});
- assert(onKeyDown.called);
- });
-
- it('supports onFocus event handler', () => {
- const onFocus = sinon.spy();
- const tree = shallow( );
- tree.simulate('focus');
- assert(onFocus.called);
- });
-
- it('support stopPropagation within onFocus method to prevent trapFocus from executing', async () => {
- let onFocusStopPropagation = (e) => {
- e.isPropagationStopped = () => true;
- };
- let tree = mount( );
- await sleep(17);
- tree.simulate('focus', {type: 'focus'});
- assert.equal(document.activeElement, tree.getDOMNode());
- tree.unmount();
- });
-
- it('supports trapFocus', () => {
- const preventDefault = sinon.spy();
- const stopPropagation = sinon.spy();
- const tree = mount(
- First
- Last
- );
- const event = {
- preventDefault,
- stopPropagation
- };
- assert.equal(tree.childAt(0).prop('tabIndex'), 1);
- assert.equal(tree.childAt(0).prop('role'), 'presentation');
- tree.simulate('focus', {...event, type: 'focus'});
- assert(preventDefault.calledOnce);
- assert(stopPropagation.calledOnce);
- assert.equal(document.activeElement, tree.find('button').first().getDOMNode());
- event.key = 'Tab';
- event.shiftKey = true;
- tree.find('button').first().simulate('keydown', {...event, type: 'keydown'});
- assert(preventDefault.calledTwice);
- assert(stopPropagation.calledTwice);
- assert.equal(document.activeElement, tree.find('button').last().getDOMNode());
- event.shiftKey = false;
- tree.find('button').last().simulate('keydown', {...event, type: 'keydown'});
- assert(preventDefault.calledThrice);
- assert(stopPropagation.calledThrice);
- assert.equal(document.activeElement, tree.find('button').first().getDOMNode());
-
- // Should support setting role prop
- tree.setProps({
- role: 'dialog'
- });
- assert.equal(tree.childAt(0).prop('role'), 'dialog');
-
- // Should support stopPropagation from within onKeyDown event listener
- tree.setProps({
- 'onKeyDown': e => e.isPropagationStopped = () => true
- });
- event.shiftKey = true;
- tree.find('button').first().simulate('keydown', {...event, type: 'keydown'});
- assert(preventDefault.calledThrice);
- assert(stopPropagation.calledThrice);
- assert.equal(document.activeElement, tree.find('button').first().getDOMNode());
- tree.unmount();
- });
-
- // it('supports different variants', () => {
- // const tree = shallow( );
- // const contentTree = shallow(tree.prop('content'));
- // assert.equal(contentTree.hasClass('spectrum-Dialog--info'), true);
- // });
-
- // it('supports optional title', () => {
- // const tree = shallow( );
- // let header = shallow(tree.prop('content')).find(DialogHeader);
- // assert(!header.node);
- // tree.setProps({title: 'Foo'});
- // header = shallow(tree.prop('content')).find(DialogHeader);
- // assert(header.node);
- // assert.equal(header.prop('title'), 'Foo');
- // });
-
- // it('supports additional classNames', () => {
- // const tree = shallow( );
- // assert.equal(tree.hasClass('foo'), true);
- // });
-
- // it('supports additional properties', () => {
- // const tree = shallow( );
- // const contentTree = shallow(tree.prop('content'));
- // assert.equal(contentTree.prop('foo'), true);
- // });
-});
diff --git a/test/PortalContainer/PortalContainer.js b/test/PortalContainer/PortalContainer.js
deleted file mode 100644
index dbc0a590f33..00000000000
--- a/test/PortalContainer/PortalContainer.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import PortalContainer from '../../src/PortalContainer';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import sinon from 'sinon';
-
-describe('PortalContainer', () => {
- let renderStub;
- let renderUnstableStub;
- beforeEach(() => {
- renderStub = sinon.stub(ReactDOM, 'render');
- renderUnstableStub = sinon.stub(ReactDOM, 'unstable_renderSubtreeIntoContainer');
- });
- afterEach(() => {
- ReactDOM.render.restore();
- ReactDOM.unstable_renderSubtreeIntoContainer.restore();
- });
- it('should safe render if no context is supplied', () => {
- const child =
;
- PortalContainer.add(child);
- assert(renderStub.calledOnce);
- assert(renderUnstableStub.notCalled);
- PortalContainer.remove(child);
- });
- it('should unsafe render if context is supplied', () => {
- const component = {context: 'pretend this is a component'};
- const child =
;
- PortalContainer.add(child, component);
- assert(renderUnstableStub.calledOnce);
- assert(renderStub.notCalled);
- PortalContainer.remove(child);
- });
- it('should reuse existing render same key is provided', () => {
- const child =
;
- PortalContainer.add(child);
- PortalContainer.add(child);
- assert(renderStub.calledTwice);
- // args[1] is the node, check that they were the same both times for reuse
- assert(renderStub.firstCall.args[1] === renderStub.lastCall.args[1]);
- PortalContainer.remove(child);
- });
- it('should reuse existing render same key is provided for context as well', () => {
- const child =
;
- const component = {context: 'pretend this is a component'};
- PortalContainer.add(child, component);
- PortalContainer.add(child, component);
- assert(renderUnstableStub.calledTwice);
- // args[1] is the node, check that they were the same both times for reuse
- assert(renderUnstableStub.firstCall.args[1] === renderUnstableStub.lastCall.args[1]);
- PortalContainer.remove(child);
- });
-});
diff --git a/test/Progress/Progress.js b/test/Progress/Progress.js
deleted file mode 100644
index 2ad5c71b72e..00000000000
--- a/test/Progress/Progress.js
+++ /dev/null
@@ -1,191 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Progress from '../../src/Progress';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Progress', () => {
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-BarLoader'), true);
- assert.equal(tree.hasClass('spectrum-BarLoader--medium'), true);
- assert.equal(tree.hasClass('spectrum-BarLoader--sideLabel'), true);
- assert.equal(tree.prop('role'), 'progressbar');
- assert.equal(tree.prop('aria-valuemin'), 0);
- assert.equal(tree.prop('aria-valuemax'), 100);
- assert.equal(tree.prop('aria-valuenow'), 0);
- assert.equal(tree.prop('aria-valuetext'), '0%');
-
- const bar = tree.find('.spectrum-BarLoader-track');
- assert.equal(bar.prop('className'), 'spectrum-BarLoader-track');
- const status = findStatus(tree);
- assert.equal(status.prop('className'), 'spectrum-BarLoader-fill');
- assert.deepEqual(status.prop('style'), {width: '0%'});
-
- assert(!tree.find('.spectrum-BarLoader-label').length);
- });
-
- describe('value', () => {
- it('updates all the fields', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-valuenow'), 30);
- assert.equal(tree.prop('aria-valuetext'), '30%');
- assert.deepEqual(findStatus(tree).prop('style'), {width: '30%'});
- assert.equal(tree.find('.spectrum-BarLoader-percentage').text(), '30%');
- });
-
- it('clamps values to 0-100', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-valuenow'), 100);
- assert.equal(tree.prop('aria-valuetext'), '100%');
- assert.deepEqual(findStatus(tree).prop('style'), {width: '100%'});
- assert.equal(tree.find('.spectrum-BarLoader-percentage').text(), '100%');
-
- tree.setProps({value: -1});
- assert.equal(tree.prop('aria-valuenow'), 0);
- assert.equal(tree.prop('aria-valuetext'), '0%');
- assert.deepEqual(findStatus(tree).prop('style'), {width: '0%'});
- assert.equal(tree.find('.spectrum-BarLoader-percentage').text(), '0%');
- });
- });
-
- it('supports multiple sizes', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-BarLoader--small'), true);
- });
-
- describe('label', () => {
- it('supports showPercent', () => {
- const tree = shallow( );
- const label = tree.find('.spectrum-BarLoader-percentage');
- assert(label.getElement());
- assert.equal(label.text(), '0%');
-
- tree.setProps({value: 50});
- assert.equal(tree.find('.spectrum-BarLoader-percentage').text(), '50%');
- });
-
- it('supports labelPosition', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-BarLoader--sideLabel'), true);
- tree.setProps({labelPosition: 'top'});
- assert.equal(tree.hasClass('spectrum-BarLoader--sideLabel'), false);
- });
-
- it('supports variant = overBackground', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-BarLoader--overBackground'), true);
- tree.setProps({variant: undefined});
- assert.equal(tree.hasClass('spectrum-BarLoader--overBackground'), false);
- });
-
- it('supports custom labels', () => {
- const tree = shallow( );
- assert.equal(findLabel(tree).text(), 'foo');
- assert.equal(tree.prop('aria-labelledby'), findLabel(tree).prop('id'));
- });
-
- it('supports aria-label and aria-labelledby', () => {
- const labelId = 'label-id';
- const labelTxt = 'foo';
- let tree = shallow( );
- assert.equal(tree.prop('aria-labelledby'), labelId);
-
- // labelled by an external label and aria-label
- tree.setProps({'aria-label': labelTxt});
- assert.equal(
- tree.prop('aria-labelledby'),
- labelId + ' ' + tree.prop('id'));
- assert.equal(
- tree.prop('aria-label'),
- labelTxt);
-
- // labelled by an external label and a label prop
- tree.setProps({'aria-label': null, 'label': labelTxt});
- assert.equal(
- tree.prop('aria-labelledby'),
- labelId + ' ' + findLabel(tree).prop('id'));
-
- // labelled by just aria-label
- tree = shallow( );
- assert.equal(
- tree.prop('aria-labelledby'),
- null);
- assert.equal(
- tree.prop('aria-label'),
- labelTxt);
- });
- });
-
- it('supports different variants', () => {
- let tree = shallow( );
- assert.equal(tree.hasClass('is-positive'), true);
- tree = shallow( );
- assert.equal(tree.hasClass('is-warning'), true);
- tree = shallow( );
- assert.equal(tree.hasClass('is-critical'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-valuetext'), 'halfway there!');
- });
-
- it('supports indeterminate', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-BarLoader--indeterminate'), true);
- assert.equal(tree.find('.spectrum-BarLoader-fill').prop('style'), null);
- assert.equal(tree.prop('role'), 'progressbar');
- assert.equal(tree.prop('aria-valuemin'), null);
- assert.equal(tree.prop('aria-valuemax'), null);
- assert.equal(tree.prop('aria-valuenow'), null);
- assert.equal(tree.prop('aria-valuetext'), null);
- });
-
- it('supports raw values for min, max, and value', () => {
- const props = {
- min: 50,
- max: 200,
- value: 100
- };
- const {
- min,
- max,
- value,
- percentage = 100 * value / (max - min)
- } = props;
-
- const tree = shallow( );
- assert.deepEqual(tree.find('.spectrum-BarLoader-fill').prop('style'), {width: `${percentage}%`});
- assert.equal(tree.prop('role'), 'progressbar');
- assert.equal(tree.prop('aria-valuemin'), min);
- assert.equal(tree.prop('aria-valuemax'), max);
- assert.equal(tree.prop('aria-valuenow'), value);
- assert.equal(tree.prop('aria-valuetext'), `${Math.round(percentage * 10) / 10}%`);
- assert.equal(tree.find('.spectrum-BarLoader-percentage').text(), `${Math.round(percentage)}%`);
- });
-});
-
-const findStatus = tree => tree.find('.spectrum-BarLoader-fill');
-const findLabel = tree => tree.find('.spectrum-BarLoader-label');
diff --git a/test/Provider/Provider.js b/test/Provider/Provider.js
deleted file mode 100644
index 1f2f401e8fe..00000000000
--- a/test/Provider/Provider.js
+++ /dev/null
@@ -1,50 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Provider from '../../src/Provider';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Provider', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum'));
- assert(tree.hasClass('spectrum--light'));
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('foo'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(tree.shallow().find('div').prop('aria-hidden'), true);
- });
-
- it('supports other themes', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum--dark'));
- });
-
- it('supports scaling', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum--large'));
- });
-});
diff --git a/test/Radio/Radio.js b/test/Radio/Radio.js
deleted file mode 100644
index 6b8e35127ab..00000000000
--- a/test/Radio/Radio.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Radio from '../../src/Radio';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('Radio', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert.equal(tree.prop('inputType'), 'radio');
- assert.equal(tree.prop('className'), 'spectrum-Radio');
- assert.equal(tree.prop('inputClassName'), 'spectrum-Radio-input');
- assert.equal(tree.prop('markClassName'), 'spectrum-Radio-button');
- assert.equal(tree.prop('labelClassName'), 'spectrum-Radio-label');
- });
-
- it('supports labelBelow layout', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Radio--labelBelow'), true);
- });
-
- it('supports quiet', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Radio spectrum-Radio--quiet');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('foo'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(tree.dive().find('input').prop('aria-hidden'), true);
- });
-});
diff --git a/test/RadioGroup/RadioGroup.js b/test/RadioGroup/RadioGroup.js
deleted file mode 100644
index 996e7f26339..00000000000
--- a/test/RadioGroup/RadioGroup.js
+++ /dev/null
@@ -1,107 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Radio from '../../src/Radio';
-import RadioGroup from '../../src/RadioGroup';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('RadioGroup', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-FieldGroup');
- assert.equal(tree.prop('role'), 'radiogroup');
- assert.equal(tree.type(), 'div');
- });
-
- it('supports vertical layout', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-FieldGroup--vertical'), true);
- });
-
-
- it('supports labelsBelow layout', () => {
- const tree = shallow( );
- assert.equal(tree.childAt(0).prop('labelBelow'), true);
- assert.equal(tree.childAt(1).prop('labelBelow'), true);
- assert.equal(tree.childAt(2).prop('labelBelow'), true);
- });
-
- describe('selectedValue', () => {
- const onChangeRadioItem = sinon.spy();
- const renderRadioGroupWithChildren = ({childSelectedIndex, ...otherProps} = {}) => shallow(
-
-
-
-
-
- );
-
- it('makes the child checked', () => {
- const tree = renderRadioGroupWithChildren({selectedValue: 'bar'});
- assert.equal(tree.childAt(1).prop('checked'), true);
- tree.setProps({selectedValue: 'foobar'});
- tree.update();
- assert.equal(tree.childAt(2).prop('checked'), true);
- assert.equal(tree.state('selectedValue'), 'foobar');
- });
-
- it('makes the child checked with defaultSelectedValue', () => {
- const tree = renderRadioGroupWithChildren({defaultSelectedValue: 'bar'});
- assert.equal(tree.childAt(1).prop('checked'), true);
- });
-
- it('automatically sets selectedValue if a child is selected', () => {
- const tree = renderRadioGroupWithChildren({childSelectedIndex: 1});
- assert.equal(tree.state('selectedValue'), 'bar');
- });
-
- it('dispatches onChange which is caught and redispatched by RadioGroup', () => {
- const spy = sinon.spy();
- const stopPropagationSpy = sinon.spy();
-
- const tree = renderRadioGroupWithChildren({onChange: spy});
- assert(tree.prop('onChange'));
- assert(tree.childAt(0).prop('onChange'));
- assert(tree.childAt(1).prop('onChange'));
- assert(tree.childAt(2).prop('onChange'));
- tree.childAt(1).simulate('change', true, {stopPropagation: stopPropagationSpy});
-
- assert(spy.called);
- assert(spy.calledWith('bar'));
- assert(stopPropagationSpy.called);
- assert(onChangeRadioItem.called);
- assert(onChangeRadioItem.calledWith('bar'));
- });
-
- it('throws if child doesn\'t have a value prop', () => {
- assert.throws(() => shallow( ));
- });
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-});
diff --git a/test/Rating/Rating.js b/test/Rating/Rating.js
deleted file mode 100644
index ec8212f6d75..00000000000
--- a/test/Rating/Rating.js
+++ /dev/null
@@ -1,171 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-/** @fileoverview Rating unit tests */
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import Rating from '../../src/Rating';
-import React from 'react';
-import sinon from 'sinon';
-
-describe('Rating', function () {
- it('renders a top level div and passes through className', function () {
- var rating = shallow( );
- assert.equal(rating.type(), 'div');
- assert.equal(rating.prop('className'), 'spectrum-Rating abc');
- });
-
- it('assigns id to input', function () {
- var rating = mount( );
- assert.equal(rating.find('input').getDOMNode().getAttribute('id'), rating.instance().inputId);
- assert.equal(rating.find('input').getDOMNode(), rating.instance().input);
-
- rating.unmount();
- });
-
- it('provides default currentRating and max', function () {
- var rating = shallow( );
- assert.equal(rating.state('currentRating'), 0);
- assert.equal(rating.instance().props.max, 5);
- });
-
- it('renders a max number of ratings', function () {
- var rating = shallow( );
- assert.equal(rating.children('.spectrum-Rating-icon').length, 10);
- assert.equal(rating.find('input').prop('max'), 10);
- });
-
- it('renders a current number of ratings', function () {
- var rating = shallow( );
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 5);
- assert.equal(rating.find('input').prop('value'), 5);
- });
-
- it('sends back the number of stars selected in props.onChange', function () {
- var onChange = sinon.spy();
- var rating = shallow( );
- rating.find('span').at(1).simulate('click', {stopPropagation: function () {}});
- assert(onChange.calledOnce);
- assert.deepEqual(onChange.getCall(0).args, [2]);
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 2);
- assert.equal(rating.find('input').prop('value'), 2);
- });
-
- it('Provides the ability to disable setting the star functionality', function () {
- var onChange = sinon.spy();
- var rating = shallow( );
- rating.find('span').at(1).simulate('click');
- assert(!onChange.called);
- rating.find('input').simulate('input');
- assert(!onChange.called);
- });
-
- it('provides a hook to change a rating', function () {
- var spyChange = sinon.spy();
- var rating = shallow( );
- rating.find('span').first().simulate('click', {stopPropagation: function () {}});
- assert(spyChange.called);
- assert.equal(spyChange.lastCall.args[0], 1);
- });
-
- it('does not update state in controlled mode', function () {
- var spyChange = sinon.spy();
- var rating = shallow( );
- rating.find('span').first().simulate('click', {stopPropagation: function () {}});
- assert(spyChange.called);
- assert.equal(spyChange.lastCall.args[0], 1);
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 4);
- assert.equal(rating.find('input').prop('value'), 4);
-
- rating.setProps({value: 1});
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 1);
- assert.equal(rating.find('input').prop('value'), 1);
- });
-
- it('does not highlight if disabled', function () {
- var rating = shallow( );
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 4);
- assert.equal(rating.find('.is-disabled').length, 11);
- assert.equal(rating.find('input').prop('disabled'), true);
- });
-
- it('Provides the ability to set rating to 0', function () {
- var onChange = sinon.spy();
- var rating = shallow( );
- // Set rating to 1 by clicking first icon
- rating.find('span').at(0).simulate('click', {stopPropagation: function () {}});
- assert(onChange.calledOnce);
- assert.deepEqual(onChange.getCall(0).args, [1]);
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 1);
- assert.equal(rating.find('input').prop('value'), 1);
-
- // Set rating to 0 by clicking first icon with .is-selected
- rating.find('span').at(0).simulate('click', {stopPropagation: function () {}});
- assert(onChange.calledTwice);
- assert.deepEqual(onChange.getCall(1).args, [0]);
- assert.equal(rating.find('.is-currentValue').length, 0);
- assert.equal(rating.find('.is-selected').length, 0);
- assert.equal(rating.find('input').prop('value'), 0);
- });
-
- it('Clicking on rating icon sets focus to input', function () {
- var onChange = sinon.spy();
- var rating = mount( );
- // Set rating to 1 by clicking first icon
- rating.find('span').at(2).simulate('click', {stopPropagation: function () {}});
- assert(onChange.calledOnce);
- assert.deepEqual(onChange.getCall(0).args, [3]);
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 3);
- assert.equal(rating.find('input').prop('value'), 3);
- assert.equal(rating.find('input').getDOMNode(), document.activeElement);
-
- rating.unmount();
- });
-
- it('Permits changing value by adjusting value of input slider', function () {
- var onChange = sinon.spy();
- var rating = mount( );
- // Set rating to 4 by adjusting the input
- rating.find('input').getDOMNode().value = 4;
- rating.find('input').simulate('input', {stopPropagation: function () {}});
- assert(onChange.calledOnce);
- assert.deepEqual(onChange.getCall(0).args, [4]);
- assert.equal(rating.find('.is-currentValue').length, 1);
- assert.equal(rating.find('.is-selected').length, 4);
- assert.equal(rating.find('input').prop('value'), 4);
- assert.equal(rating.find('input').getDOMNode(), document.activeElement);
-
- rating.unmount();
- });
-
- it('Keydown on rating icon does nothing', function () {
- var onChange = sinon.spy();
- var rating = mount( );
- rating.find('span').at(2).simulate('keydown', {key: 'ArrowLeft'});
- assert(!onChange.called);
-
- rating.unmount();
- });
-});
diff --git a/test/Rule/Rule.js b/test/Rule/Rule.js
deleted file mode 100644
index 7d18b6e784a..00000000000
--- a/test/Rule/Rule.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import Rule from '../../src/Rule';
-import {shallow} from 'enzyme';
-
-describe('Rule', function () {
- it('should render an hr element', function () {
- let tree = shallow( );
- assert.equal(tree.type(), 'hr');
- assert.equal(tree.prop('className'), 'spectrum-Rule spectrum-Rule--large');
- });
-
- it('should render medium size', function () {
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Rule spectrum-Rule--medium');
- });
-
- it('should render small size', function () {
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Rule spectrum-Rule--small');
- });
-
- it('should allow custom classes', function () {
- let tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Rule spectrum-Rule--large custom-class');
- });
-
- it('should allow custom DOM props', function () {
- let tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'label');
- });
-});
diff --git a/test/Search/Search.js b/test/Search/Search.js
deleted file mode 100644
index 285e9a8e6fc..00000000000
--- a/test/Search/Search.js
+++ /dev/null
@@ -1,230 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import Refresh from '../../src/Icon/Refresh';
-import Search from '../../src/Search';
-import sinon from 'sinon';
-
-describe('Search', () => {
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Search'), true);
- assert.equal(tree.prop('role'), 'search');
-
- const icon = tree.find('.spectrum-Search-icon');
- assert.equal(icon.prop('className'), 'spectrum-Search-icon');
-
- const input = findInput(tree);
- assert.equal(input.hasClass('spectrum-Search-input'), true);
- assert.equal(input.prop('role'), 'searchbox');
- assert.equal(input.prop('type'), 'search');
-
- const button = findButton(tree);
- assert(!button.length);
- });
-
- it('should support custom icons', () => {
- const tree = shallow( } />);
- const icon = tree.find('.spectrum-Search-icon');
- assert.equal(icon.type(), Refresh);
- });
-
- it('should support no icon', () => {
- const tree = shallow( );
- const icon = tree.find('.spectrum-Search-icon');
- assert(!icon.length);
- });
-
- it('shows clear button if text exists', () => {
- const tree = shallow( );
- const button = findButton(tree);
- assert.equal(button.prop('aria-label'), 'Clear search');
- assert.equal(button.prop('variant'), 'clear');
- });
-
- describe('onSubmit', () => {
- let spy;
- let preventDefaultSpy;
- let keyDownSpy;
-
- beforeEach(() => {
- spy = sinon.spy();
- preventDefaultSpy = sinon.spy();
- keyDownSpy = sinon.spy();
- });
-
- it('is called when enter is pressed', () => {
- const tree = shallow( );
- findInput(tree).simulate('keyDown', {which: 13, preventDefault: preventDefaultSpy});
- assert(spy.called);
- assert(preventDefaultSpy.called);
- assert(keyDownSpy.called);
- });
-
- it('is not called when enter is pressed if it is disabled', () => {
- const tree = shallow( );
- findInput(tree).simulate('keyDown', {which: 13, preventDefault: preventDefaultSpy});
- assert(!spy.called);
- assert(preventDefaultSpy.called);
- assert(!keyDownSpy.called);
- });
- });
-
- describe('onChange', () => {
- let spy;
- let preventDefaultSpy;
- let keyDownSpy;
-
- beforeEach(() => {
- spy = sinon.spy();
- preventDefaultSpy = sinon.spy();
- keyDownSpy = sinon.spy();
- });
-
- it('is called when escape is pressed', () => {
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- findInput(tree).simulate('keyDown', {which: 27, preventDefault: preventDefaultSpy});
- assert(spy.calledWith('', sinon.match.any, {from: 'escapeKey'}));
- assert(preventDefaultSpy.called);
- assert(keyDownSpy.called);
- assert.equal(tree.find('Textfield').prop('value'), '');
- });
-
- it('does not change value when escape is pressed (controlled)', () => {
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- findInput(tree).simulate('keyDown', {which: 27, preventDefault: preventDefaultSpy});
- assert(spy.calledWith('', sinon.match.any, {from: 'escapeKey'}));
- assert(preventDefaultSpy.called);
- assert(keyDownSpy.called);
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- });
-
- it('is called when the clear button is pressed', () => {
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- findButton(tree).simulate('click');
- assert(spy.calledWith('', sinon.match.any, {from: 'clearButton'}));
- assert.equal(tree.find('Textfield').prop('value'), '');
- });
-
- it('does not change value when the clear button is pressed (controlled)', () => {
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- findButton(tree).simulate('click');
- assert(spy.calledWith('', sinon.match.any, {from: 'clearButton'}));
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- });
-
- it('is not called when escape is pressed if it is disabled', () => {
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- findInput(tree).simulate('keyDown', {which: 27, preventDefault: preventDefaultSpy});
- assert(!spy.called);
- assert(preventDefaultSpy.called);
- assert(!keyDownSpy.called);
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- });
-
- it('is not called when escape is pressed if value is empty', () => {
- const tree = shallow( );
- findInput(tree).simulate('keyDown', {which: 27, preventDefault: preventDefaultSpy});
- assert(!spy.called);
- assert(preventDefaultSpy.called);
- assert(keyDownSpy.called);
- });
-
- it('is not called when the clear button is pressed if it is disabled', () => {
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- findButton(tree).simulate('click');
- assert(!spy.called);
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- });
-
- it('is called when text is entered', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), '');
-
- findInput(tree).simulate('change', 'a');
- assert(spy.calledWith('a', sinon.match.any, {from: 'input'}));
- assert.equal(tree.find('Textfield').prop('value'), 'a');
- });
-
- it('does not change value when text is entered (controlled)', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
-
- findInput(tree).simulate('change', 'a');
- assert(spy.calledWith('a', sinon.match.any, {from: 'input'}));
- assert.equal(tree.find('Textfield').prop('value'), 'foo');
- });
- });
-
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert.equal(findInput(tree).prop('disabled'), true);
- assert.equal(findButton(tree).prop('disabled'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(findInput(tree).prop('foo'), true);
- });
-
- it('supports overiding role of wrapping div', () => {
- const tree = shallow( );
- assert.equal(tree.prop('role'), 'presentation');
- });
-
- it('restores focus to input when clear button is clicked', () => {
- const tree = shallow( );
- tree.instance().searchbox = {
- focus: sinon.spy()
- };
- const button = findButton(tree);
- button.simulate('click');
- assert(tree.instance().searchbox.focus.called);
- });
-
- it('has searchbox ref', () => {
- const tree = mount( );
- assert(tree.instance().searchbox);
- tree.unmount();
- });
-
- it('supports setting value with prop', () => {
- const tree = shallow( );
- tree.setProps({value: 'hello world'});
- assert.equal(tree.state('value'), 'hello world');
- });
-});
-
-const findInput = tree => tree.find('.spectrum-Search-input');
-const findButton = tree => tree.find('Button');
diff --git a/test/SearchWithin/SearchWithin.js b/test/SearchWithin/SearchWithin.js
deleted file mode 100644
index 701fe16795a..00000000000
--- a/test/SearchWithin/SearchWithin.js
+++ /dev/null
@@ -1,130 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import Search from '../../src/Search';
-import SearchWithin from '../../src/SearchWithin';
-import sinon from 'sinon';
-import Textfield from '../../src/Textfield';
-
-const testOptions = [
- {label: 'Chocolate', value: 'chocolate'},
- {label: 'Vanilla', value: 'vanilla'},
- 'Strawberry',
- {label: 'Caramel', value: 'caramel'},
- {label: 'Cookies and Cream', value: 'cookiescream', disabled: true},
- {label: 'Coconut', value: 'coco'},
- {label: 'Peppermint', value: 'peppermint'},
- {label: 'Some crazy long value that should be cut off', value: 'logVal'}
-];
-
-describe('SearchWithin', () => {
- let clock;
- before(() => {
- clock = sinon.useFakeTimers();
- });
- after(() => {
- clock.runAll();
- clock.restore();
- });
-
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-SearchWithin'), true);
- assert.equal(tree.prop('role'), 'search');
- assert.equal(tree.prop('aria-label'), 'Search within');
-
- assert.equal(findSelect(tree).prop('aria-labelledby'), tree.prop('id'));
- assert.equal(findSearch(tree).prop('aria-labelledby'), tree.prop('id') + ` ${findSelect(tree).prop('id')}-value`);
- });
-
- it('supports value with empty string', () => {
- const tree = shallow( );
- assert.equal(tree.find(Search).props().value, '');
- });
-
- it('supports defaultValue', () => {
- const tree = shallow( );
- assert.equal(tree.find(Search).prop('defaultValue'), 'default');
- });
-
- it('supports scope prop to set value of Select', () => {
- const tree = shallow( );
- assert.equal(findSelect(tree).prop('value'), 'coco');
- });
-
- it('supports defaultScope prop to set defaultValue of Select', () => {
- const tree = shallow( );
- assert.equal(findSelect(tree).prop('defaultValue'), 'coco');
- });
-
- it('supports autoFocus', () => {
- const tree = mount( );
- clock.runAll();
- assert.equal(tree.find(Textfield).getDOMNode(), document.activeElement);
- tree.unmount();
- });
-
- it('supports labelling using aria-label', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-label'), 'This is a label');
- assert.equal(findSelect(tree).prop('aria-labelledby'), tree.prop('id'));
- assert.equal(findSearch(tree).prop('aria-labelledby'), tree.prop('id') + ` ${findSelect(tree).prop('id')}-value`);
- });
- it('supports labelling using aria-labelledby alone', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-labelledby'), 'foo');
- assert.equal(findSelect(tree).prop('aria-labelledby'), 'foo');
- assert.equal(findSearch(tree).prop('aria-labelledby'), `foo ${findSelect(tree).prop('id')}-value`);
- });
- it('supports labelling using both aria-labelledby and aria-label', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-labelledby'), 'foo ' + tree.prop('id'));
- assert.equal(findSelect(tree).prop('aria-labelledby'), 'foo ' + tree.prop('id'));
- assert.equal(findSearch(tree).prop('aria-labelledby'), `foo ${tree.prop('id')} ${findSelect(tree).prop('id')}-value`);
- });
-
- it('supports additions of custom css classes', () => {
- const cls = 'sw-abc';
- const tree = shallow( );
- assert(tree.prop('className').includes(cls));
- });
-
- it('updates when new scopeOptions are passed in', () => {
- let tree = shallow( );
- let options = findSelect(tree).prop('options');
- assert.equal(options.length, 8);
- assert.deepEqual(options[0], {
- label: 'Chocolate',
- value: 'chocolate'
- });
-
- tree.setProps({scopeOptions: [{label: 'Chocolate', value: 'choco'}]});
- tree.update();
- options = findSelect(tree).prop('options');
- assert.equal(options.length, 1);
- assert.deepEqual(options[0], {
- label: 'Chocolate',
- value: 'choco'
- });
- });
-});
-
-const findSelect = tree => tree.find('Select');
-const findSearch = tree => tree.find('Search');
diff --git a/test/Select/Select.js b/test/Select/Select.js
deleted file mode 100644
index 19a85431b22..00000000000
--- a/test/Select/Select.js
+++ /dev/null
@@ -1,311 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import Dropdown from '../../src/Dropdown';
-import FieldLabel from '../../src/FieldLabel';
-import Illustrator from '../src/Icon/Illustrator';
-import Lightroom from '../src/Icon/Lightroom';
-import {mount, render, shallow} from 'enzyme';
-import Photoshop from '../src/Icon/Photoshop';
-import React from 'react';
-import Select, {SelectMenu} from '../../src/Select';
-import sinon from 'sinon';
-
-const testOptions = [
- {label: 'Chocolate', value: 'chocolate'},
- {label: 'Vanilla', value: 'vanilla'},
- {label: 'Strawberry', value: 'strawberry'},
- {label: 'Caramel', value: 'caramel'},
- {label: 'Cookies and Cream', value: 'cookiescream', disabled: true},
- {label: 'Coconut', value: 'coco'},
- {label: 'Peppermint', value: 'peppermint'},
- {label: 'Some crazy long value that should be cut off', value: 'logVal'}
-];
-
-describe('Select', () => {
- let clock;
- before(() => {
- clock = sinon.useFakeTimers();
- });
- after(() => {
- clock.runAll();
- clock.restore();
- });
-
- it('renders a dropdown', () => {
- const tree = shallow( );
- const dropdown = tree.find(Dropdown);
- assert.equal(dropdown.prop('className'), 'spectrum-Dropdown');
- assert.equal(tree.state('value'), null);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- const select = tree.find(Dropdown);
-
- assert.equal(select.hasClass('myClass'), true);
- // Check that spectrum-Dropdown is not overwritten by the provided class.
- assert.equal(select.hasClass('spectrum-Dropdown'), true);
- });
-
- it('exposes menuClassName', () => {
- const tree = shallow( );
- const selectMenu = tree.find(SelectMenu);
-
- assert.equal(selectMenu.hasClass('myClass'), true);
- });
-
- it('supports flip prop', () => {
- const tree = shallow( );
- const select = tree.find(Dropdown);
-
- assert.equal(select.prop('flip'), false);
- });
-
- it('renders options', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Chocolate');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.equal(tree.find(SelectMenu).prop('value'), 'chocolate');
- });
-
- it('renders options with multiple select', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Select an option');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.deepEqual(tree.find(SelectMenu).prop('value'), []);
- });
-
- it('passes through the renderItem prop', () => {
- const tree = shallow( {item.label} } />);
- assert.equal(typeof tree.find(SelectMenu).prop('renderItem'), 'function');
- });
-
- it('should set an initial value', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Vanilla');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.equal(tree.find(SelectMenu).prop('value'), 'vanilla');
- });
-
- it('should set an initial value with multiple select', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Select an option');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.deepEqual(tree.find(SelectMenu).prop('value'), ['vanilla', 'caramel']);
- });
-
- it('should set a default value', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Vanilla');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.equal(tree.find(SelectMenu).prop('value'), 'vanilla');
- });
-
- it('should update value if passed in', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Vanilla');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.equal(tree.find(SelectMenu).prop('value'), 'vanilla');
-
- tree.setProps({value: 'chocolate'});
-
- assert.equal(tree.find('.spectrum-Dropdown-label').text(), 'Chocolate');
- assert.deepEqual(tree.find(SelectMenu).prop('options'), testOptions);
- assert.equal(tree.find(SelectMenu).prop('value'), 'chocolate');
- });
-
- it('should handle selection', () => {
- const onChange = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.state('value'), 'chocolate');
-
- tree.find(Dropdown).simulate('select', 'vanilla');
-
- assert.equal(tree.state('value'), 'vanilla');
- assert(onChange.called);
- });
-
- it('should not close menu if closeOnSelect is set to false', () => {
- const onClose = sinon.spy();
- const onChange = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.state('value'), 'chocolate');
-
- tree.find(Dropdown).simulate('select', 'vanilla');
-
- assert.equal(onClose.callCount, 0);
- assert.equal(onChange.callCount, 1);
- });
-
- it('should not close menu if multiple selection is enabled', () => {
- const onClose = sinon.spy();
- const onChange = sinon.spy();
- const tree = shallow( );
- assert.deepEqual(tree.state('value'), []);
-
- tree.find(Dropdown).simulate('select', ['vanilla']);
-
- assert.equal(onClose.callCount, 0);
- assert.equal(onChange.callCount, 1);
- });
-
- it('Labelling of the Select with parent FieldLabel is handled correctly', () => {
- const tree = render(
-
-
-
- );
-
- assert.equal(tree.find('button').prop('aria-labelledby'), tree.find('label').prop('id') + ' ' + tree.find('span').prop('id'));
- });
-
- it('Labelling of the Select with aria-labelledby is handled correctly', () => {
- let tree = render(
-
-
-
-
- );
-
- assert.equal(tree.find('button').prop('aria-labelledby'), tree.find('label').prop('id') + ' ' + tree.find('span').prop('id'));
-
- tree = render(
-
-
-
-
- );
-
- assert.equal(tree.find('button').prop('aria-labelledby'), tree.find('label').prop('id') + ' ' + tree.find('span').prop('id'));
- });
-
- it('Labelling of the Select with aria-label is handled correctly', () => {
- const tree = render(
-
- );
-
- assert.equal(tree.find('button').prop('aria-labelledby'), tree.find('button').prop('id') + ' ' + tree.find('span').prop('id'));
- });
-
- it('should pass aria-* properties and id to the button', () => {
- const tree = render(
-
- );
-
- assert.equal(tree.find('button').prop('aria-describedby'), 'test');
- assert.equal(tree.find('button').prop('id'), 'myid');
- });
-
- it('shound pass non-aria DOM properties to the dropdown', () => {
- const tree = mount(
-
- );
-
- assert.equal(tree.find(Dropdown).prop('lang'), 'jp');
- assert.equal(tree.find(Dropdown).prop('style').width, '192px');
- });
-
- it('should not update state if value prop is passed', () => {
- const onChange = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.state('value'), 'vanilla');
-
- tree.find(Dropdown).simulate('select', 'chocolate');
-
- assert.equal(tree.state('value'), 'vanilla');
- assert(onChange.called);
- });
-
- it('should trigger the menu on key press', () => {
- const tree = shallow( );
-
- for (let key of ['Enter', 'ArrowDown', 'Space']) {
- const spy = sinon.spy();
- tree.instance().button = {onClick: spy};
-
- tree.find(Button).simulate('keyDown', {key, preventDefault: function () {}});
- assert(spy.called);
- }
- });
-
- it('supports caching of width when componentDidUpdate is called', () => {
- const tree = mount( );
-
- // stub offsetWidth getter
- const stubWidth = 192;
- const stub = sinon.stub(tree.find(Button).getDOMNode(), 'offsetWidth').get(() => stubWidth);
-
- // show menu
- tree.instance().componentDidUpdate();
- clock.runAll();
- assert.equal(tree.instance().state.width, stubWidth);
-
- // restore original offsetWidth getter
- stub.restore();
- tree.unmount();
- });
-
- it('should not have a minimum width if noMinWidth prop is passed', () => {
- const tree = shallow(
-
- );
-
- assert.deepEqual(tree.find(Button).prop('style'), null);
- });
-
- it('onClose restores focus to button and calls onClose method if defined', () => {
- const onCloseSpy = sinon.spy();
- const onOpenSpy = sinon.spy();
- const tree = mount( );
- tree.find(Button).getDOMNode().focus();
- tree.find(Button).simulate('click');
- clock.runAll();
- assert(onOpenSpy.calledOnce);
- assert.equal(tree.find(Button).prop('selected'), true);
- assert.notEqual(tree.find(Button).getDOMNode(), document.activeElement);
- tree.find(Button).simulate('click');
- tree.update();
- assert(onCloseSpy.calledOnce);
- clock.tick(150);
- assert.equal(tree.find(Button).getDOMNode(), document.activeElement);
- assert.equal(tree.find(Button).prop('selected'), false);
-
- tree.unmount();
- });
-
- it('supports icons in items', () => {
- const optionsWithIcons = [
- {label: 'Photoshop', value: 'PHSP', icon: },
- {label: 'Lightroom', value: 'LTRM', icon: },
- {label: 'Illustrator', value: 'ILST', icon: },
- {label: 'Other', value: 'OTHER'}
- ];
- const tree = shallow( );
-
- const selectMenu = tree.find(SelectMenu).prop('options');
-
- assert.equal(selectMenu.length, 4);
- assert.deepStrictEqual(selectMenu[0].icon, );
- assert.equal(selectMenu[3].icon, null);
-
- const button = tree.find(Button);
- assert.deepStrictEqual(button.prop('icon'), );
- });
-});
diff --git a/test/SelectList/SelectList.js b/test/SelectList/SelectList.js
deleted file mode 100644
index 67bd69686d7..00000000000
--- a/test/SelectList/SelectList.js
+++ /dev/null
@@ -1,137 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {ListItem} from '../../src/List';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import SelectList from '../../src/SelectList';
-
-const testOptions = [
- {label: 'Chocolate', value: 'chocolate'},
- {label: 'Vanilla', value: 'vanilla'},
- {label: 'Strawberry', value: 'strawberry'},
- {label: 'Caramel', value: 'caramel'},
- {label: 'Cookies and Cream', value: 'cookiescream', disabled: true},
- {label: 'Peppermint', value: 'peppermint'},
- {label: 'Some crazy long value that should be cut off', value: 'logVal'}
-];
-
-const selectedValue = [
- 'chocolate',
- 'vanilla',
- 'logVal'
-];
-
-describe('SelectList', () => {
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('bell'), true);
- });
-
- it('supports a list of options', () => {
- const tree = shallow( );
- assert.equal(tree.find(ListItem).length, 7);
- });
-
- it('supports an item being selected', () => {
- const tree = shallow( );
- assert.equal(tree.find({selected: true}).length, 1);
- assert.equal(tree.state('value'), testOptions[0].value);
- tree.setProps({value: testOptions[5].value});
- assert.equal(tree.find({selected: true}).length, 1);
- assert.equal(tree.state('value'), testOptions[5].value);
- });
-
- it('supports multiple items being selected', () => {
- const tree = shallow( );
- assert.equal(tree.find({selected: true}).length, 3);
- });
-
- it('aria-selected is set correctly when multiple items are selected', () => {
- const tree = mount( );
- assert.equal(tree.find({'aria-selected': true}).length, 3);
- assert.equal(tree.find({'aria-selected': false}).length, 4);
-
- tree.unmount();
- });
-
- it('supports all items being disabled', () => {
- const tree = shallow( );
- tree.find(ListItem).forEach((node) => {
- assert.equal(node.prop('disabled'), true);
- });
- });
-
- it('supports an item being disabled', () => {
- const tree = shallow( );
- assert.equal(tree.find({disabled: true}).length, 1);
- });
-
- it('should optionally call the renderItem callback to render list items', async () => {
- const tree = shallow( {item.label} } />);
- assert.equal(tree.find(ListItem).first().childAt(0).type(), 'em');
- });
-
- it('supports selection being returned on selection change for single select', () => {
- const tree = shallow(
- {
- assert.deepEqual(value, testOptions[0].value);
- }} />
- );
- tree.find(ListItem).first().simulate('select');
- });
-
- it('supports selection being returned on selection add for multiple select', () => {
- let finalValue;
- const tree = shallow(
- {
- finalValue = value;
- }} />
- );
- tree.find(ListItem).first()
- .simulate('select');
- assert.deepEqual(finalValue, [testOptions[1].value, testOptions[0].value]);
- });
-
- it('supports selection being returned on selection remove for multiple select', () => {
- let finalValue;
- const tree = shallow(
- {
- finalValue = value;
- }} />
- );
- tree.find(ListItem).first()
- .simulate('select');
- assert.deepEqual(finalValue, []);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('foo'), true);
- });
-});
diff --git a/test/Shell/ShellHelp.js b/test/Shell/ShellHelp.js
deleted file mode 100644
index 6e6ec289f15..00000000000
--- a/test/Shell/ShellHelp.js
+++ /dev/null
@@ -1,68 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Link from '../../src/Link';
-import {ListItem} from '../../src/List';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {ShellHelp} from '../../src/Shell';
-import sinon from 'sinon';
-
-const defaultResults = [
- {href: 'http://foo.com', label: 'Foo'},
- {href: 'http://bar.com', label: 'Bar'},
- {href: 'http://baz.com', label: 'Baz'}
-];
-
-const render = (props = {}) => {
- const defaultProps = {
- defaultResults,
- moreSearchResultsUrl: '#'
- };
-
- return ;
-};
-
-const findResultListItem = (tree) => tree.find(ListItem).first();
-const findResultLink = (tree) => tree.find(Link).first();
-
-describe('ShellHelp', () => {
- let spy;
- let tree;
-
- describe('Displays search results', () => {
-
- beforeEach(() => {
- spy = sinon.spy();
- tree = shallow(render({onResultClick: spy}));
- });
-
- it('displays a link to click', () => {
- tree.update();
- assert.equal(findResultLink(tree).exists(), true);
- });
-
- it('supports onResultClick', () => {
- tree.update();
- let listItem = findResultListItem(tree);
- listItem.simulate('click');
- assert(spy.calledWith(defaultResults[0]));
- });
-
- });
-});
diff --git a/test/Shell/ShellOrgSwitcher.js b/test/Shell/ShellOrgSwitcher.js
deleted file mode 100644
index 1383e7e44c5..00000000000
--- a/test/Shell/ShellOrgSwitcher.js
+++ /dev/null
@@ -1,90 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {ShellOrgSwitcher} from '../../src/Shell';
-
-const render = (props = {}) => {
- const defaultProps = {
- value: 'foo',
- options: [
- {value: 'foo', label: 'Foo'},
- {value: 'bar', label: 'Bar'},
- {value: 'baz', label: 'Baz'}
- ]
- };
-
- return ;
-};
-
-const findNoResultsContainer = (tree) => tree.find('.coral3-Shell-orgSwitcher-resultMessage');
-const findSelectList = (tree) => tree.find('SelectList');
-const findTargetButton = (tree) => tree.prop('target');
-
-describe('ShellOrgSwitcher', () => {
- let tree;
-
- describe('toggles between "no organizations found" and SelectList', () => {
- let noResultsContainer;
- let selectList;
-
- beforeEach(() => {
- tree = shallow(render());
- });
-
- const changeSearchTerm = (searchTerm) => {
- tree.instance().handleSearchChange(searchTerm);
- tree.update();
- noResultsContainer = findNoResultsContainer(tree);
- selectList = findSelectList(tree);
- };
-
- it('displays "no organizations found" if searchTerm doesn\'t match any options', () => {
- changeSearchTerm('string-that-doesn\'t-match');
- assert.equal(noResultsContainer.exists(), true);
- assert.equal(selectList.exists(), false);
- });
-
- it('displays SelectList if searchTerm matches options', () => {
- changeSearchTerm('foo');
- assert.equal(noResultsContainer.exists(), false);
- assert.equal(selectList.exists(), true);
- });
- });
-
- describe('value displayed in Button', () => {
- const getTargetButtonContent = (tree) => findTargetButton(tree).props['children'];
-
- it('displays the label for the selected value', () => {
- tree = shallow(render({value: 'foo'}));
- assert.equal(getTargetButtonContent(tree), 'Foo');
- });
-
- it('displays the value if the option doesn\'t exist', () => {
- tree = shallow(render({value: 'value-doesn\'t-match-options'}));
- assert.equal(getTargetButtonContent(tree), 'value-doesn\'t-match-options');
- });
-
- it('displays empty string is value isn\'t set', () => {
- tree = shallow(render({value: undefined}));
- assert.equal(getTargetButtonContent(tree), '');
- });
- });
-
-});
diff --git a/test/SideNav/SideNav.js b/test/SideNav/SideNav.js
deleted file mode 100644
index d069b2bbfdc..00000000000
--- a/test/SideNav/SideNav.js
+++ /dev/null
@@ -1,101 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {SideNav, SideNavItem} from '../../src/SideNav';
-import sinon from 'sinon';
-
-const render = (props = {}) => shallow(
-
-
-
-);
-
-describe('SideNav', () => {
- it('renders a nav & ul with correct className', () => {
- let tree = render();
- assert.equal(tree.type(), 'nav');
- assert.equal(tree.find('FocusManager').find('ul').length, 1);
- });
-
- it('supports className as prop', () => {
- let tree = render({className: 'test-nav'});
- assert.equal(tree.find('.test-nav').length, 1);
- });
-
- it('multiLevel variant is supported', () => {
- let tree = render({variant: 'multiLevel'});
- assert.equal(tree.find('.spectrum-SideNav--multiLevel').length, 1);
-
- // Root multiLevel SideNav will be a nav element with role='tree'
- assert.equal(tree.type(), 'nav', 'Root multiLevel SideNav will be a nav element');
- assert.equal(tree.find('.spectrum-SideNav--multiLevel').prop('role'), 'tree', 'Root multiLevel SideNav will hav role="tree"');
-
- // Nested multiLevel SideNav will be a div element with role='group'
- tree.setProps({isNested: true});
- assert.equal(tree.type(), 'div', 'Nested multiLevel SideNav will be a div element');
- assert.equal(tree.find('.spectrum-SideNav--multiLevel').prop('role'), 'group', 'Nested multiLevel SideNav will have role="group"');
- });
-
- it('correct focusmanager selectors are set', () => {
- let tree = render();
- const focusManager = tree.find('FocusManager');
- assert.equal(focusManager.prop('itemSelector'), '.spectrum-SideNav-itemLink:not(.is-hidden):not(.is-disabled)');
- assert.equal(focusManager.prop('selectedItemSelector'), '.spectrum-SideNav-itemLink:not(.is-hidden):not(.is-disabled).is-selected');
- assert.equal(focusManager.find('.spectrum-SideNav').length, 1);
- });
-
- it('onSelect is triggered when clicked on any item', () => {
- const onSelect = sinon.spy();
- let tree = render({onSelect});
- tree.find(SideNavItem).last().simulate('select');
- assert(onSelect.calledOnce);
- });
-
- it('supports defaultValue', () => {
- let tree = render({defaultValue: 'Item 1'});
- assert(tree.instance().isDefaultSelected(tree.find(SideNavItem).get(0)));
- });
-
- it('supports value', () => {
- let tree = render();
- tree.setProps({value: 'Item 1'});
- assert.equal(tree.state('value'), 'Item 1');
- });
-
- it('supports nested nav value', () => {
- let tree = shallow(
-
- Item 1
-
-
- Acrobat
- Adobe Sign
-
-
- Photoshop
- Illustrator
-
-
-
- );
- assert(tree.instance().isDefaultSelected(tree.find(SideNavItem).get(3)));
- assert(tree.instance().isDefaultExpanded(tree.find(SideNavItem).get(2)));
- });
-});
diff --git a/test/SideNav/SideNavHeading.js b/test/SideNav/SideNavHeading.js
deleted file mode 100644
index 2e08fce4611..00000000000
--- a/test/SideNav/SideNavHeading.js
+++ /dev/null
@@ -1,56 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {SideNavHeading, SideNavItem} from '../../src/SideNav';
-
-const render = (props = {}) => shallow( ).dive();
-
-describe('SideNavHeading', () => {
- it('renders an li with correct className', () => {
- let tree = render();
- assert.equal(tree.type(), 'li');
- assert.equal(tree.find('.spectrum-SideNav-item').length, 1);
- });
-
- it('supports className as prop', () => {
- let tree = render({className: 'test-nav-heading'});
- assert.equal(tree.find('.test-nav-heading').length, 1);
- });
-
- it('supports extra props', () => {
- let tree = render({'aria-custom': 'value'});
- assert.equal(tree.find('li').prop('aria-custom'), 'value');
- });
-
- it('label is shown correctly via label prop', () => {
- let tree = render({label: 'Item label'});
- assert.equal(tree.find('h2').prop('children'), 'Item label');
- });
-
- it('renders a nested sidenav', () => {
- let tree = shallow(
-
- Document Clouds
- Creative Cloud
-
- );
- assert.equal(tree.dive().find('SideNav').length, 1);
- });
-});
diff --git a/test/SideNav/SideNavItem.js b/test/SideNav/SideNavItem.js
deleted file mode 100644
index 94bac65bce4..00000000000
--- a/test/SideNav/SideNavItem.js
+++ /dev/null
@@ -1,187 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import Refresh from '../../src/Icon/Refresh';
-import {SideNav, SideNavItem} from '../../src/SideNav';
-import sinon from 'sinon';
-
-const render = (props = {}) => shallow( );
-const NOOP = () => {};
-
-describe('SideNavItem', () => {
- it('renders a li with correct className', () => {
- let tree = render();
- assert.equal(tree.type(), 'li');
- assert.equal(tree.find('.spectrum-SideNav-item').length, 1);
- });
-
- it('supports className as prop', () => {
- let tree = render({className: 'test-nav-item'});
- assert.equal(tree.find('.test-nav-item').length, 1);
- });
-
- it('supports extra props', () => {
- let tree = render({'aria-custom': 'value'});
- assert.equal(tree.find('li').prop('aria-custom'), 'value');
- });
-
- it('supports updating props', () => {
- let tree = render();
- assert.equal(tree.state('expanded'), undefined);
- tree.setProps({expanded: true});
- assert.equal(tree.state('expanded'), true);
- });
-
- it('supports disabled prop', () => {
- let tree = render({label: 'Item label', disabled: true});
- let link = tree.find('.spectrum-SideNav-itemLink');
- assert.equal(link.prop('href'), undefined);
- assert.equal(link.prop('onClick'), undefined);
- assert.equal(link.prop('onFocus'), undefined);
- assert.equal(link.prop('onBlur'), undefined);
- assert.equal(link.prop('tabIndex'), undefined);
- assert.equal(link.prop('aria-disabled'), true);
- });
-
- it('label is shown correctly via label prop', () => {
- let tree = render({label: 'Item label'});
- assert.equal(tree.find('a').text(), 'Item label');
- });
-
- it('label is shown correctly when passed as children', () => {
- let tree = render({children: 'Item label'});
- assert.equal(tree.find('a').text(), 'Item label');
- });
-
- it('renders custom link returned from renderLink prop', () => {
- const label = 'Test Label';
- const renderLink = () => {label} ;
- const tree = render({label, renderLink});
- assert.equal(tree.find('b').text(), label);
- });
-
- it('should support custom icons', () => {
- const tree = render({children: 'Item label', icon: });
- const icon = tree.find('.spectrum-SideNav-itemIcon');
- assert.equal(icon.type(), Refresh);
- });
-
- describe('renderLink', () => {
- it('renders custom link', () => {
- const label = 'Test Label';
- const renderLink = () => {label} ;
- const tree = render({renderLink});
- assert.equal(tree.find('b').prop('children'), label);
- });
-
- it('passes props to custom component', () => {
- const props = {href: '/a'};
- const renderLink = (props) => ;
- const tree = render({renderLink, ...props});
- assert.equal(tree.find('b').prop('href'), props.href);
- });
- });
-
- it('onSelect is called when clicked on any item', () => {
- const onSelect = sinon.spy();
- let tree = render({onSelect, label: 'a'});
- tree.find('.spectrum-SideNav-itemLink').simulate('click', {preventDefault: NOOP, stopPropagation: NOOP});
- assert(onSelect.calledOnce);
- });
-
- it('renders a nested sidenav', () => {
- let tree = shallow(
-
- Document Clouds
- Creative Cloud
-
- );
- assert.equal(tree.find(SideNav).length, 1);
- });
-
- describe('Accessibility', () => {
- let tree;
- beforeEach(() => {
- tree = mount(
-
- Document Clouds
- Creative Cloud
-
- );
- });
- afterEach(() => {
- tree.unmount();
- });
- describe('ArrowRight', () => {
- it('expands collapsed item', () => {
- tree.setState({expanded: false});
- assert.equal(tree.state('expanded'), false);
- tree.find('.spectrum-SideNav-itemLink').first().simulate('keydown', {key: 'ArrowRight', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(tree.state('expanded'), true);
- tree.find('.spectrum-SideNav-itemLink').first().simulate('keydown', {key: 'ArrowRight', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(tree.find('.spectrum-SideNav-itemLink').at(1).getDOMNode(), document.activeElement);
- });
- });
- describe('ArrowLeft', () => {
- it('closes expanded item', () => {
- tree.setState({expanded: true});
- assert.equal(tree.state('expanded'), true);
- tree.find('.spectrum-SideNav-itemLink[aria-current]').simulate('keydown', {key: 'ArrowLeft', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(tree.state('expanded'), false);
- assert.equal(tree.find('.spectrum-SideNav-itemLink').first().getDOMNode(), document.activeElement);
- });
- });
- describe('Enter/Space', () => {
- it('should click focused item', () => {
- tree.setState({expanded: true});
- assert.equal(tree.state('expanded'), true);
- let clickSpy = sinon.spy();
- tree.find('.spectrum-SideNav-itemLink').last().simulate('keydown', {target: {click: clickSpy}, key: 'Enter', preventDefault: NOOP, stopPropagation: NOOP});
- assert(clickSpy.called);
- tree.find('.spectrum-SideNav-itemLink').last().simulate('keydown', {target: {click: clickSpy}, key: 'Space', preventDefault: NOOP, stopPropagation: NOOP});
- assert(clickSpy.calledTwice);
- });
- });
- describe('onFocus', () => {
- it('sets focused state to true', () => {
- assert.equal(tree.state('focused'), false);
- tree.find('.spectrum-SideNav-itemLink').first().simulate('focus');
- assert.equal(tree.state('focused'), true);
- });
- });
- describe('onBlur', () => {
- it('sets focused state to false', () => {
- tree.setState({focused: true});
- tree.find('.spectrum-SideNav-itemLink').first().simulate('blur');
- assert.equal(tree.state('focused'), false);
- });
- });
-
- describe('onSelect', () => {
- it('calls onSelect when a nested nav item is selected', () => {
- let onSelect = sinon.spy();
- tree.setProps({onSelect, expanded: true});
- tree.find('.spectrum-SideNav-itemLink').last().simulate('click');
- tree.update();
- assert(onSelect.calledOnce);
- });
- });
- });
-});
diff --git a/test/Slider/Slider.js b/test/Slider/Slider.js
deleted file mode 100644
index 3a8a520da3e..00000000000
--- a/test/Slider/Slider.js
+++ /dev/null
@@ -1,785 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import Slider from '../../src/Slider';
-
-describe('Slider', function () {
- const DAYS_OF_WEEK = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
-
- it('should render a basic slider', function () {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Slider');
- assert.equal(findTrack(tree).length, 2);
- assert.equal(findHandles(tree).length, 1);
- assert.equal(findInputs(tree).length, 1);
- assert.equal(tree.state('startValue'), 50);
- assert.equal(findInputs(tree).prop('value'), 50);
- assert.equal(findHandles(tree).prop('style').left, '50%');
- });
-
- it('should support setting a default value', function () {
- const tree = shallow( );
- assert.equal(tree.state('startValue'), 75);
- assert.equal(findInputs(tree).prop('value'), 75);
- assert.equal(findHandles(tree).prop('style').left, '75%');
- });
-
- it('should support setting a min and max value', function () {
- const tree = shallow( );
- assert.equal(tree.state('startValue'), 15);
- assert.equal(findInputs(tree).prop('value'), 15);
- assert.equal(findHandles(tree).prop('style').left, '50%');
-
- tree.setProps({
- min: -50,
- max: 50
- });
-
- tree.update();
-
- assert.equal(tree.state('startValue'), 0);
- assert.equal(findInputs(tree).prop('value'), 0);
- assert.equal(findHandles(tree).prop('style').left, '50%');
- });
-
- it('should support vertical orientation', function () {
- const tree = shallow( );
- assert.equal(tree.state('startValue'), 18);
- assert.equal(findInputs(tree).prop('value'), 18);
- assert.equal(findHandles(tree).prop('style').bottom, '80%');
- });
-
- it('should support drag and drop to set the slider value', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseMove({
- preventDefault() {},
- clientX: 80
- });
-
- assert.deepEqual(onChange.getCall(0).args[0], 60);
- assert.equal(tree.state('startValue'), 60);
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 60);
- });
-
- it('should support clicking on the track to set the value', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- assert.deepEqual(onChange.getCall(0).args[0], 60);
- assert.equal(tree.state('draggingHandle'), 'startHandle');
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 60);
- });
-
- it('should support drag and drop to set the slider value with step', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseMove({
- preventDefault() {},
- persist() {},
- clientX: 80
- });
-
- assert.deepEqual(onChange.getCall(0).args[0], 20);
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 20);
- });
-
- it('should support drag and drop to set the slider value in vertical orientation', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- top: 20,
- height: 100
- };
- }
- };
-
- tree.instance().onMouseMove({
- preventDefault() {},
- persist() {},
- clientY: 80
- });
-
- assert.deepEqual(onChange.getCall(0).args[0], 40);
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 40);
- });
-
- it('should not set state if value is controlled', function () {
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- assert.equal(tree.state('startValue'), 75);
- assert.equal(findInputs(tree).prop('value'), 75);
- });
-
- it('should stop dragging on mouse up', function () {
- const tree = shallow( );
- const dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- // Initial mouse down
- tree.instance().dom = dom;
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- assert.equal(tree.state('startValue'), 60);
- assert.equal(tree.state('draggingHandle'), 'startHandle');
-
- // Mouse move
- tree.instance().dom = dom;
- let event = new window.MouseEvent('mousemove', {
- persist() {},
- clientX: 90
- });
-
- window.dispatchEvent(event);
- assert.equal(tree.state('startValue'), 70);
-
- // Mouse up
- event = new window.MouseEvent('mouseup', {
- persist() {}
- });
- window.dispatchEvent(event);
- assert.equal(tree.state('draggingHandle'), null);
-
- tree.update();
-
- assert.equal(findInputs(tree).prop('value'), 70);
- });
-
- it('should support range slider', function () {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Slider spectrum-Slider--range');
- assert.equal(findTrack(tree).length, 3);
- assert.equal(findHandles(tree).length, 2);
- assert.equal(findInputs(tree).length, 2);
- assert.equal(tree.state('startValue'), 0);
- assert.equal(tree.state('endValue'), 100);
- assert.equal(findStartHandleInput(tree).prop('value'), 0);
- assert.equal(findEndHandleInput(tree).prop('value'), 100);
- assert.equal(findStartHandleElement(tree).props.style.left, '0%');
- assert.equal(findEndHandleElement(tree).props.style.left, '100%');
- });
-
- it('should render a range slider with startValue and endValue', function () {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Slider spectrum-Slider--range');
- assert.equal(findTrack(tree).length, 3);
- assert.equal(findHandles(tree).length, 2);
- assert.equal(findInputs(tree).length, 2);
- assert.equal(tree.state('startValue'), 20);
- assert.equal(tree.state('endValue'), 60);
- assert.equal(findStartHandleInput(tree).prop('value'), 20);
- assert.equal(findEndHandleInput(tree).prop('value'), 60);
- assert.equal(findStartHandleElement(tree).props.style.left, '20%');
- assert.equal(findEndHandleElement(tree).props.style.left, '60%');
- });
-
- it('should not allow crossing of sliders for range slider', function () {
- const onChange = sinon.spy();
- const tree = shallow( );
- tree.setState({startValue: 70, endValue: 80, draggingHandle: 'endHandle'});
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- let innerTree = shallow(findEndHandleElement(tree));
- innerTree.simulate('mouseDown', {
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- // endHandle crossed startHandle each other 60<70
- assert.equal(tree.state('draggingHandle'), 'endHandle');
- assert(onChange.notCalled);
-
- // The value does not get updated
- assert.equal(tree.state('startValue'), 70);
- assert.equal(tree.state('endValue'), 80);
- assert.equal(findStartHandleInput(tree).prop('value'), 70);
- assert.equal(findEndHandleInput(tree).prop('value'), 80);
- });
-
- it('should not set state if values are controlled in range slider', function () {
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- let innerTree = shallow(findStartHandleElement(tree));
- innerTree.simulate('mouseDown', {
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- innerTree = shallow(findEndHandleElement(tree));
- innerTree.simulate('mouseDown', {
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 90
- });
-
-
- assert.equal(tree.state('startValue'), 10);
- assert.equal(tree.state('endValue'), 60);
-
- tree.update();
-
- assert.equal(findStartHandleInput(tree).prop('value'), 10);
- assert.equal(findEndHandleInput(tree).prop('value'), 60);
- });
-
- it('should set state if values are uncontrolled in range slider', function () {
- const tree = shallow( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- let innerTree = shallow(findStartHandleElement(tree));
- innerTree.simulate('mouseDown', {
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 60
- });
-
- assert.equal(tree.state('startValue'), 40);
-
- innerTree = shallow(findEndHandleElement(tree));
- innerTree.simulate('mouseDown', {
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 90
- });
- assert.equal(tree.state('endValue'), 70);
-
- tree.update();
-
- assert.equal(findStartHandleInput(tree).prop('value'), 40);
- assert.equal(findEndHandleInput(tree).prop('value'), 70);
-
- });
-
- it('should support disabled', function () {
- const tree = shallow( );
- assert(tree.hasClass('is-disabled'));
- assert.equal(findControls(tree).prop('onMouseDown'), null);
- assert.equal(findInputs(tree).prop('disabled'), true);
- });
-
- it('should support focus/blur states', function () {
- const tree = shallow( );
- findInputs(tree).simulate('focus');
- assert.equal(tree.state('focusedHandle'), 'startHandle');
- assert(findHandles(tree).hasClass('is-focused'));
-
- findInputs(tree).simulate('blur');
- assert(!tree.state('focusedHandle'));
- assert(!findHandles(tree).hasClass('is-focused'));
- });
-
- it('should support changing value via input element using keyboard or assitive technology', function () {
- const tree = mount( );
- tree.instance().dom.querySelector('input').value = 100;
- findStartHandleInput(tree).simulate('change');
- assert.equal(tree.state('startValue'), findStartHandleInput(tree).prop('value'));
- assert.equal(tree.state('startValue'), 100);
-
- tree.unmount();
- });
-
- it('should support filled variant', function () {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Slider-track').first().prop('style').width, '75%');
- });
-
- it('should update filled variant with offset correctly when value is to the right of offset', function () {
- let tree = shallow( );
- let fill = tree.find('.spectrum-Slider-fill');
- assert(fill.hasClass('spectrum-Slider-fill--right'));
- assert.equal(fill.prop('style').left, '50%');
- assert.equal(fill.prop('style').width, '25%');
- });
-
- it('should update filled variant with offset correctly when value is to the left of offset', function () {
- const tree = shallow( );
- let fill = tree.find('.spectrum-Slider-fill');
- assert(!fill.hasClass('spectrum-Slider-fill--right'));
- assert.equal(fill.prop('style').left, '25%');
- assert.equal(fill.prop('style').width, '25%');
- });
-
- it('should support ramp variant', function () {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Slider--ramp'));
- assert.equal(tree.find('.spectrum-Slider-ramp').length, 1);
- });
-
- it('should support adding label, hidden by default, but still accessible', function () {
- const labelString = 'Foo';
- const tree = shallow( );
- const id = tree.instance().sliderId;
-
- assert.equal(findLabel(tree).length, 1);
- assert.equal(findLabel(tree).text(), labelString);
-
- assert.equal(findValue(tree).length, 0);
-
- assert.equal(findInputs(tree).prop('id'), id);
- assert.equal(findInputs(tree).prop('aria-labelledby'), findLabel(tree).prop('id'));
- });
-
- it('should support adding label and aria-labelledby, hidden by default, but still accessible', function () {
- const labelString = 'Foo';
- const ariaLabelledbyString = 'barId';
- const tree = shallow( );
- const id = tree.instance().sliderId;
- const labelId = tree.instance().getLabelId();
-
- assert.equal(findLabel(tree).prop('htmlFor'), id);
- assert.equal(findLabel(tree).prop('id'), labelId);
- assert.equal(findLabel(tree).text(), labelString);
- assert.equal(findLabel(tree).prop('hidden'), true);
-
- assert.equal(findValue(tree).length, 0);
-
- assert.equal(findInputs(tree).prop('id'), id);
- assert.equal(findInputs(tree).prop('aria-label'), null);
- assert.equal(findInputs(tree).prop('aria-labelledby'), `${ariaLabelledbyString} ${labelId}`);
- });
-
- it('should support adding label and aria-labelledby with renderLabel', function () {
- const labelString = 'Foo';
- const ariaLabelledbyString = 'barId';
- const tree = shallow( );
- const id = tree.instance().sliderId;
- const labelId = tree.instance().getLabelId();
-
- assert.equal(findLabel(tree).prop('htmlFor'), id);
- assert.equal(findLabel(tree).prop('id'), labelId);
- assert.equal(findLabel(tree).text(), labelString);
- assert.equal(findLabel(tree).prop('hidden'), null);
-
- assert.equal(findValue(tree).prop('aria-labelledby'), `${ariaLabelledbyString} ${labelId}`);
- assert.equal(findValue(tree).prop('role'), 'textbox');
- assert.equal(findValue(tree).prop('aria-readonly'), 'true');
- assert.equal(findValue(tree).text(), 50);
-
- assert.equal(findInputs(tree).prop('id'), id);
- assert.equal(findInputs(tree).prop('aria-label'), null);
- assert.equal(findInputs(tree).prop('aria-labelledby'), `${ariaLabelledbyString} ${labelId}`);
- });
-
- it('should submit values when stopped dragging', function () {
- let onChangeEnd = sinon.spy();
- let tree = shallow( );
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- let innerTree = shallow(tree.find('.spectrum-Slider-handle').getElements()[0]);
- innerTree.simulate('mouseDown', {
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- assert.equal(tree.state('startValue'), 60);
- assert.equal(tree.state('draggingHandle'), 'startHandle');
-
- // Dragging the mouse
- let event = new window.MouseEvent('mousemove', {
- persist() {},
- clientX: 90
- });
-
- window.dispatchEvent(event);
- assert.equal(tree.state('startValue'), 70);
-
- // Mouse up
- event = new window.MouseEvent('mouseup', {
- persist() {}
- });
- window.dispatchEvent(event);
- assert.equal(tree.state('draggingHandle'), null);
- assert(onChangeEnd.called);
-
- onChangeEnd = sinon.spy();
- tree = shallow( );
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- }, 'startHandle');
-
- assert.equal(tree.state('startValue'), 60);
- assert.equal(tree.state('draggingHandle'), 'startHandle');
-
- // Dragging the mouse
- event = new window.MouseEvent('mousemove', {
- persist() {},
- clientX: 90
- });
-
- window.dispatchEvent(event);
- assert.equal(tree.state('startValue'), 70);
-
- // Mouse up
- event = new window.MouseEvent('mouseup', {
- persist() {}
- });
- window.dispatchEvent(event);
- assert.equal(tree.state('draggingHandle'), null);
- assert(onChangeEnd.called);
- });
-
- it('should set focus to input on mousedown', function () {
- const tree = mount( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- assert.equal(tree.instance().startHandleInput, document.activeElement);
-
- tree.unmount();
- });
-
- it('should set focus to input on mouseup', function () {
- const tree = mount( );
-
- tree.instance().dom = {
- getBoundingClientRect() {
- return {
- left: 20,
- width: 100
- };
- }
- };
-
- tree.instance().onMouseDown({
- preventDefault() {},
- stopPropagation() {},
- persist() {},
- clientX: 80
- });
-
- tree.instance().onMouseUp({
- preventDefault() {},
- persist() {},
- clientX: 80
- });
-
- assert.equal(tree.instance().startHandleInput, document.activeElement);
-
- tree.unmount();
- });
-
- it('should support getAriaValueText', () => {
- const tree = shallow( DAYS_OF_WEEK[value]} label="Day of Week" renderLabel />);
- assert.equal(findStartHandleInput(tree).prop('aria-valuetext'), 'Tuesday');
- assert.equal(findValue(tree).text(), 'Tuesday');
- tree.setProps({defaultValue: 5});
- assert.equal(findStartHandleInput(tree).prop('aria-valuetext'), 'Friday');
- assert.equal(findValue(tree).text(), 'Friday');
- });
-
- describe('Range slider', () => {
- it('should support clicking on the track to set the value of closest handle', () => {
- const tree = mount( );
- sinon.stub(tree.instance().dom, 'getBoundingClientRect').callsFake(() => ({
- top: 0,
- left: 20,
- width: 100,
- height: 32
- }));
-
- sinon.stub(tree.instance().startHandleInput, 'getBoundingClientRect').callsFake(() => ({
- top: 10,
- left: 34,
- width: 12,
- height: 12
- }));
-
- sinon.stub(tree.instance().endHandleInput, 'getBoundingClientRect').callsFake(() => ({
- top: 10,
- left: 74,
- width: 12,
- height: 12
- }));
-
- findControls(tree).simulate('mouseDown', {
- preventDefault() {},
- clientX: 70,
- clientY: 16,
- pageX: 70,
- pageY: 16
- });
-
- tree.update();
-
- assert.equal(tree.state('endValue'), 50);
- assert.equal(findEndHandleInput(tree).prop('value'), 50);
- assert.equal(tree.instance().endHandleInput, document.activeElement);
-
- tree.unmount();
- });
-
- it('should support changing value via input element using keyboard or assitive technology', function () {
- const tree = mount( );
- findEndHandleInput(tree).getDOMNode().value = 80;
- findEndHandleInput(tree).simulate('change');
- assert.equal(tree.state('endValue'), findEndHandleInput(tree).prop('value'));
- assert.equal(tree.state('endValue'), 80);
-
- tree.unmount();
- });
-
- it('should support setting a min and max value', function () {
- const tree = shallow( );
- assert.equal(tree.state('startValue'), 10);
- assert.equal(findStartHandle(tree).prop('style').left, '0%');
- assert.equal(findStartHandleInput(tree).prop('value'), 10);
- assert.equal(tree.state('endValue'), 20);
- assert.equal(findEndHandle(tree).prop('style').left, '100%');
- assert.equal(findEndHandleInput(tree).prop('value'), 20);
-
- tree.setProps({
- min: -50,
- max: 50
- });
-
- tree.update();
-
- assert.equal(tree.state('startValue'), -50);
- assert.equal(findStartHandle(tree).prop('style').left, '0%');
- assert.equal(findStartHandleInput(tree).prop('value'), -50);
- assert.equal(tree.state('endValue'), 50);
- assert.equal(findEndHandle(tree).prop('style').left, '100%');
- assert.equal(findEndHandleInput(tree).prop('value'), 50);
- });
-
- it('should support clicking on value label to focus appropriate slider input', () => {
- const tree = mount( );
-
- // fake window.getSelection
- let focusOffset = 4;
- window.getSelection = () => ({focusOffset});
-
- // Test clicking on startValue
- focusOffset = 2;
- findValue(tree).simulate('click');
- assert.equal(tree.instance().startHandleInput, document.activeElement);
-
- // Test clicking on endValue
- focusOffset = 4;
- findValue(tree).simulate('click');
- assert.equal(tree.instance().endHandleInput, document.activeElement);
-
- document.activeElement.blur();
-
- // Clicking value label should do nothing if control is disabled
- tree.setProps({disabled: true});
-
- findValue(tree).simulate('click');
- assert.notEqual(tree.instance().endHandleInput, document.activeElement);
-
- tree.unmount();
- });
-
- it('should support aria-label on min and max inputs', () => {
- const tree = shallow( );
-
- assert.equal(findLabel(tree).prop('aria-label'), 'Range');
- assert.equal(findStartHandleInput(tree).prop('aria-label'), 'Minimum');
- assert.equal(findEndHandleInput(tree).prop('aria-label'), 'Maximum');
- assert.equal(tree.prop('aria-labelledby'), findLabel(tree).prop('id'));
- assert.equal(findStartHandleInput(tree).prop('aria-labelledby'),
- `${findLabel(tree).prop('id')} ${findStartHandleInput(tree).prop('id')}`);
- assert.equal(findEndHandleInput(tree).prop('aria-labelledby'),
- `${findLabel(tree).prop('id')} ${findEndHandleInput(tree).prop('id')}`);
- });
-
- it('should support label on min and max inputs', () => {
- const tree = shallow( );
- assert.equal(findLabel(tree).text(), 'Range');
- assert.equal(findStartHandleInput(tree).prop('aria-label'), 'Minimum');
- assert.equal(findEndHandleInput(tree).prop('aria-label'), 'Maximum');
- assert.equal(tree.prop('aria-labelledby'), findLabel(tree).prop('id'));
- assert.equal(findStartHandleInput(tree).prop('aria-labelledby'),
- `${findLabel(tree).prop('id')} ${findStartHandleInput(tree).prop('id')}`);
- assert.equal(findEndHandleInput(tree).prop('aria-labelledby'),
- `${findLabel(tree).prop('id')} ${findEndHandleInput(tree).prop('id')}`);
-
- });
-
- it('should support getAriaValueText', () => {
- const tree = shallow( DAYS_OF_WEEK[value]} variant="range" label="Days" renderLabel />);
- assert.equal(findStartHandleInput(tree).prop('aria-valuetext'), 'Tuesday');
- assert.equal(findEndHandleInput(tree).prop('aria-valuetext'), 'Thursday');
- assert.equal(findValue(tree).text(), 'Tuesday–Thursday');
- tree.setProps({defaultStartValue: 1, defaultEndValue: 5});
- assert.equal(findStartHandleInput(tree).prop('aria-valuetext'), 'Monday');
- assert.equal(findEndHandleInput(tree).prop('aria-valuetext'), 'Friday');
- assert.equal(findValue(tree).text(), 'Monday–Friday');
- });
- });
-});
-
-const findLabel = tree => tree.find('.spectrum-Slider-label');
-const findValue = tree => tree.find('.spectrum-Slider-value');
-const findControls = tree => tree.find('.spectrum-Slider-controls');
-const findTrack = tree => tree.find('.spectrum-Slider-track');
-const findHandles = tree => tree.find('.spectrum-Slider-handle');
-const findStartHandle = tree => findHandles(tree).first();
-const findEndHandle = tree => findHandles(tree).last();
-const findStartHandleElement = tree => findStartHandle(tree).getElements()[0];
-const findEndHandleElement = tree => findEndHandle(tree).getElements()[0];
-const findInputs = tree => tree.find('.spectrum-Slider-input');
-const findStartHandleInput = tree => findInputs(tree).first();
-const findEndHandleInput = tree => findInputs(tree).last();
diff --git a/test/SplitButton/SplitButton.js b/test/SplitButton/SplitButton.js
deleted file mode 100644
index 8277a607a42..00000000000
--- a/test/SplitButton/SplitButton.js
+++ /dev/null
@@ -1,146 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Button from '../../src/Button';
-import Dropdown from '../../src/Dropdown';
-import {MenuItem} from '../../src/Menu';
-import {mount} from 'enzyme';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import sinon from 'sinon';
-import SplitButton from '../../src/SplitButton';
-
-describe('SplitButton', () => {
- let wrapper;
- const clickHandler = sinon.spy();
- const selectHandler = sinon.spy();
- const render = (props = {}) => mount(
-
-
- Twitter
-
-
- Facebook
-
-
- Instagram
-
-
- );
- beforeEach(() => {
- clickHandler.resetHistory();
- selectHandler.resetHistory();
- });
- afterEach(() => {
- wrapper.unmount();
- });
- it('renders a default', function () {
- wrapper = render();
- const buttons = wrapper.find(Button);
- const dropdown = wrapper.find(Dropdown);
-
- assert.equal(buttons.length, 2);
- assert.equal(dropdown.length, 1);
-
- assert(wrapper.childAt(0).hasClass('spectrum-SplitButton'));
- assert(buttons.first().hasClass('spectrum-SplitButton-action'));
- assert(buttons.last().hasClass('spectrum-SplitButton-trigger'));
- });
-
- it('has appropriate WAI-ARIA props to label group and buttons', () => {
- wrapper = render();
- const buttons = wrapper.find(Button);
- const dropdown = wrapper.find(Dropdown);
-
- assert.equal(buttons.length, 2);
- assert.equal(dropdown.length, 1);
-
- assert.equal(wrapper.childAt(0).prop('role'), 'group');
- assert.equal(wrapper.childAt(0).prop('aria-labelledby'), buttons.first().prop('id'));
- assert.equal(buttons.last().prop('aria-labelledby'), buttons.first().prop('id'));
- assert.equal(buttons.last().prop('aria-haspopup'), 'true');
- });
-
- it('action button triggers click event', () => {
- const onOpen = sinon.spy();
- wrapper = render({onOpen});
- const buttons = wrapper.find(Button);
- buttons.first().simulate('click');
- assert(!onOpen.called);
- assert(clickHandler.called);
- });
-
- it('toggles menu when trigger button is clicked', () => {
- const onOpen = sinon.spy();
- const onClose = sinon.spy();
- wrapper = render({onOpen, onClose});
- const buttons = wrapper.find(Button);
- buttons.last().simulate('click');
- assert(onOpen.called);
- assert.equal(buttons.last().getDOMNode().getAttribute('aria-expanded'), 'true');
- buttons.last().simulate('click');
- assert(onClose.called);
- assert(!buttons.last().getDOMNode().getAttribute('aria-expanded'));
- });
-
- it('keydown event with \'ArrowDown\' or \'down\' expands menu', () => {
- const onOpen = sinon.spy();
- const onClose = sinon.spy();
- const onKeyDown = sinon.spy();
- wrapper = render({onOpen, onClose});
- const buttons = wrapper.find(Button);
- buttons.first().getDOMNode().focus();
- wrapper.childAt(0).simulate('keydown', {target: buttons.first().getDOMNode(), key: 'ArrowDown', altKey: true});
- assert(onOpen.called);
- assert.equal(buttons.last().getDOMNode().getAttribute('aria-expanded'), 'true');
- // close by clicking on last button element
- buttons.last().simulate('click');
- assert(onClose.called);
- assert(!buttons.last().getDOMNode().getAttribute('aria-expanded'));
-
- onOpen.resetHistory();
- onClose.resetHistory();
-
- wrapper.setProps({onKeyDown});
-
- buttons.first().getDOMNode().focus();
- wrapper.childAt(0).simulate('keydown', {target: buttons.first().getDOMNode(), key: 'ArrowDown'});
- assert(onKeyDown.called);
- assert(!onOpen.called);
- assert(!buttons.last().getDOMNode().getAttribute('aria-expanded'));
-
- onKeyDown.resetHistory();
- onOpen.resetHistory();
- onClose.resetHistory();
-
- buttons.last().getDOMNode().focus();
- wrapper.childAt(0).simulate('keydown', {target: buttons.last().getDOMNode(), key: 'Down'});
- assert(onKeyDown.called);
- assert(onOpen.called);
- assert.equal(buttons.last().getDOMNode().getAttribute('aria-expanded'), 'true');
- // close by calling hide on overlayTrigger
- wrapper.instance().dropdownRef.overlayTrigger.hide();
- assert(onClose.called);
- assert(!buttons.last().getDOMNode().getAttribute('aria-expanded'));
- });
-});
diff --git a/test/SplitView/SplitView.js b/test/SplitView/SplitView.js
deleted file mode 100644
index fb54797b728..00000000000
--- a/test/SplitView/SplitView.js
+++ /dev/null
@@ -1,771 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import SplitView from '../../src/SplitView';
-
-describe('SplitView', function () {
- // Stub offsetWidth/offsetHeight so we can calculate min/max sizes correctly
- let stub1, stub2;
- before(function () {
- stub1 = sinon.stub(window.HTMLElement.prototype, 'offsetWidth').get(() => 1000);
- stub2 = sinon.stub(window.HTMLElement.prototype, 'offsetHeight').get(() => 1000);
- });
-
- after(function () {
- stub1.restore();
- stub2.restore();
- });
-
- afterEach(function () {
- document.body.style.cursor = '';
- });
-
- it('should render a basic split view', function () {
- let wrapper = shallow(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- assert.equal(wrapper.prop('className'), 'spectrum-SplitView spectrum-SplitView--horizontal');
- assert.equal(wrapper.find('.spectrum-SplitView-pane').length, 2);
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').length, 1);
- assert.equal(wrapper.find('.spectrum-SplitView-gripper').length, 1);
- assert.equal(wrapper.find('.spectrum-SplitView-pane').first().childAt(0).text(), 'Left');
- assert.equal(wrapper.find('.spectrum-SplitView-pane').last().childAt(0).text(), 'Right');
- assert.equal(wrapper.find('.spectrum-SplitView-pane').first().prop('style').width, 304);
-
- let id = wrapper.find('.spectrum-SplitView-pane').first().prop('id');
- assert(id);
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('aria-controls'), id);
- assert(wrapper.find('.spectrum-SplitView-splitter').hasClass('is-draggable'));
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('role'), 'separator');
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('tabIndex'), 0);
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('aria-valuemin'), 0);
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('aria-valuemax'), 100);
- });
-
- it('should render a non-resizable split view', function () {
- let wrapper = shallow(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- assert.equal(wrapper.find('.spectrum-SplitView-gripper').length, 0);
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('tabIndex'), null);
- assert(!wrapper.find('.spectrum-SplitView-splitter').hasClass('is-draggable'));
- });
-
- it('should render a split view with a primary pane on the right', function () {
- let wrapper = shallow(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- let id = wrapper.find('.spectrum-SplitView-pane').last().prop('id');
- assert(id);
- assert.equal(wrapper.find('.spectrum-SplitView-splitter').prop('aria-controls'), id);
- assert.equal(wrapper.find('.spectrum-SplitView-pane').last().prop('style').width, 304);
- });
-
- it('should render a vertical split view', function () {
- let wrapper = shallow(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- assert.equal(wrapper.prop('className'), 'spectrum-SplitView spectrum-SplitView--vertical');
- assert.equal(wrapper.find('.spectrum-SplitView-pane').first().prop('style').height, 304);
- });
-
- it('should set the default size from primaryDefault', function () {
- let wrapper = shallow(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- assert.equal(wrapper.find('.spectrum-SplitView-pane').first().prop('style').width, 50);
- });
-
- describe('primarySize', () => {
- let onResize;
- let wrapper;
- beforeEach(() => {
- onResize = sinon.spy();
- });
- afterEach(() => {
- wrapper.unmount();
- });
-
- it('should do nothing if zero and collapsible is false', function () {
- wrapper = mount(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- wrapper.setProps({primarySize: 0});
-
- assert(onResize.notCalled);
- });
-
- it('should place the divider at position 0 when mounted', function () {
- wrapper = mount(
-
- Left
- Right
- );
-
- assert.equal(wrapper.state('dividerPosition'), 0);
- });
-
- it('should not resize if primarySize does not update', function () {
- wrapper = mount(
-
- Left
- Right
- );
-
- wrapper.setProps({primaryMax: 999, primarySize: 350});
- assert(onResize.notCalled);
- });
-
- it('should resize when primarySize updates', function () {
- wrapper = mount(
-
- Left
- Right
- );
-
- wrapper.setProps({primarySize: 0});
- assert(onResize.calledOnce);
- });
-
- it('should not drag if primarySize is controlled', function () {
- let onMouseDown = sinon.spy();
- wrapper = mount(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- wrapper.simulate('mouseMove', {clientX: 0, clientY: 0});
- wrapper.simulate('mouseDown', {clientX: 0, clientY: 0});
- assert(onMouseDown.called);
- assert.equal(wrapper.state('dragging'), false);
- });
- });
-
- function testCursor(props, clientX, clientY, cursor) {
- let tree = mount(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- assert.equal(document.body.style.cursor, '');
-
- tree.simulate('mouseMove', {clientX, clientY});
- assert.equal(document.body.style.cursor, cursor);
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-hovered'));
-
- tree.simulate('mouseLeave');
- assert(!tree.find('.spectrum-SplitView-splitter').hasClass('is-hovered'));
- assert.equal(document.body.style.cursor, '');
-
- tree.unmount();
- }
-
- describe('horizontal cursors', function () {
- it('should set the cursor to e-resize when hovering over the splitter at the minimum', function () {
- testCursor({}, 304, 0, 'e-resize');
- });
-
- it('should set the cursor to ew-resize when hovering over the splitter in the middle', function () {
- testCursor({primaryMin: 50}, 304, 0, 'ew-resize');
- });
-
- it('should set the cursor to w-resize when hovering over the splitter at the maximum', function () {
- testCursor({primaryDefault: 100, primaryMin: 50, primaryMax: 100}, 100, 0, 'w-resize');
- });
-
- it('should set the cursor to w-resize when hovering over the splitter at the minimum with primaryPane = 1', function () {
- testCursor({primaryPane: 1}, 1000 - 304, 0, 'w-resize');
- });
-
- it('should set the cursor to ew-resize when hovering over the splitter in the middle with primaryPane = 1', function () {
- testCursor({primaryPane: 1, primaryMin: 50}, 1000 - 304, 0, 'ew-resize');
- });
-
- it('should set the cursor to e-resize when hovering over the splitter at the maximum with primaryPane = 1', function () {
- testCursor({primaryPane: 1, primaryDefault: 100, primaryMin: 50, primaryMax: 100}, 1000 - 100, 0, 'e-resize');
- });
- });
-
- describe('vertical cursors', function () {
- it('should set the cursor to s-resize when hovering over the splitter at the minimum', function () {
- testCursor({orientation: 'vertical'}, 0, 304, 's-resize');
- });
-
- it('should set the cursor to ns-resize when hovering over the splitter in the middle', function () {
- testCursor({orientation: 'vertical', primaryMin: 50}, 0, 304, 'ns-resize');
- });
-
- it('should set the cursor to n-resize when hovering over the splitter at the maximum', function () {
- testCursor({orientation: 'vertical', primaryDefault: 100, primaryMin: 50, primaryMax: 100}, 0, 100, 'n-resize');
- });
-
- it('should set the cursor to n-resize when hovering over the splitter at the minimum with primaryPane = 1', function () {
- testCursor({orientation: 'vertical', primaryPane: 1}, 0, 1000 - 304, 'n-resize');
- });
-
- it('should set the cursor to ns-resize when hovering over the splitter in the middle with primaryPane = 1', function () {
- testCursor({orientation: 'vertical', primaryPane: 1, primaryMin: 50}, 0, 1000 - 304, 'ns-resize');
- });
-
- it('should set the cursor to s-resize when hovering over the splitter at the maximum with primaryPane = 1', function () {
- testCursor({orientation: 'vertical', primaryPane: 1, primaryDefault: 100, primaryMin: 50, primaryMax: 100}, 0, 1000 - 100, 's-resize');
- });
- });
-
- function fireMouseEvent(type, props) {
- let event = new window.MouseEvent(type, {
- bubbles: true,
- cancelable: true,
- ...props
- });
-
- window.dispatchEvent(event);
- }
-
- function testDragging(opts) {
- let onMouseDown = sinon.spy();
- let onResize = sinon.spy();
- let onResizeEnd = sinon.spy();
- let tree = mount(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- // simulate mouse move over diveder, then mouse down on it
- tree.simulate('mouseMove', {clientX: opts.startClientX || 304, clientY: opts.startClientY || 304});
- tree.simulate('mouseDown', {clientX: opts.startClientX || 304, clientY: opts.startClientY || 304});
-
- // check that the splitter is now active, and the cursor is set
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-active'));
- assert.equal(document.body.style.cursor, opts.startCursor);
-
- // fire mouse move
- fireMouseEvent('mousemove', {clientX: opts.endClientX || 304, clientY: opts.endClientY || 304});
-
- // check that mouseDown was called
- assert(onMouseDown.called);
-
- // check that onResize was called
- assert(onResize.calledOnce);
- assert(!onResizeEnd.called);
- assert.equal(onResize.lastCall.args[0], opts.width != null ? opts.width : opts.height);
-
- // check that width/height updated correctly
- tree.update();
- if (opts.width != null) {
- assert.equal(tree.find('.spectrum-SplitView-pane[id]').prop('style').width, opts.width);
- }
-
- if (opts.height != null) {
- assert.equal(tree.find('.spectrum-SplitView-pane[id]').prop('style').height, opts.height);
- }
-
- // check that the cursor changed
- assert.equal(document.body.style.cursor, opts.endCursor);
-
- // custom test
- if (opts.test) {
- opts.test(tree);
- }
-
- // cire mouse up, and check that splitter is no longer active
- fireMouseEvent('mouseup', {clientX: opts.endClientX || 0, clientY: opts.endClientY || 0});
-
- // check that onResizeEnd was called
- assert(onResizeEnd.called);
- assert.equal(onResizeEnd.lastCall.args[0], opts.width != null ? opts.width : opts.height);
-
- tree.update();
- assert(!tree.find('.spectrum-SplitView-splitter').hasClass('is-active'));
-
- tree.unmount();
- }
-
- describe('horizontal dragging', function () {
- it('should support dragging the splitter', function () {
- testDragging({
- endClientX: 400,
- startCursor: 'e-resize',
- endCursor: 'ew-resize',
- width: 400
- });
- });
-
- it('should stop dragging at the minimum', function () {
- testDragging({
- props: {primaryMin: 100},
- endClientX: 50,
- startCursor: 'ew-resize',
- endCursor: 'e-resize',
- width: 100
- });
- });
-
- it('should stop dragging at the maximum', function () {
- testDragging({
- props: {primaryMax: 500},
- endClientX: 600,
- startCursor: 'e-resize',
- endCursor: 'w-resize',
- width: 500
- });
- });
-
- it('should stop snap to zero when collapsible', function () {
- testDragging({
- props: {primaryMin: 100, collapsible: true},
- endClientX: 80,
- startCursor: 'ew-resize',
- endCursor: 'e-resize',
- width: 100
- });
-
- testDragging({
- props: {primaryMin: 100, collapsible: true},
- endClientX: 40,
- startCursor: 'ew-resize',
- endCursor: 'e-resize',
- width: 0,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-start'));
- }
- });
- });
-
- it('should stop snap to zero when collapsible with primaryPane = 1', function () {
- testDragging({
- props: {primaryMin: 100, primaryPane: 1, collapsible: true},
- startClientX: 1000 - 304,
- endClientX: 1000 - 80,
- startCursor: 'ew-resize',
- endCursor: 'w-resize',
- width: 100
- });
-
- testDragging({
- props: {primaryMin: 100, primaryPane: 1, collapsible: true},
- startClientX: 1000 - 304,
- endClientX: 1000 - 40,
- startCursor: 'ew-resize',
- endCursor: 'w-resize',
- width: 0,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-end'));
- }
- });
- });
- });
-
- describe('vertical dragging', function () {
- it('should support dragging the splitter', function () {
- testDragging({
- props: {orientation: 'vertical'},
- endClientY: 400,
- startCursor: 's-resize',
- endCursor: 'ns-resize',
- height: 400
- });
- });
-
- it('should stop dragging at the minimum', function () {
- testDragging({
- props: {orientation: 'vertical', primaryMin: 100},
- endClientY: 50,
- startCursor: 'ns-resize',
- endCursor: 's-resize',
- height: 100
- });
- });
-
- it('should stop dragging at the maximum', function () {
- testDragging({
- props: {orientation: 'vertical', primaryMax: 500},
- endClientY: 600,
- startCursor: 's-resize',
- endCursor: 'n-resize',
- height: 500
- });
- });
-
- it('should stop snap to zero when collapsible', function () {
- testDragging({
- props: {orientation: 'vertical', primaryMin: 100, collapsible: true},
- endClientY: 80,
- startCursor: 'ns-resize',
- endCursor: 's-resize',
- height: 100
- });
-
- testDragging({
- props: {orientation: 'vertical', primaryMin: 100, collapsible: true},
- endClientY: 40,
- startCursor: 'ns-resize',
- endCursor: 's-resize',
- height: 0,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-start'));
- }
- });
- });
-
- it('should stop snap to zero when collapsible with primaryPane = 1', function () {
- testDragging({
- props: {orientation: 'vertical', primaryMin: 100, primaryPane: 1, collapsible: true},
- startClientY: 1000 - 304,
- endClientY: 1000 - 80,
- startCursor: 'ns-resize',
- endCursor: 'n-resize',
- height: 100
- });
-
- testDragging({
- props: {orientation: 'vertical', primaryMin: 100, primaryPane: 1, collapsible: true},
- startClientY: 1000 - 304,
- endClientY: 1000 - 40,
- startCursor: 'ns-resize',
- endCursor: 'n-resize',
- height: 0,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-end'));
- }
- });
- });
- });
-
- describe('keyboard interactions', function () {
- function testKeyboard(opts) {
- let onResize = sinon.spy();
- let onResizeEnd = sinon.spy();
- let tree = mount(
-
- Left
- Right
-
- , {disableLifecycleMethods: true});
-
- if (opts.setup) {
- opts.setup(tree);
- }
-
- onResize.resetHistory();
- onResizeEnd.resetHistory();
-
- tree.find('.spectrum-SplitView-splitter').simulate('keyDown', {key: opts.key});
-
- if (opts.width != null) {
- assert.equal(tree.find('.spectrum-SplitView-pane[id]').prop('style').width, opts.width);
- }
-
- if (opts.height != null) {
- assert.equal(tree.find('.spectrum-SplitView-pane[id]').prop('style').height, opts.height);
- }
-
- if (opts.shouldResize) {
- assert(onResize.calledOnce);
- assert.equal(onResize.lastCall.args[0], opts.width != null ? opts.width : opts.height);
- assert(onResizeEnd.calledOnce);
- assert.equal(onResizeEnd.lastCall.args[0], opts.width != null ? opts.width : opts.height);
- } else {
- assert(onResize.notCalled);
- assert(onResizeEnd.notCalled);
- }
-
- if (opts.test) {
- opts.test(tree);
- }
-
- tree.unmount();
- }
-
- describe('ArrowLeft', function () {
- it('should move the splitter to the left when pressing the left arrow key', function () {
- testKeyboard({
- props: {primaryMin: 50},
- key: 'ArrowLeft',
- width: 294,
- shouldResize: true
- });
- });
-
- it('should move the splitter to the left when pressing the left arrow key with primaryPane = 1', function () {
- testKeyboard({
- props: {primaryPane: 1},
- key: 'ArrowLeft',
- width: 314,
- shouldResize: true
- });
- });
-
- it('should not move to the left beyond the minimum', function () {
- testKeyboard({
- key: 'ArrowLeft',
- width: 304
- });
- });
-
- it('should not move to the left when orientation is vertical', function () {
- testKeyboard({
- props: {primaryMin: 50, orientation: 'vertical'},
- key: 'ArrowLeft',
- height: 304
- });
- });
- });
-
- describe('ArrowRight', function () {
- it('should move the splitter to the right when pressing the right arrow key', function () {
- testKeyboard({
- key: 'ArrowRight',
- width: 314,
- shouldResize: true
- });
- });
-
- it('should move the splitter to the right when pressing the right arrow key with primaryPane = 1', function () {
- testKeyboard({
- props: {primaryMin: 50, primaryPane: 1},
- key: 'ArrowRight',
- width: 294,
- shouldResize: true
- });
- });
-
- it('should not move to the right when orientation is vertical', function () {
- testKeyboard({
- props: {orientation: 'vertical'},
- key: 'ArrowRight',
- height: 304
- });
- });
- });
-
- describe('ArrowUp', function () {
- it('should move the splitter up when pressing the up arrow key', function () {
- testKeyboard({
- props: {primaryMin: 50, orientation: 'vertical'},
- key: 'ArrowUp',
- height: 294,
- shouldResize: true
- });
- });
-
- it('should move the splitter up when pressing the up arrow key with primaryPane = 1', function () {
- testKeyboard({
- props: {primaryPane: 1, orientation: 'vertical'},
- key: 'ArrowUp',
- height: 314,
- shouldResize: true
- });
- });
-
- it('should not move up beyond the minimum', function () {
- testKeyboard({
- props: {orientation: 'vertical'},
- key: 'ArrowUp',
- height: 304
- });
- });
-
- it('should not move up when orientation is horizontal', function () {
- testKeyboard({
- props: {primaryMin: 50, orientation: 'horizontal'},
- key: 'ArrowUp',
- width: 304
- });
- });
- });
-
- describe('ArrowDown', function () {
- it('should move the splitter down when pressing the down arrow key', function () {
- testKeyboard({
- props: {orientation: 'vertical'},
- key: 'ArrowDown',
- height: 314,
- shouldResize: true
- });
- });
-
- it('should move the splitter down when pressing the down arrow key with primaryPane = 1', function () {
- testKeyboard({
- props: {primaryMin: 50, primaryPane: 1, orientation: 'vertical'},
- key: 'ArrowDown',
- height: 294,
- shouldResize: true
- });
- });
-
- it('should not move down when orientation is horizontal', function () {
- testKeyboard({
- props: {orientation: 'horizontal'},
- key: 'ArrowDown',
- width: 304
- });
- });
- });
-
- describe('Home', function () {
- it('should move the splitter to the minimum when pressing the home key in horizontal orientation', function () {
- testKeyboard({
- props: {primaryMin: 50},
- key: 'Home',
- width: 50,
- shouldResize: true
- });
- });
-
- it('should move the splitter to the minimum when pressing the home key in vertical orientation', function () {
- testKeyboard({
- props: {primaryMin: 50, orientation: 'vertical'},
- key: 'Home',
- height: 50,
- shouldResize: true
- });
- });
- });
-
- describe('End', function () {
- it('should move the splitter to the maximum when pressing the end key in horizontal orientation', function () {
- testKeyboard({
- key: 'End',
- width: 1000 - 304,
- shouldResize: true
- });
- });
-
- it('should move the splitter to the maximum when pressing the end key in vertical orientation', function () {
- testKeyboard({
- props: {orientation: 'vertical'},
- key: 'End',
- height: 1000 - 304,
- shouldResize: true
- });
- });
- });
-
- describe('Enter', function () {
- it('should collapse the split view when pressing the enter key in horizontal orientation', function () {
- testKeyboard({
- props: {collapsible: true},
- key: 'Enter',
- width: 0,
- shouldResize: true,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-start'));
- }
- });
- });
-
- it('should collapse the split view when pressing the enter key in horizontal orientation with primaryPane = 1', function () {
- testKeyboard({
- props: {collapsible: true, primaryPane: 1},
- key: 'Enter',
- width: 0,
- shouldResize: true,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-end'));
- }
- });
- });
-
- it('should collapse the split view when pressing the enter key in vertical orientation', function () {
- testKeyboard({
- props: {collapsible: true, orientation: 'vertical'},
- key: 'Enter',
- height: 0,
- shouldResize: true,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-start'));
- }
- });
- });
-
- it('should collapse the split view when pressing the enter key in vertical orientation with primaryPane = 1', function () {
- testKeyboard({
- props: {collapsible: true, primaryPane: 1, orientation: 'vertical'},
- key: 'Enter',
- height: 0,
- shouldResize: true,
- test(tree) {
- assert(tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-end'));
- }
- });
- });
-
- it('should restore the split view to its prior position when pressing the enter key when already collapsed', function () {
- testKeyboard({
- props: {collapsible: true, primaryDefault: 500},
- setup(tree) {
- // collapse
- tree.find('.spectrum-SplitView-splitter').simulate('keyDown', {key: 'Enter'});
- },
- key: 'Enter',
- width: 500,
- shouldResize: true,
- test(tree) {
- assert(!tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-start'));
- }
- });
- });
-
- it('should restore the split view to the minimum position when pressing the enter key when collapsed by default', function () {
- testKeyboard({
- props: {collapsible: true, primaryDefault: 0},
- key: 'Enter',
- width: 304,
- shouldResize: true,
- test(tree) {
- assert(!tree.find('.spectrum-SplitView-splitter').hasClass('is-collapsed-start'));
- }
- });
- });
- });
- });
-});
diff --git a/test/StatusLight/StatusLight.js b/test/StatusLight/StatusLight.js
deleted file mode 100644
index c696f8b696d..00000000000
--- a/test/StatusLight/StatusLight.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import StatusLight from '../../src/StatusLight';
-
-describe('StatusLight', () => {
- it('supports variants', () => {
- const tree = shallow(Testing );
- assert(tree.hasClass('spectrum-StatusLight--celery'));
- });
-
- it('supports a disabled state', () => {
- const tree = shallow(Testing );
- assert(tree.hasClass('is-disabled'));
- });
-
- it('supports additional classNames', () => {
- const tree = shallow(Testing );
- assert(tree.hasClass('myClass'));
- });
-
- it('supports additional properties', () => {
- const tree = shallow(Testing );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(Testing );
- assert.equal(tree.childAt(0).text(), 'Testing');
- });
-});
diff --git a/test/StepList/StepList.js b/test/StepList/StepList.js
deleted file mode 100644
index a0ef34c493f..00000000000
--- a/test/StepList/StepList.js
+++ /dev/null
@@ -1,150 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-import {Step, StepList} from '../../src/StepList';
-
-describe('StepList', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- const innerTree = tree.dive().dive();
- assert.equal(tree.hasClass('spectrum-Steplist'), true);
- assert.equal(tree.hasClass('spectrum-Steplist--interactive'), true);
- assert.equal(innerTree.type(), 'div');
- assert.equal(innerTree.prop('role'), 'tablist');
- assert.equal(innerTree.prop('aria-multiselectable'), false);
- });
-
- it('should support size', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Steplist--small'), false);
-
- tree.setProps({size: 'S'});
- assert.equal(tree.hasClass('spectrum-Steplist--small'), true);
-
- tree.setProps({size: 'L'});
- assert.equal(tree.hasClass('spectrum-Steplist--small'), false);
- });
-
- it('should support interaction', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Steplist--interactive'), true);
-
- tree.setProps({interaction: 'off'});
- assert.equal(tree.hasClass('spectrum-Steplist--interactive'), false);
- });
-
- it('should pass the size property to the children', () => {
- // size="S"
- let tree = shallow(
-
- a
- b
-
- );
- let innerTree = tree.shallow();
- let child = innerTree.find('.two');
- assert.equal(child.prop('size'), 'S');
-
- // size="L"
- tree = shallow(
-
- a
- b
-
- );
- innerTree = tree.shallow();
- child = innerTree.find('.one');
- assert.equal(child.prop('size'), 'L');
- });
-
- it('should handle the complete prop for the children before selected', () => {
- const tree = shallow(
-
- a
- b
-
- );
- const innerTree = tree.shallow();
- let child = innerTree.find('.one');
- assert.equal(child.prop('complete'), true);
-
- child = innerTree.find('.two');
- assert.equal(child.prop('complete'), false);
- });
-
- it('should disable the steps when not interactive', () => {
- const spy = sinon.spy();
- const tree = shallow(
-
- a
- b
-
- );
- const innerTree = tree.shallow();
- const child = innerTree.find('.two');
- child.simulate('click');
-
- assert(!spy.called);
- });
-
- it('should support keyboardMode="manual', () => {
- const spy = sinon.spy();
- const keyDownSpy = sinon.spy();
- const tree = shallow(
-
- a
- b
-
- );
- const innerTree = tree.shallow();
- innerTree.find('.two').simulate('keydown', {key: 'Enter', preventDefault: () => {}});
- assert(spy.calledWith(1));
- innerTree.find('.one').simulate('keydown', {key: ' ', preventDefault: () => {}});
- assert(spy.calledWith(0));
- });
-
- describe('Step', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-Steplist-item'), true);
- assert.equal(tree.type(), 'div');
- assert.equal(tree.prop('role'), 'tab');
- assert.equal(tree.childAt(0).hasClass('spectrum-Steplist-label'), true);
- assert.equal(tree.childAt(1).hasClass('spectrum-Steplist-markerContainer'), true);
- assert.equal(tree.childAt(2).hasClass('spectrum-Steplist-segment'), true);
- tree.setProps({
- selected: true,
- complete: true
- });
- tree.update();
- assert.equal(tree.hasClass('is-selected'), true);
- assert.equal(tree.hasClass('is-complete'), true);
- assert.equal(tree.prop('aria-selected'), true);
- tree.setProps({
- selected: false,
- complete: false
- });
- assert.equal(tree.hasClass('is-selected'), false);
- assert.equal(tree.hasClass('is-complete'), false);
- assert.equal(tree.prop('aria-selected'), false);
- });
- });
-});
diff --git a/test/Switch/Switch.js b/test/Switch/Switch.js
deleted file mode 100644
index 8fe65016d6f..00000000000
--- a/test/Switch/Switch.js
+++ /dev/null
@@ -1,57 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Switch from '../../src/Switch';
-
-describe('Switch', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert.equal(tree.prop('inputType'), 'checkbox');
- assert.equal(tree.prop('className'), 'spectrum-ToggleSwitch');
- assert.equal(tree.prop('inputClassName'), 'spectrum-ToggleSwitch-input');
- assert.equal(tree.prop('markClassName'), 'spectrum-ToggleSwitch-switch');
- assert.equal(tree.prop('labelClassName'), 'spectrum-ToggleSwitch-label');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('foo'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('foo'), true);
- });
-
- it('supports ab variant', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-ToggleSwitch--ab'), true);
- });
-
- it('supports quiet', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-ToggleSwitch spectrum-ToggleSwitch--quiet');
- });
-
- it('has appropriate WAI-ARIA role for a switch', () => {
- const tree = shallow( );
- assert.equal(tree.prop('role'), 'switch');
- });
-});
diff --git a/test/Switch/SwitchBase.js b/test/Switch/SwitchBase.js
deleted file mode 100644
index f6b8e928639..00000000000
--- a/test/Switch/SwitchBase.js
+++ /dev/null
@@ -1,249 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import SwitchBase from '../../src/Switch/js/SwitchBase';
-
-describe('SwitchBase', () => {
- it('has correct defaults', () => {
- const tree = shallow(
-
- );
- assert.equal(tree.prop('className'), 'coral-Foo');
- const input = findInput(tree);
- assert.equal(input.prop('type'), 'bar');
- assert.equal(input.prop('className'), 'coral-Foo-input');
- expectChecked(tree, false);
- const checkmark = findCheckmark(tree, 'Foo');
- assert.equal(checkmark.prop('className'), 'coral-Foo-checkmark');
- const label = findLabel(tree, 'Foo');
- assert.equal(label.prop('className'), 'coral-Foo-description');
- assert.equal(label.children().text(), 'React');
- });
-
- it('uncontrolled switchBase will toggle', () => {
- const tree = shallow( );
- findInput(tree).simulate('change', {target: {checked: true}});
- expectChecked(tree, true);
- });
-
- it('controlled switchBase won\'t toggle', () => {
- const tree = shallow( );
- findInput(tree).simulate('change', {target: {checked: false}});
- expectChecked(tree, true);
- });
-
- it('supports defaultChecked and checked', () => {
- let tree = shallow( );
- expectChecked(tree, true);
- tree = shallow( );
- assert.equal(findInput(tree).prop('checked'), true);
- assert.equal(findInput(tree).prop('defaultChecked'), undefined);
- expectChecked(tree, true);
- });
-
- it('supports setting checked state through props', () => {
- let tree = shallow( );
- tree.setProps({checked: true});
- tree.update();
- assert.equal(tree.state('checked'), true);
- });
-
-
- it('supports name', () => {
- const tree = shallow( );
- assert.equal(findInput(tree).prop('name'), 'foo');
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert(!findInput(tree).prop('disabled'));
- tree.setProps({disabled: true});
- tree.update();
- assert.equal(findInput(tree).prop('disabled'), true);
- });
-
- it('supports required', () => {
- const tree = shallow( );
- assert(!findInput(tree).prop('required'));
- tree.setProps({required: true});
- tree.update();
- assert.equal(findInput(tree).prop('required'), true);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- assert(!findInput(tree).prop('readOnly'));
- tree.setProps({readOnly: true});
- tree.update();
- assert.equal(findInput(tree).prop('readOnly'), true);
- });
-
- it('supports invalid', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'is-invalid');
- assert.equal(findInput(tree).prop('aria-invalid'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(
-
- My Custom Content
-
- );
- const child = findLabel(tree);
- assert(child);
- assert.equal(child.childAt(0).text(), 'My Custom Content');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(findInput(tree).prop('aria-hidden'), true);
- });
-
- it('supports not rendering a label', () => {
- const tree = shallow(
-
- Switch Base
-
- );
- assert(!findLabel(tree).length);
- assert.equal(findInput(tree).prop('aria-label'), 'React Switch Base');
- tree.setProps({renderLabel: true});
- assert(findLabel(tree).length);
- assert(!findInput(tree).prop('aria-label'));
- assert.equal(findLabel(tree).text(), 'React Switch Base');
- });
-
- it('supports aria-label', () => {
- const tree = shallow(
-
- );
- assert(!findLabel(tree).length);
- assert.equal(findInput(tree).prop('aria-label'), 'React');
- });
-
- it('supports overriding the input className', () => {
- const tree = shallow( );
- const input = tree.find('.my-input-class');
- assert(input.getElement());
- assert.equal(input.type(), 'input');
- });
-
- it('supports overriding the mark className', () => {
- const tree = shallow( );
- const mark = tree.find('.my-mark-class');
- assert(mark.getElement());
- assert.equal(mark.type(), 'span');
- });
-
- it('supports overriding the label className', () => {
- const tree = shallow( );
- const mark = tree.find('.my-label-class');
- assert(mark.getElement());
- assert.equal(mark.type(), 'span');
- });
-
- describe('getInput', () => {
- it('returns ref for input element', () => {
- const tree = mount( );
- assert.equal(tree.instance().getInput(), findInput(tree).getDOMNode());
- });
- });
-
- describe('receives focus', () => {
- let tree;
- const focusSpy = sinon.spy();
- const mouseDownSpy = sinon.spy();
- const mouseUpSpy = sinon.spy();
-
- before(() => {
- tree = shallow( );
- tree.instance().inputRef = {
- focus: focusSpy
- };
- });
-
- afterEach(() => {
- focusSpy.resetHistory();
- mouseDownSpy.resetHistory();
- mouseUpSpy.resetHistory();
- });
-
- after(() => tree.unmount());
-
- it('on mouse down', () => {
- findInput(tree).simulate('mouseDown', {type: 'mousedown'});
- assert.equal(focusSpy.callCount, 1);
- focusSpy.resetHistory();
- tree.setProps({onMouseDown: e => mouseDownSpy(e)});
- findInput(tree).simulate('mouseDown', {type: 'mousedown', isDefaultPrevented: () => true});
- findInput(tree).simulate('mouseUp', {type: 'mouseup'});
- assert.equal(focusSpy.callCount, 0);
- assert.equal(mouseDownSpy.callCount, 1);
- focusSpy.resetHistory();
- mouseDownSpy.resetHistory();
- tree.setProps({onMouseDown: e => mouseDownSpy(e)});
- findInput(tree).simulate('mouseDown', {type: 'mousedown', isDefaultPrevented: () => false});
- assert.equal(focusSpy.callCount, 1);
- assert.equal(mouseDownSpy.callCount, 1);
- });
-
- it('on mouse up', () => {
- findInput(tree).simulate('mouseUp', {type: 'mouseup'});
- assert.equal(focusSpy.callCount, 1);
- focusSpy.resetHistory();
- tree.setProps({onMouseUp: e => mouseUpSpy(e)});
- findInput(tree).simulate('mouseUp', {type: 'mouseup', isDefaultPrevented: () => true});
- assert.equal(focusSpy.callCount, 0);
- assert.equal(mouseUpSpy.callCount, 1);
- focusSpy.resetHistory();
- mouseUpSpy.resetHistory();
- tree.setProps({onMouseUp: e => mouseUpSpy(e)});
- findInput(tree).simulate('mouseUp', {type: 'mouseup', isDefaultPrevented: () => false});
- assert.equal(focusSpy.callCount, 1);
- assert.equal(mouseUpSpy.callCount, 1);
- });
- });
-});
-
-const findInput = tree => tree.find('input');
-const findCheckmark = (tree) => tree.find('.coral-Foo-checkmark');
-const findLabel = (tree) => tree.find('.coral-Foo-description');
-
-const expectChecked = (tree, checked) => {
- assert.equal(findInput(tree).prop('checked'), checked);
-};
diff --git a/test/TabList/Tab.js b/test/TabList/Tab.js
deleted file mode 100644
index f926b7ee4c9..00000000000
--- a/test/TabList/Tab.js
+++ /dev/null
@@ -1,99 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import AddIcon from '../../src/Icon/Add';
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {Tab} from '../../src/TabList';
-
-describe('Tab', () => {
- it('has correct defaults', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Tabs-item');
- assert.equal(tree.prop('role'), 'tab');
- assert.equal(tree.prop('aria-invalid'), null);
- assert.equal(tree.prop('aria-disabled'), null);
- assert.equal(tree.prop('aria-selected'), false);
- });
-
- it('supports selected', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('is-selected'), true);
- assert.equal(tree.prop('aria-selected'), true);
- });
-
- it('support invalid', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('is-invalid'), true);
- assert.equal(tree.prop('aria-invalid'), true);
- });
-
- it('supports icon', () => {
- const tree = mount( } />);
- const child = tree.find(AddIcon);
- assert.equal(child.length, 1);
-
- tree.unmount();
- });
-
- it('supports onClick', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.simulate('click');
- assert(spy.called);
- });
-
- it('supports keyboard activation with Enter or Space ', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- tree.simulate('keypress', {key: 'Enter', preventDefault: () => {}});
- assert(spy.calledOnce);
- tree.simulate('keypress', {key: ' ', preventDefault: () => {}});
- assert(spy.calledTwice);
- });
-
- it('supports disabled', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.prop('aria-disabled'), true);
- assert.equal(tree.hasClass('is-disabled'), true);
- tree.simulate('click');
- assert(!spy.called);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('foo'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('stops from rendering the props.children as tab content if prop is set', () => {
- const tree = shallow(foo );
- assert(!tree.children().length);
- });
-
- it('renders the props.children as tab content if no label', () => {
- const tree = shallow(foo );
- assert.equal(tree.children().childAt(0).text(), 'foo');
- });
-});
diff --git a/test/TabList/TabList.js b/test/TabList/TabList.js
deleted file mode 100644
index 12055dcdf35..00000000000
--- a/test/TabList/TabList.js
+++ /dev/null
@@ -1,471 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {Tab, TabList} from '../../src/TabList';
-import Twitter from '../../src/Icon/Twitter';
-import * as utils from '../../src/TabList/js/getBoundingClientRect';
-
-describe('TabList', () => {
- it('has correct defaults', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- const innerTree = tree.dive().shallow();
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal');
- assert.equal(innerTree.type(), 'div');
- assert.equal(innerTree.prop('role'), 'tablist');
- });
-
- it('supports vertical orientation', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--vertical');
- });
-
- it('renders normally when anchored is passed', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal');
- });
-
- it('renders normally when panel is passed', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal');
- });
-
- it('renders compact when page is passed', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact');
- });
-
- it('supports compact variant', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--compact');
- });
-
- it('supports quiet variant', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--quiet');
- });
-
- it('supports quiet compact variant', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal spectrum-Tabs--quiet spectrum-Tabs--compact');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('className'), 'spectrum-Tabs spectrum-Tabs--horizontal myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow( , {disableLifecycleMethods: true});
- assert.equal(tree.prop('foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(My Custom Content
, {disableLifecycleMethods: true});
- const child = tree.find('.someContent');
- assert.equal(child.length, 1);
- assert.equal(child.children().text(), 'My Custom Content');
- });
-
- it('can be changed', () => {
- const spy = sinon.spy();
- const tree = shallow(
-
- a
- b
- , {disableLifecycleMethods: true}
- );
- const innerTree = tree.shallow();
-
- const child = innerTree.find('.two');
- child.simulate('click');
-
- assert(spy.calledWith(1));
- });
-
- describe('selectedKey', () => {
- const renderTabListWithSelectedIndex = index => shallow(
-
- a
- b
- , {disableLifecycleMethods: true}
- );
-
- const assertChildTwoSelected = tree => {
- const child = tree.find('[selected=true]');
- assert.equal(child.length, 1);
- assert.equal(child.prop('className'), 'two');
- };
-
- it('supports string index', () => {
- const tree = renderTabListWithSelectedIndex('1');
- const innerTree = tree.shallow();
- assertChildTwoSelected(innerTree);
- });
-
- it('supports integer index', () => {
- const tree = renderTabListWithSelectedIndex(1);
- const innerTree = tree.shallow();
- assertChildTwoSelected(innerTree);
- });
- });
-
- it('does not control state if selectedIndex is defined', () => {
- const onChange = sinon.spy();
-
- const tree = shallow(
-
- a
- b
- , {disableLifecycleMethods: true}
- );
-
- const innerTree = tree.shallow();
-
- const child = innerTree.find('.two');
- child.simulate('click');
-
- assert.equal(tree.prop('selectedIndex'), 0);
- assert.equal(tree.state('selectedIndex'), 0);
- });
-
- it('supports defaultSelectedIndex', () => {
- const tree = shallow(
-
- a
- b
- , {disableLifecycleMethods: true}
- );
- const innerTree = tree.shallow();
- const child = innerTree.find('[selected=true]');
-
- assert.equal(child.length, 1);
- assert.equal(child.prop('className'), 'two');
- });
-
- it('does not call onChange if descendant input is changed', () => {
- const onChange = sinon.spy();
-
- const tree = shallow(
-
- a
- , {disableLifecycleMethods: true}
- );
-
- tree.find('input').simulate('change');
-
- assert(!onChange.called);
- });
-
- it('supports mousedown/mouseup on child', () => {
- const focusSpy = sinon.spy();
- const mouseDownSpy = sinon.spy();
- const tree = shallow(
-
- a
- b
- , {disableLifecycleMethods: true}
- );
- const innerTree = tree.shallow();
-
- const child = innerTree.find('.two');
- child.simulate('mousedown', {currentTarget: {focus: focusSpy}});
- assert(mouseDownSpy.called);
- assert(focusSpy.called);
- assert(innerTree.instance().isMouseDown);
- let event = new window.MouseEvent('mouseup');
- window.dispatchEvent(event);
- assert(!innerTree.instance().isMouseDown);
- });
-
- it('supports onClick on child', () => {
- const keyDownSpy = sinon.spy();
- const focusSpy = sinon.spy();
- const spy = sinon.spy();
- const tree = shallow(
-
- a
- b
- , {disableLifecycleMethods: true}
- );
- const innerTree = tree.shallow();
-
- const child = innerTree.find('.two');
- child.simulate('click', {currentTarget: {focus: focusSpy}});
- assert(spy.called);
- });
- describe('mounted tests', () => {
- let tree;
- afterEach(() => {
- if (tree) {
- tree.unmount();
- tree = null;
- }
- });
- it('supports dynamic setting of props', () => {
- tree = mount(
-
- a
- b
-
- );
- tree.setProps({selectedIndex: 1});
- const child = tree.find('[selected=true]');
-
- assert.equal(child.length, 1);
- assert.notEqual(child.prop('className').indexOf('two'), -1);
- });
-
-
- it('supports selectedIndex by setting selected on child', () => {
- tree = mount(
-
- a
- b
-
- );
- const child = tree.find('[selected=true]');
- assert.equal(child.length, 1);
- assert.notEqual(child.prop('className').indexOf('two'), -1);
- });
-
- it('supports selection on focus when keyboardActivation="automatic"', () => {
- const focusSpy = sinon.spy();
- const keyDownSpy = sinon.spy();
- const keyUpSpy = sinon.spy();
- tree = mount(
-
- a
- b
-
- );
-
- let child1 = tree.find('.spectrum-Tabs-item.one');
- child1.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(keyDownSpy.args[0][0].key, 'ArrowRight');
-
- let child2 = tree.find('.spectrum-Tabs-item.two');
- child2.simulate('focus');
- assert(focusSpy.calledWith(1));
-
- child1.simulate('keyup', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(keyUpSpy.args[0][0].key, 'ArrowRight');
-
- tree.update();
-
- assert.equal(tree.state('selectedIndex'), 1);
-
- child2 = tree.find('[selected=true]');
- assert.notEqual(child2.prop('className').indexOf('two'), -1);
-
- focusSpy.resetHistory();
- keyDownSpy.resetHistory();
- keyUpSpy.resetHistory();
-
- child2 = tree.find('.spectrum-Tabs-item.two');
- child2.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(keyDownSpy.args[0][0].key, 'ArrowLeft');
-
- child1 = tree.find('.spectrum-Tabs-item.one');
- child1.simulate('focus');
- assert(focusSpy.calledWith(0));
-
- child2.simulate('keyup', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(keyUpSpy.args[0][0].key, 'ArrowLeft');
-
- tree.update();
-
- assert.equal(tree.state('selectedIndex'), 0);
-
- child1 = tree.find('[selected=true]');
- assert.notEqual(child1.prop('className').indexOf('one'), -1);
-
- tree.setProps({
- keyboardActivation: 'manual'
- });
-
- tree.setState({
- selectedIndex: 0
- });
-
- tree.update();
-
- assert.equal(tree.prop('keyboardActivation'), 'manual');
-
- child2 = tree.find('.spectrum-Tabs-item.two');
- child2.simulate('focus');
- assert(focusSpy.calledWith(1));
-
- assert.equal(tree.state('selectedIndex'), 0);
-
- child2 = tree.find('[selected=true]');
- assert.notEqual(child2.prop('className').indexOf('one'), -1);
- });
-
- it('finds a new tab if the currently selected one is removed', () => {
- let onChangeSpy = sinon.spy();
- tree = mount(
-
- a
- b
-
- );
- let tabs = tree.find(Tab);
- tabs.at(1).simulate('click');
- let selectedTab = tree.find('[selected=true]');
- assert(selectedTab.prop('className').includes('two'));
- tree.setProps({children: a });
- tree.update();
- selectedTab = tree.find('[selected=true]');
- assert(selectedTab.prop('className').includes('one'));
- assert.equal(onChangeSpy.getCall(0).args[0], 1);
- assert.equal(onChangeSpy.getCall(1).args[0], 0);
- });
-
-
- describe('is collapsible', () => {
- let boundRectStub;
- let clock;
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- boundRectStub = sinon.stub(utils, 'getBoundingClientRect');
- });
- afterEach(() => {
- clock.runAll();
- clock.restore();
- boundRectStub = null;
- utils.getBoundingClientRect.restore();
- });
-
- it('can start off collapsed', () => {
- // set it up so that initially the tabs extend beyond the tablist container
- boundRectStub.onCall(0).returns({right: 25});
- boundRectStub.onCall(1).returns({right: 50});
- // when next called, swap them so that the tabs do fit
- boundRectStub.onCall(2).returns({right: 50});
- boundRectStub.onCall(3).returns({right: 25});
- tree = mount(
-
- a
- }>b
- c
-
- );
- let tabsContainer = tree.find('div.react-spectrum-Tabs--container');
- assert(tabsContainer.prop('aria-hidden'));
- assert(tabsContainer.prop('className').includes('react-spectrum-Tabs--hidden'));
- let select = tree.find('TabListDropdown');
- assert.equal(select.props().selectedIndex, 0);
- let selectedTab = tree.find('[selected=true]');
- assert(selectedTab.prop('className').includes('one'));
-
- // verify that selecting something from the dropdown causes the selectedIndex to change
- let button = tree.find('Button');
-
- button.simulate('click', {button: 0});
-
- let dropdownItems = document.querySelectorAll('.spectrum-Menu-item');
- assert.equal(dropdownItems.length, 3);
- assert.equal(dropdownItems[2].getAttribute('aria-disabled'), 'true');
-
- dropdownItems[1].dispatchEvent(new window.MouseEvent('click', {
- bubbles: true,
- cancelable: true
- }));
-
- dropdownItems = document.querySelectorAll('.spectrum-Menu-item');
- assert.equal(dropdownItems.length, 0);
-
- tree.update();
- select = tree.find('TabListDropdown');
- assert.equal(select.props().selectedIndex, 1);
- selectedTab = tree.find('[selected=true]');
- assert(selectedTab.prop('className').includes('two'));
-
- // verify that increasing the container width causes the tablist to show
- window.dispatchEvent(new window.Event('resize'));
- // resize listener is debounced, run the clock
- clock.runAll();
- tree.update();
- tabsContainer = tree.find('div.react-spectrum-Tabs--container');
- assert(!tabsContainer.prop('aria-hidden'));
- assert(!tabsContainer.prop('className').includes('react-spectrum-Tabs--hidden'));
- select = tree.find('TabListDropdown');
- assert.equal(select.length, 0);
- window.dispatchEvent(new window.Event('resize'));
- tree.unmount();
- tree = null;
- });
-
- it('can start off expanded', () => {
- // set it up so that initially the tabs are within the tablist container
- boundRectStub.onCall(0).returns({right: 50}); // tab list right side
- boundRectStub.onCall(1).returns({right: 25}); // last tab right side
- // when called again, collapse
- boundRectStub.onCall(2).returns({right: 25});
- boundRectStub.onCall(3).returns({right: 50});
- tree = mount(
-
- a
- b
-
- );
- let tabsContainer = tree.find('div.react-spectrum-Tabs--container');
- assert(!tabsContainer.prop('aria-hidden'));
- assert(!tabsContainer.prop('className').includes('react-spectrum-Tabs--hidden'));
- let select = tree.find('TabListDropdown');
- assert.equal(select.length, 0);
-
- // verify that decreasing the container width causes the tablist to hide
- window.dispatchEvent(new window.Event('resize'));
- // resize listener is debounced, run the clock
- clock.runAll();
- tree.update();
- tabsContainer = tree.find('div.react-spectrum-Tabs--container');
- assert(tabsContainer.prop('aria-hidden'));
- assert(tabsContainer.prop('className').includes('react-spectrum-Tabs--hidden'));
- select = tree.find('TabListDropdown');
- assert.equal(select.length, 1);
- window.dispatchEvent(new window.Event('resize'));
- tree.unmount();
- tree = null;
- });
-
-
- it('will not collapse in vertical', () => {
- // set it up so that initially the tabs extend beyond the tablist container
- boundRectStub.onCall(0).returns({right: 25});
- boundRectStub.onCall(1).returns({right: 50});
-
- tree = mount(
-
- a
- b
-
- );
- let tabsContainer = tree.find('div.react-spectrum-Tabs--container');
- assert.equal(tabsContainer.prop('aria-hidden'), undefined);
- assert.equal(tabsContainer.prop('className').includes('react-spectrum-Tabs--hidden'), false);
- let select = tree.find('TabListDropdown');
- assert.equal(select.length, 0);
- });
- });
- });
-});
diff --git a/test/TabView/TabView.js b/test/TabView/TabView.js
deleted file mode 100644
index d53f0ae1fb3..00000000000
--- a/test/TabView/TabView.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {Tab, TabView} from '../../src/TabView';
-import {TabList} from '../../src/TabList';
-
-describe('TabView', function () {
- it('renders a tab list and the selected tab body', function () {
- const tree = shallow(
-
- Tab 1
- Tab 2
-
- );
-
- assert.equal(tree.prop('className'), 'react-spectrum-TabView react-spectrum-TabView--horizontal');
- assert.equal(tree.find(TabList).prop('selectedIndex'), 0);
- assert.equal(tree.find('.react-spectrum-TabView-body').text(), 'Tab 1');
- });
-
- it('clicking on a tab changes the tab body', function () {
- const onSelect = sinon.spy();
- const tree = shallow(
-
- Tab 1
- Tab 2
-
- );
-
- assert.equal(tree.find(TabList).prop('selectedIndex'), 0);
- assert.equal(tree.find('.react-spectrum-TabView-body').text(), 'Tab 1');
-
- tree.find(TabList).simulate('change', 1);
-
- assert.equal(tree.find(TabList).prop('selectedIndex'), 1);
- assert.equal(tree.find('.react-spectrum-TabView-body').text(), 'Tab 2');
-
- assert(onSelect.calledOnce);
- assert.equal(onSelect.lastCall.args[0], 1);
- });
-
- it('does not change state in controlled mode', function () {
- const onSelect = sinon.spy();
- const tree = shallow(
-
- Tab 1
- Tab 2
-
- );
-
- assert.equal(tree.find(TabList).prop('selectedIndex'), 1);
- assert.equal(tree.find('.react-spectrum-TabView-body').text(), 'Tab 2');
-
- tree.find(TabList).simulate('change', 0);
-
- assert.equal(tree.find(TabList).prop('selectedIndex'), 1);
- assert.equal(tree.find('.react-spectrum-TabView-body').text(), 'Tab 2');
-
- assert(onSelect.calledOnce);
- assert.equal(onSelect.lastCall.args[0], 0);
- });
-
- it('changing the children resets the selected index', function () {
- const tree = shallow(
-
- Tab 1
- Tab 2
-
- );
-
- tree.find(TabList).simulate('change', 1);
-
- tree.setProps({
- children: [
- Hi
- ]
- });
-
- assert.equal(tree.find(TabList).prop('selectedIndex'), 0);
- });
-
- it('children should have renderChildren prop and allow null in children', function () {
- const tree = shallow(
-
- Tab 1
- Tab 2
- {null}
-
- );
-
- assert.equal(tree.find(Tab).at(0).prop('renderChildren'), false);
- });
-
- it('supports defaultSelectedIndex', () => {
- const tree = mount(
-
- Tab 1
- Tab 2
-
- );
- const child = tree.find('[selected=true]');
- assert.equal(child.length, 1);
- assert.equal(child.prop('label'), 'Bar');
- tree.unmount();
- });
-});
diff --git a/test/Table/TBody.js b/test/Table/TBody.js
deleted file mode 100644
index f149614b858..00000000000
--- a/test/Table/TBody.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import TBody from '../../src/Table/js/TBody';
-
-describe('TBody', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Table/TD.js b/test/Table/TD.js
deleted file mode 100644
index 1dd85c3b9b9..00000000000
--- a/test/Table/TD.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import TD from '../../src/Table/js/TD';
-
-describe('TD', () => {
- it('supports dividers', () => {
- const tree = shallow(render({divider: true}));
- assert.equal(tree.hasClass('spectrum-Table-cell--divider'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Table/TH.js b/test/Table/TH.js
deleted file mode 100644
index 4db24d7e6c8..00000000000
--- a/test/Table/TH.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import TH from '../../src/Table/js/TH';
-
-describe('TH', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Table/THead.js b/test/Table/THead.js
deleted file mode 100644
index 24fd102a4df..00000000000
--- a/test/Table/THead.js
+++ /dev/null
@@ -1,43 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import THead from '../../src/Table/js/THead';
-
-describe('THead', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.children().type(), 'tr');
- assert.equal(tree.children().children().text(), 'Foo');
- });
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Table/TR.js b/test/Table/TR.js
deleted file mode 100644
index 60fed88fd4a..00000000000
--- a/test/Table/TR.js
+++ /dev/null
@@ -1,42 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import TR from '../../src/Table/js/TR';
-
-describe('TR', () => {
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-});
-
-const render = ({children, ...otherProps}) => (
- {children}
-);
diff --git a/test/Table/Table.js b/test/Table/Table.js
deleted file mode 100644
index 77c54bec045..00000000000
--- a/test/Table/Table.js
+++ /dev/null
@@ -1,47 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import {Table} from '../../src/Table';
-
-describe('Table', () => {
- it('supports quiet', () => {
- const tree = shallow(render({quiet: true}));
- assert.equal(tree.hasClass('spectrum-Table--quiet'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow(render({className: 'myClass'}));
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow(render({'aria-foo': true}));
- assert.equal(tree.prop('aria-foo'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(render({children: 'Foo'}));
- assert.equal(tree.childAt(0).text(), 'Foo');
- });
-});
-
-const render = ({children, ...otherProps}) => (
-
-);
diff --git a/test/TableView/TableCell.js b/test/TableView/TableCell.js
deleted file mode 100644
index ce68058d638..00000000000
--- a/test/TableView/TableCell.js
+++ /dev/null
@@ -1,157 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import ArrowDownSmall from '../../src/Icon/core/ArrowDownSmall';
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import TableCell from '../../src/TableView/js/TableCell';
-
-describe('TableCell', function () {
- it('should render a header cell', function () {
- let wrapper = shallow(test );
- assert.equal(wrapper.prop('className'), 'spectrum-Table-headCell');
- assert.equal(wrapper.childAt(0).text(), 'test');
- assert.equal(wrapper.find(ArrowDownSmall).length, 0);
- });
-
- it('should render a sortable header cell', function () {
- let wrapper = shallow(test );
- assert.equal(wrapper.prop('className'), 'spectrum-Table-headCell is-sortable');
- assert.equal(wrapper.prop('aria-sort'), 'none');
- assert.equal(wrapper.childAt(0).text(), 'test');
- assert.equal(wrapper.find(ArrowDownSmall).length, 1);
- assert.equal(wrapper.find(ArrowDownSmall).prop('className'), 'spectrum-Table-sortedIcon');
- });
-
- it('should render a sorted desc header cell', function () {
- let wrapper = shallow(test );
- assert.equal(wrapper.prop('className'), 'spectrum-Table-headCell is-sortable is-sorted-desc');
- assert.equal(wrapper.prop('aria-sort'), 'descending');
- assert.equal(wrapper.childAt(0).text(), 'test');
- assert.equal(wrapper.find(ArrowDownSmall).length, 1);
- assert.equal(wrapper.find(ArrowDownSmall).prop('className'), 'spectrum-Table-sortedIcon');
- });
-
- it('should render a sorted asc header cell', function () {
- let wrapper = shallow(test );
- assert.equal(wrapper.prop('className'), 'spectrum-Table-headCell is-sortable is-sorted-asc');
- assert.equal(wrapper.prop('aria-sort'), 'ascending');
- assert.equal(wrapper.childAt(0).text(), 'test');
- assert.equal(wrapper.find(ArrowDownSmall).length, 1);
- assert.equal(wrapper.find(ArrowDownSmall).prop('className'), 'spectrum-Table-sortedIcon');
- });
-
- it('should call onClick event on Enter or Space keypress', function () {
- let onClick = sinon.spy();
- let wrapper = shallow(test );
- assert.equal(wrapper.prop('tabIndex'), 0);
- wrapper.setProps({'allowsMultipleSelection': true});
- assert.equal(wrapper.prop('tabIndex'), -1);
- wrapper.simulate('keyPress', {key: 'ArrowDown', preventDefault: () => {}});
- assert(!onClick.calledOnce);
- wrapper.simulate('keyPress', {key: ' ', preventDefault: () => {}});
- assert(onClick.calledOnce);
- wrapper.simulate('keyPress', {key: 'Enter', preventDefault: () => {}});
- assert(onClick.calledTwice);
- wrapper.setProps({onClick: null});
- wrapper.simulate('keyPress', {key: 'Enter', preventDefault: () => {}});
- assert(!onClick.calledThrice);
- });
-
- it('should render a body cell', function () {
- let wrapper = shallow(test );
- assert(wrapper.hasClass('spectrum-Table-cell'));
- assert(wrapper.hasClass('react-spectrum-Table-cell'));
- assert.equal(wrapper.childAt(0).text(), 'test');
- });
-
- it('should render a body cell with a divider', function () {
- let wrapper = shallow(test );
- assert(wrapper.hasClass('spectrum-Table-cell'));
- assert(wrapper.hasClass('react-spectrum-Table-cell'));
- assert(wrapper.hasClass('spectrum-Table-cell--divider'));
- assert.equal(wrapper.childAt(0).text(), 'test');
- });
-
- it('should render a body cell aligned center', function () {
- let wrapper = shallow(test );
- assert(wrapper.hasClass('spectrum-Table-cell'));
- assert(wrapper.hasClass('react-spectrum-Table-cell'));
- assert(wrapper.hasClass('spectrum-Table-cell--alignCenter'));
- assert.equal(wrapper.childAt(0).text(), 'test');
- });
-
- it('should render a body cell aligned right', function () {
- let wrapper = shallow(test );
- assert(wrapper.hasClass('spectrum-Table-cell'));
- assert(wrapper.hasClass('react-spectrum-Table-cell'));
- assert(wrapper.hasClass('spectrum-Table-cell--alignRight'));
- assert.equal(wrapper.childAt(0).text(), 'test');
- });
-
- it('should set a static width on a cell', function () {
- let wrapper = shallow(test );
- let style = wrapper.prop('style');
- assert.equal(style.width, 100);
- assert.equal(style.flexShrink, 0);
- });
-
- it('should set a static minimum width on a cell', function () {
- let wrapper = shallow(test );
- let style = wrapper.prop('style');
- assert.equal(style.minWidth, 100);
- assert.equal(style.flexGrow, 1);
- });
-
- it('should set a static maximum width on a cell', function () {
- let wrapper = shallow(test );
- let style = wrapper.prop('style');
- assert.equal(style.maxWidth, 100);
- assert.equal(style.flexGrow, 1);
- });
-
- it('should pass through a custom class name', function () {
- let wrapper = shallow(test );
- assert(wrapper.hasClass('spectrum-Table-cell'));
- assert(wrapper.hasClass('react-spectrum-Table-cell'));
- assert(wrapper.hasClass('test'));
- });
-
- it('onFocus/onBlur keeps track of whether a child has focus.', () => {
- let wrapper = mount( );
- wrapper.simulate('focus', {
- target: wrapper.getDOMNode(),
- nativeEvent: {
- stopImmediatePropagation: () => {}
- }
- });
- assert.equal(wrapper.find('input').getDOMNode(), document.activeElement);
- wrapper.simulate('focus', {
- target: wrapper.find('input').getDOMNode(),
- nativeEvent: {
- stopImmediatePropagation: () => {}
- }
- });
- assert(wrapper.state('childFocused'));
- document.activeElement.blur();
- wrapper.simulate('blur', {target: wrapper.find('input').getDOMNode()});
- assert(!wrapper.state('childFocused'));
- wrapper.unmount();
- });
-});
diff --git a/test/TableView/TableRow.js b/test/TableView/TableRow.js
deleted file mode 100644
index 5e35e501be8..00000000000
--- a/test/TableView/TableRow.js
+++ /dev/null
@@ -1,472 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import TableCell from '../../src/TableView/js/TableCell';
-import TableRow from '../../src/TableView/js/TableRow';
-
-const NOOP = () => {};
-const columns = [{title: 'Hi'}, {title: 'Bye'}];
-function renderCell(column, cellIndex, rowFocused) {
- return (
-
- {column.title + ' ' + cellIndex}
-
- );
-}
-
-describe('TableRow', function () {
- it('should render a header row', function () {
- let wrapper = shallow( );
- let row = wrapper.childAt(0);
- assert.equal(row.prop('className'), 'react-spectrum-TableView-row spectrum-Table-head');
- assert.deepEqual(row.children().map(c => c.dive().text()), ['Hi 0', 'Bye 1']);
- wrapper.setProps({allowsSelection: true, allowsMultipleSelection: true});
- row = wrapper.childAt(0);
- let checkboxCell = row.childAt(0);
- assert.equal(checkboxCell.prop('className'), 'spectrum-Table-checkboxCell react-spectrum-TableView-checkboxCell');
- let checkbox = checkboxCell.childAt(0);
- assert.equal(checkbox.prop('className'), 'spectrum-Table-checkbox');
- assert.equal(checkbox.prop('title'), 'Select All');
- wrapper.setProps({allowsMultipleSelection: false});
- row = wrapper.childAt(0);
- checkboxCell = row.childAt(0);
- assert.equal(checkboxCell.prop('className'), 'spectrum-Table-checkboxCell react-spectrum-TableView-checkboxCell');
- assert.equal(checkboxCell.prop('aria-label'), 'Select');
- checkbox = checkboxCell.childAt(0);
- assert.deepEqual(checkbox.prop('style'), {visibility: 'hidden'});
- });
-
- it('should render a body row', function () {
- let wrapper = shallow( );
- let row = wrapper.childAt(0);
- assert.equal(row.prop('className'), 'react-spectrum-TableView-row spectrum-Table-row');
- assert.deepEqual(row.children().map(c => c.dive().text()), ['Hi 0', 'Bye 1']);
- });
-
- it('should render a selectable body row', function () {
- let wrapper = shallow( );
- let row = wrapper.childAt(0);
-
- assert.equal(row.prop('className'), 'react-spectrum-TableView-row spectrum-Table-row');
-
- let checkboxCell = row.childAt(0);
- assert.equal(checkboxCell.prop('className'), 'spectrum-Table-checkboxCell react-spectrum-TableView-checkboxCell');
- let checkbox = checkboxCell.childAt(0);
- assert.equal(checkbox.prop('className'), 'spectrum-Table-checkbox');
- assert(!checkbox.prop('checked'));
- assert.equal(checkbox.prop('title'), 'Select');
-
- assert.deepEqual(row.children().slice(1).map(c => c.dive().text()), ['Hi 0', 'Bye 1']);
- });
-
- it('should render a selected body row', function () {
- let wrapper = shallow( );
- let row = wrapper.childAt(0);
-
- assert.equal(row.prop('className'), 'react-spectrum-TableView-row spectrum-Table-row is-selected');
-
- let checkboxCell = row.childAt(0);
- assert.equal(checkboxCell.prop('className'), 'spectrum-Table-checkboxCell react-spectrum-TableView-checkboxCell');
- let checkbox = checkboxCell.childAt(0);
- assert.equal(checkbox.prop('className'), 'spectrum-Table-checkbox');
- assert(checkbox.prop('checked'));
- assert.equal(checkbox.prop('title'), 'Select');
-
- assert.deepEqual(row.children().slice(1).map(c => c.dive().text()), ['Hi 0', 'Bye 1']);
- });
-
- it('should render a drop target row', function () {
- let wrapper = shallow( );
- assert.equal(wrapper.childAt(0).prop('className'), 'react-spectrum-TableView-row spectrum-Table-row is-drop-target');
- });
-
- it('should trigger onSelectChange when the checkbox value changes', function () {
- let onSelectChange = sinon.spy();
- let wrapper = shallow( );
- wrapper.find('.spectrum-Table-checkbox').simulate('change', true);
- assert(onSelectChange.calledOnce);
- assert(onSelectChange.getCall(0).args[0], true);
- });
-
- it('should trigger onCellClick when clicking on a cell', function () {
- let layoutInfo = {section: 0, index: 5};
- let collectionView = {indexPathForComponent: () => (layoutInfo)};
- let onCellClick = sinon.spy();
- let wrapper = shallow( );
- wrapper.childAt(0).childAt(1).simulate('click');
- assert(!onCellClick.calledOnce);
- wrapper.setProps({collectionView, onCellClick});
- wrapper.childAt(0).childAt(1).simulate('click', {target: {tabIndex: -1}});
- assert(onCellClick.calledOnce);
- assert.deepEqual(onCellClick.getCall(0).args, [columns[1], 5]);
- });
-
- it('should call onCellFocus when a cell receives focus', function () {
- let layoutInfo = {section: 0, index: 5};
- let onCellFocus = sinon.spy();
- let wrapper = shallow( );
- wrapper.childAt(0).childAt(1).simulate('focus');
- assert(onCellFocus.calledOnce);
- assert(onCellFocus.calledWith(1));
- });
-
- it('should trigger onCellDoubleClick when double clicking on a cell', function () {
- let collectionView = {indexPathForComponent: () => ({section: 0, index: 5})};
- let onCellDoubleClick = sinon.spy();
- let wrapper = shallow( );
- wrapper.childAt(0).childAt(1).simulate('doubleClick');
- assert(onCellDoubleClick.calledOnce);
- assert.deepEqual(onCellDoubleClick.getCall(0).args, [columns[1], 5]);
- });
-
- describe('focus', () => {
- it('should call focus on row element', function () {
- const layoutInfo = {section: 0, index: 0};
- const collectionView = {indexPathForComponent: () => (layoutInfo)};
- const rowFocus = sinon.spy();
- const wrapper = shallow( );
- assert.equal(wrapper.childAt(0).prop('tabIndex'), 0);
-
- wrapper.instance().focus();
- assert(!rowFocus.calledOnce);
-
- // stub row ref and row.focus method
- wrapper.instance().row = {
- contains: () => false,
- focus: rowFocus
- };
-
- wrapper.instance().focus();
- assert(rowFocus.calledOnce);
- });
- });
-
- it('should update focused state when focused prop changes', () => {
- const layoutInfo = {section: 0, index: 0};
- const wrapper = shallow( );
- wrapper.setProps({'focused': true});
- assert(wrapper.state('focused'));
- wrapper.setProps({'focused': false});
- assert(!wrapper.state('focused'));
- });
-
- describe('onFocus', () => {
- it('should set focused state of row element to true', async () => {
- const layoutInfo = {section: 0, index: 0};
- const collectionView = {
- indexPathForComponent: () => layoutInfo
- };
- const onFocus = sinon.spy();
- const onCellFocus = sinon.spy();
- const wrapper = mount( );
- wrapper.childAt(0).simulate('focus');
- assert(wrapper.state('focused'));
- wrapper.update();
- assert(onFocus.calledOnce);
- wrapper.setState({focused: false});
- assert(!wrapper.state('focused'));
- wrapper.setProps({collectionView});
- wrapper.childAt(0).simulate('focus');
- wrapper.update();
- assert(onFocus.calledTwice);
- assert(wrapper.state('focused'));
- wrapper.setState({focused: false});
- assert(!wrapper.state('focused'));
- wrapper.childAt(0).simulate('focus', {relatedTarget: wrapper.childAt(0).find('input').getDOMNode()});
- wrapper.update();
- assert(onCellFocus.calledWith(null));
- wrapper.unmount();
- });
- });
-
- describe('onBlur', () => {
- it('should set focused state of row element to false', function () {
- const layoutInfo = {section: 0, index: 0};
- const collectionView = {
- indexPathForComponent: () => layoutInfo
- };
- const wrapper = shallow( );
- wrapper.setState({focused: true});
- wrapper.childAt(0).simulate('blur');
- assert(!wrapper.state('focused'));
- });
- });
-
- it('click on checkbox following a mouseup event should not toggle selection', () => {
- const selectItem = sinon.spy();
- const stopPropagation = sinon.spy();
- const layoutInfo = {section: 0, index: 0};
- const collectionView = {
- indexPathForComponent: () => (layoutInfo),
- selectItem
- };
- const wrapper = shallow( );
- const checkboxCell = wrapper.childAt(0).childAt(0);
- const checkbox = checkboxCell.childAt(0);
- checkbox.simulate('mousedown', {stopPropagation});
- checkbox.simulate('click', {shiftKey: false});
- assert(stopPropagation.calledOnce);
- assert(!selectItem.calledOnce);
- checkbox.simulate('click', {shiftKey: false});
- assert(!selectItem.calledOnce);
- stopPropagation.resetHistory();
- wrapper.setProps({collectionView});
- checkbox.simulate('mousedown', {stopPropagation});
- checkbox.simulate('click', {shiftKey: false});
- assert(stopPropagation.calledOnce);
- assert(selectItem.calledOnce);
- assert.deepEqual(selectItem.getCall(0).args, [{section: 0, index: 0}, true, false, true]);
- checkbox.simulate('click', {shiftKey: true});
- assert(selectItem.calledTwice);
- assert.deepEqual(selectItem.getCall(1).args, [{section: 0, index: 0}, true, true, true]);
- });
-
- describe('onKeyDown', () => {
- it('should enable horizontal navigation of focusable descendants', async () => {
- const wrapper = mount( );
- let row = wrapper.childAt(0);
- let eventStub = {
- preventDefault: NOOP,
- stopPropagation: NOOP,
- nativeEvent: {
- stopImmediatePropagation: NOOP
- }
- };
-
- // ArrowRight with focus on the row should move focus to first focusable descendant
- row.simulate('keyDown', {key: 'ArrowRight', ...eventStub});
- assert.equal(row.find(TableCell).first().getDOMNode(), document.activeElement, 'ArrowRight key on row moves focus to first cell');
- row.find(TableCell).first().simulate('focus', eventStub);
- assert.equal(row.find('input').getDOMNode(), document.activeElement, 'Focusing cell marshalls focus to focusable descendant');
-
- // "Right" event.key alternative with focus on the row should move focus to first focusable descendant
- row.simulate('keyDown', {key: 'Right', ...eventStub});
- assert.equal(row.find(TableCell).first().getDOMNode(), document.activeElement, 'Right key on row moves focus to first cell');
- row.find(TableCell).first().simulate('focus', eventStub);
- assert.equal(row.find('input').getDOMNode(), document.activeElement);
-
- row.find('input').simulate('keyDown', {key: 'ArrowRight', ...eventStub});
- assert.equal(row.find(TableCell).at(1).getDOMNode(), document.activeElement, 'ArrowRight key on first cell moves focus to adjacent cell');
-
- row.find(TableCell).at(1).simulate('keyDown', {key: 'ArrowRight', ...eventStub});
- assert.equal(row.find(TableCell).at(2).getDOMNode(), document.activeElement, 'ArrowRight key on second cell moves focus to adjacent cell');
-
- // ArrowRight with focus on last focusable descendant in the row should loop focus back to the row
- row.find(TableCell).last().simulate('keyDown', {key: 'ArrowRight', ...eventStub});
- assert.equal(row.getDOMNode(), document.activeElement, 'ArrowRight with focus on last focusable descendant in the row should loop focus back to the row');
-
- // ArrowLeft with focus on the row should move focus to last focusable descendant
- row.simulate('keyDown', {key: 'ArrowLeft', ...eventStub});
- assert.equal(row.find(TableCell).last().getDOMNode(), document.activeElement, 'ArrowLeft with focus on the row should move focus to last focusable descendant');
-
- // "Left" event.key alternative with focus on the row should move focus to last focusable descendant
- row.simulate('keyDown', {key: 'Left', ...eventStub});
- assert.equal(row.find(TableCell).last().getDOMNode(), document.activeElement, '"Left" event.key alternative with focus on the row should move focus to last focusable descendant');
-
- // Focusing on descendant of TableCell should remove tabIndex from parent.
- row.find(TableCell).first().simulate('focus', eventStub);
- assert.equal(row.find('input').getDOMNode(), document.activeElement);
- wrapper.update();
-
- // Testing in React 14, tabIndex remains -1
- if (row.find(TableCell).first().getDOMNode().getAttribute('tabindex') === '-1') {
- row.find(TableCell).first().getDOMNode().removeAttribute('tabindex');
- }
-
- // ArrowLeft with focus on first focusable descendant in the row should move focus back to the row
- row.find('input').simulate('keyDown', {key: 'ArrowLeft', ...eventStub});
- assert.equal(row.getDOMNode(), document.activeElement);
-
- // test else path when allowsSelection is false
- wrapper.setProps({allowsSelection: false});
- row = wrapper.childAt(0);
- row.simulate('keyDown', {key: 'ArrowRight', ...eventStub});
- assert.equal(row.find(TableCell).first().getDOMNode(), document.activeElement);
-
- wrapper.unmount();
- });
-
- it('should select all on Ctrl+A or Meta+A for header row', () => {
- const onSelectChange = sinon.spy();
- const wrapper = shallow( );
- let row = wrapper.childAt(0);
-
- // "A" key with no modifier should not call onSelectChange
- row.simulate('keyDown', {key: 'a', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 0);
-
- // "Meta+A" should call onSelectChange with true
- row.simulate('keyDown', {key: 'a', metaKey: true, preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 1);
- assert.equal(onSelectChange.getCall(0).args[0], true);
-
- // "Ctrl+A" should call onSelectChange with true
- row.simulate('keyDown', {key: 'a', ctrlKey: true, preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 2);
- assert.equal(onSelectChange.getCall(1).args[0], true);
-
- onSelectChange.resetHistory();
- wrapper.setProps({isHeaderRow: false});
- row.simulate('keyDown', {key: 'a', ctrlKey: true, preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 0);
- });
-
- it('should clear selection on Escape key', () => {
- const onSelectChange = sinon.spy();
- const wrapper = shallow( );
- let row = wrapper.childAt(0);
-
- // Esc key with no onSelectChange prop should do nothing
- row.simulate('keyDown', {key: 'Escape', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 0);
-
- // add onSelectChange method
- wrapper.setProps({onSelectChange});
-
- // Escape key should call onSelectChange with false
- row.simulate('keyDown', {key: 'Escape', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 1);
- assert.equal(onSelectChange.getCall(0).args[0], false);
-
- // "Esc" event.key alternative should call onSelectChange with false
- row.simulate('keyDown', {key: 'Esc', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(onSelectChange.callCount, 2);
- assert.equal(onSelectChange.getCall(1).args[0], false);
- });
-
- it('should permit vertical navigation between the header and first item row', () => {
- const layoutInfo = {section: 0, index: 0};
- const collectionView = {
- indexPathForComponent: () => layoutInfo,
- getSectionLength: () => 1,
- selectedIndexPaths: []
- };
- const tableView = {
- focusedColumnIndex: null
- };
- const wrapper = mount();
-
- // stub collectionView.getDOMNode method to return second "rowgroup".
- collectionView.getDOMNode = () => wrapper.find('[role="rowgroup"]').last().getDOMNode();
-
- const headerRow = wrapper.find(TableRow).first();
- const bodyRow = wrapper.find(TableRow).last();
-
- tableView.headerRowRef = headerRow.instance();
-
- // navigate from header row to first body row
- headerRow.simulate('keyDown', {key: 'ArrowDown', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(bodyRow.getDOMNode(), document.activeElement);
-
- // else path should not move focus, navigation behavior should be handled by EditableCollectionView
- bodyRow.simulate('keyDown', {key: 'ArrowDown', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(bodyRow.getDOMNode(), document.activeElement);
-
- // navigate from body row to first focusable descendant in header row
- bodyRow.simulate('keyDown', {key: 'ArrowUp', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(headerRow.find('input').getDOMNode(), document.activeElement);
-
- // else path for ArrowUp on header row should not move focus
- headerRow.simulate('keyDown', {key: 'ArrowUp', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(headerRow.find('input').getDOMNode(), document.activeElement);
-
- // test "Down" and "Up" event.key alternatives
- headerRow.find('input').simulate('keyDown', {key: 'Down', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(bodyRow.getDOMNode(), document.activeElement);
- bodyRow.simulate('keyDown', {key: 'Up', preventDefault: NOOP, stopPropagation: NOOP});
- assert.equal(headerRow.find('input').getDOMNode(), document.activeElement);
-
- // clean up
- wrapper.unmount();
- });
-
- describe('should call onCellFocus with null to clear the focusedColumnIndex', () => {
- it('on Tab key', () => {
- const onCellFocus = sinon.spy();
- const wrapper = shallow( );
- let row = wrapper.childAt(0);
- row.simulate('keyDown', {key: 'Tab', preventDefault: NOOP, stopPropagation: NOOP});
- assert(onCellFocus.calledWith(null));
- });
-
- it('on ArrowDown with focus on checkbox in header row', () => {
- const layoutInfo = {section: 0, index: 0};
- const collectionView = {
- indexPathForComponent: () => (layoutInfo)
- };
- const onCellFocus = sinon.spy();
- const wrapper = mount();
-
- // stub collectionView.getDOMNode method to return second "rowgroup".
- collectionView.getDOMNode = () => wrapper.find('[role="rowgroup"]').last().getDOMNode();
-
- const headerRow = wrapper.find(TableRow).first();
-
- headerRow.find('input').simulate('keyDown', {key: 'ArrowDown', preventDefault: NOOP, stopPropagation: NOOP, target: headerRow.find('input').getDOMNode()});
- assert(onCellFocus.calledWith(null));
- wrapper.unmount();
- });
- });
- });
-
- it('should set header row checkbox to indeterminate when multiple items, but not all, are selected', () => {
- let collection = {
- selectedIndexPaths: [
- {section: 0, index: 0},
- {section: 0, index: 1},
- {section: 0, index: 2},
- {section: 0, index: 3},
- {section: 0, index: 4},
- {section: 0, index: 5}
- ]
- };
- let wrapper = shallow( );
- let checkbox = wrapper.childAt(0).childAt(0).childAt(0);
- assert(checkbox.prop('indeterminate'));
- assert(!checkbox.prop('checked'));
- wrapper.setProps({selected: true});
- checkbox = wrapper.childAt(0).childAt(0).childAt(0);
- assert(!checkbox.prop('indeterminate'));
- assert(checkbox.prop('checked'));
- });
-});
diff --git a/test/TableView/TableView-old.js b/test/TableView/TableView-old.js
deleted file mode 100644
index 95d2f9a8e0e..00000000000
--- a/test/TableView/TableView-old.js
+++ /dev/null
@@ -1,284 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {IndexPath} from '@react/collection-view';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import TableCell from '../../src/TableView/js/TableCell';
-import TableRow from '../../src/TableView/js/TableRow';
-import {TableView, TableViewDataSource} from '../../src/TableView';
-
-describe('TableView old API', function () {
- var ds, renderCell;
- var columns = [
- {title: 'active'},
- {title: 'name'}
- ];
- var cellData = {active: true, name: 'Sunshine Bear'};
- before(function () {
- renderCell = function () {};
-
- class TableDS extends TableViewDataSource {
- getColumns() {
- return columns;
- }
-
- getNumberOfRows(section) {
- return 6;
- }
-
- getCell(column, row, section) {
- return column.title;
- }
-
- sort() {}
- }
-
- ds = new TableDS;
- });
-
- it('should render a table view', function () {
- const table = shallow(
-
- );
-
- assert.equal(table.hasClass('react-spectrum-TableView spectrum-Table'), true);
- assert.deepEqual(table.find(TableRow).prop('columns'), columns);
- assert.deepEqual(table.find(TableRow).prop('allowsSelection'), true);
- assert.deepEqual(table.find(TableRow).prop('allowsSelection'), true);
- assert.deepEqual(table.find(TableRow).prop('isHeaderRow'), true);
- });
-
- it('should render a quiet table view', function () {
- const table = shallow(
-
- );
- assert.equal(table.hasClass('spectrum-Table--quiet'), true);
- assert.deepEqual(table.find(TableRow).prop('allowsSelection'), false);
- });
-
- it('should pass correct props to collectionview', function () {
- const table = shallow(
-
- );
-
- var collectionView = table.find('.react-spectrum-TableView-body');
- assert.deepEqual(collectionView.prop('dataSource'), ds);
- assert.equal(collectionView.prop('canSelectItems'), true);
- assert.equal(collectionView.prop('allowsMultipleSelection'), true);
- assert.equal(collectionView.prop('selectionMode'), 'toggle');
- assert.deepEqual(collectionView.prop('selectedIndexPaths'), [{section: 0, index: 0}]);
- });
-
- it('should return Itemview row with props', function () {
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderItemView('foo', cellData)} );
-
- assert(wrapper.find(TableRow));
- assert.equal(wrapper.find(TableRow).prop('columns'), columns);
- assert.equal(wrapper.find(TableRow).prop('allowsSelection'), true);
- });
-
- it('should return renderColumnHeader row prop defined header', function () {
- const renderColumnHeader = sinon.spy();
- const col = {title: 'name'};
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderColumnHeader(col)} );
-
- assert(wrapper.find(TableCell));
- assert.equal(wrapper.find(TableCell).prop('isHeaderRow'), true);
- assert.deepEqual(wrapper.find(TableCell).prop('column'), col);
- assert.equal(wrapper.find(TableCell).prop('sortDir'), null);
- assert.equal(renderColumnHeader.callCount, 1);
- assert.deepEqual(renderColumnHeader.getCall(0).args[0], col);
- });
-
- it('should return renderColumnHeader row with props', function () {
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderColumnHeader({title: 'name'})} );
-
- assert(wrapper.find(TableCell));
- assert.deepEqual(wrapper.find(TableCell).prop('column'), {title: 'name'});
- assert.equal(wrapper.find(TableCell).childAt(0).text(), 'name');
- });
-
- it('should call props.renderCell in renderCell', function () {
- const renderCell = sinon.spy();
- const col = {title: 'name'};
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderCell(['Sunshine Bear', true], col, 0, 0, 0, 0)} );
-
- assert(wrapper.find(TableCell));
- assert.deepEqual(wrapper.find(TableCell).prop('column'), col);
- assert.equal(renderCell.callCount, 1);
- assert.deepEqual(renderCell.getCall(0).args[1], 'Sunshine Bear');
-
- wrapper = shallow({table.instance().renderCell(['Sunshine Bear', true], col, 0)} );
-
- assert(wrapper.find(TableCell));
- assert.deepEqual(wrapper.find(TableCell).prop('column'), col);
- assert.equal(renderCell.callCount, 2);
- assert.deepEqual(renderCell.getCall(1).args[1], 'Sunshine Bear');
- });
-
- it('should call internal sort if column prop is set', async function () {
- const onSort = sinon.spy(ds, 'performSort');
- const colSort = {title: 'name', sortable: true};
- const col = {title: 'name'};
- const table = mount(
-
- );
- await table.instance().sortByColumn(col);
-
- assert.equal(onSort.callCount, 0);
- await table.instance().sortByColumn(colSort);
-
- assert.equal(onSort.callCount, 1);
- assert.deepEqual(onSort.getCall(0).args[0], {column: colSort, direction: 1});
- });
-
- it('should call selectionChange if prop is set', function () {
- const onSelectionChange = sinon.spy();
- const table = mount(
-
- );
-
- table.instance().onSelectionChange([new IndexPath(0, 0)]);
- assert.equal(onSelectionChange.callCount, 1);
- assert.equal(onSelectionChange.getCall(0).args[0][0].index, 0);
- });
-
- it('setSelectAll should call selectAll or clearSelection method of collection', () => {
- const selectAll = sinon.spy();
- const clearSelection = sinon.spy();
- const table = shallow(
-
- );
- table.instance().collection = {
- relayout: () => {},
- selectAll,
- clearSelection,
- selectedIndexPaths: [],
- getNumberOfSections: () => 1,
- getSectionLength: () => 6
- };
- table.instance().setSelectAll(true);
- assert(selectAll.calledOnce);
- table.instance().collection.selectedIndexPaths = [
- {section: 0, index: 0},
- {section: 0, index: 1},
- {section: 0, index: 2},
- {section: 0, index: 3},
- {section: 0, index: 4},
- {section: 0, index: 5}
- ];
- table.instance().onSelectionChange();
- assert(table.instance().collection.selectedIndexPaths.length === ds.getNumberOfRows());
- table.instance().setSelectAll(false);
- assert(clearSelection.calledOnce);
- table.instance().collection.selectedIndexPaths = [];
- table.instance().onSelectionChange();
- assert(table.instance().collection.selectedIndexPaths.length !== ds.getNumberOfRows());
- });
-
- it('should have collection ref when mounted', () => {
- const table = mount(
-
- );
-
- assert(table.instance().collection);
- table.unmount();
- });
-
- it('should allow a row height override', function () {
- const tree = shallow(
-
- );
- assert.equal(tree.instance().layout.rowHeight, 56);
- });
-
- it('should have a row height ceiling of 72', function () {
- const tree = shallow(
-
- );
- assert.equal(tree.instance().layout.rowHeight, 72);
- });
-
- it('should have a row height floor of 48', function () {
- const tree = shallow(
-
- );
- assert.equal(tree.instance().layout.rowHeight, 48);
- });
-});
diff --git a/test/TableView/TableView.js b/test/TableView/TableView.js
deleted file mode 100644
index 405b7bcfd6b..00000000000
--- a/test/TableView/TableView.js
+++ /dev/null
@@ -1,385 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {IndexPath} from '@react/collection-view';
-import ListDataSource from '../../src/ListDataSource';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-import TableCell from '../../src/TableView/js/TableCell';
-import TableRow from '../../src/TableView/js/TableRow';
-import {TableView} from '../../src/TableView';
-
-describe('TableView', function () {
- var ds, renderCell;
- var columns = [
- {title: 'active'},
- {title: 'name', sortable: true}
- ];
- var cellData = {active: true, name: 'Sunshine Bear'};
- before(function () {
- renderCell = function () {};
-
- class TableDS extends ListDataSource {
- load() {
- return [
- {active: true, name: 'test'},
- {active: false, name: 'foo'},
- {active: true, name: 'bar'},
- {active: false, name: 'baz'}
- ];
- }
- }
-
- ds = new TableDS;
- });
-
- it('should render a table view', function () {
- const table = shallow(
-
- );
-
- assert.equal(table.prop('role'), 'grid');
- assert.equal(table.hasClass('react-spectrum-TableView spectrum-Table'), true);
- assert.deepEqual(table.find(TableRow).prop('columns'), columns);
- assert.equal(table.find(TableRow).prop('allowsSelection'), true);
- assert.equal(table.find(TableRow).prop('allowsMultipleSelection'), true);
- assert.equal(table.find(TableRow).prop('isHeaderRow'), true);
- });
-
- it('should render a quiet table view', function () {
- const table = shallow(
-
- );
- assert.equal(table.prop('role'), 'grid');
- assert.equal(table.hasClass('spectrum-Table--quiet'), true);
- assert.equal(table.find(TableRow).prop('allowsSelection'), false);
- assert.equal(table.find(TableRow).prop('allowsMultipleSelection'), false);
- });
-
- it('should pass correct props to collectionview', function () {
- const table = shallow(
-
- );
-
- var collectionView = table.find('.react-spectrum-TableView-body');
- assert.deepEqual(collectionView.prop('dataSource'), ds);
- assert.equal(collectionView.prop('canSelectItems'), true);
- assert.equal(collectionView.prop('allowsMultipleSelection'), true);
- assert.equal(collectionView.prop('selectionMode'), 'toggle');
- assert.deepEqual(collectionView.prop('selectedIndexPaths'), [new IndexPath(0, 0)]);
- });
-
- it('should return Itemview row with props', function () {
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderItemView('foo', cellData)} );
-
- assert(wrapper.find(TableRow));
- assert.equal(wrapper.find(TableRow).prop('columns'), columns);
- assert.equal(wrapper.find(TableRow).prop('allowsSelection'), true);
- });
-
- it('should return renderColumnHeader row prop defined header', function () {
- const renderColumnHeader = sinon.spy();
- const col = {title: 'name'};
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderColumnHeader(col)} );
-
- assert(wrapper.find(TableCell));
- assert.equal(wrapper.find(TableCell).prop('isHeaderRow'), true);
- assert.deepEqual(wrapper.find(TableCell).prop('column'), col);
- assert.equal(wrapper.find(TableCell).prop('sortDir'), null);
- assert.equal(renderColumnHeader.callCount, 1);
- assert.deepEqual(renderColumnHeader.getCall(0).args[0], col);
- });
-
- it('should return renderColumnHeader row with props', function () {
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderColumnHeader({title: 'name'})} );
-
- assert(wrapper.find(TableCell));
- assert.deepEqual(wrapper.find(TableCell).prop('column'), {title: 'name'});
- assert.equal(wrapper.find(TableCell).childAt(0).text(), 'name');
- });
-
- it('should call props.renderCell in renderCell', function () {
- const renderCell = sinon.spy();
- const col = {title: 'name'};
- const table = shallow(
-
- );
- let Wrapper = (props) => props.children;
- let wrapper = shallow({table.instance().renderCell({name: 'Sunshine Bear', active: true}, col, 0, 0, 0, 0)} );
-
- assert(wrapper.find(TableCell));
- assert.deepEqual(wrapper.find(TableCell).prop('column'), col);
- assert.equal(renderCell.callCount, 1);
- assert.deepEqual(renderCell.getCall(0).args[1], {name: 'Sunshine Bear', active: true});
-
- wrapper = shallow({table.instance().renderCell({name: 'Sunshine Bear', active: true}, col, 0)} );
-
- assert(wrapper.find(TableCell));
- assert.deepEqual(wrapper.find(TableCell).prop('column'), col);
- assert.equal(renderCell.callCount, 2);
- assert.deepEqual(renderCell.getCall(1).args[1], {name: 'Sunshine Bear', active: true});
- });
-
- it('should call internal sort if column prop is set', async function () {
- const performSort = sinon.spy(ds, 'performSort');
- const onSortChange = sinon.spy();
- const table = mount(
-
- );
- await sleep(100);
- await table.instance().sortByColumn(columns[0]);
-
- assert.equal(performSort.callCount, 0);
- assert.equal(onSortChange.callCount, 0);
- await table.instance().sortByColumn(columns[1]);
-
- assert.equal(performSort.callCount, 1);
- assert.equal(onSortChange.callCount, 1);
- assert.deepEqual(performSort.getCall(0).args[0], {column: columns[1], direction: 1});
- assert.deepEqual(onSortChange.getCall(0).args[0], {column: columns[1], direction: 1});
-
- table.update();
- assert.equal(table.find(TableRow).find(TableCell).at(2).prop('sortDir'), 1);
- performSort.restore();
- });
-
- it('should sort using the passed props (controlled)', async function () {
- const performSort = sinon.spy(ds, 'performSort');
- const onSortChange = sinon.spy();
- const table = mount(
-
- );
-
- assert.equal(table.find(TableRow).find(TableCell).at(2).prop('sortDir'), -1);
- await sleep(100);
-
- await table.instance().sortByColumn(columns[1]);
-
- assert.equal(performSort.callCount, 0);
- assert.equal(onSortChange.callCount, 1);
- assert.deepEqual(onSortChange.getCall(0).args[0], {column: columns[1], direction: 1});
-
- table.update();
- assert.equal(table.find(TableRow).find(TableCell).at(2).prop('sortDir'), -1);
- performSort.restore();
- });
-
- it('should sort using the passed props (uncontrolled)', async function () {
- const performSort = sinon.spy(ds, 'performSort');
- const onSortChange = sinon.spy();
- const table = mount(
-
- );
-
- assert.equal(table.find(TableRow).find(TableCell).at(2).prop('sortDir'), -1);
- await sleep(100);
-
- await table.instance().sortByColumn(columns[1]);
-
- assert.equal(performSort.callCount, 1);
- assert.equal(onSortChange.callCount, 1);
- assert.deepEqual(performSort.getCall(0).args[0], {column: columns[1], direction: 1});
- assert.deepEqual(onSortChange.getCall(0).args[0], {column: columns[1], direction: 1});
-
- table.update();
- assert.equal(table.find(TableRow).find(TableCell).at(2).prop('sortDir'), 1);
- performSort.restore();
- });
-
- it('should call selectionChange if prop is set', function () {
- const onSelectionChange = sinon.spy();
- const table = mount(
-
- );
-
- table.instance().onSelectionChange([new IndexPath(0, 0)]);
- assert.equal(onSelectionChange.callCount, 1);
- assert.equal(onSelectionChange.getCall(0).args[0][0].index, 0);
- });
-
- it('setSelectAll should call selectAll or clearSelection method of collection', () => {
- const selectAll = sinon.spy();
- const clearSelection = sinon.spy();
- const table = shallow(
-
- );
- table.instance().collection = {
- relayout: () => {},
- selectAll,
- clearSelection,
- selectedIndexPaths: [],
- getNumberOfSections: () => 1,
- getSectionLength: () => 6
- };
- table.instance().setSelectAll(true);
- assert(selectAll.calledOnce);
- table.instance().collection.selectedIndexPaths = [
- new IndexPath(0, 0),
- new IndexPath(0, 1),
- new IndexPath(0, 2),
- new IndexPath(0, 3)
- ];
- table.instance().onSelectionChange();
- assert.equal(table.instance().collection.selectedIndexPaths.length, ds.getSectionLength(0));
- table.instance().setSelectAll(false);
- assert(clearSelection.calledOnce);
- table.instance().collection.selectedIndexPaths = [];
- table.instance().onSelectionChange();
- assert.notEqual(table.instance().collection.selectedIndexPaths.length, ds.getSectionLength(0));
- });
-
- it('should have collection ref when mounted', () => {
- const table = mount(
-
- );
-
- assert(table.instance().collection);
- table.unmount();
- });
-
- it('focus cell should update focusedColumnIndex, and focusing row should move focus to focused column', () => {
- const table = mount(
-
- );
- const tableCells = table.find(TableCell);
- tableCells.last().simulate('focus');
- assert.equal(table.instance().focusedColumnIndex, tableCells.length - 1);
- tableCells.last().getDOMNode().focus = sinon.spy();
- table.find(TableRow).first().simulate('focus', {target: table.find(TableRow).first().getDOMNode()});
- assert(tableCells.last().getDOMNode().focus.calledOnce);
- table.unmount();
- });
-
- it('should allow a row height override', function () {
- const tree = shallow(
-
- );
- assert.equal(tree.instance().layout.rowHeight, 56);
- });
-
- it('should have a row height ceiling of 72', function () {
- const tree = shallow(
-
- );
- assert.equal(tree.instance().layout.rowHeight, 72);
- });
-
- it('should have a row height floor of 48', function () {
- const tree = shallow(
-
- );
- assert.equal(tree.instance().layout.rowHeight, 48);
- });
-
- it('should re-render on columns prop change', function () {
- const table = shallow(
-
- );
- assert.deepEqual(table.find(TableRow).prop('columns'), columns);
- const newCols = [{title: 'new'}];
- table.setProps({columns: newCols});
- assert.deepEqual(table.find(TableRow).prop('columns'), newCols);
- });
-});
diff --git a/test/TableView/TableViewDataSource.js b/test/TableView/TableViewDataSource.js
deleted file mode 100644
index b32590d5330..00000000000
--- a/test/TableView/TableViewDataSource.js
+++ /dev/null
@@ -1,143 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import sinon from 'sinon';
-import {TableViewDataSource} from '../../src/TableView';
-
-class TestGetNumberOfRowsDS extends TableViewDataSource {
- getColumns() {
- return [{title: 'Test'}, {title: 'Foo'}];
- }
-
- getCell(column, rowIndex) {
- return column.title + ' ' + rowIndex;
- }
-
- sort() {}
-}
-
-class TestGetCellDS extends TableViewDataSource {
- getColumns() {
- return [{title: 'Test'}, {title: 'Foo'}];
- }
-
- getNumberOfRows() {
- return 5;
- }
-
- sort() {}
-}
-
-class TestSortDS extends TableViewDataSource {
- getColumns() {
- return [{title: 'Test'}, {title: 'Foo'}];
- }
-
- getNumberOfRows() {
- return 5;
- }
-
- getCell(column, rowIndex) {
- return column.title + ' ' + rowIndex;
- }
-}
-
-class TestDS extends TableViewDataSource {
- getColumns() {
- return [{title: 'Test'}, {title: 'Foo'}];
- }
-
- getNumberOfRows() {
- return 5;
- }
-
- getCell(column, rowIndex) {
- return column.title + ' ' + rowIndex;
- }
-
- sort() {}
-}
-
-describe('TableViewDataSource', function () {
- it('should require getColumns to be implemented', function () {
- assert.throws(() => new TableViewDataSource, /getColumns must be implemented by subclasses/);
- });
-
- it('should require getNumberOfRows to be implemented', function () {
- assert.throws(() => (new TestGetNumberOfRowsDS).getNumberOfRows(), /getNumberOfRows must be implemented by subclasses/);
- });
-
- it('should require getCell to be implemented', function () {
- assert.throws(() => (new TestGetCellDS).getCell(0, 0), /getCell must be implemented by subclasses/);
- });
-
- it('should require sort to be implemented', function () {
- assert.throws(() => (new TestSortDS).sort(), /sort must be implemented by subclasses/);
- });
-
- it('should getColumns during initialization', function () {
- let ds = new TestDS;
- assert.deepEqual(ds.columns, [{title: 'Test'}, {title: 'Foo'}]);
- });
-
- it('getNumberOfSections should return 1 by default', function () {
- let ds = new TestDS;
- assert.equal(ds.getNumberOfSections(), 1);
- });
-
- it('getSectionLength should return the number of rows', function () {
- let ds = new TestDS;
- assert.equal(ds.getSectionLength(0), 5);
- });
-
- it('getSectionHeader should return null by default', function () {
- let ds = new TestDS;
- assert.equal(ds.getSectionHeader(0), null);
- });
-
- it('getItem should return data for all cells in a row', function () {
- let ds = new TestDS;
- assert.deepEqual(ds.getItem(0, 0), ['Test 0', 'Foo 0']);
- assert.deepEqual(ds.getItem(0, 1), ['Test 1', 'Foo 1']);
- });
-
- it('should call the sort method when performing a sort', function () {
- let ds = new TestDS;
- let spy = sinon.spy(ds, 'sort');
-
- ds.performSort({column: ds.columns[0], direction: -1});
- assert.deepEqual(spy.getCall(0).args, [ds.columns[0], -1]);
-
- ds.performSort({column: ds.columns[0], direction: 1});
- assert.deepEqual(spy.getCall(1).args, [ds.columns[0], 1]);
-
- ds.performSort({column: ds.columns[1], direction: -1});
- assert.deepEqual(spy.getCall(2).args, [ds.columns[1], -1]);
- });
-
- it('reloadData should emit reloadSection', function (done) {
- let ds = new TestDS;
- ds.once('reloadSection', (section, animated) => {
- assert.equal(section, 0);
- assert.equal(animated, false);
- done();
- });
-
- ds.reloadData();
- });
-});
diff --git a/test/TableView/TableViewLayout.js b/test/TableView/TableViewLayout.js
deleted file mode 100644
index e32e079b3d9..00000000000
--- a/test/TableView/TableViewLayout.js
+++ /dev/null
@@ -1,150 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {DragTarget, IndexPath, Point, Rect, Size} from '@react/collection-view';
-import sinon from 'sinon';
-import TableViewLayout from '../../src/TableView/js/TableViewLayout';
-
-describe('TableViewLayout', function () {
- it('should get a drop insertion indicator', function () {
- let layout = new TableViewLayout();
- layout.component = {props: {dropPosition: 'between'}};
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- delegate: {
- indentationForItem: () => 0
- },
- _dropTarget: new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_BETWEEN)
- };
- layout.validate();
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 100, 100));
- let insertionIndicator = layoutInfos.find(l => l.type === 'insertion-indicator');
- assert(insertionIndicator);
- assert.deepEqual(insertionIndicator.rect, new Rect(0, 5 * 48 - 1, 100, 2));
-
- insertionIndicator = layout.getLayoutInfo('insertion-indicator');
- assert(insertionIndicator);
- assert.deepEqual(insertionIndicator.rect, new Rect(0, 5 * 48 - 1, 100, 2));
- });
-
- it('should not get a drop insertion indicator if the table is empty', function () {
- let layout = new TableViewLayout();
- layout.component = {props: {dropPosition: 'between'}};
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 0,
- delegate: {
- indentationForItem: () => 0
- },
- _dropTarget: new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_BETWEEN)
- };
- layout.validate();
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 100, 100));
- let insertionIndicator = layoutInfos.find(l => l.type === 'insertion-indicator');
- assert(!insertionIndicator);
-
- insertionIndicator = layout.getLayoutInfo('insertion-indicator');
- assert(!insertionIndicator);
- });
-
- it('should get a drop target with dropPosition="on"', function () {
- let layout = new TableViewLayout();
- layout.component = {props: {dropPosition: 'on'}};
- let indexPathAtPoint = sinon.stub().returns(new IndexPath(0, 5));
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- indexPathAtPoint
- };
-
- let target = layout.getDropTarget(new Point(0, 100));
- assert.deepEqual(indexPathAtPoint.getCall(0).args[0], new Point(0, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_ON));
- });
-
- it('should get a drop target on the whole table with dropPosition="on"', function () {
- let layout = new TableViewLayout();
- layout.component = {props: {dropPosition: 'on'}};
- let indexPathAtPoint = sinon.stub().returns(null);
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- indexPathAtPoint
- };
-
- let target = layout.getDropTarget(new Point(0, 100));
- assert.deepEqual(indexPathAtPoint.getCall(0).args[0], new Point(0, 100));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- });
-
- it('should get a drop target with dropPosition="between"', function () {
- let layout = new TableViewLayout();
- layout.component = {props: {dropPosition: 'between'}};
- let indexPathAtPoint = sinon.stub().returns(new IndexPath(0, 5));
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- indexPathAtPoint
- };
-
- let target = layout.getDropTarget(new Point(0, 100));
- assert.deepEqual(indexPathAtPoint.getCall(0).args[0], new Point(0, 100 + 24));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 5), DragTarget.DROP_BETWEEN));
- });
-
- it('should get a drop target at the end with dropPosition="between"', function () {
- let layout = new TableViewLayout();
- layout.component = {props: {dropPosition: 'between'}};
- let indexPathAtPoint = sinon.stub().returns(null);
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- indexPathAtPoint
- };
-
- let target = layout.getDropTarget(new Point(0, 100));
- assert.deepEqual(indexPathAtPoint.getCall(0).args[0], new Point(0, 100 + 24));
- assert.deepEqual(target, new DragTarget('item', new IndexPath(0, 100), DragTarget.DROP_BETWEEN));
- });
-
- describe('indexPathAbove and indexPathBelow', () => {
- let layout = new TableViewLayout;
- layout.collectionView = {size: new Size(100, 100), getSectionLength: () => 100};
-
- it('should call collectionView incrementIndexPath', () => {
- const incrementIndexPath = sinon.spy();
- const indexPath = {section: 0, index: 1};
- layout.collectionView.incrementIndexPath = incrementIndexPath;
- layout.indexPathAbove(indexPath);
- assert.equal(incrementIndexPath.callCount, 1);
- assert.deepEqual(incrementIndexPath.getCall(0).args, [indexPath, -1]);
- layout.indexPathBelow(indexPath);
- assert.equal(incrementIndexPath.callCount, 2);
- assert.deepEqual(incrementIndexPath.getCall(1).args, [indexPath, 1]);
- });
- });
-});
diff --git a/test/TagField/TagField.js b/test/TagField/TagField.js
deleted file mode 100644
index e1c93fb3535..00000000000
--- a/test/TagField/TagField.js
+++ /dev/null
@@ -1,275 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Autocomplete from '../../src/Autocomplete';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {Tag, TagList} from '../../src/TagList';
-import TagField from '../../src/TagField';
-import Textfield from '../../src/Textfield';
-
-describe('TagField', () => {
- it('should render a textfield when empty', () => {
- const tree = shallow( );
- let autoComplete = tree.find(Autocomplete);
- assert.equal(tree.type(), Autocomplete);
- assert.equal(tree.prop('className'), 'react-spectrum-TagField spectrum-Textfield');
-
- assert.equal(tree.find(Textfield).length, 1);
- assert.equal(tree.find(Textfield).prop('autocompleteInput'), true);
- assert.equal(autoComplete.prop('allowCreate'), true);
- assert.equal(tree.find(TagList).prop('values').length, 0);
- });
-
- it('should render classnames for states', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-TagField spectrum-Textfield spectrum-Textfield--quiet react-spectrum-TagField--quiet is-disabled is-invalid');
- });
-
- it('should render tags when a value is given', () => {
- const tree = shallow( );
- assert.equal(tree.find(TagList).prop('values').length, 2);
- });
-
- it('should allow entering tags', () => {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('change', 'test');
- assert.equal(tree.prop('value'), 'test');
-
- // Add one
- tree.simulate('select', 'foo');
- assert.equal(tree.prop('value'), '');
-
- let values = tree.find(TagList).prop('values');
- assert.equal(values.length, 1);
- assert.equal(values[0], 'foo');
-
- assert.equal(onChange.callCount, 1);
- assert.deepEqual(onChange.getCall(0).args[0], ['foo']);
-
- // Add another
- tree.simulate('select', 'hi');
- assert.equal(tree.prop('value'), '');
-
- values = tree.find(TagList).prop('values');
- assert.equal(values.length, 2);
- assert.equal(values[0], 'foo');
- assert.equal(values[1], 'hi');
-
- assert.equal(onChange.callCount, 2);
- assert.deepEqual(onChange.getCall(1).args[0], ['foo', 'hi']);
- });
-
- it('should allow check if the option is string or array of object tags', () => {
- const onChange = sinon.spy();
- const OBJECT_OPTIONS = [
- {label: 'Chocolate', id: '1'},
- {label: 'Vanilla', id: '2'},
- {label: 'Strawberry', id: '3'}
-
- ];
- let text = 'ta';
- const tree = shallow( o.label.toLowerCase().startsWith(text.toLowerCase()))} />);
-
- tree.simulate('change', 'test');
- assert.equal(tree.prop('value'), 'test');
-
- // Add one
- tree.simulate('select', OBJECT_OPTIONS[0]);
- assert.equal(tree.prop('value'), '');
-
- let values = tree.find(TagList).prop('values');
- assert.equal(values.length, 1);
- assert.equal(values[0], 'Chocolate');
- assert.equal(tree.find(TagList).dive().find(Tag).length, 1);
-
- assert.equal(onChange.callCount, 1);
- assert.deepEqual(onChange.getCall(0).args[0], ['Chocolate']);
-
- // Try adding a second copy, it shouldn't get added, duplicates is false by default
- tree.simulate('select', OBJECT_OPTIONS[0]);
- assert.equal(tree.prop('value'), '');
-
- values = tree.find(TagList).prop('values');
- assert.equal(values.length, 1);
- assert.equal(values[0], 'Chocolate');
- assert.equal(tree.find(TagList).dive().find(Tag).length, 1);
-
- assert.equal(onChange.callCount, 1);
- });
-
- it('should not allow empty tags', () => {
- const tree = shallow( );
-
- tree.simulate('select', '');
- assert.equal(tree.find(TagList).prop('values').length, 0);
- });
-
- it('should set allowCreate prop to false in Autocomplete', () => {
- const tree = shallow( );
- let autoComplete = tree.find(Autocomplete);
- assert.equal(autoComplete.prop('allowCreate'), false);
- });
-
- it('should allow tags creation by default', () => {
- const tree = shallow( );
-
- tree.simulate('change', 'foo');
- assert.equal(tree.prop('value'), 'foo');
- });
-
- it('should not allow duplicates by default', () => {
- const tree = shallow( );
-
- tree.simulate('select', 'foo');
- tree.simulate('select', 'foo');
-
- assert.equal(tree.find(TagList).prop('values').length, 1);
- });
-
- it('should not allow duplicates by default with renderTag', () => {
- let tree = shallow( null} />);
-
- let option = {label: 'foo', id: 1};
- tree.simulate('select', option);
- tree.simulate('select', option);
-
- assert.equal(tree.find(TagList).prop('children').length, 1);
- });
-
- it('should allow duplicates with allowDuplicates prop', () => {
- let tree = shallow( );
-
- tree.simulate('select', 'foo');
- tree.simulate('select', 'foo');
-
- assert.equal(tree.find(TagList).prop('values').length, 2);
- });
-
- it('should allow object duplicates with allowDuplicates and renderTag', () => {
- let tree = shallow( null} />);
-
- tree.simulate('select', {label: 'foo', id: 1});
- tree.simulate('select', {label: 'foo', id: 1});
-
- assert.equal(tree.find(TagList).prop('children').length, 2);
- });
-
- it('should allow removing tags', () => {
- const onChange = sinon.spy();
- const tree = shallow( );
-
- tree.simulate('select', 'foo');
- assert.equal(tree.find(TagList).prop('values').length, 1);
-
- assert.equal(onChange.callCount, 1);
- assert.deepEqual(onChange.getCall(0).args[0], ['foo']);
-
- tree.find(TagList).simulate('close', 'foo');
- assert.equal(tree.find(TagList).prop('values').length, 0);
-
- assert.equal(onChange.callCount, 2);
- assert.deepEqual(onChange.getCall(1).args[0], []);
- });
-
- it('should not set state in controlled mode', () => {
- const tree = shallow( );
-
- assert.equal(tree.find(TagList).prop('values').length, 1);
-
- tree.simulate('change', 'test');
- // prop should not change as controlled
- assert.deepEqual(tree.find(TagList).prop('values'), ['one']);
-
- // Add one
- tree.simulate('select', 'two');
- assert.deepEqual(tree.find(TagList).prop('values'), ['one']);
-
- // Doesn't add until prop change
- assert.equal(tree.find(TagList).prop('values').length, 1);
-
- tree.setProps({value: ['one', 'two']});
- assert.equal(tree.find(TagList).prop('values').length, 2);
- });
-
- it('focus should not be lost when deleting the last indexed value', async () => {
- const onChange = sinon.spy();
- const tree = mount( );
- tree.setState({tags: ['foo', 'hi']});
- tree.update();
- // remove the last item from the tagList
- tree.find('button').last().simulate('click');
-
- assert.equal(tree.find(TagList).prop('values').length, 1);
- // There should be 1 tag left and it should have focus
- assert.equal(tree.find('.spectrum-Tags-item').getDOMNode(), document.activeElement);
-
- // remove the final item from the tagList
- tree.find('button').last().simulate('click');
- assert.equal(tree.find(TagList).prop('values').length, 0);
- // There should be 0 tags left. The textfield should have focus
- assert.equal(tree.find('input.react-spectrum-TagField-input').getDOMNode(), document.activeElement);
- tree.unmount();
-
- });
-
- it('focus should not be lost when removing the last indexed value when controlled', async () => {
- const tree = mount( );
- // Place focus on the last tag
- tree.find('.spectrum-Tags-item').last().getDOMNode().focus();
- // Update the component such that the 2nd tag is deleted.
- tree.setProps({value: ['one']});
- // Check focus is now on the only remaining tag
- assert.equal(tree.find('.spectrum-Tags-item').getDOMNode(), document.activeElement);
- // remove the final item from the tagList
- tree.setProps({value: []});
- // There should be 0 tags left. The textfield should have focus
- assert.equal(tree.find('input.react-spectrum-TagField-input').getDOMNode(), document.activeElement);
- tree.unmount();
- });
-
- it('should not show placeholder text if there is one or more tags', () => {
- const tree = shallow( );
- assert.equal(tree.find(Textfield).prop('placeholder'), 'this is bat country');
-
- // Add a tag, ensure no placeholder exists.
- tree.simulate('select', 'foo');
- assert.equal(tree.find(Textfield).prop('placeholder'), '');
-
- // Remove the tag, make sure placeholder is back.
- tree.find(TagList).simulate('close', 'foo');
- assert.equal(tree.find(Textfield).prop('placeholder'), 'this is bat country');
- });
- it('should pass renderItem prop to Autocomplete', async () => {
- const renderItem = item => {item} ;
- const tree = mount( []} renderItem={renderItem} />);
-
- assert.equal(tree.find(Autocomplete).prop('renderItem'), renderItem);
- });
- it('should allow custom tag rendering', () => {
- let renderTag = (tag) => {tag.label + tag.meta} ;
- const tree = mount( );
-
- assert.equal(tree.find('.spectrum-Tags-itemLabel').text(), 'one1');
- tree.unmount();
- });
-});
-
diff --git a/test/TagList/Tag.js b/test/TagList/Tag.js
deleted file mode 100644
index c9b0d218707..00000000000
--- a/test/TagList/Tag.js
+++ /dev/null
@@ -1,119 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Camera from '../../src/Icon/Camera';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {Tag} from '../../src/TagList';
-
-describe('Tag', () => {
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-selected'), false);
- assert.equal(tree.hasClass('spectrum-Tags-item'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert(tree.prop('className').indexOf('myClass') >= 0);
- });
-
- it('supports being closable', () => {
- const tree = shallow( );
- assert(!tree.find('Button[variant="clear"]').length);
- });
-
- it('supports being disabled', () => {
- const onClose = sinon.spy();
- const tree = shallow( );
- tree.find('Button[variant="clear"]').simulate('click');
- assert(!onClose.called);
- });
-
- it('supports being selected', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-selected'), true);
- });
-
- it('supports a value', () => {
- const tree = shallow( );
- assert.equal(tree.find('.spectrum-Tags-itemLabel').children().text(), 'myValue');
- });
-
- it('supports an onClose event', () => {
- const onClose = sinon.spy();
- const tree = shallow( );
- tree.find('Button[variant="clear"]').simulate('click', {});
- const args = onClose.lastCall.args;
- assert.equal(args[0], 'stuff');
- assert.deepEqual(args[1], {});
- });
-
- it('supports keyboard for onClose', () => {
- const spy = sinon.spy();
- const tree = mount( );
- tree.find('.spectrum-Tags-item--deletable').simulate('focus');
- tree.find('.spectrum-Tags-item--deletable').simulate('keyDown', {keyCode: 46});
- assert(spy.called);
- tree.unmount();
- });
-
- it('child button has a valid aria-label', () => {
- const tree = shallow(foo );
- // The button has this label not the Tag
- assert.equal(tree.find('Button[variant="clear"]').prop('aria-label'), 'Remove: foo');
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('myClass'), true);
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('supports an icon', () => {
- const tree = shallow( } />);
- assert(tree.find('.spectrum-Tags-itemIcon').length);
- });
-
- it('supports an avatar', () => {
- const tree = shallow( );
- assert(tree.find('Avatar').length);
- assert.equal(tree.find('Avatar').prop('src'), 'https://www.botlibre.com/media/a12832214.png');
- });
-
- it('adds focus styles correctly when focused', () => {
- const tree = shallow(foo );
- tree.instance().handleButtonFocus();
- assert.equal(tree.state('tagFocused'), true);
- });
-
- it('removes focus styles correctly when blurred', () => {
- const tree = shallow(foo );
- tree.instance().handleButtonFocus();
- assert.equal(tree.state('tagFocused'), true);
- tree.instance().handleButtonBlur();
- assert.equal(tree.state('tagFocused'), false);
- });
-
-
-});
diff --git a/test/TagList/TagList.js b/test/TagList/TagList.js
deleted file mode 100644
index 0068df2f881..00000000000
--- a/test/TagList/TagList.js
+++ /dev/null
@@ -1,218 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {Tag, TagList} from '../../src/TagList';
-
-describe('TagList', () => {
- it('has correct classname when disabled', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).hasClass('is-disabled'), true);
- });
-
- it('has spectrum class', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).hasClass('spectrum-Tags'), true);
- });
-
- it('passes in a custom class', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).hasClass('squid'), true);
- });
-
- it('sets the role', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).prop('role'), 'grid');
- });
-
- it('sets the name', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).prop('name'), 'Friendly');
- });
-
- it('sets the aria-disabled', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).prop('aria-disabled'), true);
- });
-
- it('sets the aria-invalid', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).prop('aria-invalid'), true);
- });
-
- it('sets readOnly', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).prop('readOnly'), true);
- });
-
- it('sets disabled on the element', () => {
- const tree = shallow( );
- assert.equal(findTagList(tree).prop('disabled'), true);
- });
-
- it('sets focused state when onFocus', () => {
- const spy = sinon.spy();
- const tree = shallow( );
- assert.equal(tree.state('focused'), false);
- findTagList(tree).simulate('focus');
- assert(spy.called);
- assert.equal(tree.state('focused'), true);
- });
-
- it('removes focused state when onBlur', () => {
- const spy = sinon.spy();
- const tree = shallow( ).setState({focused: true});
- findTagList(tree).simulate('blur');
- assert(spy.called);
- assert.equal(tree.state('focused'), false);
- });
-
- describe('Children', () => {
- let tree;
- let child1;
- let child2;
-
- function run(props = {}, state = {}) {
- tree = shallow(
-
- Tag 1
- Tag 2
-
- ).setState(state);
- child1 = tree.find('.one');
- child2 = tree.find('.two');
- }
-
- it('supports inline', () => {
- run();
- assert.equal(child1.length, 1);
- });
-
- it('sets selected when focused and selectedIndex exists', () => {
- run({}, {selectedIndex: 1, focused: true});
- assert.equal(child1.prop('selected'), false);
- assert.equal(child2.prop('selected'), true);
- });
-
- it('sets tab index when selectedIndex matches index', () => {
- run({}, {selectedIndex: 1});
- assert.equal(child1.prop('tabIndex'), -1);
- assert.equal(child2.prop('tabIndex'), 0);
- });
-
- it('doesn\'t set tab index when disabled', () => {
- run({disabled: true}, {selectedIndex: 1});
- assert.equal(child1.prop('tabIndex'), -1);
- assert.equal(child2.prop('tabIndex'), -1);
- });
-
- it('sets closable', () => {
- run();
- assert.equal(child1.prop('closable'), true);
- });
-
- it('doest set closable when readOnly', () => {
- run({readOnly: true});
- assert.equal(child1.prop('closable'), false);
- });
-
- it('sets the role', () => {
- run();
- assert.equal(child1.prop('role'), 'gridcell');
- });
-
- it('passes down the onClose', () => {
- const onClose = sinon.spy();
- run({onClose});
- child1.prop('onClose')('Tag 1');
- assert(onClose.calledWith('Tag 1'));
- });
-
- it('supports values', () => {
- run({values: ['test1', 'test2', 'test3']});
- assert.equal(findTagList(tree).children().length, 3);
- });
-
- it('doesnt render passed children with values', () => {
- run({values: ['test1', 'test2']});
- assert.equal(child1.find('div').length, 0);
- });
-
- it('sets the value', () => {
- run({values: ['test1', 'test2']});
- assert.equal(findTagList(tree).childAt(0).prop('value'), 'test1');
- });
-
- it('sets the text', () => {
- run({values: ['test1', 'test2']});
- assert.equal(findTagList(tree).childAt(1).prop('children'), 'test2');
- });
-
- it("triggers tag's onClick handler", () => {
- const onClick = sinon.spy();
- tree = shallow(
-
- Tag 1
- Tag 2
-
- );
- tree.find(Tag).at(0).simulate('click');
- assert(onClick.calledOnce);
- });
-
- describe('Keyboard navigation', () => {
- let tree;
- let tag;
-
- before(() => {
- tree = mount(
-
- Tag 1
- Tag 2
-
- );
- });
-
- after(() => {
- tree.unmount();
- });
-
- it('when ArrowRight key is pressed, focus next tag, ArrowLeft Focuses previous', () => {
- tag = findTagItemAt(tree, 0);
-
- tag.simulate('focus');
- tag.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(findTagItemAt(tree, 1).prop('id'), document.activeElement.id);
-
- tree.update();
-
- tag = findTagItemAt(tree, 1);
- tag.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(findTagItemAt(tree, 0).prop('id'), document.activeElement.id);
- assert.equal(tree.state('selectedIndex'), 0);
-
- });
- });
- });
-});
-
-const findTagList = (tree) => tree.childAt(0);
-const findTagAt = (tree, index) => tree.find(Tag).at(index);
-const findTagItemAt = (tree, index) => findTagAt(findTagList(tree), index);
diff --git a/test/Textarea/Textarea.js b/test/Textarea/Textarea.js
deleted file mode 100644
index 857380d33bc..00000000000
--- a/test/Textarea/Textarea.js
+++ /dev/null
@@ -1,144 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-import Textarea from '../../src/Textarea';
-import Textfield from '../../src/Textfield';
-
-describe('Textarea', () => {
- it('should render a Textfield with multiLine = true', () => {
- const tree = shallow( );
- assert.equal(tree.type(), Textfield);
- assert.equal(tree.prop('multiLine'), true);
- });
-
- it('should render a textarea', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Textfield spectrum-Textfield--multiline');
- });
-
- it('supports defaultValue', () => {
- const tree = shallow( );
- assert(!tree.prop('defaultValue'));
- tree.setProps({defaultValue: 'blah'});
- assert.equal(tree.prop('defaultValue'), 'blah');
- });
-
- it('supports value', () => {
- const tree = shallow( );
- assert(!tree.prop('value'));
- tree.setProps({value: 'blah'});
- assert.equal(tree.prop('value'), 'blah');
- });
-
- it('supports quiet variation', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Textfield spectrum-Textfield--multiline spectrum-Textfield--quiet');
- tree.setProps({quiet: false});
- assert.equal(tree.prop('className'), 'spectrum-Textfield spectrum-Textfield--multiline');
- });
-
- describe('growing quiet variant', () => {
- let e;
- let spy = sinon.spy();
- beforeEach(() => {
-
- const tree = shallow( );
- e = {
- target: {
- scrollHeight: 200,
- style: {}
- }
- };
-
- tree.instance().handleHeightChange(null, e);
- });
-
- it('height should equal scrollHeight', () => {
- assert.equal(e.target.style.height, e.target.scrollHeight + 'px');
- assert(spy.calledOnce);
- });
- });
-
- it('supports name', () => {
- const tree = shallow( );
- assert.equal(tree.prop('name'), 'foo');
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert(!tree.prop('disabled'));
- tree.setProps({disabled: true});
- assert.equal(tree.prop('disabled'), true);
- });
-
- it('supports required', () => {
- const tree = shallow( );
- assert(!tree.prop('required'));
- tree.setProps({required: true});
- assert.equal(tree.prop('required'), true);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- assert(!tree.prop('readOnly'));
- tree.setProps({readOnly: true});
- assert.equal(tree.prop('readOnly'), true);
- });
-
- it('supports invalid', () => {
- const tree = shallow( );
- assert(!tree.prop('aria-invalid'));
- tree.setProps({invalid: true});
- assert.equal(tree.prop('className'), 'spectrum-Textfield spectrum-Textfield--multiline is-invalid');
- assert.equal(tree.prop('aria-invalid'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Textfield spectrum-Textfield--multiline myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('data-foo'), true);
- });
-
- it('supports autoFocus', async () => {
- const tree = mount( );
- assert(!tree.getDOMNode().getAttribute('autoFocus'));
- await sleep(17);
- assert.equal(document.activeElement, tree.getDOMNode());
- tree.unmount();
- });
-
- it('supports onChange event handler', () => {
- const spy = sinon.spy();
- const val = 'foo';
- const tree = mount( );
- tree.getDOMNode().value = val;
- tree.simulate('change');
- assert(spy.calledOnce);
- assert.equal(spy.lastCall.args[0], val);
-
- tree.unmount();
- });
-});
diff --git a/test/Textfield/Textfield.js b/test/Textfield/Textfield.js
deleted file mode 100644
index 170276fe1c6..00000000000
--- a/test/Textfield/Textfield.js
+++ /dev/null
@@ -1,127 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-import Textfield from '../../src/Textfield';
-
-describe('Textfield', () => {
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Textfield');
- });
-
- it('supports defaultValue', () => {
- const tree = shallow( );
- assert(!tree.prop('defaultValue'));
- tree.setProps({defaultValue: 'blah'});
- assert.equal(tree.prop('defaultValue'), 'blah');
- });
-
- it('supports value', () => {
- const tree = shallow( );
- assert(!tree.prop('value'));
- tree.setProps({value: 'blah'});
- assert.equal(tree.prop('value'), 'blah');
- });
-
- it('supports quiet variation', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Textfield spectrum-Textfield--quiet');
- tree.setProps({quiet: false});
- assert.equal(tree.prop('className'), 'spectrum-Textfield');
- });
-
- it('supports name', () => {
- const tree = shallow( );
- assert.equal(tree.prop('name'), 'foo');
- });
-
- it('supports disabled', () => {
- const tree = shallow( );
- assert(!tree.prop('disabled'));
- tree.setProps({disabled: true});
- assert.equal(tree.prop('disabled'), true);
- });
-
- it('supports required', () => {
- const tree = shallow( );
- assert(!tree.prop('required'));
- tree.setProps({required: true});
- assert.equal(tree.prop('required'), true);
- });
-
- it('supports readOnly', () => {
- const tree = shallow( );
- assert(!tree.prop('readOnly'));
- tree.setProps({readOnly: true});
- assert.equal(tree.prop('readOnly'), true);
- });
-
- // Deprecated
- it('supports invalid', () => {
- const tree = shallow( );
- assert(!tree.prop('aria-invalid'));
- tree.setProps({invalid: true});
- assert.equal(tree.prop('className'), 'spectrum-Textfield is-invalid');
- assert.equal(tree.prop('aria-invalid'), true);
- });
-
- it('supports validationState', () => {
- const tree = shallow( );
- tree.setProps({validationState: 'valid'});
- assert.equal(tree.prop('className'), 'spectrum-Textfield is-valid');
- assert(!tree.prop('aria-invalid'));
-
- tree.setProps({validationState: 'invalid'});
- assert.equal(tree.prop('className'), 'spectrum-Textfield is-invalid');
- assert.equal(tree.prop('aria-invalid'), true);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-Textfield myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('data-foo'), true);
- });
-
- it('supports autoFocus', async () => {
- const tree = mount( );
- assert(!tree.getDOMNode().getAttribute('autoFocus'));
- await sleep(17);
- assert.equal(document.activeElement, tree.getDOMNode());
- tree.unmount();
- });
-
- it('supports onChange event handler', () => {
- const spy = sinon.spy();
- const val = 'foo';
- const tree = mount( );
- tree.getDOMNode().value = val;
- tree.simulate('change');
- assert(spy.calledOnce);
- assert.equal(spy.lastCall.args[0], val);
-
- tree.unmount();
- });
-});
diff --git a/test/Toast/Toast.js b/test/Toast/Toast.js
deleted file mode 100644
index 6566eb61f61..00000000000
--- a/test/Toast/Toast.js
+++ /dev/null
@@ -1,100 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-import {Toast} from '../../src/Toast';
-
-describe('Toast', () => {
- it('should render a toast', () => {
- const tree = shallow(Test );
- assert.equal(tree.prop('className'), 'spectrum-Toast');
- assert.equal(tree.text(), 'Test');
- assert.equal(tree.find('button').length, 0);
- });
-
- it('should render a close button', () => {
- const tree = shallow(Test );
- assert.equal(tree.find('button').length, 1);
- assert.equal(tree.find('button').prop('className'), 'spectrum-ClearButton spectrum-ClearButton--medium spectrum-ClearButton--overBackground');
- });
-
- it('should render an action button', () => {
- const tree = shallow(Test );
- assert.equal(tree.find('Button').length, 1);
- assert.equal(tree.find('Button').prop('variant'), 'overBackground');
- });
-
- it('should not show divider when toast has action but is not closable', () => {
- const tree = shallow(Test );
- assert.equal(tree.find('.spectrum-Toast-buttons').length, 0);
- });
-
- it('should render a success variant', () => {
- const tree = shallow(Success );
- assert.equal(tree.prop('className'), 'spectrum-Toast spectrum-Toast--success');
- });
-
- it('should render a info variant', () => {
- const tree = shallow(Info );
- assert.equal(tree.prop('className'), 'spectrum-Toast spectrum-Toast--info');
- });
-
- it('should render a warning variant', () => {
- const tree = shallow(Info );
- assert.equal(tree.prop('className'), 'spectrum-Toast spectrum-Toast--warning');
- });
-
- it('should render a error variant', () => {
- const tree = shallow(Info );
- assert.equal(tree.prop('className'), 'spectrum-Toast spectrum-Toast--error');
- });
-
- describe('events', () => {
- it('onAction is triggered on clicking upon action', () => {
- const onAction = sinon.spy();
- const tree = shallow(Test );
- tree.find('Button').simulate('click');
- assert(onAction.calledOnce);
- });
-
- it('onClose is triggered on closing toast', () => {
- const onClose = sinon.spy();
- const tree = shallow(Test );
- tree.find('button').simulate('click');
- assert(onClose.calledOnce);
- });
-
- it('onAction and onClose is triggered on action where closeOnAction', () => {
- const onClose = sinon.spy();
- const onAction = sinon.spy();
- const tree = shallow(Test );
- tree.find('Button').simulate('click');
- assert(onClose.calledOnce);
- assert(onAction.calledOnce);
- });
-
- it('does not blow up if no onAction or onClose is passed for a closeOnAction', () => {
- const tree = shallow(Test );
- assert.doesNotThrow(() => {
- tree.find('Button').simulate('click');
- });
- });
- });
-});
diff --git a/test/Toast/ToastContainer.js b/test/Toast/ToastContainer.js
deleted file mode 100644
index 4ae3e78394d..00000000000
--- a/test/Toast/ToastContainer.js
+++ /dev/null
@@ -1,257 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {addToast, error, info, removeToast, success, Toast, ToastContainer, warning} from '../../src/Toast';
-import assert from 'assert';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import {setToastPlacement} from '../../src/Toast/js/state';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-
-describe('ToastContainer', () => {
- let clock;
-
- beforeEach(() => {
- clock = sinon.useFakeTimers();
- });
- afterEach(() => {
- clock.runAll();
- clock.restore();
- });
-
- // This is a hack to clean up toast containers after they are rendered and assertions are made.
- const cleanup = () => {
- const nodes = document.querySelectorAll('.react-spectrum-ToastContainer');
- Array.prototype.forEach.call(nodes, node => {
- node.parentNode.removeChild(node);
- });
- };
-
- it('should render toasts', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'react-spectrum-ToastContainer react-spectrum-ToastContainer--top react-spectrum-ToastContainer--center');
- assert.equal(tree.children().length, 0);
-
- const toast = Test ;
- tree.instance().add(toast);
- tree.update();
- assert.equal(tree.children().length, 1);
-
- tree.instance().remove(toast);
- tree.update();
- assert.equal(tree.children().length, 0);
-
- cleanup();
- });
-
- it('should render toasts', () => {
- const tree = shallow( );
- const toast = Test ;
- tree.instance().add(toast);
- tree.update();
- assert.equal(tree.children().length, 1);
-
- clock.tick(6);
- tree.instance().remove(toast);
- tree.update();
- assert.equal(tree.children().length, 0);
-
- cleanup();
- });
-
- it('should pause timer to remove toast when in focus', () => {
- const tree = shallow( );
- assert.equal(tree.children().length, 0);
-
- const closedSpy = sinon.spy();
- tree.instance().add(Test , 5);
- tree.update();
- assert.equal(tree.children().length, 1);
-
- tree.find(Toast).simulate('focus');
- clock.tick(6);
- tree.update();
- assert.equal(tree.children().length, 1);
- assert(!closedSpy.calledOnce);
-
- cleanup();
- });
-
- it('should resume timer to remove toast when focus goes out', () => {
- const tree = shallow( );
- assert.equal(tree.children().length, 0);
-
- const closedSpy = sinon.spy();
- tree.instance().add(Test , 5);
- tree.update();
- assert.equal(tree.children().length, 1);
- clock.tick(3);
- tree.find(Toast).simulate('focus');
- clock.tick(6);
- tree.find(Toast).simulate('blur');
- clock.tick(3);
- tree.update();
- assert.equal(tree.children().length, 0);
- assert(closedSpy.calledOnce);
-
- cleanup();
- });
-
- it('should never remove a toast with timeout 0', () => {
- const tree = shallow( );
- assert.equal(tree.children().length, 0);
-
- const closedSpy = sinon.spy();
- tree.instance().add(Test , 0);
- tree.update();
- assert.equal(tree.children().length, 1);
- clock.tick(5000);
- tree.update();
- assert.equal(tree.children().length, 1);
- assert(closedSpy.notCalled);
-
- cleanup();
- });
-
- it('should remove toasts when the remove button is clicked', () => {
- const tree = shallow( );
- assert.equal(tree.children().length, 0);
-
- const closedSpy = sinon.spy();
- tree.instance().add(Test , 5);
- tree.update();
- assert.equal(tree.children().length, 1);
-
- const event = {data: 'test'};
- tree.find(Toast).simulate('close', event);
- tree.update();
- assert.equal(tree.children().length, 0);
- assert(closedSpy.calledOnce);
- assert(closedSpy.calledWith(event));
- cleanup();
- });
-
- it('should render a global toast container', () => {
- const toast = Test ;
- addToast(toast);
-
- const container = document.querySelector('.react-spectrum-ToastContainer');
- assert(container);
- assert.equal(container.childNodes.length, 1);
- assert(container.childNodes[0].classList.contains('spectrum-Toast'));
-
- removeToast(toast);
- clock.tick(500); // wait for animation
- assert.equal(container.childNodes.length, 0);
- });
-
- it('should render a toast inside custom container', () => {
- const customContainer = ReactDOM.render(
, document.createElement('div'));
- const toast = Test ;
- const customContainerDOM = ReactDOM.findDOMNode(customContainer);
- addToast(toast, 0, customContainerDOM);
- const container = customContainer.childNodes[0].childNodes[0];
- assert(container.classList.contains('react-spectrum-ToastContainer'));
- });
-
- it('should render a success toast', () => {
- success('Success');
-
- const container = document.querySelector('.react-spectrum-ToastContainer');
- const toast = container.querySelector('.spectrum-Toast.spectrum-Toast--success');
- assert(toast);
- assert.equal(toast.textContent, 'Success');
- });
-
- it('should render a warning toast', () => {
- warning('Warning');
-
- const container = document.querySelector('.react-spectrum-ToastContainer');
- const toast = container.querySelector('.spectrum-Toast.spectrum-Toast--warning');
- assert(toast);
- assert.equal(toast.textContent, 'Warning');
- });
-
- it('should render an error toast', () => {
- error('Error');
-
- const container = document.querySelector('.react-spectrum-ToastContainer');
- const toast = container.querySelector('.spectrum-Toast.spectrum-Toast--error');
- assert(toast);
- assert.equal(toast.textContent, 'Error');
- });
-
- it('should render an info toast', () => {
- info('Info');
-
- const container = document.querySelector('.react-spectrum-ToastContainer');
- const toast = container.querySelector('.spectrum-Toast.spectrum-Toast--info');
- assert(toast);
- assert.equal(toast.textContent, 'Info');
- });
-
- describe('should render Toasts according to placement props', () => {
- it('should render toast at top center', () => {
- setToastPlacement('top center');
- const tree = shallow( );
- const toast = Test ;
- tree.instance().add(toast);
- tree.update();
-
- assert.equal(tree.children().length, 1);
- assert.equal(tree.prop('className'), 'react-spectrum-ToastContainer react-spectrum-ToastContainer--top react-spectrum-ToastContainer--center');
- cleanup();
- });
-
- it('should render toast at top left', () => {
- setToastPlacement('top left');
- const tree = shallow( );
- const toast = Test ;
- tree.instance().add(toast);
- tree.update();
-
- assert.equal(tree.children().length, 1);
- assert.equal(tree.prop('className'), 'react-spectrum-ToastContainer react-spectrum-ToastContainer--top react-spectrum-ToastContainer--left');
- cleanup();
- });
-
- it('should render toast at top right', () => {
- setToastPlacement('top right');
- const tree = shallow( );
- const toast = Test ;
- tree.instance().add(toast);
- tree.update();
-
- assert.equal(tree.children().length, 1);
- assert.equal(tree.prop('className'), 'react-spectrum-ToastContainer react-spectrum-ToastContainer--top react-spectrum-ToastContainer--right');
- cleanup();
- });
-
- it('should render toast at bottom', () => {
- setToastPlacement('bottom');
- const tree = shallow( );
- const toast = Test ;
- tree.instance().add(toast);
- tree.update();
-
- assert.equal(tree.children().length, 1);
- assert.equal(tree.prop('className'), 'react-spectrum-ToastContainer react-spectrum-ToastContainer--bottom');
- cleanup();
- });
- });
-});
diff --git a/test/Tooltip/Tooltip.js b/test/Tooltip/Tooltip.js
deleted file mode 100644
index 5661a05c9b2..00000000000
--- a/test/Tooltip/Tooltip.js
+++ /dev/null
@@ -1,48 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Tooltip from '../../src/Tooltip';
-
-describe('Tooltip', () => {
- it('supports different placements', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Tooltip--top'));
- });
-
- it('supports different variants', () => {
- const tree = shallow( );
- assert(tree.hasClass('spectrum-Tooltip--info'));
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert(tree.hasClass('foo'));
- });
-
- it('supports children', () => {
- const tree = shallow(oh hey );
- assert.equal(tree.find('.spectrum-Tooltip-label').prop('children'), 'oh hey');
- });
-
- it('has WAI-ARIA role="tooltip"', () => {
- const tree = shallow(oh hey );
- assert.equal(tree.prop('role'), 'tooltip');
- });
-});
diff --git a/test/Tour/Tour.js b/test/Tour/Tour.js
deleted file mode 100644
index 5906be8347d..00000000000
--- a/test/Tour/Tour.js
+++ /dev/null
@@ -1,208 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import CoachMark from '../../src/CoachMark';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import Tour from '../../src/Tour';
-
-describe('Tour', () => {
- it('default', () => {
- let tree = shallow(
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
- );
-
- assert.equal(tree.props().currentStep, 1);
- assert.equal(tree.props().totalSteps, 3);
- assert.equal(tree.props().cancelLabel, 'Skip Tour');
- assert.equal(tree.props().confirmLabel, 'Next');
- assert.equal(tree.props().dismissible, undefined);
- });
-
- it('dismissible - next', () => {
- let onTourEnd = sinon.spy();
- let tree = shallow(
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
- );
-
- assert.equal(tree.props().currentStep, 1);
- assert.equal(tree.props().totalSteps, 3);
- assert.equal(tree.props().cancelLabel, 'Skip Tour');
- assert.equal(tree.props().confirmLabel, 'Next');
- assert.equal(tree.props().dismissible, true);
-
- for (let i = 1; i <= 3; i++) {
- assert.equal(tree.props().currentStep, i);
- assert.equal(tree.props().totalSteps, 3);
-
- if (i === 3) {
- assert.equal(tree.props().cancelLabel, null);
- assert.equal(tree.props().confirmLabel, 'Done');
- } else {
- assert.equal(tree.props().cancelLabel, 'Skip Tour');
- assert.equal(tree.props().confirmLabel, 'Next');
- }
- assert(!onTourEnd.called);
- tree.instance().onHide('', tree);
- }
-
- assert(onTourEnd.calledWith('complete'));
- assert.equal(tree.html(), null);
- });
-
- it('Should change steps on confirm', () => {
- let onTourEnd = sinon.spy();
- let tree = shallow(
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
- );
-
- for (let i = 1; i <= 3; i++) {
- assert.equal(tree.props().currentStep, i);
- assert.equal(tree.props().totalSteps, 3);
-
- if (i === 3) {
- assert.equal(tree.props().cancelLabel, null);
- assert.equal(tree.props().confirmLabel, 'Done');
- } else {
- assert.equal(tree.props().cancelLabel, 'Skip Tour');
- assert.equal(tree.props().confirmLabel, 'Next');
- }
- assert(!onTourEnd.called);
- tree.instance().onConfirm();
- }
-
- assert(onTourEnd.calledWith('complete'));
- assert.equal(tree.html(), null);
- });
-
- it('Should quit tour on cancel', () => {
- let onTourEnd = sinon.spy();
- let tree = shallow(
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
- );
-
- assert.equal(tree.props().currentStep, 1);
- assert(!onTourEnd.called);
- tree.instance().onCancel();
-
- assert(onTourEnd.calledWith('cancel'));
- assert.equal(tree.html(), null);
- });
- describe('mount required', () => {
- let tree;
- let mountNode;
- beforeEach(() => {
- mountNode = document.createElement('DIV');
- document.body.appendChild(mountNode);
- });
- afterEach(() => {
- if (tree) {
- tree.detach();
- tree = null;
- }
- document.body.removeChild(mountNode);
- });
-
- it('should be dismissible on "skip"', () => {
- let onTourEnd = sinon.spy();
- tree = mount(
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
- ,
- {attachTo: mountNode}
- );
-
- let coachMark = tree.find(CoachMark);
- assert.equal(coachMark.props().currentStep, 1);
- assert.equal(coachMark.props().totalSteps, 3);
- assert.equal(coachMark.find(CoachMark).props().cancelLabel, 'Skip Tour');
- assert.equal(coachMark.find(CoachMark).props().confirmLabel, 'Next');
- assert.equal(coachMark.find(CoachMark).props().dismissible, true);
-
- tree.instance().onHide('', tree.find(CoachMark).instance());
-
- assert(onTourEnd.calledWith('cancel'));
- tree.update();
- assert.equal(tree.html(), null);
- });
-
- it('should be dismissible on "skip" (the OverlayTrigger test)', () => {
- let onTourEnd = sinon.spy();
- tree = mount(
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
-
- This is the Default Coach Mark
-
- ,
- {attachTo: mountNode}
- );
-
- document.querySelectorAll('.spectrum-CoachMarkIndicator')[0].click();
- assert(onTourEnd.calledWith('cancel'));
- tree.update();
- assert.equal(tree.html(), null);
- });
- });
-});
diff --git a/test/TreeDataSource/TreeDataSource.js b/test/TreeDataSource/TreeDataSource.js
deleted file mode 100644
index 8ecda6d81dc..00000000000
--- a/test/TreeDataSource/TreeDataSource.js
+++ /dev/null
@@ -1,78 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import sinon from 'sinon';
-import TreeDataSource from '../../src/TreeDataSource';
-
-function testEvent(event, ...args) {
- let ds = new TreeDataSource;
- sinon.spy(ds, 'emit');
-
- ds[event](...args);
- assert(ds.emit.calledOnce);
- assert.equal(ds.emit.getCall(0).args[0], event);
- assert.deepEqual(ds.emit.getCall(0).args.slice(1), args);
-}
-
-describe('TreeDataSource', function () {
- it('should emit startTransaction', function () {
- testEvent('startTransaction');
- });
-
- it('should emit endTransaction', function () {
- testEvent('endTransaction', true);
- });
-
- it('should emit insertChild', function () {
- testEvent('insertChild', 'foo', 2, 'bar');
- });
-
- it('should emit removeItem', function () {
- testEvent('removeItem', 'foo');
- });
-
- it('should emit moveItem', function () {
- testEvent('moveItem', 'foo', 'bar', 2);
- });
-
- it('should emit reloadItem', function () {
- testEvent('reloadItem', 'foo');
- });
-
- it('should insert items by default on drop', function () {
- let ds = new TreeDataSource;
- sinon.spy(ds, 'emit');
-
- ds.performDrop('foo', 2, null, ['bar', 'baz']);
- assert.deepEqual(ds.emit.getCall(0).args, ['startTransaction']);
- assert.deepEqual(ds.emit.getCall(1).args, ['insertChild', 'foo', 2, 'bar']);
- assert.deepEqual(ds.emit.getCall(2).args, ['insertChild', 'foo', 3, 'baz']);
- assert.deepEqual(ds.emit.getCall(3).args, ['endTransaction', undefined]);
- });
-
- it('should move items by default on drag and drop move', function () {
- let ds = new TreeDataSource;
- sinon.spy(ds, 'emit');
-
- ds.performMove('foo', 2, null, ['bar', 'baz']);
- assert.deepEqual(ds.emit.getCall(0).args, ['startTransaction']);
- assert.deepEqual(ds.emit.getCall(1).args, ['moveItem', 'bar', 'foo', 2]);
- assert.deepEqual(ds.emit.getCall(2).args, ['moveItem', 'baz', 'foo', 3]);
- assert.deepEqual(ds.emit.getCall(3).args, ['endTransaction', undefined]);
- });
-});
diff --git a/test/TreeView/TreeItem.js b/test/TreeView/TreeItem.js
deleted file mode 100644
index 1ac12ca73d3..00000000000
--- a/test/TreeView/TreeItem.js
+++ /dev/null
@@ -1,236 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import ChevronRightMedium from '../../Icon/core/ChevronRightMedium';
-import React from 'react';
-import {shallow} from 'enzyme';
-import sinon from 'sinon';
-import TreeItem from '../../src/TreeView/js/TreeItem';
-
-let root = {
- children: [
- {item: 'world'}
- ]
-};
-
-describe('TreeItem', function () {
- it('should render a non-toggleable item', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
- let icon = wrapper.find(ChevronRightMedium);
- let span = wrapper.find('span');
-
- assert.equal(wrapper.prop('className'), 'spectrum-TreeView-item');
- assert.equal(link.length, 1);
- assert.equal(icon.length, 0);
- assert.equal(span.length, 1);
- assert.equal(span.text(), 'world');
- });
-
- it('should render a toggleable item', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
- let icon = wrapper.find(ChevronRightMedium);
- let span = wrapper.find('span');
-
- assert.equal(wrapper.prop('className'), 'spectrum-TreeView-item');
- assert.equal(link.length, 1);
- assert.equal(icon.length, 1);
- assert.equal(icon.prop('className'), 'spectrum-TreeView-indicator');
- assert.equal(span.length, 1);
- assert.equal(span.text(), 'world');
- });
-
- it('should render an open item', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let content = {index: 0, hasChildren: true, isToggleable: true, isExpanded: true, item: 'world', children: [{item: 'Child 1'}, {item: 'Child 2'}], parent: root};
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
- let icon = wrapper.find(ChevronRightMedium);
- let span = wrapper.find('span');
- let visuallyHidden = wrapper.find('VisuallyHidden');
-
- assert.equal(wrapper.prop('className'), 'spectrum-TreeView-item is-open');
- assert.equal(link.length, 1);
- assert.equal(icon.length, 1);
- assert.equal(icon.prop('className'), 'spectrum-TreeView-indicator');
- assert.equal(span.length, 1);
- assert.equal(span.at(0).text(), 'world');
- assert.equal(visuallyHidden.prop('role'), 'group');
- assert.equal(visuallyHidden.dive().type(), 'span');
- assert.equal(visuallyHidden.dive().prop('className'), 'u-react-spectrum-screenReaderOnly');
- assert.equal(visuallyHidden.prop('id'), link.prop('aria-owns'));
- assert.equal(visuallyHidden.prop('aria-labelledby'), link.prop('id'));
- assert.equal(visuallyHidden.prop('aria-owns'), wrapper.instance().getOwnedChildIds());
- });
-
- it('should render a selected item', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
-
- assert.equal(link.length, 1);
- assert(link.hasClass('is-selected'));
- });
-
- it('should render a drop-target item', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
-
- assert.equal(link.length, 1);
- assert(link.hasClass('is-drop-target'));
- });
-
- it('should pass tree item as a second argument to renderItem', function () {
- let renderItem = (item, content) => {content.isLoading ? 'loading' : item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let span = wrapper.find('span');
-
- assert.equal(span.length, 1);
- assert.equal(span.text(), 'loading');
- });
-
- it('should support clicking anywhere on the item to toggle it if selection is not enabled', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
- let icon = wrapper.find(ChevronRightMedium);
-
- icon.simulate('click');
- assert(!onToggle.called);
-
- link.simulate('click');
- assert(onToggle.calledOnce);
- assert.equal(onToggle.getCall(0).args[0], 'world');
- });
-
- it('should support clicking only on the chevron to toggle if selection is enabled', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let link = wrapper.find('.spectrum-TreeView-itemLink');
- let icon = wrapper.find(ChevronRightMedium);
-
- link.simulate('click');
- assert(!onToggle.called);
-
- icon.simulate('click');
- assert(onToggle.calledOnce);
- assert.equal(onToggle.getCall(0).args[0], 'world');
- });
-
- it('should stop propagation on mouse down on the chevron so selection does not occur', function () {
- let renderItem = (item) => {item} ;
- let onToggle = sinon.spy();
- let wrapper = shallow(
-
- );
-
- let icon = wrapper.find(ChevronRightMedium);
- let stopPropagation = sinon.spy();
- let preventDefault = sinon.spy();
- icon.simulate('mousedown', {stopPropagation, preventDefault});
-
- assert(stopPropagation.calledOnce);
- assert(preventDefault.calledOnce);
- });
-
- describe('focus', () => {
- it('should call focus on treeitem ref', () => {
- let renderItem = (item) => {item} ;
- let wrapper = shallow(
-
- );
- wrapper.instance().treeitem = {
- focus: sinon.spy()
- };
- wrapper.instance().focus();
- assert(wrapper.instance().treeitem.focus.calledOnce);
- });
- });
-});
diff --git a/test/TreeView/TreeView.js b/test/TreeView/TreeView.js
deleted file mode 100644
index 777ac200010..00000000000
--- a/test/TreeView/TreeView.js
+++ /dev/null
@@ -1,264 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {DragTarget, EditableCollectionView, IndexPath} from '@react/collection-view';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-import {TestDataSource, TreeDS} from './TreeViewDataSource';
-import TreeItem from '../../src/TreeView/js/TreeItem';
-import {TreeView} from '../../src/TreeView';
-
-describe('TreeView', function () {
- it('should render an EditableCollectionView', function () {
- let ds = new TreeDS;
- let wrapper = shallow( );
- let collection = wrapper.find(EditableCollectionView);
-
- assert.equal(wrapper.length, 1);
- assert.equal(collection.length, 1);
- });
-
- it('should render some items', async () => {
- let ds = new TestDataSource;
- let renderItem = (item) => {item.name} ;
- let wrapper = shallow(
-
- );
- await sleep(100);
- let collection = wrapper.find(EditableCollectionView);
- assert.equal(collection.prop('dataSource').getSectionLength(0), 2);
- wrapper.unmount();
- });
-
- it('should work with a TreeDataSource', async () => {
- let ds = new TreeDS;
- let renderItem = (item) => {item.name} ;
- let wrapper = shallow(
-
- );
- await sleep(100);
- let collection = wrapper.find(EditableCollectionView);
- assert.equal(collection.prop('dataSource').getSectionLength(0), 2);
- wrapper.unmount();
- });
-
- describe('Accessibility implementation', () => {
- it('should have role="tree"', function () {
- let ds = new TreeDS;
- let wrapper = shallow( );
-
- assert.equal(wrapper.prop('role'), 'tree');
- });
-
- it('should include aria-multiselectable prop when allowsSelection and allowsMultipleSelection are true', function () {
- let ds = new TreeDS;
- let wrapper = shallow( );
-
- assert(!wrapper.prop('aria-multiselectable'));
-
- wrapper.setProps({allowsSelection: true});
-
- assert(!wrapper.prop('aria-multiselectable'));
-
- wrapper.setProps({allowsMultipleSelection: true});
-
- assert.equal(wrapper.prop('aria-multiselectable'), true);
- });
-
- it('should render items when mounted', async () => {
- let dataSource = new TestDataSource;
- await dataSource.loadData();
- let renderItem = (item) => {item.name} ;
- let wrapper = mount(
-
- );
- wrapper.update();
- await sleep(1);
- await dataSource.expandItem(dataSource.getItem(0, 0).item);
- let collection = wrapper.find(EditableCollectionView);
- let node = collection.render().find('.spectrum-TreeView-item > *').first();
- assert(node.hasClass('spectrum-TreeView-itemLink'));
- assert.equal(node.attr('aria-expanded'), 'true');
- assert.equal(node.attr('aria-setsize'), '2');
- assert.equal(node.attr('aria-posinset'), '1');
- assert.equal(node.attr('aria-level'), '1');
- assert.equal(node.attr('role'), 'treeitem');
- assert.equal(node.attr('tabindex'), '0');
- assert.equal(node.attr('id'), wrapper.instance().treeId + '-0-0');
- wrapper.unmount();
- });
- });
-
- describe('renderItemView', function () {
- it('should render a toggleable tree item', function () {
- let ds = new TreeDS;
- let renderItem = (item) => {item.name} ;
- let wrapper = shallow( );
- let item = wrapper.wrap(wrapper.instance().renderItemView('item', {hasChildren: true, isToggleable: true, item: 'world'}));
-
- assert.equal(item.type(), TreeItem);
- assert.deepEqual(item.prop('content'), {hasChildren: true, isToggleable: true, item: 'world'});
- assert.equal(item.prop('renderItem'), renderItem);
- });
- });
-
- describe('getDropTarget', function () {
- it('should call the delegate shouldAcceptDrop function', async function () {
- let delegate = {
- shouldAcceptDrop(item) {
- return item.name === 'Root 1';
- }
- };
-
- let dataSource = new TestDataSource;
- await dataSource.loadData();
-
- let wrapper = shallow( );
- wrapper.instance().collection = {
- getItem(indexPath) {
- return dataSource.getItem(indexPath.section, indexPath.index);
- }
- };
-
- let target = new DragTarget('item', new IndexPath(0, 0));
-
- assert.equal(wrapper.prop('delegate').getDropTarget(target), target);
- assert.equal(wrapper.prop('delegate').getDropTarget(new DragTarget('item', new IndexPath(0, 1))), null);
- });
- });
-
- describe('onToggle event callback', function () {
- it('should fire for items with isToggleable: true && hasChildren: true', async function () {
- let dataSource = new TestDataSource;
- await dataSource.loadData();
-
- let onToggleItem = sinon.spy();
- sinon.stub(dataSource, 'toggleItem');
-
- let wrapper = shallow( );
- let item = wrapper.wrap(wrapper.instance().renderItemView('item', dataSource.getItem(0, 0)));
-
- item.simulate('toggle');
- assert.equal(dataSource.toggleItem.calledOnce, true);
- assert.equal(onToggleItem.calledOnce, true);
- });
-
- it('should not fire for items with isToggleable: false || hasChildren: false', async function () {
- let dataSource = new TestDataSource;
- await dataSource.loadData();
-
- let onToggleItem = sinon.spy();
- sinon.stub(dataSource, 'toggleItem');
-
- let wrapper = shallow( );
- let item = wrapper.wrap(wrapper.instance().renderItemView('item', dataSource.getItem(0, 1)));
-
- item.simulate('toggle');
- assert.equal(dataSource.toggleItem.calledOnce, true);
- assert.equal(onToggleItem.called, false);
-
- let content = dataSource.getItem(0, 0);
- content.isToggleable = false;
- item = wrapper.wrap(wrapper.instance().renderItemView('item', content));
-
- item.simulate('toggle');
- assert.equal(dataSource.toggleItem.calledTwice, true);
- assert.equal(onToggleItem.called, false);
- });
- });
-
- describe('onKeyDown event callback', function () {
- it('should fire for items', async function () {
- let dataSource = new TestDataSource;
- await dataSource.loadData();
-
- let onKeyDown = sinon.spy();
- let keydownCalls = 0;
- sinon.spy(dataSource, 'expandItem');
- sinon.spy(dataSource, 'collapseItem');
-
- let renderItem = (item) => {item.name} ;
-
- let wrapper = shallow( );
- let focusItem = sinon.stub();
- let scrollToItem = sinon.stub();
- wrapper.instance().collection = {
- scrollToItem,
- focusItem
- };
-
- let focusedItem = dataSource.getItem(0, 0);
- wrapper.wrap(wrapper.instance().renderItemView('item', focusedItem));
-
- let focusedItemStub = sinon.stub(wrapper.instance(), 'focusedItem');
- focusedItemStub.get(() => focusedItem.item);
-
- wrapper.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(dataSource.expandItem.calledOnce, true);
- assert.deepEqual(dataSource.expandItem.getCall(0).args[0], focusedItem.item);
- assert.equal(onKeyDown.callCount, ++keydownCalls);
-
- await sleep(100);
-
- wrapper.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(focusItem.callCount, 1);
- assert.deepEqual(focusItem.getCall(0).args[0], new IndexPath(0, 1));
- assert.equal(scrollToItem.callCount, 1);
- assert.deepEqual(scrollToItem.getCall(0).args[0], new IndexPath(0, 1));
- assert.equal(onKeyDown.callCount, ++keydownCalls);
-
- wrapper.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(dataSource.collapseItem.calledOnce, true);
- assert.deepEqual(dataSource.collapseItem.getCall(0).args[0], focusedItem.item);
- assert.equal(onKeyDown.callCount, ++keydownCalls);
-
- await dataSource.expandItem(focusedItem.item);
- focusedItemStub.get(() => dataSource.getItem(0, 2).item);
-
- wrapper.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(focusItem.callCount, 2);
- assert.deepEqual(focusItem.getCall(1).args[0], new IndexPath(0, 0));
- assert.equal(scrollToItem.callCount, 2);
- assert.deepEqual(scrollToItem.getCall(1).args[0], new IndexPath(0, 0));
- assert.equal(onKeyDown.callCount, ++keydownCalls);
-
- wrapper.simulate('keydown', {key: 'End', preventDefault: () => {}});
- assert.equal(focusItem.callCount, 3);
- assert.deepEqual(focusItem.getCall(2).args[0], new IndexPath(0, 3));
- assert.equal(scrollToItem.callCount, 3);
- assert.deepEqual(scrollToItem.getCall(2).args[0], new IndexPath(0, 3));
- assert.equal(onKeyDown.callCount, ++keydownCalls);
-
- wrapper.simulate('keydown', {key: 'Home', preventDefault: () => {}});
- assert.equal(focusItem.callCount, 4);
- assert.deepEqual(focusItem.getCall(3).args[0], new IndexPath(0, 0));
- assert.equal(scrollToItem.callCount, 4);
- assert.deepEqual(scrollToItem.getCall(3).args[0], new IndexPath(0, 0));
- assert.equal(onKeyDown.callCount, ++keydownCalls);
- });
- });
-});
diff --git a/test/TreeView/TreeViewDataSource.js b/test/TreeView/TreeViewDataSource.js
deleted file mode 100644
index 4c4ebfcaf33..00000000000
--- a/test/TreeView/TreeViewDataSource.js
+++ /dev/null
@@ -1,519 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {IndexPath} from '@react/collection-view';
-import TreeDataSource from '../../src/TreeDataSource';
-import {TreeViewDataSource} from '../../src/TreeView';
-
-export var data = [
- {name: 'Root 1', children: [
- {name: 'Child 1', children: [
- {name: 'Child 1 Sub', children: []}
- ]},
- {name: 'Child 2', children: []}
- ]},
- {name: 'Root 2', children: []}
-];
-
-export class TestDataSource extends TreeViewDataSource {
- async getChildren(parent) {
- return parent ? parent.children : data;
- }
-
- hasChildren(parent) {
- return parent.children.length > 0;
- }
-}
-
-export class TreeDS extends TreeDataSource {
- async getChildren(parent) {
- return parent ? parent.children : data;
- }
-
- hasChildren(parent) {
- return parent.children.length > 0;
- }
-
- isItemEqual(a, b) {
- return a.name === b.name;
- }
-}
-
-function testEmitter(emitter) {
- emitter.emittedEvents = [];
-
- emitter.emit = function (...args) {
- emitter.emittedEvents.push(args.map(arg => arg && arg.copy ? arg.copy() : arg));
- };
-}
-
-function checkSortedChildren(node) {
- for (let i = 0; i < node.children.length; i++) {
- assert.equal(node.children[i].index, i);
-
- if (node.children[i].children) {
- checkSortedChildren(node.children[i]);
- }
- }
-}
-
-describe('TreeViewDataSource', function () {
- var ds;
- beforeEach(async function () {
- ds = new TestDataSource;
- await ds.loadData();
- });
-
- it('should load data from a datasource', function (done) {
- var ds = new TestDataSource;
- ds.once('reloadSection', function (section, animated) {
- assert.equal(section, 0);
- assert.equal(animated, false);
-
- assert.equal(ds.getNumberOfSections(), 1);
- assert.equal(ds.getSectionLength(0), data.length);
-
- var item = ds.getItem(0, 0);
- assert.equal(item.item, data[0]);
- assert.equal(item.hasChildren, true);
- assert.equal(item.children, null);
- assert.equal(item.isExpanded, false);
- assert.equal(item.level, 0);
- checkSortedChildren(ds.root);
- done();
- });
- });
-
- it('should emit event after load', function (done) {
- var ds = new TestDataSource;
- ds.once('load', function (section, animated) {
-
- assert.equal(ds.getNumberOfSections(), 1);
- assert.equal(ds.getSectionLength(0), data.length);
-
- var item = ds.getItem(0, 0);
- assert.equal(item.item, data[0]);
- assert.equal(item.hasChildren, true);
- assert.equal(item.children, null);
- assert.equal(item.isExpanded, false);
- assert.equal(item.level, 0);
- done();
- });
- });
-
- it('should getTreeItem', function (done) {
- class NewTestDataSource extends TestDataSource {
- getTreeItem(item, parent) {
- let newItem = super.getTreeItem(item, parent);
- newItem.isExpanded = true;
- return newItem;
- }
- }
- var ds = new NewTestDataSource;
- ds.once('reloadSection', function (section, animated) {
- assert.equal(section, 0);
- assert.equal(animated, false);
-
- assert.equal(ds.getNumberOfSections(), 1);
- assert.equal(ds.getSectionLength(0), 5);
-
- var item = ds.getItem(0, 0);
- assert.equal(item.item, data[0]);
- assert.equal(item.hasChildren, true);
- assert.deepEqual([item.children[0].item, item.children[1].item], data[0].children);
- assert.equal(item.isExpanded, true);
- assert.equal(item.level, 0);
- done();
- });
- });
-
- it('should expand an item', async function () {
- // expand root item
- testEmitter(ds);
- await ds.expandItem(data[0]);
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false], // isExpanded = true
- ['reloadItem', new IndexPath(0, 0), false], // isLoading = true
- ['reloadItem', new IndexPath(0, 0), false], // isLoading = false
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['endTransaction', true]
- ]);
-
- assert.equal(ds.getSectionLength(0), 4);
- assert.equal(ds.getItem(0, 0).isExpanded, true);
-
- let item = ds.getItem(0, 1);
- assert.equal(item.item, data[0].children[0]);
- assert.equal(item.level, 1);
- assert.equal(item.hasChildren, true);
- assert.equal(item.isExpanded, false);
- assert.equal(ds.getItem(0, 2).hasChildren, false);
- checkSortedChildren(ds.root);
-
- // expand child item
- testEmitter(ds);
- await ds.expandItem(data[0].children[0]);
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false], // isExpanded = true
- ['reloadItem', new IndexPath(0, 1), false], // isLoading = true
- ['reloadItem', new IndexPath(0, 1), false], // isLoading = false
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['endTransaction', true]
- ]);
-
- assert.equal(ds.getSectionLength(0), 5);
- assert.equal(ds.getItem(0, 1).isExpanded, true);
-
- item = ds.getItem(0, 2);
- assert.equal(item.item, data[0].children[0].children[0]);
- assert.equal(item.level, 2);
- assert.equal(item.hasChildren, false);
- });
-
- it('should expand an item using isItemEqual comparator', async function () {
- let ds = new TreeViewDataSource(new TreeDS);
- await ds.loadData();
-
- testEmitter(ds);
- await ds.expandItem({name: 'Root 1'});
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false], // isExpanded = true
- ['reloadItem', new IndexPath(0, 0), false], // isLoading = true
- ['reloadItem', new IndexPath(0, 0), false], // isLoading = false
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['endTransaction', true]
- ]);
- });
-
- it('should collapse an item', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.collapseItem(data[0].children[0]);
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false],
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 2), undefined],
- ['endTransaction', true]
- ]);
-
- assert.equal(ds.getSectionLength(0), 4);
- assert.equal(ds.getItem(0, 1).isExpanded, false);
- });
-
- it('should collapse an item using isItemEqual comparator', async function () {
- let ds = new TreeViewDataSource(new TreeDS);
- await ds.loadData();
-
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.collapseItem({name: 'Child 1'});
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false],
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 2), undefined],
- ['endTransaction', true]
- ]);
- });
-
- it('should show expanded children when parent is collapsed and expanded', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.collapseItem(data[0]);
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false],
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['endTransaction', true]
- ]);
-
- assert.equal(ds.getSectionLength(0), 2);
- assert.equal(ds.getItem(0, 0).isExpanded, false);
-
- testEmitter(ds);
- await ds.expandItem(data[0]);
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false],
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['insertItem', new IndexPath(0, 3), undefined],
- ['endTransaction', true]
- ]);
-
- assert.equal(ds.getSectionLength(0), 5);
- });
-
- it('should toggle an item', async function () {
- testEmitter(ds);
- await ds.toggleItem(data[0]);
- await ds.toggleItem(data[0]);
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false], // isExpanded = true
- ['reloadItem', new IndexPath(0, 0), false], // isLoading = true
- ['reloadItem', new IndexPath(0, 0), false], // isLoading = false
- ['startTransaction'],
- ['insertItem', new IndexPath(0, 1), undefined],
- ['insertItem', new IndexPath(0, 2), undefined],
- ['endTransaction', true],
-
- ['reloadItem', new IndexPath(0, 0), false],
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['endTransaction', true]
- ]);
- });
-
- describe('insertChild', function () {
- it('should do nothing if children not yet loaded', async function () {
- testEmitter(ds);
- ds.insertChild(data[1], 0, {name: 'Child 0', children: []});
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false]
- ]);
- });
-
- it('should insert a child', async function () {
- await ds.expandItem(data[0]);
-
- testEmitter(ds);
- ds.insertChild(data[0], 0, {name: 'Child 0', children: []});
-
- assert.deepEqual(ds.emittedEvents, [
- ['insertItem', new IndexPath(0, 1), undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should append a child', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.insertChild(data[0], 2, {name: 'Child 3', children: []});
-
- assert.deepEqual(ds.emittedEvents, [
- ['insertItem', new IndexPath(0, 4), undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should insert into an empty item', async function () {
- await ds.expandItem(data[1]);
-
- testEmitter(ds);
- ds.insertChild(data[1], 0, {name: 'Child 3', children: []});
-
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false],
- ['insertItem', new IndexPath(0, 2), undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should append to the root', async function () {
- testEmitter(ds);
- ds.insertChild(null, 2, {name: 'Root 3', children: []});
-
- assert.deepEqual(ds.emittedEvents, [
- ['insertItem', new IndexPath(0, 2), undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
- });
-
- describe('removeChild', function () {
- it('should do nothing if children not yet loaded', async function () {
- testEmitter(ds);
- ds.removeChild(data[0], 0, {name: 'Child 0', children: []});
- assert.deepEqual(ds.emittedEvents, []);
- });
-
- it('should remove a child', async function () {
- await ds.expandItem(data[0]);
-
- testEmitter(ds);
- ds.removeChild(data[0], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should remove all nested children', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.removeChild(data[0], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
-
- it('should update disclosure indicator if removing last child', async function () {
- await ds.expandItem(data[0]);
- await ds.removeChild(data[0], 0);
-
- testEmitter(ds);
- ds.removeChild(data[0], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 0), false],
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- assert.equal(ds.getItem(0, 0).hasChildren, false);
- });
- });
-
- describe('removeItem', function () {
- it('should remove an item', async function () {
- await ds.expandItem(data[0]);
-
- testEmitter(ds);
- ds.removeItem(data[0].children[0]);
- assert.deepEqual(ds.emittedEvents, [
- ['startTransaction'],
- ['removeItem', new IndexPath(0, 1), undefined],
- ['endTransaction', undefined]
- ]);
-
- checkSortedChildren(ds.root);
- });
- });
-
- describe('moveChild', function () {
- it('should move an item', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.moveChild(data[0], 1, data[0].children[0], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['moveItem', new IndexPath(0, 3), new IndexPath(0, 2), undefined]
- ]);
-
- assert.equal(ds.getItem(0, 2).level, 2);
- checkSortedChildren(ds.root);
- });
-
- it('should reload source parent when moving the last item', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.moveChild(data[0].children[0], 0, data[0], 2);
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false],
- ['moveItem', new IndexPath(0, 2), new IndexPath(0, 3), undefined]
- ]);
-
- assert.equal(ds.getItem(0, 3).level, 1);
- checkSortedChildren(ds.root);
- });
-
- it('should reload destination parent when inserting the first item', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[1]);
-
- testEmitter(ds);
- ds.moveChild(data[0], 1, data[1], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 3), false],
- ['moveItem', new IndexPath(0, 2), new IndexPath(0, 3), undefined]
- ]);
- checkSortedChildren(ds.root);
- });
-
- it('should insert into destination if source is not expanded', async function () {
- await ds.expandItem(data[0]);
- ds.collapseItem(data[0]);
- await ds.expandItem(data[1]);
-
- testEmitter(ds);
- ds.moveChild(data[0], 1, data[1], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['reloadItem', new IndexPath(0, 1), false],
- ['insertItem', new IndexPath(0, 2), undefined]
- ]);
- checkSortedChildren(ds.root);
- });
-
- it('should remove from source if destination is not expanded', async function () {
- await ds.expandItem(data[0]);
-
- testEmitter(ds);
- ds.moveChild(data[0], 1, data[0].children[0], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['removeItem', new IndexPath(0, 2), undefined]
- ]);
- checkSortedChildren(ds.root);
- });
- });
-
- describe('moveItem', function () {
- it('should move an item', async function () {
- await ds.expandItem(data[0]);
- await ds.expandItem(data[0].children[0]);
-
- testEmitter(ds);
- ds.moveItem(data[0].children[1], data[0].children[0], 0);
- assert.deepEqual(ds.emittedEvents, [
- ['moveItem', new IndexPath(0, 3), new IndexPath(0, 2), undefined]
- ]);
-
- assert.equal(ds.getItem(0, 2).level, 2);
- checkSortedChildren(ds.root);
- });
- });
-});
diff --git a/test/TreeView/TreeViewDelegate.js b/test/TreeView/TreeViewDelegate.js
deleted file mode 100644
index 61d9aefa6b4..00000000000
--- a/test/TreeView/TreeViewDelegate.js
+++ /dev/null
@@ -1,137 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {data, TestDataSource} from './TreeViewDataSource';
-import {DragTarget, IndexPath} from '@react/collection-view';
-import sinon from 'sinon';
-import TreeViewDelegate from '../../src/TreeView/js/TreeViewDelegate';
-
-describe('TreeViewDelegate', function () {
- let ds;
- beforeEach(async function () {
- ds = new TestDataSource;
- await ds.loadData();
- });
-
- it('should proxy shouldSelectItem', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- shouldSelectItem: stub
- });
-
- delegate.shouldSelectItem(new IndexPath(0, 0));
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0]]);
- });
-
- it('should proxy shouldDrag', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- shouldDrag: stub
- });
-
- delegate.shouldDrag(new DragTarget('item', new IndexPath(0, 0)), [new IndexPath(0, 0)]);
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0], [data[0]]]);
- });
-
- it('should proxy getAllowedDropOperations', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- getAllowedDropOperations: stub
- });
-
- delegate.getAllowedDropOperations(new DragTarget('item', new IndexPath(0, 0)), [new IndexPath(0, 0)]);
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0], [data[0]]]);
- });
-
- it('should proxy prepareDragData', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- prepareDragData: stub
- });
-
- let dataTransfer = {
- setData: sinon.stub()
- };
-
- delegate.prepareDragData(new DragTarget('item', new IndexPath(0, 0)), dataTransfer, [new IndexPath(0, 0)]);
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0], dataTransfer, [data[0]]]);
- });
-
- it('should set default drag data in prepareDragData', async function () {
- let delegate = new TreeViewDelegate(ds, {});
- let dataTransfer = {
- setData: sinon.stub()
- };
-
- delegate.prepareDragData(new DragTarget('item', new IndexPath(0, 0)), dataTransfer, [new IndexPath(0, 0)]);
- assert(dataTransfer.setData.calledOnce);
- assert.deepEqual(dataTransfer.setData.getCall(0).args, ['CollectionViewData', JSON.stringify([data[0]])]);
- });
-
- it('should support shouldAcceptDrop', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- shouldAcceptDrop: stub
- });
-
- delegate.getDropTarget(new DragTarget('item', new IndexPath(0, 0)));
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0]]);
- });
-
- it('should proxy getDropOperation', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- getDropOperation: stub
- });
-
- delegate.getDropOperation(new DragTarget('item', new IndexPath(0, 0)), 1);
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0], 1]);
- });
-
- it('should proxy itemsForDrop', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- itemsForDrop: stub
- });
-
- let dataTransfer = {
- getData: sinon.stub()
- };
-
- delegate.itemsForDrop(new DragTarget('item', new IndexPath(0, 0)), dataTransfer);
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [data[0], dataTransfer]);
- });
-
- it('should proxy shouldDeleteItems', async function () {
- let stub = sinon.stub().returns(true);
- let delegate = new TreeViewDelegate(ds, {
- shouldDeleteItems: stub
- });
-
- delegate.shouldDeleteItems([new IndexPath(0, 0)]);
- assert(stub.calledOnce);
- assert.deepEqual(stub.getCall(0).args, [[data[0]]]);
- });
-});
diff --git a/test/VisuallyHidden/VisuallyHidden.js b/test/VisuallyHidden/VisuallyHidden.js
deleted file mode 100644
index eadffc3125d..00000000000
--- a/test/VisuallyHidden/VisuallyHidden.js
+++ /dev/null
@@ -1,49 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import VisuallyHidden from '../../src/VisuallyHidden';
-
-describe('VisuallyHidden', () => {
- it('should render a span with the appropriate className', () => {
- const wrapper = shallow(Foo );
- assert(wrapper.hasClass('u-react-spectrum-screenReaderOnly'));
- assert.equal(wrapper.type(), 'span');
- assert.equal(wrapper.text(), 'Foo');
- });
- it('supports custom className', () => {
- const wrapper = shallow(Foo );
- assert(wrapper.hasClass('u-react-spectrum-screenReaderOnly'));
- assert(wrapper.hasClass('custom-class-name'));
- });
- it('supports element prop', () => {
- const wrapper = shallow(Foo );
- assert.equal(wrapper.type(), 'div');
- });
- it('supports focusable prop', () => {
- const wrapper = shallow(Skip to Main Content );
- assert.equal(wrapper.type(), 'a');
- assert(wrapper.hasClass('u-react-spectrum-screenReaderOnly'));
- assert(wrapper.hasClass('is-focusable'));
- assert(wrapper.hasClass('spectrum-Link'));
- assert.equal(wrapper.prop('href'), '#main');
- assert.equal(wrapper.prop('target'), '_self');
- assert(!wrapper.prop('focusable'));
- });
-});
diff --git a/test/Wait/Wait.js b/test/Wait/Wait.js
deleted file mode 100644
index 4c012833e62..00000000000
--- a/test/Wait/Wait.js
+++ /dev/null
@@ -1,117 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Wait from '../../src/Wait';
-
-describe('Wait', () => {
- it('default', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-CircleLoader spectrum-CircleLoader--indeterminate');
- assert.equal(tree.type(), 'div');
- });
-
- it('accessibility props', () => {
- const tree = shallow( );
- assert.equal(tree.prop('role'), 'progressbar');
- assert.equal(tree.prop('aria-valuemin'), 0);
- assert.equal(tree.prop('aria-valuemax'), 100);
- assert.equal(tree.prop('aria-valuenow'), null);
- });
-
- it('accessibility props determinate', () => {
- const tree = shallow( );
- assert.equal(tree.prop('role'), 'progressbar');
- assert.equal(tree.prop('aria-valuemin'), 0);
- assert.equal(tree.prop('aria-valuemax'), 100);
- assert.equal(tree.prop('aria-valuenow'), 75);
- });
-
- it('shows none of the circle for 0%', () => {
- const tree = shallow( );
- const mask1 = tree.find('.spectrum-CircleLoader-fillSubMask1');
- const mask2 = tree.find('.spectrum-CircleLoader-fillSubMask2');
- assert.equal(mask1.prop('style').transform, undefined);
- assert.equal(mask2.prop('style').transform, undefined);
- });
-
- it('shows quarter of the circle for 25%', () => {
- const tree = shallow( );
- const mask1 = tree.find('.spectrum-CircleLoader-fillSubMask1');
- const mask2 = tree.find('.spectrum-CircleLoader-fillSubMask2');
- assert.equal(mask1.prop('style').transform, 'rotate(-90deg)');
- assert.equal(mask2.prop('style').transform, 'rotate(-180deg)');
- });
-
- it('shows half the circle for 50%', () => {
- const tree = shallow( );
- const mask1 = tree.find('.spectrum-CircleLoader-fillSubMask1');
- const mask2 = tree.find('.spectrum-CircleLoader-fillSubMask2');
- assert.equal(mask1.prop('style').transform, 'rotate(0deg)');
- assert.equal(mask2.prop('style').transform, 'rotate(-180deg)');
- });
-
- it('shows quarter of the circle for 75%', () => {
- const tree = shallow( );
- const mask1 = tree.find('.spectrum-CircleLoader-fillSubMask1');
- const mask2 = tree.find('.spectrum-CircleLoader-fillSubMask2');
- assert.equal(mask1.prop('style').transform, 'rotate(0deg)');
- assert.equal(mask2.prop('style').transform, 'rotate(-90deg)');
- });
-
- it('shows all of the circle for 100%', () => {
- const tree = shallow( );
- const mask1 = tree.find('.spectrum-CircleLoader-fillSubMask1');
- const mask2 = tree.find('.spectrum-CircleLoader-fillSubMask2');
- assert.equal(mask1.prop('style').transform, 'rotate(0deg)');
- assert.equal(mask2.prop('style').transform, 'rotate(0deg)');
- });
-
- it('supports size L', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-CircleLoader spectrum-CircleLoader--indeterminate spectrum-CircleLoader--large');
- });
-
- it('supports size S', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-CircleLoader spectrum-CircleLoader--indeterminate spectrum-CircleLoader--small');
- });
-
- it('supports centered', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-CircleLoader spectrum-CircleLoader--indeterminate react-spectrum-Wait--centered');
- });
-
- it('supports overBackground', () => {
- const tree = shallow( );
- assert.equal(tree.hasClass('spectrum-CircleLoader--overBackground'), true);
- tree.setProps({variant: null});
- assert.equal(tree.hasClass('spectrum-CircleLoader--overBackground'), false);
- });
-
- it('supports additional classNames', () => {
- const tree = shallow( );
- assert.equal(tree.prop('className'), 'spectrum-CircleLoader spectrum-CircleLoader--indeterminate myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow( );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-});
diff --git a/test/Well/Well.js b/test/Well/Well.js
deleted file mode 100644
index 231f9c890f6..00000000000
--- a/test/Well/Well.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import React from 'react';
-import {shallow} from 'enzyme';
-import Well from '../../src/Well';
-
-describe('Well', () => {
- it('supports additional classNames', () => {
- const tree = shallow(Testing );
- assert.equal(tree.prop('className'), 'spectrum-Well myClass');
- });
-
- it('supports additional properties', () => {
- const tree = shallow(My Well );
- assert.equal(tree.prop('aria-hidden'), true);
- });
-
- it('supports children', () => {
- const tree = shallow(My Well );
- assert.equal(tree.childAt(0).text(), 'My Well');
- });
-});
diff --git a/test/mocha.opts b/test/mocha.opts
deleted file mode 100644
index 1be0cede4b5..00000000000
--- a/test/mocha.opts
+++ /dev/null
@@ -1,8 +0,0 @@
---require @babel/register
---require @babel/core
---require ignore-styles
---require core-js/stable
---require regenerator-runtime/runtime
---require ./test/.setup.js
---recursive
-"./test/**/!(*.test).js"
diff --git a/test/utils.js b/test/utils.js
deleted file mode 100644
index 6b3081b3bf2..00000000000
--- a/test/utils.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-export function sleep(ms) {
- return new Promise(resolve => setTimeout(resolve, ms));
-}
-
-export function rAF(func = () => {}) {
- return new Promise(
- resolve => requestAnimationFrame(
- () => {
- func();
- resolve();
- }
- )
- );
-}
-
-export function nextEventLoopIteration() {
- return new Promise(resolve => process.nextTick(resolve));
-}
diff --git a/test/utils/CollectionView.js b/test/utils/CollectionView.js
deleted file mode 100644
index 48348bbd789..00000000000
--- a/test/utils/CollectionView.js
+++ /dev/null
@@ -1,505 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import CollectionView from '../../src/utils/CollectionView';
-import {DragTarget, EditableCollectionView, IndexPath, Point, Size} from '@react/collection-view';
-import GridLayout from '../../src/GridView/js/GridLayout';
-import ListDataSource from '../../src/ListDataSource';
-import {mount, shallow} from 'enzyme';
-import Provider from '../../src/Provider';
-import React from 'react';
-import sinon, {stub} from 'sinon';
-import {sleep} from '../utils';
-import Wait from '../../src/Wait';
-
-
-describe('CollectionView', function () {
- class TableDS extends ListDataSource {
- load() {
- return [
- {active: true, name: 'test'},
- {active: false, name: 'foo'},
- {active: true, name: 'bar'},
- {active: false, name: 'baz'}
- ];
- }
- }
-
- let layout = new GridLayout();
- let ds;
- beforeEach(function () {
- ds = new TableDS;
- });
-
- function renderItemView(type, data) {
- return {data.name}
;
- }
-
- it('should pass correct props to EditableCollectionView', function () {
- const collectionView = shallow(
-
- );
-
- assert.equal(collectionView.type(), EditableCollectionView);
- assert.equal(collectionView.prop('dataSource'), ds);
- assert.equal(collectionView.prop('canSelectItems'), true);
- assert.equal(collectionView.prop('allowsMultipleSelection'), true);
- assert.deepEqual(collectionView.prop('selectedIndexPaths'), [new IndexPath(0, 0)]);
- });
-
- it('should render an item view using props', function () {
- const table = shallow(
-
- );
- let wrapper = table.wrap(table.prop('delegate').renderItemView('foo', {name: 'test'}));
- assert.equal(wrapper.html(), 'test
');
- });
-
- it('should render a loading-indicator supplementary view', function () {
- const table = shallow(
-
- );
- let wrapper = table.wrap(table.prop('delegate').renderSupplementaryView('loading-indicator'));
- assert.equal(wrapper.type(), Wait);
- assert.equal(wrapper.prop('centered'), true);
- assert.equal(wrapper.prop('size'), 'M');
- });
-
- it('should render a empty-view supplementary view using renderEmptyView prop', function () {
- const table = shallow(
- empty
} />
- );
- let wrapper = table.wrap(table.prop('delegate').renderSupplementaryView('empty-view'));
- assert.equal(wrapper.html(), 'empty
');
- });
-
- it('should render other supplementary views using a prop', function () {
- const table = shallow(
- test
} />
- );
- let wrapper = table.wrap(table.prop('delegate').renderSupplementaryView('foo'));
- assert.equal(wrapper.html(), 'test
');
- });
-
- it.skip('should reload an empty-view on update', function () {
- let table = shallow(
- empty
} />
- );
-
- let reload = sinon.spy();
- table.instance().collection = {
- relayout() {},
- reloadSupplementaryViewsOfType: reload
- };
-
- table.setProps({});
- table.update();
- assert.equal(reload.callCount, 1);
- assert.equal(reload.getCall(0).args[0], 'empty-view');
- });
-
- it('should call performLoad on mount', async function () {
- let load = sinon.spy(ds, 'performLoad');
- shallow(
-
- );
-
- await sleep(100);
- assert.equal(load.callCount, 1);
-
- load.restore();
- });
-
- it('should call performLoad when the data source changes', async function () {
- const table = shallow(
-
- );
-
- await sleep(100);
-
- let newDS = new TableDS;
- let load = sinon.spy(newDS, 'performLoad');
- table.setProps({dataSource: newDS});
-
- await sleep(100);
- assert.equal(load.callCount, 1);
-
- load.restore();
- });
-
- it('should call performLoad when the reloadData event is emitted by the data source', async function () {
- let load = sinon.spy(ds, 'performLoad');
- shallow(
-
- );
-
- await sleep(100);
- assert.equal(load.callCount, 1);
-
- ds.reloadData();
- await sleep(100);
- assert.equal(load.callCount, 2);
-
- load.restore();
- });
-
- it('should only relayout if the finished request is the latest request', async function () {
- let i = 0;
- ds.load = async function () {
- // simulate a request taking a certain length of time and requests are made before previous has finished
- await sleep(++i * 50);
- return [];
- };
- let load = sinon.spy(ds, 'performLoad');
- let tree = shallow(
-
- );
- const tableInstance = tree.instance();
- tableInstance.collection = {relayout: function () {}};
-
- ds.reloadData();
- ds.reloadData();
- await sleep(105); // after 2nd reloadData
- assert.equal(load.callCount, 3);
- assert.equal(tableInstance.isLoading, true);
- await sleep(50); // after 3rd reloadData
- assert.equal(tableInstance.isLoading, false);
- });
-
- it('should relayout once last request returns even if previous loads haven\'t', async function () {
- let i = 0;
- ds.load = async function () {
- // simulate earlier requests taking longer than subsequent requests
- await sleep(30 - ++i * 10);
- return [];
- };
- let load = sinon.spy(ds, 'performLoad');
- let tree = shallow(
-
- );
- const tableInstance = tree.instance();
- tableInstance.collection = {relayout: function () {}};
- let relayoutSpy = sinon.spy(tableInstance.collection, 'relayout');
-
- ds.reloadData();
- assert.equal(relayoutSpy.callCount, 1); // + relayout - show wait
- await sleep(15); // after 2nd load finishes
- assert.equal(relayoutSpy.callCount, 2); // + relayout - show results of 2nd load
- assert.equal(load.callCount, 2);
- assert.equal(tableInstance.isLoading, false);
- await sleep(10); // after 1st load finishes
- assert.equal(relayoutSpy.callCount, 2); // should not call relayout after 1st load finishes
- });
-
- it('should reset hasMore to true when collection data is reloaded', async function () {
- let collectionView = shallow(
-
- );
- collectionView.instance().hasMore = false;
- ds.reloadData();
- assert.equal(collectionView.instance().hasMore, true);
- });
-
- it('should call performSort on the data source when sortDescriptor prop changes', async function () {
- const load = sinon.spy(ds, 'load');
- const performSort = sinon.spy(ds, 'performSort');
- const onSortChange = sinon.spy();
- const table = shallow(
-
- );
-
- await sleep(100);
- assert.equal(load.callCount, 1);
- assert.deepEqual(load.getCall(0).args[0], {column: 'foo', direction: -1});
-
- // Ensure that setting the sort descriptor to an equal sort descriptor does not do anything
- table.setProps({sortDescriptor: {column: 'foo', direction: -1}});
- await sleep(100);
- assert.equal(load.callCount, 1);
- assert.equal(performSort.callCount, 0);
-
- // Ensure that changing the sort descriptor causes performSort and load to be called
- table.setProps({sortDescriptor: {column: 'bar', direction: 1}});
- await sleep(100);
-
- assert.equal(performSort.callCount, 1);
- assert.deepEqual(performSort.getCall(0).args[0], {column: 'bar', direction: 1});
-
- assert.equal(load.callCount, 2);
- assert.deepEqual(load.getCall(1).args[0], {column: 'bar', direction: 1});
-
- // Ensure that changing the sort descriptor to null works properly
- table.setProps({sortDescriptor: null});
- await sleep(100);
-
- assert.equal(performSort.callCount, 2);
- assert.deepEqual(performSort.getCall(1).args[0], null);
-
- assert.equal(load.callCount, 3);
- assert.deepEqual(load.getCall(2).args[0], null);
-
- load.restore();
- performSort.restore();
- });
-
- it('should have collection ref when mounted', () => {
- const table = mount(
-
- );
-
- assert(table.instance().collection);
- table.unmount();
- });
-
- it('should render an infiniteScroll collection view', async function () {
- const loadMoreStub = stub(ds, 'loadMore').callsFake(() => {});
- const tree = shallow(
-
- );
- const tableInstance = tree.instance();
-
- // shallow doesn't render down far enough to make this, so create the collection instance
- tableInstance.collection = {relayout: () => {}, contentOffset: new Point(0, 0), contentSize: new Size(100, 1000), size: new Size(100, 100), dataSource: ds};
- tree.find(EditableCollectionView).simulate('scroll');
- await sleep(100);
-
- assert.equal(loadMoreStub.callCount, 0);
-
- tableInstance.collection.contentOffset = new Point(0, 900);
- tree.find(EditableCollectionView).simulate('scroll');
- await sleep(100);
-
- assert.equal(loadMoreStub.callCount, 1);
- });
-
- it('should not scroll when isLoading is true', async function () {
- const loadMoreStub = stub(ds, 'loadMore').callsFake(() => {});
- ds.isLoading = true;
- const tree = shallow(
-
- );
- const tableInstance = tree.instance();
- tableInstance.collection = {relayout: () => {}, contentOffset: new Point(0, 900), contentSize: new Size(100, 1000), size: new Size(100, 100), dataSource: ds};
- assert.equal(loadMoreStub.callCount, 0);
-
- tree.find(EditableCollectionView).simulate('scroll');
- await sleep(100);
-
- assert.equal(loadMoreStub.callCount, 0);
- });
-
- it('should support dragging rows', async function () {
- const tree = shallow(
-
- );
-
- await sleep(100);
- assert.equal(tree.find(EditableCollectionView).prop('canDragItems'), true);
-
- tree.instance().collection = {
- relayout: () => {},
- getItemView: (indexPath) => ({
- children: [
- tree.prop('delegate').renderItemView('item', ds.getItem(indexPath.section, indexPath.index))
- ],
- layoutInfo: {
- rect: {
- width: 100,
- height: 50
- }
- }
- })
- };
-
- let Wrapper = (props) => props.children;
- let dragView = shallow({tree.prop('delegate').renderDragView(new DragTarget('item', new IndexPath(0, 0)))} );
- assert.equal(dragView.type(), Provider);
- assert.equal(dragView.prop('theme'), 'light');
- assert.equal(dragView.find('div').length, 1);
- });
-
- it('should pass the correct theme to the drag view from the context', async function () {
- const tree = shallow(
-
- , {context: {theme: 'dark'}});
-
- await sleep(100);
- tree.instance().collection = {
- relayout: () => {},
- getItemView: (indexPath) => ({
- children: [
- tree.prop('delegate').renderItemView('item', ds.getItem(indexPath.section, indexPath.index))
- ],
- layoutInfo: {
- rect: {
- width: 100,
- height: 50
- }
- }
- })
- };
-
- let dragView = tree.wrap(tree.prop('delegate').renderDragView(new DragTarget('item', new IndexPath(0, 0))));
- assert.equal(dragView.type(), Provider);
- assert.equal(dragView.prop('theme'), 'dark');
- assert.deepEqual(dragView.prop('style'), {
- background: 'transparent',
- width: 100,
- height: 50
- });
- });
-
- it('should support custom drag views', function () {
- const tree = shallow(
- Drag view
} />
- );
-
- tree.instance().collection = {
- relayout: () => {},
- selectedIndexPaths: []
- };
-
- let Wrapper = (props) => props.children;
- let dragView = shallow({tree.prop('delegate').renderDragView(new DragTarget('item', new IndexPath(0, 0)))} );
- assert.equal(dragView.find('div').length, 1);
- assert.equal(dragView.find('div').text(), 'Drag view');
- });
-
- it('should support drag and drop onto the collection view with dropPosition="on"', function () {
- const tree = shallow(
-
- );
-
- tree.instance().collection = {getSectionLength: () => 0, relayout() {}, reloadSupplementaryViewsOfType() {}};
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), false);
-
- tree.instance().dropTargetUpdated(new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- tree.update();
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), true);
-
- tree.instance().dropTargetUpdated(new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_ON));
- tree.update();
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), false);
- });
-
- it('should not highlight the collection view with dropPosition="between"', function () {
- const tree = shallow(
-
- );
-
- tree.instance().collection = {getSectionLength: () => 10, relayout() {}};
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), false);
-
- tree.instance().dropTargetUpdated(new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- tree.update();
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), false);
- });
-
- it('should highlight the collection view if empty with dropPosition="between"', function () {
- const tree = shallow(
-
- );
-
- tree.instance().collection = {getSectionLength: () => 0, relayout() {}, reloadSupplementaryViewsOfType() {}};
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), false);
-
- tree.instance().dropTargetUpdated(new DragTarget('item', new IndexPath(0, 0), DragTarget.DROP_BETWEEN));
- tree.update();
- assert.equal(tree.find(EditableCollectionView).hasClass('is-drop-target'), true);
- });
-});
diff --git a/test/utils/FocusManager.js b/test/utils/FocusManager.js
deleted file mode 100644
index 81e94a7c7dd..00000000000
--- a/test/utils/FocusManager.js
+++ /dev/null
@@ -1,607 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import FocusManager from '../../src/utils/FocusManager';
-import {mount} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-import {sleep} from '../utils';
-
-describe('FocusManager', function () {
- let tree;
- beforeEach(() => {
- tree = mount(
-
-
- Item 1
- Item 2
- Item 3
- Item 4
-
-
- );
- });
-
- afterEach(() => {
- if (tree.exists()) {
- tree.unmount();
- }
- });
-
- it('when ArrowDown key is pressed, focus next not disabled item', () => {
- let item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
-
- item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'Down', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'Down', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowDown key is pressed on last item, focus first not disabled item', () => {
- let item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'ArrowDown', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
-
- item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'Down', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowUp key is pressed, focus previous not disabled item', () => {
- let item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'ArrowUp', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'ArrowUp', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
-
- item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'Up', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'Up', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowUp key is pressed on first item, focus last not disabled item', () => {
- let item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'ArrowUp', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
-
- tree.find('.item').at(0);
- item.simulate('keydown', {key: 'Up', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- });
-
-
- it('when End key is pressed, focus last not disabled item', () => {
- let item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'End', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- });
-
- it('when Home key is pressed, focus first not disabled item', () => {
- let item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'Home', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- });
-
- describe('orientation="horizontal"', () => {
- beforeEach(() => {
- tree.setProps({orientation: 'horizontal'});
- });
- it('when ArrowRight key is pressed with orientation="horizontal", focus next not disabled item', () => {
- let item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
-
- item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'Right', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'Right', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowRight key is pressed on last item, focus first not disabled item', () => {
- let item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
-
- item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'Right', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowLeft key is pressed, focus previous not disabled item', () => {
- let item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
-
- item = tree.find('.item').at(3);
- item.simulate('keydown', {key: 'Left', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- item = tree.find('.item').at(2);
- item.simulate('keydown', {key: 'Left', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowLeft key is pressed on first item, focus last not disabled item', () => {
- let item = tree.find('.item').at(0);
- item.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
-
- tree.find('.item').at(0);
- item.simulate('keydown', {key: 'Left', preventDefault: () => {}});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- });
- });
-
- it('when PageDown/PageUp key is pressed, focus first item on next/previous page', () => {
- const itemHeight = 32;
- const list = tree.find('ul');
- const listNode = list.getDOMNode();
- const items = tree.find('.item');
- let itemNode;
- const stubs = [];
- stubs.push(sinon.stub(listNode, 'clientHeight').get(() => itemHeight * 2));
- stubs.push(sinon.stub(listNode, 'scrollHeight').get(() => itemHeight * items.length));
-
- items.forEach((item, index) => {
- itemNode = item.getDOMNode();
- stubs.push(sinon.stub(itemNode, 'offsetHeight').get(() => itemHeight));
- stubs.push(sinon.stub(itemNode, 'offsetTop').get(() => itemHeight * index));
- });
-
- // PageDown
- items.at(0).simulate('keydown', {key: 'PageDown', preventDefault: () => {}});
- assert.equal(items.at(2).getDOMNode(), document.activeElement);
- items.at(2).simulate('keydown', {key: 'PageDown', preventDefault: () => {}});
- assert.equal(items.at(3).getDOMNode(), document.activeElement);
-
- // PageUp
- items.at(3).simulate('keydown', {key: 'PageUp', preventDefault: () => {}});
- assert.equal(items.at(0).getDOMNode(), document.activeElement);
-
- // When there is no scrolling
- stubs[0] = stubs[0].get(() => itemHeight * items.length);
- stubs[1] = stubs[1].get(() => itemHeight * items.length);
- items.at(0).simulate('keydown', {key: 'PageDown', preventDefault: () => {}});
- assert.equal(items.at(3).getDOMNode(), document.activeElement);
- items.at(3).simulate('keydown', {key: 'PageUp', preventDefault: () => {}});
- assert.equal(items.at(0).getDOMNode(), document.activeElement);
-
- stubs.forEach(stub => {
- stub.restore();
- stub.resetHistory();
- });
- });
-
- describe('ignorePageUpPageDown = true', () => {
- it('should ignore PageUp and PageDown events', () => {
- tree.setProps({ignorePageUpPageDown: true});
- const itemHeight = 32;
- const list = tree.find('ul');
- const listNode = list.getDOMNode();
- const items = tree.find('.item');
- let itemNode;
- const stubs = [];
- stubs.push(sinon.stub(listNode, 'clientHeight').get(() => itemHeight * 2));
- stubs.push(sinon.stub(listNode, 'scrollHeight').get(() => itemHeight * items.length));
-
- items.forEach((item, index) => {
- itemNode = item.getDOMNode();
- stubs.push(sinon.stub(itemNode, 'offsetHeight').get(() => itemHeight));
- stubs.push(sinon.stub(itemNode, 'offsetTop').get(() => itemHeight * index));
- });
-
- // PageDown
- items.at(0).getDOMNode().focus();
- items.at(0).simulate('keydown', {key: 'PageDown', preventDefault: () => {}});
- assert.equal(items.at(0).getDOMNode(), document.activeElement);
-
- // PageUp
- items.at(3).getDOMNode().focus();
- items.at(3).simulate('keydown', {key: 'PageUp', preventDefault: () => {}});
- assert.equal(items.at(3).getDOMNode(), document.activeElement);
-
- stubs.forEach(stub => {
- stub.restore();
- stub.resetHistory();
- });
- tree.unmount();
- });
- });
-
- describe('ignorePageUpPageDown = true', () => {
- it('should ignore PageUp and PageDown events', () => {
- tree.setProps({ignorePageUpPageDown: true});
- const itemHeight = 32;
- const list = tree.find('ul');
- const listNode = list.getDOMNode();
- const items = tree.find('.item');
- let itemNode;
- const stubs = [];
- stubs.push(sinon.stub(listNode, 'clientHeight').get(() => itemHeight * 2));
- stubs.push(sinon.stub(listNode, 'scrollHeight').get(() => itemHeight * items.length));
-
- items.forEach((item, index) => {
- itemNode = item.getDOMNode();
- stubs.push(sinon.stub(itemNode, 'offsetHeight').get(() => itemHeight));
- stubs.push(sinon.stub(itemNode, 'offsetTop').get(() => itemHeight * index));
- });
-
- // PageDown
- items.at(0).getDOMNode().focus();
- items.at(0).simulate('keydown', {key: 'PageDown', preventDefault: () => {}});
- assert.equal(items.at(0).getDOMNode(), document.activeElement);
-
- // PageUp
- items.at(3).getDOMNode().focus();
- items.at(3).simulate('keydown', {key: 'PageUp', preventDefault: () => {}});
- assert.equal(items.at(3).getDOMNode(), document.activeElement);
-
- stubs.forEach(stub => {
- stub.restore();
- stub.resetHistory();
- });
- tree.unmount();
- });
- });
-
- describe('onFocus', () => {
- it('should support default manageTabIndex=true when items receive focus', () => {
- let items = tree.find('.item');
- let item = items.at(0);
- item.simulate('focus');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 0 ? 0 : -1);
- });
- });
-
- it('should not change tabIndex when items receive focus if manageTabIndex=false', () => {
- tree.setProps({manageTabIndex: false});
- let items = tree.find('.item');
- let item = items.at(0);
- item.simulate('focus');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, -1);
- });
- });
- });
-
- describe('onBlur', () => {
- it('should support default manageTabIndex=true when items lose focus', () => {
- tree.setProps({selectedItemSelector: '.item.selected'});
- let items = tree.find('.item');
- let item = items.at(0);
-
- // with no item selected
- item.simulate('focus');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 0 ? 0 : -1);
- });
- item.simulate('blur');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 0 ? 0 : -1);
- });
-
- // with items selected
- item.getDOMNode().classList.add('selected');
- items.at(3).getDOMNode().classList.add('selected');
-
- // focus a not selected item
- item = items.at(2);
- item.simulate('focus');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 2 ? 0 : -1);
- });
-
- // on blur from not selected item, all selected items should have tabIndex === 0
- item.simulate('blur');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 0 || index === 3 ? 0 : -1);
- });
-
- // focus a selected item
- item = items.at(3);
- item.simulate('focus');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 3 ? 0 : -1);
- });
-
- // on blur from a selected item, just the blurred selected item should have tabIndex === 0
- item.simulate('blur');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, index === 3 ? 0 : -1);
- });
- });
-
- it('should not change tabIndex when items lose focus if manageTabIndex=false', () => {
- tree.setProps({manageTabIndex: false});
- let items = tree.find('.item');
- let item = items.at(0);
- item.simulate('focus');
- item.simulate('blur');
- items.forEach((item, index) => {
- assert.equal(item.getDOMNode().tabIndex, -1);
- });
- });
- });
-
- describe('autoFocus', () => {
- it('should set focus the first item by default when component mounts', (done) => {
- tree.setProps({autoFocus: true});
- tree.instance().componentDidMount();
- setTimeout(() => {
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- done();
- }, 20);
- });
-
- it('should set focus the first selected item when component mounts if selectedItemSelector is defined', (done) => {
- tree.setProps({autoFocus: true, selectedItemSelector: '.item.selected'});
- let item = tree.find('.item').at(2);
- item.getDOMNode().classList.add('selected');
- tree.instance().componentDidMount();
- setTimeout(() => {
- assert.equal(item.getDOMNode(), document.activeElement);
- item.getDOMNode().classList.remove('selected');
- tree.instance().componentDidMount();
- setTimeout(() => {
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- done();
- }, 20);
- }, 20);
- });
- });
-
- it('should not add event handlers if disabled', () => {
- tree.setProps({disabled: true});
- assert.equal(tree.find('ul').prop('onKeyDown'), null);
- assert.equal(tree.find('ul').prop('onFocus'), null);
- assert.equal(tree.find('ul').prop('onBlur'), null);
- });
-
- describe('typeToSelect', () => {
- beforeEach(() => {
- tree = mount(
-
-
- Afghanistan
- Åland Islands
- Albania
- Côte d'Ivoire
- Curaçao
- Korea, Democratic People's Republic of
- Korea, Republic of
- United Arab Emirates
- United Kingdom
- United States
-
-
- );
- });
-
- afterEach(() => {
- if (tree.exists()) {
- tree.unmount();
- }
- });
-
- it('should be false by default', () => {
- assert.equal(tree.prop('typeToSelect'), false);
- assert.equal(tree.find('ul').prop('onKeyPress'), null);
- });
-
- it('should add onKeyPress event handler if true', () => {
- tree.setProps({typeToSelect: true});
- assert.equal(typeof tree.find('ul').prop('onKeyPress'), 'function');
- });
-
- it('should navigate between items when characters are typed', async () => {
- tree.setProps({typeToSelect: true});
- tree.find('.item').at(9).simulate('keypress', {charCode: 65});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- tree.find('.item').at(0).simulate('keypress', {charCode: 65});
- assert.equal(tree.find('.item').at(1).getDOMNode(), document.activeElement);
- tree.find('.item').at(1).simulate('keypress', {charCode: 65});
- assert.equal(tree.find('.item').at(2).getDOMNode(), document.activeElement);
- tree.find('.item').at(2).simulate('keypress', {charCode: 65, shiftKey: true});
- assert.equal(tree.find('.item').at(1).getDOMNode(), document.activeElement);
- tree.find('.item').at(1).simulate('keypress', {charCode: 197, shiftKey: true});
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- await sleep(500);
- tree.find('.item').at(0).simulate('keypress', {charCode: 67});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 244});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 116});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 101});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 32});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 100});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 39});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- tree.find('.item').at(3).simulate('keypress', {charCode: 73});
- assert.equal(tree.find('.item').at(3).getDOMNode(), document.activeElement);
- await sleep(500);
- tree.find('.item').at(0).simulate('keypress', {charCode: 85});
- assert.equal(tree.find('.item').at(7).getDOMNode(), document.activeElement);
- tree.find('.item').at(7).simulate('keypress', {charCode: 85});
- assert.equal(tree.find('.item').at(8).getDOMNode(), document.activeElement);
- tree.find('.item').at(8).simulate('keypress', {charCode: 85});
- assert.equal(tree.find('.item').at(9).getDOMNode(), document.activeElement);
- tree.find('.item').at(9).simulate('keypress', {charCode: 85});
- assert.equal(tree.find('.item').at(7).getDOMNode(), document.activeElement);
- });
- });
-
- describe('stopPropagation of events', () => {
- const onKeyDownSpy = sinon.spy();
- const onKeyDownProp = e => {
- e.stopPropagation();
- onKeyDownSpy(e);
- };
- const onKeyPressSpy = sinon.spy();
- const onKeyPressProp = e => {
- e.stopPropagation();
- onKeyPressSpy(e);
- };
- const onFocusSpy = sinon.spy();
- const onFocusProp = e => {
- e.stopPropagation();
- onFocusSpy(e);
- };
- const onBlurSpy = sinon.spy();
- const onBlurProp = e => {
- e.stopPropagation();
- onBlurSpy(e);
- };
- beforeEach(() => {
- tree = mount(
-
-
- Afghanistan
- Åland Islands
- Albania
- Côte d'Ivoire
- Curaçao
- Korea, Democratic People's Republic of
- Korea, Republic of
- United Arab Emirates
- United Kingdom
- United States
-
-
- );
- });
-
- afterEach(() => {
- tree.unmount();
- });
-
- it('should not execute FocusManager event handlers', () => {
- tree.find('.item').at(0).getDOMNode().focus();
- tree.find('.item').at(0).simulate('focus', {stopPropagation: () => {}, isPropagationStopped: () => true});
- assert(onFocusSpy.called);
- tree.find('.item').at(0).getDOMNode().blur();
- tree.find('.item').at(0).simulate('blur', {stopPropagation: () => {}, isPropagationStopped: () => true});
- assert(onBlurSpy.called);
- tree.find('.item').at(0).getDOMNode().focus();
- tree.find('.item').at(0).simulate('keypress', {charCode: 65, stopPropagation: () => {}, isPropagationStopped: () => true});
- assert(onKeyPressSpy.called);
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- tree.find('.item').at(0).simulate('keydown', {key: 'ArrowDown', stopPropagation: () => {}, isPropagationStopped: () => true});
- assert(onKeyDownSpy.called);
- assert.equal(tree.find('.item').at(0).getDOMNode(), document.activeElement);
- });
- });
-
- describe('includeSelf', () => {
- let itemSelector = '.item';
- beforeEach(() => {
- tree = mount(
-
-
-
Column 1
-
Column 2
-
Column 3
-
Column 4
-
-
- );
- });
-
- afterEach(() => {
- tree.unmount();
- });
-
- it('when ArrowRight key is pressed with orientation="horizontal", focus next not disabled item', () => {
- let item = tree.find(itemSelector).at(0);
- item.getDOMNode().focus();
- item.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(1).getDOMNode(), document.activeElement);
- item = tree.find(itemSelector).at(1);
- item.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(3).getDOMNode(), document.activeElement);
-
- item = tree.find(itemSelector).at(0);
- item.simulate('keydown', {key: 'Right', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(1).getDOMNode(), document.activeElement);
- item = tree.find(itemSelector).at(1);
- item.simulate('keydown', {key: 'Right', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(3).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowRight key is pressed on last item, focus first not disabled item', () => {
- let item = tree.find(itemSelector).at(3);
- item.getDOMNode().focus();
- item.simulate('keydown', {key: 'ArrowRight', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(0).getDOMNode(), document.activeElement);
-
- item = tree.find(itemSelector).at(3);
- item.simulate('keydown', {key: 'Right', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(0).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowLeft key is pressed, focus previous not disabled item', () => {
- let item = tree.find(itemSelector).at(3);
- item.getDOMNode().focus();
- item.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(1).getDOMNode(), document.activeElement);
- item = tree.find(itemSelector).at(1);
- item.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(0).getDOMNode(), document.activeElement);
-
- item = tree.find(itemSelector).at(3);
- item.simulate('keydown', {key: 'Left', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(1).getDOMNode(), document.activeElement);
- item = tree.find(itemSelector).at(1);
- item.simulate('keydown', {key: 'Left', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(0).getDOMNode(), document.activeElement);
- });
-
- it('when ArrowLeft key is pressed on first item, focus last not disabled item', () => {
- let item = tree.find(itemSelector).at(0);
- item.getDOMNode().focus();
- item.simulate('keydown', {key: 'ArrowLeft', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(3).getDOMNode(), document.activeElement);
-
- tree.find(itemSelector).at(0);
- item.simulate('keydown', {key: 'Left', preventDefault: () => {}});
- assert.equal(tree.find(itemSelector).at(3).getDOMNode(), document.activeElement);
- });
- });
-});
diff --git a/test/utils/LiveRegionAnnouncer.js b/test/utils/LiveRegionAnnouncer.js
deleted file mode 100644
index c08cb658779..00000000000
--- a/test/utils/LiveRegionAnnouncer.js
+++ /dev/null
@@ -1,269 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import LiveRegionAnnouncer, {LiveRegion, LiveRegionMessage, MessageBlock} from '../../src/utils/LiveRegionAnnouncer';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import ReactDOM from 'react-dom';
-import sinon from 'sinon';
-
-describe('LiveRegionAnnouncer', () => {
- let wrapper;
- let clock;
- before(() => {
- LiveRegionAnnouncer.clearMessage();
- clock = sinon.useFakeTimers();
- });
-
- afterEach(() => {
- LiveRegionAnnouncer.destroyInstance();
- wrapper.unmount();
- });
-
- after(() => {
- clock.restore();
- });
-
- it('should set polite messages', async () => {
- wrapper = mount(
-
- );
-
- assert.deepEqual(LiveRegionAnnouncer.getInstance().state, {
- assertiveMessage: '',
- politeMessage: 'Demo message'
- });
-
- wrapper.setProps({message: 'Demo message changed'});
-
- assert.deepEqual(LiveRegionAnnouncer.getInstance().state, {
- assertiveMessage: '',
- politeMessage: 'Demo message changed'
- });
-
- // should clear after delay
- clock.tick(1001);
- // don't need to wait for real time, state is updated immediately
- assert.deepEqual(LiveRegionAnnouncer.getInstance().state, {
- assertiveMessage: '',
- politeMessage: ''
- });
- });
-
- it('should set assertive messages', async () => {
- wrapper = mount(
-
- );
-
- assert.deepEqual(LiveRegionAnnouncer.getInstance().state, {
- assertiveMessage: 'Demo message',
- politeMessage: ''
- });
-
- wrapper.setProps({message: 'Demo message changed'});
-
- assert.deepEqual(LiveRegionAnnouncer.getInstance().state, {
- assertiveMessage: 'Demo message changed',
- politeMessage: ''
- });
-
- // should clear after delay
- clock.tick(1001);
- assert.deepEqual(LiveRegionAnnouncer.getInstance().state, {
- assertiveMessage: '',
- politeMessage: ''
- });
- });
-});
-
-describe('LiveRegionAnnouncer', () => {
- let node;
- let instance;
-
- describe('static method getInstance', () => {
- it('should create a LiveRegionAnnouncer instance', (done) => {
- LiveRegionAnnouncer.getInstance(() => {
- instance = LiveRegionAnnouncer.getInstance();
- LiveRegionAnnouncer.getInstance(() => {
- node = ReactDOM.findDOMNode(instance).parentNode;
- assert.equal(node.parentNode, document.body);
- assert.equal(instance, LiveRegionAnnouncer.getInstance());
- done();
- });
- });
- });
- });
-
- describe('static method destroyInstance', () => {
- it('should destroy a LiveRegionAnnouncer instance', (done) => {
- LiveRegionAnnouncer.destroyInstance(() => {
- assert(!node.parentNode);
- assert(!instance.liveRegionAnnouncer);
- done();
- });
- });
- });
-});
-
-describe('LiveRegionMessage', () => {
- let wrapper;
-
- before(() => {
- sinon.stub(LiveRegionAnnouncer, 'announcePolite').callsFake(sinon.spy());
- sinon.stub(LiveRegionAnnouncer, 'announceAssertive').callsFake(sinon.spy());
- });
-
- afterEach(() => {
- LiveRegionAnnouncer.announcePolite.resetHistory();
- LiveRegionAnnouncer.announceAssertive.resetHistory();
- if (wrapper.exists()) {
- wrapper.unmount();
- }
- });
-
- after(() => {
- LiveRegionAnnouncer.announcePolite.restore();
- LiveRegionAnnouncer.announceAssertive.restore();
- LiveRegionAnnouncer.destroyInstance();
- });
-
- it('should announce assertive messages on mount', () => {
- wrapper = mount( );
-
- assert(!LiveRegionAnnouncer.announcePolite.called);
- assert(LiveRegionAnnouncer.announceAssertive.calledWith('Demo message'));
- });
-
- it('should announce assertive messages on update', () => {
- wrapper = mount( );
-
- wrapper.setProps({message: 'Demo message changed'});
-
- wrapper.update();
-
- assert(!LiveRegionAnnouncer.announcePolite.called);
- assert(LiveRegionAnnouncer.announceAssertive.calledWith('Demo message changed'));
- });
-
- it('should announce polite messages on mount', () => {
- wrapper = mount( );
-
- assert(!LiveRegionAnnouncer.announceAssertive.called);
- assert(LiveRegionAnnouncer.announcePolite.calledWith('Demo message'));
- });
-
- it('should announce polite messages on update', () => {
- wrapper = mount( );
-
- wrapper.setProps({message: 'Demo message changed'});
-
- wrapper.update();
-
- assert(!LiveRegionAnnouncer.announceAssertive.called);
- assert(LiveRegionAnnouncer.announcePolite.calledWith('Demo message changed'));
- });
-
- it('should broadcast clearall message if clearOnUnmount is set to true', () => {
- wrapper = mount(
-
- );
-
- wrapper.unmount();
-
- assert(LiveRegionAnnouncer.announceAssertive.calledWith(''));
- assert(LiveRegionAnnouncer.announcePolite.calledWith(''));
- });
-
- it('should not broadcast clearall message if clearOnUnmount is set to false', () => {
- wrapper = mount(
-
- );
-
- wrapper.unmount();
-
- assert(!LiveRegionAnnouncer.announceAssertive.calledWith(''));
- assert(!LiveRegionAnnouncer.announcePolite.calledWith(''));
- });
-
- it('should not broadcast clearall message if clearOnUnmount is omitted', () => {
- wrapper = mount( );
-
- wrapper.unmount();
-
- assert(!LiveRegionAnnouncer.announceAssertive.calledWith(''));
- assert(!LiveRegionAnnouncer.announcePolite.calledWith(''));
- });
-});
-
-describe('LiveRegion', () => {
- it('should render LiveRegion containing 4 MessageBlocks', () => {
- const wrapper = shallow( );
- assert(wrapper.dive().hasClass('u-react-spectrum-screenReaderOnly'));
- assert.equal(findMessageBlock(wrapper).length, 4);
- });
-
- it('should alternate assertive messages', () => {
- const wrapper = shallow( );
-
- wrapper.setProps({assertiveMessage: 'I am a message'});
- assert.deepEqual(wrapper.state(), {
- assertiveMessage1: 'I am a message',
- assertiveMessage2: '',
- politeMessage1: '',
- politeMessage2: ''
- });
- assert.equal(findMessageBlock(wrapper).get(0).props.message, 'I am a message');
- assert.equal(findMessageBlock(wrapper).get(1).props.message, '');
-
- wrapper.setProps({assertiveMessage: 'I am a changed message'});
- assert.deepEqual(wrapper.state(), {
- assertiveMessage1: '',
- assertiveMessage2: 'I am a changed message',
- politeMessage1: '',
- politeMessage2: ''
- });
- assert.equal(findMessageBlock(wrapper).get(0).props.message, '');
- assert.equal(findMessageBlock(wrapper).get(1).props.message, 'I am a changed message');
- });
-
- it('should alternate polite messages', () => {
- const wrapper = shallow( );
-
- wrapper.setProps({politeMessage: 'I am a message'});
- assert.deepEqual(wrapper.state(), {
- assertiveMessage1: '',
- assertiveMessage2: '',
- politeMessage1: 'I am a message',
- politeMessage2: ''
- });
- assert.equal(findMessageBlock(wrapper).get(2).props.message, 'I am a message');
- assert.equal(findMessageBlock(wrapper).get(3).props.message, '');
-
- wrapper.setProps({politeMessage: 'I am a changed message'});
- assert.deepEqual(wrapper.state(), {
- assertiveMessage1: '',
- assertiveMessage2: '',
- politeMessage1: '',
- politeMessage2: 'I am a changed message'
- });
- assert.equal(findMessageBlock(wrapper).get(2).props.message, '');
- assert.equal(findMessageBlock(wrapper).get(3).props.message, 'I am a changed message');
- });
-});
-
-const findMessageBlock = tree => tree.find(MessageBlock);
diff --git a/test/utils/array.js b/test/utils/array.js
deleted file mode 100644
index 0bdc3b1cd39..00000000000
--- a/test/utils/array.js
+++ /dev/null
@@ -1,33 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import {arraysEqual} from '../../src/utils/array';
-import assert from 'assert';
-
-describe('array utils', () => {
- describe('arraysEqual', () => {
- it('should return true when the arrays are equal', () => {
- assert.equal(arraysEqual([], []), true);
- assert.equal(arraysEqual([1, 2], [1, 2]), true);
- });
-
- it('should return false when the arrays are not equal', () => {
- assert.equal(arraysEqual([], [1]), false);
- assert.equal(arraysEqual([2, 3], [4, 5]), false);
- });
- });
-});
diff --git a/test/utils/events.js b/test/utils/events.js
deleted file mode 100644
index d5f30d17c22..00000000000
--- a/test/utils/events.js
+++ /dev/null
@@ -1,413 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {interpretKeyboardEvent} from '../../src/utils/events';
-import sinon from 'sinon';
-
-describe('interpretKeyboardEvent', () => {
- const obj = {
- onSelectFocused: sinon.spy(),
- onTab: sinon.spy(),
- onPageUp: sinon.spy(),
- onPageDown: sinon.spy(),
- onFocusFirst: sinon.spy(),
- onFocusLast: sinon.spy(),
- onFocusNext: sinon.spy(),
- onFocusPrevious: sinon.spy(),
- onAltArrowUp: sinon.spy(),
- onAltArrowDown: sinon.spy(),
- onEscape: sinon.spy()
- };
-
- const event = {
- type: 'keydown',
- altKey: false
- };
-
- afterEach(() => {
- event.key = undefined;
- event.altKey = false;
-
- for (let func in obj) {
- if (obj.hasOwnProperty(func)) {
- obj[func].resetHistory();
- }
- }
- });
-
- describe('keydown', () => {
- describe('Enter', () => {
- it('should call onSelectFocused', () => {
- event.key = 'Enter';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onSelectFocused.calledOnce);
- assert(obj.onSelectFocused.calledWith(event));
- });
- });
-
- describe('Space', () => {
- it('should call onSelectFocused', () => {
- event.key = ' ';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onSelectFocused.calledOnce);
- assert(obj.onSelectFocused.calledWith(event));
- });
- });
-
- describe('Tab', () => {
- it('should call onTab', () => {
- event.key = 'Tab';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onTab.calledOnce);
- assert(obj.onTab.calledWith(event));
- });
- });
-
- describe('PageUp', () => {
- it('should call onPageUp', () => {
- event.key = 'PageUp';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onPageUp.calledOnce);
- assert(obj.onPageUp.calledWith(event));
- });
-
- it('or should call onFocusFirst when onPageUp is undefined', () => {
- event.key = 'PageUp';
- obj.onPageUp = undefined;
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusFirst.calledOnce);
- assert(obj.onFocusFirst.calledWith(event));
- obj.onPageUp = sinon.spy();
- });
- });
-
- describe('PageDown', () => {
- it('should call onPageDown', () => {
- event.key = 'PageDown';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onPageDown.calledOnce);
- assert(obj.onPageDown.calledWith(event));
- });
-
- it('or should call onFocusLast when onPageDown is undefined', () => {
- event.key = 'PageDown';
- obj.onPageDown = undefined;
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusLast.calledOnce);
- assert(obj.onFocusLast.calledWith(event));
- obj.onPageDown = sinon.spy();
- });
- });
-
- describe('Home', () => {
- it('should call onFocusFirst', () => {
- event.key = 'Home';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusFirst.calledOnce);
- assert(obj.onFocusFirst.calledWith(event));
- });
- });
-
- describe('End', () => {
- it('should call onFocusLast', () => {
- event.key = 'End';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusLast.calledOnce);
- assert(obj.onFocusLast.calledWith(event));
- });
- });
-
- describe('ArrowUp', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'ArrowUp';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'ArrowUp';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should not call onFocusPrevious', () => {
- event.key = 'ArrowUp';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(!obj.onFocusPrevious.called);
- });
- });
-
- describe('with altKey', () => {
- it('should call onAltArrowUp', () => {
- event.key = 'ArrowUp';
-
- event.altKey = true;
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onAltArrowUp.calledOnce);
- assert(obj.onAltArrowUp.calledWith(event));
- });
- });
- });
-
- describe('Up', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'Up';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'Up';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should not call onFocusPrevious', () => {
- event.key = 'Up';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(!obj.onFocusPrevious.called);
- });
- });
-
- describe('with altKey', () => {
- it('should call onAltArrowUp', () => {
- event.key = 'Up';
-
- event.altKey = true;
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onAltArrowUp.calledOnce);
- assert(obj.onAltArrowUp.calledWith(event));
- });
- });
- });
-
- describe('ArrowDown', () => {
- it('should call onFocusNext', () => {
- event.key = 'ArrowDown';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusNext', () => {
- event.key = 'ArrowDown';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should not call onFocusNext', () => {
- event.key = 'ArrowDown';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(!obj.onFocusNext.called);
- });
- });
-
- describe('with altKey', () => {
- it('should call onAltArrowDown', () => {
- event.key = 'ArrowDown';
-
- event.altKey = true;
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onAltArrowDown.calledOnce);
- assert(obj.onAltArrowDown.calledWith(event));
- });
- });
- });
-
- describe('Down', () => {
- it('should call onFocusNext', () => {
- event.key = 'Down';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusNext', () => {
- event.key = 'Down';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should not call onFocusNext', () => {
- event.key = 'Down';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(!obj.onFocusNext.called);
- });
- });
-
- describe('with altKey', () => {
- it('should call onAltArrowDown', () => {
- event.key = 'Down';
-
- event.altKey = true;
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onAltArrowDown.calledOnce);
- assert(obj.onAltArrowDown.calledWith(event));
- });
- });
- });
-
- describe('ArrowLeft', () => {
- describe('with orientation === "vertical"', () => {
- it('should not call onFocusPrevious', () => {
- event.key = 'ArrowLeft';
- interpretKeyboardEvent.call(obj, event);
- assert(!obj.onFocusPrevious.called);
- });
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'ArrowLeft';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'ArrowLeft';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
- });
- });
-
- describe('Left', () => {
- describe('with orientation === "vertical"', () => {
- it('should not call onFocusPrevious', () => {
- event.key = 'Left';
- interpretKeyboardEvent.call(obj, event);
- assert(!obj.onFocusPrevious.called);
- });
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'Left';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should call onFocusPrevious', () => {
- event.key = 'Left';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(obj.onFocusPrevious.calledOnce);
- assert(obj.onFocusPrevious.calledWith(event));
- });
- });
- });
-
- describe('ArrowRight', () => {
- describe('with orientation === "vertical"', () => {
- it('should not call onFocusNext', () => {
- event.key = 'ArrowRight';
- interpretKeyboardEvent.call(obj, event);
- assert(!obj.onFocusNext.called);
- });
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusNext', () => {
- event.key = 'ArrowRight';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should call onFocusNext', () => {
- event.key = 'ArrowRight';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
- });
- });
-
- describe('Right', () => {
- describe('with orientation === "vertical"', () => {
- it('should not call onFocusNext', () => {
- event.key = 'Right';
- interpretKeyboardEvent.call(obj, event);
- assert(!obj.onFocusNext.called);
- });
- });
-
- describe('with orientation === "both"', () => {
- it('should call onFocusNext', () => {
- event.key = 'Right';
- interpretKeyboardEvent.call(obj, event, 'both');
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
- });
-
- describe('with orientation === "horizontal"', () => {
- it('should call onFocusNext', () => {
- event.key = 'Right';
- interpretKeyboardEvent.call(obj, event, 'horizontal');
- assert(obj.onFocusNext.calledOnce);
- assert(obj.onFocusNext.calledWith(event));
- });
- });
- });
-
- describe('Escape', () => {
- it('should call onEscape', () => {
- event.key = 'Escape';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onEscape.calledOnce);
- assert(obj.onEscape.calledWith(event));
- });
- });
-
- describe('Esc', () => {
- it('should call onEscape', () => {
- event.key = 'Esc';
- interpretKeyboardEvent.call(obj, event);
- assert(obj.onEscape.calledOnce);
- assert(obj.onEscape.calledWith(event));
- });
- });
- });
-});
diff --git a/test/utils/focusRing.js b/test/utils/focusRing.js
deleted file mode 100644
index d05f4e1f902..00000000000
--- a/test/utils/focusRing.js
+++ /dev/null
@@ -1,152 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import classNames from 'classnames';
-import focusRing from '../../src/utils/focusRing';
-import {mount, shallow} from 'enzyme';
-import React from 'react';
-import sinon from 'sinon';
-
-@focusRing
-class TestButton extends React.Component {
- static defaultProps = {
- selected: false,
- wrapped: false
- }
-
- componentDidMount() {
- this._isMounted = true;
- }
-
- componentWillUnmount() {
- this._isMounted = false;
- }
-
- componentWillUpdate(props, state) {
- this._isUpdated = {props, state};
- }
-
- componentDidUpdate(props, state) {
- this._isUpdated = {props, state};
- }
-
- getButton() {
- const {
- children,
- className,
- selected
- } = this.props;
-
- return (
- this.button = b}>
- {children}
-
- );
- }
-
- render() {
- const {
- wrapped
- } = this.props;
-
- if (wrapped) {
- return {this.getButton()}
;
- } else {
- return this.getButton();
- }
- }
-}
-
-describe('focusRing', function () {
- it('Calls super component lifecycle methods', () => {
- const didMountSpy = sinon.spy(TestButton.prototype, 'componentDidMount');
- const willUnmountSpy = sinon.spy(TestButton.prototype, 'componentWillUnmount');
- const willUpdateSpy = sinon.spy(TestButton.prototype, 'componentWillUpdate');
- const didUpdateSpy = sinon.spy(TestButton.prototype, 'componentDidUpdate');
-
- const tree = shallow(bar );
- assert(didMountSpy.calledOnce);
-
- // set prop to force a render
- tree.setProps({selected: true});
-
- assert(willUpdateSpy.calledOnce);
- assert(didUpdateSpy.calledOnce);
-
- tree.unmount();
-
- assert(willUnmountSpy.calledOnce);
- });
-
- it('Restores focus-ring class to focused element when rendering after a prop or state change', () => {
- let tree = mount(bar );
- let button = tree.instance().button;
-
- assert(!button.classList.contains('focus-ring'));
-
- // make sure node has focus
- button.focus();
- assert.equal(button, document.activeElement);
-
- // simulate .focus-ring className being added by focus-ring polyfill
- button.classList.add('focus-ring');
- assert(button.classList.contains('focus-ring'));
-
- // set prop to force a render
- tree.setProps({selected: true});
-
- // make sure that the focus-ring is still present
- assert(button.classList.contains('focus-ring'));
- assert(button.classList.contains('is-selected'));
-
- tree.unmount();
- });
-
- it('Restores focus-ring class to focused descendant element when rendering after a prop or state change', () => {
- let tree = mount(bar );
- let button = tree.instance().button;
-
- assert(!button.classList.contains('focus-ring'));
-
- // make sure node has focus
- button.focus();
- assert.equal(button, document.activeElement);
-
- // simulate .focus-ring className being added by focus-ring polyfill
- button.classList.add('focus-ring');
- assert(button.classList.contains('focus-ring'));
-
- // set prop to force a render
- tree.setProps({selected: true});
-
- // make sure that the focus-ring is still present
- assert(button.classList.contains('focus-ring'));
- assert(button.classList.contains('is-selected'));
-
- tree.unmount();
- });
-});
diff --git a/test/utils/icon.js b/test/utils/icon.js
deleted file mode 100644
index 24f98a956ae..00000000000
--- a/test/utils/icon.js
+++ /dev/null
@@ -1,106 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import Bell from '../../src/Icon/Bell';
-import {cloneIcon} from '../../src/utils/icon';
-import Icon from '../../src/Icon';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('cloneIcon', () => {
- it('clones an Icon ', () => {
- let tree = shallow(cloneIcon( ));
- assert.equal(tree.type(), Icon);
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(tree.dive().find('svg').prop('aria-hidden'), true);
- });
-
- it('throws error if icon parameter is a string ', () => {
- assert.throws(() => cloneIcon('Bell'), 'Error: String icon names are deprecated. Pass icons by importing them from react-spectrum/Icon/IconName and render as .');
- });
-
- it('retains alt prop on icon', () => {
- let tree = shallow(cloneIcon( ));
- assert.equal(tree.prop('alt'), 'foo');
- assert.ifError(tree.prop('aria-hidden'));
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'foo');
- assert.ifError(tree.dive().find('svg').prop('aria-hidden'));
- });
-
- it('retains aria-label prop on icon', () => {
- let tree = shallow(cloneIcon( ));
- assert.equal(tree.prop('aria-label'), 'foo');
- assert.ifError(tree.prop('aria-hidden'));
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'foo');
- assert.ifError(tree.dive().find('svg').prop('aria-hidden'));
- });
-
- it('retains size prop on icon', () => {
- let tree = shallow(cloneIcon( ));
- assert.equal(tree.prop('size'), 'S');
- });
-
- it('retains aria-hidden prop on icon', () => {
- let tree = shallow(cloneIcon( ));
- assert.equal(tree.prop('alt'), 'foo');
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'foo');
- assert.equal(tree.dive().find('svg').prop('aria-hidden'), true);
- });
-
- it('supports overriding aria-label prop', () => {
- let tree = shallow(cloneIcon( , {'aria-label': 'bar'}));
- assert.equal(tree.prop('alt'), 'bar');
- assert.ifError(tree.prop('aria-hidden'));
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'bar');
- assert.ifError(tree.dive().find('svg').prop('aria-hidden'));
-
- tree = shallow(cloneIcon( , {'aria-label': 'bar'}));
- assert.equal(tree.prop('alt'), 'bar');
- assert.ifError(tree.prop('aria-hidden'));
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'bar');
- assert.ifError(tree.dive().find('svg').prop('aria-hidden'));
- });
-
- it('supports overriding alt prop', () => {
- let tree = shallow(cloneIcon( , {alt: 'bar'}));
- assert.equal(tree.prop('alt'), 'bar');
- assert.ifError(tree.prop('aria-hidden'));
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'bar');
- assert.ifError(tree.dive().find('svg').prop('aria-hidden'));
-
- tree = shallow(cloneIcon( , {alt: 'bar'}));
- assert.equal(tree.prop('alt'), 'bar');
- assert.ifError(tree.prop('aria-hidden'));
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'bar');
- assert.ifError(tree.dive().find('svg').prop('aria-hidden'));
- });
-
- it('does not override size prop set on icon', () => {
- let tree = shallow(cloneIcon( , {size: 'S'}));
- assert.equal(tree.prop('size'), 'L');
- });
-
- it('supports overriding aria-hidden prop on icon', () => {
- let tree = shallow(cloneIcon( , {'aria-hidden': true}));
- assert.equal(tree.prop('alt'), 'foo');
- assert.equal(tree.prop('aria-hidden'), true);
- assert.equal(tree.dive().find('svg').prop('aria-label'), 'foo');
- assert.equal(tree.dive().find('svg').prop('aria-hidden'), true);
- });
-});
diff --git a/test/utils/intl.js b/test/utils/intl.js
deleted file mode 100644
index 0ca6de6bfcd..00000000000
--- a/test/utils/intl.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {getLocale, messageFormatter, setLocale} from '../../src/utils/intl';
-
-let formatMessage = messageFormatter({
- 'en-US': {
- 'hello': 'Hello',
- 'formatting': 'Hello {0} world'
- },
- 'fr-FR': {
- 'hello': 'Bonjour'
- }
-});
-
-describe('intl utils', () => {
- let currentLocale = getLocale();
- after(() => {
- setLocale(currentLocale);
- });
-
- it('should default to the current browser locale', () => {
- assert.equal(getLocale(), 'en-US');
- });
-
- it('should set the locale', () => {
- setLocale('fr-FR');
- assert.equal(getLocale(), 'fr-FR');
- });
-
- it('should setup a message formatter and get a message in the current locale', () => {
- setLocale('en-US');
- assert.equal(formatMessage('hello'), 'Hello');
-
- setLocale('fr-FR');
- assert.equal(formatMessage('hello'), 'Bonjour');
- });
-
- it('should fall back to english', () => {
- setLocale('xyz');
- assert.equal(formatMessage('hello'), 'Hello');
- });
-
- it('should format a message with variables', () => {
- setLocale('en-US');
- assert.equal(formatMessage('formatting', ['cruel']), 'Hello cruel world');
- });
-
- it('should throw if a string is not available', () => {
- assert.throws(() => {
- assert.equal(formatMessage('xyz'), 'Hello');
- });
- });
-});
diff --git a/test/utils/loadingLayout.js b/test/utils/loadingLayout.js
deleted file mode 100644
index c42e642167c..00000000000
--- a/test/utils/loadingLayout.js
+++ /dev/null
@@ -1,79 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {ListLayout, Rect, Size} from '@react/collection-view';
-import loadingLayout from '../../src/utils/loadingLayout';
-
-describe('loadingLayout', function () {
- it('should get an empty view if the table is empty', function () {
- let layout = loadingLayout(new ListLayout());
- layout.component = {};
- layout.collectionView = {size: new Size(100, 100), getNumberOfSections: () => 1, getSectionLength: () => 0};
- layout.validate();
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 100, 100));
- let emptyView = layoutInfos.find(l => l.type === 'empty-view');
- assert(emptyView);
- assert.deepEqual(emptyView.rect, new Rect(0, 0, 100, 100));
-
- emptyView = layout.getLayoutInfo('empty-view');
- assert(emptyView);
- assert.deepEqual(emptyView.rect, new Rect(0, 0, 100, 100));
- });
-
- it('should get a loading indicator if the table is loading and empty', function () {
- let layout = loadingLayout(new ListLayout());
- layout.component = {isLoading: true};
- layout.collectionView = {size: new Size(100, 100), getNumberOfSections: () => 1, getSectionLength: () => 0};
- layout.validate();
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 100, 100));
- let loadingIndicator = layoutInfos.find(l => l.type === 'loading-indicator');
- assert(loadingIndicator);
- assert.deepEqual(loadingIndicator.rect, new Rect(0, 0, 100, 100));
-
- loadingIndicator = layout.getLayoutInfo('loading-indicator');
- assert(loadingIndicator);
- assert.deepEqual(loadingIndicator.rect, new Rect(0, 0, 100, 100));
- });
-
- it('should get a loading indicator at the bottom if the table is loading more', function () {
- let layout = loadingLayout(new ListLayout());
- layout.component = {isLoading: true};
- layout.collectionView = {
- size: new Size(100, 100),
- getNumberOfSections: () => 1,
- getSectionLength: () => 100,
- delegate: {
- indentationForItem: () => 0
- }
- };
- layout.validate();
-
- let layoutInfos = layout.getVisibleLayoutInfos(new Rect(0, 0, 100, 100));
- let loadingIndicator = layoutInfos.find(l => l.type === 'loading-indicator');
- assert(loadingIndicator);
- assert.deepEqual(loadingIndicator.rect, new Rect(0, 48 * 100, 100, 100));
-
- loadingIndicator = layout.getLayoutInfo('loading-indicator');
- assert(loadingIndicator);
- assert.deepEqual(loadingIndicator.rect, new Rect(0, 48 * 100, 100, 100));
-
- assert.deepEqual(layout.getContentSize().height, 48 * 100 + 100);
- });
-});
diff --git a/test/utils/moment-test.js b/test/utils/moment-test.js
deleted file mode 100644
index 60e9379986b..00000000000
--- a/test/utils/moment-test.js
+++ /dev/null
@@ -1,67 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {isDateInRange, toMoment} from '../../src/utils/moment';
-import moment from 'moment';
-
-describe('moment', () => {
- describe('toMoment', () => {
- const valueFormat = 'YYYY MM DD';
-
- it('returns current date if \'today\' is specified', () => {
- const now = moment();
- const date = toMoment('today');
- assert.equal(moment.isMoment(date), true);
- assert(now.isSame(date, 'day'));
- });
-
- describe('accepts moment object', () => {
- it('if moment is valid, returns clone', () => {
- const date = moment();
- const returnedDate = toMoment(date);
- assert.notEqual(date, returnedDate);
- assert.deepEqual(+date, +returnedDate);
- });
-
- it('if moment is not valid, returns null', () => {
- assert.equal(toMoment(moment('abc', valueFormat), valueFormat), null);
- });
-
- it('converts a date object into moment', () => {
- const date = new Date();
- const momentDate = toMoment(date);
- assert.deepEqual(+momentDate, +moment(date));
- assert.equal(moment.isMoment(momentDate), true);
- });
- });
- });
-
- it('isDateInRange', () => {
- const today = moment();
- const yesterday = moment().subtract(1, 'day');
- const tomorrow = moment().add(1, 'day');
-
- assert.equal(isDateInRange(today, yesterday, tomorrow), true);
- assert.equal(isDateInRange(yesterday, today, tomorrow), false);
- assert.equal(isDateInRange(tomorrow, yesterday, today), false);
-
- assert.equal(isDateInRange(today, yesterday, null), true);
- assert.equal(isDateInRange(today, null, tomorrow), true);
- assert.equal(isDateInRange(today), true);
- });
-});
diff --git a/test/utils/number.js b/test/utils/number.js
deleted file mode 100644
index 58ca49031c5..00000000000
--- a/test/utils/number.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {clamp, snapValueToStep} from '../../src/utils/number';
-
-describe('clamp', () => {
- it('should constrain value between min and max', () => {
- assert.equal(clamp(5, -1, 1), 1);
- assert.equal(clamp(-5, -1, 1), -1);
- });
-});
-
-describe('snapValueToStep', () => {
- it('should snap value to nearest step based on min and max', () => {
- assert.equal(snapValueToStep(2, -0.5, 100, 3), 2.5);
- assert.equal(snapValueToStep(-6.2, -2.5, 100, 3), -2.5);
- assert.equal(snapValueToStep(106.2, -2.5, 100, 3), 99.5);
- assert.equal(snapValueToStep(-0.009999, -0.5, 0.5, 0.01), -0.01);
- });
-});
diff --git a/test/utils/string-test.js b/test/utils/string-test.js
deleted file mode 100644
index f6e200308c5..00000000000
--- a/test/utils/string-test.js
+++ /dev/null
@@ -1,80 +0,0 @@
-/*************************************************************************
-* ADOBE CONFIDENTIAL
-* ___________________
-*
-* Copyright 2019 Adobe
-* All Rights Reserved.
-*
-* NOTICE: All information contained herein is, and remains
-* the property of Adobe and its suppliers, if any. The intellectual
-* and technical concepts contained herein are proprietary to Adobe
-* and its suppliers and are protected by all applicable intellectual
-* property laws, including trade secret and copyright laws.
-* Dissemination of this information or reproduction of this material
-* is strictly forbidden unless prior written permission is obtained
-* from Adobe.
-**************************************************************************/
-
-import assert from 'assert';
-import {getTextFromReact, isUrl, normalize, removeDiacritics} from '../../src/utils/string';
-import React from 'react';
-import {shallow} from 'enzyme';
-
-describe('string', () => {
- describe('isUrl', () => {
- it('matches urls', () => {
- assert.equal(isUrl('http://www.adobe.com/image.png'), true);
- assert.equal(isUrl('http://adobe.com/image.png'), true);
- assert.equal(isUrl('adobe.com/image.png'), true);
- assert.equal(isUrl('image.png'), true);
- assert.equal(isUrl('../image.png'), true);
- assert.equal(isUrl('/image.png'), true);
- });
-
- it('doesn\'t match icon types', () => {
- assert.equal(isUrl('add'), false);
- assert.equal(isUrl('adobe'), false);
- assert.equal(isUrl('foo-bar'), false);
- });
- });
-
- describe('normalize', () => {
- const str = '\u1E9B\u0323';
- it('Default: Canonically-composed form (NFC)', () => {
- assert.equal(normalize(str), '\u1E9B\u0323');
- });
- it('Canonically-decomposed form (NFD)', () => {
- assert.equal(normalize(str, 'NFD'), '\u017F\u0323\u0307');
- });
- it('Compatibly-composed (NFKC)', () => {
- assert.equal(normalize(str, 'NFKC'), '\u1E69');
- });
- it('Compatibly-composed (NFKD)', () => {
- assert.equal(normalize(str, 'NFKD'), '\u0073\u0323\u0307');
- });
- });
-
- it('removeDiacritics', () => {
- const str = '\u1E9B\u0323';
- assert.equal(removeDiacritics(str), '\u017F');
- assert.equal(removeDiacritics(str, 'NFD'), '\u017F');
- assert.equal(removeDiacritics(str, 'NFC'), '\u017F');
- assert.equal(removeDiacritics(str, 'NFKC'), '\u0073');
- assert.equal(removeDiacritics(str, 'NFKD'), '\u0073');
- });
-
- it('getTextFromReact', () => {
- let tree = shallow(
- This
- string
- should
- be
- concatenated into
- {[1, ' ', 'sentence.']}
-
-
-
- );
- assert.equal(getTextFromReact(tree.get(0)), 'This string should be concatenated into 1 sentence.');
- });
-});
diff --git a/yarn.lock b/yarn.lock
index 66732ca9da0..656b5a2a2fd 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4,44 +4,40 @@
"@a4u/react-spectrum-ui@0.0.2":
version "0.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-a4u-release/@a4u/react-spectrum-ui/-/@a4u/react-spectrum-ui-0.0.2.tgz#378580b3cf042607b2ead0beb18fc89377c0797f"
- integrity sha1-N4WAs88EJgey6tC+sY/Ik3fAeX8=
-
-"@a4u/react-spectrum-workflow-color@0.0.2":
- version "0.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-a4u-release/@a4u/react-spectrum-workflow-color/-/@a4u/react-spectrum-workflow-color-0.0.2.tgz#a1c2ae643c7696a0812a6d308ca9639092744c8c"
- integrity sha1-ocKuZDx2lqCBKm0wjKljkJJ0TIw=
+ resolved "https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/@a4u/react-spectrum-ui/-/@a4u/react-spectrum-ui-0.0.2.tgz#378580b3cf042607b2ead0beb18fc89377c0797f"
+ integrity sha1-NKgF2IdEYZZjzdW8RC/g0n1mvTY=
"@a4u/react-spectrum-workflow-color@0.0.6":
version "0.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-a4u-release/@a4u/react-spectrum-workflow-color/-/@a4u/react-spectrum-workflow-color-0.0.6.tgz#bc6c23a5f8bc7fd85a3f26f8e1b3b1b48c2a01d9"
- integrity sha1-vGwjpfi8f9haPyb44bOxtIwqAdk=
-
-"@a4u/react-spectrum-workflow@0.0.3":
- version "0.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-a4u-release/@a4u/react-spectrum-workflow/-/@a4u/react-spectrum-workflow-0.0.3.tgz#f2c0607003635671cd00a2199429bdd932f71806"
- integrity sha1-8sBgcANjVnHNAKIZlCm92TL3GAY=
+ resolved "https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/@a4u/react-spectrum-workflow-color/-/@a4u/react-spectrum-workflow-color-0.0.6.tgz#bc6c23a5f8bc7fd85a3f26f8e1b3b1b48c2a01d9"
+ integrity sha1-lGYZA1bhGrTFjeRb/dWJXVsvt4s=
"@a4u/react-spectrum-workflow@0.0.6":
version "0.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-a4u-release/@a4u/react-spectrum-workflow/-/@a4u/react-spectrum-workflow-0.0.6.tgz#d942b1694546000183b01fc0003314162890ae52"
- integrity sha1-2UKxaUVGAAGDsB/AADMUFiiQrlI=
+ resolved "https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-rsp-tmp-release/@a4u/react-spectrum-workflow/-/@a4u/react-spectrum-workflow-0.0.6.tgz#d942b1694546000183b01fc0003314162890ae52"
+ integrity sha1-3qApoJOdXrcRqm4enKVoPGgplWQ=
+
+"@actions/core@^1.1.0":
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.1.0.tgz#25c3aff43a20f9c5a04e2a3439898a49ba8d3625"
+ integrity sha512-KKpo3xzo0Zsikni9tbOsEQkxZBGDsYSJZNkTvmo0gPSXrc98TBOcdTvKwwjitjkjHkreTggWdB1ACiAFVgsuzA==
+
+"@actions/github@^1.1.0":
+ version "1.1.0"
+ resolved "https://registry.yarnpkg.com/@actions/github/-/github-1.1.0.tgz#06f34e6b0cf07eb2b3641de3e680dbfae6bcd400"
+ integrity sha512-cHf6PyoNMdei13jEdGPhKprIMFmjVVW/dnM5/9QmQDJ1ZTaGVyezUSCUIC/ySNLRvDUpeFwPYMdThSEJldSbUw==
+ dependencies:
+ "@octokit/graphql" "^2.0.1"
+ "@octokit/rest" "^16.15.0"
"@adobe/focus-ring-polyfill@^0.x":
version "0.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@adobe/focus-ring-polyfill/-/focus-ring-polyfill-0.1.5.tgz#b20b5bd1ffb0ceaf42aae1f0837f39ce29f9eb9b"
+ resolved "https://registry.npmjs.com/@adobe/focus-ring-polyfill/-/focus-ring-polyfill-0.1.5.tgz#b20b5bd1ffb0ceaf42aae1f0837f39ce29f9eb9b"
integrity sha1-sgtb0f+wzq9CquHwg385zin565s=
-"@adobe/spectrum-css@2.14.0-alpha.16":
- version "2.14.0-alpha.16"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@adobe/spectrum-css/-/spectrum-css-2.14.0-alpha.16.tgz#ca216b43278da32716069afa3a751596a2e88c04"
- integrity sha1-yiFrQyeNoycWBpr6OnUVlqLojAQ=
- optionalDependencies:
- "@spectrum/spectrum-icons" "^2.3.0"
-
"@babel/cli@^7.0.0":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/cli/-/cli-7.5.5.tgz#bdb6d9169e93e241a08f5f7b0265195bf38ef5ec"
+ resolved "https://registry.npmjs.com/@babel/cli/-/cli-7.5.5.tgz#bdb6d9169e93e241a08f5f7b0265195bf38ef5ec"
integrity sha1-vbbZFp6T4kGgj197AmUZW/OO9ew=
dependencies:
commander "^2.8.1"
@@ -58,14 +54,14 @@
"@babel/code-frame@7.5.5", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"
+ resolved "https://registry.npmjs.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49531219699b988f669a8f9d"
integrity sha1-vAeC9tafe31JUxIZaZuYj2aaj50=
dependencies:
"@babel/highlight" "^7.0.0"
"@babel/core@7.5.5", "@babel/core@^7.0.0", "@babel/core@^7.1.0", "@babel/core@^7.4.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/core/-/core-7.5.5.tgz#17b2686ef0d6bc58f963dddd68ab669755582c30"
+ resolved "https://registry.npmjs.com/@babel/core/-/core-7.5.5.tgz#17b2686ef0d6bc58f963dddd68ab669755582c30"
integrity sha1-F7JobvDWvFj5Y93daKtml1VYLDA=
dependencies:
"@babel/code-frame" "^7.5.5"
@@ -85,7 +81,7 @@
"@babel/generator@^7.4.0", "@babel/generator@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/generator/-/generator-7.5.5.tgz#873a7f936a3c89491b43536d12245b626664e3cf"
+ resolved "https://registry.npmjs.com/@babel/generator/-/generator-7.5.5.tgz#873a7f936a3c89491b43536d12245b626664e3cf"
integrity sha1-hzp/k2o8iUkbQ1NtEiRbYmZk488=
dependencies:
"@babel/types" "^7.5.5"
@@ -96,14 +92,14 @@
"@babel/helper-annotate-as-pure@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32"
+ resolved "https://registry.npmjs.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.0.0.tgz#323d39dd0b50e10c7c06ca7d7638e6864d8c5c32"
integrity sha1-Mj053QtQ4Qx8Bsp9djjmhk2MXDI=
dependencies:
"@babel/types" "^7.0.0"
"@babel/helper-builder-binary-assignment-operator-visitor@^7.1.0":
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz#6b69628dfe4087798e0c4ed98e3d4a6b2fbd2f5f"
+ resolved "https://registry.npmjs.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.1.0.tgz#6b69628dfe4087798e0c4ed98e3d4a6b2fbd2f5f"
integrity sha1-a2lijf5Ah3mODE7Zjj1Kay+9L18=
dependencies:
"@babel/helper-explode-assignable-expression" "^7.1.0"
@@ -111,7 +107,7 @@
"@babel/helper-builder-react-jsx@^7.3.0":
version "7.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.3.0.tgz#a1ac95a5d2b3e88ae5e54846bf462eeb81b318a4"
+ resolved "https://registry.npmjs.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.3.0.tgz#a1ac95a5d2b3e88ae5e54846bf462eeb81b318a4"
integrity sha1-oayVpdKz6Irl5UhGv0Yu64GzGKQ=
dependencies:
"@babel/types" "^7.3.0"
@@ -119,7 +115,7 @@
"@babel/helper-call-delegate@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-call-delegate/-/helper-call-delegate-7.4.4.tgz#87c1f8ca19ad552a736a7a27b1c1fcf8b1ff1f43"
+ resolved "https://registry.npmjs.com/@babel/helper-call-delegate/-/helper-call-delegate-7.4.4.tgz#87c1f8ca19ad552a736a7a27b1c1fcf8b1ff1f43"
integrity sha1-h8H4yhmtVSpzanonscH8+LH/H0M=
dependencies:
"@babel/helper-hoist-variables" "^7.4.4"
@@ -128,7 +124,7 @@
"@babel/helper-create-class-features-plugin@^7.4.4", "@babel/helper-create-class-features-plugin@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.5.5.tgz#401f302c8ddbc0edd36f7c6b2887d8fa1122e5a4"
+ resolved "https://registry.npmjs.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.5.5.tgz#401f302c8ddbc0edd36f7c6b2887d8fa1122e5a4"
integrity sha1-QB8wLI3bwO3Tb3xrKIfY+hEi5aQ=
dependencies:
"@babel/helper-function-name" "^7.1.0"
@@ -140,7 +136,7 @@
"@babel/helper-define-map@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-define-map/-/helper-define-map-7.5.5.tgz#3dec32c2046f37e09b28c93eb0b103fd2a25d369"
+ resolved "https://registry.npmjs.com/@babel/helper-define-map/-/helper-define-map-7.5.5.tgz#3dec32c2046f37e09b28c93eb0b103fd2a25d369"
integrity sha1-PewywgRvN+CbKMk+sLED/Sol02k=
dependencies:
"@babel/helper-function-name" "^7.1.0"
@@ -149,7 +145,7 @@
"@babel/helper-explode-assignable-expression@^7.1.0":
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz#537fa13f6f1674df745b0c00ec8fe4e99681c8f6"
+ resolved "https://registry.npmjs.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.1.0.tgz#537fa13f6f1674df745b0c00ec8fe4e99681c8f6"
integrity sha1-U3+hP28WdN90WwwA7I/k6ZaByPY=
dependencies:
"@babel/traverse" "^7.1.0"
@@ -157,7 +153,7 @@
"@babel/helper-function-name@^7.1.0":
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53"
+ resolved "https://registry.npmjs.com/@babel/helper-function-name/-/helper-function-name-7.1.0.tgz#a0ceb01685f73355d4360c1247f582bfafc8ff53"
integrity sha1-oM6wFoX3M1XUNgwSR/WCv6/I/1M=
dependencies:
"@babel/helper-get-function-arity" "^7.0.0"
@@ -166,35 +162,35 @@
"@babel/helper-get-function-arity@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3"
+ resolved "https://registry.npmjs.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0.tgz#83572d4320e2a4657263734113c42868b64e49c3"
integrity sha1-g1ctQyDipGVyY3NBE8QoaLZOScM=
dependencies:
"@babel/types" "^7.0.0"
"@babel/helper-hoist-variables@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.4.tgz#0298b5f25c8c09c53102d52ac4a98f773eb2850a"
+ resolved "https://registry.npmjs.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.4.4.tgz#0298b5f25c8c09c53102d52ac4a98f773eb2850a"
integrity sha1-Api18lyMCcUxAtUqxKmPdz6yhQo=
dependencies:
"@babel/types" "^7.4.4"
"@babel/helper-member-expression-to-functions@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.5.5.tgz#1fb5b8ec4453a93c439ee9fe3aeea4a84b76b590"
+ resolved "https://registry.npmjs.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.5.5.tgz#1fb5b8ec4453a93c439ee9fe3aeea4a84b76b590"
integrity sha1-H7W47ERTqTxDnun+Ou6kqEt2tZA=
dependencies:
"@babel/types" "^7.5.5"
"@babel/helper-module-imports@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d"
+ resolved "https://registry.npmjs.com/@babel/helper-module-imports/-/helper-module-imports-7.0.0.tgz#96081b7111e486da4d2cd971ad1a4fe216cc2e3d"
integrity sha1-lggbcRHkhtpNLNlxrRpP4hbMLj0=
dependencies:
"@babel/types" "^7.0.0"
"@babel/helper-module-transforms@^7.1.0", "@babel/helper-module-transforms@^7.4.4":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-module-transforms/-/helper-module-transforms-7.5.5.tgz#f84ff8a09038dcbca1fd4355661a500937165b4a"
+ resolved "https://registry.npmjs.com/@babel/helper-module-transforms/-/helper-module-transforms-7.5.5.tgz#f84ff8a09038dcbca1fd4355661a500937165b4a"
integrity sha1-+E/4oJA43Lyh/UNVZhpQCTcWW0o=
dependencies:
"@babel/helper-module-imports" "^7.0.0"
@@ -206,26 +202,26 @@
"@babel/helper-optimise-call-expression@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz#a2920c5702b073c15de51106200aa8cad20497d5"
+ resolved "https://registry.npmjs.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.0.0.tgz#a2920c5702b073c15de51106200aa8cad20497d5"
integrity sha1-opIMVwKwc8Fd5REGIAqoytIEl9U=
dependencies:
"@babel/types" "^7.0.0"
"@babel/helper-plugin-utils@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"
+ resolved "https://registry.npmjs.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.0.0.tgz#bbb3fbee98661c569034237cc03967ba99b4f250"
integrity sha1-u7P77phmHFaQNCN8wDlnupm08lA=
"@babel/helper-regex@^7.0.0", "@babel/helper-regex@^7.4.4":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351"
+ resolved "https://registry.npmjs.com/@babel/helper-regex/-/helper-regex-7.5.5.tgz#0aa6824f7100a2e0e89c1527c23936c152cab351"
integrity sha1-CqaCT3EAouDonBUnwjk2wVLKs1E=
dependencies:
lodash "^4.17.13"
"@babel/helper-remap-async-to-generator@^7.1.0":
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz#361d80821b6f38da75bd3f0785ece20a88c5fe7f"
+ resolved "https://registry.npmjs.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.1.0.tgz#361d80821b6f38da75bd3f0785ece20a88c5fe7f"
integrity sha1-Nh2AghtvONp1vT8HheziCojF/n8=
dependencies:
"@babel/helper-annotate-as-pure" "^7.0.0"
@@ -236,7 +232,7 @@
"@babel/helper-replace-supers@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-replace-supers/-/helper-replace-supers-7.5.5.tgz#f84ce43df031222d2bad068d2626cb5799c34bc2"
+ resolved "https://registry.npmjs.com/@babel/helper-replace-supers/-/helper-replace-supers-7.5.5.tgz#f84ce43df031222d2bad068d2626cb5799c34bc2"
integrity sha1-+EzkPfAxIi0rrQaNJibLV5nDS8I=
dependencies:
"@babel/helper-member-expression-to-functions" "^7.5.5"
@@ -246,7 +242,7 @@
"@babel/helper-simple-access@^7.1.0":
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz#65eeb954c8c245beaa4e859da6188f39d71e585c"
+ resolved "https://registry.npmjs.com/@babel/helper-simple-access/-/helper-simple-access-7.1.0.tgz#65eeb954c8c245beaa4e859da6188f39d71e585c"
integrity sha1-Ze65VMjCRb6qToWdphiPOdceWFw=
dependencies:
"@babel/template" "^7.1.0"
@@ -254,14 +250,14 @@
"@babel/helper-split-export-declaration@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677"
+ resolved "https://registry.npmjs.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.4.4.tgz#ff94894a340be78f53f06af038b205c49d993677"
integrity sha1-/5SJSjQL549T8GrwOLIFxJ2ZNnc=
dependencies:
"@babel/types" "^7.4.4"
"@babel/helper-wrap-function@^7.1.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz#c4e0012445769e2815b55296ead43a958549f6fa"
+ resolved "https://registry.npmjs.com/@babel/helper-wrap-function/-/helper-wrap-function-7.2.0.tgz#c4e0012445769e2815b55296ead43a958549f6fa"
integrity sha1-xOABJEV2nigVtVKW6tQ6lYVJ9vo=
dependencies:
"@babel/helper-function-name" "^7.1.0"
@@ -271,7 +267,7 @@
"@babel/helpers@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/helpers/-/helpers-7.5.5.tgz#63908d2a73942229d1e6685bc2a0e730dde3b75e"
+ resolved "https://registry.npmjs.com/@babel/helpers/-/helpers-7.5.5.tgz#63908d2a73942229d1e6685bc2a0e730dde3b75e"
integrity sha1-Y5CNKnOUIinR5mhbwqDnMN3jt14=
dependencies:
"@babel/template" "^7.4.4"
@@ -280,7 +276,7 @@
"@babel/highlight@^7.0.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540"
+ resolved "https://registry.npmjs.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa619591d02472be6e8cb32540"
integrity sha1-VtETEr2SSPphlZHQJHK+boyzJUA=
dependencies:
chalk "^2.0.0"
@@ -289,7 +285,7 @@
"@babel/node@^7.4.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/node/-/node-7.5.5.tgz#5db48a3bcee64d9eda6474f2a0a55b235d0438b5"
+ resolved "https://registry.npmjs.com/@babel/node/-/node-7.5.5.tgz#5db48a3bcee64d9eda6474f2a0a55b235d0438b5"
integrity sha1-XbSKO87mTZ7aZHTyoKVbI10EOLU=
dependencies:
"@babel/polyfill" "^7.0.0"
@@ -301,12 +297,12 @@
"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.4.3", "@babel/parser@^7.4.4", "@babel/parser@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/parser/-/parser-7.5.5.tgz#02f077ac8817d3df4a832ef59de67565e71cca4b"
+ resolved "https://registry.npmjs.com/@babel/parser/-/parser-7.5.5.tgz#02f077ac8817d3df4a832ef59de67565e71cca4b"
integrity sha1-AvB3rIgX099Kgy71neZ1Zeccyks=
"@babel/plugin-proposal-async-generator-functions@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz#b289b306669dce4ad20b0252889a15768c9d417e"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.2.0.tgz#b289b306669dce4ad20b0252889a15768c9d417e"
integrity sha1-somzBmadzkrSCwJSiJoVdoydQX4=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -315,7 +311,7 @@
"@babel/plugin-proposal-class-properties@7.5.5", "@babel/plugin-proposal-class-properties@^7.0.0", "@babel/plugin-proposal-class-properties@^7.3.3":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.5.5.tgz#a974cfae1e37c3110e71f3c6a2e48b8e71958cd4"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.5.5.tgz#a974cfae1e37c3110e71f3c6a2e48b8e71958cd4"
integrity sha1-qXTPrh43wxEOcfPGouSLjnGVjNQ=
dependencies:
"@babel/helper-create-class-features-plugin" "^7.5.5"
@@ -323,7 +319,7 @@
"@babel/plugin-proposal-decorators@7.4.4", "@babel/plugin-proposal-decorators@^7.0.0":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.4.tgz#de9b2a1a8ab0196f378e2a82f10b6e2a36f21cc0"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.4.tgz#de9b2a1a8ab0196f378e2a82f10b6e2a36f21cc0"
integrity sha1-3psqGoqwGW83jiqC8QtuKjbyHMA=
dependencies:
"@babel/helper-create-class-features-plugin" "^7.4.4"
@@ -332,7 +328,7 @@
"@babel/plugin-proposal-dynamic-import@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.5.0.tgz#e532202db4838723691b10a67b8ce509e397c506"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.5.0.tgz#e532202db4838723691b10a67b8ce509e397c506"
integrity sha1-5TIgLbSDhyNpGxCme4zlCeOXxQY=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -340,7 +336,7 @@
"@babel/plugin-proposal-export-default-from@^7.0.0":
version "7.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.5.2.tgz#2c0ac2dcc36e3b2443fead2c3c5fc796fb1b5145"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.5.2.tgz#2c0ac2dcc36e3b2443fead2c3c5fc796fb1b5145"
integrity sha1-LArC3MNuOyRD/q0sPF/HlvsbUUU=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -348,7 +344,7 @@
"@babel/plugin-proposal-export-namespace-from@^7.0.0":
version "7.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.5.2.tgz#ccd5ed05b06d700688ff1db01a9dd27155e0d2a0"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.5.2.tgz#ccd5ed05b06d700688ff1db01a9dd27155e0d2a0"
integrity sha1-zNXtBbBtcAaI/x2wGp3ScVXg0qA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -356,7 +352,7 @@
"@babel/plugin-proposal-json-strings@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz#568ecc446c6148ae6b267f02551130891e29f317"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.2.0.tgz#568ecc446c6148ae6b267f02551130891e29f317"
integrity sha1-Vo7MRGxhSK5rJn8CVREwiR4p8xc=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -364,7 +360,7 @@
"@babel/plugin-proposal-object-rest-spread@7.5.5", "@babel/plugin-proposal-object-rest-spread@^7.0.0", "@babel/plugin-proposal-object-rest-spread@^7.3.2", "@babel/plugin-proposal-object-rest-spread@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.5.5.tgz#61939744f71ba76a3ae46b5eea18a54c16d22e58"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.5.5.tgz#61939744f71ba76a3ae46b5eea18a54c16d22e58"
integrity sha1-YZOXRPcbp2o65Gte6hilTBbSLlg=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -372,7 +368,7 @@
"@babel/plugin-proposal-optional-catch-binding@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz#135d81edb68a081e55e56ec48541ece8065c38f5"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.2.0.tgz#135d81edb68a081e55e56ec48541ece8065c38f5"
integrity sha1-E12B7baKCB5V5W7EhUHs6AZcOPU=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -380,7 +376,7 @@
"@babel/plugin-proposal-unicode-property-regex@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.4.tgz#501ffd9826c0b91da22690720722ac7cb1ca9c78"
+ resolved "https://registry.npmjs.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.4.tgz#501ffd9826c0b91da22690720722ac7cb1ca9c78"
integrity sha1-UB/9mCbAuR2iJpByByKsfLHKnHg=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -389,98 +385,98 @@
"@babel/plugin-syntax-async-generators@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz#69e1f0db34c6f5a0cf7e2b3323bf159a76c8cb7f"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.2.0.tgz#69e1f0db34c6f5a0cf7e2b3323bf159a76c8cb7f"
integrity sha1-aeHw2zTG9aDPfiszI78VmnbIy38=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-class-properties@^7.0.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.2.0.tgz#23b3b7b9bcdabd73672a9149f728cd3be6214812"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.2.0.tgz#23b3b7b9bcdabd73672a9149f728cd3be6214812"
integrity sha1-I7O3ubzavXNnKpFJ9yjNO+YhSBI=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-decorators@^7.0.0", "@babel/plugin-syntax-decorators@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.2.0.tgz#c50b1b957dcc69e4b1127b65e1c33eef61570c1b"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.2.0.tgz#c50b1b957dcc69e4b1127b65e1c33eef61570c1b"
integrity sha1-xQsblX3MaeSxEntl4cM+72FXDBs=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-dynamic-import@7.2.0", "@babel/plugin-syntax-dynamic-import@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612"
integrity sha1-acFZ/69JmBIhYa2OvF5tH1XfhhI=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-export-default-from@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.2.0.tgz#edd83b7adc2e0d059e2467ca96c650ab6d2f3820"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.2.0.tgz#edd83b7adc2e0d059e2467ca96c650ab6d2f3820"
integrity sha1-7dg7etwuDQWeJGfKlsZQq20vOCA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-export-namespace-from@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.2.0.tgz#8d257838c6b3b779db52c0224443459bd27fb039"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.2.0.tgz#8d257838c6b3b779db52c0224443459bd27fb039"
integrity sha1-jSV4OMazt3nbUsAiRENFm9J/sDk=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-flow@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz#a765f061f803bc48f240c26f8747faf97c26bf7c"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.2.0.tgz#a765f061f803bc48f240c26f8747faf97c26bf7c"
integrity sha1-p2XwYfgDvEjyQMJvh0f6+Xwmv3w=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-json-strings@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz#72bd13f6ffe1d25938129d2a186b11fd62951470"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.2.0.tgz#72bd13f6ffe1d25938129d2a186b11fd62951470"
integrity sha1-cr0T9v/h0lk4Ep0qGGsR/WKVFHA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-jsx@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.2.0.tgz#0b85a3b4bc7cdf4cc4b8bf236335b907ca22e7c7"
integrity sha1-C4WjtLx830zEuL8jYzW5B8oi58c=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.2.0.tgz#3b7a3e733510c57e820b9142a6579ac8b0dfad2e"
integrity sha1-O3o+czUQxX6CC5FCpleayLDfrS4=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-optional-catch-binding@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz#a94013d6eda8908dfe6a477e7f9eda85656ecf5c"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.2.0.tgz#a94013d6eda8908dfe6a477e7f9eda85656ecf5c"
integrity sha1-qUAT1u2okI3+akd+f57ahWVuz1w=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-syntax-typescript@^7.2.0":
version "7.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.3.3.tgz#a7cc3f66119a9f7ebe2de5383cce193473d65991"
+ resolved "https://registry.npmjs.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.3.3.tgz#a7cc3f66119a9f7ebe2de5383cce193473d65991"
integrity sha1-p8w/ZhGan36+LeU4PM4ZNHPWWZE=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-arrow-functions@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz#9aeafbe4d6ffc6563bf8f8372091628f00779550"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.2.0.tgz#9aeafbe4d6ffc6563bf8f8372091628f00779550"
integrity sha1-mur75Nb/xlY7+Pg3IJFijwB3lVA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-async-to-generator@^7.0.0", "@babel/plugin-transform-async-to-generator@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.5.0.tgz#89a3848a0166623b5bc481164b5936ab947e887e"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.5.0.tgz#89a3848a0166623b5bc481164b5936ab947e887e"
integrity sha1-iaOEigFmYjtbxIEWS1k2q5R+iH4=
dependencies:
"@babel/helper-module-imports" "^7.0.0"
@@ -489,14 +485,14 @@
"@babel/plugin-transform-block-scoped-functions@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz#5d3cc11e8d5ddd752aa64c9148d0db6cb79fd190"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.2.0.tgz#5d3cc11e8d5ddd752aa64c9148d0db6cb79fd190"
integrity sha1-XTzBHo1d3XUqpkyRSNDbbLef0ZA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-block-scoping@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.5.5.tgz#a35f395e5402822f10d2119f6f8e045e3639a2ce"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.5.5.tgz#a35f395e5402822f10d2119f6f8e045e3639a2ce"
integrity sha1-o185XlQCgi8Q0hGfb44EXjY5os4=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -504,7 +500,7 @@
"@babel/plugin-transform-classes@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-classes/-/plugin-transform-classes-7.5.5.tgz#d094299d9bd680a14a2a0edae38305ad60fb4de9"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.5.5.tgz#d094299d9bd680a14a2a0edae38305ad60fb4de9"
integrity sha1-0JQpnZvWgKFKKg7a44MFrWD7Tek=
dependencies:
"@babel/helper-annotate-as-pure" "^7.0.0"
@@ -518,21 +514,21 @@
"@babel/plugin-transform-computed-properties@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz#83a7df6a658865b1c8f641d510c6f3af220216da"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.2.0.tgz#83a7df6a658865b1c8f641d510c6f3af220216da"
integrity sha1-g6ffamWIZbHI9kHVEMbzryICFto=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-destructuring@7.5.0", "@babel/plugin-transform-destructuring@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.5.0.tgz#f6c09fdfe3f94516ff074fe877db7bc9ef05855a"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.5.0.tgz#f6c09fdfe3f94516ff074fe877db7bc9ef05855a"
integrity sha1-9sCf3+P5RRb/B0/od9t7ye8FhVo=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-dotall-regex@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.4.tgz#361a148bc951444312c69446d76ed1ea8e4450c3"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.4.4.tgz#361a148bc951444312c69446d76ed1ea8e4450c3"
integrity sha1-NhoUi8lRREMSxpRG127R6o5EUMM=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -541,14 +537,14 @@
"@babel/plugin-transform-duplicate-keys@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.5.0.tgz#c5dbf5106bf84cdf691222c0974c12b1df931853"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.5.0.tgz#c5dbf5106bf84cdf691222c0974c12b1df931853"
integrity sha1-xdv1EGv4TN9pEiLAl0wSsd+TGFM=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-exponentiation-operator@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz#a63868289e5b4007f7054d46491af51435766008"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.2.0.tgz#a63868289e5b4007f7054d46491af51435766008"
integrity sha1-pjhoKJ5bQAf3BU1GSRr1FDV2YAg=
dependencies:
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0"
@@ -556,7 +552,7 @@
"@babel/plugin-transform-flow-strip-types@7.4.4", "@babel/plugin-transform-flow-strip-types@^7.0.0":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz#d267a081f49a8705fc9146de0768c6b58dccd8f7"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.4.4.tgz#d267a081f49a8705fc9146de0768c6b58dccd8f7"
integrity sha1-0meggfSahwX8kUbeB2jGtY3M2Pc=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -564,14 +560,14 @@
"@babel/plugin-transform-for-of@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz#0267fc735e24c808ba173866c6c4d1440fc3c556"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.4.tgz#0267fc735e24c808ba173866c6c4d1440fc3c556"
integrity sha1-Amf8c14kyAi6FzhmxsTRRA/DxVY=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-function-name@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.4.tgz#e1436116abb0610c2259094848754ac5230922ad"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.4.4.tgz#e1436116abb0610c2259094848754ac5230922ad"
integrity sha1-4UNhFquwYQwiWQlISHVKxSMJIq0=
dependencies:
"@babel/helper-function-name" "^7.1.0"
@@ -579,21 +575,21 @@
"@babel/plugin-transform-literals@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz#690353e81f9267dad4fd8cfd77eafa86aba53ea1"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.2.0.tgz#690353e81f9267dad4fd8cfd77eafa86aba53ea1"
integrity sha1-aQNT6B+SZ9rU/Yz9d+r6hqulPqE=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-member-expression-literals@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz#fa10aa5c58a2cb6afcf2c9ffa8cb4d8b3d489a2d"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.2.0.tgz#fa10aa5c58a2cb6afcf2c9ffa8cb4d8b3d489a2d"
integrity sha1-+hCqXFiiy2r88sn/qMtNiz1Imi0=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-modules-amd@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.5.0.tgz#ef00435d46da0a5961aa728a1d2ecff063e4fb91"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.5.0.tgz#ef00435d46da0a5961aa728a1d2ecff063e4fb91"
integrity sha1-7wBDXUbaCllhqnKKHS7P8GPk+5E=
dependencies:
"@babel/helper-module-transforms" "^7.1.0"
@@ -602,7 +598,7 @@
"@babel/plugin-transform-modules-commonjs@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.5.0.tgz#425127e6045231360858eeaa47a71d75eded7a74"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.5.0.tgz#425127e6045231360858eeaa47a71d75eded7a74"
integrity sha1-QlEn5gRSMTYIWO6qR6cdde3tenQ=
dependencies:
"@babel/helper-module-transforms" "^7.4.4"
@@ -612,7 +608,7 @@
"@babel/plugin-transform-modules-systemjs@^7.5.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.5.0.tgz#e75266a13ef94202db2a0620977756f51d52d249"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.5.0.tgz#e75266a13ef94202db2a0620977756f51d52d249"
integrity sha1-51JmoT75QgLbKgYgl3dW9R1S0kk=
dependencies:
"@babel/helper-hoist-variables" "^7.4.4"
@@ -621,7 +617,7 @@
"@babel/plugin-transform-modules-umd@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz#7678ce75169f0877b8eb2235538c074268dd01ae"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.2.0.tgz#7678ce75169f0877b8eb2235538c074268dd01ae"
integrity sha1-dnjOdRafCHe46yI1U4wHQmjdAa4=
dependencies:
"@babel/helper-module-transforms" "^7.1.0"
@@ -629,21 +625,21 @@
"@babel/plugin-transform-named-capturing-groups-regex@^7.4.5":
version "7.4.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz#9d269fd28a370258199b4294736813a60bbdd106"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.5.tgz#9d269fd28a370258199b4294736813a60bbdd106"
integrity sha1-nSaf0oo3AlgZm0KUc2gTpgu90QY=
dependencies:
regexp-tree "^0.1.6"
"@babel/plugin-transform-new-target@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.4.tgz#18d120438b0cc9ee95a47f2c72bc9768fbed60a5"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.4.tgz#18d120438b0cc9ee95a47f2c72bc9768fbed60a5"
integrity sha1-GNEgQ4sMye6VpH8scryXaPvtYKU=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-object-super@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.5.5.tgz#c70021df834073c65eb613b8679cc4a381d1a9f9"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.5.5.tgz#c70021df834073c65eb613b8679cc4a381d1a9f9"
integrity sha1-xwAh34NAc8ZethO4Z5zEo4HRqfk=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -651,7 +647,7 @@
"@babel/plugin-transform-parameters@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.4.tgz#7556cf03f318bd2719fe4c922d2d808be5571e16"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.4.tgz#7556cf03f318bd2719fe4c922d2d808be5571e16"
integrity sha1-dVbPA/MYvScZ/kySLS2Ai+VXHhY=
dependencies:
"@babel/helper-call-delegate" "^7.4.4"
@@ -660,14 +656,14 @@
"@babel/plugin-transform-property-literals@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz#03e33f653f5b25c4eb572c98b9485055b389e905"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.2.0.tgz#03e33f653f5b25c4eb572c98b9485055b389e905"
integrity sha1-A+M/ZT9bJcTrVyyYuUhQVbOJ6QU=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-react-constant-elements@^7.0.0", "@babel/plugin-transform-react-constant-elements@^7.2.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.5.0.tgz#4d6ae4033bc38f8a65dfca2b6235c44522a422fc"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.5.0.tgz#4d6ae4033bc38f8a65dfca2b6235c44522a422fc"
integrity sha1-TWrkAzvDj4pl38orYjXERSKkIvw=
dependencies:
"@babel/helper-annotate-as-pure" "^7.0.0"
@@ -675,14 +671,14 @@
"@babel/plugin-transform-react-display-name@7.2.0", "@babel/plugin-transform-react-display-name@^7.0.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.2.0.tgz#ebfaed87834ce8dc4279609a4f0c324c156e3eb0"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.2.0.tgz#ebfaed87834ce8dc4279609a4f0c324c156e3eb0"
integrity sha1-6/rth4NM6NxCeWCaTwwyTBVuPrA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-react-jsx-self@^7.0.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.2.0.tgz#461e21ad9478f1031dd5e276108d027f1b5240ba"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.2.0.tgz#461e21ad9478f1031dd5e276108d027f1b5240ba"
integrity sha1-Rh4hrZR48QMd1eJ2EI0CfxtSQLo=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -690,7 +686,7 @@
"@babel/plugin-transform-react-jsx-source@^7.0.0":
version "7.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.5.0.tgz#583b10c49cf057e237085bcbd8cc960bd83bd96b"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.5.0.tgz#583b10c49cf057e237085bcbd8cc960bd83bd96b"
integrity sha1-WDsQxJzwV+I3CFvL2MyWC9g72Ws=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -698,7 +694,7 @@
"@babel/plugin-transform-react-jsx@^7.0.0":
version "7.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz#f2cab99026631c767e2745a5368b331cfe8f5290"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.3.0.tgz#f2cab99026631c767e2745a5368b331cfe8f5290"
integrity sha1-8sq5kCZjHHZ+J0WlNoszHP6PUpA=
dependencies:
"@babel/helper-builder-react-jsx" "^7.3.0"
@@ -707,21 +703,21 @@
"@babel/plugin-transform-regenerator@^7.4.5":
version "7.4.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz#629dc82512c55cee01341fb27bdfcb210354680f"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.5.tgz#629dc82512c55cee01341fb27bdfcb210354680f"
integrity sha1-Yp3IJRLFXO4BNB+ye9/LIQNUaA8=
dependencies:
regenerator-transform "^0.14.0"
"@babel/plugin-transform-reserved-words@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz#4792af87c998a49367597d07fedf02636d2e1634"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.2.0.tgz#4792af87c998a49367597d07fedf02636d2e1634"
integrity sha1-R5Kvh8mYpJNnWX0H/t8CY20uFjQ=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-runtime@7.5.5", "@babel/plugin-transform-runtime@^7.0.0":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.5.5.tgz#a6331afbfc59189d2135b2e09474457a8e3d28bc"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.5.5.tgz#a6331afbfc59189d2135b2e09474457a8e3d28bc"
integrity sha1-pjMa+/xZGJ0hNbLglHRFeo49KLw=
dependencies:
"@babel/helper-module-imports" "^7.0.0"
@@ -731,21 +727,21 @@
"@babel/plugin-transform-shorthand-properties@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz#6333aee2f8d6ee7e28615457298934a3b46198f0"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz#6333aee2f8d6ee7e28615457298934a3b46198f0"
integrity sha1-YzOu4vjW7n4oYVRXKYk0o7RhmPA=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-spread@^7.2.0":
version "7.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.2.tgz#3103a9abe22f742b6d406ecd3cd49b774919b406"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.2.2.tgz#3103a9abe22f742b6d406ecd3cd49b774919b406"
integrity sha1-MQOpq+IvdCttQG7NPNSbd0kZtAY=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-sticky-regex@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz#a1e454b5995560a9c1e0d537dfc15061fd2687e1"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.2.0.tgz#a1e454b5995560a9c1e0d537dfc15061fd2687e1"
integrity sha1-oeRUtZlVYKnB4NU338FQYf0mh+E=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -753,7 +749,7 @@
"@babel/plugin-transform-template-literals@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz#9d28fea7bbce637fb7612a0750989d8321d4bcb0"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.4.4.tgz#9d28fea7bbce637fb7612a0750989d8321d4bcb0"
integrity sha1-nSj+p7vOY3+3YSoHUJidgyHUvLA=
dependencies:
"@babel/helper-annotate-as-pure" "^7.0.0"
@@ -761,14 +757,14 @@
"@babel/plugin-transform-typeof-symbol@^7.2.0":
version "7.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz#117d2bcec2fbf64b4b59d1f9819894682d29f2b2"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.2.0.tgz#117d2bcec2fbf64b4b59d1f9819894682d29f2b2"
integrity sha1-EX0rzsL79ktLWdH5gZiUaC0p8rI=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
"@babel/plugin-transform-typescript@^7.3.2":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.5.5.tgz#6d862766f09b2da1cb1f7d505fe2aedab6b7d4b8"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.5.5.tgz#6d862766f09b2da1cb1f7d505fe2aedab6b7d4b8"
integrity sha1-bYYnZvCbLaHLH31QX+Ku2ra31Lg=
dependencies:
"@babel/helper-create-class-features-plugin" "^7.5.5"
@@ -777,7 +773,7 @@
"@babel/plugin-transform-unicode-regex@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.4.tgz#ab4634bb4f14d36728bf5978322b35587787970f"
+ resolved "https://registry.npmjs.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.4.4.tgz#ab4634bb4f14d36728bf5978322b35587787970f"
integrity sha1-q0Y0u08U02cov1l4Mis1WHeHlw8=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -786,7 +782,7 @@
"@babel/polyfill@^7.0.0":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/polyfill/-/polyfill-7.4.4.tgz#78801cf3dbe657844eeabf31c1cae3828051e893"
+ resolved "https://registry.npmjs.com/@babel/polyfill/-/polyfill-7.4.4.tgz#78801cf3dbe657844eeabf31c1cae3828051e893"
integrity sha1-eIAc89vmV4RO6r8xwcrjgoBR6JM=
dependencies:
core-js "^2.6.5"
@@ -794,7 +790,7 @@
"@babel/preset-env@7.5.5", "@babel/preset-env@^7.0.0", "@babel/preset-env@^7.4.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/preset-env/-/preset-env-7.5.5.tgz#bc470b53acaa48df4b8db24a570d6da1fef53c9a"
+ resolved "https://registry.npmjs.com/@babel/preset-env/-/preset-env-7.5.5.tgz#bc470b53acaa48df4b8db24a570d6da1fef53c9a"
integrity sha1-vEcLU6yqSN9LjbJKVw1tof71PJo=
dependencies:
"@babel/helper-module-imports" "^7.0.0"
@@ -850,7 +846,7 @@
"@babel/preset-flow@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/preset-flow/-/preset-flow-7.0.0.tgz#afd764835d9535ec63d8c7d4caf1c06457263da2"
+ resolved "https://registry.npmjs.com/@babel/preset-flow/-/preset-flow-7.0.0.tgz#afd764835d9535ec63d8c7d4caf1c06457263da2"
integrity sha1-r9dkg12VNexj2MfUyvHAZFcmPaI=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -858,7 +854,7 @@
"@babel/preset-react@7.0.0", "@babel/preset-react@^7.0.0":
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0"
+ resolved "https://registry.npmjs.com/@babel/preset-react/-/preset-react-7.0.0.tgz#e86b4b3d99433c7b3e9e91747e2653958bc6b3c0"
integrity sha1-6GtLPZlDPHs+npF0fiZTlYvGs8A=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -869,7 +865,7 @@
"@babel/preset-typescript@7.3.3", "@babel/preset-typescript@^7.0.0":
version "7.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/preset-typescript/-/preset-typescript-7.3.3.tgz#88669911053fa16b2b276ea2ede2ca603b3f307a"
+ resolved "https://registry.npmjs.com/@babel/preset-typescript/-/preset-typescript-7.3.3.tgz#88669911053fa16b2b276ea2ede2ca603b3f307a"
integrity sha1-iGaZEQU/oWsrJ26i7eLKYDs/MHo=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -877,7 +873,7 @@
"@babel/register@^7.0.0", "@babel/register@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/register/-/register-7.5.5.tgz#40fe0d474c8c8587b28d6ae18a03eddad3dac3c1"
+ resolved "https://registry.npmjs.com/@babel/register/-/register-7.5.5.tgz#40fe0d474c8c8587b28d6ae18a03eddad3dac3c1"
integrity sha1-QP4NR0yMhYeyjWrhigPt2tPaw8E=
dependencies:
core-js "^3.0.0"
@@ -889,28 +885,28 @@
"@babel/runtime@7.3.4":
version "7.3.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83"
+ resolved "https://registry.npmjs.com/@babel/runtime/-/runtime-7.3.4.tgz#73d12ba819e365fcf7fd152aed56d6df97d21c83"
integrity sha1-c9ErqBnjZfz3/RUq7VbW35fSHIM=
dependencies:
regenerator-runtime "^0.12.0"
"@babel/runtime@7.5.5", "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/runtime/-/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132"
+ resolved "https://registry.npmjs.com/@babel/runtime/-/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132"
integrity sha1-dPulbTXvvspEQJHHhQzNSU/S8TI=
dependencies:
regenerator-runtime "^0.13.2"
"@babel/runtime@^7.3.1":
version "7.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/runtime/-/runtime-7.6.0.tgz#4fc1d642a9fd0299754e8b5de62c631cf5568205"
+ resolved "https://registry.npmjs.com/@babel/runtime/-/runtime-7.6.0.tgz#4fc1d642a9fd0299754e8b5de62c631cf5568205"
integrity sha1-T8HWQqn9Apl1Totd5ixjHPVWggU=
dependencies:
regenerator-runtime "^0.13.2"
"@babel/template@^7.1.0", "@babel/template@^7.4.0", "@babel/template@^7.4.4":
version "7.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/template/-/template-7.4.4.tgz#f4b88d1225689a08f5bc3a17483545be9e4ed237"
+ resolved "https://registry.npmjs.com/@babel/template/-/template-7.4.4.tgz#f4b88d1225689a08f5bc3a17483545be9e4ed237"
integrity sha1-9LiNEiVomgj1vDoXSDVFvp5O0jc=
dependencies:
"@babel/code-frame" "^7.0.0"
@@ -919,7 +915,7 @@
"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.4.3", "@babel/traverse@^7.4.4", "@babel/traverse@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/traverse/-/traverse-7.5.5.tgz#f664f8f368ed32988cd648da9f72d5ca70f165bb"
+ resolved "https://registry.npmjs.com/@babel/traverse/-/traverse-7.5.5.tgz#f664f8f368ed32988cd648da9f72d5ca70f165bb"
integrity sha1-9mT482jtMpiM1kjan3LVynDxZbs=
dependencies:
"@babel/code-frame" "^7.5.5"
@@ -934,7 +930,7 @@
"@babel/types@^7.0.0", "@babel/types@^7.2.0", "@babel/types@^7.3.0", "@babel/types@^7.4.0", "@babel/types@^7.4.4", "@babel/types@^7.5.5":
version "7.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@babel/types/-/types-7.5.5.tgz#97b9f728e182785909aa4ab56264f090a028d18a"
+ resolved "https://registry.npmjs.com/@babel/types/-/types-7.5.5.tgz#97b9f728e182785909aa4ab56264f090a028d18a"
integrity sha1-l7n3KOGCeFkJqkq1YmTwkKAo0Yo=
dependencies:
esutils "^2.0.2"
@@ -943,7 +939,7 @@
"@chromaui/localtunnel@1.10.1":
version "1.10.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@chromaui/localtunnel/-/localtunnel-1.10.1.tgz#34da7dab7055a16b1b9034a9eb7e3054ebec4b98"
+ resolved "https://registry.npmjs.com/@chromaui/localtunnel/-/localtunnel-1.10.1.tgz#34da7dab7055a16b1b9034a9eb7e3054ebec4b98"
integrity sha1-NNp9q3BVoWsbkDSp634wVOvsS5g=
dependencies:
axios "0.19.0"
@@ -953,7 +949,7 @@
"@cnakazawa/watch@^1.0.3":
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"
+ resolved "https://registry.npmjs.com/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"
integrity sha1-CZE56ux+vweifBeGo/9k85Rk0u8=
dependencies:
exec-sh "^0.3.2"
@@ -961,7 +957,7 @@
"@emotion/babel-utils@^0.6.4":
version "0.6.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/babel-utils/-/babel-utils-0.6.10.tgz#83dbf3dfa933fae9fc566e54fbb45f14674c6ccc"
+ resolved "https://registry.npmjs.com/@emotion/babel-utils/-/babel-utils-0.6.10.tgz#83dbf3dfa933fae9fc566e54fbb45f14674c6ccc"
integrity sha1-g9vz36kz+un8Vm5U+7RfFGdMbMw=
dependencies:
"@emotion/hash" "^0.6.6"
@@ -973,7 +969,7 @@
"@emotion/cache@^10.0.17":
version "10.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/cache/-/cache-10.0.17.tgz#3491a035f62f276620d586677bfc3d4fad0b8472"
+ resolved "https://registry.npmjs.com/@emotion/cache/-/cache-10.0.17.tgz#3491a035f62f276620d586677bfc3d4fad0b8472"
integrity sha1-NJGgNfYvJ2Yg1YZne/w9T60LhHI=
dependencies:
"@emotion/sheet" "0.9.3"
@@ -983,7 +979,7 @@
"@emotion/core@^10.0.9":
version "10.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/core/-/core-10.0.17.tgz#3367376709721f4ee2068cff54ba581d362789d8"
+ resolved "https://registry.npmjs.com/@emotion/core/-/core-10.0.17.tgz#3367376709721f4ee2068cff54ba581d362789d8"
integrity sha1-M2c3ZwlyH07iBoz/VLpYHTYnidg=
dependencies:
"@babel/runtime" "^7.5.5"
@@ -995,7 +991,7 @@
"@emotion/css@^10.0.14":
version "10.0.14"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/css/-/css-10.0.14.tgz#95dacabdd0e22845d1a1b0b5968d9afa34011139"
+ resolved "https://registry.npmjs.com/@emotion/css/-/css-10.0.14.tgz#95dacabdd0e22845d1a1b0b5968d9afa34011139"
integrity sha1-ldrKvdDiKEXRobC1lo2a+jQBETk=
dependencies:
"@emotion/serialize" "^0.11.8"
@@ -1004,34 +1000,34 @@
"@emotion/hash@0.7.2":
version "0.7.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/hash/-/hash-0.7.2.tgz#53211e564604beb9befa7a4400ebf8147473eeef"
+ resolved "https://registry.npmjs.com/@emotion/hash/-/hash-0.7.2.tgz#53211e564604beb9befa7a4400ebf8147473eeef"
integrity sha1-UyEeVkYEvrm++npEAOv4FHRz7u8=
"@emotion/hash@^0.6.2", "@emotion/hash@^0.6.6":
version "0.6.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/hash/-/hash-0.6.6.tgz#62266c5f0eac6941fece302abad69f2ee7e25e44"
+ resolved "https://registry.npmjs.com/@emotion/hash/-/hash-0.6.6.tgz#62266c5f0eac6941fece302abad69f2ee7e25e44"
integrity sha1-YiZsXw6saUH+zjAqutafLufiXkQ=
"@emotion/is-prop-valid@0.8.2":
version "0.8.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/is-prop-valid/-/is-prop-valid-0.8.2.tgz#b9692080da79041683021fcc32f96b40c54c59dc"
+ resolved "https://registry.npmjs.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.2.tgz#b9692080da79041683021fcc32f96b40c54c59dc"
integrity sha1-uWkggNp5BBaDAh/MMvlrQMVMWdw=
dependencies:
"@emotion/memoize" "0.7.2"
"@emotion/memoize@0.7.2":
version "0.7.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/memoize/-/memoize-0.7.2.tgz#7f4c71b7654068dfcccad29553520f984cc66b30"
+ resolved "https://registry.npmjs.com/@emotion/memoize/-/memoize-0.7.2.tgz#7f4c71b7654068dfcccad29553520f984cc66b30"
integrity sha1-f0xxt2VAaN/MytKVU1IPmEzGazA=
"@emotion/memoize@^0.6.1", "@emotion/memoize@^0.6.6":
version "0.6.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/memoize/-/memoize-0.6.6.tgz#004b98298d04c7ca3b4f50ca2035d4f60d2eed1b"
+ resolved "https://registry.npmjs.com/@emotion/memoize/-/memoize-0.6.6.tgz#004b98298d04c7ca3b4f50ca2035d4f60d2eed1b"
integrity sha1-AEuYKY0Ex8o7T1DKIDXU9g0u7Rs=
"@emotion/serialize@^0.11.10", "@emotion/serialize@^0.11.8":
version "0.11.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/serialize/-/serialize-0.11.10.tgz#53207dba7e28bd96928fc2a37e20b31b712bf9a2"
+ resolved "https://registry.npmjs.com/@emotion/serialize/-/serialize-0.11.10.tgz#53207dba7e28bd96928fc2a37e20b31b712bf9a2"
integrity sha1-UyB9un4ovZaSj8KjfiCzG3Er+aI=
dependencies:
"@emotion/hash" "0.7.2"
@@ -1042,7 +1038,7 @@
"@emotion/serialize@^0.9.1":
version "0.9.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/serialize/-/serialize-0.9.1.tgz#a494982a6920730dba6303eb018220a2b629c145"
+ resolved "https://registry.npmjs.com/@emotion/serialize/-/serialize-0.9.1.tgz#a494982a6920730dba6303eb018220a2b629c145"
integrity sha1-pJSYKmkgcw26YwPrAYIgorYpwUU=
dependencies:
"@emotion/hash" "^0.6.6"
@@ -1052,12 +1048,12 @@
"@emotion/sheet@0.9.3":
version "0.9.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/sheet/-/sheet-0.9.3.tgz#689f135ecf87d3c650ed0c4f5ddcbe579883564a"
+ resolved "https://registry.npmjs.com/@emotion/sheet/-/sheet-0.9.3.tgz#689f135ecf87d3c650ed0c4f5ddcbe579883564a"
integrity sha1-aJ8TXs+H08ZQ7QxPXdy+V5iDVko=
"@emotion/styled-base@^10.0.17":
version "10.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/styled-base/-/styled-base-10.0.17.tgz#701af0cd256be2977db8d67c33630f542e460b85"
+ resolved "https://registry.npmjs.com/@emotion/styled-base/-/styled-base-10.0.17.tgz#701af0cd256be2977db8d67c33630f542e460b85"
integrity sha1-cBrwzSVr4pd9uNZ8M2MPVC5GC4U=
dependencies:
"@babel/runtime" "^7.5.5"
@@ -1067,7 +1063,7 @@
"@emotion/styled@^10.0.7":
version "10.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/styled/-/styled-10.0.17.tgz#0cd38b8b36259541f2c6717fc22607a120623654"
+ resolved "https://registry.npmjs.com/@emotion/styled/-/styled-10.0.17.tgz#0cd38b8b36259541f2c6717fc22607a120623654"
integrity sha1-DNOLizYllUHyxnF/wiYHoSBiNlQ=
dependencies:
"@emotion/styled-base" "^10.0.17"
@@ -1075,42 +1071,42 @@
"@emotion/stylis@0.8.4":
version "0.8.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/stylis/-/stylis-0.8.4.tgz#6c51afdf1dd0d73666ba09d2eb6c25c220d6fe4c"
+ resolved "https://registry.npmjs.com/@emotion/stylis/-/stylis-0.8.4.tgz#6c51afdf1dd0d73666ba09d2eb6c25c220d6fe4c"
integrity sha1-bFGv3x3Q1zZmugnS62wlwiDW/kw=
"@emotion/stylis@^0.7.0":
version "0.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/stylis/-/stylis-0.7.1.tgz#50f63225e712d99e2b2b39c19c70fff023793ca5"
+ resolved "https://registry.npmjs.com/@emotion/stylis/-/stylis-0.7.1.tgz#50f63225e712d99e2b2b39c19c70fff023793ca5"
integrity sha1-UPYyJecS2Z4rKznBnHD/8CN5PKU=
"@emotion/unitless@0.7.4":
version "0.7.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/unitless/-/unitless-0.7.4.tgz#a87b4b04e5ae14a88d48ebef15015f6b7d1f5677"
+ resolved "https://registry.npmjs.com/@emotion/unitless/-/unitless-0.7.4.tgz#a87b4b04e5ae14a88d48ebef15015f6b7d1f5677"
integrity sha1-qHtLBOWuFKiNSOvvFQFfa30fVnc=
"@emotion/unitless@^0.6.2", "@emotion/unitless@^0.6.7":
version "0.6.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/unitless/-/unitless-0.6.7.tgz#53e9f1892f725b194d5e6a1684a7b394df592397"
+ resolved "https://registry.npmjs.com/@emotion/unitless/-/unitless-0.6.7.tgz#53e9f1892f725b194d5e6a1684a7b394df592397"
integrity sha1-U+nxiS9yWxlNXmoWhKezlN9ZI5c=
"@emotion/utils@0.11.2":
version "0.11.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/utils/-/utils-0.11.2.tgz#713056bfdffb396b0a14f1c8f18e7b4d0d200183"
+ resolved "https://registry.npmjs.com/@emotion/utils/-/utils-0.11.2.tgz#713056bfdffb396b0a14f1c8f18e7b4d0d200183"
integrity sha1-cTBWv9/7OWsKFPHI8Y57TQ0gAYM=
"@emotion/utils@^0.8.2":
version "0.8.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/utils/-/utils-0.8.2.tgz#576ff7fb1230185b619a75d258cbc98f0867a8dc"
+ resolved "https://registry.npmjs.com/@emotion/utils/-/utils-0.8.2.tgz#576ff7fb1230185b619a75d258cbc98f0867a8dc"
integrity sha1-V2/3+xIwGFthmnXSWMvJjwhnqNw=
"@emotion/weak-memoize@0.2.3":
version "0.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@emotion/weak-memoize/-/weak-memoize-0.2.3.tgz#dfa0c92efe44a1d1a7974fb49ffeb40ef2da5a27"
+ resolved "https://registry.npmjs.com/@emotion/weak-memoize/-/weak-memoize-0.2.3.tgz#dfa0c92efe44a1d1a7974fb49ffeb40ef2da5a27"
integrity sha1-36DJLv5EodGnl0+0n/60DvLaWic=
"@evocateur/libnpmaccess@^3.1.2":
version "3.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz#ecf7f6ce6b004e9f942b098d92200be4a4b1c845"
+ resolved "https://registry.npmjs.com/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz#ecf7f6ce6b004e9f942b098d92200be4a4b1c845"
integrity sha1-7Pf2zmsATp+UKwmNkiAL5KSxyEU=
dependencies:
"@evocateur/npm-registry-fetch" "^4.0.0"
@@ -1121,7 +1117,7 @@
"@evocateur/libnpmpublish@^1.2.2":
version "1.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@evocateur/libnpmpublish/-/libnpmpublish-1.2.2.tgz#55df09d2dca136afba9c88c759ca272198db9f1a"
+ resolved "https://registry.npmjs.com/@evocateur/libnpmpublish/-/libnpmpublish-1.2.2.tgz#55df09d2dca136afba9c88c759ca272198db9f1a"
integrity sha1-Vd8J0tyhNq+6nIjHWconIZjbnxo=
dependencies:
"@evocateur/npm-registry-fetch" "^4.0.0"
@@ -1136,7 +1132,7 @@
"@evocateur/npm-registry-fetch@^4.0.0":
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@evocateur/npm-registry-fetch/-/npm-registry-fetch-4.0.0.tgz#8c4c38766d8d32d3200fcb0a83f064b57365ed66"
+ resolved "https://registry.npmjs.com/@evocateur/npm-registry-fetch/-/npm-registry-fetch-4.0.0.tgz#8c4c38766d8d32d3200fcb0a83f064b57365ed66"
integrity sha1-jEw4dm2NMtMgD8sKg/BktXNl7WY=
dependencies:
JSONStream "^1.3.4"
@@ -1149,7 +1145,7 @@
"@evocateur/pacote@^9.6.3":
version "9.6.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@evocateur/pacote/-/pacote-9.6.5.tgz#33de32ba210b6f17c20ebab4d497efc6755f4ae5"
+ resolved "https://registry.npmjs.com/@evocateur/pacote/-/pacote-9.6.5.tgz#33de32ba210b6f17c20ebab4d497efc6755f4ae5"
integrity sha1-M94yuiELbxfCDrq01JfvxnVfSuU=
dependencies:
"@evocateur/npm-registry-fetch" "^4.0.0"
@@ -1184,12 +1180,12 @@
"@icons/material@^0.2.4":
version "0.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@icons/material/-/material-0.2.4.tgz#e90c9f71768b3736e76d7dd6783fc6c2afa88bc8"
+ resolved "https://registry.npmjs.com/@icons/material/-/material-0.2.4.tgz#e90c9f71768b3736e76d7dd6783fc6c2afa88bc8"
integrity sha1-6QyfcXaLNzbnbX3WeD/Gwq+oi8g=
"@jest/console@^24.7.1", "@jest/console@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0"
+ resolved "https://registry.npmjs.com/@jest/console/-/console-24.9.0.tgz#79b1bc06fb74a8cfb01cbdedf945584b1b9707f0"
integrity sha1-ebG8Bvt0qM+wHL3t+UVYSxuXB/A=
dependencies:
"@jest/source-map" "^24.9.0"
@@ -1198,7 +1194,7 @@
"@jest/core@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/core/-/core-24.9.0.tgz#2ceccd0b93181f9c4850e74f2a9ad43d351369c4"
+ resolved "https://registry.npmjs.com/@jest/core/-/core-24.9.0.tgz#2ceccd0b93181f9c4850e74f2a9ad43d351369c4"
integrity sha1-LOzNC5MYH5xIUOdPKprUPTUTacQ=
dependencies:
"@jest/console" "^24.7.1"
@@ -1232,7 +1228,7 @@
"@jest/environment@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/environment/-/environment-24.9.0.tgz#21e3afa2d65c0586cbd6cbefe208bafade44ab18"
+ resolved "https://registry.npmjs.com/@jest/environment/-/environment-24.9.0.tgz#21e3afa2d65c0586cbd6cbefe208bafade44ab18"
integrity sha1-IeOvotZcBYbL1svv4gi6+t5Eqxg=
dependencies:
"@jest/fake-timers" "^24.9.0"
@@ -1242,7 +1238,7 @@
"@jest/fake-timers@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/fake-timers/-/fake-timers-24.9.0.tgz#ba3e6bf0eecd09a636049896434d306636540c93"
+ resolved "https://registry.npmjs.com/@jest/fake-timers/-/fake-timers-24.9.0.tgz#ba3e6bf0eecd09a636049896434d306636540c93"
integrity sha1-uj5r8O7NCaY2BJiWQ00wZjZUDJM=
dependencies:
"@jest/types" "^24.9.0"
@@ -1251,7 +1247,7 @@
"@jest/reporters@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/reporters/-/reporters-24.9.0.tgz#86660eff8e2b9661d042a8e98a028b8d631a5b43"
+ resolved "https://registry.npmjs.com/@jest/reporters/-/reporters-24.9.0.tgz#86660eff8e2b9661d042a8e98a028b8d631a5b43"
integrity sha1-hmYO/44rlmHQQqjpigKLjWMaW0M=
dependencies:
"@jest/environment" "^24.9.0"
@@ -1278,7 +1274,7 @@
"@jest/source-map@^24.3.0", "@jest/source-map@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/source-map/-/source-map-24.9.0.tgz#0e263a94430be4b41da683ccc1e6bffe2a191714"
+ resolved "https://registry.npmjs.com/@jest/source-map/-/source-map-24.9.0.tgz#0e263a94430be4b41da683ccc1e6bffe2a191714"
integrity sha1-DiY6lEML5LQdpoPMwea//ioZFxQ=
dependencies:
callsites "^3.0.0"
@@ -1287,7 +1283,7 @@
"@jest/test-result@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/test-result/-/test-result-24.9.0.tgz#11796e8aa9dbf88ea025757b3152595ad06ba0ca"
+ resolved "https://registry.npmjs.com/@jest/test-result/-/test-result-24.9.0.tgz#11796e8aa9dbf88ea025757b3152595ad06ba0ca"
integrity sha1-EXluiqnb+I6gJXV7MVJZWtBroMo=
dependencies:
"@jest/console" "^24.9.0"
@@ -1296,7 +1292,7 @@
"@jest/test-sequencer@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz#f8f334f35b625a4f2f355f2fe7e6036dad2e6b31"
+ resolved "https://registry.npmjs.com/@jest/test-sequencer/-/test-sequencer-24.9.0.tgz#f8f334f35b625a4f2f355f2fe7e6036dad2e6b31"
integrity sha1-+PM081tiWk8vNV8v5+YDba0uazE=
dependencies:
"@jest/test-result" "^24.9.0"
@@ -1306,7 +1302,7 @@
"@jest/transform@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/transform/-/transform-24.9.0.tgz#4ae2768b296553fadab09e9ec119543c90b16c56"
+ resolved "https://registry.npmjs.com/@jest/transform/-/transform-24.9.0.tgz#4ae2768b296553fadab09e9ec119543c90b16c56"
integrity sha1-SuJ2iyllU/rasJ6ewRlUPJCxbFY=
dependencies:
"@babel/core" "^7.1.0"
@@ -1328,7 +1324,7 @@
"@jest/types@^24.9.0":
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@jest/types/-/types-24.9.0.tgz#63cb26cb7500d069e5a389441a7c6ab5e909fc59"
+ resolved "https://registry.npmjs.com/@jest/types/-/types-24.9.0.tgz#63cb26cb7500d069e5a389441a7c6ab5e909fc59"
integrity sha1-Y8smy3UA0Gnlo4lEGnxqtekJ/Fk=
dependencies:
"@types/istanbul-lib-coverage" "^2.0.0"
@@ -1337,7 +1333,7 @@
"@lerna/add@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/add/-/add-3.16.2.tgz#90ecc1be7051cfcec75496ce122f656295bd6e94"
+ resolved "https://registry.npmjs.com/@lerna/add/-/add-3.16.2.tgz#90ecc1be7051cfcec75496ce122f656295bd6e94"
integrity sha1-kOzBvnBRz87HVJbOEi9lYpW9bpQ=
dependencies:
"@evocateur/pacote" "^9.6.3"
@@ -1353,7 +1349,7 @@
"@lerna/batch-packages@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/batch-packages/-/batch-packages-3.16.0.tgz#1c16cb697e7d718177db744cbcbdac4e30253c8c"
+ resolved "https://registry.npmjs.com/@lerna/batch-packages/-/batch-packages-3.16.0.tgz#1c16cb697e7d718177db744cbcbdac4e30253c8c"
integrity sha1-HBbLaX59cYF323RMvL2sTjAlPIw=
dependencies:
"@lerna/package-graph" "3.16.0"
@@ -1361,7 +1357,7 @@
"@lerna/bootstrap@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/bootstrap/-/bootstrap-3.16.2.tgz#be268d940221d3c3270656b9b791b492559ad9d8"
+ resolved "https://registry.npmjs.com/@lerna/bootstrap/-/bootstrap-3.16.2.tgz#be268d940221d3c3270656b9b791b492559ad9d8"
integrity sha1-viaNlAIh08MnBla5t5G0klWa2dg=
dependencies:
"@lerna/batch-packages" "3.16.0"
@@ -1391,7 +1387,7 @@
"@lerna/changed@3.16.4":
version "3.16.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/changed/-/changed-3.16.4.tgz#c3e727d01453513140eee32c94b695de577dc955"
+ resolved "https://registry.npmjs.com/@lerna/changed/-/changed-3.16.4.tgz#c3e727d01453513140eee32c94b695de577dc955"
integrity sha1-w+cn0BRTUTFA7uMslLaV3ld9yVU=
dependencies:
"@lerna/collect-updates" "3.16.0"
@@ -1402,7 +1398,7 @@
"@lerna/check-working-tree@3.14.2":
version "3.14.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/check-working-tree/-/check-working-tree-3.14.2.tgz#5ce007722180a69643a8456766ed8a91fc7e9ae1"
+ resolved "https://registry.npmjs.com/@lerna/check-working-tree/-/check-working-tree-3.14.2.tgz#5ce007722180a69643a8456766ed8a91fc7e9ae1"
integrity sha1-XOAHciGAppZDqEVnZu2Kkfx+muE=
dependencies:
"@lerna/collect-uncommitted" "3.14.2"
@@ -1411,7 +1407,7 @@
"@lerna/child-process@3.14.2":
version "3.14.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/child-process/-/child-process-3.14.2.tgz#950240cba83f7dfe25247cfa6c9cebf30b7d94f6"
+ resolved "https://registry.npmjs.com/@lerna/child-process/-/child-process-3.14.2.tgz#950240cba83f7dfe25247cfa6c9cebf30b7d94f6"
integrity sha1-lQJAy6g/ff4lJHz6bJzr8wt9lPY=
dependencies:
chalk "^2.3.1"
@@ -1420,7 +1416,7 @@
"@lerna/clean@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/clean/-/clean-3.16.0.tgz#1c134334cacea1b1dbeacdc580e8b9240db8efa1"
+ resolved "https://registry.npmjs.com/@lerna/clean/-/clean-3.16.0.tgz#1c134334cacea1b1dbeacdc580e8b9240db8efa1"
integrity sha1-HBNDNMrOobHb6s3FgOi5JA2476E=
dependencies:
"@lerna/command" "3.16.0"
@@ -1434,7 +1430,7 @@
"@lerna/cli@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/cli/-/cli-3.13.0.tgz#3d7b357fdd7818423e9681a7b7f2abd106c8a266"
+ resolved "https://registry.npmjs.com/@lerna/cli/-/cli-3.13.0.tgz#3d7b357fdd7818423e9681a7b7f2abd106c8a266"
integrity sha1-PXs1f914GEI+loGnt/Kr0QbIomY=
dependencies:
"@lerna/global-options" "3.13.0"
@@ -1444,7 +1440,7 @@
"@lerna/collect-uncommitted@3.14.2":
version "3.14.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/collect-uncommitted/-/collect-uncommitted-3.14.2.tgz#b5ed00d800bea26bb0d18404432b051eee8d030e"
+ resolved "https://registry.npmjs.com/@lerna/collect-uncommitted/-/collect-uncommitted-3.14.2.tgz#b5ed00d800bea26bb0d18404432b051eee8d030e"
integrity sha1-te0A2AC+omuw0YQEQysFHu6NAw4=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1454,7 +1450,7 @@
"@lerna/collect-updates@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/collect-updates/-/collect-updates-3.16.0.tgz#6db3ce8a740a4e2b972c033a63bdfb77f2553d8c"
+ resolved "https://registry.npmjs.com/@lerna/collect-updates/-/collect-updates-3.16.0.tgz#6db3ce8a740a4e2b972c033a63bdfb77f2553d8c"
integrity sha1-bbPOinQKTiuXLAM6Y737d/JVPYw=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1465,7 +1461,7 @@
"@lerna/command@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/command/-/command-3.16.0.tgz#ba3dba49cb5ce4d11b48269cf95becd86e30773f"
+ resolved "https://registry.npmjs.com/@lerna/command/-/command-3.16.0.tgz#ba3dba49cb5ce4d11b48269cf95becd86e30773f"
integrity sha1-uj26Sctc5NEbSCac+Vvs2G4wdz8=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1481,7 +1477,7 @@
"@lerna/conventional-commits@3.16.4":
version "3.16.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/conventional-commits/-/conventional-commits-3.16.4.tgz#bf464f11b2f6534dad204db00430e1651b346a04"
+ resolved "https://registry.npmjs.com/@lerna/conventional-commits/-/conventional-commits-3.16.4.tgz#bf464f11b2f6534dad204db00430e1651b346a04"
integrity sha1-v0ZPEbL2U02tIE2wBDDhZRs0agQ=
dependencies:
"@lerna/validation-error" "3.13.0"
@@ -1498,7 +1494,7 @@
"@lerna/create-symlink@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/create-symlink/-/create-symlink-3.16.2.tgz#412cb8e59a72f5a7d9463e4e4721ad2070149967"
+ resolved "https://registry.npmjs.com/@lerna/create-symlink/-/create-symlink-3.16.2.tgz#412cb8e59a72f5a7d9463e4e4721ad2070149967"
integrity sha1-QSy45Zpy9afZRj5ORyGtIHAUmWc=
dependencies:
"@zkochan/cmd-shim" "^3.1.0"
@@ -1507,7 +1503,7 @@
"@lerna/create@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/create/-/create-3.16.0.tgz#4de841ec7d98b29bb19fb7d6ad982e65f7a150e8"
+ resolved "https://registry.npmjs.com/@lerna/create/-/create-3.16.0.tgz#4de841ec7d98b29bb19fb7d6ad982e65f7a150e8"
integrity sha1-TehB7H2Yspuxn7fWrZguZfehUOg=
dependencies:
"@evocateur/pacote" "^9.6.3"
@@ -1531,7 +1527,7 @@
"@lerna/describe-ref@3.14.2":
version "3.14.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/describe-ref/-/describe-ref-3.14.2.tgz#edc3c973f5ca9728d23358c4f4d3b55a21f65be5"
+ resolved "https://registry.npmjs.com/@lerna/describe-ref/-/describe-ref-3.14.2.tgz#edc3c973f5ca9728d23358c4f4d3b55a21f65be5"
integrity sha1-7cPJc/XKlyjSM1jE9NO1WiH2W+U=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1539,7 +1535,7 @@
"@lerna/diff@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/diff/-/diff-3.16.0.tgz#6d09a786f9f5b343a2fdc460eb0be08a05b420aa"
+ resolved "https://registry.npmjs.com/@lerna/diff/-/diff-3.16.0.tgz#6d09a786f9f5b343a2fdc460eb0be08a05b420aa"
integrity sha1-bQmnhvn1s0Oi/cRg6wvgigW0IKo=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1549,7 +1545,7 @@
"@lerna/exec@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/exec/-/exec-3.16.0.tgz#2b6c033cee46181b6eede0eb12aad5c2c0181e89"
+ resolved "https://registry.npmjs.com/@lerna/exec/-/exec-3.16.0.tgz#2b6c033cee46181b6eede0eb12aad5c2c0181e89"
integrity sha1-K2wDPO5GGBtu7eDrEqrVwsAYHok=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1561,7 +1557,7 @@
"@lerna/filter-options@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/filter-options/-/filter-options-3.16.0.tgz#b1660b4480c02a5c6efa4d0cd98b9afde4ed0bba"
+ resolved "https://registry.npmjs.com/@lerna/filter-options/-/filter-options-3.16.0.tgz#b1660b4480c02a5c6efa4d0cd98b9afde4ed0bba"
integrity sha1-sWYLRIDAKlxu+k0M2Yua/eTtC7o=
dependencies:
"@lerna/collect-updates" "3.16.0"
@@ -1570,7 +1566,7 @@
"@lerna/filter-packages@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/filter-packages/-/filter-packages-3.16.0.tgz#7d34dc8530c71016263d6f67dc65308ecf11c9fc"
+ resolved "https://registry.npmjs.com/@lerna/filter-packages/-/filter-packages-3.16.0.tgz#7d34dc8530c71016263d6f67dc65308ecf11c9fc"
integrity sha1-fTTchTDHEBYmPW9n3GUwjs8Ryfw=
dependencies:
"@lerna/validation-error" "3.13.0"
@@ -1579,14 +1575,14 @@
"@lerna/get-npm-exec-opts@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.13.0.tgz#d1b552cb0088199fc3e7e126f914e39a08df9ea5"
+ resolved "https://registry.npmjs.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-3.13.0.tgz#d1b552cb0088199fc3e7e126f914e39a08df9ea5"
integrity sha1-0bVSywCIGZ/D5+Em+RTjmgjfnqU=
dependencies:
npmlog "^4.1.2"
"@lerna/get-packed@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/get-packed/-/get-packed-3.16.0.tgz#1b316b706dcee86c7baa55e50b087959447852ff"
+ resolved "https://registry.npmjs.com/@lerna/get-packed/-/get-packed-3.16.0.tgz#1b316b706dcee86c7baa55e50b087959447852ff"
integrity sha1-GzFrcG3O6Gx7qlXlCwh5WUR4Uv8=
dependencies:
fs-extra "^8.1.0"
@@ -1595,7 +1591,7 @@
"@lerna/github-client@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/github-client/-/github-client-3.16.0.tgz#619874e461641d4f59ab1b3f1a7ba22dba88125d"
+ resolved "https://registry.npmjs.com/@lerna/github-client/-/github-client-3.16.0.tgz#619874e461641d4f59ab1b3f1a7ba22dba88125d"
integrity sha1-YZh05GFkHU9Zqxs/GnuiLbqIEl0=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1606,7 +1602,7 @@
"@lerna/gitlab-client@3.15.0":
version "3.15.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/gitlab-client/-/gitlab-client-3.15.0.tgz#91f4ec8c697b5ac57f7f25bd50fe659d24aa96a6"
+ resolved "https://registry.npmjs.com/@lerna/gitlab-client/-/gitlab-client-3.15.0.tgz#91f4ec8c697b5ac57f7f25bd50fe659d24aa96a6"
integrity sha1-kfTsjGl7WsV/fyW9UP5lnSSqlqY=
dependencies:
node-fetch "^2.5.0"
@@ -1615,12 +1611,12 @@
"@lerna/global-options@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/global-options/-/global-options-3.13.0.tgz#217662290db06ad9cf2c49d8e3100ee28eaebae1"
+ resolved "https://registry.npmjs.com/@lerna/global-options/-/global-options-3.13.0.tgz#217662290db06ad9cf2c49d8e3100ee28eaebae1"
integrity sha1-IXZiKQ2watnPLEnY4xAO4o6uuuE=
"@lerna/has-npm-version@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/has-npm-version/-/has-npm-version-3.16.0.tgz#55764a4ce792f0c8553cf996a17f554b9e843288"
+ resolved "https://registry.npmjs.com/@lerna/has-npm-version/-/has-npm-version-3.16.0.tgz#55764a4ce792f0c8553cf996a17f554b9e843288"
integrity sha1-VXZKTOeS8MhVPPmWoX9VS56EMog=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1628,7 +1624,7 @@
"@lerna/import@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/import/-/import-3.16.0.tgz#b57cb453f4acfc60f6541fcbba10674055cb179d"
+ resolved "https://registry.npmjs.com/@lerna/import/-/import-3.16.0.tgz#b57cb453f4acfc60f6541fcbba10674055cb179d"
integrity sha1-tXy0U/Ss/GD2VB/LuhBnQFXLF50=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1642,7 +1638,7 @@
"@lerna/init@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/init/-/init-3.16.0.tgz#31e0d66bbededee603338b487a42674a072b7a7d"
+ resolved "https://registry.npmjs.com/@lerna/init/-/init-3.16.0.tgz#31e0d66bbededee603338b487a42674a072b7a7d"
integrity sha1-MeDWa77e3uYDM4tIekJnSgcren0=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1653,7 +1649,7 @@
"@lerna/link@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/link/-/link-3.16.2.tgz#6c3a5658f6448a64dddca93d9348ac756776f6f6"
+ resolved "https://registry.npmjs.com/@lerna/link/-/link-3.16.2.tgz#6c3a5658f6448a64dddca93d9348ac756776f6f6"
integrity sha1-bDpWWPZEimTd3Kk9k0isdWd29vY=
dependencies:
"@lerna/command" "3.16.0"
@@ -1664,7 +1660,7 @@
"@lerna/list@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/list/-/list-3.16.0.tgz#883c00b2baf1e03c93e54391372f67a01b773c2f"
+ resolved "https://registry.npmjs.com/@lerna/list/-/list-3.16.0.tgz#883c00b2baf1e03c93e54391372f67a01b773c2f"
integrity sha1-iDwAsrrx4DyT5UORNy9noBt3PC8=
dependencies:
"@lerna/command" "3.16.0"
@@ -1674,7 +1670,7 @@
"@lerna/listable@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/listable/-/listable-3.16.0.tgz#e6dc47a2d5a6295222663486f50e5cffc580f043"
+ resolved "https://registry.npmjs.com/@lerna/listable/-/listable-3.16.0.tgz#e6dc47a2d5a6295222663486f50e5cffc580f043"
integrity sha1-5txHotWmKVIiZjSG9Q5c/8WA8EM=
dependencies:
"@lerna/query-graph" "3.16.0"
@@ -1683,7 +1679,7 @@
"@lerna/log-packed@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/log-packed/-/log-packed-3.16.0.tgz#f83991041ee77b2495634e14470b42259fd2bc16"
+ resolved "https://registry.npmjs.com/@lerna/log-packed/-/log-packed-3.16.0.tgz#f83991041ee77b2495634e14470b42259fd2bc16"
integrity sha1-+DmRBB7neySVY04URwtCJZ/SvBY=
dependencies:
byte-size "^5.0.1"
@@ -1693,7 +1689,7 @@
"@lerna/npm-conf@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/npm-conf/-/npm-conf-3.16.0.tgz#1c10a89ae2f6c2ee96962557738685300d376827"
+ resolved "https://registry.npmjs.com/@lerna/npm-conf/-/npm-conf-3.16.0.tgz#1c10a89ae2f6c2ee96962557738685300d376827"
integrity sha1-HBComuL2wu6WliVXc4aFMA03aCc=
dependencies:
config-chain "^1.1.11"
@@ -1701,7 +1697,7 @@
"@lerna/npm-dist-tag@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/npm-dist-tag/-/npm-dist-tag-3.16.0.tgz#b2184cee5e1f291277396854820e1117a544b7ee"
+ resolved "https://registry.npmjs.com/@lerna/npm-dist-tag/-/npm-dist-tag-3.16.0.tgz#b2184cee5e1f291277396854820e1117a544b7ee"
integrity sha1-shhM7l4fKRJ3OWhUgg4RF6VEt+4=
dependencies:
"@evocateur/npm-registry-fetch" "^4.0.0"
@@ -1712,7 +1708,7 @@
"@lerna/npm-install@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/npm-install/-/npm-install-3.16.0.tgz#8ec76a7a13b183bde438fd46296bf7a0d6f86017"
+ resolved "https://registry.npmjs.com/@lerna/npm-install/-/npm-install-3.16.0.tgz#8ec76a7a13b183bde438fd46296bf7a0d6f86017"
integrity sha1-jsdqehOxg73kOP1GKWv3oNb4YBc=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1725,7 +1721,7 @@
"@lerna/npm-publish@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/npm-publish/-/npm-publish-3.16.2.tgz#a850b54739446c4aa766a0ceabfa9283bb0be676"
+ resolved "https://registry.npmjs.com/@lerna/npm-publish/-/npm-publish-3.16.2.tgz#a850b54739446c4aa766a0ceabfa9283bb0be676"
integrity sha1-qFC1RzlEbEqnZqDOq/qSg7sL5nY=
dependencies:
"@evocateur/libnpmpublish" "^1.2.2"
@@ -1740,7 +1736,7 @@
"@lerna/npm-run-script@3.14.2":
version "3.14.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/npm-run-script/-/npm-run-script-3.14.2.tgz#8c518ea9d241a641273e77aad6f6fddc16779c3f"
+ resolved "https://registry.npmjs.com/@lerna/npm-run-script/-/npm-run-script-3.14.2.tgz#8c518ea9d241a641273e77aad6f6fddc16779c3f"
integrity sha1-jFGOqdJBpkEnPneq1vb93BZ3nD8=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1749,7 +1745,7 @@
"@lerna/otplease@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/otplease/-/otplease-3.16.0.tgz#de66aec4f3e835a465d7bea84b58a4ab6590a0fa"
+ resolved "https://registry.npmjs.com/@lerna/otplease/-/otplease-3.16.0.tgz#de66aec4f3e835a465d7bea84b58a4ab6590a0fa"
integrity sha1-3mauxPPoNaRl176oS1ikq2WQoPo=
dependencies:
"@lerna/prompt" "3.13.0"
@@ -1757,14 +1753,14 @@
"@lerna/output@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/output/-/output-3.13.0.tgz#3ded7cc908b27a9872228a630d950aedae7a4989"
+ resolved "https://registry.npmjs.com/@lerna/output/-/output-3.13.0.tgz#3ded7cc908b27a9872228a630d950aedae7a4989"
integrity sha1-Pe18yQiyephyIopjDZUK7a56SYk=
dependencies:
npmlog "^4.1.2"
"@lerna/pack-directory@3.16.4":
version "3.16.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/pack-directory/-/pack-directory-3.16.4.tgz#3eae5f91bdf5acfe0384510ed53faddc4c074693"
+ resolved "https://registry.npmjs.com/@lerna/pack-directory/-/pack-directory-3.16.4.tgz#3eae5f91bdf5acfe0384510ed53faddc4c074693"
integrity sha1-Pq5fkb31rP4DhFEO1T+t3EwHRpM=
dependencies:
"@lerna/get-packed" "3.16.0"
@@ -1778,7 +1774,7 @@
"@lerna/package-graph@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/package-graph/-/package-graph-3.16.0.tgz#909c90fb41e02f2c19387342d2a5eefc36d56836"
+ resolved "https://registry.npmjs.com/@lerna/package-graph/-/package-graph-3.16.0.tgz#909c90fb41e02f2c19387342d2a5eefc36d56836"
integrity sha1-kJyQ+0HgLywZOHNC0qXu/DbVaDY=
dependencies:
"@lerna/prerelease-id-from-version" "3.16.0"
@@ -1789,7 +1785,7 @@
"@lerna/package@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/package/-/package-3.16.0.tgz#7e0a46e4697ed8b8a9c14d59c7f890e0d38ba13c"
+ resolved "https://registry.npmjs.com/@lerna/package/-/package-3.16.0.tgz#7e0a46e4697ed8b8a9c14d59c7f890e0d38ba13c"
integrity sha1-fgpG5Gl+2LipwU1Zx/iQ4NOLoTw=
dependencies:
load-json-file "^5.3.0"
@@ -1798,14 +1794,14 @@
"@lerna/prerelease-id-from-version@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-3.16.0.tgz#b24bfa789f5e1baab914d7b08baae9b7bd7d83a1"
+ resolved "https://registry.npmjs.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-3.16.0.tgz#b24bfa789f5e1baab914d7b08baae9b7bd7d83a1"
integrity sha1-skv6eJ9eG6q5FNewi6rpt719g6E=
dependencies:
semver "^6.2.0"
"@lerna/project@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/project/-/project-3.16.0.tgz#2469a4e346e623fd922f38f5a12931dfb8f2a946"
+ resolved "https://registry.npmjs.com/@lerna/project/-/project-3.16.0.tgz#2469a4e346e623fd922f38f5a12931dfb8f2a946"
integrity sha1-JGmk40bmI/2SLzj1oSkx37jyqUY=
dependencies:
"@lerna/package" "3.16.0"
@@ -1823,7 +1819,7 @@
"@lerna/prompt@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/prompt/-/prompt-3.13.0.tgz#53571462bb3f5399cc1ca6d335a411fe093426a5"
+ resolved "https://registry.npmjs.com/@lerna/prompt/-/prompt-3.13.0.tgz#53571462bb3f5399cc1ca6d335a411fe093426a5"
integrity sha1-U1cUYrs/U5nMHKbTNaQR/gk0JqU=
dependencies:
inquirer "^6.2.0"
@@ -1831,7 +1827,7 @@
"@lerna/publish@3.16.4":
version "3.16.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/publish/-/publish-3.16.4.tgz#4cd55d8be9943d9a68e316e930a90cda8590500e"
+ resolved "https://registry.npmjs.com/@lerna/publish/-/publish-3.16.4.tgz#4cd55d8be9943d9a68e316e930a90cda8590500e"
integrity sha1-TNVdi+mUPZpo4xbpMKkM2oWQUA4=
dependencies:
"@evocateur/libnpmaccess" "^3.1.2"
@@ -1867,14 +1863,14 @@
"@lerna/pulse-till-done@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/pulse-till-done/-/pulse-till-done-3.13.0.tgz#c8e9ce5bafaf10d930a67d7ed0ccb5d958fe0110"
+ resolved "https://registry.npmjs.com/@lerna/pulse-till-done/-/pulse-till-done-3.13.0.tgz#c8e9ce5bafaf10d930a67d7ed0ccb5d958fe0110"
integrity sha1-yOnOW6+vENkwpn1+0My12Vj+ARA=
dependencies:
npmlog "^4.1.2"
"@lerna/query-graph@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/query-graph/-/query-graph-3.16.0.tgz#e6a46ebcd9d5b03f018a06eca2b471735353953c"
+ resolved "https://registry.npmjs.com/@lerna/query-graph/-/query-graph-3.16.0.tgz#e6a46ebcd9d5b03f018a06eca2b471735353953c"
integrity sha1-5qRuvNnVsD8BigbsorRxc1NTlTw=
dependencies:
"@lerna/package-graph" "3.16.0"
@@ -1882,7 +1878,7 @@
"@lerna/resolve-symlink@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/resolve-symlink/-/resolve-symlink-3.16.0.tgz#37fc7095fabdbcf317c26eb74e0d0bde8efd2386"
+ resolved "https://registry.npmjs.com/@lerna/resolve-symlink/-/resolve-symlink-3.16.0.tgz#37fc7095fabdbcf317c26eb74e0d0bde8efd2386"
integrity sha1-N/xwlfq9vPMXwm63Tg0L3o79I4Y=
dependencies:
fs-extra "^8.1.0"
@@ -1891,7 +1887,7 @@
"@lerna/rimraf-dir@3.14.2":
version "3.14.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/rimraf-dir/-/rimraf-dir-3.14.2.tgz#103a49882abd85d42285d05cc76869b89f21ffd2"
+ resolved "https://registry.npmjs.com/@lerna/rimraf-dir/-/rimraf-dir-3.14.2.tgz#103a49882abd85d42285d05cc76869b89f21ffd2"
integrity sha1-EDpJiCq9hdQihdBcx2hpuJ8h/9I=
dependencies:
"@lerna/child-process" "3.14.2"
@@ -1901,7 +1897,7 @@
"@lerna/run-lifecycle@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/run-lifecycle/-/run-lifecycle-3.16.2.tgz#67b288f8ea964db9ea4fb1fbc7715d5bbb0bce00"
+ resolved "https://registry.npmjs.com/@lerna/run-lifecycle/-/run-lifecycle-3.16.2.tgz#67b288f8ea964db9ea4fb1fbc7715d5bbb0bce00"
integrity sha1-Z7KI+OqWTbnqT7H7x3FdW7sLzgA=
dependencies:
"@lerna/npm-conf" "3.16.0"
@@ -1911,7 +1907,7 @@
"@lerna/run-parallel-batches@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/run-parallel-batches/-/run-parallel-batches-3.16.0.tgz#5ace7911a2dd31dfd1e53c61356034e27df0e1fb"
+ resolved "https://registry.npmjs.com/@lerna/run-parallel-batches/-/run-parallel-batches-3.16.0.tgz#5ace7911a2dd31dfd1e53c61356034e27df0e1fb"
integrity sha1-Ws55EaLdMd/R5TxhNWA04n3w4fs=
dependencies:
p-map "^2.1.0"
@@ -1919,7 +1915,7 @@
"@lerna/run-topologically@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/run-topologically/-/run-topologically-3.16.0.tgz#39e29cfc628bbc8e736d8e0d0e984997ac01bbf5"
+ resolved "https://registry.npmjs.com/@lerna/run-topologically/-/run-topologically-3.16.0.tgz#39e29cfc628bbc8e736d8e0d0e984997ac01bbf5"
integrity sha1-OeKc/GKLvI5zbY4NDphJl6wBu/U=
dependencies:
"@lerna/query-graph" "3.16.0"
@@ -1928,7 +1924,7 @@
"@lerna/run@3.16.0":
version "3.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/run/-/run-3.16.0.tgz#1ea568c6f303e47fa00b3403a457836d40738fd2"
+ resolved "https://registry.npmjs.com/@lerna/run/-/run-3.16.0.tgz#1ea568c6f303e47fa00b3403a457836d40738fd2"
integrity sha1-HqVoxvMD5H+gCzQDpFeDbUBzj9I=
dependencies:
"@lerna/command" "3.16.0"
@@ -1942,7 +1938,7 @@
"@lerna/symlink-binary@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/symlink-binary/-/symlink-binary-3.16.2.tgz#f98a3d9da9e56f1d302dc0d5c2efeb951483ee66"
+ resolved "https://registry.npmjs.com/@lerna/symlink-binary/-/symlink-binary-3.16.2.tgz#f98a3d9da9e56f1d302dc0d5c2efeb951483ee66"
integrity sha1-+Yo9nanlbx0wLcDVwu/rlRSD7mY=
dependencies:
"@lerna/create-symlink" "3.16.2"
@@ -1952,7 +1948,7 @@
"@lerna/symlink-dependencies@3.16.2":
version "3.16.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/symlink-dependencies/-/symlink-dependencies-3.16.2.tgz#91d9909d35897aebd76a03644a00cd03c4128240"
+ resolved "https://registry.npmjs.com/@lerna/symlink-dependencies/-/symlink-dependencies-3.16.2.tgz#91d9909d35897aebd76a03644a00cd03c4128240"
integrity sha1-kdmQnTWJeuvXagNkSgDNA8QSgkA=
dependencies:
"@lerna/create-symlink" "3.16.2"
@@ -1965,19 +1961,19 @@
"@lerna/timer@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/timer/-/timer-3.13.0.tgz#bcd0904551db16e08364d6c18e5e2160fc870781"
+ resolved "https://registry.npmjs.com/@lerna/timer/-/timer-3.13.0.tgz#bcd0904551db16e08364d6c18e5e2160fc870781"
integrity sha1-vNCQRVHbFuCDZNbBjl4hYPyHB4E=
"@lerna/validation-error@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/validation-error/-/validation-error-3.13.0.tgz#c86b8f07c5ab9539f775bd8a54976e926f3759c3"
+ resolved "https://registry.npmjs.com/@lerna/validation-error/-/validation-error-3.13.0.tgz#c86b8f07c5ab9539f775bd8a54976e926f3759c3"
integrity sha1-yGuPB8WrlTn3db2KVJdukm83WcM=
dependencies:
npmlog "^4.1.2"
"@lerna/version@3.16.4":
version "3.16.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/version/-/version-3.16.4.tgz#b5cc37f3ad98358d599c6196c30b6efc396d42bf"
+ resolved "https://registry.npmjs.com/@lerna/version/-/version-3.16.4.tgz#b5cc37f3ad98358d599c6196c30b6efc396d42bf"
integrity sha1-tcw3862YNY1ZnGGWwwtu/DltQr8=
dependencies:
"@lerna/check-working-tree" "3.14.2"
@@ -2007,7 +2003,7 @@
"@lerna/write-log-file@3.13.0":
version "3.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@lerna/write-log-file/-/write-log-file-3.13.0.tgz#b78d9e4cfc1349a8be64d91324c4c8199e822a26"
+ resolved "https://registry.npmjs.com/@lerna/write-log-file/-/write-log-file-3.13.0.tgz#b78d9e4cfc1349a8be64d91324c4c8199e822a26"
integrity sha1-t42eTPwTSai+ZNkTJMTIGZ6CKiY=
dependencies:
npmlog "^4.1.2"
@@ -2015,7 +2011,7 @@
"@mrmlnc/readdir-enhanced@^2.2.1":
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
+ resolved "https://registry.npmjs.com/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz#524af240d1a360527b730475ecfa1344aa540dde"
integrity sha1-UkryQNGjYFJ7cwR17PoTRKpUDd4=
dependencies:
call-me-maybe "^1.0.1"
@@ -2023,25 +2019,33 @@
"@nodelib/fs.stat@^1.1.2":
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
+ resolved "https://registry.npmjs.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"
integrity sha1-K1o6s/kYzKSKjHVMCBaOPwPrphs=
"@octokit/endpoint@^5.1.0":
version "5.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@octokit/endpoint/-/endpoint-5.3.5.tgz#2822c3b01107806dbdce3863b6205e3eff4289ed"
+ resolved "https://registry.npmjs.com/@octokit/endpoint/-/endpoint-5.3.5.tgz#2822c3b01107806dbdce3863b6205e3eff4289ed"
integrity sha1-KCLDsBEHgG29zjhjtiBePv9Cie0=
dependencies:
is-plain-object "^3.0.0"
universal-user-agent "^4.0.0"
+"@octokit/graphql@^2.0.1":
+ version "2.1.3"
+ resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-2.1.3.tgz#60c058a0ed5fa242eca6f938908d95fd1a2f4b92"
+ integrity sha512-XoXJqL2ondwdnMIW3wtqJWEwcBfKk37jO/rYkoxNPEVeLBDGsGO1TCWggrAlq3keGt/O+C/7VepXnukUxwt5vA==
+ dependencies:
+ "@octokit/request" "^5.0.0"
+ universal-user-agent "^2.0.3"
+
"@octokit/plugin-enterprise-rest@^3.6.1":
version "3.6.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-3.6.2.tgz#74de25bef21e0182b4fa03a8678cd00a4e67e561"
+ resolved "https://registry.npmjs.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-3.6.2.tgz#74de25bef21e0182b4fa03a8678cd00a4e67e561"
integrity sha1-dN4lvvIeAYK0+gOoZ4zQCk5n5WE=
"@octokit/request-error@^1.0.1", "@octokit/request-error@^1.0.2":
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@octokit/request-error/-/request-error-1.0.4.tgz#15e1dc22123ba4a9a4391914d80ec1e5303a23be"
+ resolved "https://registry.npmjs.com/@octokit/request-error/-/request-error-1.0.4.tgz#15e1dc22123ba4a9a4391914d80ec1e5303a23be"
integrity sha1-FeHcIhI7pKmkORkU2A7B5TA6I74=
dependencies:
deprecation "^2.0.0"
@@ -2049,7 +2053,7 @@
"@octokit/request@^5.0.0":
version "5.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@octokit/request/-/request-5.1.0.tgz#5609dcc7b5323e529f29d535214383d9eaf0c05c"
+ resolved "https://registry.npmjs.com/@octokit/request/-/request-5.1.0.tgz#5609dcc7b5323e529f29d535214383d9eaf0c05c"
integrity sha1-Vgncx7UyPlKfKdU1IUOD2erwwFw=
dependencies:
"@octokit/endpoint" "^5.1.0"
@@ -2060,9 +2064,9 @@
once "^1.4.0"
universal-user-agent "^4.0.0"
-"@octokit/rest@^16.28.4":
+"@octokit/rest@^16.15.0", "@octokit/rest@^16.28.4":
version "16.28.9"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@octokit/rest/-/rest-16.28.9.tgz#ac8c5f3ff305e9e0a0989a5245e4286f057a95d7"
+ resolved "https://registry.npmjs.com/@octokit/rest/-/rest-16.28.9.tgz#ac8c5f3ff305e9e0a0989a5245e4286f057a95d7"
integrity sha1-rIxfP/MF6eCgmJpSReQobwV6ldc=
dependencies:
"@octokit/request" "^5.0.0"
@@ -2080,7 +2084,7 @@
"@reach/router@^1.2.1":
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@reach/router/-/router-1.2.1.tgz#34ae3541a5ac44fa7796e5506a5d7274a162be4e"
+ resolved "https://registry.npmjs.com/@reach/router/-/router-1.2.1.tgz#34ae3541a5ac44fa7796e5506a5d7274a162be4e"
integrity sha1-NK41QaWsRPp3luVQal1ydKFivk4=
dependencies:
create-react-context "^0.2.1"
@@ -2091,31 +2095,46 @@
"@react/collection-view@^4.1.5":
version "4.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-react-release/@react/collection-view/-/@react/collection-view-4.1.5.tgz#17034aab37f9cdb91a479b5096d900914ae08ca2"
+ resolved "https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/@react/collection-view/-/@react/collection-view-4.1.5.tgz#17034aab37f9cdb91a479b5096d900914ae08ca2"
integrity sha1-FwNKqzf5zbkaR5tQltkAkUrgjKI=
dependencies:
raf "^3.4.0"
"@react/react-spectrum-icons@^2.1.0":
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-react-release/@react/react-spectrum-icons/-/@react/react-spectrum-icons-2.2.0.tgz#e848f5470ea42b4e825d32a127623d01f964b914"
+ resolved "https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/@react/react-spectrum-icons/-/@react/react-spectrum-icons-2.2.0.tgz#e848f5470ea42b4e825d32a127623d01f964b914"
integrity sha1-6Ej1Rw6kK06CXTKhJ2I9AflkuRQ=
+"@react/react-spectrum@^2.0.0", "@react/react-spectrum@^2.24.0":
+ version "2.24.0"
+ resolved "https://artifactory-uw2.adobeitc.com/artifactory/api/npm/npm-react-release/@react/react-spectrum/-/@react/react-spectrum-2.24.0.tgz#07500c435a14d8ea9fb93a996377182ba64b0ce6"
+ integrity sha1-B1AMQ1oU2OqfuTqZY3cYK6ZLDOY=
+ dependencies:
+ "@react/collection-view" "^4.1.5"
+ autobind-decorator "^1.4.0"
+ classnames "^2.2.5"
+ dom-helpers "^3.3.1"
+ intl-messageformat "^2.2.0"
+ moment "^2.15.1"
+ moment-range "^3.0.3"
+ react-overlays "0.8.3"
+ react-transition-group "^2.2.0"
+
"@sheerun/mutationobserver-shim@^0.3.2":
version "0.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b"
+ resolved "https://registry.npmjs.com/@sheerun/mutationobserver-shim/-/mutationobserver-shim-0.3.2.tgz#8013f2af54a2b7d735f71560ff360d3a8176a87b"
integrity sha1-gBPyr1Sit9c19xVg/zYNOoF2qHs=
"@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.4.0":
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@sinonjs/commons/-/commons-1.6.0.tgz#ec7670432ae9c8eb710400d112c201a362d83393"
+ resolved "https://registry.npmjs.com/@sinonjs/commons/-/commons-1.6.0.tgz#ec7670432ae9c8eb710400d112c201a362d83393"
integrity sha1-7HZwQyrpyOtxBADREsIBo2LYM5M=
dependencies:
type-detect "4.0.8"
"@sinonjs/formatio@^3.2.1":
version "3.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@sinonjs/formatio/-/formatio-3.2.1.tgz#52310f2f9bcbc67bdac18c94ad4901b95fde267e"
+ resolved "https://registry.npmjs.com/@sinonjs/formatio/-/formatio-3.2.1.tgz#52310f2f9bcbc67bdac18c94ad4901b95fde267e"
integrity sha1-UjEPL5vLxnvawYyUrUkBuV/eJn4=
dependencies:
"@sinonjs/commons" "^1"
@@ -2123,7 +2142,7 @@
"@sinonjs/samsam@^3.1.0", "@sinonjs/samsam@^3.3.3":
version "3.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@sinonjs/samsam/-/samsam-3.3.3.tgz#46682efd9967b259b81136b9f120fd54585feb4a"
+ resolved "https://registry.npmjs.com/@sinonjs/samsam/-/samsam-3.3.3.tgz#46682efd9967b259b81136b9f120fd54585feb4a"
integrity sha1-Rmgu/Zlnslm4ETa58SD9VFhf60o=
dependencies:
"@sinonjs/commons" "^1.3.0"
@@ -2132,36 +2151,12 @@
"@sinonjs/text-encoding@^0.7.1":
version "0.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5"
+ resolved "https://registry.npmjs.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5"
integrity sha1-jaXGUwkVZT86Hzj9XxAdjD+AecU=
-"@spectrum/spectrum-flexbox-grid@1.1.1":
- version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-spectrum-release/@spectrum/spectrum-flexbox-grid/-/@spectrum/spectrum-flexbox-grid-1.1.1.tgz#72410b2667841c639c4406bb544aa6e15866ed4e"
- integrity sha1-ckELJmeEHGOcRAa7VEqm4Vhm7U4=
- dependencies:
- sass-flex-mixin "^1.x"
-
-"@spectrum/spectrum-icons@1.0.0-beta.17":
- version "1.0.0-beta.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-spectrum-release/@spectrum/spectrum-icons/-/@spectrum/spectrum-icons-1.0.0-beta.17.tgz#673d09a22f12d06a4ed3f5b7d957c3bf97e1ada6"
- integrity sha1-Zz0Joi8S0GpO0/W32VfDv5fhraY=
-
-"@spectrum/spectrum-icons@^2.3.0":
- version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-spectrum-release/@spectrum/spectrum-icons/-/@spectrum/spectrum-icons-2.3.0.tgz#2256cddcf701a371c982d257e5b988683524b43e"
- integrity sha1-IlbN3PcBo3HJgtJX5bmIaDUktD4=
- dependencies:
- gh-pages "^2.0.1"
-
-"@spectrum/spectrum-variables@1.0.1":
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-spectrum-release/@spectrum/spectrum-variables/-/@spectrum/spectrum-variables-1.0.1.tgz#61bfc8a1393b6707516b7303150db5e14c2d57b2"
- integrity sha1-Yb/IoTk7ZwdRa3MDFQ214UwtV7I=
-
"@storybook/addon-a11y@^5.1.9":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/addon-a11y/-/addon-a11y-5.1.11.tgz#170e0f406b6c0a07fd1e28e6323a694df3f087fc"
+ resolved "https://registry.npmjs.com/@storybook/addon-a11y/-/addon-a11y-5.1.11.tgz#170e0f406b6c0a07fd1e28e6323a694df3f087fc"
integrity sha1-Fw4PQGtsCgf9HijmMjppTfPwh/w=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2184,7 +2179,7 @@
"@storybook/addon-actions@^5.1.9":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/addon-actions/-/addon-actions-5.1.11.tgz#ebc299b9dfe476b5c65eb5d148c4b064f682ca08"
+ resolved "https://registry.npmjs.com/@storybook/addon-actions/-/addon-actions-5.1.11.tgz#ebc299b9dfe476b5c65eb5d148c4b064f682ca08"
integrity sha1-68KZud/kdrXGXrXRSMSwZPaCygg=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2204,7 +2199,7 @@
"@storybook/addon-info@^5.1.9":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/addon-info/-/addon-info-5.1.11.tgz#82cc8e36b20eaac469a171299e64754ebae189c8"
+ resolved "https://registry.npmjs.com/@storybook/addon-info/-/addon-info-5.1.11.tgz#82cc8e36b20eaac469a171299e64754ebae189c8"
integrity sha1-gsyONrIOqsRpoXEpnmR1Trrhicg=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2225,7 +2220,7 @@
"@storybook/addon-knobs@^5.1.9":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/addon-knobs/-/addon-knobs-5.1.11.tgz#a7e7d986b45e8addb25151b81008af1648ef1f2a"
+ resolved "https://registry.npmjs.com/@storybook/addon-knobs/-/addon-knobs-5.1.11.tgz#a7e7d986b45e8addb25151b81008af1648ef1f2a"
integrity sha1-p+fZhrReit2yUVG4EAivFkjvHyo=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2247,7 +2242,7 @@
"@storybook/addon-links@^5.1.9":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/addon-links/-/addon-links-5.1.11.tgz#3a245f30480d586094bdda8f4658c5d328ac39b9"
+ resolved "https://registry.npmjs.com/@storybook/addon-links/-/addon-links-5.1.11.tgz#3a245f30480d586094bdda8f4658c5d328ac39b9"
integrity sha1-OiRfMEgNWGCUvdqPRljF0yisObk=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2261,7 +2256,7 @@
"@storybook/addons@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/addons/-/addons-5.1.11.tgz#27f9cfed8d7f7c8a3fc341cdba3b0bdf608f02aa"
+ resolved "https://registry.npmjs.com/@storybook/addons/-/addons-5.1.11.tgz#27f9cfed8d7f7c8a3fc341cdba3b0bdf608f02aa"
integrity sha1-J/nP7Y1/fIo/w0HNujsL32CPAqo=
dependencies:
"@storybook/api" "5.1.11"
@@ -2273,7 +2268,7 @@
"@storybook/api@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/api/-/api-5.1.11.tgz#71ef00285cd8602aad24cdb26c60c5d3c76631e5"
+ resolved "https://registry.npmjs.com/@storybook/api/-/api-5.1.11.tgz#71ef00285cd8602aad24cdb26c60c5d3c76631e5"
integrity sha1-ce8AKFzYYCqtJM2ybGDF08dmMeU=
dependencies:
"@storybook/channels" "5.1.11"
@@ -2296,7 +2291,7 @@
"@storybook/channel-postmessage@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/channel-postmessage/-/channel-postmessage-5.1.11.tgz#e75ab7d59ba19476eb631cdb69ee713c3b956c2b"
+ resolved "https://registry.npmjs.com/@storybook/channel-postmessage/-/channel-postmessage-5.1.11.tgz#e75ab7d59ba19476eb631cdb69ee713c3b956c2b"
integrity sha1-51q31ZuhlHbrYxzbae5xPDuVbCs=
dependencies:
"@storybook/channels" "5.1.11"
@@ -2307,14 +2302,14 @@
"@storybook/channels@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/channels/-/channels-5.1.11.tgz#77ddf9d777891f975ac10095772c840fed4c4620"
+ resolved "https://registry.npmjs.com/@storybook/channels/-/channels-5.1.11.tgz#77ddf9d777891f975ac10095772c840fed4c4620"
integrity sha1-d93513eJH5dawQCVdyyED+1MRiA=
dependencies:
core-js "^3.0.1"
"@storybook/client-api@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/client-api/-/client-api-5.1.11.tgz#30d82c09c6c40aa70d932e77b1d1e65526bddc0c"
+ resolved "https://registry.npmjs.com/@storybook/client-api/-/client-api-5.1.11.tgz#30d82c09c6c40aa70d932e77b1d1e65526bddc0c"
integrity sha1-MNgsCcbECqcNky53sdHmVSa93Aw=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2332,14 +2327,14 @@
"@storybook/client-logger@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/client-logger/-/client-logger-5.1.11.tgz#9509af3021b7a9977f9dba1f2ff038fd3c994437"
+ resolved "https://registry.npmjs.com/@storybook/client-logger/-/client-logger-5.1.11.tgz#9509af3021b7a9977f9dba1f2ff038fd3c994437"
integrity sha1-lQmvMCG3qZd/nbofL/A4/TyZRDc=
dependencies:
core-js "^3.0.1"
"@storybook/components@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/components/-/components-5.1.11.tgz#da253af0a8cb1b063c5c2e8016c4540c983f717d"
+ resolved "https://registry.npmjs.com/@storybook/components/-/components-5.1.11.tgz#da253af0a8cb1b063c5c2e8016c4540c983f717d"
integrity sha1-2iU68KjLGwY8XC6AFsRUDJg/cX0=
dependencies:
"@storybook/client-logger" "5.1.11"
@@ -2363,14 +2358,14 @@
"@storybook/core-events@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/core-events/-/core-events-5.1.11.tgz#9d00503a936d30398f7a64336eb956303d053765"
+ resolved "https://registry.npmjs.com/@storybook/core-events/-/core-events-5.1.11.tgz#9d00503a936d30398f7a64336eb956303d053765"
integrity sha1-nQBQOpNtMDmPemQzbrlWMD0FN2U=
dependencies:
core-js "^3.0.1"
"@storybook/core@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/core/-/core-5.1.11.tgz#d7c4b14b02f74c183ab5baffe9b3e5ec8289b320"
+ resolved "https://registry.npmjs.com/@storybook/core/-/core-5.1.11.tgz#d7c4b14b02f74c183ab5baffe9b3e5ec8289b320"
integrity sha1-18SxSwL3TBg6tbr/6bPl7IKJsyA=
dependencies:
"@babel/plugin-proposal-class-properties" "^7.3.3"
@@ -2443,7 +2438,7 @@
"@storybook/node-logger@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/node-logger/-/node-logger-5.1.11.tgz#bbf5ad0d148e6c9a9b7cf6f62ad4df4e9fa19e5d"
+ resolved "https://registry.npmjs.com/@storybook/node-logger/-/node-logger-5.1.11.tgz#bbf5ad0d148e6c9a9b7cf6f62ad4df4e9fa19e5d"
integrity sha1-u/WtDRSObJqbfPb2KtTfTp+hnl0=
dependencies:
chalk "^2.4.2"
@@ -2454,7 +2449,7 @@
"@storybook/react@^5.1.9":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/react/-/react-5.1.11.tgz#227e13670098e52d1537daf9dc349755cea17e0c"
+ resolved "https://registry.npmjs.com/@storybook/react/-/react-5.1.11.tgz#227e13670098e52d1537daf9dc349755cea17e0c"
integrity sha1-In4TZwCY5S0VN9r53DSXVc6hfgw=
dependencies:
"@babel/plugin-transform-react-constant-elements" "^7.2.0"
@@ -2480,7 +2475,7 @@
"@storybook/router@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/router/-/router-5.1.11.tgz#75089e9e623482e52ed894c3f0cb0fc6a5372da9"
+ resolved "https://registry.npmjs.com/@storybook/router/-/router-5.1.11.tgz#75089e9e623482e52ed894c3f0cb0fc6a5372da9"
integrity sha1-dQienmI0guUu2JTD8MsPxqU3Lak=
dependencies:
"@reach/router" "^1.2.1"
@@ -2491,7 +2486,7 @@
"@storybook/theming@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/theming/-/theming-5.1.11.tgz#0d1af46535f2e601293c999a314905069a93ec3b"
+ resolved "https://registry.npmjs.com/@storybook/theming/-/theming-5.1.11.tgz#0d1af46535f2e601293c999a314905069a93ec3b"
integrity sha1-DRr0ZTXy5gEpPJmaMUkFBpqT7Ds=
dependencies:
"@emotion/core" "^10.0.9"
@@ -2509,7 +2504,7 @@
"@storybook/ui@5.1.11":
version "5.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@storybook/ui/-/ui-5.1.11.tgz#02246f7656f644a36908430de12abbdf4e2a8a72"
+ resolved "https://registry.npmjs.com/@storybook/ui/-/ui-5.1.11.tgz#02246f7656f644a36908430de12abbdf4e2a8a72"
integrity sha1-AiRvdlb2RKNpCEMN4Sq7304qinI=
dependencies:
"@storybook/addons" "5.1.11"
@@ -2549,47 +2544,47 @@
"@svgr/babel-plugin-add-jsx-attribute@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz#dadcb6218503532d6884b210e7f3c502caaa44b1"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-4.2.0.tgz#dadcb6218503532d6884b210e7f3c502caaa44b1"
integrity sha1-2ty2IYUDUy1ohLIQ5/PFAsqqRLE=
"@svgr/babel-plugin-remove-jsx-attribute@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-4.2.0.tgz#297550b9a8c0c7337bea12bdfc8a80bb66f85abc"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-4.2.0.tgz#297550b9a8c0c7337bea12bdfc8a80bb66f85abc"
integrity sha1-KXVQuajAxzN76hK9/IqAu2b4Wrw=
"@svgr/babel-plugin-remove-jsx-empty-expression@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-4.2.0.tgz#c196302f3e68eab6a05e98af9ca8570bc13131c7"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-4.2.0.tgz#c196302f3e68eab6a05e98af9ca8570bc13131c7"
integrity sha1-wZYwLz5o6ragXpivnKhXC8ExMcc=
"@svgr/babel-plugin-replace-jsx-attribute-value@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-4.2.0.tgz#310ec0775de808a6a2e4fd4268c245fd734c1165"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-4.2.0.tgz#310ec0775de808a6a2e4fd4268c245fd734c1165"
integrity sha1-MQ7Ad13oCKai5P1CaMJF/XNMEWU=
"@svgr/babel-plugin-svg-dynamic-title@^4.3.1":
version "4.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-4.3.1.tgz#646c2f5b5770c2fe318d6e51492344c3d62ddb63"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-4.3.1.tgz#646c2f5b5770c2fe318d6e51492344c3d62ddb63"
integrity sha1-ZGwvW1dwwv4xjW5RSSNEw9Yt22M=
"@svgr/babel-plugin-svg-em-dimensions@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-4.2.0.tgz#9a94791c9a288108d20a9d2cc64cac820f141391"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-4.2.0.tgz#9a94791c9a288108d20a9d2cc64cac820f141391"
integrity sha1-mpR5HJoogQjSCp0sxkysgg8UE5E=
"@svgr/babel-plugin-transform-react-native-svg@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-4.2.0.tgz#151487322843359a1ca86b21a3815fd21a88b717"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-4.2.0.tgz#151487322843359a1ca86b21a3815fd21a88b717"
integrity sha1-FRSHMihDNZocqGsho4Ff0hqItxc=
"@svgr/babel-plugin-transform-svg-component@^4.2.0":
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-4.2.0.tgz#5f1e2f886b2c85c67e76da42f0f6be1b1767b697"
+ resolved "https://registry.npmjs.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-4.2.0.tgz#5f1e2f886b2c85c67e76da42f0f6be1b1767b697"
integrity sha1-Xx4viGsshcZ+dtpC8Pa+Gxdntpc=
"@svgr/babel-preset@^4.3.1":
version "4.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/babel-preset/-/babel-preset-4.3.1.tgz#62ffcb85d756580e8ce608e9d2ac3b9063be9e28"
+ resolved "https://registry.npmjs.com/@svgr/babel-preset/-/babel-preset-4.3.1.tgz#62ffcb85d756580e8ce608e9d2ac3b9063be9e28"
integrity sha1-Yv/LhddWWA6M5gjp0qw7kGO+nig=
dependencies:
"@svgr/babel-plugin-add-jsx-attribute" "^4.2.0"
@@ -2603,7 +2598,7 @@
"@svgr/core@^4.3.2":
version "4.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/core/-/core-4.3.2.tgz#939c89be670ad79b762f4c063f213f0e02535f2e"
+ resolved "https://registry.npmjs.com/@svgr/core/-/core-4.3.2.tgz#939c89be670ad79b762f4c063f213f0e02535f2e"
integrity sha1-k5yJvmcK15t2L0wGPyE/DgJTXy4=
dependencies:
"@svgr/plugin-jsx" "^4.3.2"
@@ -2612,14 +2607,14 @@
"@svgr/hast-util-to-babel-ast@^4.3.2":
version "4.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-4.3.2.tgz#1d5a082f7b929ef8f1f578950238f630e14532b8"
+ resolved "https://registry.npmjs.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-4.3.2.tgz#1d5a082f7b929ef8f1f578950238f630e14532b8"
integrity sha1-HVoIL3uSnvjx9XiVAjj2MOFFMrg=
dependencies:
"@babel/types" "^7.4.4"
"@svgr/plugin-jsx@^4.3.2":
version "4.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/plugin-jsx/-/plugin-jsx-4.3.2.tgz#ce9ddafc8cdd74da884c9f7af014afcf37f93d3c"
+ resolved "https://registry.npmjs.com/@svgr/plugin-jsx/-/plugin-jsx-4.3.2.tgz#ce9ddafc8cdd74da884c9f7af014afcf37f93d3c"
integrity sha1-zp3a/IzddNqITJ968BSvzzf5PTw=
dependencies:
"@babel/core" "^7.4.5"
@@ -2629,7 +2624,7 @@
"@svgr/plugin-svgo@^4.3.1":
version "4.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/plugin-svgo/-/plugin-svgo-4.3.1.tgz#daac0a3d872e3f55935c6588dd370336865e9e32"
+ resolved "https://registry.npmjs.com/@svgr/plugin-svgo/-/plugin-svgo-4.3.1.tgz#daac0a3d872e3f55935c6588dd370336865e9e32"
integrity sha1-2qwKPYcuP1WTXGWI3TcDNoZenjI=
dependencies:
cosmiconfig "^5.2.1"
@@ -2638,7 +2633,7 @@
"@svgr/webpack@^4.0.3":
version "4.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@svgr/webpack/-/webpack-4.3.2.tgz#319d4471c8f3d5c3af35059274834d9b5b8fb956"
+ resolved "https://registry.npmjs.com/@svgr/webpack/-/webpack-4.3.2.tgz#319d4471c8f3d5c3af35059274834d9b5b8fb956"
integrity sha1-MZ1Eccjz1cOvNQWSdINNm1uPuVY=
dependencies:
"@babel/core" "^7.4.5"
@@ -2652,7 +2647,7 @@
"@testing-library/dom@^5.6.1":
version "5.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@testing-library/dom/-/dom-5.6.1.tgz#705a1cb4a039b877c1e69e916824038e837ab637"
+ resolved "https://registry.npmjs.com/@testing-library/dom/-/dom-5.6.1.tgz#705a1cb4a039b877c1e69e916824038e837ab637"
integrity sha1-cFoctKA5uHfB5p6RaCQDjoN6tjc=
dependencies:
"@babel/runtime" "^7.5.5"
@@ -2663,7 +2658,7 @@
"@testing-library/react@^8.0.1":
version "8.0.9"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@testing-library/react/-/react-8.0.9.tgz#1ecd96bc3471b06dd2f9763b6e53a7ace28a54a2"
+ resolved "https://registry.npmjs.com/@testing-library/react/-/react-8.0.9.tgz#1ecd96bc3471b06dd2f9763b6e53a7ace28a54a2"
integrity sha1-Hs2WvDRxsG3S+XY7blOnrOKKVKI=
dependencies:
"@babel/runtime" "^7.5.5"
@@ -2671,7 +2666,7 @@
"@testing-library/user-event@^4.1.0":
version "4.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@testing-library/user-event/-/user-event-4.2.4.tgz#9029bdf35d7f0557954452916f22ba0e9f11eff9"
+ resolved "https://registry.npmjs.com/@testing-library/user-event/-/user-event-4.2.4.tgz#9029bdf35d7f0557954452916f22ba0e9f11eff9"
integrity sha1-kCm9811/BVeVRFKRbyK6Dp8R7/k=
"@types/babel__core@^7.1.0":
@@ -2811,7 +2806,7 @@
"@typescript-eslint/eslint-plugin@^1.10.2":
version "1.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.13.0.tgz#22fed9b16ddfeb402fd7bcde56307820f6ebc49f"
+ resolved "https://registry.npmjs.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.13.0.tgz#22fed9b16ddfeb402fd7bcde56307820f6ebc49f"
integrity sha1-Iv7ZsW3f60Av17zeVjB4IPbrxJ8=
dependencies:
"@typescript-eslint/experimental-utils" "1.13.0"
@@ -2822,7 +2817,7 @@
"@typescript-eslint/experimental-utils@1.13.0", "@typescript-eslint/experimental-utils@^1.13.0":
version "1.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz#b08c60d780c0067de2fb44b04b432f540138301e"
+ resolved "https://registry.npmjs.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz#b08c60d780c0067de2fb44b04b432f540138301e"
integrity sha1-sIxg14DABn3i+0SwS0MvVAE4MB4=
dependencies:
"@types/json-schema" "^7.0.3"
@@ -2831,7 +2826,7 @@
"@typescript-eslint/parser@^1.10.2":
version "1.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@typescript-eslint/parser/-/parser-1.13.0.tgz#61ac7811ea52791c47dc9fd4dd4a184fae9ac355"
+ resolved "https://registry.npmjs.com/@typescript-eslint/parser/-/parser-1.13.0.tgz#61ac7811ea52791c47dc9fd4dd4a184fae9ac355"
integrity sha1-Yax4EepSeRxH3J/U3UoYT66aw1U=
dependencies:
"@types/eslint-visitor-keys" "^1.0.0"
@@ -2841,7 +2836,7 @@
"@typescript-eslint/typescript-estree@1.13.0":
version "1.13.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@typescript-eslint/typescript-estree/-/typescript-estree-1.13.0.tgz#8140f17d0f60c03619798f1d628b8434913dc32e"
+ resolved "https://registry.npmjs.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.13.0.tgz#8140f17d0f60c03619798f1d628b8434913dc32e"
integrity sha1-gUDxfQ9gwDYZeY8dYouENJE9wy4=
dependencies:
lodash.unescape "4.0.1"
@@ -2849,7 +2844,7 @@
"@webassemblyjs/ast@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359"
+ resolved "https://registry.npmjs.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359"
integrity sha1-UbHF/mV2o0lTv0slPfnw1JDZ41k=
dependencies:
"@webassemblyjs/helper-module-context" "1.8.5"
@@ -2858,34 +2853,34 @@
"@webassemblyjs/floating-point-hex-parser@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721"
+ resolved "https://registry.npmjs.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.8.5.tgz#1ba926a2923613edce496fd5b02e8ce8a5f49721"
integrity sha1-G6kmopI2E+3OSW/VsC6M6KX0lyE=
"@webassemblyjs/helper-api-error@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.8.5.tgz#c49dad22f645227c5edb610bdb9697f1aab721f7"
integrity sha1-xJ2tIvZFInxe22EL25aX8aq3Ifc=
"@webassemblyjs/helper-buffer@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.8.5.tgz#fea93e429863dd5e4338555f42292385a653f204"
integrity sha1-/qk+Qphj3V5DOFVfQikjhaZT8gQ=
"@webassemblyjs/helper-code-frame@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.8.5.tgz#9a740ff48e3faa3022b1dff54423df9aa293c25e"
integrity sha1-mnQP9I4/qjAisd/1RCPfmqKTwl4=
dependencies:
"@webassemblyjs/wast-printer" "1.8.5"
"@webassemblyjs/helper-fsm@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-fsm/-/helper-fsm-1.8.5.tgz#ba0b7d3b3f7e4733da6059c9332275d860702452"
integrity sha1-ugt9Oz9+RzPaYFnJMyJ12GBwJFI=
"@webassemblyjs/helper-module-context@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-module-context/-/helper-module-context-1.8.5.tgz#def4b9927b0101dc8cbbd8d1edb5b7b9c82eb245"
integrity sha1-3vS5knsBAdyMu9jR7bW3ucguskU=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2893,12 +2888,12 @@
"@webassemblyjs/helper-wasm-bytecode@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.8.5.tgz#537a750eddf5c1e932f3744206551c91c1b93e61"
integrity sha1-U3p1Dt31weky83RCBlUckcG5PmE=
"@webassemblyjs/helper-wasm-section@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf"
+ resolved "https://registry.npmjs.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.8.5.tgz#74ca6a6bcbe19e50a3b6b462847e69503e6bfcbf"
integrity sha1-dMpqa8vhnlCjtrRihH5pUD5r/L8=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2908,26 +2903,26 @@
"@webassemblyjs/ieee754@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e"
+ resolved "https://registry.npmjs.com/@webassemblyjs/ieee754/-/ieee754-1.8.5.tgz#712329dbef240f36bf57bd2f7b8fb9bf4154421e"
integrity sha1-cSMp2+8kDza/V70ve4+5v0FUQh4=
dependencies:
"@xtuc/ieee754" "^1.2.0"
"@webassemblyjs/leb128@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10"
+ resolved "https://registry.npmjs.com/@webassemblyjs/leb128/-/leb128-1.8.5.tgz#044edeb34ea679f3e04cd4fd9824d5e35767ae10"
integrity sha1-BE7es06mefPgTNT9mCTV41dnrhA=
dependencies:
"@xtuc/long" "4.2.2"
"@webassemblyjs/utf8@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc"
+ resolved "https://registry.npmjs.com/@webassemblyjs/utf8/-/utf8-1.8.5.tgz#a8bf3b5d8ffe986c7c1e373ccbdc2a0915f0cedc"
integrity sha1-qL87XY/+mGx8Hjc8y9wqCRXwztw=
"@webassemblyjs/wasm-edit@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a"
+ resolved "https://registry.npmjs.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.8.5.tgz#962da12aa5acc1c131c81c4232991c82ce56e01a"
integrity sha1-li2hKqWswcExyBxCMpkcgs5W4Bo=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2941,7 +2936,7 @@
"@webassemblyjs/wasm-gen@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc"
+ resolved "https://registry.npmjs.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.8.5.tgz#54840766c2c1002eb64ed1abe720aded714f98bc"
integrity sha1-VIQHZsLBAC62TtGr5yCt7XFPmLw=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2952,7 +2947,7 @@
"@webassemblyjs/wasm-opt@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264"
+ resolved "https://registry.npmjs.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.8.5.tgz#b24d9f6ba50394af1349f510afa8ffcb8a63d264"
integrity sha1-sk2fa6UDlK8TSfUQr6j/y4pj0mQ=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2962,7 +2957,7 @@
"@webassemblyjs/wasm-parser@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d"
+ resolved "https://registry.npmjs.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.8.5.tgz#21576f0ec88b91427357b8536383668ef7c66b8d"
integrity sha1-IVdvDsiLkUJzV7hTY4NmjvfGa40=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2974,7 +2969,7 @@
"@webassemblyjs/wast-parser@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c"
+ resolved "https://registry.npmjs.com/@webassemblyjs/wast-parser/-/wast-parser-1.8.5.tgz#e10eecd542d0e7bd394f6827c49f3df6d4eefb8c"
integrity sha1-4Q7s1ULQ5705T2gnxJ899tTu+4w=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2986,7 +2981,7 @@
"@webassemblyjs/wast-printer@1.8.5":
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc"
+ resolved "https://registry.npmjs.com/@webassemblyjs/wast-printer/-/wast-printer-1.8.5.tgz#114bbc481fd10ca0e23b3560fa812748b0bae5bc"
integrity sha1-EUu8SB/RDKDiOzVg+oEnSLC65bw=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -2995,17 +2990,17 @@
"@xtuc/ieee754@^1.2.0":
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790"
+ resolved "https://registry.npmjs.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790"
integrity sha1-7vAUoxRa5Hehy8AM0eVSM23Ot5A=
"@xtuc/long@4.2.2":
version "4.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
+ resolved "https://registry.npmjs.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d"
integrity sha1-0pHGpOl5ibXGHZrPOWrk/hM6cY0=
"@zkochan/cmd-shim@^3.1.0":
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e"
+ resolved "https://registry.npmjs.com/@zkochan/cmd-shim/-/cmd-shim-3.1.0.tgz#2ab8ed81f5bb5452a85f25758eb9b8681982fd2e"
integrity sha1-KrjtgfW7VFKoXyV1jrm4aBmC/S4=
dependencies:
is-windows "^1.0.0"
@@ -3014,7 +3009,7 @@
JSONStream@^1.0.4, JSONStream@^1.3.4:
version "1.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
+ resolved "https://registry.npmjs.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0"
integrity sha1-MgjB8I06TZkmGrZPkjArwV4RHKA=
dependencies:
jsonparse "^1.2.0"
@@ -3022,22 +3017,22 @@ JSONStream@^1.0.4, JSONStream@^1.3.4:
abab@^1.0.3:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e"
+ resolved "https://registry.npmjs.com/abab/-/abab-1.0.4.tgz#5faad9c2c07f60dd76770f71cf025b62a63cfd4e"
integrity sha1-X6rZwsB/YN12dw9xzwJbYqY8/U4=
abab@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/abab/-/abab-2.0.1.tgz#3fa17797032b71410ec372e11668f4b4ffc86a82"
+ resolved "https://registry.npmjs.com/abab/-/abab-2.0.1.tgz#3fa17797032b71410ec372e11668f4b4ffc86a82"
integrity sha1-P6F3lwMrcUEOw3LhFmj0tP/IaoI=
abbrev@1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
+ resolved "https://registry.npmjs.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
integrity sha1-+PLIh60Qv2f2NPAFtph/7TF5qsg=
accepts@~1.3.7:
version "1.3.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
+ resolved "https://registry.npmjs.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd"
integrity sha1-UxvHJlF6OytB+FACHGzBXqq1B80=
dependencies:
mime-types "~2.1.24"
@@ -3045,14 +3040,14 @@ accepts@~1.3.7:
acorn-globals@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf"
+ resolved "https://registry.npmjs.com/acorn-globals/-/acorn-globals-3.1.0.tgz#fd8270f71fbb4996b004fa880ee5d46573a731bf"
integrity sha1-/YJw9x+7SZawBPqIDuXUZXOnMb8=
dependencies:
acorn "^4.0.4"
acorn-globals@^4.1.0:
version "4.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn-globals/-/acorn-globals-4.3.3.tgz#a86f75b69680b8780d30edd21eee4e0ea170c05e"
+ resolved "https://registry.npmjs.com/acorn-globals/-/acorn-globals-4.3.3.tgz#a86f75b69680b8780d30edd21eee4e0ea170c05e"
integrity sha1-qG91tpaAuHgNMO3SHu5ODqFwwF4=
dependencies:
acorn "^6.0.1"
@@ -3060,63 +3055,63 @@ acorn-globals@^4.1.0:
acorn-jsx@^5.0.0:
version "5.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn-jsx/-/acorn-jsx-5.0.2.tgz#84b68ea44b373c4f8686023a551f61a21b7c4a4f"
+ resolved "https://registry.npmjs.com/acorn-jsx/-/acorn-jsx-5.0.2.tgz#84b68ea44b373c4f8686023a551f61a21b7c4a4f"
integrity sha1-hLaOpEs3PE+GhgI6VR9hoht8Sk8=
acorn-walk@^6.0.1:
version "6.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c"
+ resolved "https://registry.npmjs.com/acorn-walk/-/acorn-walk-6.2.0.tgz#123cb8f3b84c2171f1f7fb252615b1c78a6b1a8c"
integrity sha1-Ejy487hMIXHx9/slJhWxx4prGow=
acorn@^4.0.4:
version "4.0.13"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
+ resolved "https://registry.npmjs.com/acorn/-/acorn-4.0.13.tgz#105495ae5361d697bd195c825192e1ad7f253787"
integrity sha1-EFSVrlNh1pe9GVyCUZLhrX8lN4c=
acorn@^5.5.3:
version "5.7.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
+ resolved "https://registry.npmjs.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279"
integrity sha1-Z6ojG/iBKXS4UjWpZ3Hra9B+onk=
acorn@^6.0.1, acorn@^6.0.7, acorn@^6.2.1:
version "6.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
+ resolved "https://registry.npmjs.com/acorn/-/acorn-6.3.0.tgz#0087509119ffa4fc0a0041d1e93a417e68cb856e"
integrity sha1-AIdQkRn/pPwKAEHR6TpBfmjLhW4=
address@1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/address/-/address-1.1.0.tgz#ef8e047847fcd2c5b6f50c16965f924fd99fe709"
+ resolved "https://registry.npmjs.com/address/-/address-1.1.0.tgz#ef8e047847fcd2c5b6f50c16965f924fd99fe709"
integrity sha1-744EeEf80sW29QwWll+ST9mf5wk=
address@^1.0.1:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/address/-/address-1.1.2.tgz#bf1116c9c758c51b7a933d296b72c221ed9428b6"
+ resolved "https://registry.npmjs.com/address/-/address-1.1.2.tgz#bf1116c9c758c51b7a933d296b72c221ed9428b6"
integrity sha1-vxEWycdYxRt6kz0pa3LCIe2UKLY=
agent-base@4, agent-base@^4.3.0:
version "4.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
+ resolved "https://registry.npmjs.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee"
integrity sha1-gWXwHENgCbzK0LHRIvBe13Dvxu4=
dependencies:
es6-promisify "^5.0.0"
agent-base@~4.2.1:
version "4.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
+ resolved "https://registry.npmjs.com/agent-base/-/agent-base-4.2.1.tgz#d89e5999f797875674c07d87f260fc41e83e8ca9"
integrity sha1-2J5ZmfeXh1Z0wH2H8mD8Qeg+jKk=
dependencies:
es6-promisify "^5.0.0"
agentkeepalive@^3.4.1:
version "3.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67"
+ resolved "https://registry.npmjs.com/agentkeepalive/-/agentkeepalive-3.5.2.tgz#a113924dd3fa24a0bc3b78108c450c2abee00f67"
integrity sha1-oROSTdP6JKC8O3gQjEUMKr7gD2c=
dependencies:
humanize-ms "^1.2.1"
-"airbnb-js-shims@^1 || ^2", airbnb-js-shims@^2.2.0:
+"airbnb-js-shims@^1 || ^2":
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/airbnb-js-shims/-/airbnb-js-shims-2.2.0.tgz#46e1d9d9516f704ef736de76a3b6d484df9a96d8"
+ resolved "https://registry.npmjs.com/airbnb-js-shims/-/airbnb-js-shims-2.2.0.tgz#46e1d9d9516f704ef736de76a3b6d484df9a96d8"
integrity sha1-RuHZ2VFvcE73Nt52o7bUhN+altg=
dependencies:
array-includes "^3.0.3"
@@ -3137,35 +3132,19 @@ agentkeepalive@^3.4.1:
string.prototype.padstart "^3.0.0"
symbol.prototype.description "^1.0.0"
-airbnb-prop-types@^2.13.2:
- version "2.15.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/airbnb-prop-types/-/airbnb-prop-types-2.15.0.tgz#5287820043af1eb469f5b0af0d6f70da6c52aaef"
- integrity sha1-UoeCAEOvHrRp9bCvDW9w2mxSqu8=
- dependencies:
- array.prototype.find "^2.1.0"
- function.prototype.name "^1.1.1"
- has "^1.0.3"
- is-regex "^1.0.4"
- object-is "^1.0.1"
- object.assign "^4.1.0"
- object.entries "^1.1.0"
- prop-types "^15.7.2"
- prop-types-exact "^1.2.0"
- react-is "^16.9.0"
-
ajv-errors@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d"
+ resolved "https://registry.npmjs.com/ajv-errors/-/ajv-errors-1.0.1.tgz#f35986aceb91afadec4102fbd85014950cefa64d"
integrity sha1-81mGrOuRr63sQQL72FAUlQzvpk0=
ajv-keywords@^3.1.0, ajv-keywords@^3.4.1:
version "3.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da"
+ resolved "https://registry.npmjs.com/ajv-keywords/-/ajv-keywords-3.4.1.tgz#ef916e271c64ac12171fd8384eaae6b2345854da"
integrity sha1-75FuJxxkrBIXH9g4TqrmsjRYVNo=
ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5, ajv@^6.9.1:
version "6.10.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52"
+ resolved "https://registry.npmjs.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52"
integrity sha1-086gTWsBeyiUrWkED+yLYj60vVI=
dependencies:
fast-deep-equal "^2.0.1"
@@ -3173,95 +3152,85 @@ ajv@^6.1.0, ajv@^6.10.2, ajv@^6.5.5, ajv@^6.9.1:
json-schema-traverse "^0.4.1"
uri-js "^4.2.2"
-amdefine@>=0.0.4:
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5"
- integrity sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=
-
ansi-align@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb"
+ resolved "https://registry.npmjs.com/ansi-align/-/ansi-align-3.0.0.tgz#b536b371cf687caaef236c18d3e21fe3797467cb"
integrity sha1-tTazcc9ofKrvI2wY0+If43l0Z8s=
dependencies:
string-width "^3.0.0"
-ansi-colors@3.2.3:
- version "3.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
- integrity sha1-V9NbhoboUeLMBMQD8cACA5dqGBM=
-
ansi-colors@^3.0.0:
version "3.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf"
+ resolved "https://registry.npmjs.com/ansi-colors/-/ansi-colors-3.2.4.tgz#e3a3da4bfbae6c86a9c285625de124a234026fbf"
integrity sha1-46PaS/uubIapwoViXeEkojQCb78=
ansi-escapes@^3.0.0, ansi-escapes@^3.2.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
+ resolved "https://registry.npmjs.com/ansi-escapes/-/ansi-escapes-3.2.0.tgz#8780b98ff9dbf5638152d1f1fe5c1d7b4442976b"
integrity sha1-h4C5j/nb9WOBUtHx/lwde0RCl2s=
ansi-gray@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-gray/-/ansi-gray-0.1.1.tgz#2962cf54ec9792c48510a3deb524436861ef7251"
+ resolved "https://registry.npmjs.com/ansi-gray/-/ansi-gray-0.1.1.tgz#2962cf54ec9792c48510a3deb524436861ef7251"
integrity sha1-KWLPVOyXksSFEKPetSRDaGHvclE=
dependencies:
ansi-wrap "0.1.0"
ansi-html@0.0.7:
version "0.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
+ resolved "https://registry.npmjs.com/ansi-html/-/ansi-html-0.0.7.tgz#813584021962a9e9e6fd039f940d12f56ca7859e"
integrity sha1-gTWEAhliqenm/QOflA0S9WynhZ4=
ansi-regex@^0.2.0, ansi-regex@^0.2.1:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9"
+ resolved "https://registry.npmjs.com/ansi-regex/-/ansi-regex-0.2.1.tgz#0d8e946967a3d8143f93e24e298525fc1b2235f9"
integrity sha1-DY6UaWej2BQ/k+JOKYUl/BsiNfk=
-ansi-regex@^2.0.0, ansi-regex@^2.1.1:
+ansi-regex@^2.0.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
+ resolved "https://registry.npmjs.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8=
ansi-regex@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
+ resolved "https://registry.npmjs.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998"
integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=
ansi-regex@^4.0.0, ansi-regex@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
+ resolved "https://registry.npmjs.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997"
integrity sha1-i5+PCM8ay4Q3Vqg5yox+MWjFGZc=
ansi-styles@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de"
+ resolved "https://registry.npmjs.com/ansi-styles/-/ansi-styles-1.1.0.tgz#eaecbf66cd706882760b2f4691582b8f55d7a7de"
integrity sha1-6uy/Zs1waIJ2Cy9GkVgrj1XXp94=
ansi-styles@^2.2.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
+ resolved "https://registry.npmjs.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=
ansi-styles@^3.2.0, ansi-styles@^3.2.1:
version "3.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
+ resolved "https://registry.npmjs.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
integrity sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=
dependencies:
color-convert "^1.9.0"
ansi-wrap@0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"
+ resolved "https://registry.npmjs.com/ansi-wrap/-/ansi-wrap-0.1.0.tgz#a82250ddb0015e9a27ca82e82ea603bbfa45efaf"
integrity sha1-qCJQ3bABXponyoLoLqYDu/pF768=
any-promise@^1.0.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
+ resolved "https://registry.npmjs.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f"
integrity sha1-q8av7tzqUugJzcA3au0845Y10X8=
anymatch@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb"
+ resolved "https://registry.npmjs.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb"
integrity sha1-vLJLTzeTTZqnrBe0ra+J58du8us=
dependencies:
micromatch "^3.1.4"
@@ -3269,34 +3238,34 @@ anymatch@^2.0.0:
app-root-dir@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/app-root-dir/-/app-root-dir-1.0.2.tgz#38187ec2dea7577fff033ffcb12172692ff6e118"
+ resolved "https://registry.npmjs.com/app-root-dir/-/app-root-dir-1.0.2.tgz#38187ec2dea7577fff033ffcb12172692ff6e118"
integrity sha1-OBh+wt6nV3//Az/8sSFyaS/24Rg=
append-transform@^0.4.0:
version "0.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991"
+ resolved "https://registry.npmjs.com/append-transform/-/append-transform-0.4.0.tgz#d76ebf8ca94d276e247a36bad44a4b74ab611991"
integrity sha1-126/jKlNJ24keja61EpLdKthGZE=
dependencies:
default-require-extensions "^1.0.0"
aproba@^1.0.3, aproba@^1.1.1:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
+ resolved "https://registry.npmjs.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
integrity sha1-aALmJk79GMeQobDVF/DyYnvyyUo=
aproba@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc"
+ resolved "https://registry.npmjs.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc"
integrity sha1-UlILiuW1aSFbNU78DKo/4eRaitw=
archy@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40"
+ resolved "https://registry.npmjs.com/archy/-/archy-1.0.0.tgz#f9c8c13757cc1dd7bc379ac77b2c62a5c2868c40"
integrity sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=
are-we-there-yet@~1.1.2:
version "1.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
+ resolved "https://registry.npmjs.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
integrity sha1-SzXClE8GKov82mZBB2A1D+nd/CE=
dependencies:
delegates "^1.0.0"
@@ -3304,14 +3273,14 @@ are-we-there-yet@~1.1.2:
argparse@^1.0.7:
version "1.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
+ resolved "https://registry.npmjs.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
integrity sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=
dependencies:
sprintf-js "~1.0.2"
aria-query@3.0.0, aria-query@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/aria-query/-/aria-query-3.0.0.tgz#65b3fcc1ca1155a8c9ae64d6eee297f15d5133cc"
+ resolved "https://registry.npmjs.com/aria-query/-/aria-query-3.0.0.tgz#65b3fcc1ca1155a8c9ae64d6eee297f15d5133cc"
integrity sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=
dependencies:
ast-types-flow "0.0.7"
@@ -3319,79 +3288,74 @@ aria-query@3.0.0, aria-query@^3.0.0:
arr-diff@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
+ resolved "https://registry.npmjs.com/arr-diff/-/arr-diff-2.0.0.tgz#8f3b827f955a8bd669697e4a4256ac3ceae356cf"
integrity sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=
dependencies:
arr-flatten "^1.0.1"
arr-diff@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
+ resolved "https://registry.npmjs.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"
integrity sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=
arr-flatten@^1.0.1, arr-flatten@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1"
+ resolved "https://registry.npmjs.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1"
integrity sha1-NgSLv/TntH4TZkQxbJlmnqWukfE=
arr-union@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4"
+ resolved "https://registry.npmjs.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4"
integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=
array-differ@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031"
+ resolved "https://registry.npmjs.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031"
integrity sha1-7/UuN1gknTO+QCuLuOVkuytdQDE=
array-differ@^2.0.3:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1"
+ resolved "https://registry.npmjs.com/array-differ/-/array-differ-2.1.0.tgz#4b9c1c3f14b906757082925769e8ab904f4801b1"
integrity sha1-S5wcPxS5BnVwgpJXaeirkE9IAbE=
array-each@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f"
+ resolved "https://registry.npmjs.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f"
integrity sha1-p5SvDAWrF1KEbudTofIRoFugxE8=
array-equal@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93"
+ resolved "https://registry.npmjs.com/array-equal/-/array-equal-1.0.0.tgz#8c2a5ef2472fd9ea742b04c77a75093ba2757c93"
integrity sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=
-array-filter@^1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-filter/-/array-filter-1.0.0.tgz#baf79e62e6ef4c2a4c0b831232daffec251f9d83"
- integrity sha1-uveeYubvTCpMC4MSMtr/7CUfnYM=
-
array-filter@~0.0.0:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec"
+ resolved "https://registry.npmjs.com/array-filter/-/array-filter-0.0.1.tgz#7da8cf2e26628ed732803581fd21f67cacd2eeec"
integrity sha1-fajPLiZijtcygDWB/SH2fKzS7uw=
array-find-index@^1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1"
+ resolved "https://registry.npmjs.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1"
integrity sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=
array-flatten@1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2"
+ resolved "https://registry.npmjs.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2"
integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=
array-from@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-from/-/array-from-2.1.1.tgz#cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195"
+ resolved "https://registry.npmjs.com/array-from/-/array-from-2.1.1.tgz#cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195"
integrity sha1-z+nYwmYoudxa7MYqn12PHzUsEZU=
array-ify@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
+ resolved "https://registry.npmjs.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece"
integrity sha1-nlKHYrSpBmrRY6aWKjZEGOlibs4=
array-includes@^3.0.3:
version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d"
+ resolved "https://registry.npmjs.com/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d"
integrity sha1-GEtI9i2S10UrsxsyMWXH+L0CJm0=
dependencies:
define-properties "^1.1.2"
@@ -3399,52 +3363,44 @@ array-includes@^3.0.3:
array-map@~0.0.0:
version "0.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662"
+ resolved "https://registry.npmjs.com/array-map/-/array-map-0.0.0.tgz#88a2bab73d1cf7bcd5c1b118a003f66f665fa662"
integrity sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=
array-reduce@~0.0.0:
version "0.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b"
+ resolved "https://registry.npmjs.com/array-reduce/-/array-reduce-0.0.0.tgz#173899d3ffd1c7d9383e4479525dbe278cab5f2b"
integrity sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=
array-slice@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4"
+ resolved "https://registry.npmjs.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4"
integrity sha1-42jqFfibxwaff/uJrsOmx9SsItQ=
array-union@^1.0.1, array-union@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
+ resolved "https://registry.npmjs.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39"
integrity sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=
dependencies:
array-uniq "^1.0.1"
array-uniq@^1.0.1, array-uniq@^1.0.2:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
+ resolved "https://registry.npmjs.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=
array-unique@^0.2.1:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53"
+ resolved "https://registry.npmjs.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53"
integrity sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=
array-unique@^0.3.2:
version "0.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
+ resolved "https://registry.npmjs.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428"
integrity sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=
-array.prototype.find@^2.1.0:
- version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array.prototype.find/-/array.prototype.find-2.1.0.tgz#630f2eaf70a39e608ac3573e45cf8ccd0ede9ad7"
- integrity sha1-Yw8ur3CjnmCKw1c+Rc+MzQ7emtc=
- dependencies:
- define-properties "^1.1.3"
- es-abstract "^1.13.0"
-
array.prototype.flat@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4"
+ resolved "https://registry.npmjs.com/array.prototype.flat/-/array.prototype.flat-1.2.1.tgz#812db8f02cad24d3fab65dd67eabe3b8903494a4"
integrity sha1-gS248CytJNP6tl3WfqvjuJA0lKQ=
dependencies:
define-properties "^1.1.2"
@@ -3453,7 +3409,7 @@ array.prototype.flat@^1.2.1:
array.prototype.flatmap@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/array.prototype.flatmap/-/array.prototype.flatmap-1.2.1.tgz#3103cd4826ef90019c9b0a4839b2535fa6faf4e9"
+ resolved "https://registry.npmjs.com/array.prototype.flatmap/-/array.prototype.flatmap-1.2.1.tgz#3103cd4826ef90019c9b0a4839b2535fa6faf4e9"
integrity sha1-MQPNSCbvkAGcmwpIObJTX6b69Ok=
dependencies:
define-properties "^1.1.2"
@@ -3462,17 +3418,17 @@ array.prototype.flatmap@^1.2.1:
arrify@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
+ resolved "https://registry.npmjs.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d"
integrity sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=
asap@^2.0.0, asap@~2.0.3:
version "2.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
+ resolved "https://registry.npmjs.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=
asn1.js@^4.0.0:
version "4.10.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0"
+ resolved "https://registry.npmjs.com/asn1.js/-/asn1.js-4.10.1.tgz#b9c2bf5805f1e64aadeed6df3a2bfafb5a73f5a0"
integrity sha1-ucK/WAXx5kqt7tbfOiv6+1pz9aA=
dependencies:
bn.js "^4.0.0"
@@ -3481,19 +3437,19 @@ asn1.js@^4.0.0:
asn1@~0.2.3:
version "0.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136"
+ resolved "https://registry.npmjs.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136"
integrity sha1-jSR136tVO7M+d7VOWeiAu4ziMTY=
dependencies:
safer-buffer "~2.1.0"
assert-plus@1.0.0, assert-plus@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
+ resolved "https://registry.npmjs.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
integrity sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=
assert@^1.1.1:
version "1.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb"
+ resolved "https://registry.npmjs.com/assert/-/assert-1.5.0.tgz#55c109aaf6e0aefdb3dc4b71240c70bf574b18eb"
integrity sha1-VcEJqvbgrv2z3EtxJAxwv1dLGOs=
dependencies:
object-assign "^4.1.1"
@@ -3501,81 +3457,81 @@ assert@^1.1.1:
assign-symbols@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
+ resolved "https://registry.npmjs.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367"
integrity sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=
ast-types-flow@0.0.7, ast-types-flow@^0.0.7:
version "0.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad"
+ resolved "https://registry.npmjs.com/ast-types-flow/-/ast-types-flow-0.0.7.tgz#f70b735c6bca1a5c9c22d982c3e39e7feba3bdad"
integrity sha1-9wtzXGvKGlycItmCw+Oef+ujva0=
ast-types@0.11.3:
version "0.11.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8"
+ resolved "https://registry.npmjs.com/ast-types/-/ast-types-0.11.3.tgz#c20757fe72ee71278ea0ff3d87e5c2ca30d9edf8"
integrity sha1-wgdX/nLucSeOoP89h+XCyjDZ7fg=
ast-types@0.12.4:
version "0.12.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ast-types/-/ast-types-0.12.4.tgz#71ce6383800f24efc9a1a3308f3a6e420a0974d1"
+ resolved "https://registry.npmjs.com/ast-types/-/ast-types-0.12.4.tgz#71ce6383800f24efc9a1a3308f3a6e420a0974d1"
integrity sha1-cc5jg4APJO/JoaMwjzpuQgoJdNE=
astral-regex@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"
+ resolved "https://registry.npmjs.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9"
integrity sha1-bIw/uCfdQ+45GPJ7gngqt2WKb9k=
async-each@^1.0.1:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
+ resolved "https://registry.npmjs.com/async-each/-/async-each-1.0.3.tgz#b727dbf87d7651602f06f4d4ac387f47d91b0cbf"
integrity sha1-tyfb+H12UWAvBvTUrDh/R9kbDL8=
async-limiter@~1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
+ resolved "https://registry.npmjs.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd"
integrity sha1-3TeelPDbgxCwgpH51kwyCXZmF/0=
async-retry@^1.1.4:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/async-retry/-/async-retry-1.2.3.tgz#a6521f338358d322b1a0012b79030c6f411d1ce0"
+ resolved "https://registry.npmjs.com/async-retry/-/async-retry-1.2.3.tgz#a6521f338358d322b1a0012b79030c6f411d1ce0"
integrity sha1-plIfM4NY0yKxoAEreQMMb0EdHOA=
dependencies:
retry "0.12.0"
"async@>=0.2 < 1":
version "0.9.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
+ resolved "https://registry.npmjs.com/async/-/async-0.9.2.tgz#aea74d5e61c1f899613bf64bda66d4c78f2fd17d"
integrity sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=
-async@^2.1.4, async@^2.6.1:
+async@^2.1.4:
version "2.6.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
+ resolved "https://registry.npmjs.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
integrity sha1-1yYl4jRKNlbjo61Pp0n6gymdgv8=
dependencies:
lodash "^4.17.14"
asynckit@^0.4.0:
version "0.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
+ resolved "https://registry.npmjs.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha1-x57Zf380y48robyXkLzDZkdLS3k=
atob-lite@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696"
+ resolved "https://registry.npmjs.com/atob-lite/-/atob-lite-2.0.0.tgz#0fef5ad46f1bd7a8502c65727f0367d5ee43d696"
integrity sha1-D+9a1G8b16hQLGVyfwNn1e5D1pY=
atob@^2.1.1:
version "2.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
+ resolved "https://registry.npmjs.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha1-bZUX654DDSQ2ZmZR6GvZ9vE1M8k=
autobind-decorator@^1.4.0:
version "1.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/autobind-decorator/-/autobind-decorator-1.4.3.tgz#4c96ffa77b10622ede24f110f5dbbf56691417d1"
+ resolved "https://registry.npmjs.com/autobind-decorator/-/autobind-decorator-1.4.3.tgz#4c96ffa77b10622ede24f110f5dbbf56691417d1"
integrity sha1-TJb/p3sQYi7eJPEQ9du/VmkUF9E=
autoprefixer@^9.4.9, autoprefixer@^9.6.0:
version "9.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/autoprefixer/-/autoprefixer-9.6.1.tgz#51967a02d2d2300bb01866c1611ec8348d355a47"
+ resolved "https://registry.npmjs.com/autoprefixer/-/autoprefixer-9.6.1.tgz#51967a02d2d2300bb01866c1611ec8348d355a47"
integrity sha1-UZZ6AtLSMAuwGGbBYR7INI01Wkc=
dependencies:
browserslist "^4.6.3"
@@ -3588,22 +3544,22 @@ autoprefixer@^9.4.9, autoprefixer@^9.6.0:
aws-sign2@~0.7.0:
version "0.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
+ resolved "https://registry.npmjs.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8"
integrity sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=
aws4@^1.8.0:
version "1.8.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
+ resolved "https://registry.npmjs.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
integrity sha1-8OAD2cqef1nHpQiUXXsu+aBKVC8=
axe-core@^3.0.3, axe-core@^3.2.2, axe-core@^3.3.2:
version "3.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/axe-core/-/axe-core-3.3.2.tgz#7baf3c55a5cf1621534a2c38735f5a1bf2f7e1a8"
+ resolved "https://registry.npmjs.com/axe-core/-/axe-core-3.3.2.tgz#7baf3c55a5cf1621534a2c38735f5a1bf2f7e1a8"
integrity sha1-e688VaXPFiFTSiw4c19aG/L34ag=
axios@0.19.0:
version "0.19.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/axios/-/axios-0.19.0.tgz#8e09bff3d9122e133f7b8101c8fbdd00ed3d2ab8"
+ resolved "https://registry.npmjs.com/axios/-/axios-0.19.0.tgz#8e09bff3d9122e133f7b8101c8fbdd00ed3d2ab8"
integrity sha1-jgm/89kSLhM/e4EByPvdAO09Krg=
dependencies:
follow-redirects "1.5.10"
@@ -3611,14 +3567,14 @@ axios@0.19.0:
axobject-query@^2.0.2:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/axobject-query/-/axobject-query-2.0.2.tgz#ea187abe5b9002b377f925d8bf7d1c561adf38f9"
+ resolved "https://registry.npmjs.com/axobject-query/-/axobject-query-2.0.2.tgz#ea187abe5b9002b377f925d8bf7d1c561adf38f9"
integrity sha1-6hh6vluQArN3+SXYv30cVhrfOPk=
dependencies:
ast-types-flow "0.0.7"
babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
+ resolved "https://registry.npmjs.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=
dependencies:
chalk "^1.1.3"
@@ -3627,7 +3583,7 @@ babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
babel-eslint@^10.0.0:
version "10.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a"
+ resolved "https://registry.npmjs.com/babel-eslint/-/babel-eslint-10.0.3.tgz#81a2c669be0f205e19462fed2482d33e4687a88a"
integrity sha1-gaLGab4PIF4ZRi/tJILTPkaHqIo=
dependencies:
"@babel/code-frame" "^7.0.0"
@@ -3639,7 +3595,7 @@ babel-eslint@^10.0.0:
babel-generator@^6.18.0:
version "6.26.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
+ resolved "https://registry.npmjs.com/babel-generator/-/babel-generator-6.26.1.tgz#1844408d3b8f0d35a404ea7ac180f087a601bd90"
integrity sha1-GERAjTuPDTWkBOp6wYDwh6YBvZA=
dependencies:
babel-messages "^6.23.0"
@@ -3653,42 +3609,42 @@ babel-generator@^6.18.0:
babel-helper-evaluate-path@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.5.0.tgz#a62fa9c4e64ff7ea5cea9353174ef023a900a67c"
+ resolved "https://registry.npmjs.com/babel-helper-evaluate-path/-/babel-helper-evaluate-path-0.5.0.tgz#a62fa9c4e64ff7ea5cea9353174ef023a900a67c"
integrity sha1-pi+pxOZP9+pc6pNTF07wI6kApnw=
babel-helper-flip-expressions@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.4.3.tgz#3696736a128ac18bc25254b5f40a22ceb3c1d3fd"
+ resolved "https://registry.npmjs.com/babel-helper-flip-expressions/-/babel-helper-flip-expressions-0.4.3.tgz#3696736a128ac18bc25254b5f40a22ceb3c1d3fd"
integrity sha1-NpZzahKKwYvCUlS19AoizrPB0/0=
babel-helper-is-nodes-equiv@^0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684"
+ resolved "https://registry.npmjs.com/babel-helper-is-nodes-equiv/-/babel-helper-is-nodes-equiv-0.0.1.tgz#34e9b300b1479ddd98ec77ea0bbe9342dfe39684"
integrity sha1-NOmzALFHnd2Y7HfqC76TQt/jloQ=
babel-helper-is-void-0@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-is-void-0/-/babel-helper-is-void-0-0.4.3.tgz#7d9c01b4561e7b95dbda0f6eee48f5b60e67313e"
+ resolved "https://registry.npmjs.com/babel-helper-is-void-0/-/babel-helper-is-void-0-0.4.3.tgz#7d9c01b4561e7b95dbda0f6eee48f5b60e67313e"
integrity sha1-fZwBtFYee5Xb2g9u7kj1tg5nMT4=
babel-helper-mark-eval-scopes@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.4.3.tgz#d244a3bef9844872603ffb46e22ce8acdf551562"
+ resolved "https://registry.npmjs.com/babel-helper-mark-eval-scopes/-/babel-helper-mark-eval-scopes-0.4.3.tgz#d244a3bef9844872603ffb46e22ce8acdf551562"
integrity sha1-0kSjvvmESHJgP/tG4izorN9VFWI=
babel-helper-remove-or-void@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.4.3.tgz#a4f03b40077a0ffe88e45d07010dee241ff5ae60"
+ resolved "https://registry.npmjs.com/babel-helper-remove-or-void/-/babel-helper-remove-or-void-0.4.3.tgz#a4f03b40077a0ffe88e45d07010dee241ff5ae60"
integrity sha1-pPA7QAd6D/6I5F0HAQ3uJB/1rmA=
babel-helper-to-multiple-sequence-expressions@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.5.0.tgz#a3f924e3561882d42fcf48907aa98f7979a4588d"
+ resolved "https://registry.npmjs.com/babel-helper-to-multiple-sequence-expressions/-/babel-helper-to-multiple-sequence-expressions-0.5.0.tgz#a3f924e3561882d42fcf48907aa98f7979a4588d"
integrity sha1-o/kk41YYgtQvz0iQeqmPeXmkWI0=
babel-jest@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54"
+ resolved "https://registry.npmjs.com/babel-jest/-/babel-jest-24.9.0.tgz#3fc327cb8467b89d14d7bc70e315104a783ccd54"
integrity sha1-P8Mny4RnuJ0U17xw4xUQSng8zVQ=
dependencies:
"@jest/transform" "^24.9.0"
@@ -3701,7 +3657,7 @@ babel-jest@^24.9.0:
babel-loader@^8.0.5:
version "8.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-loader/-/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb"
+ resolved "https://registry.npmjs.com/babel-loader/-/babel-loader-8.0.6.tgz#e33bdb6f362b03f4bb141a0c21ab87c501b70dfb"
integrity sha1-4zvbbzYrA/S7FBoMIauHxQG3Dfs=
dependencies:
find-cache-dir "^2.0.0"
@@ -3711,26 +3667,26 @@ babel-loader@^8.0.5:
babel-messages@^6.23.0:
version "6.23.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
+ resolved "https://registry.npmjs.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e"
integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=
dependencies:
babel-runtime "^6.22.0"
babel-plugin-add-react-displayname@^0.0.5:
version "0.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz#339d4cddb7b65fd62d1df9db9fe04de134122bd5"
+ resolved "https://registry.npmjs.com/babel-plugin-add-react-displayname/-/babel-plugin-add-react-displayname-0.0.5.tgz#339d4cddb7b65fd62d1df9db9fe04de134122bd5"
integrity sha1-M51M3be2X9YtHfnbn+BN4TQSK9U=
babel-plugin-dynamic-import-node@2.3.0, babel-plugin-dynamic-import-node@^2.3.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f"
+ resolved "https://registry.npmjs.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.0.tgz#f00f507bdaa3c3e3ff6e7e5e98d90a7acab96f7f"
integrity sha1-8A9Qe9qjw+P/bn5emNkKesq5b38=
dependencies:
object.assign "^4.1.0"
babel-plugin-emotion@^10.0.14, babel-plugin-emotion@^10.0.17, babel-plugin-emotion@^10.0.9:
version "10.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-emotion/-/babel-plugin-emotion-10.0.17.tgz#5673fbed7b1ed61b4b98d5530f33c8a4d1b08484"
+ resolved "https://registry.npmjs.com/babel-plugin-emotion/-/babel-plugin-emotion-10.0.17.tgz#5673fbed7b1ed61b4b98d5530f33c8a4d1b08484"
integrity sha1-VnP77Xse1htLmNVTDzPIpNGwhIQ=
dependencies:
"@babel/helper-module-imports" "^7.0.0"
@@ -3746,7 +3702,7 @@ babel-plugin-emotion@^10.0.14, babel-plugin-emotion@^10.0.17, babel-plugin-emoti
babel-plugin-emotion@^9.2.11:
version "9.2.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-emotion/-/babel-plugin-emotion-9.2.11.tgz#319c005a9ee1d15bb447f59fe504c35fd5807728"
+ resolved "https://registry.npmjs.com/babel-plugin-emotion/-/babel-plugin-emotion-9.2.11.tgz#319c005a9ee1d15bb447f59fe504c35fd5807728"
integrity sha1-MZwAWp7h0Vu0R/Wf5QTDX9WAdyg=
dependencies:
"@babel/helper-module-imports" "^7.0.0"
@@ -3764,7 +3720,7 @@ babel-plugin-emotion@^9.2.11:
babel-plugin-istanbul@^5.0.0, babel-plugin-istanbul@^5.1.0:
version "5.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz#df4ade83d897a92df069c4d9a25cf2671293c854"
+ resolved "https://registry.npmjs.com/babel-plugin-istanbul/-/babel-plugin-istanbul-5.2.0.tgz#df4ade83d897a92df069c4d9a25cf2671293c854"
integrity sha1-30reg9iXqS3wacTZolzyZxKTyFQ=
dependencies:
"@babel/helper-plugin-utils" "^7.0.0"
@@ -3774,14 +3730,14 @@ babel-plugin-istanbul@^5.0.0, babel-plugin-istanbul@^5.1.0:
babel-plugin-jest-hoist@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz#4f837091eb407e01447c8843cbec546d0002d756"
+ resolved "https://registry.npmjs.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-24.9.0.tgz#4f837091eb407e01447c8843cbec546d0002d756"
integrity sha1-T4NwketAfgFEfIhDy+xUbQAC11Y=
dependencies:
"@types/babel__traverse" "^7.0.6"
babel-plugin-macros@2.6.1, babel-plugin-macros@^2.0.0, babel-plugin-macros@^2.4.5, babel-plugin-macros@^2.5.0:
version "2.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-macros/-/babel-plugin-macros-2.6.1.tgz#41f7ead616fc36f6a93180e89697f69f51671181"
+ resolved "https://registry.npmjs.com/babel-plugin-macros/-/babel-plugin-macros-2.6.1.tgz#41f7ead616fc36f6a93180e89697f69f51671181"
integrity sha1-Qffq1hb8NvapMYDolpf2n1FnEYE=
dependencies:
"@babel/runtime" "^7.4.2"
@@ -3790,19 +3746,19 @@ babel-plugin-macros@2.6.1, babel-plugin-macros@^2.0.0, babel-plugin-macros@^2.4.
babel-plugin-minify-builtins@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.5.0.tgz#31eb82ed1a0d0efdc31312f93b6e4741ce82c36b"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-builtins/-/babel-plugin-minify-builtins-0.5.0.tgz#31eb82ed1a0d0efdc31312f93b6e4741ce82c36b"
integrity sha1-MeuC7RoNDv3DExL5O25HQc6Cw2s=
babel-plugin-minify-constant-folding@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.5.0.tgz#f84bc8dbf6a561e5e350ff95ae216b0ad5515b6e"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-constant-folding/-/babel-plugin-minify-constant-folding-0.5.0.tgz#f84bc8dbf6a561e5e350ff95ae216b0ad5515b6e"
integrity sha1-+EvI2/alYeXjUP+VriFrCtVRW24=
dependencies:
babel-helper-evaluate-path "^0.5.0"
babel-plugin-minify-dead-code-elimination@^0.5.1:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.5.1.tgz#1a0c68e44be30de4976ca69ffc535e08be13683f"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-dead-code-elimination/-/babel-plugin-minify-dead-code-elimination-0.5.1.tgz#1a0c68e44be30de4976ca69ffc535e08be13683f"
integrity sha1-Ggxo5EvjDeSXbKaf/FNeCL4TaD8=
dependencies:
babel-helper-evaluate-path "^0.5.0"
@@ -3812,14 +3768,14 @@ babel-plugin-minify-dead-code-elimination@^0.5.1:
babel-plugin-minify-flip-comparisons@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.4.3.tgz#00ca870cb8f13b45c038b3c1ebc0f227293c965a"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-flip-comparisons/-/babel-plugin-minify-flip-comparisons-0.4.3.tgz#00ca870cb8f13b45c038b3c1ebc0f227293c965a"
integrity sha1-AMqHDLjxO0XAOLPB68DyJyk8llo=
dependencies:
babel-helper-is-void-0 "^0.4.3"
babel-plugin-minify-guarded-expressions@^0.4.4:
version "0.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.4.4.tgz#818960f64cc08aee9d6c75bec6da974c4d621135"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-guarded-expressions/-/babel-plugin-minify-guarded-expressions-0.4.4.tgz#818960f64cc08aee9d6c75bec6da974c4d621135"
integrity sha1-gYlg9kzAiu6dbHW+xtqXTE1iETU=
dependencies:
babel-helper-evaluate-path "^0.5.0"
@@ -3827,29 +3783,29 @@ babel-plugin-minify-guarded-expressions@^0.4.4:
babel-plugin-minify-infinity@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.4.3.tgz#dfb876a1b08a06576384ef3f92e653ba607b39ca"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-infinity/-/babel-plugin-minify-infinity-0.4.3.tgz#dfb876a1b08a06576384ef3f92e653ba607b39ca"
integrity sha1-37h2obCKBldjhO8/kuZTumB7Oco=
babel-plugin-minify-mangle-names@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.5.0.tgz#bcddb507c91d2c99e138bd6b17a19c3c271e3fd3"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-mangle-names/-/babel-plugin-minify-mangle-names-0.5.0.tgz#bcddb507c91d2c99e138bd6b17a19c3c271e3fd3"
integrity sha1-vN21B8kdLJnhOL1rF6GcPCceP9M=
dependencies:
babel-helper-mark-eval-scopes "^0.4.3"
babel-plugin-minify-numeric-literals@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.4.3.tgz#8e4fd561c79f7801286ff60e8c5fd9deee93c0bc"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-numeric-literals/-/babel-plugin-minify-numeric-literals-0.4.3.tgz#8e4fd561c79f7801286ff60e8c5fd9deee93c0bc"
integrity sha1-jk/VYcefeAEob/YOjF/Z3u6TwLw=
babel-plugin-minify-replace@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.5.0.tgz#d3e2c9946c9096c070efc96761ce288ec5c3f71c"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-replace/-/babel-plugin-minify-replace-0.5.0.tgz#d3e2c9946c9096c070efc96761ce288ec5c3f71c"
integrity sha1-0+LJlGyQlsBw78lnYc4ojsXD9xw=
babel-plugin-minify-simplify@^0.5.1:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.5.1.tgz#f21613c8b95af3450a2ca71502fdbd91793c8d6a"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-simplify/-/babel-plugin-minify-simplify-0.5.1.tgz#f21613c8b95af3450a2ca71502fdbd91793c8d6a"
integrity sha1-8hYTyLla80UKLKcVAv29kXk8jWo=
dependencies:
babel-helper-evaluate-path "^0.5.0"
@@ -3859,19 +3815,19 @@ babel-plugin-minify-simplify@^0.5.1:
babel-plugin-minify-type-constructors@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.4.3.tgz#1bc6f15b87f7ab1085d42b330b717657a2156500"
+ resolved "https://registry.npmjs.com/babel-plugin-minify-type-constructors/-/babel-plugin-minify-type-constructors-0.4.3.tgz#1bc6f15b87f7ab1085d42b330b717657a2156500"
integrity sha1-G8bxW4f3qxCF1CszC3F2V6IVZQA=
dependencies:
babel-helper-is-void-0 "^0.4.3"
babel-plugin-named-asset-import@^0.3.1:
version "0.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.3.tgz#9ba2f3ac4dc78b042651654f07e847adfe50667c"
+ resolved "https://registry.npmjs.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.3.tgz#9ba2f3ac4dc78b042651654f07e847adfe50667c"
integrity sha1-m6LzrE3HiwQmUWVPB+hHrf5QZnw=
babel-plugin-react-docgen@^3.0.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-react-docgen/-/babel-plugin-react-docgen-3.1.0.tgz#14b02b363a38cc9e08c871df16960d27ef92030f"
+ resolved "https://registry.npmjs.com/babel-plugin-react-docgen/-/babel-plugin-react-docgen-3.1.0.tgz#14b02b363a38cc9e08c871df16960d27ef92030f"
integrity sha1-FLArNjo4zJ4IyHHfFpYNJ++SAw8=
dependencies:
lodash "^4.17.11"
@@ -3880,17 +3836,17 @@ babel-plugin-react-docgen@^3.0.0:
babel-plugin-react-remove-properties@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-react-remove-properties/-/babel-plugin-react-remove-properties-0.3.0.tgz#7b623fb3c424b6efb4edc9b1ae4cc50e7154b87f"
+ resolved "https://registry.npmjs.com/babel-plugin-react-remove-properties/-/babel-plugin-react-remove-properties-0.3.0.tgz#7b623fb3c424b6efb4edc9b1ae4cc50e7154b87f"
integrity sha1-e2I/s8Qktu+07cmxrkzFDnFUuH8=
babel-plugin-syntax-jsx@^6.18.0:
version "6.18.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
+ resolved "https://registry.npmjs.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
integrity sha1-CvMqmm4Tyno/1QaeYtew9Y0NiUY=
babel-plugin-transform-glob-import@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-glob-import/-/babel-plugin-transform-glob-import-1.0.1.tgz#20f3c3ef56b3b987c2b1680cc2fb950656c3ca01"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-glob-import/-/babel-plugin-transform-glob-import-1.0.1.tgz#20f3c3ef56b3b987c2b1680cc2fb950656c3ca01"
integrity sha1-IPPD71azuYfCsWgMwvuVBlbDygE=
dependencies:
babel-template "^6.26.0"
@@ -3899,80 +3855,71 @@ babel-plugin-transform-glob-import@^1.0.1:
babel-plugin-transform-inline-consecutive-adds@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.4.3.tgz#323d47a3ea63a83a7ac3c811ae8e6941faf2b0d1"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-inline-consecutive-adds/-/babel-plugin-transform-inline-consecutive-adds-0.4.3.tgz#323d47a3ea63a83a7ac3c811ae8e6941faf2b0d1"
integrity sha1-Mj1Ho+pjqDp6w8gRro5pQfrysNE=
babel-plugin-transform-member-expression-literals@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.4.tgz#37039c9a0c3313a39495faac2ff3a6b5b9d038bf"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-member-expression-literals/-/babel-plugin-transform-member-expression-literals-6.9.4.tgz#37039c9a0c3313a39495faac2ff3a6b5b9d038bf"
integrity sha1-NwOcmgwzE6OUlfqsL/OmtbnQOL8=
babel-plugin-transform-merge-sibling-variables@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.4.tgz#85b422fc3377b449c9d1cde44087203532401dae"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-merge-sibling-variables/-/babel-plugin-transform-merge-sibling-variables-6.9.4.tgz#85b422fc3377b449c9d1cde44087203532401dae"
integrity sha1-hbQi/DN3tEnJ0c3kQIcgNTJAHa4=
babel-plugin-transform-minify-booleans@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.4.tgz#acbb3e56a3555dd23928e4b582d285162dd2b198"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-minify-booleans/-/babel-plugin-transform-minify-booleans-6.9.4.tgz#acbb3e56a3555dd23928e4b582d285162dd2b198"
integrity sha1-rLs+VqNVXdI5KOS1gtKFFi3SsZg=
babel-plugin-transform-property-literals@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.4.tgz#98c1d21e255736573f93ece54459f6ce24985d39"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-property-literals/-/babel-plugin-transform-property-literals-6.9.4.tgz#98c1d21e255736573f93ece54459f6ce24985d39"
integrity sha1-mMHSHiVXNlc/k+zlRFn2ziSYXTk=
dependencies:
esutils "^2.0.2"
babel-plugin-transform-react-remove-prop-types@0.4.24:
version "0.4.24"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz#f2edaf9b4c6a5fbe5c1d678bfb531078c1555f3a"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz#f2edaf9b4c6a5fbe5c1d678bfb531078c1555f3a"
integrity sha1-8u2vm0xqX75cHWeL+1MQeMFVXzo=
babel-plugin-transform-regexp-constructors@^0.4.3:
version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.4.3.tgz#58b7775b63afcf33328fae9a5f88fbd4fb0b4965"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-regexp-constructors/-/babel-plugin-transform-regexp-constructors-0.4.3.tgz#58b7775b63afcf33328fae9a5f88fbd4fb0b4965"
integrity sha1-WLd3W2OvzzMyj66aX4j71PsLSWU=
babel-plugin-transform-remove-console@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz#b980360c067384e24b357a588d807d3c83527780"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz#b980360c067384e24b357a588d807d3c83527780"
integrity sha1-uYA2DAZzhOJLNXpYjYB9PINSd4A=
babel-plugin-transform-remove-debugger@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.4.tgz#42b727631c97978e1eb2d199a7aec84a18339ef2"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-remove-debugger/-/babel-plugin-transform-remove-debugger-6.9.4.tgz#42b727631c97978e1eb2d199a7aec84a18339ef2"
integrity sha1-QrcnYxyXl44estGZp67IShgznvI=
babel-plugin-transform-remove-undefined@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.5.0.tgz#80208b31225766c630c97fa2d288952056ea22dd"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-remove-undefined/-/babel-plugin-transform-remove-undefined-0.5.0.tgz#80208b31225766c630c97fa2d288952056ea22dd"
integrity sha1-gCCLMSJXZsYwyX+i0oiVIFbqIt0=
dependencies:
babel-helper-evaluate-path "^0.5.0"
babel-plugin-transform-simplify-comparison-operators@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.4.tgz#f62afe096cab0e1f68a2d753fdf283888471ceb9"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-simplify-comparison-operators/-/babel-plugin-transform-simplify-comparison-operators-6.9.4.tgz#f62afe096cab0e1f68a2d753fdf283888471ceb9"
integrity sha1-9ir+CWyrDh9ootdT/fKDiIRxzrk=
babel-plugin-transform-undefined-to-void@^6.9.4:
version "6.9.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.4.tgz#be241ca81404030678b748717322b89d0c8fe280"
+ resolved "https://registry.npmjs.com/babel-plugin-transform-undefined-to-void/-/babel-plugin-transform-undefined-to-void-6.9.4.tgz#be241ca81404030678b748717322b89d0c8fe280"
integrity sha1-viQcqBQEAwZ4t0hxcyK4nQyP4oA=
-babel-polyfill@^6.26.0:
- version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-polyfill/-/babel-polyfill-6.26.0.tgz#379937abc67d7895970adc621f284cd966cf2153"
- integrity sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=
- dependencies:
- babel-runtime "^6.26.0"
- core-js "^2.5.0"
- regenerator-runtime "^0.10.5"
-
babel-preset-jest@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz#192b521e2217fb1d1f67cf73f70c336650ad3cdc"
+ resolved "https://registry.npmjs.com/babel-preset-jest/-/babel-preset-jest-24.9.0.tgz#192b521e2217fb1d1f67cf73f70c336650ad3cdc"
integrity sha1-GStSHiIX+x0fZ89z9wwzZlCtPNw=
dependencies:
"@babel/plugin-syntax-object-rest-spread" "^7.0.0"
@@ -3980,7 +3927,7 @@ babel-preset-jest@^24.9.0:
"babel-preset-minify@^0.5.0 || 0.6.0-alpha.5":
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-preset-minify/-/babel-preset-minify-0.5.1.tgz#25f5d0bce36ec818be80338d0e594106e21eaa9f"
+ resolved "https://registry.npmjs.com/babel-preset-minify/-/babel-preset-minify-0.5.1.tgz#25f5d0bce36ec818be80338d0e594106e21eaa9f"
integrity sha1-JfXQvONuyBi+gDONDllBBuIeqp8=
dependencies:
babel-plugin-minify-builtins "^0.5.0"
@@ -4009,7 +3956,7 @@ babel-preset-jest@^24.9.0:
babel-preset-react-app@^9.0.0:
version "9.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-preset-react-app/-/babel-preset-react-app-9.0.1.tgz#16a2cf84363045b530b6a03460527a5c6eac42ba"
+ resolved "https://registry.npmjs.com/babel-preset-react-app/-/babel-preset-react-app-9.0.1.tgz#16a2cf84363045b530b6a03460527a5c6eac42ba"
integrity sha1-FqLPhDYwRbUwtqA0YFJ6XG6sQro=
dependencies:
"@babel/core" "7.5.5"
@@ -4031,7 +3978,7 @@ babel-preset-react-app@^9.0.0:
babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0:
version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
+ resolved "https://registry.npmjs.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe"
integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4=
dependencies:
core-js "^2.4.0"
@@ -4039,12 +3986,12 @@ babel-runtime@^6.18.0, babel-runtime@^6.22.0, babel-runtime@^6.26.0:
babel-standalone@^6.26.0:
version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-standalone/-/babel-standalone-6.26.0.tgz#15fb3d35f2c456695815ebf1ed96fe7f015b6886"
+ resolved "https://registry.npmjs.com/babel-standalone/-/babel-standalone-6.26.0.tgz#15fb3d35f2c456695815ebf1ed96fe7f015b6886"
integrity sha1-Ffs9NfLEVmlYFevx7Zb+fwFbaIY=
babel-template@^6.16.0, babel-template@^6.26.0:
version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
+ resolved "https://registry.npmjs.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02"
integrity sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=
dependencies:
babel-runtime "^6.26.0"
@@ -4055,7 +4002,7 @@ babel-template@^6.16.0, babel-template@^6.26.0:
babel-traverse@^6.18.0, babel-traverse@^6.26.0:
version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
+ resolved "https://registry.npmjs.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee"
integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=
dependencies:
babel-code-frame "^6.26.0"
@@ -4070,7 +4017,7 @@ babel-traverse@^6.18.0, babel-traverse@^6.26.0:
babel-types@^6.18.0, babel-types@^6.26.0:
version "6.26.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
+ resolved "https://registry.npmjs.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497"
integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=
dependencies:
babel-runtime "^6.26.0"
@@ -4080,27 +4027,27 @@ babel-types@^6.18.0, babel-types@^6.26.0:
babelify@^10.0.0:
version "10.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babelify/-/babelify-10.0.0.tgz#fe73b1a22583f06680d8d072e25a1e0d1d1d7fb5"
+ resolved "https://registry.npmjs.com/babelify/-/babelify-10.0.0.tgz#fe73b1a22583f06680d8d072e25a1e0d1d1d7fb5"
integrity sha1-/nOxoiWD8GaA2NBy4loeDR0df7U=
babylon@^6.18.0:
version "6.18.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
+ resolved "https://registry.npmjs.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3"
integrity sha1-ry87iPpvXB5MY00aD46sT1WzleM=
balanced-match@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
+ resolved "https://registry.npmjs.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
base64-js@^1.0.2:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1"
+ resolved "https://registry.npmjs.com/base64-js/-/base64-js-1.3.1.tgz#58ece8cb75dd07e71ed08c736abc5fac4dbf8df1"
integrity sha1-WOzoy3XdB+ce0IxzarxfrE2/jfE=
base@^0.11.1:
version "0.11.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f"
+ resolved "https://registry.npmjs.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f"
integrity sha1-e95c7RRbbVUakNuH+DxVi060io8=
dependencies:
cache-base "^1.0.1"
@@ -4113,54 +4060,54 @@ base@^0.11.1:
batch-processor@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/batch-processor/-/batch-processor-1.0.0.tgz#75c95c32b748e0850d10c2b168f6bdbe9891ace8"
+ resolved "https://registry.npmjs.com/batch-processor/-/batch-processor-1.0.0.tgz#75c95c32b748e0850d10c2b168f6bdbe9891ace8"
integrity sha1-dclcMrdI4IUNEMKxaPa9vpiRrOg=
bcrypt-pbkdf@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e"
+ resolved "https://registry.npmjs.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e"
integrity sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=
dependencies:
tweetnacl "^0.14.3"
beeper@^1.0.0:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/beeper/-/beeper-1.1.1.tgz#e6d5ea8c5dad001304a70b22638447f69cb2f809"
+ resolved "https://registry.npmjs.com/beeper/-/beeper-1.1.1.tgz#e6d5ea8c5dad001304a70b22638447f69cb2f809"
integrity sha1-5tXqjF2tABMEpwsiY4RH9pyy+Ak=
before-after-hook@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635"
+ resolved "https://registry.npmjs.com/before-after-hook/-/before-after-hook-2.1.0.tgz#b6c03487f44e24200dd30ca5e6a1979c5d2fb635"
integrity sha1-tsA0h/ROJCAN0wyl5qGXnF0vtjU=
big.js@^3.1.3:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
+ resolved "https://registry.npmjs.com/big.js/-/big.js-3.2.0.tgz#a5fc298b81b9e0dca2e458824784b65c52ba588e"
integrity sha1-pfwpi4G54Nyi5FiCR4S2XFK6WI4=
big.js@^5.2.2:
version "5.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
+ resolved "https://registry.npmjs.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328"
integrity sha1-ZfCvOC9Xi83HQr2cKB6cstd2gyg=
binary-extensions@^1.0.0:
version "1.13.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
+ resolved "https://registry.npmjs.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"
integrity sha1-WYr+VHVbKGilMw0q/51Ou1Mgm2U=
bluebird@^3.3.5, bluebird@^3.5.1, bluebird@^3.5.3, bluebird@^3.5.5:
version "3.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
+ resolved "https://registry.npmjs.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f"
integrity sha1-qNCv1zJR7/u9X+OEp31zADwXpx8=
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0:
version "4.11.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
+ resolved "https://registry.npmjs.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f"
integrity sha1-LN4J617jQfSEdGuwMJsyU7GxRC8=
body-parser@1.19.0:
version "1.19.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
+ resolved "https://registry.npmjs.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a"
integrity sha1-lrJwnlfJxOCab9Zqj9l5hE9p8Io=
dependencies:
bytes "3.1.0"
@@ -4176,12 +4123,12 @@ body-parser@1.19.0:
boolbase@^1.0.0, boolbase@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
+ resolved "https://registry.npmjs.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
boxen@^3.0.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb"
+ resolved "https://registry.npmjs.com/boxen/-/boxen-3.2.0.tgz#fbdff0de93636ab4450886b6ff45b92d098f45eb"
integrity sha1-+9/w3pNjarRFCIa2/0W5LQmPRes=
dependencies:
ansi-align "^3.0.0"
@@ -4195,7 +4142,7 @@ boxen@^3.0.0:
brace-expansion@^1.0.0, brace-expansion@^1.1.7:
version "1.1.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
+ resolved "https://registry.npmjs.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
integrity sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=
dependencies:
balanced-match "^1.0.0"
@@ -4203,7 +4150,7 @@ brace-expansion@^1.0.0, brace-expansion@^1.1.7:
braces@^1.8.2:
version "1.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7"
+ resolved "https://registry.npmjs.com/braces/-/braces-1.8.5.tgz#ba77962e12dff969d6b76711e914b737857bf6a7"
integrity sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=
dependencies:
expand-range "^1.8.1"
@@ -4212,7 +4159,7 @@ braces@^1.8.2:
braces@^2.3.1, braces@^2.3.2:
version "2.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
+ resolved "https://registry.npmjs.com/braces/-/braces-2.3.2.tgz#5979fd3f14cd531565e5fa2df1abfff1dfaee729"
integrity sha1-WXn9PxTNUxVl5fot8av/8d+u5yk=
dependencies:
arr-flatten "^1.1.0"
@@ -4228,29 +4175,24 @@ braces@^2.3.1, braces@^2.3.2:
brorand@^1.0.1:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
+ resolved "https://registry.npmjs.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f"
integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=
browser-process-hrtime@^0.1.2:
version "0.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz#616f00faef1df7ec1b5bf9cfe2bdc3170f26c7b4"
+ resolved "https://registry.npmjs.com/browser-process-hrtime/-/browser-process-hrtime-0.1.3.tgz#616f00faef1df7ec1b5bf9cfe2bdc3170f26c7b4"
integrity sha1-YW8A+u8d9+wbW/nP4r3DFw8mx7Q=
browser-resolve@^1.11.3:
version "1.11.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6"
+ resolved "https://registry.npmjs.com/browser-resolve/-/browser-resolve-1.11.3.tgz#9b7cbb3d0f510e4cb86bdbd796124d28b5890af6"
integrity sha1-m3y7PQ9RDky4a9vXlhJNKLWJCvY=
dependencies:
resolve "1.1.7"
-browser-stdout@1.3.1:
- version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60"
- integrity sha1-uqVZ7hTO1zRSIputcyZGfGH6vWA=
-
browserify-aes@^1.0.0, browserify-aes@^1.0.4:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48"
+ resolved "https://registry.npmjs.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48"
integrity sha1-Mmc0ZC9APavDADIJhTu3CtQo70g=
dependencies:
buffer-xor "^1.0.3"
@@ -4262,7 +4204,7 @@ browserify-aes@^1.0.0, browserify-aes@^1.0.4:
browserify-cipher@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0"
+ resolved "https://registry.npmjs.com/browserify-cipher/-/browserify-cipher-1.0.1.tgz#8d6474c1b870bfdabcd3bcfcc1934a10e94f15f0"
integrity sha1-jWR0wbhwv9q807z8wZNKEOlPFfA=
dependencies:
browserify-aes "^1.0.4"
@@ -4271,7 +4213,7 @@ browserify-cipher@^1.0.0:
browserify-des@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c"
+ resolved "https://registry.npmjs.com/browserify-des/-/browserify-des-1.0.2.tgz#3af4f1f59839403572f1c66204375f7a7f703e9c"
integrity sha1-OvTx9Zg5QDVy8cZiBDdfen9wPpw=
dependencies:
cipher-base "^1.0.1"
@@ -4281,7 +4223,7 @@ browserify-des@^1.0.0:
browserify-rsa@^4.0.0:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524"
+ resolved "https://registry.npmjs.com/browserify-rsa/-/browserify-rsa-4.0.1.tgz#21e0abfaf6f2029cf2fafb133567a701d4135524"
integrity sha1-IeCr+vbyApzy+vsTNWenAdQTVSQ=
dependencies:
bn.js "^4.1.0"
@@ -4289,7 +4231,7 @@ browserify-rsa@^4.0.0:
browserify-sign@^4.0.0:
version "4.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298"
+ resolved "https://registry.npmjs.com/browserify-sign/-/browserify-sign-4.0.4.tgz#aa4eb68e5d7b658baa6bf6a57e630cbd7a93d298"
integrity sha1-qk62jl17ZYuqa/alfmMMvXqT0pg=
dependencies:
bn.js "^4.1.1"
@@ -4302,14 +4244,14 @@ browserify-sign@^4.0.0:
browserify-zlib@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f"
+ resolved "https://registry.npmjs.com/browserify-zlib/-/browserify-zlib-0.2.0.tgz#2869459d9aa3be245fe8fe2ca1f46e2e7f54d73f"
integrity sha1-KGlFnZqjviRf6P4sofRuLn9U1z8=
dependencies:
pako "~1.0.5"
browserslist@4.6.6:
version "4.6.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserslist/-/browserslist-4.6.6.tgz#6e4bf467cde520bc9dbdf3747dafa03531cec453"
+ resolved "https://registry.npmjs.com/browserslist/-/browserslist-4.6.6.tgz#6e4bf467cde520bc9dbdf3747dafa03531cec453"
integrity sha1-bkv0Z83lILydvfN0fa+gNTHOxFM=
dependencies:
caniuse-lite "^1.0.30000984"
@@ -4318,7 +4260,7 @@ browserslist@4.6.6:
browserslist@^4.6.0, browserslist@^4.6.3, browserslist@^4.6.6:
version "4.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/browserslist/-/browserslist-4.7.0.tgz#9ee89225ffc07db03409f2fee524dc8227458a17"
+ resolved "https://registry.npmjs.com/browserslist/-/browserslist-4.7.0.tgz#9ee89225ffc07db03409f2fee524dc8227458a17"
integrity sha1-nuiSJf/AfbA0CfL+5STcgidFihc=
dependencies:
caniuse-lite "^1.0.30000989"
@@ -4327,29 +4269,29 @@ browserslist@^4.6.0, browserslist@^4.6.3, browserslist@^4.6.6:
bser@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/bser/-/bser-2.1.0.tgz#65fc784bf7f87c009b973c12db6546902fa9c7b5"
+ resolved "https://registry.npmjs.com/bser/-/bser-2.1.0.tgz#65fc784bf7f87c009b973c12db6546902fa9c7b5"
integrity sha1-Zfx4S/f4fACblzwS22VGkC+px7U=
dependencies:
node-int64 "^0.4.0"
btoa-lite@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337"
+ resolved "https://registry.npmjs.com/btoa-lite/-/btoa-lite-1.0.0.tgz#337766da15801210fdd956c22e9c6891ab9d0337"
integrity sha1-M3dm2hWAEhD92VbCLpxokaudAzc=
buffer-from@^1.0.0:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
+ resolved "https://registry.npmjs.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
integrity sha1-MnE7wCj3XAL9txDXx7zsHyxgcO8=
buffer-xor@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
+ resolved "https://registry.npmjs.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
integrity sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=
buffer@^4.3.0:
version "4.9.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298"
+ resolved "https://registry.npmjs.com/buffer/-/buffer-4.9.1.tgz#6d1bb601b07a4efced97094132093027c95bc298"
integrity sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=
dependencies:
base64-js "^1.0.2"
@@ -4358,32 +4300,32 @@ buffer@^4.3.0:
builtin-status-codes@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
+ resolved "https://registry.npmjs.com/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz#85982878e21b98e1c66425e03d0174788f569ee8"
integrity sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=
builtins@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88"
+ resolved "https://registry.npmjs.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88"
integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og=
byline@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1"
+ resolved "https://registry.npmjs.com/byline/-/byline-5.0.0.tgz#741c5216468eadc457b03410118ad77de8c1ddb1"
integrity sha1-dBxSFkaOrcRXsDQQEYrXfejB3bE=
byte-size@^5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191"
+ resolved "https://registry.npmjs.com/byte-size/-/byte-size-5.0.1.tgz#4b651039a5ecd96767e71a3d7ed380e48bed4191"
integrity sha1-S2UQOaXs2Wdn5xo9ftOA5IvtQZE=
bytes@3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"
+ resolved "https://registry.npmjs.com/bytes/-/bytes-3.1.0.tgz#f6cf7933a360e0588fa9fde85651cdc7f805d1f6"
integrity sha1-9s95M6Ng4FiPqf3oVlHNx/gF0fY=
cacache@^12.0.0, cacache@^12.0.2, cacache@^12.0.3:
version "12.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cacache/-/cacache-12.0.3.tgz#be99abba4e1bf5df461cd5a2c1071fc432573390"
+ resolved "https://registry.npmjs.com/cacache/-/cacache-12.0.3.tgz#be99abba4e1bf5df461cd5a2c1071fc432573390"
integrity sha1-vpmruk4b9d9GHNWiwQcfxDJXM5A=
dependencies:
bluebird "^3.5.5"
@@ -4404,7 +4346,7 @@ cacache@^12.0.0, cacache@^12.0.2, cacache@^12.0.3:
cache-base@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
+ resolved "https://registry.npmjs.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2"
integrity sha1-Cn9GQWgxyLZi7jb+TnxZ129marI=
dependencies:
collection-visit "^1.0.0"
@@ -4419,7 +4361,7 @@ cache-base@^1.0.1:
caching-transform@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/caching-transform/-/caching-transform-1.0.1.tgz#6dbdb2f20f8d8fbce79f3e94e9d1742dcdf5c0a1"
+ resolved "https://registry.npmjs.com/caching-transform/-/caching-transform-1.0.1.tgz#6dbdb2f20f8d8fbce79f3e94e9d1742dcdf5c0a1"
integrity sha1-bb2y8g+Nj7znnz6U6dF0Lc31wKE=
dependencies:
md5-hex "^1.2.0"
@@ -4428,36 +4370,36 @@ caching-transform@^1.0.0:
call-me-maybe@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"
+ resolved "https://registry.npmjs.com/call-me-maybe/-/call-me-maybe-1.0.1.tgz#26d208ea89e37b5cbde60250a15f031c16a4d66b"
integrity sha1-JtII6onje1y95gJQoV8DHBak1ms=
caller-callsite@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134"
+ resolved "https://registry.npmjs.com/caller-callsite/-/caller-callsite-2.0.0.tgz#847e0fce0a223750a9a027c54b33731ad3154134"
integrity sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=
dependencies:
callsites "^2.0.0"
caller-path@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4"
+ resolved "https://registry.npmjs.com/caller-path/-/caller-path-2.0.0.tgz#468f83044e369ab2010fac5f06ceee15bb2cb1f4"
integrity sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=
dependencies:
caller-callsite "^2.0.0"
callsites@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50"
+ resolved "https://registry.npmjs.com/callsites/-/callsites-2.0.0.tgz#06eb84f00eea413da86affefacbffb36093b3c50"
integrity sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=
callsites@^3.0.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
+ resolved "https://registry.npmjs.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
integrity sha1-s2MKvYlDQy9Us/BRkjjjPNffL3M=
camel-case@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73"
+ resolved "https://registry.npmjs.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73"
integrity sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=
dependencies:
no-case "^2.2.0"
@@ -4465,7 +4407,7 @@ camel-case@^3.0.0:
camelcase-keys@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7"
+ resolved "https://registry.npmjs.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7"
integrity sha1-MIvur/3ygRkFHvodkyITyRuPkuc=
dependencies:
camelcase "^2.0.0"
@@ -4473,7 +4415,7 @@ camelcase-keys@^2.0.0:
camelcase-keys@^4.0.0:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77"
+ resolved "https://registry.npmjs.com/camelcase-keys/-/camelcase-keys-4.2.0.tgz#a2aa5fb1af688758259c32c141426d78923b9b77"
integrity sha1-oqpfsa9oh1glnDLBQUJteJI7m3c=
dependencies:
camelcase "^4.1.0"
@@ -4482,54 +4424,54 @@ camelcase-keys@^4.0.0:
camelcase@^2.0.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f"
+ resolved "https://registry.npmjs.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f"
integrity sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=
camelcase@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a"
+ resolved "https://registry.npmjs.com/camelcase/-/camelcase-3.0.0.tgz#32fc4b9fcdaf845fcdf7e73bb97cac2261f0ab0a"
integrity sha1-MvxLn82vhF/N9+c7uXysImHwqwo=
camelcase@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
+ resolved "https://registry.npmjs.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd"
integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=
camelcase@^5.0.0, camelcase@^5.2.0, camelcase@^5.3.1:
version "5.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
+ resolved "https://registry.npmjs.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
integrity sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA=
can-use-dom@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/can-use-dom/-/can-use-dom-0.1.0.tgz#22cc4a34a0abc43950f42c6411024a3f6366b45a"
+ resolved "https://registry.npmjs.com/can-use-dom/-/can-use-dom-0.1.0.tgz#22cc4a34a0abc43950f42c6411024a3f6366b45a"
integrity sha1-IsxKNKCrxDlQ9CxkEQJKP2NmtFo=
caniuse-lite@^1.0.30000980, caniuse-lite@^1.0.30000984, caniuse-lite@^1.0.30000989:
version "1.0.30000989"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/caniuse-lite/-/caniuse-lite-1.0.30000989.tgz#b9193e293ccf7e4426c5245134b8f2a56c0ac4b9"
+ resolved "https://registry.npmjs.com/caniuse-lite/-/caniuse-lite-1.0.30000989.tgz#b9193e293ccf7e4426c5245134b8f2a56c0ac4b9"
integrity sha1-uRk+KTzPfkQmxSRRNLjypWwKxLk=
capture-exit@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4"
+ resolved "https://registry.npmjs.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4"
integrity sha1-+5U7+uvreB9iiYI52rtCbQilCaQ=
dependencies:
rsvp "^4.8.4"
case-sensitive-paths-webpack-plugin@^2.2.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.2.0.tgz#3371ef6365ef9c25fa4b81c16ace0e9c7dc58c3e"
+ resolved "https://registry.npmjs.com/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.2.0.tgz#3371ef6365ef9c25fa4b81c16ace0e9c7dc58c3e"
integrity sha1-M3HvY2XvnCX6S4HBas4OnH3FjD4=
caseless@~0.12.0:
version "0.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
+ resolved "https://registry.npmjs.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=
chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.1, chalk@^2.4.1, chalk@^2.4.2:
version "2.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
+ resolved "https://registry.npmjs.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=
dependencies:
ansi-styles "^3.2.1"
@@ -4538,7 +4480,7 @@ chalk@2.4.2, chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.3.
chalk@^0.5.0:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chalk/-/chalk-0.5.1.tgz#663b3a648b68b55d04690d49167aa837858f2174"
+ resolved "https://registry.npmjs.com/chalk/-/chalk-0.5.1.tgz#663b3a648b68b55d04690d49167aa837858f2174"
integrity sha1-Zjs6ZItotV0EaQ1JFnqoN4WPIXQ=
dependencies:
ansi-styles "^1.1.0"
@@ -4549,7 +4491,7 @@ chalk@^0.5.0:
chalk@^1.0.0, chalk@^1.1.3:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
+ resolved "https://registry.npmjs.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=
dependencies:
ansi-styles "^2.2.1"
@@ -4560,7 +4502,7 @@ chalk@^1.0.0, chalk@^1.1.3:
change-case@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/change-case/-/change-case-3.1.0.tgz#0e611b7edc9952df2e8513b27b42de72647dd17e"
+ resolved "https://registry.npmjs.com/change-case/-/change-case-3.1.0.tgz#0e611b7edc9952df2e8513b27b42de72647dd17e"
integrity sha1-DmEbftyZUt8uhROye0LecmR90X4=
dependencies:
camel-case "^3.0.0"
@@ -4584,49 +4526,37 @@ change-case@^3.1.0:
change-emitter@^0.1.2:
version "0.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/change-emitter/-/change-emitter-0.1.6.tgz#e8b2fe3d7f1ab7d69a32199aff91ea6931409515"
+ resolved "https://registry.npmjs.com/change-emitter/-/change-emitter-0.1.6.tgz#e8b2fe3d7f1ab7d69a32199aff91ea6931409515"
integrity sha1-6LL+PX8at9aaMhma/5HqaTFAlRU=
character-entities-legacy@^1.0.0:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/character-entities-legacy/-/character-entities-legacy-1.1.3.tgz#3c729991d9293da0ede6dddcaf1f2ce1009ee8b4"
+ resolved "https://registry.npmjs.com/character-entities-legacy/-/character-entities-legacy-1.1.3.tgz#3c729991d9293da0ede6dddcaf1f2ce1009ee8b4"
integrity sha1-PHKZkdkpPaDt5t3crx8s4QCe6LQ=
character-entities@^1.0.0:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/character-entities/-/character-entities-1.2.3.tgz#bbed4a52fe7ef98cc713c6d80d9faa26916d54e6"
+ resolved "https://registry.npmjs.com/character-entities/-/character-entities-1.2.3.tgz#bbed4a52fe7ef98cc713c6d80d9faa26916d54e6"
integrity sha1-u+1KUv5++YzHE8bYDZ+qJpFtVOY=
character-reference-invalid@^1.0.0:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/character-reference-invalid/-/character-reference-invalid-1.1.3.tgz#1647f4f726638d3ea4a750cf5d1975c1c7919a85"
+ resolved "https://registry.npmjs.com/character-reference-invalid/-/character-reference-invalid-1.1.3.tgz#1647f4f726638d3ea4a750cf5d1975c1c7919a85"
integrity sha1-Fkf09yZjjT6kp1DPXRl1wceRmoU=
chardet@^0.7.0:
version "0.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
+ resolved "https://registry.npmjs.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
integrity sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=
charenc@~0.0.1:
version "0.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667"
+ resolved "https://registry.npmjs.com/charenc/-/charenc-0.0.2.tgz#c0a1d2f3a7092e03774bfa83f14c0fc5790a8667"
integrity sha1-wKHS86cJLgN3S/qD8UwPxXkKhmc=
-cheerio@^1.0.0-rc.2:
- version "1.0.0-rc.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cheerio/-/cheerio-1.0.0-rc.3.tgz#094636d425b2e9c0f4eb91a46c05630c9a1a8bf6"
- integrity sha1-CUY21CWy6cD065GkbAVjDJoai/Y=
- dependencies:
- css-select "~1.2.0"
- dom-serializer "~0.1.1"
- entities "~1.1.1"
- htmlparser2 "^3.9.1"
- lodash "^4.15.0"
- parse5 "^3.0.1"
-
chokidar@^2.0.2, chokidar@^2.0.4:
version "2.1.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
+ resolved "https://registry.npmjs.com/chokidar/-/chokidar-2.1.8.tgz#804b3a7b6a99358c3c5c61e71d8728f041cff917"
integrity sha1-gEs6e2qZNYw8XGHnHYco8EHP+Rc=
dependencies:
anymatch "^2.0.0"
@@ -4645,24 +4575,24 @@ chokidar@^2.0.2, chokidar@^2.0.4:
chownr@^1.1.1, chownr@^1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6"
+ resolved "https://registry.npmjs.com/chownr/-/chownr-1.1.2.tgz#a18f1e0b269c8a6a5d3c86eb298beb14c3dd7bf6"
integrity sha1-oY8eCyacimpdPIbrKYvrFMPde/Y=
chrome-trace-event@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4"
+ resolved "https://registry.npmjs.com/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz#234090ee97c7d4ad1a2c4beae27505deffc608a4"
integrity sha1-I0CQ7pfH1K0aLEvq4nUF3v/GCKQ=
dependencies:
tslib "^1.9.0"
ci-info@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
+ resolved "https://registry.npmjs.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
integrity sha1-Z6npZL4xpR4V5QENWObxKDQAL0Y=
cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
+ resolved "https://registry.npmjs.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de"
integrity sha1-h2Dk7MJy9MNjUy+SbYdKriwTl94=
dependencies:
inherits "^2.0.1"
@@ -4670,7 +4600,7 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
class-utils@^0.3.5:
version "0.3.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463"
+ resolved "https://registry.npmjs.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463"
integrity sha1-+TNprouafOAv1B+q0MqDAzGQxGM=
dependencies:
arr-union "^3.1.0"
@@ -4680,48 +4610,36 @@ class-utils@^0.3.5:
classnames@^2.2.5:
version "2.2.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"
+ resolved "https://registry.npmjs.com/classnames/-/classnames-2.2.6.tgz#43935bffdd291f326dad0a205309b38d00f650ce"
integrity sha1-Q5Nb/90pHzJtrQogUwmzjQD2UM4=
clean-css@^4.2.1:
version "4.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/clean-css/-/clean-css-4.2.1.tgz#2d411ef76b8569b6d0c84068dabe85b0aa5e5c17"
+ resolved "https://registry.npmjs.com/clean-css/-/clean-css-4.2.1.tgz#2d411ef76b8569b6d0c84068dabe85b0aa5e5c17"
integrity sha1-LUEe92uFabbQyEBo2r6FsKpeXBc=
dependencies:
source-map "~0.6.0"
cli-boxes@^2.2.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d"
+ resolved "https://registry.npmjs.com/cli-boxes/-/cli-boxes-2.2.0.tgz#538ecae8f9c6ca508e3c3c95b453fe93cb4c168d"
integrity sha1-U47K6PnGylCOPDyVtFP+k8tMFo0=
-cli-color@^1.2.0:
- version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cli-color/-/cli-color-1.4.0.tgz#7d10738f48526824f8fe7da51857cb0f572fe01f"
- integrity sha1-fRBzj0hSaCT4/n2lGFfLD1cv4B8=
- dependencies:
- ansi-regex "^2.1.1"
- d "1"
- es5-ext "^0.10.46"
- es6-iterator "^2.0.3"
- memoizee "^0.4.14"
- timers-ext "^0.1.5"
-
cli-cursor@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
+ resolved "https://registry.npmjs.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
integrity sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=
dependencies:
restore-cursor "^2.0.0"
cli-spinners@^2.0.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77"
+ resolved "https://registry.npmjs.com/cli-spinners/-/cli-spinners-2.2.0.tgz#e8b988d9206c692302d8ee834e7a85c0144d8f77"
integrity sha1-6LmI2SBsaSMC2O6DTnqFwBRNj3c=
cli-table3@0.5.1:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202"
+ resolved "https://registry.npmjs.com/cli-table3/-/cli-table3-0.5.1.tgz#0252372d94dfc40dbd8df06005f48f31f656f202"
integrity sha1-AlI3LZTfxA29jfBgBfSPMfZW8gI=
dependencies:
object-assign "^4.1.0"
@@ -4731,12 +4649,12 @@ cli-table3@0.5.1:
cli-width@^2.0.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
+ resolved "https://registry.npmjs.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
integrity sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=
clipboard@^2.0.0:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d"
+ resolved "https://registry.npmjs.com/clipboard/-/clipboard-2.0.4.tgz#836dafd66cf0fea5d71ce5d5b0bf6e958009112d"
integrity sha1-g22v1mzw/qXXHOXVsL9ulYAJES0=
dependencies:
good-listener "^1.2.2"
@@ -4745,7 +4663,7 @@ clipboard@^2.0.0:
cliui@^3.2.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
+ resolved "https://registry.npmjs.com/cliui/-/cliui-3.2.0.tgz#120601537a916d29940f934da3b48d585a39213d"
integrity sha1-EgYBU3qRbSmUD5NNo7SNWFo5IT0=
dependencies:
string-width "^1.0.1"
@@ -4754,7 +4672,7 @@ cliui@^3.2.0:
cliui@^4.0.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49"
+ resolved "https://registry.npmjs.com/cliui/-/cliui-4.1.0.tgz#348422dbe82d800b3022eef4f6ac10bf2e4d1b49"
integrity sha1-NIQi2+gtgAswIu709qwQvy5NG0k=
dependencies:
string-width "^2.1.1"
@@ -4763,7 +4681,7 @@ cliui@^4.0.0:
cliui@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
+ resolved "https://registry.npmjs.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5"
integrity sha1-3u/P2y6AB4SqNPRvoI4GhRx7u8U=
dependencies:
string-width "^3.1.0"
@@ -4772,7 +4690,7 @@ cliui@^5.0.0:
clone-deep@^0.2.4:
version "0.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/clone-deep/-/clone-deep-0.2.4.tgz#4e73dd09e9fb971cc38670c5dced9c1896481cc6"
+ resolved "https://registry.npmjs.com/clone-deep/-/clone-deep-0.2.4.tgz#4e73dd09e9fb971cc38670c5dced9c1896481cc6"
integrity sha1-TnPdCen7lxzDhnDF3O2cGJZIHMY=
dependencies:
for-own "^0.1.3"
@@ -4783,27 +4701,27 @@ clone-deep@^0.2.4:
clone-stats@^0.0.1, clone-stats@~0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1"
+ resolved "https://registry.npmjs.com/clone-stats/-/clone-stats-0.0.1.tgz#b88f94a82cf38b8791d58046ea4029ad88ca99d1"
integrity sha1-uI+UqCzzi4eR1YBG6kAprYjKmdE=
clone@0.x, clone@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/clone/-/clone-0.2.0.tgz#c6126a90ad4f72dbf5acdb243cc37724fe93fc1f"
+ resolved "https://registry.npmjs.com/clone/-/clone-0.2.0.tgz#c6126a90ad4f72dbf5acdb243cc37724fe93fc1f"
integrity sha1-xhJqkK1Pctv1rNskPMN3JP6T/B8=
clone@^1.0.0, clone@^1.0.2:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
+ resolved "https://registry.npmjs.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e"
integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4=
co@^4.6.0:
version "4.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
+ resolved "https://registry.npmjs.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=
coa@^2.0.2:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3"
+ resolved "https://registry.npmjs.com/coa/-/coa-2.0.2.tgz#43f6c21151b4ef2bf57187db0d73de229e3e7ec3"
integrity sha1-Q/bCEVG07yv1cYfbDXPeIp4+fsM=
dependencies:
"@types/q" "^1.5.1"
@@ -4812,12 +4730,12 @@ coa@^2.0.2:
code-point-at@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
+ resolved "https://registry.npmjs.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77"
integrity sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=
collection-visit@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
+ resolved "https://registry.npmjs.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0"
integrity sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=
dependencies:
map-visit "^1.0.0"
@@ -4825,29 +4743,29 @@ collection-visit@^1.0.0:
color-convert@^1.9.0:
version "1.9.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
+ resolved "https://registry.npmjs.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=
dependencies:
color-name "1.1.3"
color-name@1.1.3:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
+ resolved "https://registry.npmjs.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
color-support@^1.1.3:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
+ resolved "https://registry.npmjs.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2"
integrity sha1-k4NDeaHMmgxh+C9S8NBDIiUb1aI=
colors@^1.1.2:
version "1.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
+ resolved "https://registry.npmjs.com/colors/-/colors-1.3.3.tgz#39e005d546afe01e01f9c4ca8fa50f686a01205d"
integrity sha1-OeAF1Uav4B4B+cTKj6UPaGoBIF0=
columnify@^1.5.4:
version "1.5.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb"
+ resolved "https://registry.npmjs.com/columnify/-/columnify-1.5.4.tgz#4737ddf1c7b69a8a7c340570782e947eec8e78bb"
integrity sha1-Rzfd8ce2mop8NAVweC6UfuyOeLs=
dependencies:
strip-ansi "^3.0.0"
@@ -4855,34 +4773,34 @@ columnify@^1.5.4:
combined-stream@^1.0.6, combined-stream@~1.0.6:
version "1.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
+ resolved "https://registry.npmjs.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
integrity sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=
dependencies:
delayed-stream "~1.0.0"
comma-separated-tokens@^1.0.0:
version "1.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/comma-separated-tokens/-/comma-separated-tokens-1.0.7.tgz#419cd7fb3258b1ed838dc0953167a25e152f5b59"
+ resolved "https://registry.npmjs.com/comma-separated-tokens/-/comma-separated-tokens-1.0.7.tgz#419cd7fb3258b1ed838dc0953167a25e152f5b59"
integrity sha1-QZzX+zJYse2DjcCVMWeiXhUvW1k=
-commander@^2.11.0, commander@^2.18.0, commander@^2.19.0, commander@^2.20.0, commander@^2.8.1, commander@^2.9.0, commander@~2.20.0:
+commander@^2.11.0, commander@^2.19.0, commander@^2.20.0, commander@^2.8.1, commander@^2.9.0, commander@~2.20.0:
version "2.20.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
+ resolved "https://registry.npmjs.com/commander/-/commander-2.20.0.tgz#d58bb2b5c1ee8f87b0d340027e9e94e222c5a422"
integrity sha1-1YuytcHuj4ew00ACfp6U4iLFpCI=
common-tags@^1.8.0:
version "1.8.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
+ resolved "https://registry.npmjs.com/common-tags/-/common-tags-1.8.0.tgz#8e3153e542d4a39e9b10554434afaaf98956a937"
integrity sha1-jjFT5ULUo56bEFVENK+q+YlWqTc=
commondir@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
+ resolved "https://registry.npmjs.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=
compare-func@^1.3.1:
version "1.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648"
+ resolved "https://registry.npmjs.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648"
integrity sha1-md0LpFfh+bxyKxLAjsM+6rMfpkg=
dependencies:
array-ify "^1.0.0"
@@ -4890,17 +4808,17 @@ compare-func@^1.3.1:
component-emitter@^1.2.1:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
+ resolved "https://registry.npmjs.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0"
integrity sha1-FuQHD7qK4ptnnyIVhT7hgasuq8A=
concat-map@0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
+ resolved "https://registry.npmjs.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
concat-stream@^1.5.0:
version "1.6.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
+ resolved "https://registry.npmjs.com/concat-stream/-/concat-stream-1.6.2.tgz#904bdf194cd3122fc675c77fc4ac3d4ff0fd1a34"
integrity sha1-kEvfGUzTEi/Gdcd/xKw9T/D9GjQ=
dependencies:
buffer-from "^1.0.0"
@@ -4910,7 +4828,7 @@ concat-stream@^1.5.0:
concat-stream@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1"
+ resolved "https://registry.npmjs.com/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1"
integrity sha1-QUz1r3kKSMYKub5FJ9VtXkETPLE=
dependencies:
buffer-from "^1.0.0"
@@ -4920,7 +4838,7 @@ concat-stream@^2.0.0:
config-chain@^1.1.11:
version "1.1.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa"
+ resolved "https://registry.npmjs.com/config-chain/-/config-chain-1.1.12.tgz#0fde8d091200eb5e808caf25fe618c02f48e4efa"
integrity sha1-D96NCRIA616AjK8l/mGMAvSOTvo=
dependencies:
ini "^1.3.4"
@@ -4928,19 +4846,19 @@ config-chain@^1.1.11:
console-browserify@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10"
+ resolved "https://registry.npmjs.com/console-browserify/-/console-browserify-1.1.0.tgz#f0241c45730a9fc6323b206dbf38edc741d0bb10"
integrity sha1-8CQcRXMKn8YyOyBtvzjtx0HQuxA=
dependencies:
date-now "^0.1.4"
console-control-strings@^1.0.0, console-control-strings@~1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
+ resolved "https://registry.npmjs.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
constant-case@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/constant-case/-/constant-case-2.0.0.tgz#4175764d389d3fa9c8ecd29186ed6005243b6a46"
+ resolved "https://registry.npmjs.com/constant-case/-/constant-case-2.0.0.tgz#4175764d389d3fa9c8ecd29186ed6005243b6a46"
integrity sha1-QXV2TTidP6nI7NKRhu1gBSQ7akY=
dependencies:
snake-case "^2.1.0"
@@ -4948,34 +4866,34 @@ constant-case@^2.0.0:
constants-browserify@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75"
+ resolved "https://registry.npmjs.com/constants-browserify/-/constants-browserify-1.0.0.tgz#c20b96d8c617748aaf1c16021760cd27fcb8cb75"
integrity sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=
contains-path@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a"
+ resolved "https://registry.npmjs.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a"
integrity sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=
content-disposition@0.5.3:
version "0.5.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd"
+ resolved "https://registry.npmjs.com/content-disposition/-/content-disposition-0.5.3.tgz#e130caf7e7279087c5616c2007d0485698984fbd"
integrity sha1-4TDK9+cnkIfFYWwgB9BIVpiYT70=
dependencies:
safe-buffer "5.1.2"
content-type-parser@^1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7"
+ resolved "https://registry.npmjs.com/content-type-parser/-/content-type-parser-1.0.2.tgz#caabe80623e63638b2502fd4c7f12ff4ce2352e7"
integrity sha1-yqvoBiPmNjiyUC/Ux/Ev9M4jUuc=
content-type@~1.0.4:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
+ resolved "https://registry.npmjs.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b"
integrity sha1-4TjMdeBAxyexlm/l5fjJruJW/js=
conventional-changelog-angular@^5.0.3:
version "5.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-changelog-angular/-/conventional-changelog-angular-5.0.3.tgz#299fdd43df5a1f095283ac16aeedfb0a682ecab0"
+ resolved "https://registry.npmjs.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.3.tgz#299fdd43df5a1f095283ac16aeedfb0a682ecab0"
integrity sha1-KZ/dQ99aHwlSg6wWru37CmguyrA=
dependencies:
compare-func "^1.3.1"
@@ -4983,7 +4901,7 @@ conventional-changelog-angular@^5.0.3:
conventional-changelog-core@^3.1.6:
version "3.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz#b31410856f431c847086a7dcb4d2ca184a7d88fb"
+ resolved "https://registry.npmjs.com/conventional-changelog-core/-/conventional-changelog-core-3.2.3.tgz#b31410856f431c847086a7dcb4d2ca184a7d88fb"
integrity sha1-sxQQhW9DHIRwhqfctNLKGEp9iPs=
dependencies:
conventional-changelog-writer "^4.0.6"
@@ -5002,12 +4920,12 @@ conventional-changelog-core@^3.1.6:
conventional-changelog-preset-loader@^2.1.1:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.2.0.tgz#571e2b3d7b53d65587bea9eedf6e37faa5db4fcc"
+ resolved "https://registry.npmjs.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.2.0.tgz#571e2b3d7b53d65587bea9eedf6e37faa5db4fcc"
integrity sha1-Vx4rPXtT1lWHvqnu3243+qXbT8w=
conventional-changelog-writer@^4.0.6:
version "4.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-changelog-writer/-/conventional-changelog-writer-4.0.7.tgz#e4b7d9cbea902394ad671f67108a71fa90c7095f"
+ resolved "https://registry.npmjs.com/conventional-changelog-writer/-/conventional-changelog-writer-4.0.7.tgz#e4b7d9cbea902394ad671f67108a71fa90c7095f"
integrity sha1-5LfZy+qQI5StZx9nEIpx+pDHCV8=
dependencies:
compare-func "^1.3.1"
@@ -5023,7 +4941,7 @@ conventional-changelog-writer@^4.0.6:
conventional-commits-filter@^2.0.2:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-commits-filter/-/conventional-commits-filter-2.0.2.tgz#f122f89fbcd5bb81e2af2fcac0254d062d1039c1"
+ resolved "https://registry.npmjs.com/conventional-commits-filter/-/conventional-commits-filter-2.0.2.tgz#f122f89fbcd5bb81e2af2fcac0254d062d1039c1"
integrity sha1-8SL4n7zVu4Hiry/KwCVNBi0QOcE=
dependencies:
lodash.ismatch "^4.4.0"
@@ -5031,7 +4949,7 @@ conventional-commits-filter@^2.0.2:
conventional-commits-parser@^3.0.3:
version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-commits-parser/-/conventional-commits-parser-3.0.3.tgz#c3f972fd4e056aa8b9b4f5f3d0e540da18bf396d"
+ resolved "https://registry.npmjs.com/conventional-commits-parser/-/conventional-commits-parser-3.0.3.tgz#c3f972fd4e056aa8b9b4f5f3d0e540da18bf396d"
integrity sha1-w/ly/U4Faqi5tPXz0OVA2hi/OW0=
dependencies:
JSONStream "^1.0.4"
@@ -5044,7 +4962,7 @@ conventional-commits-parser@^3.0.3:
conventional-recommended-bump@^5.0.0:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/conventional-recommended-bump/-/conventional-recommended-bump-5.0.1.tgz#5af63903947b6e089e77767601cb592cabb106ba"
+ resolved "https://registry.npmjs.com/conventional-recommended-bump/-/conventional-recommended-bump-5.0.1.tgz#5af63903947b6e089e77767601cb592cabb106ba"
integrity sha1-WvY5A5R7bgied3Z2ActZLKuxBro=
dependencies:
concat-stream "^2.0.0"
@@ -5058,29 +4976,29 @@ conventional-recommended-bump@^5.0.0:
convert-source-map@^0.3.3:
version "0.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190"
+ resolved "https://registry.npmjs.com/convert-source-map/-/convert-source-map-0.3.5.tgz#f1d802950af7dd2631a1febe0596550c86ab3190"
integrity sha1-8dgClQr33SYxof6+BZZVDIarMZA=
convert-source-map@^1.1.0, convert-source-map@^1.3.0, convert-source-map@^1.4.0, convert-source-map@^1.5.0, convert-source-map@^1.5.1:
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
+ resolved "https://registry.npmjs.com/convert-source-map/-/convert-source-map-1.6.0.tgz#51b537a8c43e0f04dec1993bffcdd504e758ac20"
integrity sha1-UbU3qMQ+DwTewZk7/83VBOdYrCA=
dependencies:
safe-buffer "~5.1.1"
cookie-signature@1.0.6:
version "1.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
+ resolved "https://registry.npmjs.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw=
cookie@0.4.0:
version "0.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
+ resolved "https://registry.npmjs.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba"
integrity sha1-vrQ35wIrO21JAZ0IhmUwPr6cFLo=
copy-concurrently@^1.0.0:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"
+ resolved "https://registry.npmjs.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0"
integrity sha1-kilzmMrjSTf8r9bsgTnBgFHwteA=
dependencies:
aproba "^1.1.1"
@@ -5092,19 +5010,19 @@ copy-concurrently@^1.0.0:
copy-descriptor@^0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
+ resolved "https://registry.npmjs.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d"
integrity sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=
copy-to-clipboard@^3.0.8:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/copy-to-clipboard/-/copy-to-clipboard-3.2.0.tgz#d2724a3ccbfed89706fac8a894872c979ac74467"
+ resolved "https://registry.npmjs.com/copy-to-clipboard/-/copy-to-clipboard-3.2.0.tgz#d2724a3ccbfed89706fac8a894872c979ac74467"
integrity sha1-0nJKPMv+2JcG+siolIcsl5rHRGc=
dependencies:
toggle-selection "^1.0.6"
core-js-compat@^3.1.1:
version "3.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/core-js-compat/-/core-js-compat-3.2.1.tgz#0cbdbc2e386e8e00d3b85dc81c848effec5b8150"
+ resolved "https://registry.npmjs.com/core-js-compat/-/core-js-compat-3.2.1.tgz#0cbdbc2e386e8e00d3b85dc81c848effec5b8150"
integrity sha1-DL28LjhujgDTuF3IHISO/+xbgVA=
dependencies:
browserslist "^4.6.6"
@@ -5112,32 +5030,32 @@ core-js-compat@^3.1.1:
core-js-pure@^3.0.1:
version "3.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/core-js-pure/-/core-js-pure-3.2.1.tgz#879a23699cff46175bfd2d09158b5c50645a3c45"
+ resolved "https://registry.npmjs.com/core-js-pure/-/core-js-pure-3.2.1.tgz#879a23699cff46175bfd2d09158b5c50645a3c45"
integrity sha1-h5ojaZz/Rhdb/S0JFYtcUGRaPEU=
core-js@^1.0.0:
version "1.2.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
+ resolved "https://registry.npmjs.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=
-core-js@^2.4.0, core-js@^2.5.0, core-js@^2.6.5:
+core-js@^2.4.0, core-js@^2.6.5:
version "2.6.9"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
+ resolved "https://registry.npmjs.com/core-js/-/core-js-2.6.9.tgz#6b4b214620c834152e179323727fc19741b084f2"
integrity sha1-a0shRiDINBUuF5Mjcn/Bl0GwhPI=
core-js@^3.0.0, core-js@^3.0.1, core-js@^3.0.4, core-js@^3.1.4:
version "3.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/core-js/-/core-js-3.2.1.tgz#cd41f38534da6cc59f7db050fe67307de9868b09"
+ resolved "https://registry.npmjs.com/core-js/-/core-js-3.2.1.tgz#cd41f38534da6cc59f7db050fe67307de9868b09"
integrity sha1-zUHzhTTabMWffbBQ/mcwfemGiwk=
core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
+ resolved "https://registry.npmjs.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
corejs-upgrade-webpack-plugin@^2.0.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/corejs-upgrade-webpack-plugin/-/corejs-upgrade-webpack-plugin-2.2.0.tgz#503293bf1fdcb104918eb40d0294e4776ad6923a"
+ resolved "https://registry.npmjs.com/corejs-upgrade-webpack-plugin/-/corejs-upgrade-webpack-plugin-2.2.0.tgz#503293bf1fdcb104918eb40d0294e4776ad6923a"
integrity sha1-UDKTvx/csQSRjrQNApTkd2rWkjo=
dependencies:
resolve-from "^5.0.0"
@@ -5145,7 +5063,7 @@ corejs-upgrade-webpack-plugin@^2.0.0:
cosmiconfig@^5.0.0, cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1:
version "5.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a"
+ resolved "https://registry.npmjs.com/cosmiconfig/-/cosmiconfig-5.2.1.tgz#040f726809c591e77a17c0a3626ca45b4f168b1a"
integrity sha1-BA9yaAnFked6F8CjYmykW08Wixo=
dependencies:
import-fresh "^2.0.0"
@@ -5155,7 +5073,7 @@ cosmiconfig@^5.0.0, cosmiconfig@^5.1.0, cosmiconfig@^5.2.0, cosmiconfig@^5.2.1:
create-ecdh@^4.0.0:
version "4.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
+ resolved "https://registry.npmjs.com/create-ecdh/-/create-ecdh-4.0.3.tgz#c9111b6f33045c4697f144787f9254cdc77c45ff"
integrity sha1-yREbbzMEXEaX8UR4f5JUzcd8Rf8=
dependencies:
bn.js "^4.1.0"
@@ -5163,7 +5081,7 @@ create-ecdh@^4.0.0:
create-emotion@^9.2.12:
version "9.2.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/create-emotion/-/create-emotion-9.2.12.tgz#0fc8e7f92c4f8bb924b0fef6781f66b1d07cb26f"
+ resolved "https://registry.npmjs.com/create-emotion/-/create-emotion-9.2.12.tgz#0fc8e7f92c4f8bb924b0fef6781f66b1d07cb26f"
integrity sha1-D8jn+SxPi7kksP72eB9msdB8sm8=
dependencies:
"@emotion/hash" "^0.6.2"
@@ -5176,7 +5094,7 @@ create-emotion@^9.2.12:
create-hash@^1.1.0, create-hash@^1.1.2:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196"
+ resolved "https://registry.npmjs.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196"
integrity sha1-iJB4rxGmN1a8+1m9IhmWvjqe8ZY=
dependencies:
cipher-base "^1.0.1"
@@ -5187,7 +5105,7 @@ create-hash@^1.1.0, create-hash@^1.1.2:
create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
version "1.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff"
+ resolved "https://registry.npmjs.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff"
integrity sha1-aRcMeLOrlXFHsriwRXLkfq0iQ/8=
dependencies:
cipher-base "^1.0.3"
@@ -5199,7 +5117,7 @@ create-hmac@^1.1.0, create-hmac@^1.1.2, create-hmac@^1.1.4:
create-react-context@^0.2.1:
version "0.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/create-react-context/-/create-react-context-0.2.3.tgz#9ec140a6914a22ef04b8b09b7771de89567cb6f3"
+ resolved "https://registry.npmjs.com/create-react-context/-/create-react-context-0.2.3.tgz#9ec140a6914a22ef04b8b09b7771de89567cb6f3"
integrity sha1-nsFAppFKIu8EuLCbd3HeiVZ8tvM=
dependencies:
fbjs "^0.8.0"
@@ -5207,7 +5125,7 @@ create-react-context@^0.2.1:
create-react-context@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/create-react-context/-/create-react-context-0.3.0.tgz#546dede9dc422def0d3fc2fe03afe0bc0f4f7d8c"
+ resolved "https://registry.npmjs.com/create-react-context/-/create-react-context-0.3.0.tgz#546dede9dc422def0d3fc2fe03afe0bc0f4f7d8c"
integrity sha1-VG3t6dxCLe8NP8L+A6/gvA9PfYw=
dependencies:
gud "^1.0.0"
@@ -5215,7 +5133,7 @@ create-react-context@^0.3.0:
cross-spawn@6.0.5, cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
+ resolved "https://registry.npmjs.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
integrity sha1-Sl7Hxk364iw6FBJNus3uhG2Ay8Q=
dependencies:
nice-try "^1.0.4"
@@ -5226,7 +5144,7 @@ cross-spawn@6.0.5, cross-spawn@^6.0.0, cross-spawn@^6.0.5:
cross-spawn@^4:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
+ resolved "https://registry.npmjs.com/cross-spawn/-/cross-spawn-4.0.2.tgz#7b9247621c23adfdd3856004a823cbe397424d41"
integrity sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=
dependencies:
lru-cache "^4.0.1"
@@ -5234,7 +5152,7 @@ cross-spawn@^4:
cross-spawn@^5.0.1:
version "5.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
+ resolved "https://registry.npmjs.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449"
integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=
dependencies:
lru-cache "^4.0.1"
@@ -5243,12 +5161,12 @@ cross-spawn@^5.0.1:
crypt@~0.0.1:
version "0.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b"
+ resolved "https://registry.npmjs.com/crypt/-/crypt-0.0.2.tgz#88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b"
integrity sha1-iNf/fsDfuG9xPch7u0LQRNPmxBs=
crypto-browserify@^3.11.0:
version "3.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
+ resolved "https://registry.npmjs.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec"
integrity sha1-OWz58xN/A+S45TLFj2mCVOAPgOw=
dependencies:
browserify-cipher "^1.0.0"
@@ -5265,7 +5183,7 @@ crypto-browserify@^3.11.0:
css-loader@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-loader/-/css-loader-2.1.1.tgz#d8254f72e412bb2238bb44dd674ffbef497333ea"
+ resolved "https://registry.npmjs.com/css-loader/-/css-loader-2.1.1.tgz#d8254f72e412bb2238bb44dd674ffbef497333ea"
integrity sha1-2CVPcuQSuyI4u0TdZ0/770lzM+o=
dependencies:
camelcase "^5.2.0"
@@ -5280,26 +5198,21 @@ css-loader@^2.1.1:
postcss-value-parser "^3.3.0"
schema-utils "^1.0.0"
-css-parse@1.7.x:
- version "1.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-parse/-/css-parse-1.7.0.tgz#321f6cf73782a6ff751111390fc05e2c657d8c9b"
- integrity sha1-Mh9s9zeCpv91ERE5D8BeLGV9jJs=
-
css-parse@~2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-parse/-/css-parse-2.0.0.tgz#a468ee667c16d81ccf05c58c38d2a97c780dbfd4"
+ resolved "https://registry.npmjs.com/css-parse/-/css-parse-2.0.0.tgz#a468ee667c16d81ccf05c58c38d2a97c780dbfd4"
integrity sha1-pGjuZnwW2BzPBcWMONKpfHgNv9Q=
dependencies:
css "^2.0.0"
css-select-base-adapter@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7"
+ resolved "https://registry.npmjs.com/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz#3b2ff4972cc362ab88561507a95408a1432135d7"
integrity sha1-Oy/0lyzDYquIVhUHqVQIoUMhNdc=
-css-select@^1.1.0, css-select@~1.2.0:
+css-select@^1.1.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858"
+ resolved "https://registry.npmjs.com/css-select/-/css-select-1.2.0.tgz#2b3a110539c5355f1cd8d314623e870b121ec858"
integrity sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=
dependencies:
boolbase "~1.0.0"
@@ -5309,7 +5222,7 @@ css-select@^1.1.0, css-select@~1.2.0:
css-select@^2.0.0:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-select/-/css-select-2.0.2.tgz#ab4386cec9e1f668855564b17c3733b43b2a5ede"
+ resolved "https://registry.npmjs.com/css-select/-/css-select-2.0.2.tgz#ab4386cec9e1f668855564b17c3733b43b2a5ede"
integrity sha1-q0OGzsnh9miFVWSxfDcztDsqXt4=
dependencies:
boolbase "^1.0.0"
@@ -5319,7 +5232,7 @@ css-select@^2.0.0:
css-tree@1.0.0-alpha.29:
version "1.0.0-alpha.29"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39"
+ resolved "https://registry.npmjs.com/css-tree/-/css-tree-1.0.0-alpha.29.tgz#3fa9d4ef3142cbd1c301e7664c1f352bd82f5a39"
integrity sha1-P6nU7zFCy9HDAedmTB81K9gvWjk=
dependencies:
mdn-data "~1.1.0"
@@ -5327,7 +5240,7 @@ css-tree@1.0.0-alpha.29:
css-tree@1.0.0-alpha.33:
version "1.0.0-alpha.33"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-tree/-/css-tree-1.0.0-alpha.33.tgz#970e20e5a91f7a378ddd0fc58d0b6c8d4f3be93e"
+ resolved "https://registry.npmjs.com/css-tree/-/css-tree-1.0.0-alpha.33.tgz#970e20e5a91f7a378ddd0fc58d0b6c8d4f3be93e"
integrity sha1-lw4g5akfejeN3Q/FjQtsjU876T4=
dependencies:
mdn-data "2.0.4"
@@ -5335,22 +5248,22 @@ css-tree@1.0.0-alpha.33:
css-unit-converter@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-unit-converter/-/css-unit-converter-1.1.1.tgz#d9b9281adcfd8ced935bdbaba83786897f64e996"
+ resolved "https://registry.npmjs.com/css-unit-converter/-/css-unit-converter-1.1.1.tgz#d9b9281adcfd8ced935bdbaba83786897f64e996"
integrity sha1-2bkoGtz9jO2TW9urqDeGiX9k6ZY=
css-what@2.1, css-what@^2.1.2:
version "2.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2"
+ resolved "https://registry.npmjs.com/css-what/-/css-what-2.1.3.tgz#a6d7604573365fe74686c3f311c56513d88285f2"
integrity sha1-ptdgRXM2X+dGhsPzEcVlE9iChfI=
css.escape@^1.5.1:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb"
+ resolved "https://registry.npmjs.com/css.escape/-/css.escape-1.5.1.tgz#42e27d4fa04ae32f931a4b4d4191fa9cddee97cb"
integrity sha1-QuJ9T6BK4y+TGktNQZH6nN3ul8s=
css@^2.0.0, css@^2.2.3:
version "2.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929"
+ resolved "https://registry.npmjs.com/css/-/css-2.2.4.tgz#c646755c73971f2bba6a601e2cf2fd71b1298929"
integrity sha1-xkZ1XHOXHyu6amAeLPL9cbEpiSk=
dependencies:
inherits "^2.0.3"
@@ -5360,60 +5273,60 @@ css@^2.0.0, css@^2.2.3:
cssesc@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703"
+ resolved "https://registry.npmjs.com/cssesc/-/cssesc-2.0.0.tgz#3b13bd1bb1cb36e1bcb5a4dcd27f54c5dcb35703"
integrity sha1-OxO9G7HLNuG8taTc0n9UxdyzVwM=
cssesc@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
+ resolved "https://registry.npmjs.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
integrity sha1-N3QZGZA7hoVl4cCep0dEXNGJg+4=
csso@^3.5.1:
version "3.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b"
+ resolved "https://registry.npmjs.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b"
integrity sha1-e564vmFiiXPBsmHhadLwJACOdYs=
dependencies:
css-tree "1.0.0-alpha.29"
cssom@0.3.x, "cssom@>= 0.3.2 < 0.4.0":
version "0.3.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
+ resolved "https://registry.npmjs.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a"
integrity sha1-nxJ29bK0Y/IRTT8sdSUK+MGjb0o=
"cssstyle@>= 0.2.37 < 0.3.0":
version "0.2.37"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54"
+ resolved "https://registry.npmjs.com/cssstyle/-/cssstyle-0.2.37.tgz#541097234cb2513c83ceed3acddc27ff27987d54"
integrity sha1-VBCXI0yyUTyDzu06zdwn/yeYfVQ=
dependencies:
cssom "0.3.x"
cssstyle@^1.0.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cssstyle/-/cssstyle-1.4.0.tgz#9d31328229d3c565c61e586b02041a28fccdccf1"
+ resolved "https://registry.npmjs.com/cssstyle/-/cssstyle-1.4.0.tgz#9d31328229d3c565c61e586b02041a28fccdccf1"
integrity sha1-nTEyginTxWXGHlhrAgQaKPzNzPE=
dependencies:
cssom "0.3.x"
csstype@^2.2.0, csstype@^2.5.2, csstype@^2.5.7:
version "2.6.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/csstype/-/csstype-2.6.6.tgz#c34f8226a94bbb10c32cc0d714afdf942291fc41"
+ resolved "https://registry.npmjs.com/csstype/-/csstype-2.6.6.tgz#c34f8226a94bbb10c32cc0d714afdf942291fc41"
integrity sha1-w0+CJqlLuxDDLMDXFK/flCKR/EE=
currently-unhandled@^0.4.1:
version "0.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea"
+ resolved "https://registry.npmjs.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea"
integrity sha1-mI3zP+qxke95mmE2nddsF635V+o=
dependencies:
array-find-index "^1.0.1"
cyclist@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
+ resolved "https://registry.npmjs.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
d@1, d@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
+ resolved "https://registry.npmjs.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
integrity sha1-hpgJU3LVjb7jRv/Qxwk/mfj561o=
dependencies:
es5-ext "^0.10.50"
@@ -5421,26 +5334,26 @@ d@1, d@^1.0.1:
damerau-levenshtein@^1.0.4:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/damerau-levenshtein/-/damerau-levenshtein-1.0.5.tgz#780cf7144eb2e8dbd1c3bb83ae31100ccc31a414"
+ resolved "https://registry.npmjs.com/damerau-levenshtein/-/damerau-levenshtein-1.0.5.tgz#780cf7144eb2e8dbd1c3bb83ae31100ccc31a414"
integrity sha1-eAz3FE6y6NvRw7uDrjEQDMwxpBQ=
dargs@^4.0.1:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17"
+ resolved "https://registry.npmjs.com/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17"
integrity sha1-A6nbtLXC8Tm/FK5T8LiipqhvThc=
dependencies:
number-is-nan "^1.0.0"
dashdash@^1.12.0:
version "1.14.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
+ resolved "https://registry.npmjs.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
integrity sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=
dependencies:
assert-plus "^1.0.0"
data-urls@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/data-urls/-/data-urls-1.1.0.tgz#15ee0582baa5e22bb59c77140da8f9c76963bbfe"
+ resolved "https://registry.npmjs.com/data-urls/-/data-urls-1.1.0.tgz#15ee0582baa5e22bb59c77140da8f9c76963bbfe"
integrity sha1-Fe4Fgrql4iu1nHcUDaj5x2lju/4=
dependencies:
abab "^2.0.0"
@@ -5449,17 +5362,17 @@ data-urls@^1.0.0:
date-fns@^1.30.1:
version "1.30.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
+ resolved "https://registry.npmjs.com/date-fns/-/date-fns-1.30.1.tgz#2e71bf0b119153dbb4cc4e88d9ea5acfb50dc05c"
integrity sha1-LnG/CxGRU9u0zE6I2epaz7UNwFw=
date-now@^0.1.4:
version "0.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
+ resolved "https://registry.npmjs.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b"
integrity sha1-6vQ5/U1ISK105cx9vvIAZyueNFs=
dateformat@^1.0.7-1.2.3:
version "1.0.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dateformat/-/dateformat-1.0.12.tgz#9f124b67594c937ff706932e4a642cca8dbbfee9"
+ resolved "https://registry.npmjs.com/dateformat/-/dateformat-1.0.12.tgz#9f124b67594c937ff706932e4a642cca8dbbfee9"
integrity sha1-nxJLZ1lMk3/3BpMuSmQsyo27/uk=
dependencies:
get-stdin "^4.0.1"
@@ -5467,62 +5380,62 @@ dateformat@^1.0.7-1.2.3:
dateformat@^2.0.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dateformat/-/dateformat-2.2.0.tgz#4065e2013cf9fb916ddfd82efb506ad4c6769062"
+ resolved "https://registry.npmjs.com/dateformat/-/dateformat-2.2.0.tgz#4065e2013cf9fb916ddfd82efb506ad4c6769062"
integrity sha1-QGXiATz5+5Ft39gu+1Bq1MZ2kGI=
dateformat@^3.0.0:
version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae"
+ resolved "https://registry.npmjs.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae"
integrity sha1-puN0maTZqc+F71hyBE1ikByYia4=
debug-log@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f"
+ resolved "https://registry.npmjs.com/debug-log/-/debug-log-1.0.1.tgz#2307632d4c04382b8df8a32f70b895046d52745f"
integrity sha1-IwdjLUwEOCuN+KMvcLiVBG1SdF8=
-debug@*, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
- version "4.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
- integrity sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=
- dependencies:
- ms "^2.1.1"
-
debug@2.6.9, debug@^2.2.0, debug@^2.3.3, debug@^2.6.0, debug@^2.6.8, debug@^2.6.9:
version "2.6.9"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
+ resolved "https://registry.npmjs.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
integrity sha1-XRKFFd8TT/Mn6QpMk/Tgd6U2NB8=
dependencies:
ms "2.0.0"
debug@3.1.0, debug@=3.1.0, debug@~3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
+ resolved "https://registry.npmjs.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261"
integrity sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=
dependencies:
ms "2.0.0"
-debug@3.2.6, debug@^3.0.1, debug@^3.1.0, debug@^3.2.5, debug@^3.2.6:
+debug@^1.0.2:
+ version "1.0.5"
+ resolved "https://registry.npmjs.com/debug/-/debug-1.0.5.tgz#f7241217430f99dec4c2b473eab92228e874c2ac"
+ integrity sha1-9yQSF0MPmd7EwrRz6rkiKOh0wqw=
+ dependencies:
+ ms "2.0.0"
+
+debug@^3.0.1, debug@^3.1.0, debug@^3.2.5, debug@^3.2.6:
version "3.2.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
+ resolved "https://registry.npmjs.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
integrity sha1-6D0X3hbYp++3cX7b5fsQE17uYps=
dependencies:
ms "^2.1.1"
-debug@^1.0.2:
- version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debug/-/debug-1.0.5.tgz#f7241217430f99dec4c2b473eab92228e874c2ac"
- integrity sha1-9yQSF0MPmd7EwrRz6rkiKOh0wqw=
+debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
+ version "4.1.1"
+ resolved "https://registry.npmjs.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
+ integrity sha1-O3ImAlUQnGtYnO4FDx1RYTlmR5E=
dependencies:
- ms "2.0.0"
+ ms "^2.1.1"
debuglog@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
+ resolved "https://registry.npmjs.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
decamelize-keys@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9"
+ resolved "https://registry.npmjs.com/decamelize-keys/-/decamelize-keys-1.1.0.tgz#d171a87933252807eb3cb61dc1c1445d078df2d9"
integrity sha1-0XGoeTMlKAfrPLYdwcFEXQeN8tk=
dependencies:
decamelize "^1.1.0"
@@ -5530,72 +5443,72 @@ decamelize-keys@^1.0.0:
decamelize@^1.1.0, decamelize@^1.1.1, decamelize@^1.1.2, decamelize@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
+ resolved "https://registry.npmjs.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=
decode-uri-component@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
+ resolved "https://registry.npmjs.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
dedent@^0.7.0:
version "0.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
+ resolved "https://registry.npmjs.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c"
integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=
deep-extend@^0.6.0:
version "0.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
+ resolved "https://registry.npmjs.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
integrity sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw=
deep-is@~0.1.3:
version "0.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
+ resolved "https://registry.npmjs.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=
deep-object-diff@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/deep-object-diff/-/deep-object-diff-1.1.0.tgz#d6fabf476c2ed1751fc94d5ca693d2ed8c18bc5a"
+ resolved "https://registry.npmjs.com/deep-object-diff/-/deep-object-diff-1.1.0.tgz#d6fabf476c2ed1751fc94d5ca693d2ed8c18bc5a"
integrity sha1-1vq/R2wu0XUfyU1cppPS7YwYvFo=
default-require-extensions@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8"
+ resolved "https://registry.npmjs.com/default-require-extensions/-/default-require-extensions-1.0.0.tgz#f37ea15d3e13ffd9b437d33e1a75b5fb97874cb8"
integrity sha1-836hXT4T/9m0N9M+GnW1+5eHTLg=
dependencies:
strip-bom "^2.0.0"
defaults@^1.0.0, defaults@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"
+ resolved "https://registry.npmjs.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d"
integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=
dependencies:
clone "^1.0.2"
define-properties@^1.1.2, define-properties@^1.1.3:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
+ resolved "https://registry.npmjs.com/define-properties/-/define-properties-1.1.3.tgz#cf88da6cbee26fe6db7094f61d870cbd84cee9f1"
integrity sha1-z4jabL7ib+bbcJT2HYcMvYTO6fE=
dependencies:
object-keys "^1.0.12"
define-property@^0.2.5:
version "0.2.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
+ resolved "https://registry.npmjs.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116"
integrity sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=
dependencies:
is-descriptor "^0.1.0"
define-property@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6"
+ resolved "https://registry.npmjs.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6"
integrity sha1-dp66rz9KY6rTr56NMEybvnm/sOY=
dependencies:
is-descriptor "^1.0.0"
define-property@^2.0.2:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d"
+ resolved "https://registry.npmjs.com/define-property/-/define-property-2.0.2.tgz#d459689e8d654ba77e02a817f8710d702cb16e9d"
integrity sha1-1Flono1lS6d+AqgX+HENcCyxbp0=
dependencies:
is-descriptor "^1.0.2"
@@ -5603,7 +5516,7 @@ define-property@^2.0.2:
del@^4.1.1:
version "4.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4"
+ resolved "https://registry.npmjs.com/del/-/del-4.1.1.tgz#9e8f117222ea44a31ff3a156c049b99052a9f0b4"
integrity sha1-no8RciLqRKMf86FWwEm5kFKp8LQ=
dependencies:
"@types/glob" "^7.1.1"
@@ -5616,42 +5529,42 @@ del@^4.1.1:
delayed-stream@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
+ resolved "https://registry.npmjs.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
delegate@^3.1.2:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166"
+ resolved "https://registry.npmjs.com/delegate/-/delegate-3.2.0.tgz#b66b71c3158522e8ab5744f720d8ca0c2af59166"
integrity sha1-tmtxwxWFIuirV0T3INjKDCr1kWY=
delegates@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
+ resolved "https://registry.npmjs.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
denodeify@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/denodeify/-/denodeify-1.2.1.tgz#3a36287f5034e699e7577901052c2e6c94251631"
+ resolved "https://registry.npmjs.com/denodeify/-/denodeify-1.2.1.tgz#3a36287f5034e699e7577901052c2e6c94251631"
integrity sha1-OjYof1A05pnnV3kBBSwubJQlFjE=
depd@~1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
+ resolved "https://registry.npmjs.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9"
integrity sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=
deprecated@^0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/deprecated/-/deprecated-0.0.1.tgz#f9c9af5464afa1e7a971458a8bdef2aa94d5bb19"
+ resolved "https://registry.npmjs.com/deprecated/-/deprecated-0.0.1.tgz#f9c9af5464afa1e7a971458a8bdef2aa94d5bb19"
integrity sha1-+cmvVGSvoeepcUWKi97yqpTVuxk=
deprecation@^2.0.0:
version "2.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919"
+ resolved "https://registry.npmjs.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919"
integrity sha1-Y2jL20Cr8zc7UlrIfkomDDpwCRk=
des.js@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc"
+ resolved "https://registry.npmjs.com/des.js/-/des.js-1.0.0.tgz#c074d2e2aa6a8a9a07dbd61f9a15c2cd83ec8ecc"
integrity sha1-wHTS4qpqipoH29YfmhXCzYPsjsw=
dependencies:
inherits "^2.0.1"
@@ -5659,39 +5572,39 @@ des.js@^1.0.0:
destroy@~1.0.4:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
+ resolved "https://registry.npmjs.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
detect-file@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7"
+ resolved "https://registry.npmjs.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7"
integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=
detect-indent@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208"
+ resolved "https://registry.npmjs.com/detect-indent/-/detect-indent-4.0.0.tgz#f76d064352cdf43a1cb6ce619c4ee3a9475de208"
integrity sha1-920GQ1LN9Docts5hnE7jqUdd4gg=
dependencies:
repeating "^2.0.0"
detect-indent@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
+ resolved "https://registry.npmjs.com/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d"
integrity sha1-OHHMCmoALow+Wzz38zYmRnXwa50=
detect-libc@^1.0.2:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
+ resolved "https://registry.npmjs.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
detect-newline@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
+ resolved "https://registry.npmjs.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
integrity sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=
detect-port-alt@1.1.6:
version "1.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275"
+ resolved "https://registry.npmjs.com/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275"
integrity sha1-JHB96r6TLUo89iEwICfCsmZWgnU=
dependencies:
address "^1.0.1"
@@ -5699,7 +5612,7 @@ detect-port-alt@1.1.6:
detect-port@^1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/detect-port/-/detect-port-1.3.0.tgz#d9c40e9accadd4df5cac6a782aefd014d573d1f1"
+ resolved "https://registry.npmjs.com/detect-port/-/detect-port-1.3.0.tgz#d9c40e9accadd4df5cac6a782aefd014d573d1f1"
integrity sha1-2cQOmsyt1N9crGp4Ku/QFNVz0fE=
dependencies:
address "^1.0.1"
@@ -5707,7 +5620,7 @@ detect-port@^1.3.0:
dezalgo@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456"
+ resolved "https://registry.npmjs.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456"
integrity sha1-f3Qt4Gb8dIvI24IFad3c5Jvw1FY=
dependencies:
asap "^2.0.0"
@@ -5715,17 +5628,17 @@ dezalgo@^1.0.0:
diff-sequences@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5"
+ resolved "https://registry.npmjs.com/diff-sequences/-/diff-sequences-24.9.0.tgz#5715d6244e2aa65f48bba0bc972db0b0b11e95b5"
integrity sha1-VxXWJE4qpl9Iu6C8ly2wsLEelbU=
-diff@3.5.0, diff@^3.5.0:
+diff@^3.5.0:
version "3.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
+ resolved "https://registry.npmjs.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha1-gAwN0eCov7yVg1wgKtIg/jF+WhI=
diffie-hellman@^5.0.0:
version "5.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875"
+ resolved "https://registry.npmjs.com/diffie-hellman/-/diffie-hellman-5.0.3.tgz#40e8ee98f55a2149607146921c63e1ae5f3d2875"
integrity sha1-QOjumPVaIUlgcUaSHGPhrl89KHU=
dependencies:
bn.js "^4.1.0"
@@ -5734,7 +5647,7 @@ diffie-hellman@^5.0.0:
dir-glob@2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034"
+ resolved "https://registry.npmjs.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034"
integrity sha1-CyBdK2rvmCOMooZZioIE0p0KADQ=
dependencies:
arrify "^1.0.1"
@@ -5742,19 +5655,14 @@ dir-glob@2.0.0:
dir-glob@^2.0.0, dir-glob@^2.2.2:
version "2.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4"
+ resolved "https://registry.npmjs.com/dir-glob/-/dir-glob-2.2.2.tgz#fa09f0694153c8918b18ba0deafae94769fc50c4"
integrity sha1-+gnwaUFTyJGLGLoN6vrpR2n8UMQ=
dependencies:
path-type "^3.0.0"
-discontinuous-range@1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/discontinuous-range/-/discontinuous-range-1.0.0.tgz#e38331f0844bba49b9a9cb71c771585aab1bc65a"
- integrity sha1-44Mx8IRLukm5qctxx3FYWqsbxlo=
-
doctrine@1.5.0:
version "1.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
+ resolved "https://registry.npmjs.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
integrity sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=
dependencies:
esutils "^2.0.2"
@@ -5762,85 +5670,77 @@ doctrine@1.5.0:
doctrine@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
+ resolved "https://registry.npmjs.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d"
integrity sha1-XNAfwQFiG0LEzX9dGmYkNxbT850=
dependencies:
esutils "^2.0.2"
doctrine@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961"
+ resolved "https://registry.npmjs.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961"
integrity sha1-rd6+rXKmV023g2OdyHoSF3OXOWE=
dependencies:
esutils "^2.0.2"
dom-converter@^0.2:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
+ resolved "https://registry.npmjs.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768"
integrity sha1-ZyGp2u4uKTaClVtq/kFncWJ7t2g=
dependencies:
utila "~0.4"
dom-helpers@^3.2.1, dom-helpers@^3.3.1, dom-helpers@^3.4.0:
version "3.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8"
+ resolved "https://registry.npmjs.com/dom-helpers/-/dom-helpers-3.4.0.tgz#e9b369700f959f62ecde5a6babde4bccd9169af8"
integrity sha1-6bNpcA+Vn2Ls3lprq95LzNkWmvg=
dependencies:
"@babel/runtime" "^7.1.2"
dom-serializer@0:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dom-serializer/-/dom-serializer-0.2.1.tgz#13650c850daffea35d8b626a4cfc4d3a17643fdb"
+ resolved "https://registry.npmjs.com/dom-serializer/-/dom-serializer-0.2.1.tgz#13650c850daffea35d8b626a4cfc4d3a17643fdb"
integrity sha1-E2UMhQ2v/qNdi2JqTPxNOhdkP9s=
dependencies:
domelementtype "^2.0.1"
entities "^2.0.0"
-dom-serializer@~0.1.1:
- version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dom-serializer/-/dom-serializer-0.1.1.tgz#1ec4059e284babed36eec2941d4a970a189ce7c0"
- integrity sha1-HsQFnihLq+027sKUHUqXChic58A=
- dependencies:
- domelementtype "^1.3.0"
- entities "^1.1.1"
-
dom-walk@^0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
+ resolved "https://registry.npmjs.com/dom-walk/-/dom-walk-0.1.1.tgz#672226dc74c8f799ad35307df936aba11acd6018"
integrity sha1-ZyIm3HTI95mtNTB9+TaroRrNYBg=
domain-browser@^1.1.1:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda"
+ resolved "https://registry.npmjs.com/domain-browser/-/domain-browser-1.2.0.tgz#3d31f50191a6749dd1375a7f522e823d42e54eda"
integrity sha1-PTH1AZGmdJ3RN1p/Ui6CPULlTto=
-domelementtype@1, domelementtype@^1.3.0, domelementtype@^1.3.1:
+domelementtype@1, domelementtype@^1.3.1:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
+ resolved "https://registry.npmjs.com/domelementtype/-/domelementtype-1.3.1.tgz#d048c44b37b0d10a7f2a3d5fee3f4333d790481f"
integrity sha1-0EjESzew0Qp/Kj1f7j9DM9eQSB8=
domelementtype@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d"
+ resolved "https://registry.npmjs.com/domelementtype/-/domelementtype-2.0.1.tgz#1f8bdfe91f5a78063274e803b4bdcedf6e94f94d"
integrity sha1-H4vf6R9aeAYydOgDtL3O326U+U0=
domexception@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90"
+ resolved "https://registry.npmjs.com/domexception/-/domexception-1.0.1.tgz#937442644ca6a31261ef36e3ec677fe805582c90"
integrity sha1-k3RCZEymoxJh7zbj7Gd/6AVYLJA=
dependencies:
webidl-conversions "^4.0.2"
domhandler@^2.3.0:
version "2.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803"
+ resolved "https://registry.npmjs.com/domhandler/-/domhandler-2.4.2.tgz#8805097e933d65e85546f726d60f5eb88b44f803"
integrity sha1-iAUJfpM9ZehVRvcm1g9euItE+AM=
dependencies:
domelementtype "1"
domutils@1.5.1:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf"
+ resolved "https://registry.npmjs.com/domutils/-/domutils-1.5.1.tgz#dcd8488a26f563d61079e48c9f7b7e32373682cf"
integrity sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=
dependencies:
dom-serializer "0"
@@ -5848,7 +5748,7 @@ domutils@1.5.1:
domutils@^1.5.1, domutils@^1.7.0:
version "1.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
+ resolved "https://registry.npmjs.com/domutils/-/domutils-1.7.0.tgz#56ea341e834e06e6748af7a1cb25da67ea9f8c2a"
integrity sha1-Vuo0HoNOBuZ0ivehyyXaZ+qfjCo=
dependencies:
dom-serializer "0"
@@ -5856,69 +5756,69 @@ domutils@^1.5.1, domutils@^1.7.0:
dot-case@^2.1.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dot-case/-/dot-case-2.1.1.tgz#34dcf37f50a8e93c2b3bca8bb7fb9155c7da3bee"
+ resolved "https://registry.npmjs.com/dot-case/-/dot-case-2.1.1.tgz#34dcf37f50a8e93c2b3bca8bb7fb9155c7da3bee"
integrity sha1-NNzzf1Co6TwrO8qLt/uRVcfaO+4=
dependencies:
no-case "^2.2.0"
dot-prop@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dot-prop/-/dot-prop-3.0.0.tgz#1b708af094a49c9a0e7dbcad790aba539dac1177"
+ resolved "https://registry.npmjs.com/dot-prop/-/dot-prop-3.0.0.tgz#1b708af094a49c9a0e7dbcad790aba539dac1177"
integrity sha1-G3CK8JSknJoOfbyteQq6U52sEXc=
dependencies:
is-obj "^1.0.0"
dot-prop@^4.2.0:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57"
+ resolved "https://registry.npmjs.com/dot-prop/-/dot-prop-4.2.0.tgz#1f19e0c2e1aa0e32797c49799f2837ac6af69c57"
integrity sha1-HxngwuGqDjJ5fEl5nyg3rGr2nFc=
dependencies:
is-obj "^1.0.0"
dotenv-defaults@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dotenv-defaults/-/dotenv-defaults-1.0.2.tgz#441cf5f067653fca4bbdce9dd3b803f6f84c585d"
+ resolved "https://registry.npmjs.com/dotenv-defaults/-/dotenv-defaults-1.0.2.tgz#441cf5f067653fca4bbdce9dd3b803f6f84c585d"
integrity sha1-RBz18GdlP8pLvc6d07gD9vhMWF0=
dependencies:
dotenv "^6.2.0"
dotenv-expand@^5.1.0:
version "5.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
+ resolved "https://registry.npmjs.com/dotenv-expand/-/dotenv-expand-5.1.0.tgz#3fbaf020bfd794884072ea26b1e9791d45a629f0"
integrity sha1-P7rwIL/XlIhAcuomsel5HUWmKfA=
dotenv-webpack@^1.7.0:
version "1.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dotenv-webpack/-/dotenv-webpack-1.7.0.tgz#4384d8c57ee6f405c296278c14a9f9167856d3a1"
+ resolved "https://registry.npmjs.com/dotenv-webpack/-/dotenv-webpack-1.7.0.tgz#4384d8c57ee6f405c296278c14a9f9167856d3a1"
integrity sha1-Q4TYxX7m9AXClieMFKn5FnhW06E=
dependencies:
dotenv-defaults "^1.0.2"
dotenv@^6.2.0:
version "6.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064"
+ resolved "https://registry.npmjs.com/dotenv/-/dotenv-6.2.0.tgz#941c0410535d942c8becf28d3f357dbd9d476064"
integrity sha1-lBwEEFNdlCyL7PKNPzV9vZ1HYGQ=
dotenv@^8.0.0:
version "8.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/dotenv/-/dotenv-8.1.0.tgz#d811e178652bfb8a1e593c6dd704ec7e90d85ea2"
+ resolved "https://registry.npmjs.com/dotenv/-/dotenv-8.1.0.tgz#d811e178652bfb8a1e593c6dd704ec7e90d85ea2"
integrity sha1-2BHheGUr+4oeWTxt1wTsfpDYXqI=
duplexer2@0.0.2:
version "0.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db"
+ resolved "https://registry.npmjs.com/duplexer2/-/duplexer2-0.0.2.tgz#c614dcf67e2fb14995a91711e5a617e8a60a31db"
integrity sha1-xhTc9n4vsUmVqRcR5aYX6KYKMds=
dependencies:
readable-stream "~1.1.9"
duplexer@^0.1.1, duplexer@~0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"
+ resolved "https://registry.npmjs.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1"
integrity sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=
duplexify@^3.4.2, duplexify@^3.6.0:
version "3.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309"
+ resolved "https://registry.npmjs.com/duplexify/-/duplexify-3.7.1.tgz#2a4df5317f6ccfd91f86d6fd25d8d8a103b88309"
integrity sha1-Kk31MX9sz9kfhtb9JdjYoQO4gwk=
dependencies:
end-of-stream "^1.0.0"
@@ -5928,7 +5828,7 @@ duplexify@^3.4.2, duplexify@^3.6.0:
ecc-jsbn@~0.1.1:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"
+ resolved "https://registry.npmjs.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9"
integrity sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=
dependencies:
jsbn "~0.1.0"
@@ -5936,29 +5836,29 @@ ecc-jsbn@~0.1.1:
ee-first@1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
+ resolved "https://registry.npmjs.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=
ejs@^2.6.1:
version "2.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ejs/-/ejs-2.7.1.tgz#5b5ab57f718b79d4aca9254457afecd36fa80228"
+ resolved "https://registry.npmjs.com/ejs/-/ejs-2.7.1.tgz#5b5ab57f718b79d4aca9254457afecd36fa80228"
integrity sha1-W1q1f3GLedSsqSVEV6/s02+oAig=
electron-to-chromium@^1.3.191, electron-to-chromium@^1.3.247:
version "1.3.252"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/electron-to-chromium/-/electron-to-chromium-1.3.252.tgz#5b6261965b564a0f4df0f1c86246487897017f52"
+ resolved "https://registry.npmjs.com/electron-to-chromium/-/electron-to-chromium-1.3.252.tgz#5b6261965b564a0f4df0f1c86246487897017f52"
integrity sha1-W2JhlltWSg9N8PHIYkZIeJcBf1I=
element-resize-detector@^1.1.15:
version "1.1.15"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/element-resize-detector/-/element-resize-detector-1.1.15.tgz#48eba1a2eaa26969a4c998d972171128c971d8d2"
+ resolved "https://registry.npmjs.com/element-resize-detector/-/element-resize-detector-1.1.15.tgz#48eba1a2eaa26969a4c998d972171128c971d8d2"
integrity sha1-SOuhouqiaWmkyZjZchcRKMlx2NI=
dependencies:
batch-processor "^1.0.0"
elliptic@^6.0.0:
version "6.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b"
+ resolved "https://registry.npmjs.com/elliptic/-/elliptic-6.5.1.tgz#c380f5f909bf1b9b4428d028cd18d3b0efd6b52b"
integrity sha1-w4D1+Qm/G5tEKNAozRjTsO/WtSs=
dependencies:
bn.js "^4.4.0"
@@ -5969,24 +5869,19 @@ elliptic@^6.0.0:
minimalistic-assert "^1.0.0"
minimalistic-crypto-utils "^1.0.0"
-email-addresses@^3.0.1:
- version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/email-addresses/-/email-addresses-3.0.3.tgz#fc3c6952f68da24239914e982c8a7783bc2ed96d"
- integrity sha1-/DxpUvaNokI5kU6YLIp3g7wu2W0=
-
emoji-regex@^7.0.1, emoji-regex@^7.0.2:
version "7.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
+ resolved "https://registry.npmjs.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156"
integrity sha1-kzoEBShgyF6DwSJHnEdIqOTHIVY=
emojis-list@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
+ resolved "https://registry.npmjs.com/emojis-list/-/emojis-list-2.1.0.tgz#4daa4d9db00f9819880c79fa457ae5b09a1fd389"
integrity sha1-TapNnbAPmBmIDHn6RXrlsJof04k=
emotion-theming@^10.0.10, emotion-theming@^10.0.9:
version "10.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/emotion-theming/-/emotion-theming-10.0.17.tgz#dc1fe33c24dc7377633535dff4885cfa4d6ad48b"
+ resolved "https://registry.npmjs.com/emotion-theming/-/emotion-theming-10.0.17.tgz#dc1fe33c24dc7377633535dff4885cfa4d6ad48b"
integrity sha1-3B/jPCTcc3djNTXf9Ihc+k1q1Is=
dependencies:
"@babel/runtime" "^7.5.5"
@@ -5995,7 +5890,7 @@ emotion-theming@^10.0.10, emotion-theming@^10.0.9:
emotion@^9.1.2:
version "9.2.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/emotion/-/emotion-9.2.12.tgz#53925aaa005614e65c6e43db8243c843574d1ea9"
+ resolved "https://registry.npmjs.com/emotion/-/emotion-9.2.12.tgz#53925aaa005614e65c6e43db8243c843574d1ea9"
integrity sha1-U5JaqgBWFOZcbkPbgkPIQ1dNHqk=
dependencies:
babel-plugin-emotion "^9.2.11"
@@ -6003,52 +5898,52 @@ emotion@^9.1.2:
encodeurl@~1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
+ resolved "https://registry.npmjs.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=
encoding@^0.1.11:
version "0.1.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
+ resolved "https://registry.npmjs.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb"
integrity sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=
dependencies:
iconv-lite "~0.4.13"
end-of-stream@^1.0.0, end-of-stream@^1.1.0:
version "1.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
+ resolved "https://registry.npmjs.com/end-of-stream/-/end-of-stream-1.4.1.tgz#ed29634d19baba463b6ce6b80a37213eab71ec43"
integrity sha1-7SljTRm6ukY7bOa4CjchPqtx7EM=
dependencies:
once "^1.4.0"
end-of-stream@~0.1.5:
version "0.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/end-of-stream/-/end-of-stream-0.1.5.tgz#8e177206c3c80837d85632e8b9359dfe8b2f6eaf"
+ resolved "https://registry.npmjs.com/end-of-stream/-/end-of-stream-0.1.5.tgz#8e177206c3c80837d85632e8b9359dfe8b2f6eaf"
integrity sha1-jhdyBsPICDfYVjLouTWd/osvbq8=
dependencies:
once "~1.3.0"
enhanced-resolve@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz#41c7e0bfdfe74ac1ffe1e57ad6a5c6c9f3742a7f"
+ resolved "https://registry.npmjs.com/enhanced-resolve/-/enhanced-resolve-4.1.0.tgz#41c7e0bfdfe74ac1ffe1e57ad6a5c6c9f3742a7f"
integrity sha1-Qcfgv9/nSsH/4eV61qXGyfN0Kn8=
dependencies:
graceful-fs "^4.1.2"
memory-fs "^0.4.0"
tapable "^1.0.0"
-entities@^1.1.1, entities@~1.1.1:
+entities@^1.1.1:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
+ resolved "https://registry.npmjs.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
integrity sha1-vfpzUplmTfr9NFKe1PhSKidf6lY=
entities@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"
+ resolved "https://registry.npmjs.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"
integrity sha1-aNYITKsbB5dnVA2A5Wo5tCPkq/Q=
env-ci@^2.1.0:
version "2.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/env-ci/-/env-ci-2.6.0.tgz#3fc46537c972b4d3ab5f0b82d07dfc1491297662"
+ resolved "https://registry.npmjs.com/env-ci/-/env-ci-2.6.0.tgz#3fc46537c972b4d3ab5f0b82d07dfc1491297662"
integrity sha1-P8RlN8lytNOrXwuC0H38FJEpdmI=
dependencies:
execa "^1.0.0"
@@ -6056,97 +5951,31 @@ env-ci@^2.1.0:
env-paths@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/env-paths/-/env-paths-1.0.0.tgz#4168133b42bb05c38a35b1ae4397c8298ab369e0"
+ resolved "https://registry.npmjs.com/env-paths/-/env-paths-1.0.0.tgz#4168133b42bb05c38a35b1ae4397c8298ab369e0"
integrity sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA=
-enzyme-adapter-react-16@^1.12.1:
- version "1.14.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/enzyme-adapter-react-16/-/enzyme-adapter-react-16-1.14.0.tgz#204722b769172bcf096cb250d33e6795c1f1858f"
- integrity sha1-IEcit2kXK88JbLJQ0z5nlcHxhY8=
- dependencies:
- enzyme-adapter-utils "^1.12.0"
- has "^1.0.3"
- object.assign "^4.1.0"
- object.values "^1.1.0"
- prop-types "^15.7.2"
- react-is "^16.8.6"
- react-test-renderer "^16.0.0-0"
- semver "^5.7.0"
-
-enzyme-adapter-react-helper@^1.3.3:
- version "1.3.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/enzyme-adapter-react-helper/-/enzyme-adapter-react-helper-1.3.6.tgz#534a723e3bce23093862d16525883274cf34f6de"
- integrity sha1-U0pyPjvOIwk4YtFlJYgydM809t4=
- dependencies:
- airbnb-js-shims "^2.2.0"
- install-peerdeps "^1.10.2"
- npm-run "^5.0.1"
- object.assign "^4.1.0"
- object.getownpropertydescriptors "^2.0.3"
- rimraf "^2.6.3"
- semver "^5.7.0"
-
-enzyme-adapter-utils@^1.12.0:
- version "1.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/enzyme-adapter-utils/-/enzyme-adapter-utils-1.12.0.tgz#96e3730d76b872f593e54ce1c51fa3a451422d93"
- integrity sha1-luNzDXa4cvWT5UzhxR+jpFFCLZM=
- dependencies:
- airbnb-prop-types "^2.13.2"
- function.prototype.name "^1.1.0"
- object.assign "^4.1.0"
- object.fromentries "^2.0.0"
- prop-types "^15.7.2"
- semver "^5.6.0"
-
-enzyme@^3.9.0:
- version "3.10.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/enzyme/-/enzyme-3.10.0.tgz#7218e347c4a7746e133f8e964aada4a3523452f6"
- integrity sha1-chjjR8SndG4TP46WSq2ko1I0UvY=
- dependencies:
- array.prototype.flat "^1.2.1"
- cheerio "^1.0.0-rc.2"
- function.prototype.name "^1.1.0"
- has "^1.0.3"
- html-element-map "^1.0.0"
- is-boolean-object "^1.0.0"
- is-callable "^1.1.4"
- is-number-object "^1.0.3"
- is-regex "^1.0.4"
- is-string "^1.0.4"
- is-subset "^0.1.1"
- lodash.escape "^4.0.1"
- lodash.isequal "^4.5.0"
- object-inspect "^1.6.0"
- object-is "^1.0.1"
- object.assign "^4.1.0"
- object.entries "^1.0.4"
- object.values "^1.0.4"
- raf "^3.4.0"
- rst-selector-parser "^2.2.3"
- string.prototype.trim "^1.1.2"
-
err-code@^1.0.0:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960"
+ resolved "https://registry.npmjs.com/err-code/-/err-code-1.1.2.tgz#06e0116d3028f6aef4806849eb0ea6a748ae6960"
integrity sha1-BuARbTAo9q70gGhJ6w6mp0iuaWA=
errno@^0.1.3, errno@~0.1.7:
version "0.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618"
+ resolved "https://registry.npmjs.com/errno/-/errno-0.1.7.tgz#4684d71779ad39af177e3f007996f7c67c852618"
integrity sha1-RoTXF3mtOa8Xfj8AeZb3xnyFJhg=
dependencies:
prr "~1.0.1"
error-ex@^1.2.0, error-ex@^1.3.1:
version "1.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
+ resolved "https://registry.npmjs.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf"
integrity sha1-tKxAZIEH/c3PriQvQovqihTU8b8=
dependencies:
is-arrayish "^0.2.1"
es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.13.0, es-abstract@^1.4.3, es-abstract@^1.5.1, es-abstract@^1.7.0:
version "1.14.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es-abstract/-/es-abstract-1.14.1.tgz#6e8d84b445ec9c610781e74a6d52cc31aac5b4ca"
+ resolved "https://registry.npmjs.com/es-abstract/-/es-abstract-1.14.1.tgz#6e8d84b445ec9c610781e74a6d52cc31aac5b4ca"
integrity sha1-bo2EtEXsnGEHgedKbVLMMarFtMo=
dependencies:
es-to-primitive "^1.2.0"
@@ -6162,16 +5991,16 @@ es-abstract@^1.10.0, es-abstract@^1.11.0, es-abstract@^1.12.0, es-abstract@^1.13
es-to-primitive@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377"
+ resolved "https://registry.npmjs.com/es-to-primitive/-/es-to-primitive-1.2.0.tgz#edf72478033456e8dda8ef09e00ad9650707f377"
integrity sha1-7fckeAM0VujdqO8J4ArZZQcH83c=
dependencies:
is-callable "^1.1.4"
is-date-object "^1.0.1"
is-symbol "^1.0.2"
-es5-ext@^0.10.35, es5-ext@^0.10.45, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.51, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46:
+es5-ext@^0.10.35, es5-ext@^0.10.50, es5-ext@^0.10.51:
version "0.10.51"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es5-ext/-/es5-ext-0.10.51.tgz#ed2d7d9d48a12df86e0299287e93a09ff478842f"
+ resolved "https://registry.npmjs.com/es5-ext/-/es5-ext-0.10.51.tgz#ed2d7d9d48a12df86e0299287e93a09ff478842f"
integrity sha1-7S19nUihLfhuApkofpOgn/R4hC8=
dependencies:
es6-iterator "~2.0.3"
@@ -6180,12 +6009,12 @@ es5-ext@^0.10.35, es5-ext@^0.10.45, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@
es5-shim@^4.5.13:
version "4.5.13"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es5-shim/-/es5-shim-4.5.13.tgz#5d88062de049f8969f83783f4a4884395f21d28b"
+ resolved "https://registry.npmjs.com/es5-shim/-/es5-shim-4.5.13.tgz#5d88062de049f8969f83783f4a4884395f21d28b"
integrity sha1-XYgGLeBJ+Jafg3g/SkiEOV8h0os=
-es6-iterator@^2.0.3, es6-iterator@~2.0.3:
+es6-iterator@~2.0.3:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
+ resolved "https://registry.npmjs.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c=
dependencies:
d "1"
@@ -6194,52 +6023,42 @@ es6-iterator@^2.0.3, es6-iterator@~2.0.3:
es6-promise@^4.0.3:
version "4.2.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
+ resolved "https://registry.npmjs.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a"
integrity sha1-TrIVlMlyvEBVPSduUQU5FD21Pgo=
es6-promisify@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203"
+ resolved "https://registry.npmjs.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203"
integrity sha1-UQnWLz5W6pZ8S2NQWu8IKRyKUgM=
dependencies:
es6-promise "^4.0.3"
es6-shim@^0.35.5:
version "0.35.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es6-shim/-/es6-shim-0.35.5.tgz#46f59dc0a84a1c5029e8ff1166ca0a902077a9ab"
+ resolved "https://registry.npmjs.com/es6-shim/-/es6-shim-0.35.5.tgz#46f59dc0a84a1c5029e8ff1166ca0a902077a9ab"
integrity sha1-RvWdwKhKHFAp6P8RZsoKkCB3qas=
es6-symbol@^3.1.0, es6-symbol@^3.1.1, es6-symbol@~3.1.1:
version "3.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es6-symbol/-/es6-symbol-3.1.2.tgz#859fdd34f32e905ff06d752e7171ddd4444a7ed1"
+ resolved "https://registry.npmjs.com/es6-symbol/-/es6-symbol-3.1.2.tgz#859fdd34f32e905ff06d752e7171ddd4444a7ed1"
integrity sha1-hZ/dNPMukF/wbXUucXHd1ERKftE=
dependencies:
d "^1.0.1"
es5-ext "^0.10.51"
-es6-weak-map@^2.0.2:
- version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53"
- integrity sha1-ttofFswswNm+Q+a9v8Xn383zHVM=
- dependencies:
- d "1"
- es5-ext "^0.10.46"
- es6-iterator "^2.0.3"
- es6-symbol "^3.1.1"
-
escape-html@^1.0.3, escape-html@~1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
+ resolved "https://registry.npmjs.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=
escape-string-regexp@1.0.5, escape-string-regexp@^1.0.0, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
+ resolved "https://registry.npmjs.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
escodegen@^1.6.1, escodegen@^1.9.1:
version "1.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/escodegen/-/escodegen-1.12.0.tgz#f763daf840af172bb3a2b6dd7219c0e17f7ff541"
+ resolved "https://registry.npmjs.com/escodegen/-/escodegen-1.12.0.tgz#f763daf840af172bb3a2b6dd7219c0e17f7ff541"
integrity sha1-92Pa+ECvFyuzorbdchnA4X9/9UE=
dependencies:
esprima "^3.1.3"
@@ -6251,7 +6070,7 @@ escodegen@^1.6.1, escodegen@^1.9.1:
eslint-import-resolver-node@^0.3.2:
version "0.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a"
+ resolved "https://registry.npmjs.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.2.tgz#58f15fb839b8d0576ca980413476aab2472db66a"
integrity sha1-WPFfuDm40FdsqYBBNHaqskcttmo=
dependencies:
debug "^2.6.9"
@@ -6259,7 +6078,7 @@ eslint-import-resolver-node@^0.3.2:
eslint-module-utils@^2.1.1, eslint-module-utils@^2.4.0:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c"
+ resolved "https://registry.npmjs.com/eslint-module-utils/-/eslint-module-utils-2.4.1.tgz#7b4675875bf96b0dbf1b21977456e5bb1f5e018c"
integrity sha1-e0Z1h1v5aw2/GyGXdFblux9eAYw=
dependencies:
debug "^2.6.8"
@@ -6267,7 +6086,7 @@ eslint-module-utils@^2.1.1, eslint-module-utils@^2.4.0:
eslint-plugin-import@^2.18.2:
version "2.18.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6"
+ resolved "https://registry.npmjs.com/eslint-plugin-import/-/eslint-plugin-import-2.18.2.tgz#02f1180b90b077b33d447a17a2326ceb400aceb6"
integrity sha1-AvEYC5Cwd7M9RHoXojJs60AKzrY=
dependencies:
array-includes "^3.0.3"
@@ -6284,14 +6103,14 @@ eslint-plugin-import@^2.18.2:
eslint-plugin-jest@^22.5.1:
version "22.17.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-jest/-/eslint-plugin-jest-22.17.0.tgz#dc170ec8369cd1bff9c5dd8589344e3f73c88cf6"
+ resolved "https://registry.npmjs.com/eslint-plugin-jest/-/eslint-plugin-jest-22.17.0.tgz#dc170ec8369cd1bff9c5dd8589344e3f73c88cf6"
integrity sha1-3BcOyDac0b/5xd2FiTROP3PIjPY=
dependencies:
"@typescript-eslint/experimental-utils" "^1.13.0"
eslint-plugin-jsx-a11y@^6.2.1:
version "6.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa"
+ resolved "https://registry.npmjs.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa"
integrity sha1-uHKgnV3lGvcKl9se6n3JMwQ3CKo=
dependencies:
"@babel/runtime" "^7.4.5"
@@ -6306,7 +6125,7 @@ eslint-plugin-jsx-a11y@^6.2.1:
eslint-plugin-monorepo@^0.2.1:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-monorepo/-/eslint-plugin-monorepo-0.2.1.tgz#96cfc4af241077675f40d7017377897fb8ea537b"
+ resolved "https://registry.npmjs.com/eslint-plugin-monorepo/-/eslint-plugin-monorepo-0.2.1.tgz#96cfc4af241077675f40d7017377897fb8ea537b"
integrity sha1-ls/EryQQd2dfQNcBc3eJf7jqU3s=
dependencies:
eslint-module-utils "^2.1.1"
@@ -6319,12 +6138,12 @@ eslint-plugin-monorepo@^0.2.1:
eslint-plugin-react-hooks@^1.6.0:
version "1.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz#6210b6d5a37205f0b92858f895a4e827020a7d04"
+ resolved "https://registry.npmjs.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz#6210b6d5a37205f0b92858f895a4e827020a7d04"
integrity sha1-YhC21aNyBfC5KFj4laToJwIKfQQ=
eslint-plugin-react@^7.12.4:
version "7.14.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz#911030dd7e98ba49e1b2208599571846a66bdf13"
+ resolved "https://registry.npmjs.com/eslint-plugin-react/-/eslint-plugin-react-7.14.3.tgz#911030dd7e98ba49e1b2208599571846a66bdf13"
integrity sha1-kRAw3X6YuknhsiCFmVcYRqZr3xM=
dependencies:
array-includes "^3.0.3"
@@ -6339,12 +6158,12 @@ eslint-plugin-react@^7.12.4:
eslint-plugin-rulesdir@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-plugin-rulesdir/-/eslint-plugin-rulesdir-0.1.0.tgz#ad144d7e98464fda82963eff3fab331aecb2bf08"
+ resolved "https://registry.npmjs.com/eslint-plugin-rulesdir/-/eslint-plugin-rulesdir-0.1.0.tgz#ad144d7e98464fda82963eff3fab331aecb2bf08"
integrity sha1-rRRNfphGT9qClj7/P6szGuyyvwg=
eslint-scope@^4.0.0, eslint-scope@^4.0.3:
version "4.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848"
+ resolved "https://registry.npmjs.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848"
integrity sha1-ygODMxD2iJoyZHgaqC5j65z+eEg=
dependencies:
esrecurse "^4.1.0"
@@ -6352,19 +6171,19 @@ eslint-scope@^4.0.0, eslint-scope@^4.0.3:
eslint-utils@^1.3.1:
version "1.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab"
+ resolved "https://registry.npmjs.com/eslint-utils/-/eslint-utils-1.4.2.tgz#166a5180ef6ab7eb462f162fd0e6f2463d7309ab"
integrity sha1-FmpRgO9qt+tGLxYv0ObyRj1zCas=
dependencies:
eslint-visitor-keys "^1.0.0"
eslint-visitor-keys@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
+ resolved "https://registry.npmjs.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"
integrity sha1-4qgs6oT/JGrW+1f5veW0ZiFFnsI=
eslint@^5.0.0:
version "5.16.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
+ resolved "https://registry.npmjs.com/eslint/-/eslint-5.16.0.tgz#a1e3ac1aae4a3fbd8296fcf8f7ab7314cbb6abea"
integrity sha1-oeOsGq5KP72Clvz496tzFMu2q+o=
dependencies:
"@babel/code-frame" "^7.0.0"
@@ -6406,7 +6225,7 @@ eslint@^5.0.0:
espree@^5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a"
+ resolved "https://registry.npmjs.com/espree/-/espree-5.0.1.tgz#5d6526fa4fc7f0788a5cf75b15f30323e2f81f7a"
integrity sha1-XWUm+k/H8HiKXPdbFfMDI+L4H3o=
dependencies:
acorn "^6.0.7"
@@ -6415,54 +6234,46 @@ espree@^5.0.1:
esprima@^3.1.3:
version "3.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
+ resolved "https://registry.npmjs.com/esprima/-/esprima-3.1.3.tgz#fdca51cee6133895e3c88d535ce49dbff62a4633"
integrity sha1-/cpRzuYTOJXjyI1TXOSdv/YqRjM=
esprima@^4.0.0, esprima@~4.0.0:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
+ resolved "https://registry.npmjs.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"
integrity sha1-E7BM2z5sXRnfkatph6hpVhmwqnE=
esquery@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708"
+ resolved "https://registry.npmjs.com/esquery/-/esquery-1.0.1.tgz#406c51658b1f5991a5f9b62b1dc25b00e3e5c708"
integrity sha1-QGxRZYsfWZGl+bYrHcJbAOPlxwg=
dependencies:
estraverse "^4.0.0"
esrecurse@^4.1.0:
version "4.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf"
+ resolved "https://registry.npmjs.com/esrecurse/-/esrecurse-4.2.1.tgz#007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf"
integrity sha1-AHo7n9vCs7uH5IeeoZyS/b05Qs8=
dependencies:
estraverse "^4.1.0"
estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0:
version "4.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
+ resolved "https://registry.npmjs.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d"
integrity sha1-OYrT88WiSUi+dyXoPRGn3ijNvR0=
esutils@^2.0.0, esutils@^2.0.2:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
+ resolved "https://registry.npmjs.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64"
integrity sha1-dNLrTeC42hKTcRkQ1Qd1ubcQ72Q=
etag@~1.8.1:
version "1.8.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
+ resolved "https://registry.npmjs.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887"
integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=
-event-emitter@^0.3.5:
- version "0.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39"
- integrity sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk=
- dependencies:
- d "1"
- es5-ext "~0.10.14"
-
event-stream@3.x:
version "3.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/event-stream/-/event-stream-3.3.5.tgz#e5dd8989543630d94c6cf4d657120341fa31636b"
+ resolved "https://registry.npmjs.com/event-stream/-/event-stream-3.3.5.tgz#e5dd8989543630d94c6cf4d657120341fa31636b"
integrity sha1-5d2JiVQ2MNlMbPTWVxIDQfoxY2s=
dependencies:
duplexer "^0.1.1"
@@ -6475,24 +6286,24 @@ event-stream@3.x:
eventemitter3@^3.1.0:
version "3.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
+ resolved "https://registry.npmjs.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7"
integrity sha1-LT1I+cNGaY/Og6hdfWZOmFNd9uc=
events@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
+ resolved "https://registry.npmjs.com/events/-/events-3.0.0.tgz#9a0a0dfaf62893d92b875b8f2698ca4114973e88"
integrity sha1-mgoN+vYok9krh1uPJpjKQRSXPog=
eventsource@^1.0.7:
version "1.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/eventsource/-/eventsource-1.0.7.tgz#8fbc72c93fcd34088090bc0a4e64f4b5cee6d8d0"
+ resolved "https://registry.npmjs.com/eventsource/-/eventsource-1.0.7.tgz#8fbc72c93fcd34088090bc0a4e64f4b5cee6d8d0"
integrity sha1-j7xyyT/NNAiAkLwKTmT0tc7m2NA=
dependencies:
original "^1.0.0"
evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02"
+ resolved "https://registry.npmjs.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02"
integrity sha1-f8vbGY3HGVlDLv4ThCaE4FJaywI=
dependencies:
md5.js "^1.3.4"
@@ -6500,12 +6311,12 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3:
exec-sh@^0.3.2:
version "0.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b"
+ resolved "https://registry.npmjs.com/exec-sh/-/exec-sh-0.3.2.tgz#6738de2eb7c8e671d0366aea0b0db8c6f7d7391b"
integrity sha1-ZzjeLrfI5nHQNmrqCw24xvfXORs=
execa@^0.7.0:
version "0.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
+ resolved "https://registry.npmjs.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777"
integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c=
dependencies:
cross-spawn "^5.0.1"
@@ -6518,7 +6329,7 @@ execa@^0.7.0:
execa@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
+ resolved "https://registry.npmjs.com/execa/-/execa-1.0.0.tgz#c6236a5bb4df6d6f15e88e7f017798216749ddd8"
integrity sha1-xiNqW7TfbW8V6I5/AXeYIWdJ3dg=
dependencies:
cross-spawn "^6.0.0"
@@ -6531,19 +6342,19 @@ execa@^1.0.0:
exit@^0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
+ resolved "https://registry.npmjs.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c"
integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=
expand-brackets@^0.1.4:
version "0.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b"
+ resolved "https://registry.npmjs.com/expand-brackets/-/expand-brackets-0.1.5.tgz#df07284e342a807cd733ac5af72411e581d1177b"
integrity sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=
dependencies:
is-posix-bracket "^0.1.0"
expand-brackets@^2.1.4:
version "2.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
+ resolved "https://registry.npmjs.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622"
integrity sha1-t3c14xXOMPa27/D4OwQVGiJEliI=
dependencies:
debug "^2.3.3"
@@ -6556,21 +6367,21 @@ expand-brackets@^2.1.4:
expand-range@^1.8.1:
version "1.8.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337"
+ resolved "https://registry.npmjs.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337"
integrity sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=
dependencies:
fill-range "^2.1.0"
expand-tilde@^2.0.0, expand-tilde@^2.0.2:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502"
+ resolved "https://registry.npmjs.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502"
integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=
dependencies:
homedir-polyfill "^1.0.1"
expect@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca"
+ resolved "https://registry.npmjs.com/expect/-/expect-24.9.0.tgz#b75165b4817074fa4a157794f46fe9f1ba15b6ca"
integrity sha1-t1FltIFwdPpKFXeU9G/p8boVtso=
dependencies:
"@jest/types" "^24.9.0"
@@ -6582,7 +6393,7 @@ expect@^24.9.0:
express@^4.17.0:
version "4.17.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
+ resolved "https://registry.npmjs.com/express/-/express-4.17.1.tgz#4491fc38605cf51f8629d39c2b5d026f98a4c134"
integrity sha1-RJH8OGBc9R+GKdOcK10Cb5ikwTQ=
dependencies:
accepts "~1.3.7"
@@ -6618,14 +6429,14 @@ express@^4.17.0:
extend-shallow@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
+ resolved "https://registry.npmjs.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f"
integrity sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=
dependencies:
is-extendable "^0.1.0"
extend-shallow@^3.0.0, extend-shallow@^3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8"
+ resolved "https://registry.npmjs.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8"
integrity sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=
dependencies:
assign-symbols "^1.0.0"
@@ -6633,12 +6444,12 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2:
extend@^3.0.0, extend@~3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
+ resolved "https://registry.npmjs.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa"
integrity sha1-+LETa0Bx+9jrFAr/hYsQGewpFfo=
external-editor@^3.0.3:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495"
+ resolved "https://registry.npmjs.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495"
integrity sha1-ywP3QL764D6k0oPK7SdBqD8zVJU=
dependencies:
chardet "^0.7.0"
@@ -6647,14 +6458,14 @@ external-editor@^3.0.3:
extglob@^0.3.1:
version "0.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1"
+ resolved "https://registry.npmjs.com/extglob/-/extglob-0.3.2.tgz#2e18ff3d2f49ab2765cec9023f011daa8d8349a1"
integrity sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=
dependencies:
is-extglob "^1.0.0"
extglob@^2.0.4:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543"
+ resolved "https://registry.npmjs.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543"
integrity sha1-rQD+TcYSqSMuhxhxHcXLWrAoVUM=
dependencies:
array-unique "^0.3.2"
@@ -6668,22 +6479,22 @@ extglob@^2.0.4:
extsprintf@1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
+ resolved "https://registry.npmjs.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05"
integrity sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=
extsprintf@^1.2.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
+ resolved "https://registry.npmjs.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
fake-tag@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fake-tag/-/fake-tag-1.0.0.tgz#cdf7b4554e780fb16702794d2bfc4a109d873134"
+ resolved "https://registry.npmjs.com/fake-tag/-/fake-tag-1.0.0.tgz#cdf7b4554e780fb16702794d2bfc4a109d873134"
integrity sha1-zfe0VU54D7FnAnlNK/xKEJ2HMTQ=
fancy-log@^1.1.0:
version "1.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7"
+ resolved "https://registry.npmjs.com/fancy-log/-/fancy-log-1.3.3.tgz#dbc19154f558690150a23953a0adbd035be45fc7"
integrity sha1-28GRVPVYaQFQojlToK29A1vkX8c=
dependencies:
ansi-gray "^0.1.1"
@@ -6693,12 +6504,12 @@ fancy-log@^1.1.0:
fast-deep-equal@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
+ resolved "https://registry.npmjs.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49"
integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=
fast-glob@^2.0.2, fast-glob@^2.2.6:
version "2.2.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d"
+ resolved "https://registry.npmjs.com/fast-glob/-/fast-glob-2.2.7.tgz#6953857c3afa475fff92ee6015d52da70a4cd39d"
integrity sha1-aVOFfDr6R1//ku5gFdUtpwpM050=
dependencies:
"@mrmlnc/readdir-enhanced" "^2.2.1"
@@ -6710,48 +6521,48 @@ fast-glob@^2.0.2, fast-glob@^2.2.6:
fast-json-parse@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fast-json-parse/-/fast-json-parse-1.0.3.tgz#43e5c61ee4efa9265633046b770fb682a7577c4d"
+ resolved "https://registry.npmjs.com/fast-json-parse/-/fast-json-parse-1.0.3.tgz#43e5c61ee4efa9265633046b770fb682a7577c4d"
integrity sha1-Q+XGHuTvqSZWMwRrdw+2gqdXfE0=
fast-json-stable-stringify@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
+ resolved "https://registry.npmjs.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2"
integrity sha1-1RQsDK7msRifh9OnYREGT4bIu/I=
fast-levenshtein@~2.0.4:
version "2.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
+ resolved "https://registry.npmjs.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
fast-safe-stringify@^1.0.8, fast-safe-stringify@^1.2.1:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fast-safe-stringify/-/fast-safe-stringify-1.2.3.tgz#9fe22c37fb2f7f86f06b8f004377dbf8f1ee7bc1"
+ resolved "https://registry.npmjs.com/fast-safe-stringify/-/fast-safe-stringify-1.2.3.tgz#9fe22c37fb2f7f86f06b8f004377dbf8f1ee7bc1"
integrity sha1-n+IsN/svf4bwa48AQ3fb+PHue8E=
fault@^1.0.2:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fault/-/fault-1.0.3.tgz#4da88cf979b6b792b4e13c7ec836767725170b7e"
+ resolved "https://registry.npmjs.com/fault/-/fault-1.0.3.tgz#4da88cf979b6b792b4e13c7ec836767725170b7e"
integrity sha1-TaiM+Xm2t5K04Tx+yDZ2dyUXC34=
dependencies:
format "^0.2.2"
faye-websocket@~0.11.1:
version "0.11.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/faye-websocket/-/faye-websocket-0.11.3.tgz#5c0e9a8968e8912c286639fde977a8b209f2508e"
+ resolved "https://registry.npmjs.com/faye-websocket/-/faye-websocket-0.11.3.tgz#5c0e9a8968e8912c286639fde977a8b209f2508e"
integrity sha1-XA6aiWjokSwoZjn96XeosgnyUI4=
dependencies:
websocket-driver ">=0.5.1"
fb-watchman@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58"
+ resolved "https://registry.npmjs.com/fb-watchman/-/fb-watchman-2.0.0.tgz#54e9abf7dfa2f26cd9b1636c588c1afc05de5d58"
integrity sha1-VOmr99+i8mzZsWNsWIwa/AXeXVg=
dependencies:
bser "^2.0.0"
fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.4:
version "0.8.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
+ resolved "https://registry.npmjs.com/fbjs/-/fbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=
dependencies:
core-js "^1.0.0"
@@ -6764,33 +6575,33 @@ fbjs@^0.8.0, fbjs@^0.8.1, fbjs@^0.8.4:
figgy-pudding@^3.4.1, figgy-pudding@^3.5.1:
version "3.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790"
+ resolved "https://registry.npmjs.com/figgy-pudding/-/figgy-pudding-3.5.1.tgz#862470112901c727a0e495a80744bd5baa1d6790"
integrity sha1-hiRwESkBxyeg5JWoB0S9W6odZ5A=
figures@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
+ resolved "https://registry.npmjs.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=
dependencies:
escape-string-regexp "^1.0.5"
file-entry-cache@^5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c"
+ resolved "https://registry.npmjs.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c"
integrity sha1-yg9u+m3T1WEzP7FFFQZcL6/fQ5w=
dependencies:
flat-cache "^2.0.1"
file-loader@^0.9.0:
version "0.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/file-loader/-/file-loader-0.9.0.tgz#1d2daddd424ce6d1b07cfe3f79731bed3617ab42"
+ resolved "https://registry.npmjs.com/file-loader/-/file-loader-0.9.0.tgz#1d2daddd424ce6d1b07cfe3f79731bed3617ab42"
integrity sha1-HS2t3UJM5tGwfP4/eXMb7TYXq0I=
dependencies:
loader-utils "~0.2.5"
file-loader@^3.0.1:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/file-loader/-/file-loader-3.0.1.tgz#f8e0ba0b599918b51adfe45d66d1e771ad560faa"
+ resolved "https://registry.npmjs.com/file-loader/-/file-loader-3.0.1.tgz#f8e0ba0b599918b51adfe45d66d1e771ad560faa"
integrity sha1-+OC6C1mZGLUa3+RdZtHnca1WD6o=
dependencies:
loader-utils "^1.0.2"
@@ -6798,7 +6609,7 @@ file-loader@^3.0.1:
file-system-cache@^1.0.5:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/file-system-cache/-/file-system-cache-1.0.5.tgz#84259b36a2bbb8d3d6eb1021d3132ffe64cfff4f"
+ resolved "https://registry.npmjs.com/file-system-cache/-/file-system-cache-1.0.5.tgz#84259b36a2bbb8d3d6eb1021d3132ffe64cfff4f"
integrity sha1-hCWbNqK7uNPW6xAh0xMv/mTP/08=
dependencies:
bluebird "^3.3.5"
@@ -6807,39 +6618,17 @@ file-system-cache@^1.0.5:
filename-regex@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
+ resolved "https://registry.npmjs.com/filename-regex/-/filename-regex-2.0.1.tgz#c1c4b9bee3e09725ddb106b75c1e301fe2f18b26"
integrity sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=
-filename-reserved-regex@^1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/filename-reserved-regex/-/filename-reserved-regex-1.0.0.tgz#e61cf805f0de1c984567d0386dc5df50ee5af7e4"
- integrity sha1-5hz4BfDeHJhFZ9A4bcXfUO5a9+Q=
-
-filenamify-url@^1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/filenamify-url/-/filenamify-url-1.0.0.tgz#b32bd81319ef5863b73078bed50f46a4f7975f50"
- integrity sha1-syvYExnvWGO3MHi+1Q9GpPeXX1A=
- dependencies:
- filenamify "^1.0.0"
- humanize-url "^1.0.0"
-
-filenamify@^1.0.0:
- version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/filenamify/-/filenamify-1.2.1.tgz#a9f2ffd11c503bed300015029272378f1f1365a5"
- integrity sha1-qfL/0RxQO+0wABUCknI3jx8TZaU=
- dependencies:
- filename-reserved-regex "^1.0.0"
- strip-outer "^1.0.0"
- trim-repeated "^1.0.0"
-
filesize@3.6.1:
version "3.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317"
+ resolved "https://registry.npmjs.com/filesize/-/filesize-3.6.1.tgz#090bb3ee01b6f801a8a8be99d31710b3422bb317"
integrity sha1-CQuz7gG2+AGoqL6Z0xcQs0Irsxc=
fill-range@^2.1.0:
version "2.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565"
+ resolved "https://registry.npmjs.com/fill-range/-/fill-range-2.2.4.tgz#eb1e773abb056dcd8df2bfdf6af59b8b3a936565"
integrity sha1-6x53OrsFbc2N8r/favWbizqTZWU=
dependencies:
is-number "^2.1.0"
@@ -6850,7 +6639,7 @@ fill-range@^2.1.0:
fill-range@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7"
+ resolved "https://registry.npmjs.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7"
integrity sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=
dependencies:
extend-shallow "^2.0.1"
@@ -6860,7 +6649,7 @@ fill-range@^4.0.0:
finalhandler@~1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
+ resolved "https://registry.npmjs.com/finalhandler/-/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
integrity sha1-t+fQAP/RGTjQ/bBTUG9uur6fWH0=
dependencies:
debug "2.6.9"
@@ -6873,7 +6662,7 @@ finalhandler@~1.1.2:
find-cache-dir@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9"
+ resolved "https://registry.npmjs.com/find-cache-dir/-/find-cache-dir-0.1.1.tgz#c8defae57c8a52a8a784f9e31c57c742e993a0b9"
integrity sha1-yN765XyKUqinhPnjHFfHQumToLk=
dependencies:
commondir "^1.0.1"
@@ -6882,7 +6671,7 @@ find-cache-dir@^0.1.1:
find-cache-dir@^2.0.0, find-cache-dir@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7"
+ resolved "https://registry.npmjs.com/find-cache-dir/-/find-cache-dir-2.1.0.tgz#8d0f94cd13fe43c6c7c261a0d86115ca918c05f7"
integrity sha1-jQ+UzRP+Q8bHwmGg2GEVypGMBfc=
dependencies:
commondir "^1.0.1"
@@ -6891,7 +6680,7 @@ find-cache-dir@^2.0.0, find-cache-dir@^2.1.0:
find-cache-dir@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-cache-dir/-/find-cache-dir-3.0.0.tgz#cd4b7dd97b7185b7e17dbfe2d6e4115ee3eeb8fc"
+ resolved "https://registry.npmjs.com/find-cache-dir/-/find-cache-dir-3.0.0.tgz#cd4b7dd97b7185b7e17dbfe2d6e4115ee3eeb8fc"
integrity sha1-zUt92Xtxhbfhfb/i1uQRXuPuuPw=
dependencies:
commondir "^1.0.1"
@@ -6900,24 +6689,24 @@ find-cache-dir@^3.0.0:
find-index@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4"
+ resolved "https://registry.npmjs.com/find-index/-/find-index-0.1.1.tgz#675d358b2ca3892d795a1ab47232f8b6e2e0dde4"
integrity sha1-Z101iyyjiS15Whq0cjL4tuLg3eQ=
find-root@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"
+ resolved "https://registry.npmjs.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4"
integrity sha1-q8/Iunb3CMQql7PWhbfpRQv7nOQ=
find-up@3.0.0, find-up@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73"
+ resolved "https://registry.npmjs.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73"
integrity sha1-SRafHXmTQwZG2mHsxa41XCHJe3M=
dependencies:
locate-path "^3.0.0"
find-up@^1.0.0, find-up@^1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f"
+ resolved "https://registry.npmjs.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f"
integrity sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=
dependencies:
path-exists "^2.0.0"
@@ -6925,14 +6714,14 @@ find-up@^1.0.0, find-up@^1.1.2:
find-up@^2.0.0, find-up@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"
+ resolved "https://registry.npmjs.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7"
integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c=
dependencies:
locate-path "^2.0.0"
find-up@^4.0.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
+ resolved "https://registry.npmjs.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
integrity sha1-l6/n1s3AvFkoWEt8jXsW6KmqXRk=
dependencies:
locate-path "^5.0.0"
@@ -6940,7 +6729,7 @@ find-up@^4.0.0:
findup-sync@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc"
+ resolved "https://registry.npmjs.com/findup-sync/-/findup-sync-2.0.0.tgz#9326b1488c22d1a6088650a86901b2d9a90a2cbc"
integrity sha1-kyaxSIwi0aYIhlCoaQGy2akKLLw=
dependencies:
detect-file "^1.0.0"
@@ -6950,7 +6739,7 @@ findup-sync@^2.0.0:
fined@^1.0.1:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b"
+ resolved "https://registry.npmjs.com/fined/-/fined-1.2.0.tgz#d00beccf1aa2b475d16d423b0238b713a2c4a37b"
integrity sha1-0AvszxqitHXRbUI7Aji3E6LEo3s=
dependencies:
expand-tilde "^2.0.2"
@@ -6961,48 +6750,41 @@ fined@^1.0.1:
first-chunk-stream@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz#59bfb50cd905f60d7c394cd3d9acaab4e6ad934e"
+ resolved "https://registry.npmjs.com/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz#59bfb50cd905f60d7c394cd3d9acaab4e6ad934e"
integrity sha1-Wb+1DNkF9g18OUzT2ayqtOatk04=
flagged-respawn@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flagged-respawn/-/flagged-respawn-1.0.1.tgz#e7de6f1279ddd9ca9aac8a5971d618606b3aab41"
+ resolved "https://registry.npmjs.com/flagged-respawn/-/flagged-respawn-1.0.1.tgz#e7de6f1279ddd9ca9aac8a5971d618606b3aab41"
integrity sha1-595vEnnd2cqarIpZcdYYYGs6q0E=
flat-cache@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0"
+ resolved "https://registry.npmjs.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0"
integrity sha1-XSltbwS9pEpGMKMBQTvbwuwIXsA=
dependencies:
flatted "^2.0.0"
rimraf "2.6.3"
write "1.0.3"
-flat@^4.1.0:
- version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flat/-/flat-4.1.0.tgz#090bec8b05e39cba309747f1d588f04dbaf98db2"
- integrity sha1-CQvsiwXjnLowl0fx1YjwTbr5jbI=
- dependencies:
- is-buffer "~2.0.3"
-
flatstr@^1.0.4:
version "1.0.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flatstr/-/flatstr-1.0.12.tgz#c2ba6a08173edbb6c9640e3055b95e287ceb5931"
+ resolved "https://registry.npmjs.com/flatstr/-/flatstr-1.0.12.tgz#c2ba6a08173edbb6c9640e3055b95e287ceb5931"
integrity sha1-wrpqCBc+27bJZA4wVbleKHzrWTE=
flatted@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
+ resolved "https://registry.npmjs.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
integrity sha1-aeV8qo8OrLwoHS4stFjUb9tEngg=
flatten@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
+ resolved "https://registry.npmjs.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"
integrity sha1-2uRqnXj74lKSJYzB54CkHZXAN4I=
flush-write-stream@^1.0.0:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8"
+ resolved "https://registry.npmjs.com/flush-write-stream/-/flush-write-stream-1.1.1.tgz#8dd7d873a1babc207d94ead0c2e0e44276ebf2e8"
integrity sha1-jdfYc6G6vCB9lOrQwuDkQnbr8ug=
dependencies:
inherits "^2.0.3"
@@ -7010,43 +6792,43 @@ flush-write-stream@^1.0.0:
focus-lock@^0.6.3:
version "0.6.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/focus-lock/-/focus-lock-0.6.5.tgz#f6eb37832a9b1b205406175f5277396a28c0fce1"
+ resolved "https://registry.npmjs.com/focus-lock/-/focus-lock-0.6.5.tgz#f6eb37832a9b1b205406175f5277396a28c0fce1"
integrity sha1-9us3gyqbGyBUBhdfUnc5aijA/OE=
follow-redirects@1.5.10:
version "1.5.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
+ resolved "https://registry.npmjs.com/follow-redirects/-/follow-redirects-1.5.10.tgz#7b7a9f9aea2fdff36786a94ff643ed07f4ff5e2a"
integrity sha1-e3qfmuov3/NnhqlP9kPtB/T/Xio=
dependencies:
debug "=3.1.0"
for-in@^0.1.3:
version "0.1.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1"
+ resolved "https://registry.npmjs.com/for-in/-/for-in-0.1.8.tgz#d8773908e31256109952b1fdb9b3fa867d2775e1"
integrity sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=
for-in@^1.0.1, for-in@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
+ resolved "https://registry.npmjs.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=
for-own@^0.1.3, for-own@^0.1.4:
version "0.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce"
+ resolved "https://registry.npmjs.com/for-own/-/for-own-0.1.5.tgz#5265c681a4f294dabbf17c9509b6763aa84510ce"
integrity sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=
dependencies:
for-in "^1.0.1"
for-own@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b"
+ resolved "https://registry.npmjs.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b"
integrity sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=
dependencies:
for-in "^1.0.1"
foreground-child@^1.3.3, foreground-child@^1.5.3:
version "1.5.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9"
+ resolved "https://registry.npmjs.com/foreground-child/-/foreground-child-1.5.6.tgz#4fd71ad2dfde96789b980a5c0a295937cb2f5ce9"
integrity sha1-T9ca0t/elnibmApcCilZN8svXOk=
dependencies:
cross-spawn "^4"
@@ -7054,12 +6836,12 @@ foreground-child@^1.3.3, foreground-child@^1.5.3:
forever-agent@~0.6.1:
version "0.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
+ resolved "https://registry.npmjs.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
fork-ts-checker-webpack-plugin@1.5.0:
version "1.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-1.5.0.tgz#ce1d77190b44d81a761b10b6284a373795e41f0c"
+ resolved "https://registry.npmjs.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-1.5.0.tgz#ce1d77190b44d81a761b10b6284a373795e41f0c"
integrity sha1-zh13GQtE2Bp2GxC2KEo3N5XkHww=
dependencies:
babel-code-frame "^6.22.0"
@@ -7073,7 +6855,7 @@ fork-ts-checker-webpack-plugin@1.5.0:
form-data@~2.3.2:
version "2.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
+ resolved "https://registry.npmjs.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"
integrity sha1-3M5SwF9kTymManq5Nr1yTO/786Y=
dependencies:
asynckit "^0.4.0"
@@ -7082,29 +6864,29 @@ form-data@~2.3.2:
format@^0.2.2:
version "0.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b"
+ resolved "https://registry.npmjs.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b"
integrity sha1-1hcBB+nv3E7TDJ3DkBbflCtctYs=
forwarded@~0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84"
+ resolved "https://registry.npmjs.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84"
integrity sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=
fragment-cache@^0.2.1:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"
+ resolved "https://registry.npmjs.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"
integrity sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=
dependencies:
map-cache "^0.2.2"
fresh@0.5.2:
version "0.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
+ resolved "https://registry.npmjs.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7"
integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=
from2@^2.1.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af"
+ resolved "https://registry.npmjs.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af"
integrity sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=
dependencies:
inherits "^2.0.1"
@@ -7112,12 +6894,12 @@ from2@^2.1.0:
from@^0.1.7:
version "0.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
+ resolved "https://registry.npmjs.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe"
integrity sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=
fs-extra@^0.30.0:
version "0.30.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
+ resolved "https://registry.npmjs.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0"
integrity sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=
dependencies:
graceful-fs "^4.1.2"
@@ -7126,18 +6908,9 @@ fs-extra@^0.30.0:
path-is-absolute "^1.0.0"
rimraf "^2.2.8"
-fs-extra@^7.0.0:
- version "7.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
- integrity sha1-TxicRKoSO4lfcigE9V6iPq3DSOk=
- dependencies:
- graceful-fs "^4.1.2"
- jsonfile "^4.0.0"
- universalify "^0.1.0"
-
fs-extra@^8.0.1, fs-extra@^8.1.0:
version "8.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
+ resolved "https://registry.npmjs.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"
integrity sha1-SdQ8RaiM2Wd2aMt74bRu/bjS4cA=
dependencies:
graceful-fs "^4.2.0"
@@ -7146,19 +6919,19 @@ fs-extra@^8.0.1, fs-extra@^8.1.0:
fs-minipass@^1.2.5:
version "1.2.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs-minipass/-/fs-minipass-1.2.6.tgz#2c5cc30ded81282bfe8a0d7c7c1853ddeb102c07"
+ resolved "https://registry.npmjs.com/fs-minipass/-/fs-minipass-1.2.6.tgz#2c5cc30ded81282bfe8a0d7c7c1853ddeb102c07"
integrity sha1-LFzDDe2BKCv+ig18fBhT3esQLAc=
dependencies:
minipass "^2.2.1"
fs-readdir-recursive@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27"
+ resolved "https://registry.npmjs.com/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz#e32fc030a2ccee44a6b5371308da54be0b397d27"
integrity sha1-4y/AMKLM7kSmtTcTCNpUvgs5fSc=
fs-write-stream-atomic@^1.0.8:
version "1.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9"
+ resolved "https://registry.npmjs.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9"
integrity sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=
dependencies:
graceful-fs "^4.1.2"
@@ -7168,12 +6941,12 @@ fs-write-stream-atomic@^1.0.8:
fs.realpath@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
+ resolved "https://registry.npmjs.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
fsevents@^1.2.7:
version "1.2.9"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fsevents/-/fsevents-1.2.9.tgz#3f5ed66583ccd6f400b5a00db6f7e861363e388f"
+ resolved "https://registry.npmjs.com/fsevents/-/fsevents-1.2.9.tgz#3f5ed66583ccd6f400b5a00db6f7e861363e388f"
integrity sha1-P17WZYPM1vQAtaANtvfoYTY+OI8=
dependencies:
nan "^2.12.1"
@@ -7181,17 +6954,17 @@ fsevents@^1.2.7:
full-icu@^1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/full-icu/-/full-icu-1.3.0.tgz#1fb4d60050103ad9dcf53735c000e4a03d80c574"
+ resolved "https://registry.npmjs.com/full-icu/-/full-icu-1.3.0.tgz#1fb4d60050103ad9dcf53735c000e4a03d80c574"
integrity sha1-H7TWAFAQOtnc9Tc1wADkoD2AxXQ=
function-bind@^1.0.2, function-bind@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
+ resolved "https://registry.npmjs.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha1-pWiZ0+o8m6uHS7l3O3xe3pL0iV0=
-function.prototype.name@^1.1.0, function.prototype.name@^1.1.1:
+function.prototype.name@^1.1.0:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/function.prototype.name/-/function.prototype.name-1.1.1.tgz#6d252350803085abc2ad423d4fe3be2f9cbda392"
+ resolved "https://registry.npmjs.com/function.prototype.name/-/function.prototype.name-1.1.1.tgz#6d252350803085abc2ad423d4fe3be2f9cbda392"
integrity sha1-bSUjUIAwhavCrUI9T+O+L5y9o5I=
dependencies:
define-properties "^1.1.3"
@@ -7201,22 +6974,22 @@ function.prototype.name@^1.1.0, function.prototype.name@^1.1.1:
functional-red-black-tree@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
+ resolved "https://registry.npmjs.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
functions-have-names@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/functions-have-names/-/functions-have-names-1.1.1.tgz#79d35927f07b8e7103d819fed475b64ccf7225ea"
+ resolved "https://registry.npmjs.com/functions-have-names/-/functions-have-names-1.1.1.tgz#79d35927f07b8e7103d819fed475b64ccf7225ea"
integrity sha1-edNZJ/B7jnED2Bn+1HW2TM9yJeo=
fuse.js@^3.4.4:
version "3.4.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/fuse.js/-/fuse.js-3.4.5.tgz#8954fb43f9729bd5dbcb8c08f251db552595a7a6"
+ resolved "https://registry.npmjs.com/fuse.js/-/fuse.js-3.4.5.tgz#8954fb43f9729bd5dbcb8c08f251db552595a7a6"
integrity sha1-iVT7Q/lym9Xby4wI8lHbVSWVp6Y=
gauge@~2.7.3:
version "2.7.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
+ resolved "https://registry.npmjs.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=
dependencies:
aproba "^1.0.3"
@@ -7230,29 +7003,29 @@ gauge@~2.7.3:
gaze@^0.5.1:
version "0.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gaze/-/gaze-0.5.2.tgz#40b709537d24d1d45767db5a908689dfe69ac44f"
+ resolved "https://registry.npmjs.com/gaze/-/gaze-0.5.2.tgz#40b709537d24d1d45767db5a908689dfe69ac44f"
integrity sha1-QLcJU30k0dRXZ9takIaJ3+aaxE8=
dependencies:
globule "~0.1.0"
genfun@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537"
+ resolved "https://registry.npmjs.com/genfun/-/genfun-5.0.0.tgz#9dd9710a06900a5c4a5bf57aca5da4e52fe76537"
integrity sha1-ndlxCgaQClxKW/V6yl2k5S/nZTc=
get-caller-file@^1.0.1:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
+ resolved "https://registry.npmjs.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
integrity sha1-+Xj6TJDR3+f/LWvtoqUV5xO9z0o=
get-caller-file@^2.0.1:
version "2.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
+ resolved "https://registry.npmjs.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
integrity sha1-T5RBKoLbMvNuOwuXQfipf+sDH34=
get-monorepo-packages@^1.1.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-monorepo-packages/-/get-monorepo-packages-1.2.0.tgz#3eee88d30b11a5f65955dec6ae331958b2a168e4"
+ resolved "https://registry.npmjs.com/get-monorepo-packages/-/get-monorepo-packages-1.2.0.tgz#3eee88d30b11a5f65955dec6ae331958b2a168e4"
integrity sha1-Pu6I0wsRpfZZVd7GrjMZWLKhaOQ=
dependencies:
globby "^7.1.1"
@@ -7260,12 +7033,12 @@ get-monorepo-packages@^1.1.0:
get-own-enumerable-property-symbols@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz#b877b49a5c16aefac3655f2ed2ea5b684df8d203"
+ resolved "https://registry.npmjs.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.0.tgz#b877b49a5c16aefac3655f2ed2ea5b684df8d203"
integrity sha1-uHe0mlwWrvrDZV8u0upbaE340gM=
get-pkg-repo@^1.0.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d"
+ resolved "https://registry.npmjs.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d"
integrity sha1-xztInAbYDMVTbCyFP54FIyBWly0=
dependencies:
hosted-git-info "^2.1.4"
@@ -7276,55 +7049,41 @@ get-pkg-repo@^1.0.0:
get-port@^4.2.0:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119"
+ resolved "https://registry.npmjs.com/get-port/-/get-port-4.2.0.tgz#e37368b1e863b7629c43c5a323625f95cf24b119"
integrity sha1-43Nosehjt2KcQ8WjI2Jflc8ksRk=
get-stdin@^4.0.1:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
+ resolved "https://registry.npmjs.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
integrity sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=
get-stream@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
+ resolved "https://registry.npmjs.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=
get-stream@^4.0.0, get-stream@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
+ resolved "https://registry.npmjs.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5"
integrity sha1-wbJVV189wh1Zv8ec09K0axw6VLU=
dependencies:
pump "^3.0.0"
get-value@^2.0.3, get-value@^2.0.6:
version "2.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
+ resolved "https://registry.npmjs.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28"
integrity sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=
getpass@^0.1.1:
version "0.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
+ resolved "https://registry.npmjs.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
integrity sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=
dependencies:
assert-plus "^1.0.0"
-gh-pages@^2.0.1:
- version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gh-pages/-/gh-pages-2.1.1.tgz#5be70a92f9cb70404bafabd8bb149c0e9a8c264b"
- integrity sha1-W+cKkvnLcEBLr6vYuxScDpqMJks=
- dependencies:
- async "^2.6.1"
- commander "^2.18.0"
- email-addresses "^3.0.1"
- filenamify-url "^1.0.0"
- fs-extra "^7.0.0"
- globby "^6.1.0"
- graceful-fs "^4.1.11"
- rimraf "^2.6.2"
-
git-raw-commits@2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5"
+ resolved "https://registry.npmjs.com/git-raw-commits/-/git-raw-commits-2.0.0.tgz#d92addf74440c14bcc5c83ecce3fb7f8a79118b5"
integrity sha1-2Srd90RAwUvMXIPszj+3+KeRGLU=
dependencies:
dargs "^4.0.1"
@@ -7335,7 +7094,7 @@ git-raw-commits@2.0.0:
git-remote-origin-url@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f"
+ resolved "https://registry.npmjs.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f"
integrity sha1-UoJlna4hBxRaERJhEq0yFuxfpl8=
dependencies:
gitconfiglocal "^1.0.0"
@@ -7343,7 +7102,7 @@ git-remote-origin-url@^2.0.0:
git-semver-tags@^2.0.3:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/git-semver-tags/-/git-semver-tags-2.0.3.tgz#48988a718acf593800f99622a952a77c405bfa34"
+ resolved "https://registry.npmjs.com/git-semver-tags/-/git-semver-tags-2.0.3.tgz#48988a718acf593800f99622a952a77c405bfa34"
integrity sha1-SJiKcYrPWTgA+ZYiqVKnfEBb+jQ=
dependencies:
meow "^4.0.0"
@@ -7351,7 +7110,7 @@ git-semver-tags@^2.0.3:
git-up@^4.0.0:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0"
+ resolved "https://registry.npmjs.com/git-up/-/git-up-4.0.1.tgz#cb2ef086653640e721d2042fe3104857d89007c0"
integrity sha1-yy7whmU2QOch0gQv4xBIV9iQB8A=
dependencies:
is-ssh "^1.3.0"
@@ -7359,21 +7118,21 @@ git-up@^4.0.0:
git-url-parse@^11.1.2:
version "11.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/git-url-parse/-/git-url-parse-11.1.2.tgz#aff1a897c36cc93699270587bea3dbcbbb95de67"
+ resolved "https://registry.npmjs.com/git-url-parse/-/git-url-parse-11.1.2.tgz#aff1a897c36cc93699270587bea3dbcbbb95de67"
integrity sha1-r/Gol8NsyTaZJwWHvqPby7uV3mc=
dependencies:
git-up "^4.0.0"
gitconfiglocal@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b"
+ resolved "https://registry.npmjs.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b"
integrity sha1-QdBF84UaXqiPA/JMocYXgRRGS5s=
dependencies:
ini "^1.3.2"
glob-base@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
+ resolved "https://registry.npmjs.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
integrity sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=
dependencies:
glob-parent "^2.0.0"
@@ -7381,14 +7140,14 @@ glob-base@^0.3.0:
glob-parent@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28"
+ resolved "https://registry.npmjs.com/glob-parent/-/glob-parent-2.0.0.tgz#81383d72db054fcccf5336daa902f182f6edbb28"
integrity sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=
dependencies:
is-glob "^2.0.0"
glob-parent@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae"
+ resolved "https://registry.npmjs.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae"
integrity sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=
dependencies:
is-glob "^3.1.0"
@@ -7396,14 +7155,14 @@ glob-parent@^3.1.0:
glob-parent@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954"
+ resolved "https://registry.npmjs.com/glob-parent/-/glob-parent-5.0.0.tgz#1dc99f0f39b006d3e92c2c284068382f0c20e954"
integrity sha1-HcmfDzmwBtPpLCwoQGg4Lwwg6VQ=
dependencies:
is-glob "^4.0.1"
glob-stream@^3.1.5:
version "3.1.18"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-stream/-/glob-stream-3.1.18.tgz#9170a5f12b790306fdfe598f313f8f7954fd143b"
+ resolved "https://registry.npmjs.com/glob-stream/-/glob-stream-3.1.18.tgz#9170a5f12b790306fdfe598f313f8f7954fd143b"
integrity sha1-kXCl8St5Awb9/lmPMT+PeVT9FDs=
dependencies:
glob "^4.3.1"
@@ -7415,50 +7174,26 @@ glob-stream@^3.1.5:
glob-to-regexp@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
+ resolved "https://registry.npmjs.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab"
integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=
glob-watcher@^0.0.6:
version "0.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob-watcher/-/glob-watcher-0.0.6.tgz#b95b4a8df74b39c83298b0c05c978b4d9a3b710b"
+ resolved "https://registry.npmjs.com/glob-watcher/-/glob-watcher-0.0.6.tgz#b95b4a8df74b39c83298b0c05c978b4d9a3b710b"
integrity sha1-uVtKjfdLOcgymLDAXJeLTZo7cQs=
dependencies:
gaze "^0.5.1"
glob2base@^0.0.12:
version "0.0.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob2base/-/glob2base-0.0.12.tgz#9d419b3e28f12e83a362164a277055922c9c0d56"
+ resolved "https://registry.npmjs.com/glob2base/-/glob2base-0.0.12.tgz#9d419b3e28f12e83a362164a277055922c9c0d56"
integrity sha1-nUGbPijxLoOjYhZKJ3BVkiycDVY=
dependencies:
find-index "^0.1.1"
-glob@7.0.x:
- version "7.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob/-/glob-7.0.6.tgz#211bafaf49e525b8cd93260d14ab136152b3f57a"
- integrity sha1-IRuvr0nlJbjNkyYNFKsTYVKz9Xo=
- dependencies:
- fs.realpath "^1.0.0"
- inflight "^1.0.4"
- inherits "2"
- minimatch "^3.0.2"
- once "^1.3.0"
- path-is-absolute "^1.0.0"
-
-glob@7.1.3:
- version "7.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1"
- integrity sha1-OWCDLT8VdBCDQtr9OmezMsCWnfE=
- dependencies:
- fs.realpath "^1.0.0"
- inflight "^1.0.4"
- inherits "2"
- minimatch "^3.0.4"
- once "^1.3.0"
- path-is-absolute "^1.0.0"
-
glob@^4.3.1:
version "4.5.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob/-/glob-4.5.3.tgz#c6cb73d3226c1efef04de3c56d012f03377ee15f"
+ resolved "https://registry.npmjs.com/glob/-/glob-4.5.3.tgz#c6cb73d3226c1efef04de3c56d012f03377ee15f"
integrity sha1-xstz0yJsHv7wTePFbQEvAzd+4V8=
dependencies:
inflight "^1.0.4"
@@ -7468,7 +7203,7 @@ glob@^4.3.1:
glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
version "7.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
+ resolved "https://registry.npmjs.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255"
integrity sha1-qmCKL2xXetNX4a5aXCbZqNGWklU=
dependencies:
fs.realpath "^1.0.0"
@@ -7480,7 +7215,7 @@ glob@^7.0.0, glob@^7.0.3, glob@^7.0.6, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, gl
glob@~3.1.21:
version "3.1.21"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd"
+ resolved "https://registry.npmjs.com/glob/-/glob-3.1.21.tgz#d29e0a055dea5138f4d07ed40e8982e83c2066cd"
integrity sha1-0p4KBV3qUTj00H7UDomC6DwgZs0=
dependencies:
graceful-fs "~1.2.0"
@@ -7489,14 +7224,14 @@ glob@~3.1.21:
global-modules@2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780"
+ resolved "https://registry.npmjs.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780"
integrity sha1-mXYFrSNF8n9RU5vqJldEISFcd4A=
dependencies:
global-prefix "^3.0.0"
global-modules@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea"
+ resolved "https://registry.npmjs.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea"
integrity sha1-bXcPDrUjrHgWTXK15xqIdyZcw+o=
dependencies:
global-prefix "^1.0.1"
@@ -7505,7 +7240,7 @@ global-modules@^1.0.0:
global-prefix@^1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe"
+ resolved "https://registry.npmjs.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe"
integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=
dependencies:
expand-tilde "^2.0.2"
@@ -7516,7 +7251,7 @@ global-prefix@^1.0.1:
global-prefix@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97"
+ resolved "https://registry.npmjs.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97"
integrity sha1-/IX3MGTfafUEIfR/iD/luRO6m5c=
dependencies:
ini "^1.3.5"
@@ -7525,7 +7260,7 @@ global-prefix@^3.0.0:
global@^4.3.2:
version "4.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406"
+ resolved "https://registry.npmjs.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406"
integrity sha1-PnsQUXkAajI+1xqvyj6cV6XMZAY=
dependencies:
min-document "^2.19.0"
@@ -7533,17 +7268,17 @@ global@^4.3.2:
globals@^11.1.0, globals@^11.7.0:
version "11.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
+ resolved "https://registry.npmjs.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
integrity sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=
globals@^9.18.0:
version "9.18.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
+ resolved "https://registry.npmjs.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a"
integrity sha1-qjiWs+abSH8X4x7SFD1pqOMMLYo=
globalthis@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globalthis/-/globalthis-1.0.0.tgz#c5fb98213a9b4595f59cf3e7074f141b4169daae"
+ resolved "https://registry.npmjs.com/globalthis/-/globalthis-1.0.0.tgz#c5fb98213a9b4595f59cf3e7074f141b4169daae"
integrity sha1-xfuYITqbRZX1nPPnB08UG0Fp2q4=
dependencies:
define-properties "^1.1.2"
@@ -7552,7 +7287,7 @@ globalthis@^1.0.0:
globby@8.0.2:
version "8.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globby/-/globby-8.0.2.tgz#5697619ccd95c5275dbb2d6faa42087c1a941d8d"
+ resolved "https://registry.npmjs.com/globby/-/globby-8.0.2.tgz#5697619ccd95c5275dbb2d6faa42087c1a941d8d"
integrity sha1-VpdhnM2VxSdduy1vqkIIfBqUHY0=
dependencies:
array-union "^1.0.1"
@@ -7565,7 +7300,7 @@ globby@8.0.2:
globby@^6.1.0:
version "6.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
+ resolved "https://registry.npmjs.com/globby/-/globby-6.1.0.tgz#f5a6d70e8395e21c858fb0489d64df02424d506c"
integrity sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=
dependencies:
array-union "^1.0.1"
@@ -7576,7 +7311,7 @@ globby@^6.1.0:
globby@^7.1.1:
version "7.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680"
+ resolved "https://registry.npmjs.com/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680"
integrity sha1-+yzP+UAfhgCUXfral0QMypcrhoA=
dependencies:
array-union "^1.0.1"
@@ -7588,7 +7323,7 @@ globby@^7.1.1:
globby@^9.2.0:
version "9.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d"
+ resolved "https://registry.npmjs.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d"
integrity sha1-/QKacGxwPSm90XD0tts6P3p8tj0=
dependencies:
"@types/glob" "^7.1.1"
@@ -7602,7 +7337,7 @@ globby@^9.2.0:
globule@~0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5"
+ resolved "https://registry.npmjs.com/globule/-/globule-0.1.0.tgz#d9c8edde1da79d125a151b79533b978676346ae5"
integrity sha1-2cjt3h2nnRJaFRt5UzuXhnY0auU=
dependencies:
glob "~3.1.21"
@@ -7611,53 +7346,48 @@ globule@~0.1.0:
glogg@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/glogg/-/glogg-1.0.2.tgz#2d7dd702beda22eb3bffadf880696da6d846313f"
+ resolved "https://registry.npmjs.com/glogg/-/glogg-1.0.2.tgz#2d7dd702beda22eb3bffadf880696da6d846313f"
integrity sha1-LX3XAr7aIus7/634gGltpthGMT8=
dependencies:
sparkles "^1.0.0"
good-listener@^1.2.2:
version "1.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50"
+ resolved "https://registry.npmjs.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50"
integrity sha1-1TswzfkxPf+33JoNR3CWqm0UXFA=
dependencies:
delegate "^3.1.2"
graceful-fs@^3.0.0:
version "3.0.12"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/graceful-fs/-/graceful-fs-3.0.12.tgz#0034947ce9ed695ec8ab0b854bc919e82b1ffaef"
+ resolved "https://registry.npmjs.com/graceful-fs/-/graceful-fs-3.0.12.tgz#0034947ce9ed695ec8ab0b854bc919e82b1ffaef"
integrity sha1-ADSUfOntaV7IqwuFS8kZ6Csf+u8=
dependencies:
natives "^1.1.3"
graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0:
version "4.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02"
+ resolved "https://registry.npmjs.com/graceful-fs/-/graceful-fs-4.2.2.tgz#6f0952605d0140c1cfdb138ed005775b92d67b02"
integrity sha1-bwlSYF0BQMHP2xOO0AV3W5LWewI=
graceful-fs@~1.2.0:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
+ resolved "https://registry.npmjs.com/graceful-fs/-/graceful-fs-1.2.3.tgz#15a4806a57547cb2d2dbf27f42e89a8c3451b364"
integrity sha1-FaSAaldUfLLS2/J/QuiajDRRs2Q=
-growl@1.10.5:
- version "1.10.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e"
- integrity sha1-8nNdwig2dPpnR4sQGBBZNVw2nl4=
-
growly@^1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
+ resolved "https://registry.npmjs.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=
gud@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gud/-/gud-1.0.0.tgz#a489581b17e6a70beca9abe3ae57de7a499852c0"
+ resolved "https://registry.npmjs.com/gud/-/gud-1.0.0.tgz#a489581b17e6a70beca9abe3ae57de7a499852c0"
integrity sha1-pIlYGxfmpwvsqavjrlfeekmYUsA=
gulp-awspublish@^0.0.23:
version "0.0.23"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gulp-awspublish/-/gulp-awspublish-0.0.23.tgz#4c07741f76f568992ba431189f11f7ddecbc9f80"
+ resolved "https://registry.npmjs.com/gulp-awspublish/-/gulp-awspublish-0.0.23.tgz#4c07741f76f568992ba431189f11f7ddecbc9f80"
integrity sha1-TAd0H3b1aJkrpDEYnxH33ey8n4A=
dependencies:
clone "0.x"
@@ -7672,12 +7402,12 @@ gulp-awspublish@^0.0.23:
gulp-rename@^1.2.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gulp-rename/-/gulp-rename-1.4.0.tgz#de1c718e7c4095ae861f7296ef4f3248648240bd"
+ resolved "https://registry.npmjs.com/gulp-rename/-/gulp-rename-1.4.0.tgz#de1c718e7c4095ae861f7296ef4f3248648240bd"
integrity sha1-3hxxjnxAla6GH3KW708ySGSCQL0=
gulp-util@2.x:
version "2.2.20"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gulp-util/-/gulp-util-2.2.20.tgz#d7146e5728910bd8f047a6b0b1e549bc22dbd64c"
+ resolved "https://registry.npmjs.com/gulp-util/-/gulp-util-2.2.20.tgz#d7146e5728910bd8f047a6b0b1e549bc22dbd64c"
integrity sha1-1xRuVyiRC9jwR6awseVJvCLb1kw=
dependencies:
chalk "^0.5.0"
@@ -7691,7 +7421,7 @@ gulp-util@2.x:
gulp-util@^3.0.0, gulp-util@^3.0.7:
version "3.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
+ resolved "https://registry.npmjs.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
integrity sha1-AFTh50RQLifATBh8PsxQXdVLu08=
dependencies:
array-differ "^1.0.0"
@@ -7715,7 +7445,7 @@ gulp-util@^3.0.0, gulp-util@^3.0.7:
gulp@^3.6.1:
version "3.9.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4"
+ resolved "https://registry.npmjs.com/gulp/-/gulp-3.9.1.tgz#571ce45928dd40af6514fc4011866016c13845b4"
integrity sha1-VxzkWSjdQK9lFPxAEYZgFsE4RbQ=
dependencies:
archy "^1.0.0"
@@ -7734,14 +7464,14 @@ gulp@^3.6.1:
gulplog@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gulplog/-/gulplog-1.0.0.tgz#e28c4d45d05ecbbed818363ce8f9c5926229ffe5"
+ resolved "https://registry.npmjs.com/gulplog/-/gulplog-1.0.0.tgz#e28c4d45d05ecbbed818363ce8f9c5926229ffe5"
integrity sha1-4oxNRdBey77YGDY86PnFkmIp/+U=
dependencies:
glogg "^1.0.0"
gzip-size@5.1.1:
version "5.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/gzip-size/-/gzip-size-5.1.1.tgz#cb9bee692f87c0612b232840a873904e4c135274"
+ resolved "https://registry.npmjs.com/gzip-size/-/gzip-size-5.1.1.tgz#cb9bee692f87c0612b232840a873904e4c135274"
integrity sha1-y5vuaS+HwGErIyhAqHOQTkwTUnQ=
dependencies:
duplexer "^0.1.1"
@@ -7749,7 +7479,7 @@ gzip-size@5.1.1:
handlebars@^4.0.3, handlebars@^4.1.2:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/handlebars/-/handlebars-4.2.0.tgz#57ce8d2175b9bbb3d8b3cf3e4217b1aec8ddcb2e"
+ resolved "https://registry.npmjs.com/handlebars/-/handlebars-4.2.0.tgz#57ce8d2175b9bbb3d8b3cf3e4217b1aec8ddcb2e"
integrity sha1-V86NIXW5u7PYs88+Qhexrsjdyy4=
dependencies:
neo-async "^2.6.0"
@@ -7760,12 +7490,12 @@ handlebars@^4.0.3, handlebars@^4.1.2:
har-schema@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
+ resolved "https://registry.npmjs.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92"
integrity sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=
har-validator@~5.1.0:
version "5.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080"
+ resolved "https://registry.npmjs.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080"
integrity sha1-HvievT5JllV2de7ZiTEQ3DUPoIA=
dependencies:
ajv "^6.5.5"
@@ -7773,53 +7503,53 @@ har-validator@~5.1.0:
harmony-reflect@^1.4.6:
version "1.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/harmony-reflect/-/harmony-reflect-1.6.1.tgz#c108d4f2bb451efef7a37861fdbdae72c9bdefa9"
+ resolved "https://registry.npmjs.com/harmony-reflect/-/harmony-reflect-1.6.1.tgz#c108d4f2bb451efef7a37861fdbdae72c9bdefa9"
integrity sha1-wQjU8rtFHv73o3hh/b2ucsm976k=
has-ansi@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e"
+ resolved "https://registry.npmjs.com/has-ansi/-/has-ansi-0.1.0.tgz#84f265aae8c0e6a88a12d7022894b7568894c62e"
integrity sha1-hPJlqujA5qiKEtcCKJS3VoiUxi4=
dependencies:
ansi-regex "^0.2.0"
has-ansi@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
+ resolved "https://registry.npmjs.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=
dependencies:
ansi-regex "^2.0.0"
has-flag@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
+ resolved "https://registry.npmjs.com/has-flag/-/has-flag-1.0.0.tgz#9d9e793165ce017a00f00418c43f942a7b1d11fa"
integrity sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=
has-flag@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
+ resolved "https://registry.npmjs.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
has-gulplog@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce"
+ resolved "https://registry.npmjs.com/has-gulplog/-/has-gulplog-0.1.0.tgz#6414c82913697da51590397dafb12f22967811ce"
integrity sha1-ZBTIKRNpfaUVkDl9r7EvIpZ4Ec4=
dependencies:
sparkles "^1.0.0"
has-symbols@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
+ resolved "https://registry.npmjs.com/has-symbols/-/has-symbols-1.0.0.tgz#ba1a8f1af2a0fc39650f5c850367704122063b44"
integrity sha1-uhqPGvKg/DllD1yFA2dwQSIGO0Q=
has-unicode@^2.0.0, has-unicode@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
+ resolved "https://registry.npmjs.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=
has-value@^0.3.1:
version "0.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f"
+ resolved "https://registry.npmjs.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f"
integrity sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=
dependencies:
get-value "^2.0.3"
@@ -7828,7 +7558,7 @@ has-value@^0.3.1:
has-value@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177"
+ resolved "https://registry.npmjs.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177"
integrity sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=
dependencies:
get-value "^2.0.6"
@@ -7837,12 +7567,12 @@ has-value@^1.0.0:
has-values@^0.1.4:
version "0.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771"
+ resolved "https://registry.npmjs.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771"
integrity sha1-bWHeldkd/Km5oCCJrThL/49it3E=
has-values@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f"
+ resolved "https://registry.npmjs.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f"
integrity sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=
dependencies:
is-number "^3.0.0"
@@ -7850,14 +7580,14 @@ has-values@^1.0.0:
has@^1.0.1, has@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
+ resolved "https://registry.npmjs.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha1-ci18v8H2qoJB8W3YFOAR4fQeh5Y=
dependencies:
function-bind "^1.1.1"
hash-base@^3.0.0:
version "3.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918"
+ resolved "https://registry.npmjs.com/hash-base/-/hash-base-3.0.4.tgz#5fc8686847ecd73499403319a6b0a3f3f6ae4918"
integrity sha1-X8hoaEfs1zSZQDMZprCj8/auSRg=
dependencies:
inherits "^2.0.1"
@@ -7865,7 +7595,7 @@ hash-base@^3.0.0:
hash.js@^1.0.0, hash.js@^1.0.3:
version "1.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42"
+ resolved "https://registry.npmjs.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42"
integrity sha1-C6vKU46NTuSg+JiNaIZlN6ADz0I=
dependencies:
inherits "^2.0.3"
@@ -7873,12 +7603,12 @@ hash.js@^1.0.0, hash.js@^1.0.3:
hast-util-parse-selector@^2.2.0:
version "2.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hast-util-parse-selector/-/hast-util-parse-selector-2.2.2.tgz#66aabccb252c47d94975f50a281446955160380b"
+ resolved "https://registry.npmjs.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.2.tgz#66aabccb252c47d94975f50a281446955160380b"
integrity sha1-Zqq8yyUsR9lJdfUKKBRGlVFgOAs=
hastscript@^5.0.0:
version "5.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hastscript/-/hastscript-5.1.0.tgz#a19b3cca6a26a2bcd0f1b1eac574af9427c1c7df"
+ resolved "https://registry.npmjs.com/hastscript/-/hastscript-5.1.0.tgz#a19b3cca6a26a2bcd0f1b1eac574af9427c1c7df"
integrity sha1-oZs8ymomorzQ8bHqxXSvlCfBx98=
dependencies:
comma-separated-tokens "^1.0.0"
@@ -7886,14 +7616,14 @@ hastscript@^5.0.0:
property-information "^5.0.1"
space-separated-tokens "^1.0.0"
-he@1.2.0, he@^1.1.1, he@^1.2.0:
+he@^1.1.1, he@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
+ resolved "https://registry.npmjs.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha1-hK5l+n6vsWX922FWauFLrwVmTw8=
header-case@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/header-case/-/header-case-1.0.1.tgz#9535973197c144b09613cd65d317ef19963bd02d"
+ resolved "https://registry.npmjs.com/header-case/-/header-case-1.0.1.tgz#9535973197c144b09613cd65d317ef19963bd02d"
integrity sha1-lTWXMZfBRLCWE81l0xfvGZY70C0=
dependencies:
no-case "^2.2.0"
@@ -7901,12 +7631,12 @@ header-case@^1.0.0:
highlight.js@~9.12.0:
version "9.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e"
+ resolved "https://registry.npmjs.com/highlight.js/-/highlight.js-9.12.0.tgz#e6d9dbe57cbefe60751f02af336195870c90c01e"
integrity sha1-5tnb5Xy+/mB1HwKvM2GVhwyQwB4=
hmac-drbg@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
+ resolved "https://registry.npmjs.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1"
integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=
dependencies:
hash.js "^1.0.3"
@@ -7915,50 +7645,43 @@ hmac-drbg@^1.0.0:
hoist-non-react-statics@^2.3.1:
version "2.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
+ resolved "https://registry.npmjs.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.5.tgz#c5903cf409c0dfd908f388e619d86b9c1174cb47"
integrity sha1-xZA89AnA39kI84jmGdhrnBF0y0c=
hoist-non-react-statics@^3.3.0:
version "3.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b"
+ resolved "https://registry.npmjs.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.0.tgz#b09178f0122184fb95acf525daaecb4d8f45958b"
integrity sha1-sJF48BIhhPuVrPUl2q7LTY9FlYs=
dependencies:
react-is "^16.7.0"
homedir-polyfill@^1.0.1:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8"
+ resolved "https://registry.npmjs.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8"
integrity sha1-dDKYzvTlrz4ZQWH7rcwhUdOgWOg=
dependencies:
parse-passwd "^1.0.0"
hosted-git-info@^2.1.4, hosted-git-info@^2.7.1:
version "2.8.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/hosted-git-info/-/hosted-git-info-2.8.4.tgz#44119abaf4bc64692a16ace34700fed9c03e2546"
+ resolved "https://registry.npmjs.com/hosted-git-info/-/hosted-git-info-2.8.4.tgz#44119abaf4bc64692a16ace34700fed9c03e2546"
integrity sha1-RBGauvS8ZGkqFqzjRwD+2cA+JUY=
-html-element-map@^1.0.0:
- version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/html-element-map/-/html-element-map-1.1.0.tgz#e5aab9a834caf883b421f8bd9eaedcaac887d63c"
- integrity sha1-5aq5qDTK+IO0Ifi9nq7cqsiH1jw=
- dependencies:
- array-filter "^1.0.0"
-
html-encoding-sniffer@^1.0.1, html-encoding-sniffer@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8"
+ resolved "https://registry.npmjs.com/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz#e70d84b94da53aa375e11fe3a351be6642ca46f8"
integrity sha1-5w2EuU2lOqN14R/jo1G+ZkLKRvg=
dependencies:
whatwg-encoding "^1.0.1"
html-entities@^1.2.0:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f"
+ resolved "https://registry.npmjs.com/html-entities/-/html-entities-1.2.1.tgz#0df29351f0721163515dfb9e5543e5f6eed5162f"
integrity sha1-DfKTUfByEWNRXfueVUPl9u7VFi8=
html-minifier@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/html-minifier/-/html-minifier-4.0.0.tgz#cca9aad8bce1175e02e17a8c33e46d8988889f56"
+ resolved "https://registry.npmjs.com/html-minifier/-/html-minifier-4.0.0.tgz#cca9aad8bce1175e02e17a8c33e46d8988889f56"
integrity sha1-zKmq2LzhF14C4XqMM+RtiYiIn1Y=
dependencies:
camel-case "^3.0.0"
@@ -7971,7 +7694,7 @@ html-minifier@^4.0.0:
html-webpack-plugin@^4.0.0-beta.2:
version "4.0.0-beta.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/html-webpack-plugin/-/html-webpack-plugin-4.0.0-beta.8.tgz#d9a8d4322d8cf310f1568f6f4f585a80df0ad378"
+ resolved "https://registry.npmjs.com/html-webpack-plugin/-/html-webpack-plugin-4.0.0-beta.8.tgz#d9a8d4322d8cf310f1568f6f4f585a80df0ad378"
integrity sha1-2ajUMi2M8xDxVo9vT1hagN8K03g=
dependencies:
html-minifier "^4.0.0"
@@ -7981,9 +7704,9 @@ html-webpack-plugin@^4.0.0-beta.2:
tapable "^1.1.3"
util.promisify "1.0.0"
-htmlparser2@^3.3.0, htmlparser2@^3.9.1:
+htmlparser2@^3.3.0:
version "3.10.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"
+ resolved "https://registry.npmjs.com/htmlparser2/-/htmlparser2-3.10.1.tgz#bd679dc3f59897b6a34bb10749c855bb53a9392f"
integrity sha1-vWedw/WYl7ajS7EHSchVu1OpOS8=
dependencies:
domelementtype "^1.3.1"
@@ -7995,12 +7718,12 @@ htmlparser2@^3.3.0, htmlparser2@^3.9.1:
http-cache-semantics@^3.8.1:
version "3.8.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
+ resolved "https://registry.npmjs.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2"
integrity sha1-ObDhat2bYFvwqe89nar0hDtMrNI=
http-errors@1.7.2:
version "1.7.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f"
+ resolved "https://registry.npmjs.com/http-errors/-/http-errors-1.7.2.tgz#4f5029cf13239f31036e5b2e55292bcfbcc85c8f"
integrity sha1-T1ApzxMjnzEDblsuVSkrz7zIXI8=
dependencies:
depd "~1.1.2"
@@ -8011,7 +7734,7 @@ http-errors@1.7.2:
http-errors@~1.7.2:
version "1.7.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06"
+ resolved "https://registry.npmjs.com/http-errors/-/http-errors-1.7.3.tgz#6c619e4f9c60308c38519498c14fbb10aacebb06"
integrity sha1-bGGeT5xgMIw4UZSYwU+7EKrOuwY=
dependencies:
depd "~1.1.2"
@@ -8022,12 +7745,12 @@ http-errors@~1.7.2:
"http-parser-js@>=0.4.0 <0.4.11":
version "0.4.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4"
+ resolved "https://registry.npmjs.com/http-parser-js/-/http-parser-js-0.4.10.tgz#92c9c1374c35085f75db359ec56cc257cbb93fa4"
integrity sha1-ksnBN0w1CF912zWexWzCV8u5P6Q=
http-proxy-agent@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
+ resolved "https://registry.npmjs.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405"
integrity sha1-5IIb7vWyFCogJr1zkm/lN2McVAU=
dependencies:
agent-base "4"
@@ -8035,7 +7758,7 @@ http-proxy-agent@^2.1.0:
http-signature@~1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
+ resolved "https://registry.npmjs.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1"
integrity sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=
dependencies:
assert-plus "^1.0.0"
@@ -8044,12 +7767,12 @@ http-signature@~1.2.0:
https-browserify@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
+ resolved "https://registry.npmjs.com/https-browserify/-/https-browserify-1.0.0.tgz#ec06c10e0a34c0f2faf199f7fd7fc78fffd03c73"
integrity sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=
https-proxy-agent@^2.2.1:
version "2.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz#271ea8e90f836ac9f119daccd39c19ff7dfb0793"
+ resolved "https://registry.npmjs.com/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz#271ea8e90f836ac9f119daccd39c19ff7dfb0793"
integrity sha1-Jx6o6Q+DasnxGdrM05wZ/337B5M=
dependencies:
agent-base "^4.3.0"
@@ -8057,92 +7780,84 @@ https-proxy-agent@^2.2.1:
humanize-ms@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed"
+ resolved "https://registry.npmjs.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed"
integrity sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=
dependencies:
ms "^2.0.0"
-humanize-url@^1.0.0:
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/humanize-url/-/humanize-url-1.0.1.tgz#f4ab99e0d288174ca4e1e50407c55fbae464efff"
- integrity sha1-9KuZ4NKIF0yk4eUEB8VfuuRk7/8=
- dependencies:
- normalize-url "^1.0.0"
- strip-url-auth "^1.0.0"
-
iconv-lite@0.4.24, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
version "0.4.24"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
+ resolved "https://registry.npmjs.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
integrity sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=
dependencies:
safer-buffer ">= 2.1.2 < 3"
icss-replace-symbols@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"
+ resolved "https://registry.npmjs.com/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz#06ea6f83679a7749e386cfe1fe812ae5db223ded"
integrity sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=
icss-utils@^4.1.0:
version "4.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467"
+ resolved "https://registry.npmjs.com/icss-utils/-/icss-utils-4.1.1.tgz#21170b53789ee27447c2f47dd683081403f9a467"
integrity sha1-IRcLU3ie4nRHwvR91oMIFAP5pGc=
dependencies:
postcss "^7.0.14"
identity-obj-proxy@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
+ resolved "https://registry.npmjs.com/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz#94d2bda96084453ef36fbc5aaec37e0f79f1fc14"
integrity sha1-lNK9qWCERT7zb7xarsN+D3nx/BQ=
dependencies:
harmony-reflect "^1.4.6"
ieee754@^1.1.4:
version "1.1.13"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"
+ resolved "https://registry.npmjs.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84"
integrity sha1-7BaFWOlaoYH9h9N/VcMrvLZwi4Q=
iferr@^0.1.5:
version "0.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501"
+ resolved "https://registry.npmjs.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501"
integrity sha1-xg7taebY/bazEEofy8ocGS3FtQE=
ignore-styles@^5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ignore-styles/-/ignore-styles-5.0.1.tgz#b49ef2274bdafcd8a4880a966bfe38d1a0bf4671"
+ resolved "https://registry.npmjs.com/ignore-styles/-/ignore-styles-5.0.1.tgz#b49ef2274bdafcd8a4880a966bfe38d1a0bf4671"
integrity sha1-tJ7yJ0va/NikiAqWa/440aC/RnE=
ignore-walk@^3.0.1:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8"
+ resolved "https://registry.npmjs.com/ignore-walk/-/ignore-walk-3.0.1.tgz#a83e62e7d272ac0e3b551aaa82831a19b69f82f8"
integrity sha1-qD5i59JyrA47VRqqgoMaGbafgvg=
dependencies:
minimatch "^3.0.4"
ignore@^3.3.5:
version "3.3.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043"
+ resolved "https://registry.npmjs.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043"
integrity sha1-Cpf7h2mG6AgcYxFg+PnziRV/AEM=
ignore@^4.0.3, ignore@^4.0.6:
version "4.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
+ resolved "https://registry.npmjs.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
integrity sha1-dQ49tYYgh7RzfrrIIH/9HvJ7Jfw=
immer@1.10.0:
version "1.10.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/immer/-/immer-1.10.0.tgz#bad67605ba9c810275d91e1c2a47d4582e98286d"
+ resolved "https://registry.npmjs.com/immer/-/immer-1.10.0.tgz#bad67605ba9c810275d91e1c2a47d4582e98286d"
integrity sha1-utZ2BbqcgQJ12R4cKkfUWC6YKG0=
import-cwd@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9"
+ resolved "https://registry.npmjs.com/import-cwd/-/import-cwd-2.1.0.tgz#aa6cf36e722761285cb371ec6519f53e2435b0a9"
integrity sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=
dependencies:
import-from "^2.1.0"
import-fresh@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546"
+ resolved "https://registry.npmjs.com/import-fresh/-/import-fresh-2.0.0.tgz#d81355c15612d386c61f9ddd3922d4304822a546"
integrity sha1-2BNVwVYS04bGH53dOSLUMEgipUY=
dependencies:
caller-path "^2.0.0"
@@ -8150,7 +7865,7 @@ import-fresh@^2.0.0:
import-fresh@^3.0.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/import-fresh/-/import-fresh-3.1.0.tgz#6d33fa1dcef6df930fae003446f33415af905118"
+ resolved "https://registry.npmjs.com/import-fresh/-/import-fresh-3.1.0.tgz#6d33fa1dcef6df930fae003446f33415af905118"
integrity sha1-bTP6Hc7235MPrgA0RvM0Fa+QURg=
dependencies:
parent-module "^1.0.0"
@@ -8158,14 +7873,14 @@ import-fresh@^3.0.0:
import-from@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1"
+ resolved "https://registry.npmjs.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1"
integrity sha1-M1238qev/VOqpHHUuAId7ja387E=
dependencies:
resolve-from "^3.0.0"
import-local@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d"
+ resolved "https://registry.npmjs.com/import-local/-/import-local-2.0.0.tgz#55070be38a5993cf18ef6db7e961f5bee5c5a09d"
integrity sha1-VQcL44pZk88Y72236WH1vuXFoJ0=
dependencies:
pkg-dir "^3.0.0"
@@ -8173,34 +7888,34 @@ import-local@^2.0.0:
imurmurhash@^0.1.4:
version "0.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
+ resolved "https://registry.npmjs.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
indent-string@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80"
+ resolved "https://registry.npmjs.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80"
integrity sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=
dependencies:
repeating "^2.0.0"
indent-string@^3.0.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
+ resolved "https://registry.npmjs.com/indent-string/-/indent-string-3.2.0.tgz#4a5fd6d27cc332f37e5419a504dbb837105c9289"
integrity sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=
indexes-of@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607"
+ resolved "https://registry.npmjs.com/indexes-of/-/indexes-of-1.0.1.tgz#f30f716c8e2bd346c7b67d3df3915566a7c05607"
integrity sha1-8w9xbI4r00bHtn0985FVZqfAVgc=
infer-owner@^1.0.3, infer-owner@^1.0.4:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467"
+ resolved "https://registry.npmjs.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467"
integrity sha1-xM78qo5RBRwqQLos6KPScpWvlGc=
inflight@^1.0.4:
version "1.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
+ resolved "https://registry.npmjs.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
dependencies:
once "^1.3.0"
@@ -8208,32 +7923,32 @@ inflight@^1.0.4:
inherits@1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b"
+ resolved "https://registry.npmjs.com/inherits/-/inherits-1.0.2.tgz#ca4309dadee6b54cc0b8d247e8d7c7a0975bdc9b"
integrity sha1-ykMJ2t7mtUzAuNJH6NfHoJdb3Js=
inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.1, inherits@~2.0.3:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
+ resolved "https://registry.npmjs.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=
inherits@2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
+ resolved "https://registry.npmjs.com/inherits/-/inherits-2.0.1.tgz#b17d08d326b4423e568eff719f91b0b1cbdf69f1"
integrity sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=
inherits@2.0.3:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
+ resolved "https://registry.npmjs.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=
ini@^1.3.2, ini@^1.3.4, ini@^1.3.5, ini@~1.3.0:
version "1.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
+ resolved "https://registry.npmjs.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
integrity sha1-7uJfVtscnsYIXgwid4CD9Zar+Sc=
init-package-json@^1.10.3:
version "1.10.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/init-package-json/-/init-package-json-1.10.3.tgz#45ffe2f610a8ca134f2bd1db5637b235070f6cbe"
+ resolved "https://registry.npmjs.com/init-package-json/-/init-package-json-1.10.3.tgz#45ffe2f610a8ca134f2bd1db5637b235070f6cbe"
integrity sha1-Rf/i9hCoyhNPK9HbVjeyNQcPbL4=
dependencies:
glob "^7.1.1"
@@ -8247,7 +7962,7 @@ init-package-json@^1.10.3:
inquirer@6.5.0:
version "6.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42"
+ resolved "https://registry.npmjs.com/inquirer/-/inquirer-6.5.0.tgz#2303317efc9a4ea7ec2e2df6f86569b734accf42"
integrity sha1-IwMxfvyaTqfsLi32+GVptzSsz0I=
dependencies:
ansi-escapes "^3.2.0"
@@ -8266,7 +7981,7 @@ inquirer@6.5.0:
inquirer@^6.2.0, inquirer@^6.2.2, inquirer@^6.3.1:
version "6.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca"
+ resolved "https://registry.npmjs.com/inquirer/-/inquirer-6.5.2.tgz#ad50942375d036d327ff528c08bd5fab089928ca"
integrity sha1-rVCUI3XQNtMn/1KMCL1fqwiZKMo=
dependencies:
ansi-escapes "^3.2.0"
@@ -8283,67 +7998,53 @@ inquirer@^6.2.0, inquirer@^6.2.2, inquirer@^6.3.1:
strip-ansi "^5.1.0"
through "^2.3.6"
-install-peerdeps@^1.10.2:
- version "1.10.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/install-peerdeps/-/install-peerdeps-1.10.2.tgz#b244563d1ead9229d9520729dbb015122e0382c5"
- integrity sha1-skRWPR6tkinZUgcp27AVEi4DgsU=
- dependencies:
- babel-polyfill "^6.26.0"
- cli-color "^1.2.0"
- commander "^2.11.0"
- https-proxy-agent "^2.2.1"
- promptly "^2.1.0"
- request "^2.83.0"
- request-promise-native "^1.0.5"
- semver "^5.5.0"
-
interpret@^1.0.0, interpret@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
+ resolved "https://registry.npmjs.com/interpret/-/interpret-1.2.0.tgz#d5061a6224be58e8083985f5014d844359576296"
integrity sha1-1QYaYiS+WOgIOYX1AU2EQ1lXYpY=
intl-messageformat-parser@1.4.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/intl-messageformat-parser/-/intl-messageformat-parser-1.4.0.tgz#b43d45a97468cadbe44331d74bb1e8dea44fc075"
+ resolved "https://registry.npmjs.com/intl-messageformat-parser/-/intl-messageformat-parser-1.4.0.tgz#b43d45a97468cadbe44331d74bb1e8dea44fc075"
integrity sha1-tD1FqXRoytvkQzHXS7Ho3qRPwHU=
intl-messageformat@^2.2.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/intl-messageformat/-/intl-messageformat-2.2.0.tgz#345bcd46de630b7683330c2e52177ff5eab484fc"
+ resolved "https://registry.npmjs.com/intl-messageformat/-/intl-messageformat-2.2.0.tgz#345bcd46de630b7683330c2e52177ff5eab484fc"
integrity sha1-NFvNRt5jC3aDMwwuUhd/9eq0hPw=
dependencies:
intl-messageformat-parser "1.4.0"
invariant@2.2.4, invariant@^2.2.2, invariant@^2.2.3, invariant@^2.2.4:
version "2.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
+ resolved "https://registry.npmjs.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
integrity sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=
dependencies:
loose-envify "^1.0.0"
invert-kv@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
+ resolved "https://registry.npmjs.com/invert-kv/-/invert-kv-1.0.0.tgz#104a8e4aaca6d3d8cd157a8ef8bfab2d7a3ffdb6"
integrity sha1-EEqOSqym09jNFXqO+L+rLXo//bY=
invert-kv@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02"
+ resolved "https://registry.npmjs.com/invert-kv/-/invert-kv-2.0.0.tgz#7393f5afa59ec9ff5f67a27620d11c226e3eec02"
integrity sha1-c5P1r6Weyf9fZ6J2INEcIm4+7AI=
ip@^1.1.5:
version "1.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
+ resolved "https://registry.npmjs.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a"
integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=
ipaddr.js@1.9.0:
version "1.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
+ resolved "https://registry.npmjs.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
integrity sha1-N9905DCg5HVQ/lSi3v4w2KzZX2U=
is-absolute@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576"
+ resolved "https://registry.npmjs.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576"
integrity sha1-OV4a6EsR8mrReV5zwXN45IowFXY=
dependencies:
is-relative "^1.0.0"
@@ -8351,26 +8052,26 @@ is-absolute@^1.0.0:
is-accessor-descriptor@^0.1.6:
version "0.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6"
+ resolved "https://registry.npmjs.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6"
integrity sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=
dependencies:
kind-of "^3.0.2"
is-accessor-descriptor@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656"
+ resolved "https://registry.npmjs.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656"
integrity sha1-FpwvbT3x+ZJhgHI2XJsOofaHhlY=
dependencies:
kind-of "^6.0.0"
is-alphabetical@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-alphabetical/-/is-alphabetical-1.0.3.tgz#eb04cc47219a8895d8450ace4715abff2258a1f8"
+ resolved "https://registry.npmjs.com/is-alphabetical/-/is-alphabetical-1.0.3.tgz#eb04cc47219a8895d8450ace4715abff2258a1f8"
integrity sha1-6wTMRyGaiJXYRQrORxWr/yJYofg=
is-alphanumerical@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-alphanumerical/-/is-alphanumerical-1.0.3.tgz#57ae21c374277b3defe0274c640a5704b8f6657c"
+ resolved "https://registry.npmjs.com/is-alphanumerical/-/is-alphanumerical-1.0.3.tgz#57ae21c374277b3defe0274c640a5704b8f6657c"
integrity sha1-V64hw3Qnez3v4CdMZApXBLj2ZXw=
dependencies:
is-alphabetical "^1.0.0"
@@ -8378,70 +8079,65 @@ is-alphanumerical@^1.0.0:
is-arrayish@^0.2.1:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
+ resolved "https://registry.npmjs.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
is-binary-path@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898"
+ resolved "https://registry.npmjs.com/is-binary-path/-/is-binary-path-1.0.1.tgz#75f16642b480f187a711c814161fd3a4a7655898"
integrity sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=
dependencies:
binary-extensions "^1.0.0"
-is-boolean-object@^1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-boolean-object/-/is-boolean-object-1.0.0.tgz#98f8b28030684219a95f375cfbd88ce3405dff93"
- integrity sha1-mPiygDBoQhmpXzdc+9iM40Bd/5M=
-
is-buffer@^1.0.2, is-buffer@^1.1.5, is-buffer@~1.1.1:
version "1.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
+ resolved "https://registry.npmjs.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be"
integrity sha1-76ouqdqg16suoTqXsritUf776L4=
-is-buffer@^2.0.2, is-buffer@~2.0.3:
+is-buffer@^2.0.2:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-buffer/-/is-buffer-2.0.3.tgz#4ecf3fcf749cbd1e472689e109ac66261a25e725"
+ resolved "https://registry.npmjs.com/is-buffer/-/is-buffer-2.0.3.tgz#4ecf3fcf749cbd1e472689e109ac66261a25e725"
integrity sha1-Ts8/z3ScvR5HJonhCaxmJhol5yU=
is-callable@^1.1.4:
version "1.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
+ resolved "https://registry.npmjs.com/is-callable/-/is-callable-1.1.4.tgz#1e1adf219e1eeb684d691f9d6a05ff0d30a24d75"
integrity sha1-HhrfIZ4e62hNaR+dagX/DTCiTXU=
is-ci@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
+ resolved "https://registry.npmjs.com/is-ci/-/is-ci-2.0.0.tgz#6bc6334181810e04b5c22b3d589fdca55026404c"
integrity sha1-a8YzQYGBDgS1wis9WJ/cpVAmQEw=
dependencies:
ci-info "^2.0.0"
is-data-descriptor@^0.1.4:
version "0.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
+ resolved "https://registry.npmjs.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56"
integrity sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=
dependencies:
kind-of "^3.0.2"
is-data-descriptor@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7"
+ resolved "https://registry.npmjs.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7"
integrity sha1-2Eh2Mh0Oet0DmQQGq7u9NrqSaMc=
dependencies:
kind-of "^6.0.0"
is-date-object@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
+ resolved "https://registry.npmjs.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16"
integrity sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=
is-decimal@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-decimal/-/is-decimal-1.0.3.tgz#381068759b9dc807d8c0dc0bfbae2b68e1da48b7"
+ resolved "https://registry.npmjs.com/is-decimal/-/is-decimal-1.0.3.tgz#381068759b9dc807d8c0dc0bfbae2b68e1da48b7"
integrity sha1-OBBodZudyAfYwNwL+64raOHaSLc=
is-descriptor@^0.1.0:
version "0.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca"
+ resolved "https://registry.npmjs.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca"
integrity sha1-Nm2CQN3kh8pRgjsaufB6EKeCUco=
dependencies:
is-accessor-descriptor "^0.1.6"
@@ -8450,7 +8146,7 @@ is-descriptor@^0.1.0:
is-descriptor@^1.0.0, is-descriptor@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec"
+ resolved "https://registry.npmjs.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec"
integrity sha1-OxWXRqZmBLBPjIFSS6NlxfFNhuw=
dependencies:
is-accessor-descriptor "^1.0.0"
@@ -8459,12 +8155,12 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2:
is-directory@^0.3.1:
version "0.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1"
+ resolved "https://registry.npmjs.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1"
integrity sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=
is-dom@^1.0.9:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-dom/-/is-dom-1.1.0.tgz#af1fced292742443bb59ca3f76ab5e80907b4e8a"
+ resolved "https://registry.npmjs.com/is-dom/-/is-dom-1.1.0.tgz#af1fced292742443bb59ca3f76ab5e80907b4e8a"
integrity sha1-rx/O0pJ0JEO7Wco/dqtegJB7Too=
dependencies:
is-object "^1.0.1"
@@ -8472,326 +8168,311 @@ is-dom@^1.0.9:
is-dotfile@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1"
+ resolved "https://registry.npmjs.com/is-dotfile/-/is-dotfile-1.0.3.tgz#a6a2f32ffd2dfb04f5ca25ecd0f6b83cf798a1e1"
integrity sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=
is-equal-shallow@^0.1.3:
version "0.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534"
+ resolved "https://registry.npmjs.com/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz#2238098fc221de0bcfa5d9eac4c45d638aa1c534"
integrity sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=
dependencies:
is-primitive "^2.0.0"
is-extendable@^0.1.0, is-extendable@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89"
+ resolved "https://registry.npmjs.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89"
integrity sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=
is-extendable@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4"
+ resolved "https://registry.npmjs.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4"
integrity sha1-p0cPnkJnM9gb2B4RVSZOOjUHyrQ=
dependencies:
is-plain-object "^2.0.4"
is-extglob@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0"
+ resolved "https://registry.npmjs.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0"
integrity sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=
is-extglob@^2.1.0, is-extglob@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
+ resolved "https://registry.npmjs.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
is-finite@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa"
+ resolved "https://registry.npmjs.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa"
integrity sha1-zGZ3aVYCvlUO8R6LSqYwU0K20Ko=
dependencies:
number-is-nan "^1.0.0"
is-fullwidth-code-point@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb"
+ resolved "https://registry.npmjs.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb"
integrity sha1-754xOG8DGn8NZDr4L95QxFfvAMs=
dependencies:
number-is-nan "^1.0.0"
is-fullwidth-code-point@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
+ resolved "https://registry.npmjs.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f"
integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=
is-function@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5"
+ resolved "https://registry.npmjs.com/is-function/-/is-function-1.0.1.tgz#12cfb98b65b57dd3d193a3121f5f6e2f437602b5"
integrity sha1-Es+5i2W1fdPRk6MSH19uL0N2ArU=
is-generator-fn@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
+ resolved "https://registry.npmjs.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118"
integrity sha1-fRQK3DiarzARqPKipM+m+q3/sRg=
is-glob@^2.0.0, is-glob@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863"
+ resolved "https://registry.npmjs.com/is-glob/-/is-glob-2.0.1.tgz#d096f926a3ded5600f3fdfd91198cb0888c2d863"
integrity sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=
dependencies:
is-extglob "^1.0.0"
is-glob@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
+ resolved "https://registry.npmjs.com/is-glob/-/is-glob-3.1.0.tgz#7ba5ae24217804ac70707b96922567486cc3e84a"
integrity sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=
dependencies:
is-extglob "^2.1.0"
is-glob@^4.0.0, is-glob@^4.0.1:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
+ resolved "https://registry.npmjs.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
integrity sha1-dWfb6fL14kZ7x3q4PEopSCQHpdw=
dependencies:
is-extglob "^2.1.1"
is-hexadecimal@^1.0.0:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-hexadecimal/-/is-hexadecimal-1.0.3.tgz#e8a426a69b6d31470d3a33a47bb825cda02506ee"
+ resolved "https://registry.npmjs.com/is-hexadecimal/-/is-hexadecimal-1.0.3.tgz#e8a426a69b6d31470d3a33a47bb825cda02506ee"
integrity sha1-6KQmppttMUcNOjOke7glzaAlBu4=
is-lower-case@^1.1.0:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-lower-case/-/is-lower-case-1.1.3.tgz#7e147be4768dc466db3bfb21cc60b31e6ad69393"
+ resolved "https://registry.npmjs.com/is-lower-case/-/is-lower-case-1.1.3.tgz#7e147be4768dc466db3bfb21cc60b31e6ad69393"
integrity sha1-fhR75HaNxGbbO/shzGCzHmrWk5M=
dependencies:
lower-case "^1.1.0"
-is-number-object@^1.0.3:
- version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-number-object/-/is-number-object-1.0.3.tgz#f265ab89a9f445034ef6aff15a8f00b00f551799"
- integrity sha1-8mWrian0RQNO9q/xWo8AsA9VF5k=
-
is-number@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f"
+ resolved "https://registry.npmjs.com/is-number/-/is-number-2.1.0.tgz#01fcbbb393463a548f2f466cce16dece49db908f"
integrity sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=
dependencies:
kind-of "^3.0.2"
is-number@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
+ resolved "https://registry.npmjs.com/is-number/-/is-number-3.0.0.tgz#24fd6201a4782cf50561c810276afc7d12d71195"
integrity sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=
dependencies:
kind-of "^3.0.2"
is-number@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff"
+ resolved "https://registry.npmjs.com/is-number/-/is-number-4.0.0.tgz#0026e37f5454d73e356dfe6564699867c6a7f0ff"
integrity sha1-ACbjf1RU1z41bf5lZGmYZ8an8P8=
is-obj@^1.0.0, is-obj@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
+ resolved "https://registry.npmjs.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
integrity sha1-PkcprB9f3gJc19g6iW2rn09n2w8=
is-object@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470"
+ resolved "https://registry.npmjs.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470"
integrity sha1-iVJojF7C/9awPsyF52ngKQMINHA=
is-path-cwd@^2.0.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb"
+ resolved "https://registry.npmjs.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb"
integrity sha1-Z9Q7gmZKe1GR/ZEZEn6zAASKn9s=
is-path-in-cwd@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb"
+ resolved "https://registry.npmjs.com/is-path-in-cwd/-/is-path-in-cwd-2.1.0.tgz#bfe2dca26c69f397265a4009963602935a053acb"
integrity sha1-v+Lcomxp85cmWkAJljYCk1oFOss=
dependencies:
is-path-inside "^2.1.0"
is-path-inside@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2"
+ resolved "https://registry.npmjs.com/is-path-inside/-/is-path-inside-2.1.0.tgz#7c9810587d659a40d27bcdb4d5616eab059494b2"
integrity sha1-fJgQWH1lmkDSe8201WFuqwWUlLI=
dependencies:
path-is-inside "^1.0.2"
is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
+ resolved "https://registry.npmjs.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"
integrity sha1-caUMhCnfync8kqOQpKA7OfzVHT4=
is-plain-object@3.0.0, is-plain-object@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-plain-object/-/is-plain-object-3.0.0.tgz#47bfc5da1b5d50d64110806c199359482e75a928"
+ resolved "https://registry.npmjs.com/is-plain-object/-/is-plain-object-3.0.0.tgz#47bfc5da1b5d50d64110806c199359482e75a928"
integrity sha1-R7/F2htdUNZBEIBsGZNZSC51qSg=
dependencies:
isobject "^4.0.0"
is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
+ resolved "https://registry.npmjs.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677"
integrity sha1-LBY7P6+xtgbZ0Xko8FwqHDjgdnc=
dependencies:
isobject "^3.0.1"
is-posix-bracket@^0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4"
+ resolved "https://registry.npmjs.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4"
integrity sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=
is-primitive@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575"
+ resolved "https://registry.npmjs.com/is-primitive/-/is-primitive-2.0.0.tgz#207bab91638499c07b2adf240a41a87210034575"
integrity sha1-IHurkWOEmcB7Kt8kCkGochADRXU=
-is-promise@^2.1, is-promise@^2.1.0:
+is-promise@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa"
+ resolved "https://registry.npmjs.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa"
integrity sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=
is-regex@^1.0.4:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
+ resolved "https://registry.npmjs.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491"
integrity sha1-VRdIm1RwkbCTDglWVM7SXul+lJE=
dependencies:
has "^1.0.1"
is-regexp@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
+ resolved "https://registry.npmjs.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069"
integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk=
is-relative@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d"
+ resolved "https://registry.npmjs.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d"
integrity sha1-obtpNc6MXboei5dUubLcwCDiJg0=
dependencies:
is-unc-path "^1.0.0"
is-root@2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c"
+ resolved "https://registry.npmjs.com/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c"
integrity sha1-gJ4YEpzxEpZEMCpPhUQDXVGYSpw=
is-ssh@^1.3.0:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3"
+ resolved "https://registry.npmjs.com/is-ssh/-/is-ssh-1.3.1.tgz#f349a8cadd24e65298037a522cf7520f2e81a0f3"
integrity sha1-80moyt0k5lKYA3pSLPdSDy6BoPM=
dependencies:
protocols "^1.1.0"
is-stream@^1.0.1, is-stream@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
+ resolved "https://registry.npmjs.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
-is-string@^1.0.4:
- version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-string/-/is-string-1.0.4.tgz#cc3a9b69857d621e963725a24caeec873b826e64"
- integrity sha1-zDqbaYV9Yh6WNyWiTK7shzuCbmQ=
-
-is-subset@^0.1.1:
- version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6"
- integrity sha1-ilkRfZMt4d4A8kX83TnOQ/HpOaY=
-
is-symbol@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
+ resolved "https://registry.npmjs.com/is-symbol/-/is-symbol-1.0.2.tgz#a055f6ae57192caee329e7a860118b497a950f38"
integrity sha1-oFX2rlcZLK7jKeeoYBGLSXqVDzg=
dependencies:
has-symbols "^1.0.0"
is-text-path@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636"
+ resolved "https://registry.npmjs.com/is-text-path/-/is-text-path-2.0.0.tgz#b2484e2b720a633feb2e85b67dc193ff72c75636"
integrity sha1-skhOK3IKYz/rLoW2fcGT/3LHVjY=
dependencies:
text-extensions "^2.0.0"
is-typedarray@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
+ resolved "https://registry.npmjs.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
is-unc-path@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d"
+ resolved "https://registry.npmjs.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d"
integrity sha1-1zHoiY7QkKEsNSrS6u1Qla0yLJ0=
dependencies:
unc-path-regex "^0.1.2"
is-upper-case@^1.1.0:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-upper-case/-/is-upper-case-1.1.2.tgz#8d0b1fa7e7933a1e58483600ec7d9661cbaf756f"
+ resolved "https://registry.npmjs.com/is-upper-case/-/is-upper-case-1.1.2.tgz#8d0b1fa7e7933a1e58483600ec7d9661cbaf756f"
integrity sha1-jQsfp+eTOh5YSDYA7H2WYcuvdW8=
dependencies:
upper-case "^1.1.0"
is-utf8@^0.2.0:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
+ resolved "https://registry.npmjs.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
integrity sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=
is-window@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-window/-/is-window-1.0.2.tgz#2c896ca53db97de45d3c33133a65d8c9f563480d"
+ resolved "https://registry.npmjs.com/is-window/-/is-window-1.0.2.tgz#2c896ca53db97de45d3c33133a65d8c9f563480d"
integrity sha1-LIlspT25feRdPDMTOmXYyfVjSA0=
is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
+ resolved "https://registry.npmjs.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
integrity sha1-0YUOuXkezRjmGCzhKjDzlmNLsZ0=
is-wsl@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
+ resolved "https://registry.npmjs.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d"
integrity sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=
isarray@0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
+ resolved "https://registry.npmjs.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf"
integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=
isarray@1.0.0, isarray@^1.0.0, isarray@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
+ resolved "https://registry.npmjs.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
isbinaryfile@^4.0.1:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isbinaryfile/-/isbinaryfile-4.0.2.tgz#bfc45642da645681c610cca831022e30af426488"
+ resolved "https://registry.npmjs.com/isbinaryfile/-/isbinaryfile-4.0.2.tgz#bfc45642da645681c610cca831022e30af426488"
integrity sha1-v8RWQtpkVoHGEMyoMQIuMK9CZIg=
isexe@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
+ resolved "https://registry.npmjs.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=
isobject@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89"
+ resolved "https://registry.npmjs.com/isobject/-/isobject-2.1.0.tgz#f065561096a3f1da2ef46272f815c840d87e0c89"
integrity sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=
dependencies:
isarray "1.0.0"
isobject@^3.0.0, isobject@^3.0.1:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
+ resolved "https://registry.npmjs.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
isobject@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isobject/-/isobject-4.0.0.tgz#3f1c9155e73b192022a80819bacd0343711697b0"
+ resolved "https://registry.npmjs.com/isobject/-/isobject-4.0.0.tgz#3f1c9155e73b192022a80819bacd0343711697b0"
integrity sha1-PxyRVec7GSAiqAgZus0DQ3EWl7A=
isomorphic-fetch@^2.1.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9"
+ resolved "https://registry.npmjs.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9"
integrity sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=
dependencies:
node-fetch "^1.0.1"
@@ -8799,29 +8480,29 @@ isomorphic-fetch@^2.1.1:
isstream@~0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
+ resolved "https://registry.npmjs.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
integrity sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=
istanbul-lib-coverage@^1.1.0, istanbul-lib-coverage@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0"
+ resolved "https://registry.npmjs.com/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz#ccf7edcd0a0bb9b8f729feeb0930470f9af664f0"
integrity sha1-zPftzQoLubj3Kf7rCTBHD5r2ZPA=
istanbul-lib-coverage@^2.0.2, istanbul-lib-coverage@^2.0.5:
version "2.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49"
+ resolved "https://registry.npmjs.com/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz#675f0ab69503fad4b1d849f736baaca803344f49"
integrity sha1-Z18KtpUD+tSx2En3NrqsqAM0T0k=
istanbul-lib-hook@^1.0.6:
version "1.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86"
+ resolved "https://registry.npmjs.com/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz#bc6bf07f12a641fbf1c85391d0daa8f0aea6bf86"
integrity sha1-vGvwfxKmQfvxyFOR0Nqo8K6mv4Y=
dependencies:
append-transform "^0.4.0"
istanbul-lib-instrument@^1.7.1:
version "1.10.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz#1f55ed10ac3c47f2bdddd5307935126754d0a9ca"
+ resolved "https://registry.npmjs.com/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz#1f55ed10ac3c47f2bdddd5307935126754d0a9ca"
integrity sha1-H1XtEKw8R/K93dUweTUSZ1TQqco=
dependencies:
babel-generator "^6.18.0"
@@ -8834,7 +8515,7 @@ istanbul-lib-instrument@^1.7.1:
istanbul-lib-instrument@^3.0.1, istanbul-lib-instrument@^3.3.0:
version "3.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz#a5f63d91f0bbc0c3e479ef4c5de027335ec6d630"
+ resolved "https://registry.npmjs.com/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz#a5f63d91f0bbc0c3e479ef4c5de027335ec6d630"
integrity sha1-pfY9kfC7wMPkee9MXeAnM17G1jA=
dependencies:
"@babel/generator" "^7.4.0"
@@ -8847,7 +8528,7 @@ istanbul-lib-instrument@^3.0.1, istanbul-lib-instrument@^3.3.0:
istanbul-lib-report@^1.1.0:
version "1.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c"
+ resolved "https://registry.npmjs.com/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz#f2a657fc6282f96170aaf281eb30a458f7f4170c"
integrity sha1-8qZX/GKC+WFwqvKB6zCkWPf0Fww=
dependencies:
istanbul-lib-coverage "^1.2.1"
@@ -8857,7 +8538,7 @@ istanbul-lib-report@^1.1.0:
istanbul-lib-report@^2.0.4:
version "2.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33"
+ resolved "https://registry.npmjs.com/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz#5a8113cd746d43c4889eba36ab10e7d50c9b4f33"
integrity sha1-WoETzXRtQ8SInro2qxDn1QybTzM=
dependencies:
istanbul-lib-coverage "^2.0.5"
@@ -8866,7 +8547,7 @@ istanbul-lib-report@^2.0.4:
istanbul-lib-source-maps@^1.2.0:
version "1.2.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz#37b9ff661580f8fca11232752ee42e08c6675d8f"
+ resolved "https://registry.npmjs.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz#37b9ff661580f8fca11232752ee42e08c6675d8f"
integrity sha1-N7n/ZhWA+PyhEjJ1LuQuCMZnXY8=
dependencies:
debug "^3.1.0"
@@ -8877,7 +8558,7 @@ istanbul-lib-source-maps@^1.2.0:
istanbul-lib-source-maps@^3.0.1:
version "3.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz#284997c48211752ec486253da97e3879defba8c8"
+ resolved "https://registry.npmjs.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz#284997c48211752ec486253da97e3879defba8c8"
integrity sha1-KEmXxIIRdS7EhiU9qX44ed77qMg=
dependencies:
debug "^4.1.1"
@@ -8888,26 +8569,26 @@ istanbul-lib-source-maps@^3.0.1:
istanbul-reports@^1.1.0:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a"
+ resolved "https://registry.npmjs.com/istanbul-reports/-/istanbul-reports-1.5.1.tgz#97e4dbf3b515e8c484caea15d6524eebd3ff4e1a"
integrity sha1-l+Tb87UV6MSEyuoV1lJO69P/Tho=
dependencies:
handlebars "^4.0.3"
istanbul-reports@^2.2.6:
version "2.2.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af"
+ resolved "https://registry.npmjs.com/istanbul-reports/-/istanbul-reports-2.2.6.tgz#7b4f2660d82b29303a8fe6091f8ca4bf058da1af"
integrity sha1-e08mYNgrKTA6j+YJH4ykvwWNoa8=
dependencies:
handlebars "^4.1.2"
java-properties@^0.2.9:
version "0.2.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/java-properties/-/java-properties-0.2.10.tgz#2551560c25fa1ad94d998218178f233ad9b18f60"
+ resolved "https://registry.npmjs.com/java-properties/-/java-properties-0.2.10.tgz#2551560c25fa1ad94d998218178f233ad9b18f60"
integrity sha1-JVFWDCX6GtlNmYIYF48jOtmxj2A=
jest-changed-files@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-changed-files/-/jest-changed-files-24.9.0.tgz#08d8c15eb79a7fa3fc98269bc14b451ee82f8039"
+ resolved "https://registry.npmjs.com/jest-changed-files/-/jest-changed-files-24.9.0.tgz#08d8c15eb79a7fa3fc98269bc14b451ee82f8039"
integrity sha1-CNjBXreaf6P8mCabwUtFHugvgDk=
dependencies:
"@jest/types" "^24.9.0"
@@ -8916,7 +8597,7 @@ jest-changed-files@^24.9.0:
jest-cli@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-cli/-/jest-cli-24.9.0.tgz#ad2de62d07472d419c6abc301fc432b98b10d2af"
+ resolved "https://registry.npmjs.com/jest-cli/-/jest-cli-24.9.0.tgz#ad2de62d07472d419c6abc301fc432b98b10d2af"
integrity sha1-rS3mLQdHLUGcarwwH8QyuYsQ0q8=
dependencies:
"@jest/core" "^24.9.0"
@@ -8935,7 +8616,7 @@ jest-cli@^24.9.0:
jest-config@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-config/-/jest-config-24.9.0.tgz#fb1bbc60c73a46af03590719efa4825e6e4dd1b5"
+ resolved "https://registry.npmjs.com/jest-config/-/jest-config-24.9.0.tgz#fb1bbc60c73a46af03590719efa4825e6e4dd1b5"
integrity sha1-+xu8YMc6Rq8DWQcZ76SCXm5N0bU=
dependencies:
"@babel/core" "^7.1.0"
@@ -8958,7 +8639,7 @@ jest-config@^24.9.0:
jest-diff@^24.0.0, jest-diff@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da"
+ resolved "https://registry.npmjs.com/jest-diff/-/jest-diff-24.9.0.tgz#931b7d0d5778a1baf7452cb816e325e3724055da"
integrity sha1-kxt9DVd4obr3RSy4FuMl43JAVdo=
dependencies:
chalk "^2.0.1"
@@ -8968,14 +8649,14 @@ jest-diff@^24.0.0, jest-diff@^24.9.0:
jest-docblock@^24.3.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-docblock/-/jest-docblock-24.9.0.tgz#7970201802ba560e1c4092cc25cbedf5af5a8ce2"
+ resolved "https://registry.npmjs.com/jest-docblock/-/jest-docblock-24.9.0.tgz#7970201802ba560e1c4092cc25cbedf5af5a8ce2"
integrity sha1-eXAgGAK6Vg4cQJLMJcvt9a9ajOI=
dependencies:
detect-newline "^2.1.0"
jest-dom@^3.1.3:
version "3.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-dom/-/jest-dom-3.5.0.tgz#715908b545c0d66a0eba9d21fc59357fac024f43"
+ resolved "https://registry.npmjs.com/jest-dom/-/jest-dom-3.5.0.tgz#715908b545c0d66a0eba9d21fc59357fac024f43"
integrity sha1-cVkItUXA1moOup0h/Fk1f6wCT0M=
dependencies:
chalk "^2.4.1"
@@ -8989,7 +8670,7 @@ jest-dom@^3.1.3:
jest-each@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-each/-/jest-each-24.9.0.tgz#eb2da602e2a610898dbc5f1f6df3ba86b55f8b05"
+ resolved "https://registry.npmjs.com/jest-each/-/jest-each-24.9.0.tgz#eb2da602e2a610898dbc5f1f6df3ba86b55f8b05"
integrity sha1-6y2mAuKmEImNvF8fbfO6hrVfiwU=
dependencies:
"@jest/types" "^24.9.0"
@@ -9000,7 +8681,7 @@ jest-each@^24.9.0:
jest-environment-jsdom@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz#4b0806c7fc94f95edb369a69cc2778eec2b7375b"
+ resolved "https://registry.npmjs.com/jest-environment-jsdom/-/jest-environment-jsdom-24.9.0.tgz#4b0806c7fc94f95edb369a69cc2778eec2b7375b"
integrity sha1-SwgGx/yU+V7bNpppzCd47sK3N1s=
dependencies:
"@jest/environment" "^24.9.0"
@@ -9012,7 +8693,7 @@ jest-environment-jsdom@^24.9.0:
jest-environment-node@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-environment-node/-/jest-environment-node-24.9.0.tgz#333d2d2796f9687f2aeebf0742b519f33c1cbfd3"
+ resolved "https://registry.npmjs.com/jest-environment-node/-/jest-environment-node-24.9.0.tgz#333d2d2796f9687f2aeebf0742b519f33c1cbfd3"
integrity sha1-Mz0tJ5b5aH8q7r8HQrUZ8zwcv9M=
dependencies:
"@jest/environment" "^24.9.0"
@@ -9023,12 +8704,12 @@ jest-environment-node@^24.9.0:
jest-get-type@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e"
+ resolved "https://registry.npmjs.com/jest-get-type/-/jest-get-type-24.9.0.tgz#1684a0c8a50f2e4901b6644ae861f579eed2ef0e"
integrity sha1-FoSgyKUPLkkBtmRK6GH1ee7S7w4=
jest-haste-map@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-haste-map/-/jest-haste-map-24.9.0.tgz#b38a5d64274934e21fa417ae9a9fbeb77ceaac7d"
+ resolved "https://registry.npmjs.com/jest-haste-map/-/jest-haste-map-24.9.0.tgz#b38a5d64274934e21fa417ae9a9fbeb77ceaac7d"
integrity sha1-s4pdZCdJNOIfpBeump++t3zqrH0=
dependencies:
"@jest/types" "^24.9.0"
@@ -9047,7 +8728,7 @@ jest-haste-map@^24.9.0:
jest-jasmine2@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz#1f7b1bd3242c1774e62acabb3646d96afc3be6a0"
+ resolved "https://registry.npmjs.com/jest-jasmine2/-/jest-jasmine2-24.9.0.tgz#1f7b1bd3242c1774e62acabb3646d96afc3be6a0"
integrity sha1-H3sb0yQsF3TmKsq7NkbZavw75qA=
dependencies:
"@babel/traverse" "^7.1.0"
@@ -9069,7 +8750,7 @@ jest-jasmine2@^24.9.0:
jest-leak-detector@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a"
+ resolved "https://registry.npmjs.com/jest-leak-detector/-/jest-leak-detector-24.9.0.tgz#b665dea7c77100c5c4f7dfcb153b65cf07dcf96a"
integrity sha1-tmXep8dxAMXE99/LFTtlzwfc+Wo=
dependencies:
jest-get-type "^24.9.0"
@@ -9077,7 +8758,7 @@ jest-leak-detector@^24.9.0:
jest-matcher-utils@^24.0.0, jest-matcher-utils@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073"
+ resolved "https://registry.npmjs.com/jest-matcher-utils/-/jest-matcher-utils-24.9.0.tgz#f5b3661d5e628dffe6dd65251dfdae0e87c3a073"
integrity sha1-9bNmHV5ijf/m3WUlHf2uDofDoHM=
dependencies:
chalk "^2.0.1"
@@ -9087,7 +8768,7 @@ jest-matcher-utils@^24.0.0, jest-matcher-utils@^24.9.0:
jest-message-util@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3"
+ resolved "https://registry.npmjs.com/jest-message-util/-/jest-message-util-24.9.0.tgz#527f54a1e380f5e202a8d1149b0ec872f43119e3"
integrity sha1-Un9UoeOA9eICqNEUmw7IcvQxGeM=
dependencies:
"@babel/code-frame" "^7.0.0"
@@ -9101,24 +8782,24 @@ jest-message-util@^24.9.0:
jest-mock@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-mock/-/jest-mock-24.9.0.tgz#c22835541ee379b908673ad51087a2185c13f1c6"
+ resolved "https://registry.npmjs.com/jest-mock/-/jest-mock-24.9.0.tgz#c22835541ee379b908673ad51087a2185c13f1c6"
integrity sha1-wig1VB7jebkIZzrVEIeiGFwT8cY=
dependencies:
"@jest/types" "^24.9.0"
jest-pnp-resolver@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a"
+ resolved "https://registry.npmjs.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.1.tgz#ecdae604c077a7fbc70defb6d517c3c1c898923a"
integrity sha1-7NrmBMB3p/vHDe+21RfDwciYkjo=
jest-regex-util@^24.3.0, jest-regex-util@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636"
+ resolved "https://registry.npmjs.com/jest-regex-util/-/jest-regex-util-24.9.0.tgz#c13fb3380bde22bf6575432c493ea8fe37965636"
integrity sha1-wT+zOAveIr9ldUMsST6o/jeWVjY=
jest-resolve-dependencies@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz#ad055198959c4cfba8a4f066c673a3f0786507ab"
+ resolved "https://registry.npmjs.com/jest-resolve-dependencies/-/jest-resolve-dependencies-24.9.0.tgz#ad055198959c4cfba8a4f066c673a3f0786507ab"
integrity sha1-rQVRmJWcTPuopPBmxnOj8HhlB6s=
dependencies:
"@jest/types" "^24.9.0"
@@ -9127,7 +8808,7 @@ jest-resolve-dependencies@^24.9.0:
jest-resolve@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-resolve/-/jest-resolve-24.9.0.tgz#dff04c7687af34c4dd7e524892d9cf77e5d17321"
+ resolved "https://registry.npmjs.com/jest-resolve/-/jest-resolve-24.9.0.tgz#dff04c7687af34c4dd7e524892d9cf77e5d17321"
integrity sha1-3/BMdoevNMTdflJIktnPd+XRcyE=
dependencies:
"@jest/types" "^24.9.0"
@@ -9138,7 +8819,7 @@ jest-resolve@^24.9.0:
jest-runner@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-runner/-/jest-runner-24.9.0.tgz#574fafdbd54455c2b34b4bdf4365a23857fcdf42"
+ resolved "https://registry.npmjs.com/jest-runner/-/jest-runner-24.9.0.tgz#574fafdbd54455c2b34b4bdf4365a23857fcdf42"
integrity sha1-V0+v29VEVcKzS0vfQ2WiOFf830I=
dependencies:
"@jest/console" "^24.7.1"
@@ -9163,7 +8844,7 @@ jest-runner@^24.9.0:
jest-runtime@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-runtime/-/jest-runtime-24.9.0.tgz#9f14583af6a4f7314a6a9d9f0226e1a781c8e4ac"
+ resolved "https://registry.npmjs.com/jest-runtime/-/jest-runtime-24.9.0.tgz#9f14583af6a4f7314a6a9d9f0226e1a781c8e4ac"
integrity sha1-nxRYOvak9zFKap2fAibhp4HI5Kw=
dependencies:
"@jest/console" "^24.7.1"
@@ -9192,12 +8873,12 @@ jest-runtime@^24.9.0:
jest-serializer@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73"
+ resolved "https://registry.npmjs.com/jest-serializer/-/jest-serializer-24.9.0.tgz#e6d7d7ef96d31e8b9079a714754c5d5c58288e73"
integrity sha1-5tfX75bTHouQeacUdUxdXFgojnM=
jest-snapshot@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-snapshot/-/jest-snapshot-24.9.0.tgz#ec8e9ca4f2ec0c5c87ae8f925cf97497b0e951ba"
+ resolved "https://registry.npmjs.com/jest-snapshot/-/jest-snapshot-24.9.0.tgz#ec8e9ca4f2ec0c5c87ae8f925cf97497b0e951ba"
integrity sha1-7I6cpPLsDFyHro+SXPl0l7DpUbo=
dependencies:
"@babel/types" "^7.0.0"
@@ -9216,7 +8897,7 @@ jest-snapshot@^24.9.0:
jest-util@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-util/-/jest-util-24.9.0.tgz#7396814e48536d2e85a37de3e4c431d7cb140162"
+ resolved "https://registry.npmjs.com/jest-util/-/jest-util-24.9.0.tgz#7396814e48536d2e85a37de3e4c431d7cb140162"
integrity sha1-c5aBTkhTbS6Fo33j5MQx18sUAWI=
dependencies:
"@jest/console" "^24.9.0"
@@ -9234,7 +8915,7 @@ jest-util@^24.9.0:
jest-validate@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab"
+ resolved "https://registry.npmjs.com/jest-validate/-/jest-validate-24.9.0.tgz#0775c55360d173cd854e40180756d4ff52def8ab"
integrity sha1-B3XFU2DRc82FTkAYB1bU/1Le+Ks=
dependencies:
"@jest/types" "^24.9.0"
@@ -9246,7 +8927,7 @@ jest-validate@^24.9.0:
jest-watcher@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-watcher/-/jest-watcher-24.9.0.tgz#4b56e5d1ceff005f5b88e528dc9afc8dd4ed2b3b"
+ resolved "https://registry.npmjs.com/jest-watcher/-/jest-watcher-24.9.0.tgz#4b56e5d1ceff005f5b88e528dc9afc8dd4ed2b3b"
integrity sha1-S1bl0c7/AF9biOUo3Jr8jdTtKzs=
dependencies:
"@jest/test-result" "^24.9.0"
@@ -9259,7 +8940,7 @@ jest-watcher@^24.9.0:
jest-worker@^24.6.0, jest-worker@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"
+ resolved "https://registry.npmjs.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"
integrity sha1-Xb/bWy0yLphWeJgjipaXvM5ns+U=
dependencies:
merge-stream "^2.0.0"
@@ -9267,7 +8948,7 @@ jest-worker@^24.6.0, jest-worker@^24.9.0:
jest@^24.7.1:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jest/-/jest-24.9.0.tgz#987d290c05a08b52c56188c1002e368edb007171"
+ resolved "https://registry.npmjs.com/jest/-/jest-24.9.0.tgz#987d290c05a08b52c56188c1002e368edb007171"
integrity sha1-mH0pDAWgi1LFYYjBAC42jtsAcXE=
dependencies:
import-local "^2.0.0"
@@ -9275,22 +8956,22 @@ jest@^24.7.1:
js-levenshtein@^1.1.3:
version "1.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
+ resolved "https://registry.npmjs.com/js-levenshtein/-/js-levenshtein-1.1.6.tgz#c6cee58eb3550372df8deb85fad5ce66ce01d59d"
integrity sha1-xs7ljrNVA3LfjeuF+tXOZs4B1Z0=
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
+ resolved "https://registry.npmjs.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha1-GSA/tZmR35jjoocFDUZHzerzJJk=
js-tokens@^3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
+ resolved "https://registry.npmjs.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls=
-js-yaml@3.13.1, js-yaml@^3.13.0, js-yaml@^3.13.1:
+js-yaml@^3.13.0, js-yaml@^3.13.1:
version "3.13.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
+ resolved "https://registry.npmjs.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847"
integrity sha1-r/FRswv9+o5J4F2iLnQV6d+jeEc=
dependencies:
argparse "^1.0.7"
@@ -9298,12 +8979,12 @@ js-yaml@3.13.1, js-yaml@^3.13.0, js-yaml@^3.13.1:
jsbn@~0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
+ resolved "https://registry.npmjs.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
jsdom@^11.5.1:
version "11.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsdom/-/jsdom-11.12.0.tgz#1a80d40ddd378a1de59656e9e6dc5a3ba8657bc8"
+ resolved "https://registry.npmjs.com/jsdom/-/jsdom-11.12.0.tgz#1a80d40ddd378a1de59656e9e6dc5a3ba8657bc8"
integrity sha1-GoDUDd03ih3lllbp5txaO6hle8g=
dependencies:
abab "^2.0.0"
@@ -9335,7 +9016,7 @@ jsdom@^11.5.1:
jsdom@^9.8.0:
version "9.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4"
+ resolved "https://registry.npmjs.com/jsdom/-/jsdom-9.12.0.tgz#e8c546fffcb06c00d4833ca84410fed7f8a097d4"
integrity sha1-6MVG//ywbADUgzyoRBD+1/igl9Q=
dependencies:
abab "^1.0.3"
@@ -9360,95 +9041,95 @@ jsdom@^9.8.0:
jsesc@^1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
+ resolved "https://registry.npmjs.com/jsesc/-/jsesc-1.3.0.tgz#46c3fec8c1892b12b0833db9bc7622176dbab34b"
integrity sha1-RsP+yMGJKxKwgz25vHYiF226s0s=
jsesc@^2.5.1:
version "2.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
+ resolved "https://registry.npmjs.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4"
integrity sha1-gFZNLkg9rPbo7yCWUKZ98/DCg6Q=
jsesc@~0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
+ resolved "https://registry.npmjs.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d"
integrity sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=
json-parse-better-errors@^1.0.0, json-parse-better-errors@^1.0.1, json-parse-better-errors@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
+ resolved "https://registry.npmjs.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
integrity sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk=
json-schema-traverse@^0.4.1:
version "0.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
+ resolved "https://registry.npmjs.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660"
integrity sha1-afaofZUTq4u4/mO9sJecRI5oRmA=
json-schema@0.2.3:
version "0.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
+ resolved "https://registry.npmjs.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
integrity sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=
json-stable-stringify-without-jsonify@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
+ resolved "https://registry.npmjs.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651"
integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=
json-stringify-safe@5.0.x, json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
+ resolved "https://registry.npmjs.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
integrity sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=
json3@^3.3.2:
version "3.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81"
+ resolved "https://registry.npmjs.com/json3/-/json3-3.3.3.tgz#7fc10e375fc5ae42c4705a5cc0aa6f62be305b81"
integrity sha1-f8EON1/FrkLEcFpcwKpvYr4wW4E=
json5@^0.5.0:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
+ resolved "https://registry.npmjs.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821"
integrity sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=
json5@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"
+ resolved "https://registry.npmjs.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe"
integrity sha1-d5+wAYYE+oVOrL9iUhgNg1Q+Pb4=
dependencies:
minimist "^1.2.0"
json5@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/json5/-/json5-2.1.0.tgz#e7a0c62c48285c628d20a10b85c89bb807c32850"
+ resolved "https://registry.npmjs.com/json5/-/json5-2.1.0.tgz#e7a0c62c48285c628d20a10b85c89bb807c32850"
integrity sha1-56DGLEgoXGKNIKELhcibuAfDKFA=
dependencies:
minimist "^1.2.0"
jsonfile@^2.1.0:
version "2.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8"
+ resolved "https://registry.npmjs.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8"
integrity sha1-NzaitCi4e72gzIO1P6PWM6NcKug=
optionalDependencies:
graceful-fs "^4.1.6"
jsonfile@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
+ resolved "https://registry.npmjs.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
integrity sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=
optionalDependencies:
graceful-fs "^4.1.6"
jsonify@~0.0.0:
version "0.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
+ resolved "https://registry.npmjs.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
integrity sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=
jsonparse@^1.2.0:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
+ resolved "https://registry.npmjs.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=
jsprim@^1.2.2:
version "1.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
+ resolved "https://registry.npmjs.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2"
integrity sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=
dependencies:
assert-plus "1.0.0"
@@ -9458,7 +9139,7 @@ jsprim@^1.2.2:
jsx-ast-utils@^2.1.0, jsx-ast-utils@^2.2.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz#4d4973ebf8b9d2837ee91a8208cc66f3a2776cfb"
+ resolved "https://registry.npmjs.com/jsx-ast-utils/-/jsx-ast-utils-2.2.1.tgz#4d4973ebf8b9d2837ee91a8208cc66f3a2776cfb"
integrity sha1-TUlz6/i50oN+6RqCCMxm86J3bPs=
dependencies:
array-includes "^3.0.3"
@@ -9466,55 +9147,55 @@ jsx-ast-utils@^2.1.0, jsx-ast-utils@^2.2.1:
just-extend@^4.0.2:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/just-extend/-/just-extend-4.0.2.tgz#f3f47f7dfca0f989c55410a7ebc8854b07108afc"
+ resolved "https://registry.npmjs.com/just-extend/-/just-extend-4.0.2.tgz#f3f47f7dfca0f989c55410a7ebc8854b07108afc"
integrity sha1-8/R/ffyg+YnFVBCn68iFSwcQivw=
kind-of@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/kind-of/-/kind-of-2.0.1.tgz#018ec7a4ce7e3a86cb9141be519d24c8faa981b5"
+ resolved "https://registry.npmjs.com/kind-of/-/kind-of-2.0.1.tgz#018ec7a4ce7e3a86cb9141be519d24c8faa981b5"
integrity sha1-AY7HpM5+OobLkUG+UZ0kyPqpgbU=
dependencies:
is-buffer "^1.0.2"
kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0:
version "3.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
+ resolved "https://registry.npmjs.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64"
integrity sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=
dependencies:
is-buffer "^1.1.5"
kind-of@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57"
+ resolved "https://registry.npmjs.com/kind-of/-/kind-of-4.0.0.tgz#20813df3d712928b207378691a45066fae72dd57"
integrity sha1-IIE989cSkosgc3hpGkUGb65y3Vc=
dependencies:
is-buffer "^1.1.5"
kind-of@^5.0.0:
version "5.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d"
+ resolved "https://registry.npmjs.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d"
integrity sha1-cpyR4thXt6QZofmqZWhcTDP1hF0=
kind-of@^6.0.0, kind-of@^6.0.2:
version "6.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051"
+ resolved "https://registry.npmjs.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051"
integrity sha1-ARRrNqYhjmTljzqNZt5df8b20FE=
klaw@^1.0.0:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439"
+ resolved "https://registry.npmjs.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439"
integrity sha1-QIhDO0azsbolnXh4XY6W9zugJDk=
optionalDependencies:
graceful-fs "^4.1.9"
kleur@^3.0.3:
version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
+ resolved "https://registry.npmjs.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e"
integrity sha1-p5yezIbuHOP6YgbRIWxQHxR/wH4=
knox@0.x:
version "0.9.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/knox/-/knox-0.9.2.tgz#3736593669e24f024fdaf723b6a1dc4afd839a71"
+ resolved "https://registry.npmjs.com/knox/-/knox-0.9.2.tgz#3736593669e24f024fdaf723b6a1dc4afd839a71"
integrity sha1-NzZZNmniTwJP2vcjtqHcSv2DmnE=
dependencies:
debug "^1.0.2"
@@ -9525,17 +9206,17 @@ knox@0.x:
lazy-cache@^0.2.3:
version "0.2.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lazy-cache/-/lazy-cache-0.2.7.tgz#7feddf2dcb6edb77d11ef1d117ab5ffdf0ab1b65"
+ resolved "https://registry.npmjs.com/lazy-cache/-/lazy-cache-0.2.7.tgz#7feddf2dcb6edb77d11ef1d117ab5ffdf0ab1b65"
integrity sha1-f+3fLctu23fRHvHRF6tf/fCrG2U=
lazy-cache@^1.0.3:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"
+ resolved "https://registry.npmjs.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e"
integrity sha1-odePw6UEdMuAhF07O24dpJpEbo4=
lazy-universal-dotenv@^3.0.0:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lazy-universal-dotenv/-/lazy-universal-dotenv-3.0.1.tgz#a6c8938414bca426ab8c9463940da451a911db38"
+ resolved "https://registry.npmjs.com/lazy-universal-dotenv/-/lazy-universal-dotenv-3.0.1.tgz#a6c8938414bca426ab8c9463940da451a911db38"
integrity sha1-psiThBS8pCarjJRjlA2kUakR2zg=
dependencies:
"@babel/runtime" "^7.5.0"
@@ -9546,26 +9227,26 @@ lazy-universal-dotenv@^3.0.0:
lcid@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
+ resolved "https://registry.npmjs.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835"
integrity sha1-MIrMr6C8SDo4Z7S28rlQYlHRuDU=
dependencies:
invert-kv "^1.0.0"
lcid@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf"
+ resolved "https://registry.npmjs.com/lcid/-/lcid-2.0.0.tgz#6ef5d2df60e52f82eb228a4c373e8d1f397253cf"
integrity sha1-bvXS32DlL4LrIopMNz6NHzlyU88=
dependencies:
invert-kv "^2.0.0"
left-pad@^1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
+ resolved "https://registry.npmjs.com/left-pad/-/left-pad-1.3.0.tgz#5b8a3a7765dfe001261dde915589e782f8c94d1e"
integrity sha1-W4o6d2Xf4AEmHd6RVYnngvjJTR4=
lerna@^3.13.2:
version "3.16.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lerna/-/lerna-3.16.4.tgz#158cb4f478b680f46f871d5891f531f3a2cb31ec"
+ resolved "https://registry.npmjs.com/lerna/-/lerna-3.16.4.tgz#158cb4f478b680f46f871d5891f531f3a2cb31ec"
integrity sha1-FYy09Hi2gPRvhx1YkfUx86LLMew=
dependencies:
"@lerna/add" "3.16.2"
@@ -9588,12 +9269,12 @@ lerna@^3.13.2:
leven@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
+ resolved "https://registry.npmjs.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
integrity sha1-d4kd6DQGTMy6gq54QrtrFKE+1/I=
levn@^0.3.0, levn@~0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
+ resolved "https://registry.npmjs.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee"
integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=
dependencies:
prelude-ls "~1.1.2"
@@ -9601,7 +9282,7 @@ levn@^0.3.0, levn@~0.3.0:
lfcdn@^0.4.2:
version "0.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lfcdn/-/lfcdn-0.4.2.tgz#9c60161c02d029c824754dfb56b7cf44135b6b01"
+ resolved "https://registry.npmjs.com/lfcdn/-/lfcdn-0.4.2.tgz#9c60161c02d029c824754dfb56b7cf44135b6b01"
integrity sha1-nGAWHALQKcgkdU37VrfPRBNbawE=
dependencies:
gulp "^3.6.1"
@@ -9615,7 +9296,7 @@ lfcdn@^0.4.2:
liftoff@^2.1.0, liftoff@^2.5.0:
version "2.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/liftoff/-/liftoff-2.5.0.tgz#2009291bb31cea861bbf10a7c15a28caf75c31ec"
+ resolved "https://registry.npmjs.com/liftoff/-/liftoff-2.5.0.tgz#2009291bb31cea861bbf10a7c15a28caf75c31ec"
integrity sha1-IAkpG7Mc6oYbvxCnwVooyvdcMew=
dependencies:
extend "^3.0.0"
@@ -9629,7 +9310,7 @@ liftoff@^2.1.0, liftoff@^2.5.0:
load-json-file@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0"
+ resolved "https://registry.npmjs.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0"
integrity sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=
dependencies:
graceful-fs "^4.1.2"
@@ -9640,7 +9321,7 @@ load-json-file@^1.0.0:
load-json-file@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
+ resolved "https://registry.npmjs.com/load-json-file/-/load-json-file-2.0.0.tgz#7947e42149af80d696cbf797bcaabcfe1fe29ca8"
integrity sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=
dependencies:
graceful-fs "^4.1.2"
@@ -9650,7 +9331,7 @@ load-json-file@^2.0.0:
load-json-file@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
+ resolved "https://registry.npmjs.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b"
integrity sha1-L19Fq5HjMhYjT9U62rZo607AmTs=
dependencies:
graceful-fs "^4.1.2"
@@ -9660,7 +9341,7 @@ load-json-file@^4.0.0:
load-json-file@^5.3.0:
version "5.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/load-json-file/-/load-json-file-5.3.0.tgz#4d3c1e01fa1c03ea78a60ac7af932c9ce53403f3"
+ resolved "https://registry.npmjs.com/load-json-file/-/load-json-file-5.3.0.tgz#4d3c1e01fa1c03ea78a60ac7af932c9ce53403f3"
integrity sha1-TTweAfocA+p4pgrHr5MsnOU0A/M=
dependencies:
graceful-fs "^4.1.15"
@@ -9671,12 +9352,12 @@ load-json-file@^5.3.0:
loader-runner@^2.4.0:
version "2.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
+ resolved "https://registry.npmjs.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
integrity sha1-7UcGa/5TTX6ExMe5mYwqdWB9k1c=
loader-utils@1.2.3, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7"
+ resolved "https://registry.npmjs.com/loader-utils/-/loader-utils-1.2.3.tgz#1ff5dc6911c9f0a062531a4c04b609406108c2c7"
integrity sha1-H/XcaRHJ8KBiUxpMBLYJQGEIwsc=
dependencies:
big.js "^5.2.2"
@@ -9685,7 +9366,7 @@ loader-utils@1.2.3, loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.
loader-utils@~0.2.5:
version "0.2.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348"
+ resolved "https://registry.npmjs.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348"
integrity sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=
dependencies:
big.js "^3.1.3"
@@ -9695,7 +9376,7 @@ loader-utils@~0.2.5:
locate-path@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
+ resolved "https://registry.npmjs.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e"
integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=
dependencies:
p-locate "^2.0.0"
@@ -9703,7 +9384,7 @@ locate-path@^2.0.0:
locate-path@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e"
+ resolved "https://registry.npmjs.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e"
integrity sha1-2+w7OrdZdYBxtY/ln8QYca8hQA4=
dependencies:
p-locate "^3.0.0"
@@ -9711,91 +9392,91 @@ locate-path@^3.0.0:
locate-path@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
+ resolved "https://registry.npmjs.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
integrity sha1-Gvujlq/WdqbUJQTQpno6frn2KqA=
dependencies:
p-locate "^4.1.0"
lodash-es@^4.17.11:
version "4.17.15"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash-es/-/lodash-es-4.17.15.tgz#21bd96839354412f23d7a10340e5eac6ee455d78"
+ resolved "https://registry.npmjs.com/lodash-es/-/lodash-es-4.17.15.tgz#21bd96839354412f23d7a10340e5eac6ee455d78"
integrity sha1-Ib2Wg5NUQS8j16EDQOXqxu5FXXg=
lodash._basecopy@^3.0.0:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36"
+ resolved "https://registry.npmjs.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36"
integrity sha1-jaDmqHbPNEwK2KVIghEd08XHyjY=
lodash._basetostring@^3.0.0:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz#d1861d877f824a52f669832dcaf3ee15566a07d5"
+ resolved "https://registry.npmjs.com/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz#d1861d877f824a52f669832dcaf3ee15566a07d5"
integrity sha1-0YYdh3+CSlL2aYMtyvPuFVZqB9U=
lodash._basevalues@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7"
+ resolved "https://registry.npmjs.com/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz#5b775762802bde3d3297503e26300820fdf661b7"
integrity sha1-W3dXYoAr3j0yl1A+JjAIIP32Ybc=
lodash._escapehtmlchar@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._escapehtmlchar/-/lodash._escapehtmlchar-2.4.1.tgz#df67c3bb6b7e8e1e831ab48bfa0795b92afe899d"
+ resolved "https://registry.npmjs.com/lodash._escapehtmlchar/-/lodash._escapehtmlchar-2.4.1.tgz#df67c3bb6b7e8e1e831ab48bfa0795b92afe899d"
integrity sha1-32fDu2t+jh6DGrSL+geVuSr+iZ0=
dependencies:
lodash._htmlescapes "~2.4.1"
lodash._escapestringchar@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._escapestringchar/-/lodash._escapestringchar-2.4.1.tgz#ecfe22618a2ade50bfeea43937e51df66f0edb72"
+ resolved "https://registry.npmjs.com/lodash._escapestringchar/-/lodash._escapestringchar-2.4.1.tgz#ecfe22618a2ade50bfeea43937e51df66f0edb72"
integrity sha1-7P4iYYoq3lC/7qQ5N+Ud9m8O23I=
lodash._getnative@^3.0.0:
version "3.9.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
+ resolved "https://registry.npmjs.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
lodash._htmlescapes@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._htmlescapes/-/lodash._htmlescapes-2.4.1.tgz#32d14bf0844b6de6f8b62a051b4f67c228b624cb"
+ resolved "https://registry.npmjs.com/lodash._htmlescapes/-/lodash._htmlescapes-2.4.1.tgz#32d14bf0844b6de6f8b62a051b4f67c228b624cb"
integrity sha1-MtFL8IRLbeb4tioFG09nwii2JMs=
lodash._isiterateecall@^3.0.0:
version "3.0.9"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c"
+ resolved "https://registry.npmjs.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c"
integrity sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw=
lodash._isnative@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._isnative/-/lodash._isnative-2.4.1.tgz#3ea6404b784a7be836c7b57580e1cdf79b14832c"
+ resolved "https://registry.npmjs.com/lodash._isnative/-/lodash._isnative-2.4.1.tgz#3ea6404b784a7be836c7b57580e1cdf79b14832c"
integrity sha1-PqZAS3hKe+g2x7V1gOHN95sUgyw=
lodash._objecttypes@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz#7c0b7f69d98a1f76529f890b0cdb1b4dfec11c11"
+ resolved "https://registry.npmjs.com/lodash._objecttypes/-/lodash._objecttypes-2.4.1.tgz#7c0b7f69d98a1f76529f890b0cdb1b4dfec11c11"
integrity sha1-fAt/admKH3ZSn4kLDNsbTf7BHBE=
lodash._reescape@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a"
+ resolved "https://registry.npmjs.com/lodash._reescape/-/lodash._reescape-3.0.0.tgz#2b1d6f5dfe07c8a355753e5f27fac7f1cde1616a"
integrity sha1-Kx1vXf4HyKNVdT5fJ/rH8c3hYWo=
lodash._reevaluate@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz#58bc74c40664953ae0b124d806996daca431e2ed"
+ resolved "https://registry.npmjs.com/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz#58bc74c40664953ae0b124d806996daca431e2ed"
integrity sha1-WLx0xAZklTrgsSTYBpltrKQx4u0=
lodash._reinterpolate@^2.4.1, lodash._reinterpolate@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._reinterpolate/-/lodash._reinterpolate-2.4.1.tgz#4f1227aa5a8711fc632f5b07a1f4607aab8b3222"
+ resolved "https://registry.npmjs.com/lodash._reinterpolate/-/lodash._reinterpolate-2.4.1.tgz#4f1227aa5a8711fc632f5b07a1f4607aab8b3222"
integrity sha1-TxInqlqHEfxjL1sHofRgequLMiI=
lodash._reinterpolate@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
+ resolved "https://registry.npmjs.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
integrity sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=
lodash._reunescapedhtml@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._reunescapedhtml/-/lodash._reunescapedhtml-2.4.1.tgz#747c4fc40103eb3bb8a0976e571f7a2659e93ba7"
+ resolved "https://registry.npmjs.com/lodash._reunescapedhtml/-/lodash._reunescapedhtml-2.4.1.tgz#747c4fc40103eb3bb8a0976e571f7a2659e93ba7"
integrity sha1-dHxPxAED6zu4oJduVx96JlnpO6c=
dependencies:
lodash._htmlescapes "~2.4.1"
@@ -9803,29 +9484,29 @@ lodash._reunescapedhtml@~2.4.1:
lodash._root@^3.0.0:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692"
+ resolved "https://registry.npmjs.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692"
integrity sha1-+6HEUkwZ7ppfgTa0YJ8BfPTe1pI=
lodash._shimkeys@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash._shimkeys/-/lodash._shimkeys-2.4.1.tgz#6e9cc9666ff081f0b5a6c978b83e242e6949d203"
+ resolved "https://registry.npmjs.com/lodash._shimkeys/-/lodash._shimkeys-2.4.1.tgz#6e9cc9666ff081f0b5a6c978b83e242e6949d203"
integrity sha1-bpzJZm/wgfC1psl4uD4kLmlJ0gM=
dependencies:
lodash._objecttypes "~2.4.1"
lodash.clonedeep@^4.5.0:
version "4.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
+ resolved "https://registry.npmjs.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=
lodash.debounce@^4.0.8:
version "4.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
+ resolved "https://registry.npmjs.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af"
integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168=
lodash.defaults@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.defaults/-/lodash.defaults-2.4.1.tgz#a7e8885f05e68851144b6e12a8f3678026bc4c54"
+ resolved "https://registry.npmjs.com/lodash.defaults/-/lodash.defaults-2.4.1.tgz#a7e8885f05e68851144b6e12a8f3678026bc4c54"
integrity sha1-p+iIXwXmiFEUS24SqPNngCa8TFQ=
dependencies:
lodash._objecttypes "~2.4.1"
@@ -9833,65 +9514,50 @@ lodash.defaults@~2.4.1:
lodash.escape@^3.0.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
+ resolved "https://registry.npmjs.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
integrity sha1-mV7g3BjBtIzJLv+ucaEKq1tIdpg=
dependencies:
lodash._root "^3.0.0"
-lodash.escape@^4.0.1:
- version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.escape/-/lodash.escape-4.0.1.tgz#c9044690c21e04294beaa517712fded1fa88de98"
- integrity sha1-yQRGkMIeBClL6qUXcS/e0fqI3pg=
-
lodash.escape@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.escape/-/lodash.escape-2.4.1.tgz#2ce12c5e084db0a57dda5e5d1eeeb9f5d175a3b4"
+ resolved "https://registry.npmjs.com/lodash.escape/-/lodash.escape-2.4.1.tgz#2ce12c5e084db0a57dda5e5d1eeeb9f5d175a3b4"
integrity sha1-LOEsXghNsKV92l5dHu659dF1o7Q=
dependencies:
lodash._escapehtmlchar "~2.4.1"
lodash._reunescapedhtml "~2.4.1"
lodash.keys "~2.4.1"
-lodash.flattendeep@^4.4.0:
- version "4.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz#fb030917f86a3134e5bc9bec0d69e0013ddfedb2"
- integrity sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=
-
lodash.get@^4.4.2:
version "4.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
+ resolved "https://registry.npmjs.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99"
integrity sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=
lodash.isarguments@^3.0.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
+ resolved "https://registry.npmjs.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a"
integrity sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo=
lodash.isarray@^3.0.0:
version "3.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
+ resolved "https://registry.npmjs.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55"
integrity sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U=
-lodash.isequal@^4.5.0:
- version "4.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0"
- integrity sha1-QVxEePK8wwEgwizhDtMib30+GOA=
-
lodash.ismatch@^4.4.0:
version "4.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37"
+ resolved "https://registry.npmjs.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37"
integrity sha1-dWy1FQyjum8RCFp4hJZF8Yj4Xzc=
lodash.isobject@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.isobject/-/lodash.isobject-2.4.1.tgz#5a2e47fe69953f1ee631a7eba1fe64d2d06558f5"
+ resolved "https://registry.npmjs.com/lodash.isobject/-/lodash.isobject-2.4.1.tgz#5a2e47fe69953f1ee631a7eba1fe64d2d06558f5"
integrity sha1-Wi5H/mmVPx7mMafrof5k0tBlWPU=
dependencies:
lodash._objecttypes "~2.4.1"
lodash.keys@^3.0.0:
version "3.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
+ resolved "https://registry.npmjs.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a"
integrity sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=
dependencies:
lodash._getnative "^3.0.0"
@@ -9900,7 +9566,7 @@ lodash.keys@^3.0.0:
lodash.keys@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.keys/-/lodash.keys-2.4.1.tgz#48dea46df8ff7632b10d706b8acb26591e2b3727"
+ resolved "https://registry.npmjs.com/lodash.keys/-/lodash.keys-2.4.1.tgz#48dea46df8ff7632b10d706b8acb26591e2b3727"
integrity sha1-SN6kbfj/djKxDXBrissmWR4rNyc=
dependencies:
lodash._isnative "~2.4.1"
@@ -9909,27 +9575,27 @@ lodash.keys@~2.4.1:
lodash.memoize@^4.1.2:
version "4.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
+ resolved "https://registry.npmjs.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
integrity sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=
lodash.restparam@^3.0.0:
version "3.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
+ resolved "https://registry.npmjs.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
lodash.set@^4.3.2:
version "4.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
+ resolved "https://registry.npmjs.com/lodash.set/-/lodash.set-4.3.2.tgz#d8757b1da807dde24816b0d6a84bea1a76230b23"
integrity sha1-2HV7HagH3eJIFrDWqEvqGnYjCyM=
lodash.sortby@^4.7.0:
version "4.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
+ resolved "https://registry.npmjs.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=
lodash.template@^2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.template/-/lodash.template-2.4.1.tgz#9e611007edf629129a974ab3c48b817b3e1cf20d"
+ resolved "https://registry.npmjs.com/lodash.template/-/lodash.template-2.4.1.tgz#9e611007edf629129a974ab3c48b817b3e1cf20d"
integrity sha1-nmEQB+32KRKal0qzxIuBez4c8g0=
dependencies:
lodash._escapestringchar "~2.4.1"
@@ -9942,7 +9608,7 @@ lodash.template@^2.4.1:
lodash.template@^3.0.0:
version "3.6.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f"
+ resolved "https://registry.npmjs.com/lodash.template/-/lodash.template-3.6.2.tgz#f8cdecc6169a255be9098ae8b0c53d378931d14f"
integrity sha1-+M3sxhaaJVvpCYrosMU9N4kx0U8=
dependencies:
lodash._basecopy "^3.0.0"
@@ -9957,7 +9623,7 @@ lodash.template@^3.0.0:
lodash.template@^4.0.2, lodash.template@^4.5.0:
version "4.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab"
+ resolved "https://registry.npmjs.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab"
integrity sha1-+XYZXPPzR9DV9SSDVp/oAxzM6Ks=
dependencies:
lodash._reinterpolate "^3.0.0"
@@ -9965,7 +9631,7 @@ lodash.template@^4.0.2, lodash.template@^4.5.0:
lodash.templatesettings@^3.0.0:
version "3.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz#fb307844753b66b9f1afa54e262c745307dba8e5"
+ resolved "https://registry.npmjs.com/lodash.templatesettings/-/lodash.templatesettings-3.1.1.tgz#fb307844753b66b9f1afa54e262c745307dba8e5"
integrity sha1-+zB4RHU7Zrnxr6VOJix0UwfbqOU=
dependencies:
lodash._reinterpolate "^3.0.0"
@@ -9973,14 +9639,14 @@ lodash.templatesettings@^3.0.0:
lodash.templatesettings@^4.0.0:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33"
+ resolved "https://registry.npmjs.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33"
integrity sha1-5IExDwSdPPbUfpEq0JMTsVTw+zM=
dependencies:
lodash._reinterpolate "^3.0.0"
lodash.templatesettings@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.templatesettings/-/lodash.templatesettings-2.4.1.tgz#ea76c75d11eb86d4dbe89a83893bb861929ac699"
+ resolved "https://registry.npmjs.com/lodash.templatesettings/-/lodash.templatesettings-2.4.1.tgz#ea76c75d11eb86d4dbe89a83893bb861929ac699"
integrity sha1-6nbHXRHrhtTb6JqDiTu4YZKaxpk=
dependencies:
lodash._reinterpolate "~2.4.1"
@@ -9988,58 +9654,58 @@ lodash.templatesettings@~2.4.1:
lodash.throttle@^4.1.1:
version "4.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
+ resolved "https://registry.npmjs.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4"
integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ=
lodash.unescape@4.0.1:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c"
+ resolved "https://registry.npmjs.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c"
integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=
lodash.uniq@^4.5.0:
version "4.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
+ resolved "https://registry.npmjs.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
lodash.values@~2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash.values/-/lodash.values-2.4.1.tgz#abf514436b3cb705001627978cbcf30b1280eea4"
+ resolved "https://registry.npmjs.com/lodash.values/-/lodash.values-2.4.1.tgz#abf514436b3cb705001627978cbcf30b1280eea4"
integrity sha1-q/UUQ2s8twUAFieXjLzzCxKA7qQ=
dependencies:
lodash.keys "~2.4.1"
-lodash@^4.0.1, lodash@^4.15.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1:
+lodash@^4.0.1, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@^4.2.1:
version "4.17.15"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
+ resolved "https://registry.npmjs.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
integrity sha1-tEf2ZwoEVbv+7dETku/zMOoJdUg=
lodash@~1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551"
+ resolved "https://registry.npmjs.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551"
integrity sha1-j1dWDIO1n8JwvT1WG2kAQ0MOJVE=
-log-symbols@2.2.0, log-symbols@^2.2.0:
+log-symbols@^2.2.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
+ resolved "https://registry.npmjs.com/log-symbols/-/log-symbols-2.2.0.tgz#5740e1c5d6f0dfda4ad9323b5332107ef6b4c40a"
integrity sha1-V0Dhxdbw39pK2TI7UzIQfva0xAo=
dependencies:
chalk "^2.0.1"
lolex@^4.1.0, lolex@^4.2.0:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lolex/-/lolex-4.2.0.tgz#ddbd7f6213ca1ea5826901ab1222b65d714b3cd7"
+ resolved "https://registry.npmjs.com/lolex/-/lolex-4.2.0.tgz#ddbd7f6213ca1ea5826901ab1222b65d714b3cd7"
integrity sha1-3b1/YhPKHqWCaQGrEiK2XXFLPNc=
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
+ resolved "https://registry.npmjs.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
integrity sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=
dependencies:
js-tokens "^3.0.0 || ^4.0.0"
loud-rejection@^1.0.0:
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f"
+ resolved "https://registry.npmjs.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f"
integrity sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=
dependencies:
currently-unhandled "^0.4.1"
@@ -10047,19 +9713,19 @@ loud-rejection@^1.0.0:
lower-case-first@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lower-case-first/-/lower-case-first-1.0.2.tgz#e5da7c26f29a7073be02d52bac9980e5922adfa1"
+ resolved "https://registry.npmjs.com/lower-case-first/-/lower-case-first-1.0.2.tgz#e5da7c26f29a7073be02d52bac9980e5922adfa1"
integrity sha1-5dp8JvKacHO+AtUrrJmA5ZIq36E=
dependencies:
lower-case "^1.1.2"
lower-case@^1.1.0, lower-case@^1.1.1, lower-case@^1.1.2:
version "1.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac"
+ resolved "https://registry.npmjs.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac"
integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw=
lowlight@~1.9.1:
version "1.9.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lowlight/-/lowlight-1.9.2.tgz#0b9127e3cec2c3021b7795dd81005c709a42fdd1"
+ resolved "https://registry.npmjs.com/lowlight/-/lowlight-1.9.2.tgz#0b9127e3cec2c3021b7795dd81005c709a42fdd1"
integrity sha1-C5En487CwwIbd5XdgQBccJpC/dE=
dependencies:
fault "^1.0.2"
@@ -10067,12 +9733,12 @@ lowlight@~1.9.1:
lru-cache@2:
version "2.7.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952"
+ resolved "https://registry.npmjs.com/lru-cache/-/lru-cache-2.7.3.tgz#6d4524e8b955f95d4f5b58851ce21dd72fb4e952"
integrity sha1-bUUk6LlV+V1PW1iFHOId1y+06VI=
lru-cache@^4.0.1:
version "4.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
+ resolved "https://registry.npmjs.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd"
integrity sha1-i75Q6oW+1ZvJ4z3KuCNe6bz0Q80=
dependencies:
pseudomap "^1.0.2"
@@ -10080,33 +9746,26 @@ lru-cache@^4.0.1:
lru-cache@^5.1.1:
version "5.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
+ resolved "https://registry.npmjs.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920"
integrity sha1-HaJ+ZxAnGUdpXa9oSOhH8B2EuSA=
dependencies:
yallist "^3.0.2"
-lru-queue@0.1:
- version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3"
- integrity sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM=
- dependencies:
- es5-ext "~0.10.2"
-
macos-release@^2.2.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f"
+ resolved "https://registry.npmjs.com/macos-release/-/macos-release-2.3.0.tgz#eb1930b036c0800adebccd5f17bc4c12de8bb71f"
integrity sha1-6xkwsDbAgArevM1fF7xMEt6Ltx8=
make-dir@^1.0.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
+ resolved "https://registry.npmjs.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
integrity sha1-ecEDO4BRW9bSTsmTPoYMp17ifww=
dependencies:
pify "^3.0.0"
make-dir@^2.0.0, make-dir@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
+ resolved "https://registry.npmjs.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5"
integrity sha1-XwMQ4YuL6JjMBwCSlaMK5B6R5vU=
dependencies:
pify "^4.0.1"
@@ -10114,14 +9773,14 @@ make-dir@^2.0.0, make-dir@^2.1.0:
make-dir@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801"
+ resolved "https://registry.npmjs.com/make-dir/-/make-dir-3.0.0.tgz#1b5f39f6b9270ed33f9f054c5c0f84304989f801"
integrity sha1-G1859rknDtM/nwVMXA+EMEmJ+AE=
dependencies:
semver "^6.0.0"
make-fetch-happen@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz#a8e3fe41d3415dd656fe7b8e8172e1fb4458b38d"
+ resolved "https://registry.npmjs.com/make-fetch-happen/-/make-fetch-happen-5.0.0.tgz#a8e3fe41d3415dd656fe7b8e8172e1fb4458b38d"
integrity sha1-qOP+QdNBXdZW/nuOgXLh+0RYs40=
dependencies:
agentkeepalive "^3.4.1"
@@ -10138,65 +9797,65 @@ make-fetch-happen@^5.0.0:
make-iterator@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6"
+ resolved "https://registry.npmjs.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6"
integrity sha1-KbM/MSqo9UfEpeSQ9Wr87JkTOtY=
dependencies:
kind-of "^6.0.2"
makeerror@1.0.x:
version "1.0.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c"
+ resolved "https://registry.npmjs.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c"
integrity sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=
dependencies:
tmpl "1.0.x"
mamacro@^0.0.3:
version "0.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4"
+ resolved "https://registry.npmjs.com/mamacro/-/mamacro-0.0.3.tgz#ad2c9576197c9f1abf308d0787865bd975a3f3e4"
integrity sha1-rSyVdhl8nxq/MI0Hh4Zb2XWj8+Q=
map-age-cleaner@^0.1.1:
version "0.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a"
+ resolved "https://registry.npmjs.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a"
integrity sha1-fVg6cwZDTAVf5HSw9FB45uG0uSo=
dependencies:
p-defer "^1.0.0"
map-cache@^0.2.0, map-cache@^0.2.2:
version "0.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
+ resolved "https://registry.npmjs.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf"
integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=
map-obj@^1.0.0, map-obj@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
+ resolved "https://registry.npmjs.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d"
integrity sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=
map-obj@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9"
+ resolved "https://registry.npmjs.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9"
integrity sha1-plzSkIepJZi4eRJXpSPgISIqwfk=
map-or-similar@^1.5.0:
version "1.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-or-similar/-/map-or-similar-1.5.0.tgz#6de2653174adfb5d9edc33c69d3e92a1b76faf08"
+ resolved "https://registry.npmjs.com/map-or-similar/-/map-or-similar-1.5.0.tgz#6de2653174adfb5d9edc33c69d3e92a1b76faf08"
integrity sha1-beJlMXSt+12e3DPGnT6Sobdvrwg=
map-stream@0.0.7:
version "0.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8"
+ resolved "https://registry.npmjs.com/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8"
integrity sha1-ih8HiW2CsQkmvTdEokIACfiJdKg=
map-visit@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"
+ resolved "https://registry.npmjs.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f"
integrity sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=
dependencies:
object-visit "^1.0.0"
markdown-to-jsx@^6.9.1, markdown-to-jsx@^6.9.3:
version "6.10.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/markdown-to-jsx/-/markdown-to-jsx-6.10.3.tgz#7f0946684acd321125ff2de7fd258a9b9c7c40b7"
+ resolved "https://registry.npmjs.com/markdown-to-jsx/-/markdown-to-jsx-6.10.3.tgz#7f0946684acd321125ff2de7fd258a9b9c7c40b7"
integrity sha1-fwlGaErNMhEl/y3n/SWKm5x8QLc=
dependencies:
prop-types "^15.6.2"
@@ -10204,12 +9863,12 @@ markdown-to-jsx@^6.9.1, markdown-to-jsx@^6.9.3:
marked@^0.6.2:
version "0.6.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/marked/-/marked-0.6.3.tgz#79babad78af638ba4d522a9e715cdfdd2429e946"
+ resolved "https://registry.npmjs.com/marked/-/marked-0.6.3.tgz#79babad78af638ba4d522a9e715cdfdd2429e946"
integrity sha1-ebq614r2OLpNUiqecVzf3SQp6UY=
marksy@^7.0.0:
version "7.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/marksy/-/marksy-7.0.1.tgz#fb26f780ce56bf5ca48fc137efdef1f97dd4c7ef"
+ resolved "https://registry.npmjs.com/marksy/-/marksy-7.0.1.tgz#fb26f780ce56bf5ca48fc137efdef1f97dd4c7ef"
integrity sha1-+yb3gM5Wv1ykj8E3797x+X3Ux+8=
dependencies:
babel-standalone "^6.26.0"
@@ -10218,38 +9877,38 @@ marksy@^7.0.0:
material-colors@^1.2.1:
version "1.2.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/material-colors/-/material-colors-1.2.6.tgz#6d1958871126992ceecc72f4bcc4d8f010865f46"
+ resolved "https://registry.npmjs.com/material-colors/-/material-colors-1.2.6.tgz#6d1958871126992ceecc72f4bcc4d8f010865f46"
integrity sha1-bRlYhxEmmSzuzHL0vMTY8BCGX0Y=
math-random@^1.0.1:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c"
+ resolved "https://registry.npmjs.com/math-random/-/math-random-1.0.4.tgz#5dd6943c938548267016d4e34f057583080c514c"
integrity sha1-XdaUPJOFSCZwFtTjTwV1gwgMUUw=
md5-hex@^1.2.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/md5-hex/-/md5-hex-1.3.0.tgz#d2c4afe983c4370662179b8cad145219135046c4"
+ resolved "https://registry.npmjs.com/md5-hex/-/md5-hex-1.3.0.tgz#d2c4afe983c4370662179b8cad145219135046c4"
integrity sha1-0sSv6YPENwZiF5uMrRRSGRNQRsQ=
dependencies:
md5-o-matic "^0.1.1"
md5-o-matic@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3"
+ resolved "https://registry.npmjs.com/md5-o-matic/-/md5-o-matic-0.1.1.tgz#822bccd65e117c514fab176b25945d54100a03c3"
integrity sha1-givM1l4RfFFPqxdrJZRdVBAKA8M=
md5.js@^1.3.4:
version "1.3.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
+ resolved "https://registry.npmjs.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f"
integrity sha1-tdB7jjIW4+J81yjXL3DR5qNCAF8=
dependencies:
hash-base "^3.0.0"
inherits "^2.0.1"
safe-buffer "^5.1.2"
-md5@^2.1.0, md5@^2.2.1:
+md5@^2.2.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9"
+ resolved "https://registry.npmjs.com/md5/-/md5-2.2.1.tgz#53ab38d5fe3c8891ba465329ea23fac0540126f9"
integrity sha1-U6s41f48iJG6RlMp6iP6wFQBJvk=
dependencies:
charenc "~0.0.1"
@@ -10258,29 +9917,29 @@ md5@^2.1.0, md5@^2.2.1:
mdn-data@2.0.4:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b"
+ resolved "https://registry.npmjs.com/mdn-data/-/mdn-data-2.0.4.tgz#699b3c38ac6f1d728091a64650b65d388502fd5b"
integrity sha1-aZs8OKxvHXKAkaZGULZdOIUC/Vs=
mdn-data@~1.1.0:
version "1.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01"
+ resolved "https://registry.npmjs.com/mdn-data/-/mdn-data-1.1.4.tgz#50b5d4ffc4575276573c4eedb8780812a8419f01"
integrity sha1-ULXU/8RXUnZXPE7tuHgIEqhBnwE=
media-typer@0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
+ resolved "https://registry.npmjs.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=
mem@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"
+ resolved "https://registry.npmjs.com/mem/-/mem-1.1.0.tgz#5edd52b485ca1d900fe64895505399a0dfa45f76"
integrity sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=
dependencies:
mimic-fn "^1.0.0"
mem@^4.0.0:
version "4.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178"
+ resolved "https://registry.npmjs.com/mem/-/mem-4.3.0.tgz#461af497bc4ae09608cdb2e60eefb69bff744178"
integrity sha1-Rhr0l7xK4JYIzbLmDu+2m/90QXg=
dependencies:
map-age-cleaner "^0.1.1"
@@ -10289,33 +9948,19 @@ mem@^4.0.0:
memoize-one@^5.0.0:
version "5.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/memoize-one/-/memoize-one-5.1.1.tgz#047b6e3199b508eaec03504de71229b8eb1d75c0"
+ resolved "https://registry.npmjs.com/memoize-one/-/memoize-one-5.1.1.tgz#047b6e3199b508eaec03504de71229b8eb1d75c0"
integrity sha1-BHtuMZm1COrsA1BN5xIpuOsddcA=
-memoizee@^0.4.14:
- version "0.4.14"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/memoizee/-/memoizee-0.4.14.tgz#07a00f204699f9a95c2d9e77218271c7cd610d57"
- integrity sha1-B6APIEaZ+alcLZ53IYJxx81hDVc=
- dependencies:
- d "1"
- es5-ext "^0.10.45"
- es6-weak-map "^2.0.2"
- event-emitter "^0.3.5"
- is-promise "^2.1"
- lru-queue "0.1"
- next-tick "1"
- timers-ext "^0.1.5"
-
memoizerific@^1.11.3:
version "1.11.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/memoizerific/-/memoizerific-1.11.3.tgz#7c87a4646444c32d75438570905f2dbd1b1a805a"
+ resolved "https://registry.npmjs.com/memoizerific/-/memoizerific-1.11.3.tgz#7c87a4646444c32d75438570905f2dbd1b1a805a"
integrity sha1-fIekZGREwy11Q4VwkF8tvRsagFo=
dependencies:
map-or-similar "^1.5.0"
memory-fs@^0.4.0, memory-fs@^0.4.1:
version "0.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
+ resolved "https://registry.npmjs.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552"
integrity sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=
dependencies:
errno "^0.1.3"
@@ -10323,7 +9968,7 @@ memory-fs@^0.4.0, memory-fs@^0.4.1:
meow@^3.3.0:
version "3.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb"
+ resolved "https://registry.npmjs.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb"
integrity sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=
dependencies:
camelcase-keys "^2.0.0"
@@ -10339,7 +9984,7 @@ meow@^3.3.0:
meow@^4.0.0:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975"
+ resolved "https://registry.npmjs.com/meow/-/meow-4.0.1.tgz#d48598f6f4b1472f35bf6317a95945ace347f975"
integrity sha1-1IWY9vSxRy81v2MXqVlFrONH+XU=
dependencies:
camelcase-keys "^4.0.0"
@@ -10354,7 +9999,7 @@ meow@^4.0.0:
merge-deep@^3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/merge-deep/-/merge-deep-3.0.2.tgz#f39fa100a4f1bd34ff29f7d2bf4508fbb8d83ad2"
+ resolved "https://registry.npmjs.com/merge-deep/-/merge-deep-3.0.2.tgz#f39fa100a4f1bd34ff29f7d2bf4508fbb8d83ad2"
integrity sha1-85+hAKTxvTT/KffSv0UI+7jYOtI=
dependencies:
arr-union "^3.1.0"
@@ -10363,39 +10008,39 @@ merge-deep@^3.0.2:
merge-descriptors@1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
+ resolved "https://registry.npmjs.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=
merge-source-map@^1.0.2:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646"
+ resolved "https://registry.npmjs.com/merge-source-map/-/merge-source-map-1.1.0.tgz#2fdde7e6020939f70906a68f2d7ae685e4c8c646"
integrity sha1-L93n5gIJOfcJBqaPLXrmheTIxkY=
dependencies:
source-map "^0.6.1"
merge-stream@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
+ resolved "https://registry.npmjs.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
integrity sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A=
merge2@^1.2.3:
version "1.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/merge2/-/merge2-1.2.4.tgz#c9269589e6885a60cf80605d9522d4b67ca646e3"
+ resolved "https://registry.npmjs.com/merge2/-/merge2-1.2.4.tgz#c9269589e6885a60cf80605d9522d4b67ca646e3"
integrity sha1-ySaVieaIWmDPgGBdlSLUtnymRuM=
methods@~1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
+ resolved "https://registry.npmjs.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=
microevent.ts@~0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/microevent.ts/-/microevent.ts-0.1.1.tgz#70b09b83f43df5172d0205a63025bce0f7357fa0"
+ resolved "https://registry.npmjs.com/microevent.ts/-/microevent.ts-0.1.1.tgz#70b09b83f43df5172d0205a63025bce0f7357fa0"
integrity sha1-cLCbg/Q99RctAgWmMCW84Pc1f6A=
micromatch@^2.3.11:
version "2.3.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
+ resolved "https://registry.npmjs.com/micromatch/-/micromatch-2.3.11.tgz#86677c97d1720b363431d04d0d15293bd38c1565"
integrity sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=
dependencies:
arr-diff "^2.0.0"
@@ -10414,7 +10059,7 @@ micromatch@^2.3.11:
micromatch@^3.0.4, micromatch@^3.1.0, micromatch@^3.1.10, micromatch@^3.1.4:
version "3.1.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
+ resolved "https://registry.npmjs.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23"
integrity sha1-cIWbyVyYQJUvNZoGij/En57PrCM=
dependencies:
arr-diff "^4.0.0"
@@ -10433,7 +10078,7 @@ micromatch@^3.0.4, micromatch@^3.1.0, micromatch@^3.1.10, micromatch@^3.1.4:
miller-rabin@^4.0.0:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
+ resolved "https://registry.npmjs.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d"
integrity sha1-8IA1HIZbDcViqEYpZtqlNUPHik0=
dependencies:
bn.js "^4.0.0"
@@ -10441,46 +10086,46 @@ miller-rabin@^4.0.0:
mime-db@1.40.0:
version "1.40.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
+ resolved "https://registry.npmjs.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32"
integrity sha1-plBX6ZjbCQ9zKmj2wnbTh9QSbDI=
mime-types@^2.1.12, mime-types@~2.1.19, mime-types@~2.1.24:
version "2.1.24"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
+ resolved "https://registry.npmjs.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81"
integrity sha1-tvjQs+lR77d97eyhlM/20W9nb4E=
dependencies:
mime-db "1.40.0"
mime@*, mime@^2.0.3, mime@^2.4.4:
version "2.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5"
+ resolved "https://registry.npmjs.com/mime/-/mime-2.4.4.tgz#bd7b91135fc6b01cde3e9bae33d659b63d8857e5"
integrity sha1-vXuRE1/GsBzePpuuM9ZZtj2IV+U=
mime@1.6.0, mime@1.x:
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
+ resolved "https://registry.npmjs.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
integrity sha1-Ms2eXGRVO9WNGaVor0Uqz/BJgbE=
mimic-fn@^1.0.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
+ resolved "https://registry.npmjs.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022"
integrity sha1-ggyGo5M0ZA6ZUWkovQP8qIBX0CI=
mimic-fn@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
+ resolved "https://registry.npmjs.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b"
integrity sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=
min-document@^2.19.0:
version "2.19.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685"
+ resolved "https://registry.npmjs.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685"
integrity sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=
dependencies:
dom-walk "^0.1.0"
mini-css-extract-plugin@^0.7.0:
version "0.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mini-css-extract-plugin/-/mini-css-extract-plugin-0.7.0.tgz#5ba8290fbb4179a43dd27cca444ba150bee743a0"
+ resolved "https://registry.npmjs.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.7.0.tgz#5ba8290fbb4179a43dd27cca444ba150bee743a0"
integrity sha1-W6gpD7tBeaQ90nzKREuhUL7nQ6A=
dependencies:
loader-utils "^1.1.0"
@@ -10490,31 +10135,31 @@ mini-css-extract-plugin@^0.7.0:
minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
+ resolved "https://registry.npmjs.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7"
integrity sha1-LhlN4ERibUoQ5/f7wAznPoPk1cc=
minimalistic-crypto-utils@^1.0.0, minimalistic-crypto-utils@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
+ resolved "https://registry.npmjs.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"
integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=
minimatch@3.0.4, minimatch@^3.0.2, minimatch@^3.0.4:
version "3.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
+ resolved "https://registry.npmjs.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
integrity sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=
dependencies:
brace-expansion "^1.1.7"
minimatch@^2.0.1:
version "2.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7"
+ resolved "https://registry.npmjs.com/minimatch/-/minimatch-2.0.10.tgz#8d087c39c6b38c001b97fca7ce6d0e1e80afbac7"
integrity sha1-jQh8OcazjAAbl/ynzm0OHoCvusc=
dependencies:
brace-expansion "^1.0.0"
minimatch@~0.2.11:
version "0.2.14"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimatch/-/minimatch-0.2.14.tgz#c74e780574f63c6f9a090e90efbe6ef53a6a756a"
+ resolved "https://registry.npmjs.com/minimatch/-/minimatch-0.2.14.tgz#c74e780574f63c6f9a090e90efbe6ef53a6a756a"
integrity sha1-x054BXT2PG+aCQ6Q775u9TpqdWo=
dependencies:
lru-cache "2"
@@ -10522,7 +10167,7 @@ minimatch@~0.2.11:
minimist-options@^3.0.1:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954"
+ resolved "https://registry.npmjs.com/minimist-options/-/minimist-options-3.0.2.tgz#fba4c8191339e13ecf4d61beb03f070103f3d954"
integrity sha1-+6TIGRM54T7PTWG+sD8HAQPz2VQ=
dependencies:
arrify "^1.0.1"
@@ -10530,27 +10175,27 @@ minimist-options@^3.0.1:
minimist@0.0.8:
version "0.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
+ resolved "https://registry.npmjs.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
minimist@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimist/-/minimist-0.2.0.tgz#4dffe525dae2b864c66c2e23c6271d7afdecefce"
+ resolved "https://registry.npmjs.com/minimist/-/minimist-0.2.0.tgz#4dffe525dae2b864c66c2e23c6271d7afdecefce"
integrity sha1-Tf/lJdriuGTGbC4jxicdev3s784=
minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
+ resolved "https://registry.npmjs.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=
minimist@~0.0.1:
version "0.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
+ resolved "https://registry.npmjs.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=
minipass@^2.2.1, minipass@^2.3.5:
version "2.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minipass/-/minipass-2.5.0.tgz#dddb1d001976978158a05badfcbef4a771612857"
+ resolved "https://registry.npmjs.com/minipass/-/minipass-2.5.0.tgz#dddb1d001976978158a05badfcbef4a771612857"
integrity sha1-3dsdABl2l4FYoFut/L70p3FhKFc=
dependencies:
safe-buffer "^5.1.2"
@@ -10558,14 +10203,14 @@ minipass@^2.2.1, minipass@^2.3.5:
minizlib@^1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614"
+ resolved "https://registry.npmjs.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614"
integrity sha1-3SfqYTYkPHyIBoToZyuzpF/ZthQ=
dependencies:
minipass "^2.2.1"
mississippi@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022"
+ resolved "https://registry.npmjs.com/mississippi/-/mississippi-3.0.0.tgz#ea0a3291f97e0b5e8776b363d5f0a12d94c67022"
integrity sha1-6goykfl+C16HdrNj1fChLZTGcCI=
dependencies:
concat-stream "^1.5.0"
@@ -10581,7 +10226,7 @@ mississippi@^3.0.0:
mixin-deep@^1.2.0:
version "1.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
+ resolved "https://registry.npmjs.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
integrity sha1-ESC0PcNZp4Xc5ltVuC4lfM9HlWY=
dependencies:
for-in "^1.0.2"
@@ -10589,7 +10234,7 @@ mixin-deep@^1.2.0:
mixin-object@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e"
+ resolved "https://registry.npmjs.com/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e"
integrity sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=
dependencies:
for-in "^0.1.3"
@@ -10597,83 +10242,38 @@ mixin-object@^2.0.1:
mkdirp-promise@^5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1"
+ resolved "https://registry.npmjs.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1"
integrity sha1-6bj2jlUsaKnBcTuEiD96HdA5uKE=
dependencies:
mkdirp "*"
-mkdirp@*, mkdirp@0.5.1, mkdirp@0.5.x, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x:
+mkdirp@*, mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.1, mkdirp@~0.5.x:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
+ resolved "https://registry.npmjs.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
dependencies:
minimist "0.0.8"
-mocha-junit-reporter@^1.18.0:
- version "1.23.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mocha-junit-reporter/-/mocha-junit-reporter-1.23.1.tgz#ba11519c0b967f404e4123dd69bc4ba022ab0f12"
- integrity sha1-uhFRnAuWf0BOQSPdabxLoCKrDxI=
- dependencies:
- debug "^2.2.0"
- md5 "^2.1.0"
- mkdirp "~0.5.1"
- strip-ansi "^4.0.0"
- xml "^1.0.0"
-
-mocha@^6.0.2:
- version "6.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mocha/-/mocha-6.2.0.tgz#f896b642843445d1bb8bca60eabd9206b8916e56"
- integrity sha1-+Ja2QoQ0RdG7i8pg6r2SBriRblY=
- dependencies:
- ansi-colors "3.2.3"
- browser-stdout "1.3.1"
- debug "3.2.6"
- diff "3.5.0"
- escape-string-regexp "1.0.5"
- find-up "3.0.0"
- glob "7.1.3"
- growl "1.10.5"
- he "1.2.0"
- js-yaml "3.13.1"
- log-symbols "2.2.0"
- minimatch "3.0.4"
- mkdirp "0.5.1"
- ms "2.1.1"
- node-environment-flags "1.0.5"
- object.assign "4.1.0"
- strip-json-comments "2.0.1"
- supports-color "6.0.0"
- which "1.3.1"
- wide-align "1.1.3"
- yargs "13.2.2"
- yargs-parser "13.0.0"
- yargs-unparser "1.5.0"
-
modify-values@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
+ resolved "https://registry.npmjs.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022"
integrity sha1-s5OfpgVUZHTj4+PGPWS9Q7TuYCI=
moment-range@^3.0.3:
version "3.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/moment-range/-/moment-range-3.1.1.tgz#5c52cf9fab29db9dd9bcd86d37e52b04a7a7271a"
+ resolved "https://registry.npmjs.com/moment-range/-/moment-range-3.1.1.tgz#5c52cf9fab29db9dd9bcd86d37e52b04a7a7271a"
integrity sha1-XFLPn6sp253ZvNhtN+UrBKenJxo=
dependencies:
es6-symbol "^3.1.0"
moment@^2.15.1, moment@^2.18.1:
version "2.24.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
+ resolved "https://registry.npmjs.com/moment/-/moment-2.24.0.tgz#0d055d53f5052aa653c9f6eb68bb5d12bf5c2b5b"
integrity sha1-DQVdU/UFKqZTyfbraLtdEr9cK1s=
-moo@^0.4.3:
- version "0.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/moo/-/moo-0.4.3.tgz#3f847a26f31cf625a956a87f2b10fbc013bfd10e"
- integrity sha1-P4R6JvMc9iWpVqh/KxD7wBO/0Q4=
-
move-concurrently@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
+ resolved "https://registry.npmjs.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92"
integrity sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=
dependencies:
aproba "^1.1.1"
@@ -10685,22 +10285,22 @@ move-concurrently@^1.0.1:
ms@2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
+ resolved "https://registry.npmjs.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
ms@2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
+ resolved "https://registry.npmjs.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a"
integrity sha1-MKWGTrPrsKZvLr5tcnrwagnYbgo=
ms@^2.0.0, ms@^2.1.1:
version "2.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
+ resolved "https://registry.npmjs.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
multimatch@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/multimatch/-/multimatch-3.0.0.tgz#0e2534cc6bc238d9ab67e1b9cd5fcd85a6dbf70b"
+ resolved "https://registry.npmjs.com/multimatch/-/multimatch-3.0.0.tgz#0e2534cc6bc238d9ab67e1b9cd5fcd85a6dbf70b"
integrity sha1-DiU0zGvCONmrZ+G5zV/Nhabb9ws=
dependencies:
array-differ "^2.0.3"
@@ -10710,24 +10310,24 @@ multimatch@^3.0.0:
multipipe@^0.1.0, multipipe@^0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b"
+ resolved "https://registry.npmjs.com/multipipe/-/multipipe-0.1.2.tgz#2a8f2ddf70eed564dff2d57f1e1a137d9f05078b"
integrity sha1-Ko8t33Du1WTf8tV/HhoTfZ8FB4s=
dependencies:
duplexer2 "0.0.2"
mute-stream@0.0.7:
version "0.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
+ resolved "https://registry.npmjs.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=
mute-stream@~0.0.4:
version "0.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
+ resolved "https://registry.npmjs.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
integrity sha1-FjDEKyJR/4HiooPelqVJfqkuXg0=
mz@^2.5.0:
version "2.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"
+ resolved "https://registry.npmjs.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"
integrity sha1-lQCAV6Vsr63CvGPd5/n/aVWUjjI=
dependencies:
any-promise "^1.0.0"
@@ -10736,12 +10336,12 @@ mz@^2.5.0:
nan@^2.12.1:
version "2.14.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
+ resolved "https://registry.npmjs.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c"
integrity sha1-eBj3IgJ7JFmobwKV1DTR/CM2xSw=
nanomatch@^1.2.9:
version "1.2.13"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
+ resolved "https://registry.npmjs.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
integrity sha1-uHqKpPwN6P5r6IiVs4mD/yZb0Rk=
dependencies:
arr-diff "^4.0.0"
@@ -10758,28 +10358,17 @@ nanomatch@^1.2.9:
natives@^1.1.3:
version "1.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb"
+ resolved "https://registry.npmjs.com/natives/-/natives-1.1.6.tgz#a603b4a498ab77173612b9ea1acdec4d980f00bb"
integrity sha1-pgO0pJirdxc2ErnqGs3sTZgPALs=
natural-compare@^1.4.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
+ resolved "https://registry.npmjs.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
-nearley@^2.7.10:
- version "2.19.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nearley/-/nearley-2.19.0.tgz#37717781d0fd0f2bfc95e233ebd75678ca4bda46"
- integrity sha1-N3F3gdD9Dyv8leIz69dWeMpL2kY=
- dependencies:
- commander "^2.19.0"
- moo "^0.4.3"
- railroad-diagrams "^1.0.0"
- randexp "0.4.6"
- semver "^5.4.1"
-
needle@^2.2.1:
version "2.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"
+ resolved "https://registry.npmjs.com/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"
integrity sha1-aDPnSXXERGQlkOFadQKIxfk5tXw=
dependencies:
debug "^3.2.6"
@@ -10788,39 +10377,32 @@ needle@^2.2.1:
negotiator@0.6.2:
version "0.6.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
+ resolved "https://registry.npmjs.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
integrity sha1-/qz3zPUlp3rpY0Q2pkiD/+yjRvs=
neo-async@^2.5.0, neo-async@^2.6.0, neo-async@^2.6.1:
version "2.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
+ resolved "https://registry.npmjs.com/neo-async/-/neo-async-2.6.1.tgz#ac27ada66167fa8849a6addd837f6b189ad2081c"
integrity sha1-rCetpmFn+ohJpq3dg39rGJrSCBw=
nested-object-assign@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nested-object-assign/-/nested-object-assign-1.0.3.tgz#5aca69390d9affe5a612152b5f0843ae399ac597"
+ resolved "https://registry.npmjs.com/nested-object-assign/-/nested-object-assign-1.0.3.tgz#5aca69390d9affe5a612152b5f0843ae399ac597"
integrity sha1-WsppOQ2a/+WmEhUrXwhDrjmaxZc=
-next-tick@1, next-tick@^1.0.0:
+next-tick@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
+ resolved "https://registry.npmjs.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
-nib@^1.1.2:
- version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nib/-/nib-1.1.2.tgz#6a69ede4081b95c0def8be024a4c8ae0c2cbb6c7"
- integrity sha1-amnt5AgblcDe+L4CSkyK4MLLtsc=
- dependencies:
- stylus "0.54.5"
-
nice-try@^1.0.4:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
+ resolved "https://registry.npmjs.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366"
integrity sha1-ozeKdpbOfSI+iPybdkvX7xCJ42Y=
nise@^1.5.2:
version "1.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nise/-/nise-1.5.2.tgz#b6d29af10e48b321b307e10e065199338eeb2652"
+ resolved "https://registry.npmjs.com/nise/-/nise-1.5.2.tgz#b6d29af10e48b321b307e10e065199338eeb2652"
integrity sha1-ttKa8Q5IsyGzB+EOBlGZM47rJlI=
dependencies:
"@sinonjs/formatio" "^3.2.1"
@@ -10831,34 +10413,26 @@ nise@^1.5.2:
no-case@^2.2.0, no-case@^2.3.2:
version "2.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac"
+ resolved "https://registry.npmjs.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac"
integrity sha1-YLgTOWvjmz8SiKTB7V0efSi0ZKw=
dependencies:
lower-case "^1.1.1"
node-ask@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-ask/-/node-ask-1.0.1.tgz#caaa1076cc58e0364267a0903e3eadfac158396b"
+ resolved "https://registry.npmjs.com/node-ask/-/node-ask-1.0.1.tgz#caaa1076cc58e0364267a0903e3eadfac158396b"
integrity sha1-yqoQdsxY4DZCZ6CQPj6t+sFYOWs=
node-dir@^0.1.10:
version "0.1.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5"
+ resolved "https://registry.npmjs.com/node-dir/-/node-dir-0.1.17.tgz#5f5665d93351335caabef8f1c554516cf5f1e4e5"
integrity sha1-X1Zl2TNRM1yqvvjxxVRRbPXx5OU=
dependencies:
minimatch "^3.0.2"
-node-environment-flags@1.0.5:
- version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-environment-flags/-/node-environment-flags-1.0.5.tgz#fa930275f5bf5dae188d6192b24b4c8bbac3d76a"
- integrity sha1-+pMCdfW/Xa4YjWGSsktMi7rD12o=
- dependencies:
- object.getownpropertydescriptors "^2.0.3"
- semver "^5.7.0"
-
node-environment-flags@^1.0.5:
version "1.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088"
+ resolved "https://registry.npmjs.com/node-environment-flags/-/node-environment-flags-1.0.6.tgz#a30ac13621f6f7d674260a54dede048c3982c088"
integrity sha1-owrBNiH299Z0JgpU3t4EjDmCwIg=
dependencies:
object.getownpropertydescriptors "^2.0.3"
@@ -10866,7 +10440,7 @@ node-environment-flags@^1.0.5:
node-fetch-npm@^2.0.2:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7"
+ resolved "https://registry.npmjs.com/node-fetch-npm/-/node-fetch-npm-2.0.2.tgz#7258c9046182dca345b4208eda918daf33697ff7"
integrity sha1-cljJBGGC3KNFtCCO2pGNrzNpf/c=
dependencies:
encoding "^0.1.11"
@@ -10875,7 +10449,7 @@ node-fetch-npm@^2.0.2:
node-fetch@^1.0.1:
version "1.7.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
+ resolved "https://registry.npmjs.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
integrity sha1-mA9vcthSEaU0fGsrwYxbhMPrR+8=
dependencies:
encoding "^0.1.11"
@@ -10883,12 +10457,12 @@ node-fetch@^1.0.1:
node-fetch@^2.3.0, node-fetch@^2.5.0, node-fetch@^2.6.0:
version "2.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
+ resolved "https://registry.npmjs.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
integrity sha1-5jNFY4bUqlWGP2dqerDaqP3ssP0=
node-gyp@^5.0.2:
version "5.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-gyp/-/node-gyp-5.0.3.tgz#80d64c23790244991b6d44532f0a351bedd3dd45"
+ resolved "https://registry.npmjs.com/node-gyp/-/node-gyp-5.0.3.tgz#80d64c23790244991b6d44532f0a351bedd3dd45"
integrity sha1-gNZMI3kCRJkbbURTLwo1G+3T3UU=
dependencies:
env-paths "^1.0.0"
@@ -10905,12 +10479,12 @@ node-gyp@^5.0.2:
node-int64@^0.4.0:
version "0.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
+ resolved "https://registry.npmjs.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=
node-libs-browser@^2.2.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425"
+ resolved "https://registry.npmjs.com/node-libs-browser/-/node-libs-browser-2.2.1.tgz#b64f513d18338625f90346d27b0d235e631f6425"
integrity sha1-tk9RPRgzhiX5A0bSew0jXmMfZCU=
dependencies:
assert "^1.1.1"
@@ -10939,7 +10513,7 @@ node-libs-browser@^2.2.1:
node-loggly-bulk@^2.2.4:
version "2.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-loggly-bulk/-/node-loggly-bulk-2.2.4.tgz#bdd8638d97c43ecf1e1831ca98b250968fa6dee9"
+ resolved "https://registry.npmjs.com/node-loggly-bulk/-/node-loggly-bulk-2.2.4.tgz#bdd8638d97c43ecf1e1831ca98b250968fa6dee9"
integrity sha1-vdhjjZfEPs8eGDHKmLJQlo+m3uk=
dependencies:
json-stringify-safe "5.0.x"
@@ -10948,12 +10522,12 @@ node-loggly-bulk@^2.2.4:
node-modules-regexp@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
+ resolved "https://registry.npmjs.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40"
integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=
node-notifier@^5.4.2:
version "5.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-notifier/-/node-notifier-5.4.3.tgz#cb72daf94c93904098e28b9c590fd866e464bd50"
+ resolved "https://registry.npmjs.com/node-notifier/-/node-notifier-5.4.3.tgz#cb72daf94c93904098e28b9c590fd866e464bd50"
integrity sha1-y3La+UyTkECY4oucWQ/YZuRkvVA=
dependencies:
growly "^1.3.0"
@@ -10964,7 +10538,7 @@ node-notifier@^5.4.2:
node-plop@~0.19.0:
version "0.19.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-plop/-/node-plop-0.19.0.tgz#da76aed327e1392fa9ba27d94262747004d0abdb"
+ resolved "https://registry.npmjs.com/node-plop/-/node-plop-0.19.0.tgz#da76aed327e1392fa9ba27d94262747004d0abdb"
integrity sha1-2nau0yfhOS+puifZQmJ0cATQq9s=
dependencies:
change-case "^3.1.0"
@@ -10982,7 +10556,7 @@ node-plop@~0.19.0:
node-pre-gyp@^0.12.0:
version "0.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz#39ba4bb1439da030295f899e3b520b7785766149"
+ resolved "https://registry.npmjs.com/node-pre-gyp/-/node-pre-gyp-0.12.0.tgz#39ba4bb1439da030295f899e3b520b7785766149"
integrity sha1-ObpLsUOdoDApX4meO1ILd4V2YUk=
dependencies:
detect-libc "^1.0.2"
@@ -10998,21 +10572,21 @@ node-pre-gyp@^0.12.0:
node-releases@^1.1.25, node-releases@^1.1.29:
version "1.1.29"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/node-releases/-/node-releases-1.1.29.tgz#86a57c6587a30ecd6726449e5d293466b0a0bb86"
+ resolved "https://registry.npmjs.com/node-releases/-/node-releases-1.1.29.tgz#86a57c6587a30ecd6726449e5d293466b0a0bb86"
integrity sha1-hqV8ZYejDs1nJkSeXSk0ZrCgu4Y=
dependencies:
semver "^5.3.0"
"nopt@2 || 3":
version "3.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
+ resolved "https://registry.npmjs.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9"
integrity sha1-xkZdvwirzU2zWTF/eaxopkayj/k=
dependencies:
abbrev "1"
nopt@^4.0.1:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d"
+ resolved "https://registry.npmjs.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d"
integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=
dependencies:
abbrev "1"
@@ -11020,14 +10594,14 @@ nopt@^4.0.1:
nopt@~1.0.10:
version "1.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
+ resolved "https://registry.npmjs.com/nopt/-/nopt-1.0.10.tgz#6ddd21bd2a31417b92727dd585f8a6f37608ebee"
integrity sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=
dependencies:
abbrev "1"
normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, normalize-package-data@^2.4.0, normalize-package-data@^2.5.0:
version "2.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
+ resolved "https://registry.npmjs.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
integrity sha1-5m2xg4sgDB38IzIl0SyzZSDiNKg=
dependencies:
hosted-git-info "^2.1.4"
@@ -11037,24 +10611,24 @@ normalize-package-data@^2.0.0, normalize-package-data@^2.3.0, normalize-package-
normalize-path@^2.0.1, normalize-path@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
+ resolved "https://registry.npmjs.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9"
integrity sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=
dependencies:
remove-trailing-separator "^1.0.1"
normalize-path@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
+ resolved "https://registry.npmjs.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65"
integrity sha1-Dc1p/yOhybEf0JeDFmRKA4ghamU=
normalize-range@^0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
+ resolved "https://registry.npmjs.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942"
integrity sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=
-normalize-url@1.9.1, normalize-url@^1.0.0:
+normalize-url@1.9.1:
version "1.9.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c"
+ resolved "https://registry.npmjs.com/normalize-url/-/normalize-url-1.9.1.tgz#2cc0d66b31ea23036458436e3620d85954c66c3c"
integrity sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=
dependencies:
object-assign "^4.0.1"
@@ -11064,22 +10638,17 @@ normalize-url@1.9.1, normalize-url@^1.0.0:
normalize-url@^3.3.0:
version "3.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
+ resolved "https://registry.npmjs.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559"
integrity sha1-suHE3E98bVd0PfczpPWXjRhlBVk=
-normalize.css@^7.0.0:
- version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/normalize.css/-/normalize.css-7.0.0.tgz#abfb1dd82470674e0322b53ceb1aaf412938e4bf"
- integrity sha1-q/sd2CRwZ04DIrU86xqvQSk45L8=
-
npm-bundled@^1.0.1:
version "1.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd"
+ resolved "https://registry.npmjs.com/npm-bundled/-/npm-bundled-1.0.6.tgz#e7ba9aadcef962bb61248f91721cd932b3fe6bdd"
integrity sha1-57qarc75YrthJI+RchzZMrP+a90=
npm-lifecycle@^3.1.2:
version "3.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-lifecycle/-/npm-lifecycle-3.1.3.tgz#09e9b0b6686e85fd53bab82364386222d97a3730"
+ resolved "https://registry.npmjs.com/npm-lifecycle/-/npm-lifecycle-3.1.3.tgz#09e9b0b6686e85fd53bab82364386222d97a3730"
integrity sha1-Cemwtmhuhf1TurgjZDhiItl6NzA=
dependencies:
byline "^5.0.0"
@@ -11093,7 +10662,7 @@ npm-lifecycle@^3.1.2:
"npm-package-arg@^4.0.0 || ^5.0.0 || ^6.0.0", npm-package-arg@^6.0.0, npm-package-arg@^6.1.0:
version "6.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7"
+ resolved "https://registry.npmjs.com/npm-package-arg/-/npm-package-arg-6.1.1.tgz#02168cb0a49a2b75bf988a28698de7b529df5cb7"
integrity sha1-AhaMsKSaK3W/mIooaY3ntSnfXLc=
dependencies:
hosted-git-info "^2.7.1"
@@ -11103,22 +10672,15 @@ npm-lifecycle@^3.1.2:
npm-packlist@^1.1.6, npm-packlist@^1.4.4:
version "1.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44"
+ resolved "https://registry.npmjs.com/npm-packlist/-/npm-packlist-1.4.4.tgz#866224233850ac534b63d1a6e76050092b5d2f44"
integrity sha1-hmIkIzhQrFNLY9Gm52BQCStdL0Q=
dependencies:
ignore-walk "^3.0.1"
npm-bundled "^1.0.1"
-npm-path@^2.0.2, npm-path@^2.0.4:
- version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-path/-/npm-path-2.0.4.tgz#c641347a5ff9d6a09e4d9bce5580c4f505278e64"
- integrity sha1-xkE0el/51qCeTZvOVYDE9QUnjmQ=
- dependencies:
- which "^1.2.10"
-
npm-pick-manifest@^3.0.0:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7"
+ resolved "https://registry.npmjs.com/npm-pick-manifest/-/npm-pick-manifest-3.0.2.tgz#f4d9e5fd4be2153e5f4e5f9b7be8dc419a99abb7"
integrity sha1-9Nnl/UviFT5fTl+be+jcQZqZq7c=
dependencies:
figgy-pudding "^3.5.1"
@@ -11127,33 +10689,14 @@ npm-pick-manifest@^3.0.0:
npm-run-path@^2.0.0:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
+ resolved "https://registry.npmjs.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=
dependencies:
path-key "^2.0.0"
-npm-run@^5.0.1:
- version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-run/-/npm-run-5.0.1.tgz#1baea93389b50ae25a32382c8ca322398e50cd16"
- integrity sha1-G66pM4m1CuJaMjgsjKMiOY5QzRY=
- dependencies:
- minimist "^1.2.0"
- npm-path "^2.0.4"
- npm-which "^3.0.1"
- serializerr "^1.0.3"
-
-npm-which@^3.0.1:
- version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npm-which/-/npm-which-3.0.1.tgz#9225f26ec3a285c209cae67c3b11a6b4ab7140aa"
- integrity sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=
- dependencies:
- commander "^2.9.0"
- npm-path "^2.0.2"
- which "^1.2.10"
-
"npmlog@0 || 1 || 2 || 3 || 4", npmlog@^4.0.2, npmlog@^4.1.2:
version "4.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
+ resolved "https://registry.npmjs.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
integrity sha1-CKfyqL9zRgR3mp76StXMcXq7lUs=
dependencies:
are-we-there-yet "~1.1.2"
@@ -11163,34 +10706,34 @@ npm-which@^3.0.1:
nth-check@^1.0.2, nth-check@~1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"
+ resolved "https://registry.npmjs.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c"
integrity sha1-sr0pXDfj3VijvwcAN2Zjuk2c8Fw=
dependencies:
boolbase "~1.0.0"
num2fraction@^1.2.2:
version "1.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede"
+ resolved "https://registry.npmjs.com/num2fraction/-/num2fraction-1.2.2.tgz#6f682b6a027a4e9ddfa4564cd2589d1d4e669ede"
integrity sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=
number-is-nan@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
+ resolved "https://registry.npmjs.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d"
integrity sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=
"nwmatcher@>= 1.3.9 < 2.0.0":
version "1.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e"
+ resolved "https://registry.npmjs.com/nwmatcher/-/nwmatcher-1.4.4.tgz#2285631f34a95f0d0395cd900c96ed39b58f346e"
integrity sha1-IoVjHzSpXw0Dlc2QDJbtObWPNG4=
nwsapi@^2.0.7:
version "2.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nwsapi/-/nwsapi-2.1.4.tgz#e006a878db23636f8e8a67d33ca0e4edf61a842f"
+ resolved "https://registry.npmjs.com/nwsapi/-/nwsapi-2.1.4.tgz#e006a878db23636f8e8a67d33ca0e4edf61a842f"
integrity sha1-4AaoeNsjY2+OimfTPKDk7fYahC8=
nyc@^10.2.0:
version "10.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/nyc/-/nyc-10.3.2.tgz#f27f4d91f2a9db36c24f574ff5c6efff0233de46"
+ resolved "https://registry.npmjs.com/nyc/-/nyc-10.3.2.tgz#f27f4d91f2a9db36c24f574ff5c6efff0233de46"
integrity sha1-8n9NkfKp2zbCT1dP9cbv/wIz3kY=
dependencies:
archy "^1.0.0"
@@ -11223,22 +10766,22 @@ nyc@^10.2.0:
oauth-sign@~0.9.0:
version "0.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
+ resolved "https://registry.npmjs.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455"
integrity sha1-R6ewFrqmi1+g7PPe4IqFxnmsZFU=
object-assign@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"
+ resolved "https://registry.npmjs.com/object-assign/-/object-assign-3.0.0.tgz#9bedd5ca0897949bca47e7ff408062d549f587f2"
integrity sha1-m+3VygiXlJvKR+f/QIBi1Un1h/I=
object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
+ resolved "https://registry.npmjs.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
object-copy@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
+ resolved "https://registry.npmjs.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c"
integrity sha1-fn2Fi3gb18mRpBupde04EnVOmYw=
dependencies:
copy-descriptor "^0.1.0"
@@ -11247,29 +10790,24 @@ object-copy@^0.1.0:
object-inspect@^1.6.0:
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
+ resolved "https://registry.npmjs.com/object-inspect/-/object-inspect-1.6.0.tgz#c70b6cbf72f274aab4c34c0c82f5167bf82cf15b"
integrity sha1-xwtsv3LydKq0w0wMgvUWe/gs8Vs=
-object-is@^1.0.1:
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-is/-/object-is-1.0.1.tgz#0aa60ec9989a0b3ed795cf4d06f62cf1ad6539b6"
- integrity sha1-CqYOyZiaCz7Xlc9NBvYs8a1lObY=
-
object-keys@^1.0.11, object-keys@^1.0.12, object-keys@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
+ resolved "https://registry.npmjs.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e"
integrity sha1-HEfyct8nfzsdrwYWd9nILiMixg4=
object-visit@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"
+ resolved "https://registry.npmjs.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb"
integrity sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=
dependencies:
isobject "^3.0.0"
-object.assign@4.1.0, object.assign@^4.1.0:
+object.assign@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
+ resolved "https://registry.npmjs.com/object.assign/-/object.assign-4.1.0.tgz#968bf1100d7956bb3ca086f006f846b3bc4008da"
integrity sha1-lovxEA15Vrs8oIbwBvhGs7xACNo=
dependencies:
define-properties "^1.1.2"
@@ -11279,7 +10817,7 @@ object.assign@4.1.0, object.assign@^4.1.0:
object.defaults@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf"
+ resolved "https://registry.npmjs.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf"
integrity sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8=
dependencies:
array-each "^1.0.1"
@@ -11287,9 +10825,9 @@ object.defaults@^1.1.0:
for-own "^1.0.0"
isobject "^3.0.0"
-object.entries@^1.0.4, object.entries@^1.1.0:
+object.entries@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.entries/-/object.entries-1.1.0.tgz#2024fc6d6ba246aee38bdb0ffd5cfbcf371b7519"
+ resolved "https://registry.npmjs.com/object.entries/-/object.entries-1.1.0.tgz#2024fc6d6ba246aee38bdb0ffd5cfbcf371b7519"
integrity sha1-ICT8bWuiRq7ji9sP/Vz7zzcbdRk=
dependencies:
define-properties "^1.1.3"
@@ -11299,7 +10837,7 @@ object.entries@^1.0.4, object.entries@^1.1.0:
object.fromentries@^2.0.0, "object.fromentries@^2.0.0 || ^1.0.0":
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.fromentries/-/object.fromentries-2.0.0.tgz#49a543d92151f8277b3ac9600f1e930b189d30ab"
+ resolved "https://registry.npmjs.com/object.fromentries/-/object.fromentries-2.0.0.tgz#49a543d92151f8277b3ac9600f1e930b189d30ab"
integrity sha1-SaVD2SFR+Cd7OslgDx6TCxidMKs=
dependencies:
define-properties "^1.1.2"
@@ -11309,7 +10847,7 @@ object.fromentries@^2.0.0, "object.fromentries@^2.0.0 || ^1.0.0":
object.getownpropertydescriptors@^2.0.3:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"
+ resolved "https://registry.npmjs.com/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz#8758c846f5b407adab0f236e0986f14b051caa16"
integrity sha1-h1jIRvW0B62rDyNuCYbxSwUcqhY=
dependencies:
define-properties "^1.1.2"
@@ -11317,7 +10855,7 @@ object.getownpropertydescriptors@^2.0.3:
object.map@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37"
+ resolved "https://registry.npmjs.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37"
integrity sha1-z4Plncj8wK1fQlDh94s7gb2AHTc=
dependencies:
for-own "^1.0.0"
@@ -11325,7 +10863,7 @@ object.map@^1.0.0:
object.omit@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
+ resolved "https://registry.npmjs.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa"
integrity sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=
dependencies:
for-own "^0.1.4"
@@ -11333,14 +10871,14 @@ object.omit@^2.0.0:
object.pick@^1.2.0, object.pick@^1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"
+ resolved "https://registry.npmjs.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747"
integrity sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=
dependencies:
isobject "^3.0.1"
-object.values@^1.0.4, object.values@^1.1.0:
+object.values@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9"
+ resolved "https://registry.npmjs.com/object.values/-/object.values-1.1.0.tgz#bf6810ef5da3e5325790eaaa2be213ea84624da9"
integrity sha1-v2gQ712j5TJXkOqqK+IT6oRiTak=
dependencies:
define-properties "^1.1.3"
@@ -11350,52 +10888,52 @@ object.values@^1.0.4, object.values@^1.1.0:
octokit-pagination-methods@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
+ resolved "https://registry.npmjs.com/octokit-pagination-methods/-/octokit-pagination-methods-1.1.0.tgz#cf472edc9d551055f9ef73f6e42b4dbb4c80bea4"
integrity sha1-z0cu3J1VEFX573P25CtNu0yAvqQ=
on-finished@~2.3.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
+ resolved "https://registry.npmjs.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
integrity sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=
dependencies:
ee-first "1.1.1"
once@^1.3.0, once@^1.3.1, once@^1.4.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
+ resolved "https://registry.npmjs.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
dependencies:
wrappy "1"
once@~1.3.0:
version "1.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20"
+ resolved "https://registry.npmjs.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20"
integrity sha1-suJhVXzkwxTsgwTz+oJmPkKXyiA=
dependencies:
wrappy "1"
onetime@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
+ resolved "https://registry.npmjs.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
integrity sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=
dependencies:
mimic-fn "^1.0.0"
open@^6.1.0, open@^6.3.0:
version "6.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/open/-/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9"
+ resolved "https://registry.npmjs.com/open/-/open-6.4.0.tgz#5c13e96d0dc894686164f18965ecfe889ecfc8a9"
integrity sha1-XBPpbQ3IlGhhZPGJZez+iJ7PyKk=
dependencies:
is-wsl "^1.1.0"
openurl@1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/openurl/-/openurl-1.1.1.tgz#3875b4b0ef7a52c156f0db41d4609dbb0f94b387"
+ resolved "https://registry.npmjs.com/openurl/-/openurl-1.1.1.tgz#3875b4b0ef7a52c156f0db41d4609dbb0f94b387"
integrity sha1-OHW0sO96UsFW8NtB1GCduw+Us4c=
optimist@^0.6.1:
version "0.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686"
+ resolved "https://registry.npmjs.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686"
integrity sha1-2j6nRob6IaGaERwybpDrFaAZZoY=
dependencies:
minimist "~0.0.1"
@@ -11403,7 +10941,7 @@ optimist@^0.6.1:
optionator@^0.8.1, optionator@^0.8.2:
version "0.8.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64"
+ resolved "https://registry.npmjs.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64"
integrity sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=
dependencies:
deep-is "~0.1.3"
@@ -11415,7 +10953,7 @@ optionator@^0.8.1, optionator@^0.8.2:
ora@^3.4.0:
version "3.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ora/-/ora-3.4.0.tgz#bf0752491059a3ef3ed4c85097531de9fdbcd318"
+ resolved "https://registry.npmjs.com/ora/-/ora-3.4.0.tgz#bf0752491059a3ef3ed4c85097531de9fdbcd318"
integrity sha1-vwdSSRBZo+8+1MhQl1Md6f280xg=
dependencies:
chalk "^2.4.2"
@@ -11427,7 +10965,7 @@ ora@^3.4.0:
orchestrator@^0.3.0:
version "0.3.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/orchestrator/-/orchestrator-0.3.8.tgz#14e7e9e2764f7315fbac184e506c7aa6df94ad7e"
+ resolved "https://registry.npmjs.com/orchestrator/-/orchestrator-0.3.8.tgz#14e7e9e2764f7315fbac184e506c7aa6df94ad7e"
integrity sha1-FOfp4nZPcxX7rBhOUGx6pt+UrX4=
dependencies:
end-of-stream "~0.1.5"
@@ -11436,54 +10974,54 @@ orchestrator@^0.3.0:
ordered-read-streams@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz#fd565a9af8eb4473ba69b6ed8a34352cb552f126"
+ resolved "https://registry.npmjs.com/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz#fd565a9af8eb4473ba69b6ed8a34352cb552f126"
integrity sha1-/VZamvjrRHO6abbtijQ1LLVS8SY=
original@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f"
+ resolved "https://registry.npmjs.com/original/-/original-1.0.2.tgz#e442a61cffe1c5fd20a65f3261c26663b303f25f"
integrity sha1-5EKmHP/hxf0gpl8yYcJmY7MD8l8=
dependencies:
url-parse "^1.4.3"
os-browserify@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27"
+ resolved "https://registry.npmjs.com/os-browserify/-/os-browserify-0.3.0.tgz#854373c7f5c2315914fc9bfc6bd8238fdda1ec27"
integrity sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=
os-homedir@^1.0.0, os-homedir@^1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
+ resolved "https://registry.npmjs.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M=
os-locale@^1.4.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9"
+ resolved "https://registry.npmjs.com/os-locale/-/os-locale-1.4.0.tgz#20f9f17ae29ed345e8bde583b13d2009803c14d9"
integrity sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=
dependencies:
lcid "^1.0.0"
os-locale@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2"
+ resolved "https://registry.npmjs.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2"
integrity sha1-QrwpAKa1uL0XN2yOiCtlr8zyS/I=
dependencies:
execa "^0.7.0"
lcid "^1.0.0"
mem "^1.1.0"
-os-locale@^3.0.0, os-locale@^3.1.0:
+os-locale@^3.0.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a"
+ resolved "https://registry.npmjs.com/os-locale/-/os-locale-3.1.0.tgz#a802a6ee17f24c10483ab9935719cef4ed16bf1a"
integrity sha1-qAKm7hfyTBBIOrmTVxnO9O0Wvxo=
dependencies:
execa "^1.0.0"
lcid "^2.0.0"
mem "^4.0.0"
-os-name@^3.1.0:
+os-name@^3.0.0, os-name@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801"
+ resolved "https://registry.npmjs.com/os-name/-/os-name-3.1.0.tgz#dec19d966296e1cd62d701a5a66ee1ddeae70801"
integrity sha1-3sGdlmKW4c1i1wGlpm7h3ernCAE=
dependencies:
macos-release "^2.2.0"
@@ -11491,12 +11029,12 @@ os-name@^3.1.0:
os-tmpdir@^1.0.0, os-tmpdir@~1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
+ resolved "https://registry.npmjs.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
osenv@^0.1.4, osenv@^0.1.5:
version "0.1.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
+ resolved "https://registry.npmjs.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
integrity sha1-hc36+uso6Gd/QW4odZK18/SepBA=
dependencies:
os-homedir "^1.0.0"
@@ -11504,7 +11042,7 @@ osenv@^0.1.4, osenv@^0.1.5:
output-file-sync@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/output-file-sync/-/output-file-sync-2.0.1.tgz#f53118282f5f553c2799541792b723a4c71430c0"
+ resolved "https://registry.npmjs.com/output-file-sync/-/output-file-sync-2.0.1.tgz#f53118282f5f553c2799541792b723a4c71430c0"
integrity sha1-9TEYKC9fVTwnmVQXkrcjpMcUMMA=
dependencies:
graceful-fs "^4.1.11"
@@ -11513,120 +11051,120 @@ output-file-sync@^2.0.0:
p-defer@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
+ resolved "https://registry.npmjs.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=
p-each-series@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71"
+ resolved "https://registry.npmjs.com/p-each-series/-/p-each-series-1.0.0.tgz#930f3d12dd1f50e7434457a22cd6f04ac6ad7f71"
integrity sha1-kw89Et0fUOdDRFeiLNbwSsatf3E=
dependencies:
p-reduce "^1.0.0"
p-finally@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
+ resolved "https://registry.npmjs.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae"
integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=
p-is-promise@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e"
+ resolved "https://registry.npmjs.com/p-is-promise/-/p-is-promise-2.1.0.tgz#918cebaea248a62cf7ffab8e3bca8c5f882fc42e"
integrity sha1-kYzrrqJIpiz3/6uOO8qMX4gvxC4=
p-limit@^1.1.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8"
+ resolved "https://registry.npmjs.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8"
integrity sha1-uGvV8MJWkJEcdZD8v8IBDVSzzLg=
dependencies:
p-try "^1.0.0"
p-limit@^2.0.0, p-limit@^2.2.0:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"
+ resolved "https://registry.npmjs.com/p-limit/-/p-limit-2.2.1.tgz#aa07a788cc3151c939b5131f63570f0dd2009537"
integrity sha1-qgeniMwxUck5tRMfY1cPDdIAlTc=
dependencies:
p-try "^2.0.0"
p-locate@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
+ resolved "https://registry.npmjs.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43"
integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=
dependencies:
p-limit "^1.1.0"
p-locate@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4"
+ resolved "https://registry.npmjs.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4"
integrity sha1-Mi1poFwCZLJZl9n0DNiokasAZKQ=
dependencies:
p-limit "^2.0.0"
p-locate@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
+ resolved "https://registry.npmjs.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
integrity sha1-o0KLtwiLOmApL2aRkni3wpetTwc=
dependencies:
p-limit "^2.2.0"
p-map-series@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-map-series/-/p-map-series-1.0.0.tgz#bf98fe575705658a9e1351befb85ae4c1f07bdca"
+ resolved "https://registry.npmjs.com/p-map-series/-/p-map-series-1.0.0.tgz#bf98fe575705658a9e1351befb85ae4c1f07bdca"
integrity sha1-v5j+V1cFZYqeE1G++4WuTB8Hvco=
dependencies:
p-reduce "^1.0.0"
p-map@^2.0.0, p-map@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175"
+ resolved "https://registry.npmjs.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175"
integrity sha1-MQko/u+cnsxltosXaTAYpmXOoXU=
p-pipe@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-pipe/-/p-pipe-1.2.0.tgz#4b1a11399a11520a67790ee5a0c1d5881d6befe9"
+ resolved "https://registry.npmjs.com/p-pipe/-/p-pipe-1.2.0.tgz#4b1a11399a11520a67790ee5a0c1d5881d6befe9"
integrity sha1-SxoROZoRUgpneQ7loMHViB1r7+k=
p-queue@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-queue/-/p-queue-4.0.0.tgz#ed0eee8798927ed6f2c2f5f5b77fdb2061a5d346"
+ resolved "https://registry.npmjs.com/p-queue/-/p-queue-4.0.0.tgz#ed0eee8798927ed6f2c2f5f5b77fdb2061a5d346"
integrity sha1-7Q7uh5iSftbywvX1t3/bIGGl00Y=
dependencies:
eventemitter3 "^3.1.0"
p-reduce@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa"
+ resolved "https://registry.npmjs.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa"
integrity sha1-GMKw3ZNqRpClKfgjH1ig/bakffo=
p-try@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3"
+ resolved "https://registry.npmjs.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3"
integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=
p-try@^2.0.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
+ resolved "https://registry.npmjs.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
integrity sha1-yyhoVA4xPWHeWPr741zpAE1VQOY=
p-waterfall@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/p-waterfall/-/p-waterfall-1.0.0.tgz#7ed94b3ceb3332782353af6aae11aa9fc235bb00"
+ resolved "https://registry.npmjs.com/p-waterfall/-/p-waterfall-1.0.0.tgz#7ed94b3ceb3332782353af6aae11aa9fc235bb00"
integrity sha1-ftlLPOszMngjU69qrhGqn8I1uwA=
dependencies:
p-reduce "^1.0.0"
pad-component@0.0.1, pad-component@0.x:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pad-component/-/pad-component-0.0.1.tgz#ad1f22ce1bf0fdc0d6ddd908af17f351a404b8ac"
+ resolved "https://registry.npmjs.com/pad-component/-/pad-component-0.0.1.tgz#ad1f22ce1bf0fdc0d6ddd908af17f351a404b8ac"
integrity sha1-rR8izhvw/cDW3dkIrxfzUaQEuKw=
pako@~1.0.5:
version "1.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732"
+ resolved "https://registry.npmjs.com/pako/-/pako-1.0.10.tgz#4328badb5086a426aa90f541977d4955da5c9732"
integrity sha1-Qyi621CGpCaqkPVBl31JVdpclzI=
parallel-transform@^1.1.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc"
+ resolved "https://registry.npmjs.com/parallel-transform/-/parallel-transform-1.2.0.tgz#9049ca37d6cb2182c3b1d2c720be94d14a5814fc"
integrity sha1-kEnKN9bLIYLDsdLHIL6U0UpYFPw=
dependencies:
cyclist "^1.0.1"
@@ -11635,21 +11173,21 @@ parallel-transform@^1.1.0:
param-case@^2.1.0, param-case@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247"
+ resolved "https://registry.npmjs.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247"
integrity sha1-35T9jPZTHs915r75oIWPvHK+Ikc=
dependencies:
no-case "^2.2.0"
parent-module@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
+ resolved "https://registry.npmjs.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
integrity sha1-aR0nCeeMefrjoVZiJFLQB2LKqqI=
dependencies:
callsites "^3.0.0"
parse-asn1@^5.0.0:
version "5.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc"
+ resolved "https://registry.npmjs.com/parse-asn1/-/parse-asn1-5.1.4.tgz#37f6628f823fbdeb2273b4d540434a22f3ef1fcc"
integrity sha1-N/Zij4I/vesic7TVQENKIvPvH8w=
dependencies:
asn1.js "^4.0.0"
@@ -11661,7 +11199,7 @@ parse-asn1@^5.0.0:
parse-entities@^1.1.2:
version "1.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-entities/-/parse-entities-1.2.2.tgz#c31bf0f653b6661354f8973559cb86dd1d5edf50"
+ resolved "https://registry.npmjs.com/parse-entities/-/parse-entities-1.2.2.tgz#c31bf0f653b6661354f8973559cb86dd1d5edf50"
integrity sha1-wxvw9lO2ZhNU+Jc1WcuG3R1e31A=
dependencies:
character-entities "^1.0.0"
@@ -11673,7 +11211,7 @@ parse-entities@^1.1.2:
parse-filepath@^1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891"
+ resolved "https://registry.npmjs.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891"
integrity sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE=
dependencies:
is-absolute "^1.0.0"
@@ -11682,12 +11220,12 @@ parse-filepath@^1.0.1:
parse-github-repo-url@^1.3.0:
version "1.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50"
+ resolved "https://registry.npmjs.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50"
integrity sha1-nn2LslKmy2ukJZUGC3v23z28H1A=
parse-glob@^3.0.4:
version "3.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c"
+ resolved "https://registry.npmjs.com/parse-glob/-/parse-glob-3.0.4.tgz#b2c376cfb11f35513badd173ef0bb6e3a388391c"
integrity sha1-ssN2z7EfNVE7rdFz7wu246OIORw=
dependencies:
glob-base "^0.3.0"
@@ -11697,14 +11235,14 @@ parse-glob@^3.0.4:
parse-json@^2.2.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
+ resolved "https://registry.npmjs.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9"
integrity sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=
dependencies:
error-ex "^1.2.0"
parse-json@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
+ resolved "https://registry.npmjs.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0"
integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=
dependencies:
error-ex "^1.3.1"
@@ -11712,22 +11250,22 @@ parse-json@^4.0.0:
parse-node-version@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b"
+ resolved "https://registry.npmjs.com/parse-node-version/-/parse-node-version-1.0.1.tgz#e2b5dbede00e7fa9bc363607f53327e8b073189b"
integrity sha1-4rXb7eAOf6m8NjYH9TMn6LBzGJs=
parse-package-name@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-package-name/-/parse-package-name-0.1.0.tgz#3f44dd838feb4c2be4bf318bae4477d7706bade4"
+ resolved "https://registry.npmjs.com/parse-package-name/-/parse-package-name-0.1.0.tgz#3f44dd838feb4c2be4bf318bae4477d7706bade4"
integrity sha1-P0Tdg4/rTCvkvzGLrkR313BrreQ=
parse-passwd@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
+ resolved "https://registry.npmjs.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6"
integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=
parse-path@^4.0.0:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff"
+ resolved "https://registry.npmjs.com/parse-path/-/parse-path-4.0.1.tgz#0ec769704949778cb3b8eda5e994c32073a1adff"
integrity sha1-DsdpcElJd4yzuO2l6ZTDIHOhrf8=
dependencies:
is-ssh "^1.3.0"
@@ -11735,7 +11273,7 @@ parse-path@^4.0.0:
parse-url@^5.0.0:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f"
+ resolved "https://registry.npmjs.com/parse-url/-/parse-url-5.0.1.tgz#99c4084fc11be14141efa41b3d117a96fcb9527f"
integrity sha1-mcQIT8Eb4UFB76QbPRF6lvy5Un8=
dependencies:
is-ssh "^1.3.0"
@@ -11745,29 +11283,22 @@ parse-url@^5.0.0:
parse5@4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
+ resolved "https://registry.npmjs.com/parse5/-/parse5-4.0.0.tgz#6d78656e3da8d78b4ec0b906f7c08ef1dfe3f608"
integrity sha1-bXhlbj2o14tOwLkG98CO8d/j9gg=
parse5@^1.5.1:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94"
+ resolved "https://registry.npmjs.com/parse5/-/parse5-1.5.1.tgz#9b7f3b0de32be78dc2401b17573ccaf0f6f59d94"
integrity sha1-m387DeMr543CQBsXVzzK8Pb1nZQ=
-parse5@^3.0.1:
- version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c"
- integrity sha1-BC95L/3TaFFVHPTp4Gazh0q0W1w=
- dependencies:
- "@types/node" "*"
-
parseurl@~1.3.2, parseurl@~1.3.3:
version "1.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
+ resolved "https://registry.npmjs.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
integrity sha1-naGee+6NEt/wUT7Vt2lXeTvC6NQ=
pascal-case@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pascal-case/-/pascal-case-2.0.1.tgz#2d578d3455f660da65eca18ef95b4e0de912761e"
+ resolved "https://registry.npmjs.com/pascal-case/-/pascal-case-2.0.1.tgz#2d578d3455f660da65eca18ef95b4e0de912761e"
integrity sha1-LVeNNFX2YNpl7KGO+VtODekSdh4=
dependencies:
camel-case "^3.0.0"
@@ -11775,90 +11306,90 @@ pascal-case@^2.0.0:
pascalcase@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
+ resolved "https://registry.npmjs.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
integrity sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=
path-browserify@0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a"
+ resolved "https://registry.npmjs.com/path-browserify/-/path-browserify-0.0.1.tgz#e6c4ddd7ed3aa27c68a20cc4e50e1a4ee83bbc4a"
integrity sha1-5sTd1+06onxoogzE5Q4aTug7vEo=
path-case@^2.1.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-case/-/path-case-2.1.1.tgz#94b8037c372d3fe2906e465bb45e25d226e8eea5"
+ resolved "https://registry.npmjs.com/path-case/-/path-case-2.1.1.tgz#94b8037c372d3fe2906e465bb45e25d226e8eea5"
integrity sha1-lLgDfDctP+KQbkZbtF4l0ibo7qU=
dependencies:
no-case "^2.2.0"
path-dirname@^1.0.0:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
+ resolved "https://registry.npmjs.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0"
integrity sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=
path-exists@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b"
+ resolved "https://registry.npmjs.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b"
integrity sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=
dependencies:
pinkie-promise "^2.0.0"
path-exists@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
+ resolved "https://registry.npmjs.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515"
integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=
path-exists@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
+ resolved "https://registry.npmjs.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
integrity sha1-UTvb4tO5XXdi6METfvoZXGxhtbM=
path-is-absolute@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
+ resolved "https://registry.npmjs.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
path-is-inside@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
+ resolved "https://registry.npmjs.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53"
integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=
path-key@^2.0.0, path-key@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
+ resolved "https://registry.npmjs.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40"
integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=
path-parse@^1.0.5, path-parse@^1.0.6:
version "1.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
+ resolved "https://registry.npmjs.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
integrity sha1-1i27VnlAXXLEc37FhgDp3c8G0kw=
path-root-regex@^0.1.0:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d"
+ resolved "https://registry.npmjs.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d"
integrity sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0=
path-root@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7"
+ resolved "https://registry.npmjs.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7"
integrity sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc=
dependencies:
path-root-regex "^0.1.0"
path-to-regexp@0.1.7:
version "0.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
+ resolved "https://registry.npmjs.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=
path-to-regexp@^1.7.0:
version "1.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d"
+ resolved "https://registry.npmjs.com/path-to-regexp/-/path-to-regexp-1.7.0.tgz#59fde0f435badacba103a84e9d3bc64e96b9937d"
integrity sha1-Wf3g9DW62suhA6hOnTvGTpa5k30=
dependencies:
isarray "0.0.1"
path-type@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
+ resolved "https://registry.npmjs.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441"
integrity sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=
dependencies:
graceful-fs "^4.1.2"
@@ -11867,28 +11398,28 @@ path-type@^1.0.0:
path-type@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
+ resolved "https://registry.npmjs.com/path-type/-/path-type-2.0.0.tgz#f012ccb8415b7096fc2daa1054c3d72389594c73"
integrity sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=
dependencies:
pify "^2.0.0"
path-type@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
+ resolved "https://registry.npmjs.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f"
integrity sha1-zvMdyOCho7sNEFwM2Xzzv0f0428=
dependencies:
pify "^3.0.0"
pause-stream@^0.0.11:
version "0.0.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
+ resolved "https://registry.npmjs.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445"
integrity sha1-/lo0sMvOErWqaitAPuLnO2AvFEU=
dependencies:
through "~2.3"
pbkdf2@^3.0.3:
version "3.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6"
+ resolved "https://registry.npmjs.com/pbkdf2/-/pbkdf2-3.0.17.tgz#976c206530617b14ebb32114239f7b09336e93a6"
integrity sha1-l2wgZTBhexTrsyEUI597CTNuk6Y=
dependencies:
create-hash "^1.1.2"
@@ -11899,39 +11430,39 @@ pbkdf2@^3.0.3:
performance-now@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
+ resolved "https://registry.npmjs.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
pify@^2.0.0, pify@^2.3.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
+ resolved "https://registry.npmjs.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c"
integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw=
pify@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
+ resolved "https://registry.npmjs.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176"
integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=
pify@^4.0.0, pify@^4.0.1:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
+ resolved "https://registry.npmjs.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231"
integrity sha1-SyzSXFDVmHNcUCkiJP2MbfQeMjE=
pinkie-promise@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
+ resolved "https://registry.npmjs.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa"
integrity sha1-ITXW36ejWMBprJsXh3YogihFD/o=
dependencies:
pinkie "^2.0.0"
pinkie@^2.0.0:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
+ resolved "https://registry.npmjs.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
integrity sha1-clVrgM+g1IqXToDnckjoDtT3+HA=
pino@4.10.2:
version "4.10.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pino/-/pino-4.10.2.tgz#77e93cdfa1cdb58f688cbb0abaebe67eb2f315f4"
+ resolved "https://registry.npmjs.com/pino/-/pino-4.10.2.tgz#77e93cdfa1cdb58f688cbb0abaebe67eb2f315f4"
integrity sha1-d+k836HNtY9ojLsKuuvmfrLzFfQ=
dependencies:
chalk "^2.3.0"
@@ -11944,49 +11475,49 @@ pino@4.10.2:
pirates@^4.0.0, pirates@^4.0.1:
version "4.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"
+ resolved "https://registry.npmjs.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87"
integrity sha1-ZDqSyviUVm+RsrmG0sZpUKji+4c=
dependencies:
node-modules-regexp "^1.0.0"
pkg-dir@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4"
+ resolved "https://registry.npmjs.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4"
integrity sha1-ektQio1bstYp1EcFb/TpyTFM89Q=
dependencies:
find-up "^1.0.0"
pkg-dir@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
+ resolved "https://registry.npmjs.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"
integrity sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=
dependencies:
find-up "^2.1.0"
pkg-dir@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3"
+ resolved "https://registry.npmjs.com/pkg-dir/-/pkg-dir-3.0.0.tgz#2749020f239ed990881b1f71210d51eb6523bea3"
integrity sha1-J0kCDyOe2ZCIGx9xIQ1R62UjvqM=
dependencies:
find-up "^3.0.0"
pkg-dir@^4.1.0:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
+ resolved "https://registry.npmjs.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
integrity sha1-8JkTPfft5CLoHR2ESCcO6z5CYfM=
dependencies:
find-up "^4.0.0"
pkg-up@2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f"
+ resolved "https://registry.npmjs.com/pkg-up/-/pkg-up-2.0.0.tgz#c819ac728059a461cab1c3889a2be3c49a004d7f"
integrity sha1-yBmscoBZpGHKscOImivjxJoATX8=
dependencies:
find-up "^2.1.0"
plop@^2.4.0:
version "2.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/plop/-/plop-2.4.0.tgz#3b529b20ea07a8a803ae7e1853e86c50d5277df5"
+ resolved "https://registry.npmjs.com/plop/-/plop-2.4.0.tgz#3b529b20ea07a8a803ae7e1853e86c50d5277df5"
integrity sha1-O1KbIOoHqKgDrn4YU+hsUNUnffU=
dependencies:
chalk "^1.1.3"
@@ -11999,36 +11530,36 @@ plop@^2.4.0:
pn@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
+ resolved "https://registry.npmjs.com/pn/-/pn-1.1.0.tgz#e2f4cef0e219f463c179ab37463e4e1ecdccbafb"
integrity sha1-4vTO8OIZ9GPBeas3Rj5OHs3Muvs=
pnp-webpack-plugin@1.4.3:
version "1.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pnp-webpack-plugin/-/pnp-webpack-plugin-1.4.3.tgz#0a100b63f4a1d09cee6ee55a87393b69f03ab5c7"
+ resolved "https://registry.npmjs.com/pnp-webpack-plugin/-/pnp-webpack-plugin-1.4.3.tgz#0a100b63f4a1d09cee6ee55a87393b69f03ab5c7"
integrity sha1-ChALY/Sh0JzubuVahzk7afA6tcc=
dependencies:
ts-pnp "^1.1.2"
polished@^3.3.1:
version "3.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/polished/-/polished-3.4.1.tgz#1eb5597ec1792206365635811d465751f5cbf71c"
+ resolved "https://registry.npmjs.com/polished/-/polished-3.4.1.tgz#1eb5597ec1792206365635811d465751f5cbf71c"
integrity sha1-HrVZfsF5IgY2VjWBHUZXUfXL9xw=
dependencies:
"@babel/runtime" "^7.4.5"
popper.js@^1.14.4, popper.js@^1.14.7:
version "1.15.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/popper.js/-/popper.js-1.15.0.tgz#5560b99bbad7647e9faa475c6b8056621f5a4ff2"
+ resolved "https://registry.npmjs.com/popper.js/-/popper.js-1.15.0.tgz#5560b99bbad7647e9faa475c6b8056621f5a4ff2"
integrity sha1-VWC5m7rXZH6fqkdca4BWYh9aT/I=
posix-character-classes@^0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
+ resolved "https://registry.npmjs.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab"
integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=
postcss-calc@^6.0.0:
version "6.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-calc/-/postcss-calc-6.0.2.tgz#4d9a43e27dbbf27d095fecb021ac6896e2318337"
+ resolved "https://registry.npmjs.com/postcss-calc/-/postcss-calc-6.0.2.tgz#4d9a43e27dbbf27d095fecb021ac6896e2318337"
integrity sha1-TZpD4n278n0JX+ywIaxoluIxgzc=
dependencies:
css-unit-converter "^1.1.1"
@@ -12038,7 +11569,7 @@ postcss-calc@^6.0.0:
postcss-custom-properties@6.3.1:
version "6.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-custom-properties/-/postcss-custom-properties-6.3.1.tgz#5c52abde313d7ec9368c4abf67d27a656cba8b39"
+ resolved "https://registry.npmjs.com/postcss-custom-properties/-/postcss-custom-properties-6.3.1.tgz#5c52abde313d7ec9368c4abf67d27a656cba8b39"
integrity sha1-XFKr3jE9fsk2jEq/Z9J6ZWy6izk=
dependencies:
balanced-match "^1.0.0"
@@ -12046,7 +11577,7 @@ postcss-custom-properties@6.3.1:
postcss-dir-pseudo-class@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-5.0.0.tgz#6e3a4177d0edb3abcc85fdb6fbb1c26dabaeaba2"
+ resolved "https://registry.npmjs.com/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-5.0.0.tgz#6e3a4177d0edb3abcc85fdb6fbb1c26dabaeaba2"
integrity sha1-bjpBd9Dts6vMhf22+7HCbauuq6I=
dependencies:
postcss "^7.0.2"
@@ -12054,14 +11585,14 @@ postcss-dir-pseudo-class@^5.0.0:
postcss-flexbugs-fixes@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.1.0.tgz#e094a9df1783e2200b7b19f875dcad3b3aff8b20"
+ resolved "https://registry.npmjs.com/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.1.0.tgz#e094a9df1783e2200b7b19f875dcad3b3aff8b20"
integrity sha1-4JSp3xeD4iALexn4ddytOzr/iyA=
dependencies:
postcss "^7.0.0"
postcss-focus-ring@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-focus-ring/-/postcss-focus-ring-1.0.0.tgz#df533b1fa2c6d2d1bdd72e8f0462e3f9f7a08390"
+ resolved "https://registry.npmjs.com/postcss-focus-ring/-/postcss-focus-ring-1.0.0.tgz#df533b1fa2c6d2d1bdd72e8f0462e3f9f7a08390"
integrity sha1-31M7H6LG0tG91y6PBGLj+fegg5A=
dependencies:
postcss "^6.0.1"
@@ -12069,7 +11600,7 @@ postcss-focus-ring@^1.0.0:
postcss-functions@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-functions/-/postcss-functions-3.0.0.tgz#0e94d01444700a481de20de4d55fb2640564250e"
+ resolved "https://registry.npmjs.com/postcss-functions/-/postcss-functions-3.0.0.tgz#0e94d01444700a481de20de4d55fb2640564250e"
integrity sha1-DpTQFERwCkgd4g3k1V+yZAVkJQ4=
dependencies:
glob "^7.1.2"
@@ -12079,7 +11610,7 @@ postcss-functions@^3.0.0:
postcss-import@^12.0.1:
version "12.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153"
+ resolved "https://registry.npmjs.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153"
integrity sha1-z4x6sLXMq1ZJAkU25WX4QZKLcVM=
dependencies:
postcss "^7.0.1"
@@ -12089,14 +11620,14 @@ postcss-import@^12.0.1:
postcss-inherit-parser@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-inherit-parser/-/postcss-inherit-parser-0.2.0.tgz#661af4b77fa6c0005dd4ae76c4710d5a756210a7"
+ resolved "https://registry.npmjs.com/postcss-inherit-parser/-/postcss-inherit-parser-0.2.0.tgz#661af4b77fa6c0005dd4ae76c4710d5a756210a7"
integrity sha1-Zhr0t3+mwABd1K52xHENWnViEKc=
dependencies:
postcss "^6.0.22"
postcss-inherit@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-inherit/-/postcss-inherit-4.1.0.tgz#54268633ec137700e72c9eb40ea961571db4d61b"
+ resolved "https://registry.npmjs.com/postcss-inherit/-/postcss-inherit-4.1.0.tgz#54268633ec137700e72c9eb40ea961571db4d61b"
integrity sha1-VCaGM+wTdwDnLJ60DqlhVx201hs=
dependencies:
debug "^3.1.0"
@@ -12105,7 +11636,7 @@ postcss-inherit@^4.1.0:
postcss-load-config@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-load-config/-/postcss-load-config-2.1.0.tgz#c84d692b7bb7b41ddced94ee62e8ab31b417b003"
+ resolved "https://registry.npmjs.com/postcss-load-config/-/postcss-load-config-2.1.0.tgz#c84d692b7bb7b41ddced94ee62e8ab31b417b003"
integrity sha1-yE1pK3u3tB3c7ZTuYuirMbQXsAM=
dependencies:
cosmiconfig "^5.0.0"
@@ -12113,7 +11644,7 @@ postcss-load-config@^2.0.0:
postcss-loader@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-loader/-/postcss-loader-3.0.0.tgz#6b97943e47c72d845fa9e03f273773d4e8dd6c2d"
+ resolved "https://registry.npmjs.com/postcss-loader/-/postcss-loader-3.0.0.tgz#6b97943e47c72d845fa9e03f273773d4e8dd6c2d"
integrity sha1-a5eUPkfHLYRfqeA/Jzdz1OjdbC0=
dependencies:
loader-utils "^1.1.0"
@@ -12123,21 +11654,21 @@ postcss-loader@^3.0.0:
postcss-logical@^4.0.0:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-logical/-/postcss-logical-4.0.2.tgz#63f5207bae63f1f646462c26509185c2eae22c72"
+ resolved "https://registry.npmjs.com/postcss-logical/-/postcss-logical-4.0.2.tgz#63f5207bae63f1f646462c26509185c2eae22c72"
integrity sha1-Y/Uge65j8fZGRiwmUJGFwuriLHI=
dependencies:
postcss "^7.0.17"
postcss-modules-extract-imports@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e"
+ resolved "https://registry.npmjs.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz#818719a1ae1da325f9832446b01136eeb493cd7e"
integrity sha1-gYcZoa4doyX5gyRGsBE27rSTzX4=
dependencies:
postcss "^7.0.5"
postcss-modules-local-by-default@^2.0.6:
version "2.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.6.tgz#dd9953f6dd476b5fd1ef2d8830c8929760b56e63"
+ resolved "https://registry.npmjs.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-2.0.6.tgz#dd9953f6dd476b5fd1ef2d8830c8929760b56e63"
integrity sha1-3ZlT9t1Ha1/R7y2IMMiSl2C1bmM=
dependencies:
postcss "^7.0.6"
@@ -12146,7 +11677,7 @@ postcss-modules-local-by-default@^2.0.6:
postcss-modules-scope@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-modules-scope/-/postcss-modules-scope-2.1.0.tgz#ad3f5bf7856114f6fcab901b0502e2a2bc39d4eb"
+ resolved "https://registry.npmjs.com/postcss-modules-scope/-/postcss-modules-scope-2.1.0.tgz#ad3f5bf7856114f6fcab901b0502e2a2bc39d4eb"
integrity sha1-rT9b94VhFPb8q5AbBQLiorw51Os=
dependencies:
postcss "^7.0.6"
@@ -12154,7 +11685,7 @@ postcss-modules-scope@^2.1.0:
postcss-modules-values@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-modules-values/-/postcss-modules-values-2.0.0.tgz#479b46dc0c5ca3dc7fa5270851836b9ec7152f64"
+ resolved "https://registry.npmjs.com/postcss-modules-values/-/postcss-modules-values-2.0.0.tgz#479b46dc0c5ca3dc7fa5270851836b9ec7152f64"
integrity sha1-R5tG3Axco9x/pScIUYNrnscVL2Q=
dependencies:
icss-replace-symbols "^1.1.0"
@@ -12162,7 +11693,7 @@ postcss-modules-values@^2.0.0:
postcss-nested@^4.1.2:
version "4.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-nested/-/postcss-nested-4.1.2.tgz#8e0570f736bfb4be5136e31901bf2380b819a561"
+ resolved "https://registry.npmjs.com/postcss-nested/-/postcss-nested-4.1.2.tgz#8e0570f736bfb4be5136e31901bf2380b819a561"
integrity sha1-jgVw9za/tL5RNuMZAb8jgLgZpWE=
dependencies:
postcss "^7.0.14"
@@ -12170,7 +11701,7 @@ postcss-nested@^4.1.2:
postcss-selector-parser@^2.2.2, postcss-selector-parser@^2.2.3:
version "2.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz#f9437788606c3c9acee16ffe8d8b16297f27bb90"
+ resolved "https://registry.npmjs.com/postcss-selector-parser/-/postcss-selector-parser-2.2.3.tgz#f9437788606c3c9acee16ffe8d8b16297f27bb90"
integrity sha1-+UN3iGBsPJrO4W/+jYsWKX8nu5A=
dependencies:
flatten "^1.0.2"
@@ -12179,7 +11710,7 @@ postcss-selector-parser@^2.2.2, postcss-selector-parser@^2.2.3:
postcss-selector-parser@^5.0.0, postcss-selector-parser@^5.0.0-rc.3:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz#249044356697b33b64f1a8f7c80922dddee7195c"
+ resolved "https://registry.npmjs.com/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz#249044356697b33b64f1a8f7c80922dddee7195c"
integrity sha1-JJBENWaXsztk8aj3yAki3d7nGVw=
dependencies:
cssesc "^2.0.0"
@@ -12188,7 +11719,7 @@ postcss-selector-parser@^5.0.0, postcss-selector-parser@^5.0.0-rc.3:
postcss-selector-parser@^6.0.0:
version "6.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c"
+ resolved "https://registry.npmjs.com/postcss-selector-parser/-/postcss-selector-parser-6.0.2.tgz#934cf799d016c83411859e09dcecade01286ec5c"
integrity sha1-k0z3mdAWyDQRhZ4J3Oyt4BKG7Fw=
dependencies:
cssesc "^3.0.0"
@@ -12197,7 +11728,7 @@ postcss-selector-parser@^6.0.0:
postcss-svg@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-svg/-/postcss-svg-3.0.0.tgz#3385a586ecd452bf9cd34b6f864aef6e58ec7aa1"
+ resolved "https://registry.npmjs.com/postcss-svg/-/postcss-svg-3.0.0.tgz#3385a586ecd452bf9cd34b6f864aef6e58ec7aa1"
integrity sha1-M4WlhuzUUr+c00tvhkrvbljseqE=
dependencies:
postcss "^7.0.6"
@@ -12207,17 +11738,17 @@ postcss-svg@^3.0.0:
postcss-value-parser@^3.2.3, postcss-value-parser@^3.3.0, postcss-value-parser@^3.3.1:
version "3.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281"
+ resolved "https://registry.npmjs.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281"
integrity sha1-n/giVH4okyE88cMO+lGsX9G6goE=
postcss-value-parser@^4.0.0:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz#482282c09a42706d1fc9a069b73f44ec08391dc9"
+ resolved "https://registry.npmjs.com/postcss-value-parser/-/postcss-value-parser-4.0.2.tgz#482282c09a42706d1fc9a069b73f44ec08391dc9"
integrity sha1-SCKCwJpCcG0fyaBptz9E7Ag5Hck=
postcss-values-parser@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz#da8b472d901da1e205b47bdc98637b9e9e550e5f"
+ resolved "https://registry.npmjs.com/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz#da8b472d901da1e205b47bdc98637b9e9e550e5f"
integrity sha1-2otHLZAdoeIFtHvcmGN7np5VDl8=
dependencies:
flatten "^1.0.2"
@@ -12226,7 +11757,7 @@ postcss-values-parser@^2.0.0:
postcss@^6.0.1, postcss@^6.0.18, postcss@^6.0.22, postcss@^6.0.9:
version "6.0.23"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324"
+ resolved "https://registry.npmjs.com/postcss/-/postcss-6.0.23.tgz#61c82cc328ac60e677645f979054eb98bc0e3324"
integrity sha1-YcgswyisYOZ3ZF+XkFTrmLwOMyQ=
dependencies:
chalk "^2.4.1"
@@ -12235,7 +11766,7 @@ postcss@^6.0.1, postcss@^6.0.18, postcss@^6.0.22, postcss@^6.0.9:
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.5, postcss@^7.0.6:
version "7.0.17"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/postcss/-/postcss-7.0.17.tgz#4da1bdff5322d4a0acaab4d87f3e782436bad31f"
+ resolved "https://registry.npmjs.com/postcss/-/postcss-7.0.17.tgz#4da1bdff5322d4a0acaab4d87f3e782436bad31f"
integrity sha1-TaG9/1Mi1KCsqrTYfz54JDa60x8=
dependencies:
chalk "^2.4.2"
@@ -12244,22 +11775,22 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2
prelude-ls@~1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
+ resolved "https://registry.npmjs.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54"
integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=
prepend-http@^1.0.0:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
+ resolved "https://registry.npmjs.com/prepend-http/-/prepend-http-1.0.4.tgz#d4f4562b0ce3696e41ac52d0e002e57a635dc6dc"
integrity sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=
preserve@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
+ resolved "https://registry.npmjs.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=
pretty-error@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pretty-error/-/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3"
+ resolved "https://registry.npmjs.com/pretty-error/-/pretty-error-2.1.1.tgz#5f4f87c8f91e5ae3f3ba87ab4cf5e03b1a17f1a3"
integrity sha1-X0+HyPkeWuPzuoerTPXgOxoX8aM=
dependencies:
renderkid "^2.0.1"
@@ -12267,7 +11798,7 @@ pretty-error@^2.1.1:
pretty-format@^24.0.0, pretty-format@^24.8.0, pretty-format@^24.9.0:
version "24.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9"
+ resolved "https://registry.npmjs.com/pretty-format/-/pretty-format-24.9.0.tgz#12fac31b37019a4eea3c11aa9a959eb7628aa7c9"
integrity sha1-EvrDGzcBmk7qPBGqmpWet2KKp8k=
dependencies:
"@jest/types" "^24.9.0"
@@ -12277,34 +11808,34 @@ pretty-format@^24.0.0, pretty-format@^24.8.0, pretty-format@^24.9.0:
pretty-hrtime@^1.0.0, pretty-hrtime@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
+ resolved "https://registry.npmjs.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=
prismjs@^1.8.4, prismjs@~1.17.0:
version "1.17.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be"
+ resolved "https://registry.npmjs.com/prismjs/-/prismjs-1.17.1.tgz#e669fcbd4cdd873c35102881c33b14d0d68519be"
integrity sha1-5mn8vUzdhzw1ECiBwzsU0NaFGb4=
optionalDependencies:
clipboard "^2.0.0"
private@^0.1.6, private@^0.1.8, private@~0.1.5:
version "0.1.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
+ resolved "https://registry.npmjs.com/private/-/private-0.1.8.tgz#2381edb3689f7a53d653190060fcf822d2f368ff"
integrity sha1-I4Hts2ifelPWUxkAYPz4ItLzaP8=
process-nextick-args@~2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
+ resolved "https://registry.npmjs.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
integrity sha1-eCDZsWEgzFXKmud5JoCufbptf+I=
process@^0.11.10:
version "0.11.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
+ resolved "https://registry.npmjs.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=
progress-stream@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/progress-stream/-/progress-stream-2.0.0.tgz#fac63a0b3d11deacbb0969abcc93b214bce19ed5"
+ resolved "https://registry.npmjs.com/progress-stream/-/progress-stream-2.0.0.tgz#fac63a0b3d11deacbb0969abcc93b214bce19ed5"
integrity sha1-+sY6Cz0R3qy7CWmrzJOyFLzhntU=
dependencies:
speedometer "~1.0.0"
@@ -12312,17 +11843,17 @@ progress-stream@^2.0.0:
progress@^2.0.0, progress@^2.0.3:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
+ resolved "https://registry.npmjs.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
integrity sha1-foz42PW48jnBvGi+tOt4Vn1XLvg=
promise-inflight@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
+ resolved "https://registry.npmjs.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM=
promise-retry@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promise-retry/-/promise-retry-1.1.1.tgz#6739e968e3051da20ce6497fb2b50f6911df3d6d"
+ resolved "https://registry.npmjs.com/promise-retry/-/promise-retry-1.1.1.tgz#6739e968e3051da20ce6497fb2b50f6911df3d6d"
integrity sha1-ZznpaOMFHaIM5kl/srUPaRHfPW0=
dependencies:
err-code "^1.0.0"
@@ -12330,7 +11861,7 @@ promise-retry@^1.1.1:
promise.allsettled@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promise.allsettled/-/promise.allsettled-1.0.1.tgz#afe4bfcc13b26e2263a97a7fbbb19b8ca6eb619c"
+ resolved "https://registry.npmjs.com/promise.allsettled/-/promise.allsettled-1.0.1.tgz#afe4bfcc13b26e2263a97a7fbbb19b8ca6eb619c"
integrity sha1-r+S/zBOybiJjqXp/u7GbjKbrYZw=
dependencies:
define-properties "^1.1.3"
@@ -12339,7 +11870,7 @@ promise.allsettled@^1.0.0:
promise.prototype.finally@^3.1.0:
version "3.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promise.prototype.finally/-/promise.prototype.finally-3.1.1.tgz#cb279d3a5020ca6403b3d92357f8e22d50ed92aa"
+ resolved "https://registry.npmjs.com/promise.prototype.finally/-/promise.prototype.finally-3.1.1.tgz#cb279d3a5020ca6403b3d92357f8e22d50ed92aa"
integrity sha1-yyedOlAgymQDs9kjV/jiLVDtkqo=
dependencies:
define-properties "^1.1.3"
@@ -12348,21 +11879,14 @@ promise.prototype.finally@^3.1.0:
promise@^7.1.1:
version "7.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"
+ resolved "https://registry.npmjs.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"
integrity sha1-BktyYCsY+Q8pGSuLG8QY/9Hr078=
dependencies:
asap "~2.0.3"
-promptly@^2.1.0:
- version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promptly/-/promptly-2.2.0.tgz#2a13fa063688a2a5983b161fff0108a07d26fc74"
- integrity sha1-KhP6BjaIoqWYOxYf/wEIoH0m/HQ=
- dependencies:
- read "^1.0.4"
-
prompts@^2.0.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prompts/-/prompts-2.2.1.tgz#f901dd2a2dfee080359c0e20059b24188d75ad35"
+ resolved "https://registry.npmjs.com/prompts/-/prompts-2.2.1.tgz#f901dd2a2dfee080359c0e20059b24188d75ad35"
integrity sha1-+QHdKi3+4IA1nA4gBZskGI11rTU=
dependencies:
kleur "^3.0.3"
@@ -12370,23 +11894,14 @@ prompts@^2.0.1:
promzard@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee"
+ resolved "https://registry.npmjs.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee"
integrity sha1-JqXW7ox97kyxIggwWs+5O6OCqe4=
dependencies:
read "1"
-prop-types-exact@^1.2.0:
- version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prop-types-exact/-/prop-types-exact-1.2.0.tgz#825d6be46094663848237e3925a98c6e944e9869"
- integrity sha1-gl1r5GCUZjhII345JamMbpROmGk=
- dependencies:
- has "^1.0.3"
- object.assign "^4.1.0"
- reflect.ownkeys "^0.2.0"
-
prop-types-extra@^1.0.1:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prop-types-extra/-/prop-types-extra-1.1.0.tgz#32609910ea2dcf190366bacd3490d5a6412a605f"
+ resolved "https://registry.npmjs.com/prop-types-extra/-/prop-types-extra-1.1.0.tgz#32609910ea2dcf190366bacd3490d5a6412a605f"
integrity sha1-MmCZEOotzxkDZrrNNJDVpkEqYF8=
dependencies:
react-is "^16.3.2"
@@ -12394,7 +11909,7 @@ prop-types-extra@^1.0.1:
prop-types@15.7.2, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2:
version "15.7.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
+ resolved "https://registry.npmjs.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha1-UsQedbjIfnK52TYOAga5ncv/psU=
dependencies:
loose-envify "^1.4.0"
@@ -12403,36 +11918,31 @@ prop-types@15.7.2, prop-types@^15.5.10, prop-types@^15.5.8, prop-types@^15.6.0,
property-information@^5.0.1:
version "5.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/property-information/-/property-information-5.2.2.tgz#20555eafd2296278a682e5a51d5123e7878ecc30"
+ resolved "https://registry.npmjs.com/property-information/-/property-information-5.2.2.tgz#20555eafd2296278a682e5a51d5123e7878ecc30"
integrity sha1-IFVer9IpYnimguWlHVEj54eOzDA=
dependencies:
xtend "^4.0.1"
proto-list@~1.2.1:
version "1.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
+ resolved "https://registry.npmjs.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849"
integrity sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=
-protochain@^1.0.5:
- version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/protochain/-/protochain-1.0.5.tgz#991c407e99de264aadf8f81504b5e7faf7bfa260"
- integrity sha1-mRxAfpneJkqt+PgVBLXn+ve/omA=
-
protocols@^1.1.0, protocols@^1.4.0:
version "1.4.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32"
+ resolved "https://registry.npmjs.com/protocols/-/protocols-1.4.7.tgz#95f788a4f0e979b291ffefcf5636ad113d037d32"
integrity sha1-lfeIpPDpebKR/+/PVjatET0DfTI=
protoduck@^5.0.1:
version "5.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f"
+ resolved "https://registry.npmjs.com/protoduck/-/protoduck-5.0.1.tgz#03c3659ca18007b69a50fd82a7ebcc516261151f"
integrity sha1-A8NlnKGAB7aaUP2Cp+vMUWJhFR8=
dependencies:
genfun "^5.0.0"
proxy-addr@~2.0.5:
version "2.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34"
+ resolved "https://registry.npmjs.com/proxy-addr/-/proxy-addr-2.0.5.tgz#34cbd64a2d81f4b1fd21e76f9f06c8a45299ee34"
integrity sha1-NMvWSi2B9LH9IedvnwbIpFKZ7jQ=
dependencies:
forwarded "~0.1.2"
@@ -12440,22 +11950,22 @@ proxy-addr@~2.0.5:
prr@~1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
+ resolved "https://registry.npmjs.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476"
integrity sha1-0/wRS6BplaRexok/SEzrHXj19HY=
pseudomap@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
+ resolved "https://registry.npmjs.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3"
integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM=
psl@^1.1.24, psl@^1.1.28:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/psl/-/psl-1.3.1.tgz#d5aa3873a35ec450bc7db9012ad5a7246f6fc8bd"
+ resolved "https://registry.npmjs.com/psl/-/psl-1.3.1.tgz#d5aa3873a35ec450bc7db9012ad5a7246f6fc8bd"
integrity sha1-1ao4c6NexFC8fbkBKtWnJG9vyL0=
public-encrypt@^4.0.0:
version "4.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0"
+ resolved "https://registry.npmjs.com/public-encrypt/-/public-encrypt-4.0.3.tgz#4fcc9d77a07e48ba7527e7cbe0de33d0701331e0"
integrity sha1-T8ydd6B+SLp1J+fL4N4z0HATMeA=
dependencies:
bn.js "^4.1.0"
@@ -12467,7 +11977,7 @@ public-encrypt@^4.0.0:
pump@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954"
+ resolved "https://registry.npmjs.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954"
integrity sha1-Xf6DEcM7v2/BgmH580cCxHwIqVQ=
dependencies:
end-of-stream "^1.1.0"
@@ -12475,7 +11985,7 @@ pump@^1.0.3:
pump@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
+ resolved "https://registry.npmjs.com/pump/-/pump-2.0.1.tgz#12399add6e4cf7526d973cbc8b5ce2e2908b3909"
integrity sha1-Ejma3W5M91Jtlzy8i1zi4pCLOQk=
dependencies:
end-of-stream "^1.1.0"
@@ -12483,7 +11993,7 @@ pump@^2.0.0:
pump@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
+ resolved "https://registry.npmjs.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
integrity sha1-tKIRaBW94vTh6mAjVOjHVWUQemQ=
dependencies:
end-of-stream "^1.1.0"
@@ -12491,7 +12001,7 @@ pump@^3.0.0:
pumpify@^1.3.3:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce"
+ resolved "https://registry.npmjs.com/pumpify/-/pumpify-1.5.1.tgz#36513be246ab27570b1a374a5ce278bfd74370ce"
integrity sha1-NlE74karJ1cLGjdKXOJ4v9dDcM4=
dependencies:
duplexify "^3.6.0"
@@ -12500,42 +12010,42 @@ pumpify@^1.3.3:
punycode@1.3.2:
version "1.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d"
+ resolved "https://registry.npmjs.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d"
integrity sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=
punycode@^1.2.4, punycode@^1.4.1:
version "1.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
+ resolved "https://registry.npmjs.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
integrity sha1-wNWmOycYgArY4esPpSachN1BhF4=
punycode@^2.1.0, punycode@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
+ resolved "https://registry.npmjs.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew=
q@^1.1.2, q@^1.5.1:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
+ resolved "https://registry.npmjs.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7"
integrity sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=
qs@6.7.0:
version "6.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
+ resolved "https://registry.npmjs.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc"
integrity sha1-QdwaAV49WB8WIXdr4xr7KHapsbw=
qs@^6.6.0:
version "6.8.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/qs/-/qs-6.8.0.tgz#87b763f0d37ca54200334cd57bb2ef8f68a1d081"
+ resolved "https://registry.npmjs.com/qs/-/qs-6.8.0.tgz#87b763f0d37ca54200334cd57bb2ef8f68a1d081"
integrity sha1-h7dj8NN8pUIAM0zVe7Lvj2ih0IE=
qs@~6.5.2:
version "6.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
+ resolved "https://registry.npmjs.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36"
integrity sha1-yzroBuh0BERYTvFUzo7pjUA/PjY=
query-string@^4.1.0:
version "4.3.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb"
+ resolved "https://registry.npmjs.com/query-string/-/query-string-4.3.4.tgz#bbb693b9ca915c232515b228b1a02b609043dbeb"
integrity sha1-u7aTucqRXCMlFbIosaArYJBD2+s=
dependencies:
object-assign "^4.1.0"
@@ -12543,64 +12053,51 @@ query-string@^4.1.0:
querystring-es3@^0.2.0:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
+ resolved "https://registry.npmjs.com/querystring-es3/-/querystring-es3-0.2.1.tgz#9ec61f79049875707d69414596fd907a4d711e73"
integrity sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=
querystring@0.2.0, querystring@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
+ resolved "https://registry.npmjs.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"
integrity sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=
querystringify@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e"
+ resolved "https://registry.npmjs.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e"
integrity sha1-YOWl/WSn+L+k0qsu1v30yFutFU4=
quick-format-unescaped@^1.1.1:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/quick-format-unescaped/-/quick-format-unescaped-1.1.2.tgz#0ca581de3174becef25ac3c2e8956342381db698"
+ resolved "https://registry.npmjs.com/quick-format-unescaped/-/quick-format-unescaped-1.1.2.tgz#0ca581de3174becef25ac3c2e8956342381db698"
integrity sha1-DKWB3jF0vs7yWsPC6JVjQjgdtpg=
dependencies:
fast-safe-stringify "^1.0.8"
quick-lru@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8"
+ resolved "https://registry.npmjs.com/quick-lru/-/quick-lru-1.1.0.tgz#4360b17c61136ad38078397ff11416e186dcfbb8"
integrity sha1-Q2CxfGETatOAeDl/8RQW4Ybc+7g=
raf-schd@^4.0.0:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/raf-schd/-/raf-schd-4.0.2.tgz#bd44c708188f2e84c810bf55fcea9231bcaed8a0"
+ resolved "https://registry.npmjs.com/raf-schd/-/raf-schd-4.0.2.tgz#bd44c708188f2e84c810bf55fcea9231bcaed8a0"
integrity sha1-vUTHCBiPLoTIEL9V/OqSMbyu2KA=
raf@^3.4.0:
version "3.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
+ resolved "https://registry.npmjs.com/raf/-/raf-3.4.1.tgz#0742e99a4a6552f445d73e3ee0328af0ff1ede39"
integrity sha1-B0LpmkplUvRF1z4+4DKK8P8e3jk=
dependencies:
performance-now "^2.1.0"
-railroad-diagrams@^1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/railroad-diagrams/-/railroad-diagrams-1.0.0.tgz#eb7e6267548ddedfb899c1b90e57374559cddb7e"
- integrity sha1-635iZ1SN3t+4mcG5Dlc3RVnN234=
-
ramda@^0.21.0:
version "0.21.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ramda/-/ramda-0.21.0.tgz#a001abedb3ff61077d4ff1d577d44de77e8d0a35"
+ resolved "https://registry.npmjs.com/ramda/-/ramda-0.21.0.tgz#a001abedb3ff61077d4ff1d577d44de77e8d0a35"
integrity sha1-oAGr7bP/YQd9T/HVd9RN536NCjU=
-randexp@0.4.6:
- version "0.4.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/randexp/-/randexp-0.4.6.tgz#e986ad5e5e31dae13ddd6f7b3019aa7c87f60ca3"
- integrity sha1-6YatXl4x2uE93W97MBmqfIf2DKM=
- dependencies:
- discontinuous-range "1.0.0"
- ret "~0.1.10"
-
randomatic@^3.0.0:
version "3.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed"
+ resolved "https://registry.npmjs.com/randomatic/-/randomatic-3.1.1.tgz#b776efc59375984e36c537b2f51a1f0aff0da1ed"
integrity sha1-t3bvxZN1mE42xTey9RofCv8Noe0=
dependencies:
is-number "^4.0.0"
@@ -12609,14 +12106,14 @@ randomatic@^3.0.0:
randombytes@^2.0.0, randombytes@^2.0.1, randombytes@^2.0.5:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
+ resolved "https://registry.npmjs.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
integrity sha1-32+ENy8CcNxlzfYpE0mrekc9Tyo=
dependencies:
safe-buffer "^5.1.0"
randomfill@^1.0.3:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458"
+ resolved "https://registry.npmjs.com/randomfill/-/randomfill-1.0.4.tgz#c92196fc86ab42be983f1bf31778224931d61458"
integrity sha1-ySGW/IarQr6YPxvzF3giSTHWFFg=
dependencies:
randombytes "^2.0.5"
@@ -12624,12 +12121,12 @@ randomfill@^1.0.3:
range-parser@^1.2.1, range-parser@~1.2.1:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
+ resolved "https://registry.npmjs.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
integrity sha1-PPNwI9GZ4cJNGlW4SADC8+ZGgDE=
raw-body@2.4.0:
version "2.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332"
+ resolved "https://registry.npmjs.com/raw-body/-/raw-body-2.4.0.tgz#a1ce6fb9c9bc356ca52e89256ab59059e13d0332"
integrity sha1-oc5vucm8NWylLoklarWQWeE9AzI=
dependencies:
bytes "3.1.0"
@@ -12639,7 +12136,7 @@ raw-body@2.4.0:
raw-loader@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/raw-loader/-/raw-loader-2.0.0.tgz#e2813d9e1e3f80d1bbade5ad082e809679e20c26"
+ resolved "https://registry.npmjs.com/raw-loader/-/raw-loader-2.0.0.tgz#e2813d9e1e3f80d1bbade5ad082e809679e20c26"
integrity sha1-4oE9nh4/gNG7reWtCC6AlnniDCY=
dependencies:
loader-utils "^1.1.0"
@@ -12647,7 +12144,7 @@ raw-loader@^2.0.0:
rc@^1.2.7:
version "1.2.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
+ resolved "https://registry.npmjs.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
integrity sha1-zZJL9SAKB1uDwYjNa54hG3/A0+0=
dependencies:
deep-extend "^0.6.0"
@@ -12657,7 +12154,7 @@ rc@^1.2.7:
react-addons-create-fragment@^15.6.2:
version "15.6.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-addons-create-fragment/-/react-addons-create-fragment-15.6.2.tgz#a394de7c2c7becd6b5475ba1b97ac472ce7c74f8"
+ resolved "https://registry.npmjs.com/react-addons-create-fragment/-/react-addons-create-fragment-15.6.2.tgz#a394de7c2c7becd6b5475ba1b97ac472ce7c74f8"
integrity sha1-o5TefCx77Na1R1uhuXrEcs58dPg=
dependencies:
fbjs "^0.8.4"
@@ -12666,7 +12163,7 @@ react-addons-create-fragment@^15.6.2:
react-axe@^3.0.2:
version "3.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-axe/-/react-axe-3.3.0.tgz#b87bff644ed3ed6f1ca12bcc64c00000e359c25b"
+ resolved "https://registry.npmjs.com/react-axe/-/react-axe-3.3.0.tgz#b87bff644ed3ed6f1ca12bcc64c00000e359c25b"
integrity sha1-uHv/ZE7T7W8coSvMZMAAAONZwls=
dependencies:
axe-core "^3.3.2"
@@ -12674,14 +12171,14 @@ react-axe@^3.0.2:
react-clientside-effect@^1.2.0:
version "1.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-clientside-effect/-/react-clientside-effect-1.2.2.tgz#6212fb0e07b204e714581dd51992603d1accc837"
+ resolved "https://registry.npmjs.com/react-clientside-effect/-/react-clientside-effect-1.2.2.tgz#6212fb0e07b204e714581dd51992603d1accc837"
integrity sha1-YhL7DgeyBOcUWB3VGZJgPRrMyDc=
dependencies:
"@babel/runtime" "^7.0.0"
react-color@^2.17.0:
version "2.17.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-color/-/react-color-2.17.3.tgz#b8556d744f95193468c7061d2aa19180118d4a48"
+ resolved "https://registry.npmjs.com/react-color/-/react-color-2.17.3.tgz#b8556d744f95193468c7061d2aa19180118d4a48"
integrity sha1-uFVtdE+VGTRoxwYdKqGRgBGNSkg=
dependencies:
"@icons/material" "^0.2.4"
@@ -12693,7 +12190,7 @@ react-color@^2.17.0:
react-dev-utils@^9.0.0:
version "9.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-dev-utils/-/react-dev-utils-9.0.3.tgz#7607455587abb84599451460eb37cef0b684131a"
+ resolved "https://registry.npmjs.com/react-dev-utils/-/react-dev-utils-9.0.3.tgz#7607455587abb84599451460eb37cef0b684131a"
integrity sha1-dgdFVYeruEWZRRRg6zfO8LaEExo=
dependencies:
"@babel/code-frame" "7.5.5"
@@ -12724,7 +12221,7 @@ react-dev-utils@^9.0.0:
react-docgen@^4.1.0:
version "4.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-docgen/-/react-docgen-4.1.1.tgz#8fef0212dbf14733e09edecef1de6b224d87219e"
+ resolved "https://registry.npmjs.com/react-docgen/-/react-docgen-4.1.1.tgz#8fef0212dbf14733e09edecef1de6b224d87219e"
integrity sha1-j+8CEtvxRzPgnt7O8d5rIk2HIZ4=
dependencies:
"@babel/core" "^7.0.0"
@@ -12737,7 +12234,7 @@ react-docgen@^4.1.0:
"react-dom@^0.14 || ^15 || ^16", react-dom@^16.8.0, react-dom@^16.8.3:
version "16.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-dom/-/react-dom-16.9.0.tgz#5e65527a5e26f22ae3701131bcccaee9fb0d3962"
+ resolved "https://registry.npmjs.com/react-dom/-/react-dom-16.9.0.tgz#5e65527a5e26f22ae3701131bcccaee9fb0d3962"
integrity sha1-XmVSel4m8irjcBExvMyu6fsNOWI=
dependencies:
loose-envify "^1.1.0"
@@ -12747,7 +12244,7 @@ react-docgen@^4.1.0:
react-draggable@^3.1.1:
version "3.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-draggable/-/react-draggable-3.3.2.tgz#966ef1d90f2387af3c2d8bd3516f601ea42ca359"
+ resolved "https://registry.npmjs.com/react-draggable/-/react-draggable-3.3.2.tgz#966ef1d90f2387af3c2d8bd3516f601ea42ca359"
integrity sha1-lm7x2Q8jh688LYvTUW9gHqQso1k=
dependencies:
classnames "^2.2.5"
@@ -12755,7 +12252,7 @@ react-draggable@^3.1.1:
react-element-to-jsx-string@^14.0.2:
version "14.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-element-to-jsx-string/-/react-element-to-jsx-string-14.0.3.tgz#64f50fdbf6ba154d6439da3d7307f79069b94d58"
+ resolved "https://registry.npmjs.com/react-element-to-jsx-string/-/react-element-to-jsx-string-14.0.3.tgz#64f50fdbf6ba154d6439da3d7307f79069b94d58"
integrity sha1-ZPUP2/a6FU1kOdo9cwf3kGm5TVg=
dependencies:
is-plain-object "3.0.0"
@@ -12763,17 +12260,17 @@ react-element-to-jsx-string@^14.0.2:
react-error-overlay@^6.0.1:
version "6.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-error-overlay/-/react-error-overlay-6.0.1.tgz#b8d3cf9bb991c02883225c48044cb3ee20413e0f"
+ resolved "https://registry.npmjs.com/react-error-overlay/-/react-error-overlay-6.0.1.tgz#b8d3cf9bb991c02883225c48044cb3ee20413e0f"
integrity sha1-uNPPm7mRwCiDIlxIBEyz7iBBPg8=
react-fast-compare@2.0.4:
version "2.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
+ resolved "https://registry.npmjs.com/react-fast-compare/-/react-fast-compare-2.0.4.tgz#e84b4d455b0fec113e0402c329352715196f81f9"
integrity sha1-6EtNRVsP7BE+BALDKTUnFRlvgfk=
react-focus-lock@^1.18.3:
version "1.19.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-focus-lock/-/react-focus-lock-1.19.1.tgz#2f3429793edaefe2d077121f973ce5a3c7a0651a"
+ resolved "https://registry.npmjs.com/react-focus-lock/-/react-focus-lock-1.19.1.tgz#2f3429793edaefe2d077121f973ce5a3c7a0651a"
integrity sha1-LzQpeT7a7+LQdxIflzzlo8egZRo=
dependencies:
"@babel/runtime" "^7.0.0"
@@ -12783,7 +12280,7 @@ react-focus-lock@^1.18.3:
react-helmet-async@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-helmet-async/-/react-helmet-async-1.0.2.tgz#bb55dd8268f7b15aac69c6b22e2f950abda8cc44"
+ resolved "https://registry.npmjs.com/react-helmet-async/-/react-helmet-async-1.0.2.tgz#bb55dd8268f7b15aac69c6b22e2f950abda8cc44"
integrity sha1-u1Xdgmj3sVqsacayLi+VCr2ozEQ=
dependencies:
"@babel/runtime" "7.3.4"
@@ -12794,47 +12291,47 @@ react-helmet-async@^1.0.2:
react-hooks-testing-library@^0.5.0:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-hooks-testing-library/-/react-hooks-testing-library-0.5.1.tgz#bb5e725fe8d35f3d682212039824dd2f6c7ff4c3"
+ resolved "https://registry.npmjs.com/react-hooks-testing-library/-/react-hooks-testing-library-0.5.1.tgz#bb5e725fe8d35f3d682212039824dd2f6c7ff4c3"
integrity sha1-u15yX+jTXz1oIhIDmCTdL2x/9MM=
dependencies:
"@babel/runtime" "^7.4.2"
react-hotkeys@2.0.0-pre4:
version "2.0.0-pre4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-hotkeys/-/react-hotkeys-2.0.0-pre4.tgz#a1c248a51bdba4282c36bf3204f80d58abc73333"
+ resolved "https://registry.npmjs.com/react-hotkeys/-/react-hotkeys-2.0.0-pre4.tgz#a1c248a51bdba4282c36bf3204f80d58abc73333"
integrity sha1-ocJIpRvbpCgsNr8yBPgNWKvHMzM=
dependencies:
prop-types "^15.6.1"
react-input-autosize@^2.2.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-input-autosize/-/react-input-autosize-2.2.1.tgz#ec428fa15b1592994fb5f9aa15bb1eb6baf420f8"
+ resolved "https://registry.npmjs.com/react-input-autosize/-/react-input-autosize-2.2.1.tgz#ec428fa15b1592994fb5f9aa15bb1eb6baf420f8"
integrity sha1-7EKPoVsVkplPtfmqFbsetrr0IPg=
dependencies:
prop-types "^15.5.8"
react-inspector@^3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-inspector/-/react-inspector-3.0.2.tgz#c530a06101f562475537e47df428e1d7aff16ed8"
+ resolved "https://registry.npmjs.com/react-inspector/-/react-inspector-3.0.2.tgz#c530a06101f562475537e47df428e1d7aff16ed8"
integrity sha1-xTCgYQH1YkdVN+R99Cjh16/xbtg=
dependencies:
babel-runtime "^6.26.0"
is-dom "^1.0.9"
prop-types "^15.6.1"
-react-is@^16.3.2, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.3, react-is@^16.8.4, react-is@^16.8.6, react-is@^16.9.0:
+react-is@^16.3.2, react-is@^16.7.0, react-is@^16.8.1, react-is@^16.8.3, react-is@^16.8.4, react-is@^16.9.0:
version "16.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb"
+ resolved "https://registry.npmjs.com/react-is/-/react-is-16.9.0.tgz#21ca9561399aad0ff1a7701c01683e8ca981edcb"
integrity sha1-IcqVYTmarQ/xp3AcAWg+jKmB7cs=
react-lifecycles-compat@^3.0.2, react-lifecycles-compat@^3.0.4:
version "3.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
+ resolved "https://registry.npmjs.com/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz#4f1a273afdfc8f3488a8c516bfda78f872352362"
integrity sha1-TxonOv38jzSIqMUWv9p4+HI1I2I=
react-overlays@0.8.3:
version "0.8.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-overlays/-/react-overlays-0.8.3.tgz#fad65eea5b24301cca192a169f5dddb0b20d3ac5"
+ resolved "https://registry.npmjs.com/react-overlays/-/react-overlays-0.8.3.tgz#fad65eea5b24301cca192a169f5dddb0b20d3ac5"
integrity sha1-+tZe6lskMBzKGSoWn13dsLINOsU=
dependencies:
classnames "^2.2.5"
@@ -12846,7 +12343,7 @@ react-overlays@0.8.3:
react-popper-tooltip@^2.8.3:
version "2.8.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-popper-tooltip/-/react-popper-tooltip-2.8.3.tgz#1c63e7473a96362bd93be6c94fa404470a265197"
+ resolved "https://registry.npmjs.com/react-popper-tooltip/-/react-popper-tooltip-2.8.3.tgz#1c63e7473a96362bd93be6c94fa404470a265197"
integrity sha1-HGPnRzqWNivZO+bJT6QERwomUZc=
dependencies:
"@babel/runtime" "^7.4.5"
@@ -12854,7 +12351,7 @@ react-popper-tooltip@^2.8.3:
react-popper@^1.3.3:
version "1.3.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-popper/-/react-popper-1.3.4.tgz#f0cd3b0d30378e1f663b0d79bcc8614221652ced"
+ resolved "https://registry.npmjs.com/react-popper/-/react-popper-1.3.4.tgz#f0cd3b0d30378e1f663b0d79bcc8614221652ced"
integrity sha1-8M07DTA3jh9mOw15vMhhQiFlLO0=
dependencies:
"@babel/runtime" "^7.1.2"
@@ -12866,7 +12363,7 @@ react-popper@^1.3.3:
react-redux@^7.0.2:
version "7.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-redux/-/react-redux-7.1.1.tgz#ce6eee1b734a7a76e0788b3309bf78ff6b34fa0a"
+ resolved "https://registry.npmjs.com/react-redux/-/react-redux-7.1.1.tgz#ce6eee1b734a7a76e0788b3309bf78ff6b34fa0a"
integrity sha1-zm7uG3NKenbgeIszCb94/2s0+go=
dependencies:
"@babel/runtime" "^7.5.5"
@@ -12878,7 +12375,7 @@ react-redux@^7.0.2:
react-resize-detector@^4.0.5:
version "4.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-resize-detector/-/react-resize-detector-4.2.0.tgz#b87aee6b37c9e8a52daca8736b3230cf6a2a8647"
+ resolved "https://registry.npmjs.com/react-resize-detector/-/react-resize-detector-4.2.0.tgz#b87aee6b37c9e8a52daca8736b3230cf6a2a8647"
integrity sha1-uHruazfJ6KUtrKhzazIwz2oqhkc=
dependencies:
lodash "^4.17.11"
@@ -12889,7 +12386,7 @@ react-resize-detector@^4.0.5:
react-select@^2.2.0:
version "2.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-select/-/react-select-2.4.4.tgz#ba72468ef1060c7d46fbb862b0748f96491f1f73"
+ resolved "https://registry.npmjs.com/react-select/-/react-select-2.4.4.tgz#ba72468ef1060c7d46fbb862b0748f96491f1f73"
integrity sha1-unJGjvEGDH1G+7hisHSPlkkfH3M=
dependencies:
classnames "^2.2.5"
@@ -12902,7 +12399,7 @@ react-select@^2.2.0:
react-sizeme@^2.5.2:
version "2.6.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-sizeme/-/react-sizeme-2.6.7.tgz#231339ce8821ac2c26424c791e0027f89dae3e90"
+ resolved "https://registry.npmjs.com/react-sizeme/-/react-sizeme-2.6.7.tgz#231339ce8821ac2c26424c791e0027f89dae3e90"
integrity sha1-IxM5zoghrCwmQkx5HgAn+J2uPpA=
dependencies:
element-resize-detector "^1.1.15"
@@ -12912,7 +12409,7 @@ react-sizeme@^2.5.2:
react-syntax-highlighter@^8.0.1:
version "8.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-syntax-highlighter/-/react-syntax-highlighter-8.1.0.tgz#59103ff17a828a27ed7c8f035ae2558f09b6b78c"
+ resolved "https://registry.npmjs.com/react-syntax-highlighter/-/react-syntax-highlighter-8.1.0.tgz#59103ff17a828a27ed7c8f035ae2558f09b6b78c"
integrity sha1-WRA/8XqCiiftfI8DWuJVjwm2t4w=
dependencies:
babel-runtime "^6.18.0"
@@ -12921,10 +12418,10 @@ react-syntax-highlighter@^8.0.1:
prismjs "^1.8.4"
refractor "^2.4.1"
-react-test-renderer@^16.0.0-0:
+react-test-renderer@^16.9.0:
version "16.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-test-renderer/-/react-test-renderer-16.9.0.tgz#7ed657a374af47af88f66f33a3ef99c9610c8ae9"
- integrity sha1-ftZXo3SvR6+I9m8zo++ZyWEMiuk=
+ resolved "https://registry.yarnpkg.com/react-test-renderer/-/react-test-renderer-16.9.0.tgz#7ed657a374af47af88f66f33a3ef99c9610c8ae9"
+ integrity sha512-R62stB73qZyhrJo7wmCW9jgl/07ai+YzvouvCXIJLBkRlRqLx4j9RqcLEAfNfU3OxTGucqR2Whmn3/Aad6L3hQ==
dependencies:
object-assign "^4.1.1"
prop-types "^15.6.2"
@@ -12933,7 +12430,7 @@ react-test-renderer@^16.0.0-0:
react-textarea-autosize@^7.1.0:
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-textarea-autosize/-/react-textarea-autosize-7.1.0.tgz#3132cb77e65d94417558d37c0bfe415a5afd3445"
+ resolved "https://registry.npmjs.com/react-textarea-autosize/-/react-textarea-autosize-7.1.0.tgz#3132cb77e65d94417558d37c0bfe415a5afd3445"
integrity sha1-MTLLd+ZdlEF1WNN8C/5BWlr9NEU=
dependencies:
"@babel/runtime" "^7.1.2"
@@ -12941,7 +12438,7 @@ react-textarea-autosize@^7.1.0:
react-transition-group@^2.2.0, react-transition-group@^2.2.1:
version "2.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react-transition-group/-/react-transition-group-2.9.0.tgz#df9cdb025796211151a436c69a8f3b97b5b07c8d"
+ resolved "https://registry.npmjs.com/react-transition-group/-/react-transition-group-2.9.0.tgz#df9cdb025796211151a436c69a8f3b97b5b07c8d"
integrity sha1-35zbAleWIRFRpDbGmo87l7WwfI0=
dependencies:
dom-helpers "^3.4.0"
@@ -12951,7 +12448,7 @@ react-transition-group@^2.2.0, react-transition-group@^2.2.1:
"react@^0.14 || ^15 || ^16", react@^16.8.0, react@^16.8.3:
version "16.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/react/-/react-16.9.0.tgz#40ba2f9af13bc1a38d75dbf2f4359a5185c4f7aa"
+ resolved "https://registry.npmjs.com/react/-/react-16.9.0.tgz#40ba2f9af13bc1a38d75dbf2f4359a5185c4f7aa"
integrity sha1-QLovmvE7waONddvy9DWaUYXE96o=
dependencies:
loose-envify "^1.1.0"
@@ -12960,28 +12457,28 @@ react-transition-group@^2.2.0, react-transition-group@^2.2.1:
reactcss@^1.2.0:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/reactcss/-/reactcss-1.2.3.tgz#c00013875e557b1cf0dfd9a368a1c3dab3b548dd"
+ resolved "https://registry.npmjs.com/reactcss/-/reactcss-1.2.3.tgz#c00013875e557b1cf0dfd9a368a1c3dab3b548dd"
integrity sha1-wAATh15Vexzw39mjaKHD2rO1SN0=
dependencies:
lodash "^4.0.1"
read-cache@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774"
+ resolved "https://registry.npmjs.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774"
integrity sha1-5mTvMRYRZsl1HNvo28+GtftY93Q=
dependencies:
pify "^2.3.0"
read-cmd-shim@^1.0.1:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-cmd-shim/-/read-cmd-shim-1.0.4.tgz#b4a53d43376211b45243f0072b6e603a8e37640d"
+ resolved "https://registry.npmjs.com/read-cmd-shim/-/read-cmd-shim-1.0.4.tgz#b4a53d43376211b45243f0072b6e603a8e37640d"
integrity sha1-tKU9QzdiEbRSQ/AHK25gOo43ZA0=
dependencies:
graceful-fs "^4.1.2"
"read-package-json@1 || 2", read-package-json@^2.0.0, read-package-json@^2.0.13:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-package-json/-/read-package-json-2.1.0.tgz#e3d42e6c35ea5ae820d9a03ab0c7291217fc51d5"
+ resolved "https://registry.npmjs.com/read-package-json/-/read-package-json-2.1.0.tgz#e3d42e6c35ea5ae820d9a03ab0c7291217fc51d5"
integrity sha1-49QubDXqWugg2aA6sMcpEhf8UdU=
dependencies:
glob "^7.1.1"
@@ -12993,7 +12490,7 @@ read-cmd-shim@^1.0.1:
read-package-tree@^5.1.6:
version "5.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636"
+ resolved "https://registry.npmjs.com/read-package-tree/-/read-package-tree-5.3.1.tgz#a32cb64c7f31eb8a6f31ef06f9cedf74068fe636"
integrity sha1-oyy2TH8x64pvMe8G+c7fdAaP5jY=
dependencies:
read-package-json "^2.0.0"
@@ -13002,7 +12499,7 @@ read-package-tree@^5.1.6:
read-pkg-up@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
+ resolved "https://registry.npmjs.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
integrity sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=
dependencies:
find-up "^1.0.0"
@@ -13010,7 +12507,7 @@ read-pkg-up@^1.0.1:
read-pkg-up@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
+ resolved "https://registry.npmjs.com/read-pkg-up/-/read-pkg-up-2.0.0.tgz#6b72a8048984e0c41e79510fd5e9fa99b3b549be"
integrity sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=
dependencies:
find-up "^2.0.0"
@@ -13018,7 +12515,7 @@ read-pkg-up@^2.0.0:
read-pkg-up@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07"
+ resolved "https://registry.npmjs.com/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07"
integrity sha1-PtSWaF26D4/hGNBpHcUfSh/5bwc=
dependencies:
find-up "^2.0.0"
@@ -13026,7 +12523,7 @@ read-pkg-up@^3.0.0:
read-pkg-up@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978"
+ resolved "https://registry.npmjs.com/read-pkg-up/-/read-pkg-up-4.0.0.tgz#1b221c6088ba7799601c808f91161c66e58f8978"
integrity sha1-GyIcYIi6d5lgHICPkRYcZuWPiXg=
dependencies:
find-up "^3.0.0"
@@ -13034,7 +12531,7 @@ read-pkg-up@^4.0.0:
read-pkg@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
+ resolved "https://registry.npmjs.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28"
integrity sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=
dependencies:
load-json-file "^1.0.0"
@@ -13043,7 +12540,7 @@ read-pkg@^1.0.0:
read-pkg@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8"
+ resolved "https://registry.npmjs.com/read-pkg/-/read-pkg-2.0.0.tgz#8ef1c0623c6a6db0dc6713c4bfac46332b2368f8"
integrity sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=
dependencies:
load-json-file "^2.0.0"
@@ -13052,23 +12549,23 @@ read-pkg@^2.0.0:
read-pkg@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
+ resolved "https://registry.npmjs.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389"
integrity sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=
dependencies:
load-json-file "^4.0.0"
normalize-package-data "^2.3.2"
path-type "^3.0.0"
-read@1, read@^1.0.4, read@~1.0.1:
+read@1, read@~1.0.1:
version "1.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4"
+ resolved "https://registry.npmjs.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4"
integrity sha1-s9oZvQUkMal2cdRKQmNK33ELQMQ=
dependencies:
mute-stream "~0.0.4"
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6:
version "2.3.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
+ resolved "https://registry.npmjs.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
integrity sha1-sRwn2IuP8fvgcGQ8+UsMea4bCq8=
dependencies:
core-util-is "~1.0.0"
@@ -13081,7 +12578,7 @@ read@1, read@^1.0.4, read@~1.0.1:
"readable-stream@2 || 3", readable-stream@^3.0.2, readable-stream@^3.1.1:
version "3.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc"
+ resolved "https://registry.npmjs.com/readable-stream/-/readable-stream-3.4.0.tgz#a51c26754658e0a3c21dbf59163bd45ba6f447fc"
integrity sha1-pRwmdUZY4KPCHb9ZFjvUW6b0R/w=
dependencies:
inherits "^2.0.3"
@@ -13090,7 +12587,7 @@ read@1, read@^1.0.4, read@~1.0.1:
"readable-stream@>=1.0.33-1 <1.1.0-0", readable-stream@~1.0.17, readable-stream@~1.0.2:
version "1.0.34"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
+ resolved "https://registry.npmjs.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c"
integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=
dependencies:
core-util-is "~1.0.0"
@@ -13100,7 +12597,7 @@ read@1, read@^1.0.4, read@~1.0.1:
readable-stream@~1.1.9:
version "1.1.14"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
+ resolved "https://registry.npmjs.com/readable-stream/-/readable-stream-1.1.14.tgz#7cf4c54ef648e3813084c636dd2079e166c081d9"
integrity sha1-fPTFTvZI44EwhMY23SB54WbAgdk=
dependencies:
core-util-is "~1.0.0"
@@ -13110,7 +12607,7 @@ readable-stream@~1.1.9:
readdir-scoped-modules@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
+ resolved "https://registry.npmjs.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
integrity sha1-jUVAe0+HCg3K68DihnDRjnRRQwk=
dependencies:
debuglog "^1.0.1"
@@ -13120,7 +12617,7 @@ readdir-scoped-modules@^1.0.0:
readdirp@^2.2.1:
version "2.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
+ resolved "https://registry.npmjs.com/readdirp/-/readdirp-2.2.1.tgz#0e87622a3325aa33e892285caf8b4e846529a525"
integrity sha1-DodiKjMlqjPokihcr4tOhGUppSU=
dependencies:
graceful-fs "^4.1.11"
@@ -13129,14 +12626,14 @@ readdirp@^2.2.1:
realpath-native@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c"
+ resolved "https://registry.npmjs.com/realpath-native/-/realpath-native-1.1.0.tgz#2003294fea23fb0672f2476ebe22fcf498a2d65c"
integrity sha1-IAMpT+oj+wZy8kduviL89Jii1lw=
dependencies:
util.promisify "^1.0.0"
recast@^0.14.7:
version "0.14.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d"
+ resolved "https://registry.npmjs.com/recast/-/recast-0.14.7.tgz#4f1497c2b5826d42a66e8e3c9d80c512983ff61d"
integrity sha1-TxSXwrWCbUKmbo48nYDFEpg/9h0=
dependencies:
ast-types "0.11.3"
@@ -13146,7 +12643,7 @@ recast@^0.14.7:
recast@^0.17.3:
version "0.17.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/recast/-/recast-0.17.6.tgz#64ae98d0d2dfb10ff92ff5fb9ffb7371823b69fa"
+ resolved "https://registry.npmjs.com/recast/-/recast-0.17.6.tgz#64ae98d0d2dfb10ff92ff5fb9ffb7371823b69fa"
integrity sha1-ZK6Y0NLfsQ/5L/X7n/tzcYI7afo=
dependencies:
ast-types "0.12.4"
@@ -13156,14 +12653,14 @@ recast@^0.17.3:
rechoir@^0.6.2:
version "0.6.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
+ resolved "https://registry.npmjs.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=
dependencies:
resolve "^1.1.6"
recompose@^0.30.0:
version "0.30.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/recompose/-/recompose-0.30.0.tgz#82773641b3927e8c7d24a0d87d65aeeba18aabd0"
+ resolved "https://registry.npmjs.com/recompose/-/recompose-0.30.0.tgz#82773641b3927e8c7d24a0d87d65aeeba18aabd0"
integrity sha1-gnc2QbOSfox9JKDYfWWu66GKq9A=
dependencies:
"@babel/runtime" "^7.0.0"
@@ -13175,14 +12672,14 @@ recompose@^0.30.0:
recursive-readdir@2.2.2, recursive-readdir@^2.2.2:
version "2.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/recursive-readdir/-/recursive-readdir-2.2.2.tgz#9946fb3274e1628de6e36b2f6714953b4845094f"
+ resolved "https://registry.npmjs.com/recursive-readdir/-/recursive-readdir-2.2.2.tgz#9946fb3274e1628de6e36b2f6714953b4845094f"
integrity sha1-mUb7MnThYo3m42svZxSVO0hFCU8=
dependencies:
minimatch "3.0.4"
redent@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde"
+ resolved "https://registry.npmjs.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde"
integrity sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=
dependencies:
indent-string "^2.1.0"
@@ -13190,7 +12687,7 @@ redent@^1.0.0:
redent@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa"
+ resolved "https://registry.npmjs.com/redent/-/redent-2.0.0.tgz#c1b2007b42d57eb1389079b3c8333639d5e1ccaa"
integrity sha1-wbIAe0LVfrE4kHmzyDM2OdXhzKo=
dependencies:
indent-string "^3.0.0"
@@ -13198,7 +12695,7 @@ redent@^2.0.0:
reduce-css-calc@^2.0.0:
version "2.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/reduce-css-calc/-/reduce-css-calc-2.1.6.tgz#050fe6ee7d98a1d70775d2e93ce0b713cee394d2"
+ resolved "https://registry.npmjs.com/reduce-css-calc/-/reduce-css-calc-2.1.6.tgz#050fe6ee7d98a1d70775d2e93ce0b713cee394d2"
integrity sha1-BQ/m7n2YodcHddLpPOC3E87jlNI=
dependencies:
css-unit-converter "^1.1.1"
@@ -13206,20 +12703,15 @@ reduce-css-calc@^2.0.0:
redux@^4.0.1:
version "4.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/redux/-/redux-4.0.4.tgz#4ee1aeb164b63d6a1bcc57ae4aa0b6e6fa7a3796"
+ resolved "https://registry.npmjs.com/redux/-/redux-4.0.4.tgz#4ee1aeb164b63d6a1bcc57ae4aa0b6e6fa7a3796"
integrity sha1-TuGusWS2PWobzFeuSqC25vp6N5Y=
dependencies:
loose-envify "^1.4.0"
symbol-observable "^1.2.0"
-reflect.ownkeys@^0.2.0:
- version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/reflect.ownkeys/-/reflect.ownkeys-0.2.0.tgz#749aceec7f3fdf8b63f927a04809e90c5c0b3460"
- integrity sha1-dJrO7H8/34tj+SegSAnpDFwLNGA=
-
refractor@^2.4.1:
version "2.10.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/refractor/-/refractor-2.10.0.tgz#4cc7efc0028a87924a9b31d82d129dec831a287b"
+ resolved "https://registry.npmjs.com/refractor/-/refractor-2.10.0.tgz#4cc7efc0028a87924a9b31d82d129dec831a287b"
integrity sha1-TMfvwAKKh5JKmzHYLRKd7IMaKHs=
dependencies:
hastscript "^5.0.0"
@@ -13228,53 +12720,48 @@ refractor@^2.4.1:
regenerate-unicode-properties@^8.1.0:
version "8.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e"
+ resolved "https://registry.npmjs.com/regenerate-unicode-properties/-/regenerate-unicode-properties-8.1.0.tgz#ef51e0f0ea4ad424b77bf7cb41f3e015c70a3f0e"
integrity sha1-71Hg8OpK1CS3e/fLQfPgFccKPw4=
dependencies:
regenerate "^1.4.0"
regenerate@^1.4.0:
version "1.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
+ resolved "https://registry.npmjs.com/regenerate/-/regenerate-1.4.0.tgz#4a856ec4b56e4077c557589cae85e7a4c8869a11"
integrity sha1-SoVuxLVuQHfFV1icroXnpMiGmhE=
regenerator-runtime@0.13.3, regenerator-runtime@^0.13.2:
version "0.13.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5"
+ resolved "https://registry.npmjs.com/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz#7cf6a77d8f5c6f60eb73c5fc1955b2ceb01e6bf5"
integrity sha1-fPanfY9cb2Drc8X8GVWyzrAea/U=
-regenerator-runtime@^0.10.5:
- version "0.10.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz#336c3efc1220adcedda2c9fab67b5a7955a33658"
- integrity sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=
-
regenerator-runtime@^0.11.0:
version "0.11.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
+ resolved "https://registry.npmjs.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
integrity sha1-vgWtf5v30i4Fb5cmzuUBf78Z4uk=
regenerator-runtime@^0.12.0, regenerator-runtime@^0.12.1:
version "0.12.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de"
+ resolved "https://registry.npmjs.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de"
integrity sha1-+hpxVEdkwDb4xJsToIsllMn4oN4=
regenerator-transform@^0.14.0:
version "0.14.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb"
+ resolved "https://registry.npmjs.com/regenerator-transform/-/regenerator-transform-0.14.1.tgz#3b2fce4e1ab7732c08f665dfdb314749c7ddd2fb"
integrity sha1-Oy/OThq3cywI9mXf2zFHScfd0vs=
dependencies:
private "^0.1.6"
regex-cache@^0.4.2:
version "0.4.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd"
+ resolved "https://registry.npmjs.com/regex-cache/-/regex-cache-0.4.4.tgz#75bdc58a2a1496cec48a12835bc54c8d562336dd"
integrity sha1-db3FiioUls7EihKDW8VMjVYjNt0=
dependencies:
is-equal-shallow "^0.1.3"
regex-not@^1.0.0, regex-not@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
+ resolved "https://registry.npmjs.com/regex-not/-/regex-not-1.0.2.tgz#1f4ece27e00b0b65e0247a6810e6a85d83a5752c"
integrity sha1-H07OJ+ALC2XgJHpoEOaoXYOldSw=
dependencies:
extend-shallow "^3.0.2"
@@ -13282,24 +12769,24 @@ regex-not@^1.0.0, regex-not@^1.0.2:
regexp-tree@^0.1.6:
version "0.1.13"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regexp-tree/-/regexp-tree-0.1.13.tgz#5b19ab9377edc68bc3679256840bb29afc158d7f"
+ resolved "https://registry.npmjs.com/regexp-tree/-/regexp-tree-0.1.13.tgz#5b19ab9377edc68bc3679256840bb29afc158d7f"
integrity sha1-Wxmrk3ftxovDZ5JWhAuymvwVjX8=
regexp.prototype.flags@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c"
+ resolved "https://registry.npmjs.com/regexp.prototype.flags/-/regexp.prototype.flags-1.2.0.tgz#6b30724e306a27833eeb171b66ac8890ba37e41c"
integrity sha1-azByTjBqJ4M+6xcbZqyIkLo35Bw=
dependencies:
define-properties "^1.1.2"
regexpp@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f"
+ resolved "https://registry.npmjs.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f"
integrity sha1-jRnTHPYySCtYkEn4KB+T28uk0H8=
regexpu-core@^4.5.4:
version "4.5.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regexpu-core/-/regexpu-core-4.5.5.tgz#aaffe61c2af58269b3e516b61a73790376326411"
+ resolved "https://registry.npmjs.com/regexpu-core/-/regexpu-core-4.5.5.tgz#aaffe61c2af58269b3e516b61a73790376326411"
integrity sha1-qv/mHCr1gmmz5Ra2GnN5A3YyZBE=
dependencies:
regenerate "^1.4.0"
@@ -13311,29 +12798,29 @@ regexpu-core@^4.5.4:
regjsgen@^0.5.0:
version "0.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regjsgen/-/regjsgen-0.5.0.tgz#a7634dc08f89209c2049adda3525711fb97265dd"
+ resolved "https://registry.npmjs.com/regjsgen/-/regjsgen-0.5.0.tgz#a7634dc08f89209c2049adda3525711fb97265dd"
integrity sha1-p2NNwI+JIJwgSa3aNSVxH7lyZd0=
regjsparser@^0.6.0:
version "0.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/regjsparser/-/regjsparser-0.6.0.tgz#f1e6ae8b7da2bae96c99399b868cd6c933a2ba9c"
+ resolved "https://registry.npmjs.com/regjsparser/-/regjsparser-0.6.0.tgz#f1e6ae8b7da2bae96c99399b868cd6c933a2ba9c"
integrity sha1-8eaui32iuulsmTmbhozWyTOiupw=
dependencies:
jsesc "~0.5.0"
relateurl@^0.2.7:
version "0.2.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
+ resolved "https://registry.npmjs.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=
remove-trailing-separator@^1.0.1:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
+ resolved "https://registry.npmjs.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8=
renderkid@^2.0.1:
version "2.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/renderkid/-/renderkid-2.0.3.tgz#380179c2ff5ae1365c522bf2fcfcff01c5b74149"
+ resolved "https://registry.npmjs.com/renderkid/-/renderkid-2.0.3.tgz#380179c2ff5ae1365c522bf2fcfcff01c5b74149"
integrity sha1-OAF5wv9a4TZcUivy/Pz/AcW3QUk=
dependencies:
css-select "^1.1.0"
@@ -13344,45 +12831,45 @@ renderkid@^2.0.1:
repeat-element@^1.1.2:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce"
+ resolved "https://registry.npmjs.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce"
integrity sha1-eC4NglwMWjuzlzH4Tv7mt0Lmsc4=
repeat-string@^1.5.2, repeat-string@^1.6.1:
version "1.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
+ resolved "https://registry.npmjs.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc=
repeating@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda"
+ resolved "https://registry.npmjs.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda"
integrity sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=
dependencies:
is-finite "^1.0.0"
replace-ext@0.0.1:
version "0.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924"
+ resolved "https://registry.npmjs.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924"
integrity sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=
request-promise-core@1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/request-promise-core/-/request-promise-core-1.1.2.tgz#339f6aababcafdb31c799ff158700336301d3346"
+ resolved "https://registry.npmjs.com/request-promise-core/-/request-promise-core-1.1.2.tgz#339f6aababcafdb31c799ff158700336301d3346"
integrity sha1-M59qq6vK/bMceZ/xWHADNjAdM0Y=
dependencies:
lodash "^4.17.11"
request-promise-native@^1.0.5:
version "1.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/request-promise-native/-/request-promise-native-1.0.7.tgz#a49868a624bdea5069f1251d0a836e0d89aa2c59"
+ resolved "https://registry.npmjs.com/request-promise-native/-/request-promise-native-1.0.7.tgz#a49868a624bdea5069f1251d0a836e0d89aa2c59"
integrity sha1-pJhopiS96lBp8SUdCoNuDYmqLFk=
dependencies:
request-promise-core "1.1.2"
stealthy-require "^1.1.1"
tough-cookie "^2.3.3"
-"request@>=2.76.0 <3.0.0", request@^2.79.0, request@^2.83.0, request@^2.87.0:
+"request@>=2.76.0 <3.0.0", request@^2.79.0, request@^2.87.0:
version "2.88.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
+ resolved "https://registry.npmjs.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef"
integrity sha1-nC/KT301tZLv5Xx/ClXoEFIST+8=
dependencies:
aws-sign2 "~0.7.0"
@@ -13408,44 +12895,44 @@ request-promise-native@^1.0.5:
requestidlecallback@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/requestidlecallback/-/requestidlecallback-0.3.0.tgz#6fb74e0733f90df3faa4838f9f6a2a5f9b742ac5"
+ resolved "https://registry.npmjs.com/requestidlecallback/-/requestidlecallback-0.3.0.tgz#6fb74e0733f90df3faa4838f9f6a2a5f9b742ac5"
integrity sha1-b7dOBzP5DfP6pIOPn2oqX5t0KsU=
require-directory@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
+ resolved "https://registry.npmjs.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I=
require-main-filename@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
+ resolved "https://registry.npmjs.com/require-main-filename/-/require-main-filename-1.0.1.tgz#97f717b69d48784f5f526a6c5aa8ffdda055a4d1"
integrity sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=
require-main-filename@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
+ resolved "https://registry.npmjs.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
integrity sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs=
requires-port@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
+ resolved "https://registry.npmjs.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
integrity sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=
resize-observer-polyfill@^1.5.1:
version "1.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
+ resolved "https://registry.npmjs.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464"
integrity sha1-DpAg3T0hAkRY1OvSfiPkAmmBBGQ=
resolve-cwd@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
+ resolved "https://registry.npmjs.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a"
integrity sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=
dependencies:
resolve-from "^3.0.0"
resolve-dir@^1.0.0, resolve-dir@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43"
+ resolved "https://registry.npmjs.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43"
integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=
dependencies:
expand-tilde "^2.0.0"
@@ -13453,44 +12940,44 @@ resolve-dir@^1.0.0, resolve-dir@^1.0.1:
resolve-from@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57"
+ resolved "https://registry.npmjs.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57"
integrity sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=
resolve-from@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748"
+ resolved "https://registry.npmjs.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748"
integrity sha1-six699nWiBvItuZTM17rywoYh0g=
resolve-from@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
+ resolved "https://registry.npmjs.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
integrity sha1-SrzYUq0y3Xuqv+m0DgCjbbXzkuY=
resolve-from@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69"
+ resolved "https://registry.npmjs.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69"
integrity sha1-w1IlhD3493bfIcV1V7wIfp39/Gk=
resolve-url@^0.2.1:
version "0.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
+ resolved "https://registry.npmjs.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
resolve@1.1.7:
version "1.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
+ resolved "https://registry.npmjs.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b"
integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=
resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.10.1, resolve@^1.11.0, resolve@^1.12.0, resolve@^1.3.2, resolve@^1.5.0, resolve@^1.8.1:
version "1.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
+ resolved "https://registry.npmjs.com/resolve/-/resolve-1.12.0.tgz#3fc644a35c84a48554609ff26ec52b66fa577df6"
integrity sha1-P8ZEo1yEpIVUYJ/ybsUrZvpXffY=
dependencies:
path-parse "^1.0.6"
restore-cursor@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
+ resolved "https://registry.npmjs.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
integrity sha1-n37ih/gv0ybU/RYpI9YhKe7g368=
dependencies:
onetime "^2.0.0"
@@ -13498,22 +12985,22 @@ restore-cursor@^2.0.0:
ret@~0.1.10:
version "0.1.15"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
+ resolved "https://registry.npmjs.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc"
integrity sha1-uKSCXVvbH8P29Twrwz+BOIaBx7w=
retry@0.12.0:
version "0.12.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b"
+ resolved "https://registry.npmjs.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b"
integrity sha1-G0KmJmoh8HQh0bC1S33BZ7AcATs=
retry@^0.10.0:
version "0.10.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4"
+ resolved "https://registry.npmjs.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4"
integrity sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=
rework@~1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rework/-/rework-1.0.1.tgz#30806a841342b54510aa4110850cd48534144aa7"
+ resolved "https://registry.npmjs.com/rework/-/rework-1.0.1.tgz#30806a841342b54510aa4110850cd48534144aa7"
integrity sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc=
dependencies:
convert-source-map "^0.3.3"
@@ -13521,104 +13008,96 @@ rework@~1.0.1:
rimraf@2, rimraf@^2.2.8, rimraf@^2.3.3, rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.2, rimraf@^2.6.3:
version "2.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
+ resolved "https://registry.npmjs.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
integrity sha1-NXl/E6f9rcVmFCwp1PB8ytSD4+w=
dependencies:
glob "^7.1.3"
rimraf@2.6.3:
version "2.6.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
+ resolved "https://registry.npmjs.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab"
integrity sha1-stEE/g2Psnz54KHNqCYt04M8bKs=
dependencies:
glob "^7.1.3"
ripemd160@^2.0.0, ripemd160@^2.0.1:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c"
+ resolved "https://registry.npmjs.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c"
integrity sha1-ocGm9iR1FXe6XQeRTLyShQWFiQw=
dependencies:
hash-base "^3.0.0"
inherits "^2.0.1"
-rst-selector-parser@^2.2.3:
- version "2.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rst-selector-parser/-/rst-selector-parser-2.2.3.tgz#81b230ea2fcc6066c89e3472de794285d9b03d91"
- integrity sha1-gbIw6i/MYGbInjRy3nlChdmwPZE=
- dependencies:
- lodash.flattendeep "^4.4.0"
- nearley "^2.7.10"
-
rsvp@^4.8.4:
version "4.8.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734"
+ resolved "https://registry.npmjs.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734"
integrity sha1-yPFVMR0Wf2jyHhaN9x7FsIMRNzQ=
run-async@^2.2.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"
+ resolved "https://registry.npmjs.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0"
integrity sha1-A3GrSuC91yDUFm19/aZP96RFpsA=
dependencies:
is-promise "^2.1.0"
run-queue@^1.0.0, run-queue@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47"
+ resolved "https://registry.npmjs.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47"
integrity sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=
dependencies:
aproba "^1.1.1"
rxjs@^6.4.0:
version "6.5.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a"
+ resolved "https://registry.npmjs.com/rxjs/-/rxjs-6.5.3.tgz#510e26317f4db91a7eb1de77d9dd9ba0a4899a3a"
integrity sha1-UQ4mMX9NuRp+sd532d2boKSJmjo=
dependencies:
tslib "^1.9.0"
s3-deleter@0.x:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/s3-deleter/-/s3-deleter-0.1.2.tgz#538e1972905537cb7b764b770e0e55ff7cdbb7ac"
+ resolved "https://registry.npmjs.com/s3-deleter/-/s3-deleter-0.1.2.tgz#538e1972905537cb7b764b770e0e55ff7cdbb7ac"
integrity sha1-U44ZcpBVN8t7dkt3Dg5V/3zbt6w=
dependencies:
async ">=0.2 < 1"
s3-lister@0.x:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/s3-lister/-/s3-lister-0.1.0.tgz#854eb7660fff5e4b53c9f1e7d4749b8b9a0c454a"
+ resolved "https://registry.npmjs.com/s3-lister/-/s3-lister-0.1.0.tgz#854eb7660fff5e4b53c9f1e7d4749b8b9a0c454a"
integrity sha1-hU63Zg//XktTyfHn1HSbi5oMRUo=
dependencies:
readable-stream "~1.0.2"
safe-buffer@5.1.1:
version "5.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
+ resolved "https://registry.npmjs.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853"
integrity sha1-iTMSr2myEj3vcfV4iQAWce6yyFM=
safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
+ resolved "https://registry.npmjs.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha1-mR7GnSluAxN0fVm9/St0XDX4go0=
safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@~5.2.0:
version "5.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
+ resolved "https://registry.npmjs.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519"
integrity sha1-t02uxJsRSPiMZLaNSbHoFcHy9Rk=
safe-regex@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
+ resolved "https://registry.npmjs.com/safe-regex/-/safe-regex-1.1.0.tgz#40a3669f3b077d1e943d44629e157dd48023bf2e"
integrity sha1-QKNmnzsHfR6UPURinhV91IAjvy4=
dependencies:
ret "~0.1.10"
"safer-buffer@>= 2.1.2 < 3", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@^2.1.2, safer-buffer@~2.1.0:
version "2.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
+ resolved "https://registry.npmjs.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=
sane@^4.0.3:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded"
+ resolved "https://registry.npmjs.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded"
integrity sha1-7Ygf2SJzOmxGG8GJ3CtsAG8//e0=
dependencies:
"@cnakazawa/watch" "^1.0.3"
@@ -13631,29 +13110,19 @@ sane@^4.0.3:
minimist "^1.1.1"
walker "~1.0.5"
-sass-flex-mixin@^1.x:
- version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sass-flex-mixin/-/sass-flex-mixin-1.0.3.tgz#a504d62062f7b0e773aebc395de1f45aaa6e4fd0"
- integrity sha1-pQTWIGL3sOdzrrw5XeH0WqpuT9A=
-
sax@0.4.2:
version "0.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sax/-/sax-0.4.2.tgz#39f3b601733d6bec97105b242a2a40fd6978ac3c"
+ resolved "https://registry.npmjs.com/sax/-/sax-0.4.2.tgz#39f3b601733d6bec97105b242a2a40fd6978ac3c"
integrity sha1-OfO2AXM9a+yXEFskKipA/Wl4rDw=
-sax@0.5.x:
- version "0.5.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sax/-/sax-0.5.8.tgz#d472db228eb331c2506b0e8c15524adb939d12c1"
- integrity sha1-1HLbIo6zMcJQaw6MFVJK25OdEsE=
-
sax@>=0.6.0, sax@^1.2.1, sax@^1.2.4, sax@~1.2.4:
version "1.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
+ resolved "https://registry.npmjs.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9"
integrity sha1-KBYjTiN4vdxOU1T6tcqold9xANk=
scheduler@^0.15.0:
version "0.15.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/scheduler/-/scheduler-0.15.0.tgz#6bfcf80ff850b280fed4aeecc6513bc0b4f17f8e"
+ resolved "https://registry.npmjs.com/scheduler/-/scheduler-0.15.0.tgz#6bfcf80ff850b280fed4aeecc6513bc0b4f17f8e"
integrity sha1-a/z4D/hQsoD+1K7sxlE7wLTxf44=
dependencies:
loose-envify "^1.1.0"
@@ -13661,7 +13130,7 @@ scheduler@^0.15.0:
schema-utils@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
+ resolved "https://registry.npmjs.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
integrity sha1-C3mpMgTXtgDUsoUNH2bCo0lRx3A=
dependencies:
ajv "^6.1.0"
@@ -13670,42 +13139,42 @@ schema-utils@^1.0.0:
select@^1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d"
+ resolved "https://registry.npmjs.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d"
integrity sha1-DnNQrN7ICxEIUoeG7B1EGNEbOW0=
"semver@2 || 3 || 4 || 5", "semver@2.x || 3.x || 4 || 5", semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0, semver@^5.7.0:
version "5.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
+ resolved "https://registry.npmjs.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
integrity sha1-qVT5Ma66UI0we78Gnv8MAclhFvc=
semver@5.5.0:
version "5.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"
+ resolved "https://registry.npmjs.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab"
integrity sha1-3Eu8emyp2Rbe5dQ1FvAJK1j3uKs=
semver@^2.2.1:
version "2.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/semver/-/semver-2.3.2.tgz#b9848f25d6cf36333073ec9ef8856d42f1233e52"
+ resolved "https://registry.npmjs.com/semver/-/semver-2.3.2.tgz#b9848f25d6cf36333073ec9ef8856d42f1233e52"
integrity sha1-uYSPJdbPNjMwc+ye+IVtQvEjPlI=
semver@^4.1.0:
version "4.3.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da"
+ resolved "https://registry.npmjs.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da"
integrity sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=
semver@^6.0.0, semver@^6.2.0, semver@^6.3.0:
version "6.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
+ resolved "https://registry.npmjs.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d"
integrity sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0=
semver@~5.3.0:
version "5.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
+ resolved "https://registry.npmjs.com/semver/-/semver-5.3.0.tgz#9b2ce5d3de02d17c6012ad326aa6b4d0cf54f94f"
integrity sha1-myzl094C0XxgEq0yaqa00M9U+U8=
send@0.17.1:
version "0.17.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"
+ resolved "https://registry.npmjs.com/send/-/send-0.17.1.tgz#c1d8b059f7900f7466dd4938bdc44e11ddb376c8"
integrity sha1-wdiwWfeQD3Rm3Uk4vcROEd2zdsg=
dependencies:
debug "2.6.9"
@@ -13724,7 +13193,7 @@ send@0.17.1:
sentence-case@^2.1.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sentence-case/-/sentence-case-2.1.1.tgz#1f6e2dda39c168bf92d13f86d4a918933f667ed4"
+ resolved "https://registry.npmjs.com/sentence-case/-/sentence-case-2.1.1.tgz#1f6e2dda39c168bf92d13f86d4a918933f667ed4"
integrity sha1-H24t2jnBaL+S0T+G1KkYkz9mftQ=
dependencies:
no-case "^2.2.0"
@@ -13732,24 +13201,17 @@ sentence-case@^2.1.0:
sequencify@~0.0.7:
version "0.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c"
+ resolved "https://registry.npmjs.com/sequencify/-/sequencify-0.0.7.tgz#90cff19d02e07027fd767f5ead3e7b95d1e7380c"
integrity sha1-kM/xnQLgcCf9dn9erT57ldHnOAw=
serialize-javascript@^1.7.0:
version "1.9.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/serialize-javascript/-/serialize-javascript-1.9.1.tgz#cfc200aef77b600c47da9bb8149c943e798c2fdb"
+ resolved "https://registry.npmjs.com/serialize-javascript/-/serialize-javascript-1.9.1.tgz#cfc200aef77b600c47da9bb8149c943e798c2fdb"
integrity sha1-z8IArvd7YAxH2pu4FJyUPnmML9s=
-serializerr@^1.0.3:
- version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/serializerr/-/serializerr-1.0.3.tgz#12d4c5aa1c3ffb8f6d1dc5f395aa9455569c3f91"
- integrity sha1-EtTFqhw/+49tHcXzlaqUVVacP5E=
- dependencies:
- protochain "^1.0.5"
-
serve-favicon@^2.5.0:
version "2.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/serve-favicon/-/serve-favicon-2.5.0.tgz#935d240cdfe0f5805307fdfe967d88942a2cbcf0"
+ resolved "https://registry.npmjs.com/serve-favicon/-/serve-favicon-2.5.0.tgz#935d240cdfe0f5805307fdfe967d88942a2cbcf0"
integrity sha1-k10kDN/g9YBTB/3+ln2IlCosvPA=
dependencies:
etag "~1.8.1"
@@ -13760,7 +13222,7 @@ serve-favicon@^2.5.0:
serve-static@1.14.1:
version "1.14.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9"
+ resolved "https://registry.npmjs.com/serve-static/-/serve-static-1.14.1.tgz#666e636dc4f010f7ef29970a88a674320898b2f9"
integrity sha1-Zm5jbcTwEPfvKZcKiKZ0MgiYsvk=
dependencies:
encodeurl "~1.0.2"
@@ -13770,12 +13232,12 @@ serve-static@1.14.1:
set-blocking@^2.0.0, set-blocking@~2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
+ resolved "https://registry.npmjs.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
set-value@^2.0.0, set-value@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
+ resolved "https://registry.npmjs.com/set-value/-/set-value-2.0.1.tgz#a18d40530e6f07de4228c7defe4227af8cad005b"
integrity sha1-oY1AUw5vB95CKMfe/kInr4ytAFs=
dependencies:
extend-shallow "^2.0.1"
@@ -13785,17 +13247,17 @@ set-value@^2.0.0, set-value@^2.0.1:
setimmediate@^1.0.4, setimmediate@^1.0.5:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
+ resolved "https://registry.npmjs.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=
setprototypeof@1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
+ resolved "https://registry.npmjs.com/setprototypeof/-/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
integrity sha1-fpWsskqpL1iF4KvvW6ExMw1K5oM=
sha.js@^2.4.0, sha.js@^2.4.8:
version "2.4.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7"
+ resolved "https://registry.npmjs.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7"
integrity sha1-N6XPC4HsvGlD3hCbopYNGyZYSuc=
dependencies:
inherits "^2.0.1"
@@ -13803,7 +13265,7 @@ sha.js@^2.4.0, sha.js@^2.4.8:
shallow-clone@^0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shallow-clone/-/shallow-clone-0.1.2.tgz#5909e874ba77106d73ac414cfec1ffca87d97060"
+ resolved "https://registry.npmjs.com/shallow-clone/-/shallow-clone-0.1.2.tgz#5909e874ba77106d73ac414cfec1ffca87d97060"
integrity sha1-WQnodLp3EG1zrEFM/sH/yofZcGA=
dependencies:
is-extendable "^0.1.1"
@@ -13813,29 +13275,29 @@ shallow-clone@^0.1.2:
shallow-equal@^1.1.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shallow-equal/-/shallow-equal-1.2.0.tgz#fd828d2029ff4e19569db7e19e535e94e2d1f5cc"
+ resolved "https://registry.npmjs.com/shallow-equal/-/shallow-equal-1.2.0.tgz#fd828d2029ff4e19569db7e19e535e94e2d1f5cc"
integrity sha1-/YKNICn/ThlWnbfhnlNelOLR9cw=
shallowequal@1.1.0, shallowequal@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
+ resolved "https://registry.npmjs.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8"
integrity sha1-GI1SHelbkIdAT9TctosT3wrk5/g=
shebang-command@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
+ resolved "https://registry.npmjs.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea"
integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=
dependencies:
shebang-regex "^1.0.0"
shebang-regex@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
+ resolved "https://registry.npmjs.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3"
integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=
shell-quote@1.6.1:
version "1.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767"
+ resolved "https://registry.npmjs.com/shell-quote/-/shell-quote-1.6.1.tgz#f4781949cce402697127430ea3b3c5476f481767"
integrity sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=
dependencies:
array-filter "~0.0.0"
@@ -13845,7 +13307,7 @@ shell-quote@1.6.1:
shelljs@^0.8.3:
version "0.8.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097"
+ resolved "https://registry.npmjs.com/shelljs/-/shelljs-0.8.3.tgz#a7f3319520ebf09ee81275b2368adb286659b097"
integrity sha1-p/MxlSDr8J7oEnWyNorbKGZZsJc=
dependencies:
glob "^7.0.0"
@@ -13854,27 +13316,27 @@ shelljs@^0.8.3:
shellwords@^0.1.1:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
+ resolved "https://registry.npmjs.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b"
integrity sha1-1rkYHBpI05cyTISHHvvPxz/AZUs=
sigmund@~1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
+ resolved "https://registry.npmjs.com/sigmund/-/sigmund-1.0.1.tgz#3ff21f198cad2175f9f3b781853fd94d0d19b590"
integrity sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=
signal-exit@^2.0.0:
version "2.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/signal-exit/-/signal-exit-2.1.2.tgz#375879b1f92ebc3b334480d038dc546a6d558564"
+ resolved "https://registry.npmjs.com/signal-exit/-/signal-exit-2.1.2.tgz#375879b1f92ebc3b334480d038dc546a6d558564"
integrity sha1-N1h5sfkuvDszRIDQONxUam1VhWQ=
signal-exit@^3.0.0, signal-exit@^3.0.1, signal-exit@^3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
+ resolved "https://registry.npmjs.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=
simplebar-react@^1.0.0-alpha.6:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/simplebar-react/-/simplebar-react-1.2.1.tgz#4ce09f213ca2f998672cdc86c42cc789d3b99428"
+ resolved "https://registry.npmjs.com/simplebar-react/-/simplebar-react-1.2.1.tgz#4ce09f213ca2f998672cdc86c42cc789d3b99428"
integrity sha1-TOCfITyi+ZhnLNyGxCzHidO5lCg=
dependencies:
prop-types "^15.6.1"
@@ -13882,7 +13344,7 @@ simplebar-react@^1.0.0-alpha.6:
simplebar@^4.2.1:
version "4.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/simplebar/-/simplebar-4.2.1.tgz#355af388d80218755ef6e12337d483d38df46af1"
+ resolved "https://registry.npmjs.com/simplebar/-/simplebar-4.2.1.tgz#355af388d80218755ef6e12337d483d38df46af1"
integrity sha1-NVrziNgCGHVe9uEjN9SD0430avE=
dependencies:
can-use-dom "^0.1.0"
@@ -13894,7 +13356,7 @@ simplebar@^4.2.1:
sinon@^7.3.1:
version "7.4.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sinon/-/sinon-7.4.2.tgz#ecd54158fef2fcfbdb231a3fa55140e8cb02ad6c"
+ resolved "https://registry.npmjs.com/sinon/-/sinon-7.4.2.tgz#ecd54158fef2fcfbdb231a3fa55140e8cb02ad6c"
integrity sha1-7NVBWP7y/PvbIxo/pVFA6MsCrWw=
dependencies:
"@sinonjs/commons" "^1.4.0"
@@ -13907,22 +13369,22 @@ sinon@^7.3.1:
sisteransi@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sisteransi/-/sisteransi-1.0.3.tgz#98168d62b79e3a5e758e27ae63c4a053d748f4eb"
+ resolved "https://registry.npmjs.com/sisteransi/-/sisteransi-1.0.3.tgz#98168d62b79e3a5e758e27ae63c4a053d748f4eb"
integrity sha1-mBaNYreeOl51jieuY8SgU9dI9Os=
slash@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
+ resolved "https://registry.npmjs.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55"
integrity sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=
slash@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
+ resolved "https://registry.npmjs.com/slash/-/slash-2.0.0.tgz#de552851a1759df3a8f206535442f5ec4ddeab44"
integrity sha1-3lUoUaF1nfOo8gZTVEL17E3eq0Q=
slice-ansi@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"
+ resolved "https://registry.npmjs.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636"
integrity sha1-ys12k0YaY3pXiNkqfdT7oGjoFjY=
dependencies:
ansi-styles "^3.2.0"
@@ -13931,24 +13393,24 @@ slice-ansi@^2.1.0:
slide@^1.1.5, slide@^1.1.6:
version "1.1.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707"
+ resolved "https://registry.npmjs.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707"
integrity sha1-VusCfWW00tzmyy4tMsTUr8nh1wc=
smart-buffer@4.0.2:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d"
+ resolved "https://registry.npmjs.com/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d"
integrity sha1-UgeFjDgVzGkRBwPGuU5GwVY0OV0=
snake-case@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/snake-case/-/snake-case-2.1.0.tgz#41bdb1b73f30ec66a04d4e2cad1b76387d4d6d9f"
+ resolved "https://registry.npmjs.com/snake-case/-/snake-case-2.1.0.tgz#41bdb1b73f30ec66a04d4e2cad1b76387d4d6d9f"
integrity sha1-Qb2xtz8w7GagTU4srRt2OH1NbZ8=
dependencies:
no-case "^2.2.0"
snapdragon-node@^2.0.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b"
+ resolved "https://registry.npmjs.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b"
integrity sha1-bBdfhv8UvbByRWPo88GwIaKGhTs=
dependencies:
define-property "^1.0.0"
@@ -13957,14 +13419,14 @@ snapdragon-node@^2.0.1:
snapdragon-util@^3.0.1:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2"
+ resolved "https://registry.npmjs.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2"
integrity sha1-+VZHlIbyrNeXAGk/b3uAXkWrVuI=
dependencies:
kind-of "^3.2.0"
snapdragon@^0.8.1:
version "0.8.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d"
+ resolved "https://registry.npmjs.com/snapdragon/-/snapdragon-0.8.2.tgz#64922e7c565b0e14204ba1aa7d6964278d25182d"
integrity sha1-ZJIufFZbDhQgS6GqfWlkJ40lGC0=
dependencies:
base "^0.11.1"
@@ -13978,7 +13440,7 @@ snapdragon@^0.8.1:
sockjs-client@1.3.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sockjs-client/-/sockjs-client-1.3.0.tgz#12fc9d6cb663da5739d3dc5fb6e8687da95cb177"
+ resolved "https://registry.npmjs.com/sockjs-client/-/sockjs-client-1.3.0.tgz#12fc9d6cb663da5739d3dc5fb6e8687da95cb177"
integrity sha1-EvydbLZj2lc509xftuhofalcsXc=
dependencies:
debug "^3.2.5"
@@ -13990,7 +13452,7 @@ sockjs-client@1.3.0:
socks-proxy-agent@^4.0.0:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386"
+ resolved "https://registry.npmjs.com/socks-proxy-agent/-/socks-proxy-agent-4.0.2.tgz#3c8991f3145b2799e70e11bd5fbc8b1963116386"
integrity sha1-PImR8xRbJ5nnDhG9X7yLGWMRY4Y=
dependencies:
agent-base "~4.2.1"
@@ -13998,7 +13460,7 @@ socks-proxy-agent@^4.0.0:
socks@~2.3.2:
version "2.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/socks/-/socks-2.3.2.tgz#ade388e9e6d87fdb11649c15746c578922a5883e"
+ resolved "https://registry.npmjs.com/socks/-/socks-2.3.2.tgz#ade388e9e6d87fdb11649c15746c578922a5883e"
integrity sha1-reOI6ebYf9sRZJwVdGxXiSKliD4=
dependencies:
ip "^1.1.5"
@@ -14006,26 +13468,26 @@ socks@~2.3.2:
sort-keys@^1.0.0:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad"
+ resolved "https://registry.npmjs.com/sort-keys/-/sort-keys-1.1.2.tgz#441b6d4d346798f1b4e49e8920adfba0e543f9ad"
integrity sha1-RBttTTRnmPG05J6JIK37oOVD+a0=
dependencies:
is-plain-obj "^1.0.0"
sort-keys@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128"
+ resolved "https://registry.npmjs.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128"
integrity sha1-ZYU1WEhh7JfXMNbPQYIuH1ZoQSg=
dependencies:
is-plain-obj "^1.0.0"
source-list-map@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
+ resolved "https://registry.npmjs.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34"
integrity sha1-OZO9hzv8SEecyp6jpUeDXHwVSzQ=
source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
version "0.5.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"
+ resolved "https://registry.npmjs.com/source-map-resolve/-/source-map-resolve-0.5.2.tgz#72e2cc34095543e43b2c62b2c4c10d4a9054f259"
integrity sha1-cuLMNAlVQ+Q7LGKyxMENSpBU8lk=
dependencies:
atob "^2.1.1"
@@ -14036,7 +13498,7 @@ source-map-resolve@^0.5.0, source-map-resolve@^0.5.2:
source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.12:
version "0.5.13"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932"
+ resolved "https://registry.npmjs.com/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932"
integrity sha1-MbJKnC5zwt6FBmwP631Edn7VKTI=
dependencies:
buffer-from "^1.0.0"
@@ -14044,44 +13506,37 @@ source-map-support@^0.5.6, source-map-support@^0.5.9, source-map-support@~0.5.12
source-map-url@^0.4.0:
version "0.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
+ resolved "https://registry.npmjs.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3"
integrity sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=
-source-map@0.1.x:
- version "0.1.43"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346"
- integrity sha1-wkvBRspRfBRx9drL4lcbK3+eM0Y=
- dependencies:
- amdefine ">=0.0.4"
-
source-map@^0.5.0, source-map@^0.5.3, source-map@^0.5.6, source-map@^0.5.7:
version "0.5.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
+ resolved "https://registry.npmjs.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
version "0.6.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
+ resolved "https://registry.npmjs.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha1-dHIq8y6WFOnCh6jQu95IteLxomM=
source-map@^0.7.2, source-map@^0.7.3:
version "0.7.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
+ resolved "https://registry.npmjs.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
integrity sha1-UwL4FpAxc1ImVECS5kmB91F1A4M=
space-separated-tokens@^1.0.0:
version "1.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/space-separated-tokens/-/space-separated-tokens-1.1.4.tgz#27910835ae00d0adfcdbd0ad7e611fb9544351fa"
+ resolved "https://registry.npmjs.com/space-separated-tokens/-/space-separated-tokens-1.1.4.tgz#27910835ae00d0adfcdbd0ad7e611fb9544351fa"
integrity sha1-J5EINa4A0K3829CtfmEfuVRDUfo=
sparkles@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c"
+ resolved "https://registry.npmjs.com/sparkles/-/sparkles-1.0.1.tgz#008db65edce6c50eec0c5e228e1945061dd0437c"
integrity sha1-AI22XtzmxQ7sDF4ijhlFBh3QQ3w=
spawn-wrap@1.2.4:
version "1.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/spawn-wrap/-/spawn-wrap-1.2.4.tgz#920eb211a769c093eebfbd5b0e7a5d2e68ab2e40"
+ resolved "https://registry.npmjs.com/spawn-wrap/-/spawn-wrap-1.2.4.tgz#920eb211a769c093eebfbd5b0e7a5d2e68ab2e40"
integrity sha1-kg6yEadpwJPuv71bDnpdLmirLkA=
dependencies:
foreground-child "^1.3.3"
@@ -14093,7 +13548,7 @@ spawn-wrap@1.2.4:
spdx-correct@^3.0.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4"
+ resolved "https://registry.npmjs.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4"
integrity sha1-+4PlBERSaPFUsHTiGMh8ADzTHfQ=
dependencies:
spdx-expression-parse "^3.0.0"
@@ -14101,12 +13556,12 @@ spdx-correct@^3.0.0:
spdx-exceptions@^2.1.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977"
+ resolved "https://registry.npmjs.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977"
integrity sha1-LqRQrudPKom/uUUZwH/Nb0EyKXc=
spdx-expression-parse@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0"
+ resolved "https://registry.npmjs.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0"
integrity sha1-meEZt6XaAOBUkcn6M4t5BII7QdA=
dependencies:
spdx-exceptions "^2.1.0"
@@ -14114,43 +13569,43 @@ spdx-expression-parse@^3.0.0:
spdx-license-ids@^3.0.0:
version "3.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654"
+ resolved "https://registry.npmjs.com/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654"
integrity sha1-NpS1gEVnpFjTyARYQqY1hjL2JlQ=
speedometer@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/speedometer/-/speedometer-1.0.0.tgz#cd671cb06752c22bca3370e2f334440be4fc62e2"
+ resolved "https://registry.npmjs.com/speedometer/-/speedometer-1.0.0.tgz#cd671cb06752c22bca3370e2f334440be4fc62e2"
integrity sha1-zWccsGdSwivKM3Di8zREC+T8YuI=
split-string@^3.0.1, split-string@^3.0.2:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
+ resolved "https://registry.npmjs.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
integrity sha1-fLCd2jqGWFcFxks5pkZgOGguj+I=
dependencies:
extend-shallow "^3.0.0"
split2@^2.0.0, split2@^2.2.0:
version "2.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493"
+ resolved "https://registry.npmjs.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493"
integrity sha1-GGsldbz4PoW30YRldWI47k7kJJM=
dependencies:
through2 "^2.0.2"
split@^1.0.0, split@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9"
+ resolved "https://registry.npmjs.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9"
integrity sha1-YFvZvjA6pZ+zX5Ip++oN3snqB9k=
dependencies:
through "2"
sprintf-js@~1.0.2:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
+ resolved "https://registry.npmjs.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c"
integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=
sshpk@^1.7.0:
version "1.16.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
+ resolved "https://registry.npmjs.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877"
integrity sha1-+2YcC+8ps520B2nuOfpwCT1vaHc=
dependencies:
asn1 "~0.2.3"
@@ -14165,24 +13620,24 @@ sshpk@^1.7.0:
ssri@^6.0.0, ssri@^6.0.1:
version "6.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8"
+ resolved "https://registry.npmjs.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8"
integrity sha1-KjxBso3UW2K2Nnbst0ABJlrp7dg=
dependencies:
figgy-pudding "^3.5.1"
stable@^0.1.8:
version "0.1.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf"
+ resolved "https://registry.npmjs.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf"
integrity sha1-g26zyDgv4pNv6vVEYxAXzn1Ho88=
stack-utils@^1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8"
+ resolved "https://registry.npmjs.com/stack-utils/-/stack-utils-1.0.2.tgz#33eba3897788558bebfc2db059dc158ec36cebb8"
integrity sha1-M+ujiXeIVYvr/C2wWdwVjsNs67g=
static-extend@^0.1.1:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6"
+ resolved "https://registry.npmjs.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6"
integrity sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=
dependencies:
define-property "^0.2.5"
@@ -14190,22 +13645,22 @@ static-extend@^0.1.1:
"statuses@>= 1.5.0 < 2", statuses@~1.5.0:
version "1.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
+ resolved "https://registry.npmjs.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=
stealthy-require@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
+ resolved "https://registry.npmjs.com/stealthy-require/-/stealthy-require-1.1.1.tgz#35b09875b4ff49f26a777e509b3090a3226bf24b"
integrity sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=
store2@^2.7.1:
version "2.9.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/store2/-/store2-2.9.0.tgz#9987e3cf491b8163fd6197c42bab7d71c58c179b"
+ resolved "https://registry.npmjs.com/store2/-/store2-2.9.0.tgz#9987e3cf491b8163fd6197c42bab7d71c58c179b"
integrity sha1-mYfjz0kbgWP9YZfEK6t9ccWMF5s=
storybook-chromatic@^2.2.2:
version "2.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/storybook-chromatic/-/storybook-chromatic-2.2.2.tgz#eade5178f334d6dd173dbe980c902ae90e727cb0"
+ resolved "https://registry.npmjs.com/storybook-chromatic/-/storybook-chromatic-2.2.2.tgz#eade5178f334d6dd173dbe980c902ae90e727cb0"
integrity sha1-6t5RePM01t0XPb6YDJAq6Q5yfLA=
dependencies:
"@babel/runtime" "^7.3.1"
@@ -14234,7 +13689,7 @@ storybook-chromatic@^2.2.2:
stream-browserify@^2.0.1:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b"
+ resolved "https://registry.npmjs.com/stream-browserify/-/stream-browserify-2.0.2.tgz#87521d38a44aa7ee91ce1cd2a47df0cb49dd660b"
integrity sha1-h1IdOKRKp+6RzhzSpH3wy0ndZgs=
dependencies:
inherits "~2.0.1"
@@ -14242,7 +13697,7 @@ stream-browserify@^2.0.1:
stream-combiner@^0.2.2:
version "0.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-combiner/-/stream-combiner-0.2.2.tgz#aec8cbac177b56b6f4fa479ced8c1912cee52858"
+ resolved "https://registry.npmjs.com/stream-combiner/-/stream-combiner-0.2.2.tgz#aec8cbac177b56b6f4fa479ced8c1912cee52858"
integrity sha1-rsjLrBd7Vrb0+kec7YwZEs7lKFg=
dependencies:
duplexer "~0.1.1"
@@ -14250,17 +13705,17 @@ stream-combiner@^0.2.2:
stream-consume@~0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-consume/-/stream-consume-0.1.1.tgz#d3bdb598c2bd0ae82b8cac7ac50b1107a7996c48"
+ resolved "https://registry.npmjs.com/stream-consume/-/stream-consume-0.1.1.tgz#d3bdb598c2bd0ae82b8cac7ac50b1107a7996c48"
integrity sha1-0721mMK9CugrjKx6xQsRB6eZbEg=
stream-counter@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-counter/-/stream-counter-1.0.0.tgz#91cf2569ce4dc5061febcd7acb26394a5a114751"
+ resolved "https://registry.npmjs.com/stream-counter/-/stream-counter-1.0.0.tgz#91cf2569ce4dc5061febcd7acb26394a5a114751"
integrity sha1-kc8lac5NxQYf6816yyY5SloRR1E=
stream-each@^1.1.0:
version "1.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae"
+ resolved "https://registry.npmjs.com/stream-each/-/stream-each-1.2.3.tgz#ebe27a0c389b04fbcc233642952e10731afa9bae"
integrity sha1-6+J6DDibBPvMIzZClS4Qcxr6m64=
dependencies:
end-of-stream "^1.1.0"
@@ -14268,7 +13723,7 @@ stream-each@^1.1.0:
stream-http@^2.7.2:
version "2.8.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc"
+ resolved "https://registry.npmjs.com/stream-http/-/stream-http-2.8.3.tgz#b2d242469288a5a27ec4fe8933acf623de6514fc"
integrity sha1-stJCRpKIpaJ+xP6JM6z2I95lFPw=
dependencies:
builtin-status-codes "^3.0.0"
@@ -14279,17 +13734,17 @@ stream-http@^2.7.2:
stream-shift@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952"
+ resolved "https://registry.npmjs.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952"
integrity sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=
strict-uri-encode@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
+ resolved "https://registry.npmjs.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713"
integrity sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=
string-length@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed"
+ resolved "https://registry.npmjs.com/string-length/-/string-length-2.0.0.tgz#d40dbb686a3ace960c1cffca562bf2c45f8363ed"
integrity sha1-1A27aGo6zpYMHP/KVivyxF+DY+0=
dependencies:
astral-regex "^1.0.0"
@@ -14297,7 +13752,7 @@ string-length@^2.0.0:
string-width@^1.0.1, string-width@^1.0.2:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
+ resolved "https://registry.npmjs.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3"
integrity sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=
dependencies:
code-point-at "^1.0.0"
@@ -14306,7 +13761,7 @@ string-width@^1.0.1, string-width@^1.0.2:
"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
+ resolved "https://registry.npmjs.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
integrity sha1-q5Pyeo3BPSjKyBXEYhQ6bZASrp4=
dependencies:
is-fullwidth-code-point "^2.0.0"
@@ -14314,7 +13769,7 @@ string-width@^1.0.1, string-width@^1.0.2:
string-width@^3.0.0, string-width@^3.1.0:
version "3.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
+ resolved "https://registry.npmjs.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961"
integrity sha1-InZ74htirxCBV0MG9prFG2IgOWE=
dependencies:
emoji-regex "^7.0.1"
@@ -14323,7 +13778,7 @@ string-width@^3.0.0, string-width@^3.1.0:
string.prototype.matchall@^3.0.1:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string.prototype.matchall/-/string.prototype.matchall-3.0.1.tgz#5a9e0b64bcbeb336aa4814820237c2006985646d"
+ resolved "https://registry.npmjs.com/string.prototype.matchall/-/string.prototype.matchall-3.0.1.tgz#5a9e0b64bcbeb336aa4814820237c2006985646d"
integrity sha1-Wp4LZLy+szaqSBSCAjfCAGmFZG0=
dependencies:
define-properties "^1.1.3"
@@ -14334,7 +13789,7 @@ string.prototype.matchall@^3.0.1:
string.prototype.padend@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0"
+ resolved "https://registry.npmjs.com/string.prototype.padend/-/string.prototype.padend-3.0.0.tgz#f3aaef7c1719f170c5eab1c32bf780d96e21f2f0"
integrity sha1-86rvfBcZ8XDF6rHDK/eA2W4h8vA=
dependencies:
define-properties "^1.1.2"
@@ -14343,25 +13798,16 @@ string.prototype.padend@^3.0.0:
string.prototype.padstart@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz#5bcfad39f4649bb2d031292e19bcf0b510d4b242"
+ resolved "https://registry.npmjs.com/string.prototype.padstart/-/string.prototype.padstart-3.0.0.tgz#5bcfad39f4649bb2d031292e19bcf0b510d4b242"
integrity sha1-W8+tOfRkm7LQMSkuGbzwtRDUskI=
dependencies:
define-properties "^1.1.2"
es-abstract "^1.4.3"
function-bind "^1.0.2"
-string.prototype.trim@^1.1.2:
- version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string.prototype.trim/-/string.prototype.trim-1.2.0.tgz#75a729b10cfc1be439543dae442129459ce61e3d"
- integrity sha1-dacpsQz8G+Q5VD2uRCEpRZzmHj0=
- dependencies:
- define-properties "^1.1.3"
- es-abstract "^1.13.0"
- function-bind "^1.1.1"
-
string.prototype.trimleft@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string.prototype.trimleft/-/string.prototype.trimleft-2.0.0.tgz#68b6aa8e162c6a80e76e3a8a0c2e747186e271ff"
+ resolved "https://registry.npmjs.com/string.prototype.trimleft/-/string.prototype.trimleft-2.0.0.tgz#68b6aa8e162c6a80e76e3a8a0c2e747186e271ff"
integrity sha1-aLaqjhYsaoDnbjqKDC50cYbicf8=
dependencies:
define-properties "^1.1.2"
@@ -14369,7 +13815,7 @@ string.prototype.trimleft@^2.0.0:
string.prototype.trimright@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string.prototype.trimright/-/string.prototype.trimright-2.0.0.tgz#ab4a56d802a01fbe7293e11e84f24dc8164661dd"
+ resolved "https://registry.npmjs.com/string.prototype.trimright/-/string.prototype.trimright-2.0.0.tgz#ab4a56d802a01fbe7293e11e84f24dc8164661dd"
integrity sha1-q0pW2AKgH75yk+EehPJNyBZGYd0=
dependencies:
define-properties "^1.1.2"
@@ -14377,26 +13823,26 @@ string.prototype.trimright@^2.0.0:
string_decoder@^1.0.0, string_decoder@^1.1.1:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
+ resolved "https://registry.npmjs.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
integrity sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=
dependencies:
safe-buffer "~5.2.0"
string_decoder@~0.10.x:
version "0.10.31"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
+ resolved "https://registry.npmjs.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94"
integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=
string_decoder@~1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
+ resolved "https://registry.npmjs.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
integrity sha1-nPFhG6YmhdcDCunkujQUnDrwP8g=
dependencies:
safe-buffer "~5.1.0"
stringify-object@3.3.0:
version "3.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629"
+ resolved "https://registry.npmjs.com/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629"
integrity sha1-cDBlrvyhkwDTzoivT1s5VtdVZik=
dependencies:
get-own-enumerable-property-symbols "^3.0.0"
@@ -14405,35 +13851,35 @@ stringify-object@3.3.0:
strip-ansi@5.2.0, strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0:
version "5.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
+ resolved "https://registry.npmjs.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae"
integrity sha1-jJpTb+tq/JYr36WxBKUJHBrZwK4=
dependencies:
ansi-regex "^4.1.0"
strip-ansi@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-ansi/-/strip-ansi-0.3.0.tgz#25f48ea22ca79187f3174a4db8759347bb126220"
+ resolved "https://registry.npmjs.com/strip-ansi/-/strip-ansi-0.3.0.tgz#25f48ea22ca79187f3174a4db8759347bb126220"
integrity sha1-JfSOoiynkYfzF0pNuHWTR7sSYiA=
dependencies:
ansi-regex "^0.2.1"
strip-ansi@^3.0.0, strip-ansi@^3.0.1:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
+ resolved "https://registry.npmjs.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=
dependencies:
ansi-regex "^2.0.0"
strip-ansi@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
+ resolved "https://registry.npmjs.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f"
integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8=
dependencies:
ansi-regex "^3.0.0"
strip-bom@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-bom/-/strip-bom-1.0.0.tgz#85b8862f3844b5a6d5ec8467a93598173a36f794"
+ resolved "https://registry.npmjs.com/strip-bom/-/strip-bom-1.0.0.tgz#85b8862f3844b5a6d5ec8467a93598173a36f794"
integrity sha1-hbiGLzhEtabV7IRnqTWYFzo295Q=
dependencies:
first-chunk-stream "^1.0.0"
@@ -14441,58 +13887,46 @@ strip-bom@^1.0.0:
strip-bom@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e"
+ resolved "https://registry.npmjs.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e"
integrity sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=
dependencies:
is-utf8 "^0.2.0"
strip-bom@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
+ resolved "https://registry.npmjs.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3"
integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=
strip-color@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-color/-/strip-color-0.1.0.tgz#106f65d3d3e6a2d9401cac0eb0ce8b8a702b4f7b"
+ resolved "https://registry.npmjs.com/strip-color/-/strip-color-0.1.0.tgz#106f65d3d3e6a2d9401cac0eb0ce8b8a702b4f7b"
integrity sha1-EG9l09PmotlAHKwOsM6LinArT3s=
strip-eof@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
+ resolved "https://registry.npmjs.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=
strip-indent@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2"
+ resolved "https://registry.npmjs.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2"
integrity sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=
dependencies:
get-stdin "^4.0.1"
strip-indent@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
+ resolved "https://registry.npmjs.com/strip-indent/-/strip-indent-2.0.0.tgz#5ef8db295d01e6ed6cbf7aab96998d7822527b68"
integrity sha1-XvjbKV0B5u1sv3qrlpmNeCJSe2g=
-strip-json-comments@2.0.1, strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
+strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
+ resolved "https://registry.npmjs.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
-strip-outer@^1.0.0:
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-outer/-/strip-outer-1.0.1.tgz#b2fd2abf6604b9d1e6013057195df836b8a9d631"
- integrity sha1-sv0qv2YEudHmATBXGV34Nrip1jE=
- dependencies:
- escape-string-regexp "^1.0.2"
-
-strip-url-auth@^1.0.0:
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strip-url-auth/-/strip-url-auth-1.0.1.tgz#22b0fa3a41385b33be3f331551bbb837fa0cd7ae"
- integrity sha1-IrD6OkE4WzO+PzMVUbu4N/oM164=
-
strong-log-transformer@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10"
+ resolved "https://registry.npmjs.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10"
integrity sha1-D17XjTJeBCGsb5D38Q5pHWrjrhA=
dependencies:
duplexer "^0.1.1"
@@ -14501,7 +13935,7 @@ strong-log-transformer@^2.0.0:
style-loader@^0.23.1:
version "0.23.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/style-loader/-/style-loader-0.23.1.tgz#cb9154606f3e771ab6c4ab637026a1049174d925"
+ resolved "https://registry.npmjs.com/style-loader/-/style-loader-0.23.1.tgz#cb9154606f3e771ab6c4ab637026a1049174d925"
integrity sha1-y5FUYG8+dxq2xKtjcCahBJF02SU=
dependencies:
loader-utils "^1.1.0"
@@ -14509,38 +13943,26 @@ style-loader@^0.23.1:
stylis-rule-sheet@^0.0.10:
version "0.0.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"
+ resolved "https://registry.npmjs.com/stylis-rule-sheet/-/stylis-rule-sheet-0.0.10.tgz#44e64a2b076643f4b52e5ff71efc04d8c3c4a430"
integrity sha1-ROZKKwdmQ/S1Ll/3HvwE2MPEpDA=
stylis@^3.5.0:
version "3.5.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
+ resolved "https://registry.npmjs.com/stylis/-/stylis-3.5.4.tgz#f665f25f5e299cf3d64654ab949a57c768b73fbe"
integrity sha1-9mXyX14pnPPWRlSrlJpXx2i3P74=
stylus-loader@^3.0.1:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6"
+ resolved "https://registry.npmjs.com/stylus-loader/-/stylus-loader-3.0.2.tgz#27a706420b05a38e038e7cacb153578d450513c6"
integrity sha1-J6cGQgsFo44DjnyssVNXjUUFE8Y=
dependencies:
loader-utils "^1.0.2"
lodash.clonedeep "^4.5.0"
when "~3.6.x"
-stylus@0.54.5:
- version "0.54.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stylus/-/stylus-0.54.5.tgz#42b9560931ca7090ce8515a798ba9e6aa3d6dc79"
- integrity sha1-QrlWCTHKcJDOhRWnmLqeaqPW3Hk=
- dependencies:
- css-parse "1.7.x"
- debug "*"
- glob "7.0.x"
- mkdirp "0.5.x"
- sax "0.5.x"
- source-map "0.1.x"
-
stylus@^0.54.5:
version "0.54.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/stylus/-/stylus-0.54.7.tgz#c6ce4793965ee538bcebe50f31537bfc04d88cd2"
+ resolved "https://registry.npmjs.com/stylus/-/stylus-0.54.7.tgz#c6ce4793965ee538bcebe50f31537bfc04d88cd2"
integrity sha1-xs5Hk5Ze5Ti86+UPMVN7/ATYjNI=
dependencies:
css-parse "~2.0.0"
@@ -14552,52 +13974,45 @@ stylus@^0.54.5:
semver "^6.0.0"
source-map "^0.7.3"
-supports-color@6.0.0:
- version "6.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/supports-color/-/supports-color-6.0.0.tgz#76cfe742cf1f41bb9b1c29ad03068c05b4c0e40a"
- integrity sha1-ds/nQs8fQbubHCmtAwaMBbTA5Ao=
- dependencies:
- has-flag "^3.0.0"
-
supports-color@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"
+ resolved "https://registry.npmjs.com/supports-color/-/supports-color-0.2.0.tgz#d92de2694eb3f67323973d7ae3d8b55b4c22190a"
integrity sha1-2S3iaU6z9nMjlz1649i1W0wiGQo=
supports-color@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
+ resolved "https://registry.npmjs.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=
supports-color@^3.1.2:
version "3.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6"
+ resolved "https://registry.npmjs.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6"
integrity sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=
dependencies:
has-flag "^1.0.0"
supports-color@^5.3.0, supports-color@^5.4.0, supports-color@^5.5.0:
version "5.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
+ resolved "https://registry.npmjs.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
integrity sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=
dependencies:
has-flag "^3.0.0"
supports-color@^6.1.0:
version "6.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
+ resolved "https://registry.npmjs.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"
integrity sha1-B2Srxpxj1ayELdSGfo0CXogN+PM=
dependencies:
has-flag "^3.0.0"
svg-parser@^2.0.0:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/svg-parser/-/svg-parser-2.0.2.tgz#d134cc396fa2681dc64f518330784e98bd801ec8"
+ resolved "https://registry.npmjs.com/svg-parser/-/svg-parser-2.0.2.tgz#d134cc396fa2681dc64f518330784e98bd801ec8"
integrity sha1-0TTMOW+iaB3GT1GDMHhOmL2AHsg=
svg-stylus@^0.0.5:
version "0.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/svg-stylus/-/svg-stylus-0.0.5.tgz#95caea8c832ba08dddf3def90ab18e1483109be1"
+ resolved "https://registry.npmjs.com/svg-stylus/-/svg-stylus-0.0.5.tgz#95caea8c832ba08dddf3def90ab18e1483109be1"
integrity sha1-lcrqjIMroI3d8975CrGOFIMQm+E=
dependencies:
rework "~1.0.1"
@@ -14606,7 +14021,7 @@ svg-stylus@^0.0.5:
svgo@^1.1.1, svgo@^1.2.2:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/svgo/-/svgo-1.3.0.tgz#bae51ba95ded9a33a36b7c46ce9c359ae9154313"
+ resolved "https://registry.npmjs.com/svgo/-/svgo-1.3.0.tgz#bae51ba95ded9a33a36b7c46ce9c359ae9154313"
integrity sha1-uuUbqV3tmjOja3xGzpw1mukVQxM=
dependencies:
chalk "^2.4.1"
@@ -14625,7 +14040,7 @@ svgo@^1.1.1, svgo@^1.2.2:
swap-case@^1.1.0:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/swap-case/-/swap-case-1.1.2.tgz#c39203a4587385fad3c850a0bd1bcafa081974e3"
+ resolved "https://registry.npmjs.com/swap-case/-/swap-case-1.1.2.tgz#c39203a4587385fad3c850a0bd1bcafa081974e3"
integrity sha1-w5IDpFhzhfrTyFCgvRvK+ggZdOM=
dependencies:
lower-case "^1.1.1"
@@ -14633,24 +14048,24 @@ swap-case@^1.1.0:
symbol-observable@^1.0.4, symbol-observable@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
+ resolved "https://registry.npmjs.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804"
integrity sha1-wiaIrtTqs83C3+rLtWFmBWCgCAQ=
symbol-tree@^3.2.1, symbol-tree@^3.2.2:
version "3.2.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
+ resolved "https://registry.npmjs.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2"
integrity sha1-QwY30ki6d+B4iDlR+5qg7tfGP6I=
symbol.prototype.description@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/symbol.prototype.description/-/symbol.prototype.description-1.0.0.tgz#6e355660eb1e44ca8ad53a68fdb72ef131ca4b12"
+ resolved "https://registry.npmjs.com/symbol.prototype.description/-/symbol.prototype.description-1.0.0.tgz#6e355660eb1e44ca8ad53a68fdb72ef131ca4b12"
integrity sha1-bjVWYOseRMqK1Tpo/bcu8THKSxI=
dependencies:
has-symbols "^1.0.0"
table@^5.2.3:
version "5.4.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"
+ resolved "https://registry.npmjs.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e"
integrity sha1-EpLRlQDOP4YFOwXw6Ofko7shB54=
dependencies:
ajv "^6.10.2"
@@ -14660,12 +14075,12 @@ table@^5.2.3:
tapable@^1.0.0, tapable@^1.1.3:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
+ resolved "https://registry.npmjs.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2"
integrity sha1-ofzMBrWNth/XpF2i2kT186Pme6I=
tar@^4, tar@^4.4.10, tar@^4.4.8:
version "4.4.10"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tar/-/tar-4.4.10.tgz#946b2810b9a5e0b26140cf78bea6b0b0d689eba1"
+ resolved "https://registry.npmjs.com/tar/-/tar-4.4.10.tgz#946b2810b9a5e0b26140cf78bea6b0b0d689eba1"
integrity sha1-lGsoELml4LJhQM94vqawsNaJ66E=
dependencies:
chownr "^1.1.1"
@@ -14678,7 +14093,7 @@ tar@^4, tar@^4.4.10, tar@^4.4.8:
telejson@^2.2.1:
version "2.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/telejson/-/telejson-2.2.2.tgz#d61d721d21849a6e4070d547aab302a9bd22c720"
+ resolved "https://registry.npmjs.com/telejson/-/telejson-2.2.2.tgz#d61d721d21849a6e4070d547aab302a9bd22c720"
integrity sha1-1h1yHSGEmm5AcNVHqrMCqb0ixyA=
dependencies:
global "^4.3.2"
@@ -14691,12 +14106,12 @@ telejson@^2.2.1:
temp-dir@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d"
+ resolved "https://registry.npmjs.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d"
integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0=
temp-write@^3.4.0:
version "3.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/temp-write/-/temp-write-3.4.0.tgz#8cff630fb7e9da05f047c74ce4ce4d685457d492"
+ resolved "https://registry.npmjs.com/temp-write/-/temp-write-3.4.0.tgz#8cff630fb7e9da05f047c74ce4ce4d685457d492"
integrity sha1-jP9jD7fp2gXwR8dM5M5NaFRX1JI=
dependencies:
graceful-fs "^4.1.2"
@@ -14708,14 +14123,14 @@ temp-write@^3.4.0:
term-size@^1.2.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69"
+ resolved "https://registry.npmjs.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69"
integrity sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk=
dependencies:
execa "^0.7.0"
terser-webpack-plugin@^1.2.4, terser-webpack-plugin@^1.4.1:
version "1.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4"
+ resolved "https://registry.npmjs.com/terser-webpack-plugin/-/terser-webpack-plugin-1.4.1.tgz#61b18e40eaee5be97e771cdbb10ed1280888c2b4"
integrity sha1-YbGOQOruW+l+dxzbsQ7RKAiIwrQ=
dependencies:
cacache "^12.0.2"
@@ -14730,7 +14145,7 @@ terser-webpack-plugin@^1.2.4, terser-webpack-plugin@^1.4.1:
terser@^4.1.2:
version "4.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/terser/-/terser-4.2.1.tgz#1052cfe17576c66e7bc70fcc7119f22b155bdac1"
+ resolved "https://registry.npmjs.com/terser/-/terser-4.2.1.tgz#1052cfe17576c66e7bc70fcc7119f22b155bdac1"
integrity sha1-EFLP4XV2xm57xw/McRnyKxVb2sE=
dependencies:
commander "^2.20.0"
@@ -14739,7 +14154,7 @@ terser@^4.1.2:
test-exclude@^4.1.0:
version "4.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20"
+ resolved "https://registry.npmjs.com/test-exclude/-/test-exclude-4.2.3.tgz#a9a5e64474e4398339245a0a769ad7c2f4a97c20"
integrity sha1-qaXmRHTkOYM5JFoKdprXwvSpfCA=
dependencies:
arrify "^1.0.1"
@@ -14750,7 +14165,7 @@ test-exclude@^4.1.0:
test-exclude@^5.2.3:
version "5.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0"
+ resolved "https://registry.npmjs.com/test-exclude/-/test-exclude-5.2.3.tgz#c3d3e1e311eb7ee405e092dac10aefd09091eac0"
integrity sha1-w9Ph4xHrfuQF4JLawQrv0JCR6sA=
dependencies:
glob "^7.1.3"
@@ -14760,41 +14175,41 @@ test-exclude@^5.2.3:
text-extensions@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/text-extensions/-/text-extensions-2.0.0.tgz#43eabd1b495482fae4a2bf65e5f56c29f69220f6"
+ resolved "https://registry.npmjs.com/text-extensions/-/text-extensions-2.0.0.tgz#43eabd1b495482fae4a2bf65e5f56c29f69220f6"
integrity sha1-Q+q9G0lUgvrkor9l5fVsKfaSIPY=
text-table@0.2.0, text-table@^0.2.0:
version "0.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
+ resolved "https://registry.npmjs.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=
thenify-all@^1.0.0:
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726"
+ resolved "https://registry.npmjs.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726"
integrity sha1-GhkY1ALY/D+Y+/I02wvMjMEOlyY=
dependencies:
thenify ">= 3.1.0 < 4"
"thenify@>= 3.1.0 < 4":
version "3.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/thenify/-/thenify-3.3.0.tgz#e69e38a1babe969b0108207978b9f62b88604839"
+ resolved "https://registry.npmjs.com/thenify/-/thenify-3.3.0.tgz#e69e38a1babe969b0108207978b9f62b88604839"
integrity sha1-5p44obq+lpsBCCB5eLn2K4hgSDk=
dependencies:
any-promise "^1.0.0"
throat@^4.0.0, throat@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
+ resolved "https://registry.npmjs.com/throat/-/throat-4.1.0.tgz#89037cbc92c56ab18926e6ba4cbb200e15672a6a"
integrity sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=
throttle-debounce@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/throttle-debounce/-/throttle-debounce-2.1.0.tgz#257e648f0a56bd9e54fe0f132c4ab8611df4e1d5"
+ resolved "https://registry.npmjs.com/throttle-debounce/-/throttle-debounce-2.1.0.tgz#257e648f0a56bd9e54fe0f132c4ab8611df4e1d5"
integrity sha1-JX5kjwpWvZ5U/g8TLEq4YR304dU=
through2@0.x, through2@^0.6.1:
version "0.6.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48"
+ resolved "https://registry.npmjs.com/through2/-/through2-0.6.5.tgz#41ab9c67b29d57209071410e1d7a7a968cd3ad48"
integrity sha1-QaucZ7KdVyCQcUEOHXp6lozTrUg=
dependencies:
readable-stream ">=1.0.33-1 <1.1.0-0"
@@ -14802,7 +14217,7 @@ through2@0.x, through2@^0.6.1:
through2@^0.5.0:
version "0.5.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/through2/-/through2-0.5.1.tgz#dfdd012eb9c700e2323fd334f38ac622ab372da7"
+ resolved "https://registry.npmjs.com/through2/-/through2-0.5.1.tgz#dfdd012eb9c700e2323fd334f38ac622ab372da7"
integrity sha1-390BLrnHAOIyP9M084rGIqs3Lac=
dependencies:
readable-stream "~1.0.17"
@@ -14810,7 +14225,7 @@ through2@^0.5.0:
through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@~2.0.3:
version "2.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
+ resolved "https://registry.npmjs.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd"
integrity sha1-AcHjnrMdB8t9A6lqcIIyYLIxMs0=
dependencies:
readable-stream "~2.3.6"
@@ -14818,56 +14233,48 @@ through2@^2.0.0, through2@^2.0.1, through2@^2.0.2, through2@~2.0.3:
through2@^3.0.0:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a"
+ resolved "https://registry.npmjs.com/through2/-/through2-3.0.1.tgz#39276e713c3302edf9e388dd9c812dd3b825bd5a"
integrity sha1-OSducTwzAu3544jdnIEt07glvVo=
dependencies:
readable-stream "2 || 3"
through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8, through@~2.3, through@~2.3.4:
version "2.3.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
+ resolved "https://registry.npmjs.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
tildify@^1.0.0:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tildify/-/tildify-1.2.0.tgz#dcec03f55dca9b7aa3e5b04f21817eb56e63588a"
+ resolved "https://registry.npmjs.com/tildify/-/tildify-1.2.0.tgz#dcec03f55dca9b7aa3e5b04f21817eb56e63588a"
integrity sha1-3OwD9V3Km3qj5bBPIYF+tW5jWIo=
dependencies:
os-homedir "^1.0.0"
time-stamp@^1.0.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3"
+ resolved "https://registry.npmjs.com/time-stamp/-/time-stamp-1.1.0.tgz#764a5a11af50561921b133f3b44e618687e0f5c3"
integrity sha1-dkpaEa9QVhkhsTPztE5hhofg9cM=
timers-browserify@^2.0.4:
version "2.0.11"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/timers-browserify/-/timers-browserify-2.0.11.tgz#800b1f3eee272e5bc53ee465a04d0e804c31211f"
+ resolved "https://registry.npmjs.com/timers-browserify/-/timers-browserify-2.0.11.tgz#800b1f3eee272e5bc53ee465a04d0e804c31211f"
integrity sha1-gAsfPu4nLlvFPuRloE0OgEwxIR8=
dependencies:
setimmediate "^1.0.4"
-timers-ext@^0.1.5:
- version "0.1.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6"
- integrity sha1-b1ethXjgej+5+R2Th9ZWR1VeJcY=
- dependencies:
- es5-ext "~0.10.46"
- next-tick "1"
-
tiny-emitter@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
+ resolved "https://registry.npmjs.com/tiny-emitter/-/tiny-emitter-2.1.0.tgz#1d1a56edfc51c43e863cbb5382a72330e3555423"
integrity sha1-HRpW7fxRxD6GPLtTgqcjMONVVCM=
tinycolor2@^1.4.1:
version "1.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tinycolor2/-/tinycolor2-1.4.1.tgz#f4fad333447bc0b07d4dc8e9209d8f39a8ac77e8"
+ resolved "https://registry.npmjs.com/tinycolor2/-/tinycolor2-1.4.1.tgz#f4fad333447bc0b07d4dc8e9209d8f39a8ac77e8"
integrity sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g=
title-case@^2.1.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa"
+ resolved "https://registry.npmjs.com/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa"
integrity sha1-PhJyFtpY0rxb7PE3q5Ha46fNj6o=
dependencies:
no-case "^2.2.0"
@@ -14875,48 +14282,48 @@ title-case@^2.1.0:
tmp@^0.0.33:
version "0.0.33"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
+ resolved "https://registry.npmjs.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9"
integrity sha1-bTQzWIl2jSGyvNoKonfO07G/rfk=
dependencies:
os-tmpdir "~1.0.2"
tmp@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tmp/-/tmp-0.1.0.tgz#ee434a4e22543082e294ba6201dcc6eafefa2877"
+ resolved "https://registry.npmjs.com/tmp/-/tmp-0.1.0.tgz#ee434a4e22543082e294ba6201dcc6eafefa2877"
integrity sha1-7kNKTiJUMILilLpiAdzG6v76KHc=
dependencies:
rimraf "^2.6.3"
tmpl@1.0.x:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
+ resolved "https://registry.npmjs.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
to-arraybuffer@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
+ resolved "https://registry.npmjs.com/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz#7d229b1fcc637e466ca081180836a7aabff83f43"
integrity sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=
to-fast-properties@^1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
+ resolved "https://registry.npmjs.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=
to-fast-properties@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
+ resolved "https://registry.npmjs.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e"
integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=
to-object-path@^0.3.0:
version "0.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af"
+ resolved "https://registry.npmjs.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af"
integrity sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=
dependencies:
kind-of "^3.0.2"
to-regex-range@^2.1.0:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38"
+ resolved "https://registry.npmjs.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38"
integrity sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=
dependencies:
is-number "^3.0.0"
@@ -14924,7 +14331,7 @@ to-regex-range@^2.1.0:
to-regex@^3.0.1, to-regex@^3.0.2:
version "3.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce"
+ resolved "https://registry.npmjs.com/to-regex/-/to-regex-3.0.2.tgz#13cfdd9b336552f30b51f33a8ae1b42a7a7599ce"
integrity sha1-E8/dmzNlUvMLUfM6iuG0Knp1mc4=
dependencies:
define-property "^2.0.2"
@@ -14934,24 +14341,24 @@ to-regex@^3.0.1, to-regex@^3.0.2:
toggle-selection@^1.0.6:
version "1.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32"
+ resolved "https://registry.npmjs.com/toggle-selection/-/toggle-selection-1.0.6.tgz#6e45b1263f2017fa0acc7d89d78b15b8bf77da32"
integrity sha1-bkWxJj8gF/oKzH2J14sVuL932jI=
toidentifier@1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
+ resolved "https://registry.npmjs.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
integrity sha1-fhvjRw8ed5SLxD2Uo8j013UrpVM=
touch@^2.0.1:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/touch/-/touch-2.0.2.tgz#ca0b2a3ae3211246a61b16ba9e6cbf1596287164"
+ resolved "https://registry.npmjs.com/touch/-/touch-2.0.2.tgz#ca0b2a3ae3211246a61b16ba9e6cbf1596287164"
integrity sha1-ygsqOuMhEkamGxa6nmy/FZYocWQ=
dependencies:
nopt "~1.0.10"
tough-cookie@^2.3.2, tough-cookie@^2.3.3, tough-cookie@^2.3.4:
version "2.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
+ resolved "https://registry.npmjs.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2"
integrity sha1-zZ+yoKodWhK0c72fuW+j3P9lreI=
dependencies:
psl "^1.1.28"
@@ -14959,7 +14366,7 @@ tough-cookie@^2.3.2, tough-cookie@^2.3.3, tough-cookie@^2.3.4:
tough-cookie@~2.4.3:
version "2.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
+ resolved "https://registry.npmjs.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781"
integrity sha1-U/Nto/R3g7CSWvoG/587FlKA94E=
dependencies:
psl "^1.1.24"
@@ -14967,102 +14374,95 @@ tough-cookie@~2.4.3:
tr46@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09"
+ resolved "https://registry.npmjs.com/tr46/-/tr46-1.0.1.tgz#a8b13fd6bfd2489519674ccde55ba3693b706d09"
integrity sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=
dependencies:
punycode "^2.1.0"
tr46@~0.0.3:
version "0.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
+ resolved "https://registry.npmjs.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
tree-kill@^1.1.0:
version "1.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tree-kill/-/tree-kill-1.2.1.tgz#5398f374e2f292b9dcc7b2e71e30a5c3bb6c743a"
+ resolved "https://registry.npmjs.com/tree-kill/-/tree-kill-1.2.1.tgz#5398f374e2f292b9dcc7b2e71e30a5c3bb6c743a"
integrity sha1-U5jzdOLykrncx7LnHjClw7tsdDo=
trim-newlines@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
+ resolved "https://registry.npmjs.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
integrity sha1-WIeWa7WCpFA6QetST301ARgVphM=
trim-newlines@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20"
+ resolved "https://registry.npmjs.com/trim-newlines/-/trim-newlines-2.0.0.tgz#b403d0b91be50c331dfc4b82eeceb22c3de16d20"
integrity sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=
trim-off-newlines@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3"
+ resolved "https://registry.npmjs.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3"
integrity sha1-n5up2e+odkw4dpi8v+sshI8RrbM=
-trim-repeated@^1.0.0:
- version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/trim-repeated/-/trim-repeated-1.0.0.tgz#e3646a2ea4e891312bf7eace6cfb05380bc01c21"
- integrity sha1-42RqLqTokTEr9+rObPsFOAvAHCE=
- dependencies:
- escape-string-regexp "^1.0.2"
-
trim-right@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
+ resolved "https://registry.npmjs.com/trim-right/-/trim-right-1.0.1.tgz#cb2e1203067e0c8de1f614094b9fe45704ea6003"
integrity sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=
ts-pnp@^1.1.2:
version "1.1.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ts-pnp/-/ts-pnp-1.1.4.tgz#ae27126960ebaefb874c6d7fa4729729ab200d90"
+ resolved "https://registry.npmjs.com/ts-pnp/-/ts-pnp-1.1.4.tgz#ae27126960ebaefb874c6d7fa4729729ab200d90"
integrity sha1-ricSaWDrrvuHTG1/pHKXKasgDZA=
tslib@^1.8.1, tslib@^1.9.0:
version "1.10.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
+ resolved "https://registry.npmjs.com/tslib/-/tslib-1.10.0.tgz#c3c19f95973fb0a62973fb09d90d961ee43e5c8a"
integrity sha1-w8GflZc/sKYpc/sJ2Q2WHuQ+XIo=
tsutils@^3.7.0:
version "3.17.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
+ resolved "https://registry.npmjs.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
integrity sha1-7XGZF/EcoN7lhicrKsSeAVot11k=
dependencies:
tslib "^1.8.1"
tty-browserify@0.0.0:
version "0.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
+ resolved "https://registry.npmjs.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6"
integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=
tunnel-agent@^0.6.0:
version "0.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
+ resolved "https://registry.npmjs.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
integrity sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=
dependencies:
safe-buffer "^5.0.1"
tweetnacl@^0.14.3, tweetnacl@~0.14.0:
version "0.14.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
+ resolved "https://registry.npmjs.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
integrity sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=
type-check@~0.3.2:
version "0.3.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"
+ resolved "https://registry.npmjs.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72"
integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=
dependencies:
prelude-ls "~1.1.2"
type-detect@4.0.8:
version "4.0.8"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
+ resolved "https://registry.npmjs.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c"
integrity sha1-dkb7XxiHHPu3dJ5pvTmmOI63RQw=
type-fest@^0.3.0:
version "0.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1"
+ resolved "https://registry.npmjs.com/type-fest/-/type-fest-0.3.1.tgz#63d00d204e059474fe5e1b7c011112bbd1dc29e1"
integrity sha1-Y9ANIE4FlHT+Xht8ARESu9HcKeE=
type-is@~1.6.17, type-is@~1.6.18:
version "1.6.18"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
+ resolved "https://registry.npmjs.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131"
integrity sha1-TlUs0F3wlGfcvE73Od6J8s83wTE=
dependencies:
media-typer "0.3.0"
@@ -15070,32 +14470,32 @@ type-is@~1.6.17, type-is@~1.6.18:
type@^1.0.1:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/type/-/type-1.0.3.tgz#16f5d39f27a2d28d86e48f8981859e9d3296c179"
+ resolved "https://registry.npmjs.com/type/-/type-1.0.3.tgz#16f5d39f27a2d28d86e48f8981859e9d3296c179"
integrity sha1-FvXTnyei0o2G5I+JgYWenTKWwXk=
typed-styles@^0.0.7:
version "0.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/typed-styles/-/typed-styles-0.0.7.tgz#93392a008794c4595119ff62dde6809dbc40a3d9"
+ resolved "https://registry.npmjs.com/typed-styles/-/typed-styles-0.0.7.tgz#93392a008794c4595119ff62dde6809dbc40a3d9"
integrity sha1-kzkqAIeUxFlRGf9i3eaAnbxAo9k=
typedarray@^0.0.6:
version "0.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
+ resolved "https://registry.npmjs.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
"typescript@^3.4.5 <3.6":
version "3.5.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
+ resolved "https://registry.npmjs.com/typescript/-/typescript-3.5.3.tgz#c830f657f93f1ea846819e929092f5fe5983e977"
integrity sha1-yDD2V/k/HqhGgZ6SkJL1/lmD6Xc=
ua-parser-js@^0.7.18:
version "0.7.20"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ua-parser-js/-/ua-parser-js-0.7.20.tgz#7527178b82f6a62a0f243d1f94fd30e3e3c21098"
+ resolved "https://registry.npmjs.com/ua-parser-js/-/ua-parser-js-0.7.20.tgz#7527178b82f6a62a0f243d1f94fd30e3e3c21098"
integrity sha1-dScXi4L2pioPJD0flP0w4+PCEJg=
uglify-js@^3.1.4, uglify-js@^3.5.1:
version "3.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/uglify-js/-/uglify-js-3.6.0.tgz#704681345c53a8b2079fb6cec294b05ead242ff5"
+ resolved "https://registry.npmjs.com/uglify-js/-/uglify-js-3.6.0.tgz#704681345c53a8b2079fb6cec294b05ead242ff5"
integrity sha1-cEaBNFxTqLIHn7bOwpSwXq0kL/U=
dependencies:
commander "~2.20.0"
@@ -15103,37 +14503,37 @@ uglify-js@^3.1.4, uglify-js@^3.5.1:
uid-number@0.0.6:
version "0.0.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
+ resolved "https://registry.npmjs.com/uid-number/-/uid-number-0.0.6.tgz#0ea10e8035e8eb5b8e4449f06da1c730663baa81"
integrity sha1-DqEOgDXo61uOREnwbaHHMGY7qoE=
umask@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
+ resolved "https://registry.npmjs.com/umask/-/umask-1.1.0.tgz#f29cebf01df517912bb58ff9c4e50fde8e33320d"
integrity sha1-8pzr8B31F5ErtY/5xOUP3o4zMg0=
unc-path-regex@^0.1.2:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa"
+ resolved "https://registry.npmjs.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa"
integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo=
underscore@~1.8.3:
version "1.8.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022"
+ resolved "https://registry.npmjs.com/underscore/-/underscore-1.8.3.tgz#4f3fb53b106e6097fcf9cb4109f2a5e9bdfa5022"
integrity sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=
unfetch@^4.1.0:
version "4.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unfetch/-/unfetch-4.1.0.tgz#6ec2dd0de887e58a4dee83a050ded80ffc4137db"
+ resolved "https://registry.npmjs.com/unfetch/-/unfetch-4.1.0.tgz#6ec2dd0de887e58a4dee83a050ded80ffc4137db"
integrity sha1-bsLdDeiH5YpN7oOgUN7YD/xBN9s=
unicode-canonical-property-names-ecmascript@^1.0.4:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"
+ resolved "https://registry.npmjs.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz#2619800c4c825800efdd8343af7dd9933cbe2818"
integrity sha1-JhmADEyCWADv3YNDr33Zkzy+KBg=
unicode-match-property-ecmascript@^1.0.4:
version "1.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c"
+ resolved "https://registry.npmjs.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz#8ed2a32569961bce9227d09cd3ffbb8fed5f020c"
integrity sha1-jtKjJWmWG86SJ9Cc0/+7j+1fAgw=
dependencies:
unicode-canonical-property-names-ecmascript "^1.0.4"
@@ -15141,17 +14541,17 @@ unicode-match-property-ecmascript@^1.0.4:
unicode-match-property-value-ecmascript@^1.1.0:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277"
+ resolved "https://registry.npmjs.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.1.0.tgz#5b4b426e08d13a80365e0d657ac7a6c1ec46a277"
integrity sha1-W0tCbgjROoA2Xg1lesemwexGonc=
unicode-property-aliases-ecmascript@^1.0.4:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
+ resolved "https://registry.npmjs.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
integrity sha1-qcxsx85joKMCP8meNBuUQx1AWlc=
union-value@^1.0.0:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
+ resolved "https://registry.npmjs.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847"
integrity sha1-C2/nuDWuzaYcbqTU8CwUIh4QmEc=
dependencies:
arr-union "^3.1.0"
@@ -15161,53 +14561,60 @@ union-value@^1.0.0:
uniq@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff"
+ resolved "https://registry.npmjs.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff"
integrity sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=
unique-filename@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230"
+ resolved "https://registry.npmjs.com/unique-filename/-/unique-filename-1.1.1.tgz#1d69769369ada0583103a1e6ae87681b56573230"
integrity sha1-HWl2k2mtoFgxA6HmrodoG1ZXMjA=
dependencies:
unique-slug "^2.0.0"
unique-slug@^2.0.0:
version "2.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c"
+ resolved "https://registry.npmjs.com/unique-slug/-/unique-slug-2.0.2.tgz#baabce91083fc64e945b0f3ad613e264f7cd4e6c"
integrity sha1-uqvOkQg/xk6UWw861hPiZPfNTmw=
dependencies:
imurmurhash "^0.1.4"
unique-stream@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b"
+ resolved "https://registry.npmjs.com/unique-stream/-/unique-stream-1.0.0.tgz#d59a4a75427447d9aa6c91e70263f8d26a4b104b"
integrity sha1-1ZpKdUJ0R9mqbJHnAmP40mpLEEs=
+universal-user-agent@^2.0.3:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-2.1.0.tgz#5abfbcc036a1ba490cb941f8fd68c46d3669e8e4"
+ integrity sha512-8itiX7G05Tu3mGDTdNY2fB4KJ8MgZLS54RdG6PkkfwMAavrXu1mV/lls/GABx9O3Rw4PnTtasxrvbMQoBYY92Q==
+ dependencies:
+ os-name "^3.0.0"
+
universal-user-agent@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/universal-user-agent/-/universal-user-agent-4.0.0.tgz#27da2ec87e32769619f68a14996465ea1cb9df16"
+ resolved "https://registry.npmjs.com/universal-user-agent/-/universal-user-agent-4.0.0.tgz#27da2ec87e32769619f68a14996465ea1cb9df16"
integrity sha1-J9ouyH4ydpYZ9ooUmWRl6hy53xY=
dependencies:
os-name "^3.1.0"
universalify@^0.1.0:
version "0.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
+ resolved "https://registry.npmjs.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66"
integrity sha1-tkb2m+OULavOzJ1mOcgNwQXvqmY=
unpipe@1.0.0, unpipe@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
+ resolved "https://registry.npmjs.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=
unquote@^1.1.0, unquote@~1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544"
+ resolved "https://registry.npmjs.com/unquote/-/unquote-1.1.1.tgz#8fded7324ec6e88a0ff8b905e7c098cdc086d544"
integrity sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=
unset-value@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
+ resolved "https://registry.npmjs.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559"
integrity sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=
dependencies:
has-value "^0.3.1"
@@ -15215,36 +14622,36 @@ unset-value@^1.0.0:
upath@^1.1.1:
version "1.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
+ resolved "https://registry.npmjs.com/upath/-/upath-1.2.0.tgz#8f66dbcd55a883acdae4408af8b035a5044c1894"
integrity sha1-j2bbzVWog6za5ECK+LA1pQRMGJQ=
upper-case-first@^1.1.0, upper-case-first@^1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/upper-case-first/-/upper-case-first-1.1.2.tgz#5d79bedcff14419518fd2edb0a0507c9b6859115"
+ resolved "https://registry.npmjs.com/upper-case-first/-/upper-case-first-1.1.2.tgz#5d79bedcff14419518fd2edb0a0507c9b6859115"
integrity sha1-XXm+3P8UQZUY/S7bCgUHybaFkRU=
dependencies:
upper-case "^1.1.1"
upper-case@^1.0.3, upper-case@^1.1.0, upper-case@^1.1.1, upper-case@^1.1.3:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"
+ resolved "https://registry.npmjs.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"
integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=
uri-js@^4.2.2:
version "4.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"
+ resolved "https://registry.npmjs.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0"
integrity sha1-lMVA4f93KVbiKZUHwBCupsiDjrA=
dependencies:
punycode "^2.1.0"
urix@^0.1.0:
version "0.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
+ resolved "https://registry.npmjs.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72"
integrity sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=
url-loader@^1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/url-loader/-/url-loader-1.1.2.tgz#b971d191b83af693c5e3fea4064be9e1f2d7f8d8"
+ resolved "https://registry.npmjs.com/url-loader/-/url-loader-1.1.2.tgz#b971d191b83af693c5e3fea4064be9e1f2d7f8d8"
integrity sha1-uXHRkbg69pPF4/6kBkvp4fLX+Ng=
dependencies:
loader-utils "^1.1.0"
@@ -15253,7 +14660,7 @@ url-loader@^1.1.2:
url-parse@^1.4.3:
version "1.4.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278"
+ resolved "https://registry.npmjs.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278"
integrity sha1-qKg1NejACjFuQDpdtKwbm4U64ng=
dependencies:
querystringify "^2.1.1"
@@ -15261,7 +14668,7 @@ url-parse@^1.4.3:
url@^0.11.0:
version "0.11.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1"
+ resolved "https://registry.npmjs.com/url/-/url-0.11.0.tgz#3838e97cfc60521eb73c525a8e55bfdd9e2e28f1"
integrity sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=
dependencies:
punycode "1.3.2"
@@ -15269,29 +14676,29 @@ url@^0.11.0:
use@^3.1.0:
version "3.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"
+ resolved "https://registry.npmjs.com/use/-/use-3.1.1.tgz#d50c8cac79a19fbc20f2911f56eb973f4e10070f"
integrity sha1-1QyMrHmhn7wg8pEfVuuXP04QBw8=
user-home@^1.1.1:
version "1.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190"
+ resolved "https://registry.npmjs.com/user-home/-/user-home-1.1.1.tgz#2b5be23a32b63a7c9deb8d0f28d485724a3df190"
integrity sha1-K1viOjK2Onyd640PKNSFcko98ZA=
util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
+ resolved "https://registry.npmjs.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
util-promisify@^2.1.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53"
+ resolved "https://registry.npmjs.com/util-promisify/-/util-promisify-2.1.0.tgz#3c2236476c4d32c5ff3c47002add7c13b9a82a53"
integrity sha1-PCI2R2xNMsX/PEcAKt18E7moKlM=
dependencies:
object.getownpropertydescriptors "^2.0.3"
util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
+ resolved "https://registry.npmjs.com/util.promisify/-/util.promisify-1.0.0.tgz#440f7165a459c9a16dc145eb8e72f35687097030"
integrity sha1-RA9xZaRZyaFtwUXrjnLzVocJcDA=
dependencies:
define-properties "^1.1.2"
@@ -15299,50 +14706,50 @@ util.promisify@1.0.0, util.promisify@^1.0.0, util.promisify@~1.0.0:
util@0.10.3:
version "0.10.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9"
+ resolved "https://registry.npmjs.com/util/-/util-0.10.3.tgz#7afb1afe50805246489e3db7fe0ed379336ac0f9"
integrity sha1-evsa/lCAUkZInj23/g7TeTNqwPk=
dependencies:
inherits "2.0.1"
util@^0.11.0:
version "0.11.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61"
+ resolved "https://registry.npmjs.com/util/-/util-0.11.1.tgz#3236733720ec64bb27f6e26f421aaa2e1b588d61"
integrity sha1-MjZzNyDsZLsn9uJvQhqqLhtYjWE=
dependencies:
inherits "2.0.3"
utila@^0.4.0, utila@~0.4:
version "0.4.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
+ resolved "https://registry.npmjs.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c"
integrity sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=
utils-merge@1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
+ resolved "https://registry.npmjs.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713"
integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=
uuid@^3.0.1, uuid@^3.3.2:
version "3.3.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
+ resolved "https://registry.npmjs.com/uuid/-/uuid-3.3.3.tgz#4568f0216e78760ee1dbf3a4d2cf53e224112866"
integrity sha1-RWjwIW54dg7h2/Ok0s9T4iQRKGY=
v8flags@^2.0.10, v8flags@^2.0.2:
version "2.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4"
+ resolved "https://registry.npmjs.com/v8flags/-/v8flags-2.1.1.tgz#aab1a1fa30d45f88dd321148875ac02c0b55e5b4"
integrity sha1-qrGh+jDUX4jdMhFIh1rALAtV5bQ=
dependencies:
user-home "^1.1.1"
v8flags@^3.1.1:
version "3.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/v8flags/-/v8flags-3.1.3.tgz#fc9dc23521ca20c5433f81cc4eb9b3033bb105d8"
+ resolved "https://registry.npmjs.com/v8flags/-/v8flags-3.1.3.tgz#fc9dc23521ca20c5433f81cc4eb9b3033bb105d8"
integrity sha1-/J3CNSHKIMVDP4HMTrmzAzuxBdg=
dependencies:
homedir-polyfill "^1.0.1"
validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3:
version "3.0.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
+ resolved "https://registry.npmjs.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a"
integrity sha1-/JH2uce6FchX9MssXe/uw51PQQo=
dependencies:
spdx-correct "^3.0.0"
@@ -15350,19 +14757,19 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.3:
validate-npm-package-name@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e"
+ resolved "https://registry.npmjs.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e"
integrity sha1-X6kS2B630MdK/BQN5zF/DKffQ34=
dependencies:
builtins "^1.0.3"
vary@~1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
+ resolved "https://registry.npmjs.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc"
integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=
verror@1.10.0:
version "1.10.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
+ resolved "https://registry.npmjs.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400"
integrity sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=
dependencies:
assert-plus "^1.0.0"
@@ -15371,7 +14778,7 @@ verror@1.10.0:
vinyl-fs@^0.3.0:
version "0.3.14"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/vinyl-fs/-/vinyl-fs-0.3.14.tgz#9a6851ce1cac1c1cea5fe86c0931d620c2cfa9e6"
+ resolved "https://registry.npmjs.com/vinyl-fs/-/vinyl-fs-0.3.14.tgz#9a6851ce1cac1c1cea5fe86c0931d620c2cfa9e6"
integrity sha1-mmhRzhysHBzqX+hsCTHWIMLPqeY=
dependencies:
defaults "^1.0.0"
@@ -15385,14 +14792,14 @@ vinyl-fs@^0.3.0:
vinyl@^0.2.1:
version "0.2.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/vinyl/-/vinyl-0.2.3.tgz#bca938209582ec5a49ad538a00fa1f125e513252"
+ resolved "https://registry.npmjs.com/vinyl/-/vinyl-0.2.3.tgz#bca938209582ec5a49ad538a00fa1f125e513252"
integrity sha1-vKk4IJWC7FpJrVOKAPofEl5RMlI=
dependencies:
clone-stats "~0.0.1"
vinyl@^0.4.0:
version "0.4.6"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847"
+ resolved "https://registry.npmjs.com/vinyl/-/vinyl-0.4.6.tgz#2f356c87a550a255461f36bbeb2a5ba8bf784847"
integrity sha1-LzVsh6VQolVGHza76ypbqL94SEc=
dependencies:
clone "^0.2.0"
@@ -15400,7 +14807,7 @@ vinyl@^0.4.0:
vinyl@^0.5.0:
version "0.5.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/vinyl/-/vinyl-0.5.3.tgz#b0455b38fc5e0cf30d4325132e461970c2091cde"
+ resolved "https://registry.npmjs.com/vinyl/-/vinyl-0.5.3.tgz#b0455b38fc5e0cf30d4325132e461970c2091cde"
integrity sha1-sEVbOPxeDPMNQyUTLkYZcMIJHN4=
dependencies:
clone "^1.0.0"
@@ -15409,45 +14816,45 @@ vinyl@^0.5.0:
vm-browserify@^1.0.1:
version "1.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/vm-browserify/-/vm-browserify-1.1.0.tgz#bd76d6a23323e2ca8ffa12028dc04559c75f9019"
+ resolved "https://registry.npmjs.com/vm-browserify/-/vm-browserify-1.1.0.tgz#bd76d6a23323e2ca8ffa12028dc04559c75f9019"
integrity sha1-vXbWojMj4sqP+hICjcBFWcdfkBk=
w3c-hr-time@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045"
+ resolved "https://registry.npmjs.com/w3c-hr-time/-/w3c-hr-time-1.0.1.tgz#82ac2bff63d950ea9e3189a58a65625fedf19045"
integrity sha1-gqwr/2PZUOqeMYmlimViX+3xkEU=
dependencies:
browser-process-hrtime "^0.1.2"
wait-for-expect@^1.2.0:
version "1.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wait-for-expect/-/wait-for-expect-1.3.0.tgz#65241ce355425f907f5d127bdb5e72c412ff830c"
+ resolved "https://registry.npmjs.com/wait-for-expect/-/wait-for-expect-1.3.0.tgz#65241ce355425f907f5d127bdb5e72c412ff830c"
integrity sha1-ZSQc41VCX5B/XRJ7215yxBL/gww=
walker@^1.0.7, walker@~1.0.5:
version "1.0.7"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb"
+ resolved "https://registry.npmjs.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb"
integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=
dependencies:
makeerror "1.0.x"
warning@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/warning/-/warning-3.0.0.tgz#32e5377cb572de4ab04753bdf8821c01ed605b7c"
+ resolved "https://registry.npmjs.com/warning/-/warning-3.0.0.tgz#32e5377cb572de4ab04753bdf8821c01ed605b7c"
integrity sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=
dependencies:
loose-envify "^1.0.0"
warning@^4.0.2, warning@^4.0.3:
version "4.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
+ resolved "https://registry.npmjs.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
integrity sha1-Fungd+uKhtavfWSqHgX9hbRnjKM=
dependencies:
loose-envify "^1.0.0"
watchpack@^1.6.0:
version "1.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
+ resolved "https://registry.npmjs.com/watchpack/-/watchpack-1.6.0.tgz#4bc12c2ebe8aa277a71f1d3f14d685c7b446cd00"
integrity sha1-S8EsLr6KonenHx0/FNaFx7RGzQA=
dependencies:
chokidar "^2.0.2"
@@ -15456,24 +14863,24 @@ watchpack@^1.6.0:
wcwidth@^1.0.0, wcwidth@^1.0.1:
version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
+ resolved "https://registry.npmjs.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=
dependencies:
defaults "^1.0.3"
webidl-conversions@^3.0.0:
version "3.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
+ resolved "https://registry.npmjs.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
webidl-conversions@^4.0.0, webidl-conversions@^4.0.2:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
+ resolved "https://registry.npmjs.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"
integrity sha1-qFWYCx8LazWbodXZ+zmulB+qY60=
webpack-dev-middleware@^3.6.1, webpack-dev-middleware@^3.7.0:
version "3.7.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webpack-dev-middleware/-/webpack-dev-middleware-3.7.1.tgz#1167aea02afa034489869b8368fe9fed1aea7d09"
+ resolved "https://registry.npmjs.com/webpack-dev-middleware/-/webpack-dev-middleware-3.7.1.tgz#1167aea02afa034489869b8368fe9fed1aea7d09"
integrity sha1-EWeuoCr6A0SJhpuDaP6f7RrqfQk=
dependencies:
memory-fs "^0.4.1"
@@ -15484,7 +14891,7 @@ webpack-dev-middleware@^3.6.1, webpack-dev-middleware@^3.7.0:
webpack-hot-middleware@^2.24.3, webpack-hot-middleware@^2.25.0:
version "2.25.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webpack-hot-middleware/-/webpack-hot-middleware-2.25.0.tgz#4528a0a63ec37f8f8ef565cf9e534d57d09fe706"
+ resolved "https://registry.npmjs.com/webpack-hot-middleware/-/webpack-hot-middleware-2.25.0.tgz#4528a0a63ec37f8f8ef565cf9e534d57d09fe706"
integrity sha1-RSigpj7Df4+O9WXPnlNNV9Cf5wY=
dependencies:
ansi-html "0.0.7"
@@ -15494,7 +14901,7 @@ webpack-hot-middleware@^2.24.3, webpack-hot-middleware@^2.25.0:
webpack-log@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f"
+ resolved "https://registry.npmjs.com/webpack-log/-/webpack-log-2.0.0.tgz#5b7928e0637593f119d32f6227c1e0ac31e1b47f"
integrity sha1-W3ko4GN1k/EZ0y9iJ8HgrDHhtH8=
dependencies:
ansi-colors "^3.0.0"
@@ -15502,7 +14909,7 @@ webpack-log@^2.0.0:
webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1:
version "1.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
+ resolved "https://registry.npmjs.com/webpack-sources/-/webpack-sources-1.4.3.tgz#eedd8ec0b928fbf1cbfe994e22d2d890f330a933"
integrity sha1-7t2OwLko+/HL/plOItLYkPMwqTM=
dependencies:
source-list-map "^2.0.0"
@@ -15510,7 +14917,7 @@ webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1:
webpack@^4.29.6, webpack@^4.33.0, webpack@^4.38.0:
version "4.39.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/webpack/-/webpack-4.39.3.tgz#a02179d1032156b713b6ec2da7e0df9d037def50"
+ resolved "https://registry.npmjs.com/webpack/-/webpack-4.39.3.tgz#a02179d1032156b713b6ec2da7e0df9d037def50"
integrity sha1-oCF50QMhVrcTtuwtp+DfnQN971A=
dependencies:
"@webassemblyjs/ast" "1.8.5"
@@ -15539,7 +14946,7 @@ webpack@^4.29.6, webpack@^4.33.0, webpack@^4.38.0:
websocket-driver@>=0.5.1:
version "0.7.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9"
+ resolved "https://registry.npmjs.com/websocket-driver/-/websocket-driver-0.7.3.tgz#a2d4e0d4f4f116f1e6297eba58b05d430100e9f9"
integrity sha1-otTg1PTxFvHmKX66WLBdQwEA6fk=
dependencies:
http-parser-js ">=0.4.0 <0.4.11"
@@ -15548,29 +14955,29 @@ websocket-driver@>=0.5.1:
websocket-extensions@>=0.1.1:
version "0.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29"
+ resolved "https://registry.npmjs.com/websocket-extensions/-/websocket-extensions-0.1.3.tgz#5d2ff22977003ec687a4b87073dfbbac146ccf29"
integrity sha1-XS/yKXcAPsaHpLhwc9+7rBRszyk=
whatwg-encoding@^1.0.1, whatwg-encoding@^1.0.3:
version "1.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"
+ resolved "https://registry.npmjs.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0"
integrity sha1-WrrPd3wyFmpR0IXWtPPn0nET3bA=
dependencies:
iconv-lite "0.4.24"
whatwg-fetch@>=0.10.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb"
+ resolved "https://registry.npmjs.com/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz#fc804e458cc460009b1a2b966bc8817d2578aefb"
integrity sha1-/IBORYzEYACbGiuWa8iBfSV4rvs=
whatwg-mimetype@^2.1.0, whatwg-mimetype@^2.2.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
+ resolved "https://registry.npmjs.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf"
integrity sha1-PUseAxLSB5h5+Cav8Y2+7KWWD78=
whatwg-url@^4.3.0:
version "4.8.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0"
+ resolved "https://registry.npmjs.com/whatwg-url/-/whatwg-url-4.8.0.tgz#d2981aa9148c1e00a41c5a6131166ab4683bbcc0"
integrity sha1-0pgaqRSMHgCkHFphMRZqtGg7vMA=
dependencies:
tr46 "~0.0.3"
@@ -15578,7 +14985,7 @@ whatwg-url@^4.3.0:
whatwg-url@^6.4.1:
version "6.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/whatwg-url/-/whatwg-url-6.5.0.tgz#f2df02bff176fd65070df74ad5ccbb5a199965a8"
+ resolved "https://registry.npmjs.com/whatwg-url/-/whatwg-url-6.5.0.tgz#f2df02bff176fd65070df74ad5ccbb5a199965a8"
integrity sha1-8t8Cv/F2/WUHDfdK1cy7WhmZZag=
dependencies:
lodash.sortby "^4.7.0"
@@ -15587,7 +14994,7 @@ whatwg-url@^6.4.1:
whatwg-url@^7.0.0:
version "7.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd"
+ resolved "https://registry.npmjs.com/whatwg-url/-/whatwg-url-7.0.0.tgz#fde926fa54a599f3adf82dff25a9f7be02dc6edd"
integrity sha1-/ekm+lSlmfOt+C3/Jan3vgLcbt0=
dependencies:
lodash.sortby "^4.7.0"
@@ -15596,74 +15003,74 @@ whatwg-url@^7.0.0:
when@~3.6.x:
version "3.6.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e"
+ resolved "https://registry.npmjs.com/when/-/when-3.6.4.tgz#473b517ec159e2b85005497a13983f095412e34e"
integrity sha1-RztRfsFZ4rhQBUl6E5g/CVQS404=
which-module@^1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"
+ resolved "https://registry.npmjs.com/which-module/-/which-module-1.0.0.tgz#bba63ca861948994ff307736089e3b96026c2a4f"
integrity sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=
which-module@^2.0.0:
version "2.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
+ resolved "https://registry.npmjs.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
-which@1, which@1.3.1, which@^1.2.10, which@^1.2.14, which@^1.2.4, which@^1.2.9, which@^1.3.0, which@^1.3.1:
+which@1, which@^1.2.14, which@^1.2.4, which@^1.2.9, which@^1.3.0, which@^1.3.1:
version "1.3.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
+ resolved "https://registry.npmjs.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a"
integrity sha1-pFBD1U9YBTFtqNYvn1CRjT2nCwo=
dependencies:
isexe "^2.0.0"
-wide-align@1.1.3, wide-align@^1.1.0:
+wide-align@^1.1.0:
version "1.1.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
+ resolved "https://registry.npmjs.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
integrity sha1-rgdOa9wMFKQx6ATmJFScYzsABFc=
dependencies:
string-width "^1.0.2 || 2"
widest-line@^2.0.0:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc"
+ resolved "https://registry.npmjs.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc"
integrity sha1-dDh2RzDsfvQ4HOTfgvuYpTFCo/w=
dependencies:
string-width "^2.1.1"
windows-release@^3.1.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/windows-release/-/windows-release-3.2.0.tgz#8122dad5afc303d833422380680a79cdfa91785f"
+ resolved "https://registry.npmjs.com/windows-release/-/windows-release-3.2.0.tgz#8122dad5afc303d833422380680a79cdfa91785f"
integrity sha1-gSLa1a/DA9gzQiOAaAp5zfqReF8=
dependencies:
execa "^1.0.0"
wordwrap@~0.0.2:
version "0.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
+ resolved "https://registry.npmjs.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107"
integrity sha1-o9XabNXAvAAI03I0u68b7WMFkQc=
wordwrap@~1.0.0:
version "1.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
+ resolved "https://registry.npmjs.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
integrity sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=
worker-farm@^1.7.0:
version "1.7.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8"
+ resolved "https://registry.npmjs.com/worker-farm/-/worker-farm-1.7.0.tgz#26a94c5391bbca926152002f69b84a4bf772e5a8"
integrity sha1-JqlMU5G7ypJhUgAvabhKS/dy5ag=
dependencies:
errno "~0.1.7"
worker-rpc@^0.1.0:
version "0.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/worker-rpc/-/worker-rpc-0.1.1.tgz#cb565bd6d7071a8f16660686051e969ad32f54d5"
+ resolved "https://registry.npmjs.com/worker-rpc/-/worker-rpc-0.1.1.tgz#cb565bd6d7071a8f16660686051e969ad32f54d5"
integrity sha1-y1Zb1tcHGo8WZgaGBR6WmtMvVNU=
dependencies:
microevent.ts "~0.1.1"
wrap-ansi@^2.0.0:
version "2.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85"
+ resolved "https://registry.npmjs.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85"
integrity sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=
dependencies:
string-width "^1.0.1"
@@ -15671,7 +15078,7 @@ wrap-ansi@^2.0.0:
wrap-ansi@^5.1.0:
version "5.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
+ resolved "https://registry.npmjs.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09"
integrity sha1-H9H2cjXVttD+54EFYAG/tpTAOwk=
dependencies:
ansi-styles "^3.2.0"
@@ -15680,12 +15087,12 @@ wrap-ansi@^5.1.0:
wrappy@1:
version "1.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
+ resolved "https://registry.npmjs.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
write-file-atomic@2.4.1:
version "2.4.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write-file-atomic/-/write-file-atomic-2.4.1.tgz#d0b05463c188ae804396fd5ab2a370062af87529"
+ resolved "https://registry.npmjs.com/write-file-atomic/-/write-file-atomic-2.4.1.tgz#d0b05463c188ae804396fd5ab2a370062af87529"
integrity sha1-0LBUY8GIroBDlv1asqNwBir4dSk=
dependencies:
graceful-fs "^4.1.11"
@@ -15694,7 +15101,7 @@ write-file-atomic@2.4.1:
write-file-atomic@^1.1.4:
version "1.3.4"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f"
+ resolved "https://registry.npmjs.com/write-file-atomic/-/write-file-atomic-1.3.4.tgz#f807a4f0b1d9e913ae7a48112e6cc3af1991b45f"
integrity sha1-+Aek8LHZ6ROuekgRLmzDrxmRtF8=
dependencies:
graceful-fs "^4.1.11"
@@ -15703,7 +15110,7 @@ write-file-atomic@^1.1.4:
write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2:
version "2.4.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481"
+ resolved "https://registry.npmjs.com/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481"
integrity sha1-H9Lprh3z51uNjDZ0Q8aS1MqB9IE=
dependencies:
graceful-fs "^4.1.11"
@@ -15712,7 +15119,7 @@ write-file-atomic@^2.0.0, write-file-atomic@^2.3.0, write-file-atomic@^2.4.2:
write-json-file@^2.2.0:
version "2.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f"
+ resolved "https://registry.npmjs.com/write-json-file/-/write-json-file-2.3.0.tgz#2b64c8a33004d54b8698c76d585a77ceb61da32f"
integrity sha1-K2TIozAE1UuGmMdtWFp3zrYdoy8=
dependencies:
detect-indent "^5.0.0"
@@ -15724,7 +15131,7 @@ write-json-file@^2.2.0:
write-json-file@^3.2.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write-json-file/-/write-json-file-3.2.0.tgz#65bbdc9ecd8a1458e15952770ccbadfcff5fe62a"
+ resolved "https://registry.npmjs.com/write-json-file/-/write-json-file-3.2.0.tgz#65bbdc9ecd8a1458e15952770ccbadfcff5fe62a"
integrity sha1-Zbvcns2KFFjhWVJ3DMut/P9f5io=
dependencies:
detect-indent "^5.0.0"
@@ -15736,7 +15143,7 @@ write-json-file@^3.2.0:
write-pkg@^3.1.0:
version "3.2.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write-pkg/-/write-pkg-3.2.0.tgz#0e178fe97820d389a8928bc79535dbe68c2cff21"
+ resolved "https://registry.npmjs.com/write-pkg/-/write-pkg-3.2.0.tgz#0e178fe97820d389a8928bc79535dbe68c2cff21"
integrity sha1-DheP6Xgg04mokovHlTXb5ows/yE=
dependencies:
sort-keys "^2.0.0"
@@ -15744,21 +15151,21 @@ write-pkg@^3.1.0:
write@1.0.3:
version "1.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3"
+ resolved "https://registry.npmjs.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3"
integrity sha1-CADhRSO5I6OH5BUSPIZWFqrg9cM=
dependencies:
mkdirp "^0.5.1"
ws@^5.2.0:
version "5.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/ws/-/ws-5.2.2.tgz#dffef14866b8e8dc9133582514d1befaf96e980f"
+ resolved "https://registry.npmjs.com/ws/-/ws-5.2.2.tgz#dffef14866b8e8dc9133582514d1befaf96e980f"
integrity sha1-3/7xSGa46NyRM1glFNG++vlumA8=
dependencies:
async-limiter "~1.0.0"
wsrun@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/wsrun/-/wsrun-5.0.0.tgz#9b086bfdf04de98be84c73057fd8f42dc36d5c59"
+ resolved "https://registry.npmjs.com/wsrun/-/wsrun-5.0.0.tgz#9b086bfdf04de98be84c73057fd8f42dc36d5c59"
integrity sha1-mwhr/fBN6YvoTHMFf9j0LcNtXFk=
dependencies:
bluebird "^3.5.1"
@@ -15772,36 +15179,31 @@ wsrun@^5.0.0:
xml-name-validator@^2.0.1:
version "2.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635"
+ resolved "https://registry.npmjs.com/xml-name-validator/-/xml-name-validator-2.0.1.tgz#4d8b8f1eccd3419aa362061becef515e1e559635"
integrity sha1-TYuPHszTQZqjYgYb7O9RXh5VljU=
xml-name-validator@^3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
+ resolved "https://registry.npmjs.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
integrity sha1-auc+Bt5NjG5H+fsYH3jWSK1FfGo=
xml2js@^0.4.4:
version "0.4.22"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xml2js/-/xml2js-0.4.22.tgz#4fa2d846ec803237de86f30aa9b5f70b6600de02"
+ resolved "https://registry.npmjs.com/xml2js/-/xml2js-0.4.22.tgz#4fa2d846ec803237de86f30aa9b5f70b6600de02"
integrity sha1-T6LYRuyAMjfehvMKqbX3C2YA3gI=
dependencies:
sax ">=0.6.0"
util.promisify "~1.0.0"
xmlbuilder "~11.0.0"
-xml@^1.0.0:
- version "1.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xml/-/xml-1.0.1.tgz#78ba72020029c5bc87b8a81a3cfcd74b4a2fc1e5"
- integrity sha1-eLpyAgApxbyHuKgaPPzXS0ovweU=
-
xmlbuilder@~11.0.0:
version "11.0.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3"
+ resolved "https://registry.npmjs.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3"
integrity sha1-vpuuHIoEbnazESdyY0fQrXACvrM=
xmldoc@^1.1.2:
version "1.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xmldoc/-/xmldoc-1.1.2.tgz#6666e029fe25470d599cd30e23ff0d1ed50466d7"
+ resolved "https://registry.npmjs.com/xmldoc/-/xmldoc-1.1.2.tgz#6666e029fe25470d599cd30e23ff0d1ed50466d7"
integrity sha1-ZmbgKf4lRw1ZnNMOI/8NHtUEZtc=
dependencies:
sax "^1.2.1"
@@ -15814,53 +15216,45 @@ xmldoc@^1.1.2:
"xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@^4.0.1, xtend@~4.0.1:
version "4.0.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
+ resolved "https://registry.npmjs.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54"
integrity sha1-u3J3n1+kZRhrH0OPZ0+jR/2121Q=
xtend@~3.0.0:
version "3.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/xtend/-/xtend-3.0.0.tgz#5cce7407baf642cba7becda568111c493f59665a"
+ resolved "https://registry.npmjs.com/xtend/-/xtend-3.0.0.tgz#5cce7407baf642cba7becda568111c493f59665a"
integrity sha1-XM50B7r2Qsunvs2laBEcST9ZZlo=
y18n@^3.2.1:
version "3.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
+ resolved "https://registry.npmjs.com/y18n/-/y18n-3.2.1.tgz#6d15fba884c08679c0d77e88e7759e811e07fa41"
integrity sha1-bRX7qITAhnnA136I53WegR4H+kE=
"y18n@^3.2.1 || ^4.0.0", y18n@^4.0.0:
version "4.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
+ resolved "https://registry.npmjs.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b"
integrity sha1-le+U+F7MgdAHwmThkKEg8KPIVms=
yallist@^2.1.2:
version "2.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
+ resolved "https://registry.npmjs.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=
yallist@^3.0.0, yallist@^3.0.2, yallist@^3.0.3:
version "3.0.3"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9"
+ resolved "https://registry.npmjs.com/yallist/-/yallist-3.0.3.tgz#b4b049e314be545e3ce802236d6cd22cd91c3de9"
integrity sha1-tLBJ4xS+VF486AIjbWzSLNkcPek=
-yargs-parser@13.0.0:
- version "13.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-parser/-/yargs-parser-13.0.0.tgz#3fc44f3e76a8bdb1cc3602e860108602e5ccde8b"
- integrity sha1-P8RPPnaovbHMNgLoYBCGAuXM3os=
- dependencies:
- camelcase "^5.0.0"
- decamelize "^1.2.0"
-
yargs-parser@^11.1.1:
version "11.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"
+ resolved "https://registry.npmjs.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"
integrity sha1-h5oIZZc7yp9rq1y987HGfsfTvPQ=
dependencies:
camelcase "^5.0.0"
decamelize "^1.2.0"
-yargs-parser@^13.0.0, yargs-parser@^13.1.1:
+yargs-parser@^13.1.1:
version "13.1.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0"
+ resolved "https://registry.npmjs.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0"
integrity sha1-0mBYUyqgbTZf4JH2ofwGsvfl7KA=
dependencies:
camelcase "^5.0.0"
@@ -15868,54 +15262,28 @@ yargs-parser@^13.0.0, yargs-parser@^13.1.1:
yargs-parser@^4.2.0:
version "4.2.1"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c"
+ resolved "https://registry.npmjs.com/yargs-parser/-/yargs-parser-4.2.1.tgz#29cceac0dc4f03c6c87b4a9f217dd18c9f74871c"
integrity sha1-KczqwNxPA8bIe0qfIX3RjJ90hxw=
dependencies:
camelcase "^3.0.0"
yargs-parser@^5.0.0:
version "5.0.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a"
+ resolved "https://registry.npmjs.com/yargs-parser/-/yargs-parser-5.0.0.tgz#275ecf0d7ffe05c77e64e7c86e4cd94bf0e1228a"
integrity sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=
dependencies:
camelcase "^3.0.0"
yargs-parser@^8.1.0:
version "8.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950"
+ resolved "https://registry.npmjs.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950"
integrity sha1-8TdqM7Ziml0GN4KUTacyYx6WaVA=
dependencies:
camelcase "^4.1.0"
-yargs-unparser@1.5.0:
- version "1.5.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs-unparser/-/yargs-unparser-1.5.0.tgz#f2bb2a7e83cbc87bb95c8e572828a06c9add6e0d"
- integrity sha1-8rsqfoPLyHu5XI5XKCigbJrdbg0=
- dependencies:
- flat "^4.1.0"
- lodash "^4.17.11"
- yargs "^12.0.5"
-
-yargs@13.2.2:
- version "13.2.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs/-/yargs-13.2.2.tgz#0c101f580ae95cea7f39d927e7770e3fdc97f993"
- integrity sha1-DBAfWArpXOp/Odkn53cOP9yX+ZM=
- dependencies:
- cliui "^4.0.0"
- find-up "^3.0.0"
- get-caller-file "^2.0.1"
- os-locale "^3.1.0"
- require-directory "^2.1.1"
- require-main-filename "^2.0.0"
- set-blocking "^2.0.0"
- string-width "^3.0.0"
- which-module "^2.0.0"
- y18n "^4.0.0"
- yargs-parser "^13.0.0"
-
yargs@6.6.0:
version "6.6.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208"
+ resolved "https://registry.npmjs.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208"
integrity sha1-eC7CHvQDNF+DCoCMo9UTr1YGUgg=
dependencies:
camelcase "^3.0.0"
@@ -15934,7 +15302,7 @@ yargs@6.6.0:
yargs@^10.0.3:
version "10.1.2"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5"
+ resolved "https://registry.npmjs.com/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5"
integrity sha1-RU0HTCsWpRpD4vt4B+T53mnMtcU=
dependencies:
cliui "^4.0.0"
@@ -15950,9 +15318,9 @@ yargs@^10.0.3:
y18n "^3.2.1"
yargs-parser "^8.1.0"
-yargs@^12.0.1, yargs@^12.0.5:
+yargs@^12.0.1:
version "12.0.5"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
+ resolved "https://registry.npmjs.com/yargs/-/yargs-12.0.5.tgz#05f5997b609647b64f66b81e3b4b10a368e7ad13"
integrity sha1-BfWZe2CWR7ZPZrgeO0sQo2jnrRM=
dependencies:
cliui "^4.0.0"
@@ -15970,7 +15338,7 @@ yargs@^12.0.1, yargs@^12.0.5:
yargs@^13.3.0:
version "13.3.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83"
+ resolved "https://registry.npmjs.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83"
integrity sha1-TGV6VeB+Xyz5R/ijZlZ8BKDe3IM=
dependencies:
cliui "^5.0.0"
@@ -15986,7 +15354,7 @@ yargs@^13.3.0:
yargs@^7.1.0:
version "7.1.0"
- resolved "https://artifactory.corp.adobe.com:443/artifactory/api/npm/npm-adobe-release/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8"
+ resolved "https://registry.npmjs.com/yargs/-/yargs-7.1.0.tgz#6ba318eb16961727f5d284f8ea003e8d6154d0c8"
integrity sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=
dependencies:
camelcase "^3.0.0"