@qualtrics/ui-react 1.68.1-alpha.0 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { c as createIconComponent } from './createIconComponent-050e037b.js';
1
+ import { c as createIconComponent } from './createIconComponent-491541ab.js';
2
2
 
3
3
  /* THIS FILE IS AUTO-GENERATED */
4
4
  var CaretDownIcon = /*#__PURE__*/createIconComponent('CaretDown', '<path d="M16.643 10.5001H7.35729C7.14852 10.5001 7.05231 10.7591 7.21066 10.8949L11.8535 14.8744C11.9378 14.9467 12.0624 14.9467 12.1468 14.8744L16.7896 10.8949C16.948 10.7591 16.8517 10.5001 16.643 10.5001Z"/>');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var createIconComponent = require('./createIconComponent-81074f69.js');
3
+ var createIconComponent = require('./createIconComponent-e5f83020.js');
4
4
 
5
5
  /* THIS FILE IS AUTO-GENERATED */
6
6
  var CaretDownIcon = /*#__PURE__*/createIconComponent.createIconComponent('CaretDown', '<path d="M16.643 10.5001H7.35729C7.14852 10.5001 7.05231 10.7591 7.21066 10.8949L11.8535 14.8744C11.9378 14.9467 12.0624 14.9467 12.1468 14.8744L16.7896 10.8949C16.948 10.7591 16.8517 10.5001 16.643 10.5001Z"/>');
@@ -1,4 +1,4 @@
1
- import { c as createIconComponent } from './createIconComponent-050e037b.js';
1
+ import { c as createIconComponent } from './createIconComponent-491541ab.js';
2
2
 
3
3
  /* THIS FILE IS AUTO-GENERATED */
4
4
  var AddIcon = /*#__PURE__*/createIconComponent('Add', '<path d="M12.75 4.50008C12.75 4.08683 12.4142 3.75183 12 3.75183C11.5858 3.75183 11.25 4.08683 11.25 4.50008V11.2518H4.5C4.08579 11.2518 3.75 11.5868 3.75 12.0001C3.75 12.4133 4.08579 12.7483 4.5 12.7483H11.25V19.5001C11.25 19.9133 11.5858 20.2483 12 20.2483C12.4142 20.2483 12.75 19.9133 12.75 19.5001V12.7483H19.5C19.9142 12.7483 20.25 12.4133 20.25 12.0001C20.25 11.5868 19.9142 11.2518 19.5 11.2518H12.75V4.50008Z"/>');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var createIconComponent = require('./createIconComponent-81074f69.js');
3
+ var createIconComponent = require('./createIconComponent-e5f83020.js');
4
4
 
5
5
  /* THIS FILE IS AUTO-GENERATED */
6
6
  var AddIcon = /*#__PURE__*/createIconComponent.createIconComponent('Add', '<path d="M12.75 4.50008C12.75 4.08683 12.4142 3.75183 12 3.75183C11.5858 3.75183 11.25 4.08683 11.25 4.50008V11.2518H4.5C4.08579 11.2518 3.75 11.5868 3.75 12.0001C3.75 12.4133 4.08579 12.7483 4.5 12.7483H11.25V19.5001C11.25 19.9133 11.5858 20.2483 12 20.2483C12.4142 20.2483 12.75 19.9133 12.75 19.5001V12.7483H19.5C19.9142 12.7483 20.25 12.4133 20.25 12.0001C20.25 11.5868 19.9142 11.2518 19.5 11.2518H12.75V4.50008Z"/>');
@@ -145,8 +145,8 @@ function useStyles(key, defaultStyles) {
145
145
  return (_styleOverrides$key = styleOverrides[key]) !== null && _styleOverrides$key !== void 0 ? _styleOverrides$key : defaultStyles;
146
146
  }
147
147
 
148
- var styles = {"icon":"_28guo"};
149
- var stylesheet="._28guo{flex-shrink:0}";
148
+ var styles = {"icon":"_CiTxf"};
149
+ var stylesheet="._CiTxf{flex-shrink:0}";
150
150
 
151
151
  var IconStyles = /*#__PURE__*/(function () {
152
152
  styleInject(stylesheet);
@@ -151,8 +151,8 @@ function useStyles(key, defaultStyles) {
151
151
  return (_styleOverrides$key = styleOverrides[key]) !== null && _styleOverrides$key !== void 0 ? _styleOverrides$key : defaultStyles;
152
152
  }
153
153
 
154
- var styles = {"icon":"_28guo"};
155
- var stylesheet="._28guo{flex-shrink:0}";
154
+ var styles = {"icon":"_CiTxf"};
155
+ var stylesheet="._CiTxf{flex-shrink:0}";
156
156
 
157
157
  var IconStyles = /*#__PURE__*/(function () {
158
158
  styleInject(stylesheet);
@@ -18,7 +18,7 @@ var _mapInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-
18
18
  var _filterInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/filter'));
19
19
  var _sliceInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/slice'));
20
20
  var _indexOfInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/index-of'));
21
- var createIconComponent = require('./createIconComponent-81074f69.js');
21
+ var createIconComponent = require('./createIconComponent-e5f83020.js');
22
22
  var _toConsumableArray = _interopDefault(require('@babel/runtime-corejs3/helpers/toConsumableArray'));
23
23
  var uuid = require('uuid');
24
24
  var _Object$values = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/object/values'));
@@ -1172,8 +1172,8 @@ function useClickOutside(refs, onClickOutside) {
1172
1172
  }, [allRefs, events]);
1173
1173
  }
1174
1174
 
1175
- var styles$1 = {"label":"_1-cGH","control":"_rtiB1","focused":"_3kjv0"};
1176
- var stylesheet$1="._1-cGH{font-size:14px}._rtiB1{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._3kjv0{color:#0b6ed0}";
1175
+ var styles$1 = {"label":"_1Y4Df","control":"_KmWnR","focused":"_3PjxK"};
1176
+ var stylesheet$1="._1Y4Df{font-size:14px}._KmWnR{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._3PjxK{color:#0b6ed0}";
1177
1177
 
1178
1178
  var LabelStyles = /*#__PURE__*/(function () {
1179
1179
  styleInject(stylesheet$1);
@@ -1255,8 +1255,8 @@ function useInputGroupContext() {
1255
1255
  return React.useContext(InputGroupContext);
1256
1256
  }
1257
1257
 
1258
- var styles$2 = {"input":"_3D7Si","invalid":"_328BC","multiline":"_2nQj-","full":"_XkQ_9","small":"_1Pia3","label":"_1Cs3m","focused":"_1qQGr","wrappedInput":"_vxIgi"};
1259
- var stylesheet$2="._3D7Si{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#5899da;background-color:#f5f5f5;border:1px solid #f5f5f5;border-radius:4px;outline:none}._3D7Si::-moz-placeholder{color:#515559;opacity:1}._3D7Si:-ms-input-placeholder{color:#515559;opacity:1}._3D7Si::placeholder{color:#515559;opacity:1}._3D7Si:not(textarea)::-ms-clear{display:none}._3D7Si:hover{cursor:pointer;background-color:#eeeeef;border-color:#eeeeef}._3D7Si:focus{border-color:#9dc5ed;box-shadow:0 0 0 1px #9dc5ed;background-color:#fafafa;cursor:text;outline:none}._3D7Si._328BC{border-color:#b00}._3D7Si._328BC:focus{box-shadow:0 0 0 1px #b00}._3D7Si:disabled{border-color:#e5e5e5;background-color:#e5e5e5;color:#c2c3c5;cursor:not-allowed}._3D7Si._2nQj-{height:auto;resize:vertical}._3D7Si._XkQ_9{display:block;width:100%}._3D7Si._1Pia3{padding:4px 8px}input._3D7Si._1Pia3{height:26px;min-height:26px}[type=number]._3D7Si{-moz-appearance:textfield}[type=number]._3D7Si::-webkit-inner-spin-button,[type=number]._3D7Si::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1Cs3m{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._1Cs3m:hover{cursor:pointer}._1Cs3m._1qQGr{color:#0b6ed0}._vxIgi{margin-top:4px}";
1258
+ var styles$2 = {"input":"_2MkJO","invalid":"_1-IPo","multiline":"_1bXlC","full":"_Uoaqf","small":"_1pguV","label":"_38B5f","focused":"_3YfGW","wrappedInput":"_p8IVG"};
1259
+ var stylesheet$2="._2MkJO{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#5899da;background-color:#f5f5f5;border:1px solid #f5f5f5;border-radius:4px;outline:none}._2MkJO::-moz-placeholder{color:#515559;opacity:1}._2MkJO:-ms-input-placeholder{color:#515559;opacity:1}._2MkJO::placeholder{color:#515559;opacity:1}._2MkJO:not(textarea)::-ms-clear{display:none}._2MkJO:hover{cursor:pointer;background-color:#eeeeef;border-color:#eeeeef}._2MkJO:focus{border-color:#9dc5ed;box-shadow:0 0 0 1px #9dc5ed;background-color:#fafafa;cursor:text;outline:none}._2MkJO._1-IPo{border-color:#b00}._2MkJO._1-IPo:focus{box-shadow:0 0 0 1px #b00}._2MkJO:disabled{border-color:#e5e5e5;background-color:#e5e5e5;color:#c2c3c5;cursor:not-allowed}._2MkJO._1bXlC{height:auto;resize:vertical}._2MkJO._Uoaqf{display:block;width:100%}._2MkJO._1pguV{padding:4px 8px}input._2MkJO._1pguV{height:26px;min-height:26px}[type=number]._2MkJO{-moz-appearance:textfield}[type=number]._2MkJO::-webkit-inner-spin-button,[type=number]._2MkJO::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._38B5f{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._38B5f:hover{cursor:pointer}._38B5f._3YfGW{color:#0b6ed0}._p8IVG{margin-top:4px}";
1260
1260
 
1261
1261
  var InputStyles = /*#__PURE__*/(function () {
1262
1262
  styleInject(stylesheet$2);
@@ -12,7 +12,7 @@ import _mapInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance
12
12
  import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/filter';
13
13
  import _sliceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/slice';
14
14
  import _indexOfInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/index-of';
15
- import { u as useStyles } from './createIconComponent-050e037b.js';
15
+ import { u as useStyles } from './createIconComponent-491541ab.js';
16
16
  import _toConsumableArray from '@babel/runtime-corejs3/helpers/toConsumableArray';
17
17
  import { v4 } from 'uuid';
18
18
  import _Object$values from '@babel/runtime-corejs3/core-js-stable/object/values';
@@ -1165,8 +1165,8 @@ function useClickOutside(refs, onClickOutside) {
1165
1165
  }, [allRefs, events]);
1166
1166
  }
1167
1167
 
1168
- var styles$1 = {"label":"_1-cGH","control":"_rtiB1","focused":"_3kjv0"};
1169
- var stylesheet$1="._1-cGH{font-size:14px}._rtiB1{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._3kjv0{color:#0b6ed0}";
1168
+ var styles$1 = {"label":"_1Y4Df","control":"_KmWnR","focused":"_3PjxK"};
1169
+ var stylesheet$1="._1Y4Df{font-size:14px}._KmWnR{color:#6a6d70;line-height:20px;display:inline-flex;flex-direction:column;align-items:flex-start}._3PjxK{color:#0b6ed0}";
1170
1170
 
1171
1171
  var LabelStyles = /*#__PURE__*/(function () {
1172
1172
  styleInject(stylesheet$1);
@@ -1248,8 +1248,8 @@ function useInputGroupContext() {
1248
1248
  return useContext(InputGroupContext);
1249
1249
  }
1250
1250
 
1251
- var styles$2 = {"input":"_3D7Si","invalid":"_328BC","multiline":"_2nQj-","full":"_XkQ_9","small":"_1Pia3","label":"_1Cs3m","focused":"_1qQGr","wrappedInput":"_vxIgi"};
1252
- var stylesheet$2="._3D7Si{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#5899da;background-color:#f5f5f5;border:1px solid #f5f5f5;border-radius:4px;outline:none}._3D7Si::-moz-placeholder{color:#515559;opacity:1}._3D7Si:-ms-input-placeholder{color:#515559;opacity:1}._3D7Si::placeholder{color:#515559;opacity:1}._3D7Si:not(textarea)::-ms-clear{display:none}._3D7Si:hover{cursor:pointer;background-color:#eeeeef;border-color:#eeeeef}._3D7Si:focus{border-color:#9dc5ed;box-shadow:0 0 0 1px #9dc5ed;background-color:#fafafa;cursor:text;outline:none}._3D7Si._328BC{border-color:#b00}._3D7Si._328BC:focus{box-shadow:0 0 0 1px #b00}._3D7Si:disabled{border-color:#e5e5e5;background-color:#e5e5e5;color:#c2c3c5;cursor:not-allowed}._3D7Si._2nQj-{height:auto;resize:vertical}._3D7Si._XkQ_9{display:block;width:100%}._3D7Si._1Pia3{padding:4px 8px}input._3D7Si._1Pia3{height:26px;min-height:26px}[type=number]._3D7Si{-moz-appearance:textfield}[type=number]._3D7Si::-webkit-inner-spin-button,[type=number]._3D7Si::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._1Cs3m{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._1Cs3m:hover{cursor:pointer}._1Cs3m._1qQGr{color:#0b6ed0}._vxIgi{margin-top:4px}";
1251
+ var styles$2 = {"input":"_2MkJO","invalid":"_1-IPo","multiline":"_1bXlC","full":"_Uoaqf","small":"_1pguV","label":"_38B5f","focused":"_3YfGW","wrappedInput":"_p8IVG"};
1252
+ var stylesheet$2="._2MkJO{display:inline-block;height:36px;min-height:36px;padding:8px 12px;line-height:20px;font-size:14px;color:#32363a;caret-color:#5899da;background-color:#f5f5f5;border:1px solid #f5f5f5;border-radius:4px;outline:none}._2MkJO::-moz-placeholder{color:#515559;opacity:1}._2MkJO:-ms-input-placeholder{color:#515559;opacity:1}._2MkJO::placeholder{color:#515559;opacity:1}._2MkJO:not(textarea)::-ms-clear{display:none}._2MkJO:hover{cursor:pointer;background-color:#eeeeef;border-color:#eeeeef}._2MkJO:focus{border-color:#9dc5ed;box-shadow:0 0 0 1px #9dc5ed;background-color:#fafafa;cursor:text;outline:none}._2MkJO._1-IPo{border-color:#b00}._2MkJO._1-IPo:focus{box-shadow:0 0 0 1px #b00}._2MkJO:disabled{border-color:#e5e5e5;background-color:#e5e5e5;color:#c2c3c5;cursor:not-allowed}._2MkJO._1bXlC{height:auto;resize:vertical}._2MkJO._Uoaqf{display:block;width:100%}._2MkJO._1pguV{padding:4px 8px}input._2MkJO._1pguV{height:26px;min-height:26px}[type=number]._2MkJO{-moz-appearance:textfield}[type=number]._2MkJO::-webkit-inner-spin-button,[type=number]._2MkJO::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}._38B5f{line-height:20px;color:#6a6d70;display:flex;flex-direction:column;align-items:flex-start}._38B5f:hover{cursor:pointer}._38B5f._3YfGW{color:#0b6ed0}._p8IVG{margin-top:4px}";
1253
1253
 
1254
1254
  var InputStyles = /*#__PURE__*/(function () {
1255
1255
  styleInject(stylesheet$2);
@@ -1148,19 +1148,6 @@ export interface UIProviderProps {
1148
1148
 
1149
1149
  export const UIProvider: React.FunctionComponent<UIProviderProps>;
1150
1150
 
1151
- interface Color {
1152
- hex: string;
1153
- alpha?: number;
1154
- name?: string;
1155
- }
1156
-
1157
- export interface experimental_ColorPickerProps {
1158
- color: Color;
1159
- onChange: (newColor: Color) => void;
1160
- }
1161
-
1162
- export const experimental_ColorPicker: React.FunctionComponent<experimental_ColorPickerProps>;
1163
-
1164
1151
  export const IconTypes: {
1165
1152
  AI: "AI",
1166
1153
  Accessibility: "Accessibility",
package/icons/index.es.js CHANGED
@@ -4,13 +4,13 @@ import '@babel/runtime-corejs3/helpers/slicedToArray';
4
4
  import '@babel/runtime-corejs3/core-js-stable/instance/slice';
5
5
  import '@babel/runtime-corejs3/core-js-stable/instance/splice';
6
6
  import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
7
- import { c as createIconComponent } from '../dist/shared/createIconComponent-050e037b.js';
7
+ import { c as createIconComponent } from '../dist/shared/createIconComponent-491541ab.js';
8
8
  import 'style-inject';
9
9
  import 'classnames';
10
10
  import '@babel/runtime-corejs3/helpers/extends';
11
11
  import '@babel/runtime-corejs3/helpers/objectWithoutProperties';
12
- export { h as AddIcon, e as AddItemIcon, a as ArrowDownIcon, A as ArrowUpIcon, C as ChevronDownIcon, f as ChevronLeftIcon, c as ChevronRightIcon, b as CloseIcon, d as EllipsisHorizontalIcon, E as ErrorIcon, g as ExcludeIcon, F as FilterIcon, R as RemoveItemIcon, S as SearchIcon, i as SubtractIcon } from '../dist/shared/SubtractIcon-2ba9489b.js';
13
- export { C as CaretDownIcon } from '../dist/shared/CaretDownIcon-adfe2e99.js';
12
+ export { h as AddIcon, e as AddItemIcon, a as ArrowDownIcon, A as ArrowUpIcon, C as ChevronDownIcon, f as ChevronLeftIcon, c as ChevronRightIcon, b as CloseIcon, d as EllipsisHorizontalIcon, E as ErrorIcon, g as ExcludeIcon, F as FilterIcon, R as RemoveItemIcon, S as SearchIcon, i as SubtractIcon } from '../dist/shared/SubtractIcon-743527e6.js';
13
+ export { C as CaretDownIcon } from '../dist/shared/CaretDownIcon-82cb32cc.js';
14
14
 
15
15
  /* THIS FILE IS AUTO-GENERATED */
16
16
  var AIIcon = /*#__PURE__*/createIconComponent('AI', '<path fill-rule="evenodd" clip-rule="evenodd" d="M11 13.4167V14C11 14.4142 11.3358 14.75 11.75 14.75C12.1642 14.75 12.5 14.4142 12.5 14V11.25C12.5 10.1454 11.6046 9.25003 10.5 9.25C9.39546 9.24997 8.5 10.1454 8.5 11.25V14C8.5 14.4142 8.83579 14.75 9.25 14.75C9.66421 14.75 10 14.4142 10 14V13.4167L11 13.4167ZM10.5 10.75C10.2239 10.75 10 10.9739 10 11.25V11.9167L11 11.9167V11.25C11 10.9739 10.7761 10.75 10.5 10.75Z"/><path d="M15 10C15 9.58579 14.6642 9.25 14.25 9.25C13.8358 9.25 13.5 9.58579 13.5 10V14C13.5 14.4142 13.8358 14.75 14.25 14.75C14.6642 14.75 15 14.4142 15 14V10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 2.25C8.91421 2.25 9.25 2.58579 9.25 3V5.5H11.25V3C11.25 2.58579 11.5858 2.25 12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V5.5H14.75V3C14.75 2.58579 15.0858 2.25 15.5 2.25C15.9142 2.25 16.25 2.58579 16.25 3V5.51234C17.4311 5.62961 18.3704 6.5689 18.4877 7.75H21C21.4142 7.75 21.75 8.08579 21.75 8.5C21.75 8.91421 21.4142 9.25 21 9.25H18.5V11.25H21C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75H18.5V14.75H21C21.4142 14.75 21.75 15.0858 21.75 15.5C21.75 15.9142 21.4142 16.25 21 16.25H18.4877C18.3704 17.4311 17.4311 18.3704 16.25 18.4877V21C16.25 21.4142 15.9142 21.75 15.5 21.75C15.0858 21.75 14.75 21.4142 14.75 21V18.5H12.75V21C12.75 21.4142 12.4142 21.75 12 21.75C11.5858 21.75 11.25 21.4142 11.25 21V18.5H9.25V21C9.25 21.4142 8.91421 21.75 8.5 21.75C8.08579 21.75 7.75 21.4142 7.75 21V18.4877C6.5689 18.3704 5.62961 17.4311 5.51234 16.25H3C2.58579 16.25 2.25 15.9142 2.25 15.5C2.25 15.0858 2.58579 14.75 3 14.75H5.5V12.75H3C2.58579 12.75 2.25 12.4142 2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H5.5V9.25H3C2.58579 9.25 2.25 8.91421 2.25 8.5C2.25 8.08579 2.58579 7.75 3 7.75H5.51234C5.62961 6.5689 6.5689 5.62961 7.75 5.51234V3C7.75 2.58579 8.08579 2.25 8.5 2.25ZM8 7C7.44772 7 7 7.44772 7 8V16C7 16.5523 7.44772 17 8 17H16C16.5523 17 17 16.5523 17 16V8C17 7.44772 16.5523 7 16 7H8Z"/>');
package/icons/index.js CHANGED
@@ -8,13 +8,13 @@ require('@babel/runtime-corejs3/helpers/slicedToArray');
8
8
  require('@babel/runtime-corejs3/core-js-stable/instance/slice');
9
9
  require('@babel/runtime-corejs3/core-js-stable/instance/splice');
10
10
  require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
11
- var createIconComponent = require('../dist/shared/createIconComponent-81074f69.js');
11
+ var createIconComponent = require('../dist/shared/createIconComponent-e5f83020.js');
12
12
  require('style-inject');
13
13
  require('classnames');
14
14
  require('@babel/runtime-corejs3/helpers/extends');
15
15
  require('@babel/runtime-corejs3/helpers/objectWithoutProperties');
16
- var SubtractIcon = require('../dist/shared/SubtractIcon-8a9a52f6.js');
17
- var CaretDownIcon = require('../dist/shared/CaretDownIcon-daf9a0fd.js');
16
+ var SubtractIcon = require('../dist/shared/SubtractIcon-ac4902b8.js');
17
+ var CaretDownIcon = require('../dist/shared/CaretDownIcon-df31f32e.js');
18
18
 
19
19
  /* THIS FILE IS AUTO-GENERATED */
20
20
  var AIIcon = /*#__PURE__*/createIconComponent.createIconComponent('AI', '<path fill-rule="evenodd" clip-rule="evenodd" d="M11 13.4167V14C11 14.4142 11.3358 14.75 11.75 14.75C12.1642 14.75 12.5 14.4142 12.5 14V11.25C12.5 10.1454 11.6046 9.25003 10.5 9.25C9.39546 9.24997 8.5 10.1454 8.5 11.25V14C8.5 14.4142 8.83579 14.75 9.25 14.75C9.66421 14.75 10 14.4142 10 14V13.4167L11 13.4167ZM10.5 10.75C10.2239 10.75 10 10.9739 10 11.25V11.9167L11 11.9167V11.25C11 10.9739 10.7761 10.75 10.5 10.75Z"/><path d="M15 10C15 9.58579 14.6642 9.25 14.25 9.25C13.8358 9.25 13.5 9.58579 13.5 10V14C13.5 14.4142 13.8358 14.75 14.25 14.75C14.6642 14.75 15 14.4142 15 14V10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8.5 2.25C8.91421 2.25 9.25 2.58579 9.25 3V5.5H11.25V3C11.25 2.58579 11.5858 2.25 12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V5.5H14.75V3C14.75 2.58579 15.0858 2.25 15.5 2.25C15.9142 2.25 16.25 2.58579 16.25 3V5.51234C17.4311 5.62961 18.3704 6.5689 18.4877 7.75H21C21.4142 7.75 21.75 8.08579 21.75 8.5C21.75 8.91421 21.4142 9.25 21 9.25H18.5V11.25H21C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75H18.5V14.75H21C21.4142 14.75 21.75 15.0858 21.75 15.5C21.75 15.9142 21.4142 16.25 21 16.25H18.4877C18.3704 17.4311 17.4311 18.3704 16.25 18.4877V21C16.25 21.4142 15.9142 21.75 15.5 21.75C15.0858 21.75 14.75 21.4142 14.75 21V18.5H12.75V21C12.75 21.4142 12.4142 21.75 12 21.75C11.5858 21.75 11.25 21.4142 11.25 21V18.5H9.25V21C9.25 21.4142 8.91421 21.75 8.5 21.75C8.08579 21.75 7.75 21.4142 7.75 21V18.4877C6.5689 18.3704 5.62961 17.4311 5.51234 16.25H3C2.58579 16.25 2.25 15.9142 2.25 15.5C2.25 15.0858 2.58579 14.75 3 14.75H5.5V12.75H3C2.58579 12.75 2.25 12.4142 2.25 12C2.25 11.5858 2.58579 11.25 3 11.25H5.5V9.25H3C2.58579 9.25 2.25 8.91421 2.25 8.5C2.25 8.08579 2.58579 7.75 3 7.75H5.51234C5.62961 6.5689 6.5689 5.62961 7.75 5.51234V3C7.75 2.58579 8.08579 2.25 8.5 2.25ZM8 7C7.44772 7 7 7.44772 7 8V16C7 16.5523 7.44772 17 8 17H16C16.5523 17 17 16.5523 17 16V8C17 7.44772 16.5523 7 16 7H8Z"/>');
@@ -1 +1 @@
1
- {"main":"index.js","module":"index.es.js","dependencies":{"@babel/runtime-corejs3":"^7.10.2","@popperjs/core":"^2.10.2","@qualtrics/component-styles":"0.134.0","@qualtrics/ui-i18n":"0.14.0","classnames":"^2.2.6","core-js":"^3.6.5","focus-lock":"0.9.1","just-safe-get":"^2.0.0","prop-types":"^15.7.2","react-clientside-effect":"^1.2.5","react-popper":"^2.2.4","style-inject":"0.3.0","throttle-debounce":"^2.1.0","use-callback-ref":"^1.2.5","use-sidecar":"^1.0.5","uuid":"^8.3.2"}}
1
+ {"main":"index.js","module":"index.es.js","dependencies":{"@babel/runtime-corejs3":"^7.10.2","@popperjs/core":"^2.10.2","@qualtrics/component-styles":"0.134.0","@qualtrics/ui-i18n":"0.15.0","classnames":"^2.2.6","core-js":"^3.6.5","focus-lock":"0.9.1","just-safe-get":"^2.0.0","prop-types":"^15.7.2","react-clientside-effect":"^1.2.5","react-popper":"^2.2.4","style-inject":"0.3.0","throttle-debounce":"^2.1.0","use-callback-ref":"^1.2.5","use-sidecar":"^1.0.5","uuid":"^8.3.2"}}
package/next/index.d.ts CHANGED
@@ -4,9 +4,9 @@ interface Color {
4
4
  name?: string;
5
5
  }
6
6
 
7
- export interface experimental_ColorPickerProps {
7
+ export interface ColorPickerProps {
8
8
  color: Color;
9
9
  onChange: (newColor: Color) => void;
10
10
  }
11
11
 
12
- export const experimental_ColorPicker: React.FunctionComponent<experimental_ColorPickerProps>;
12
+ export const ColorPicker: React.FunctionComponent<ColorPickerProps>;
package/next/index.es.js CHANGED
@@ -5,7 +5,7 @@ import _Object$keys from '@babel/runtime-corejs3/core-js-stable/object/keys';
5
5
  import '@babel/runtime-corejs3/core-js-stable/instance/reduce';
6
6
  import _slicedToArray from '@babel/runtime-corejs3/helpers/slicedToArray';
7
7
  import '@qualtrics/ui-i18n';
8
- import { d as useTranslation, k as useEventCallback, q as getSubDataTestId, p as Input, L as Label, g as useId, a as useControllableState, h as useClickOutside, e as Popper } from '../dist/shared/getSubDataTestId-5dc31a72.js';
8
+ import { d as useTranslation, k as useEventCallback, q as getSubDataTestId, p as Input, L as Label, g as useId, a as useControllableState, h as useClickOutside, e as Popper } from '../dist/shared/getSubDataTestId-e7f13913.js';
9
9
  import _concatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/concat';
10
10
  import _forEachInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/for-each';
11
11
  import '@babel/runtime-corejs3/core-js-stable/instance/some';
@@ -14,7 +14,7 @@ import _filterInstanceProperty from '@babel/runtime-corejs3/core-js-stable/insta
14
14
  import _sliceInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/slice';
15
15
  import '@babel/runtime-corejs3/core-js-stable/instance/splice';
16
16
  import '@babel/runtime-corejs3/core-js-stable/instance/index-of';
17
- import { u as useStyles } from '../dist/shared/createIconComponent-050e037b.js';
17
+ import { u as useStyles } from '../dist/shared/createIconComponent-491541ab.js';
18
18
  import '@babel/runtime-corejs3/helpers/toConsumableArray';
19
19
  import 'uuid';
20
20
  import '@babel/runtime-corejs3/core-js-stable/object/values';
@@ -23,7 +23,7 @@ import classNames from 'classnames';
23
23
  import _extends from '@babel/runtime-corejs3/helpers/extends';
24
24
  import _JSON$stringify from '@babel/runtime-corejs3/core-js-stable/json/stringify';
25
25
  import _objectWithoutProperties from '@babel/runtime-corejs3/helpers/objectWithoutProperties';
26
- import { C as CaretDownIcon } from '../dist/shared/CaretDownIcon-adfe2e99.js';
26
+ import { C as CaretDownIcon } from '../dist/shared/CaretDownIcon-82cb32cc.js';
27
27
  import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object/define-property';
28
28
  import _Object$defineProperties from '@babel/runtime-corejs3/core-js-stable/object/define-properties';
29
29
  import _Object$getOwnPropertyDescriptors from '@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors';
@@ -44,8 +44,8 @@ import _parseInt from '@babel/runtime-corejs3/core-js-stable/parse-int';
44
44
  import _padStartInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/pad-start';
45
45
  import _repeatInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/repeat';
46
46
 
47
- var styles = {"colorPicker":"_13AYa","colorPickerButton":"_ChL_Z","colorPickerButtonPreview":"_1_xNs","alphaBackground":"_2Mapd","colorPickerButtonAlphaPreview":"_1H9SU","colorPickerInput":"_2z70s","colorPickerInputDecoration":"_3NNCk","colorPickerFlyout":"_Kw9rg","saturationGrid":"_32E1s","saturationLoop":"_1tVo6","sliderGroup":"_2mkkJ","sliderPreviewContainer":"_3GkMc","sliderPreview":"_JwK1f","sliderPreviewAlpha":"_3ZKZQ","sliderPreviewAlphaBackground":"_2KHni","hueSliderRail":"_2Rrv0","alphaEnabled":"_1edl6","hueSliderThumb":"_3oO5K","alphaSliderRailBackground":"_7JFz6","alphaSliderRail":"_110eR","alphaSliderThumb":"_1Fmkm","hexInputGroup":"_3fLqf","hexInputContainer":"_PBr7b","rgbInputContainer":"_3UmiE","hexInputDecoration":"_2XnZs","hexInput":"_16k__","rgbInput":"_KrtRi","relativePositionContainer":"_1J6pb","alphaInput":"_2DqQy","alphaInputDecoration":"_hhZP6","inputLabel":"_L7NeB","rgbContainer":"_zsomb","palette":"_32mN_","swatch":"_3R_og","hidden":"_O4z5L","hiddenLiveRegion":"_1Hn-4"};
48
- var stylesheet="._13AYa,._ChL_Z{display:flex}._ChL_Z{align-items:center;background-color:#f5f5f5;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._ChL_Z:hover{background-color:#eeeeef}body.keyboard-user ._ChL_Z:active:focus,body.keyboard-user ._ChL_Z:focus{background:#fafafa;box-shadow:0 0 0 2px #9dc5ed;z-index:10}._1_xNs{width:18px;height:36px;border-radius:4px 0 0 4px}._2Mapd{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._1H9SU{width:18px;height:36px}._2z70s{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._3NNCk{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._Kw9rg{width:264px;padding:8px;background-color:#fff;border:1px solid #eeeeef;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1)}._32E1s{position:relative;width:246px;height:150px;border-radius:4px;background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}._1tVo6{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}body.keyboard-user ._1tVo6:active:focus,body.keyboard-user ._1tVo6:focus{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #9dc5ed;background-color:#fff}._2mkkJ{justify-content:space-between;margin:12px 0}._2mkkJ,._3GkMc{display:flex}._JwK1f{border-radius:2px 0 0 2px}._3ZKZQ,._JwK1f{width:19px;height:38px}._3ZKZQ{border-radius:0 2px 2px 0}._2KHni{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px}._2Rrv0{width:202px;height:38px;padding:0 4px;border-radius:1px;background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._2Rrv0._1edl6{height:16px;margin-bottom:6px}._3oO5K{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer}._3oO5K._1edl6{height:16px}body.keyboard-user ._3oO5K:active:focus,body.keyboard-user ._3oO5K:focus{box-shadow:0 0 0 2px #9dc5ed}._7JFz6{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._110eR{width:202px;height:16px;padding:0 4px;border-radius:1px}._1Fmkm{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer}body.keyboard-user ._1Fmkm:active:focus,body.keyboard-user ._1Fmkm:focus{box-shadow:0 0 0 2px #9dc5ed}._3fLqf{display:flex;justify-content:space-between}._PBr7b{display:flex;flex-direction:column;align-items:center}._PBr7b._3UmiE{margin-left:4px}._2XnZs{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._16k__{padding:3px 4px 3px 13px!important;width:78px}._KrtRi{text-align:right;padding:3px 4px!important;width:34px}._1J6pb{position:relative}._2DqQy{text-align:right;padding:3px 16px 3px 4px!important;width:46px}._hhZP6{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._L7NeB{line-height:22px}._32mN_,._zsomb{display:flex}._32mN_{flex-wrap:wrap;margin:9px -3px -3px}._3R_og{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid #e5e5e5;outline:none;cursor:pointer}body.keyboard-user ._3R_og:active:focus,body.keyboard-user ._3R_og:focus{box-shadow:0 0 0 2px #9dc5ed}._O4z5L{display:none}._1Hn-4{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}";
47
+ var styles = {"colorPicker":"_1HeH6","colorPickerButton":"_ZF44p","colorPickerButtonPreview":"_2gZlk","alphaBackground":"_12KPZ","colorPickerButtonAlphaPreview":"_m5LAS","colorPickerInput":"_DR97l","colorPickerInputDecoration":"_3cEW3","colorPickerFlyout":"_2h0A2","saturationGrid":"_2et_5","saturationLoop":"_1GTwp","sliderGroup":"_2u6iQ","sliderPreviewContainer":"_2nK3v","sliderPreview":"_x5t6q","sliderPreviewAlpha":"_kgCeQ","sliderPreviewAlphaBackground":"_2XplB","hueSliderRail":"_22zSm","alphaEnabled":"_1dmzO","hueSliderThumb":"_1pBsm","alphaSliderRailBackground":"_3piMZ","alphaSliderRail":"_25feD","alphaSliderThumb":"_2oNtb","hexInputGroup":"_3SHPW","hexInputContainer":"_2cUxO","rgbInputContainer":"_1EEw7","hexInputDecoration":"_cm-C8","hexInput":"_dKlZd","rgbInput":"_3DK_i","relativePositionContainer":"_3nxRF","alphaInput":"_yXFP0","alphaInputDecoration":"_eIXtB","inputLabel":"_3s3uU","rgbContainer":"_1oyt0","palette":"_1O9yP","swatch":"_1DGFx","hidden":"_8frYA","hiddenLiveRegion":"_2-jeb"};
48
+ var stylesheet="._1HeH6,._ZF44p{display:flex}._ZF44p{align-items:center;background-color:#f5f5f5;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._ZF44p:hover{background-color:#eeeeef}body.keyboard-user ._ZF44p:active:focus,body.keyboard-user ._ZF44p:focus{background:#fafafa;box-shadow:0 0 0 2px #9dc5ed;z-index:10}._2gZlk{width:18px;height:36px;border-radius:4px 0 0 4px}._12KPZ{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._m5LAS{width:18px;height:36px}._DR97l{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._3cEW3{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._2h0A2{width:264px;padding:8px;background-color:#fff;border:1px solid #eeeeef;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1)}._2et_5{position:relative;width:246px;height:150px;border-radius:4px;background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}._1GTwp{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}body.keyboard-user ._1GTwp:active:focus,body.keyboard-user ._1GTwp:focus{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #9dc5ed;background-color:#fff}._2u6iQ{justify-content:space-between;margin:12px 0}._2nK3v,._2u6iQ{display:flex}._x5t6q{border-radius:2px 0 0 2px}._kgCeQ,._x5t6q{width:19px;height:38px}._kgCeQ{border-radius:0 2px 2px 0}._2XplB{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px}._22zSm{width:202px;height:38px;padding:0 4px;border-radius:1px;background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._22zSm._1dmzO{height:16px;margin-bottom:6px}._1pBsm{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer}._1pBsm._1dmzO{height:16px}body.keyboard-user ._1pBsm:active:focus,body.keyboard-user ._1pBsm:focus{box-shadow:0 0 0 2px #9dc5ed}._3piMZ{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._25feD{width:202px;height:16px;padding:0 4px;border-radius:1px}._2oNtb{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer}body.keyboard-user ._2oNtb:active:focus,body.keyboard-user ._2oNtb:focus{box-shadow:0 0 0 2px #9dc5ed}._3SHPW{display:flex;justify-content:space-between}._2cUxO{display:flex;flex-direction:column;align-items:center}._2cUxO._1EEw7{margin-left:4px}._cm-C8{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._dKlZd{padding:3px 4px 3px 13px!important;width:78px}._3DK_i{text-align:right;padding:3px 4px!important;width:34px}._3nxRF{position:relative}._yXFP0{text-align:right;padding:3px 16px 3px 4px!important;width:46px}._eIXtB{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._3s3uU{line-height:22px}._1O9yP,._1oyt0{display:flex}._1O9yP{flex-wrap:wrap;margin:9px -3px -3px}._1DGFx{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid #e5e5e5;outline:none;cursor:pointer}body.keyboard-user ._1DGFx:active:focus,body.keyboard-user ._1DGFx:focus{box-shadow:0 0 0 2px #9dc5ed}._8frYA{display:none}._2-jeb{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}";
49
49
 
50
50
  var ColorPickerStyles = /*#__PURE__*/(function () {
51
51
  styleInject(stylesheet);
package/next/index.js CHANGED
@@ -13,7 +13,7 @@ var _Object$keys = _interopDefault(require('@babel/runtime-corejs3/core-js-stabl
13
13
  require('@babel/runtime-corejs3/core-js-stable/instance/reduce');
14
14
  var _slicedToArray = _interopDefault(require('@babel/runtime-corejs3/helpers/slicedToArray'));
15
15
  require('@qualtrics/ui-i18n');
16
- var getSubDataTestId = require('../dist/shared/getSubDataTestId-3241dba1.js');
16
+ var getSubDataTestId = require('../dist/shared/getSubDataTestId-8ddf9992.js');
17
17
  var _concatInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/concat'));
18
18
  var _forEachInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/for-each'));
19
19
  require('@babel/runtime-corejs3/core-js-stable/instance/some');
@@ -22,7 +22,7 @@ var _filterInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/co
22
22
  var _sliceInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/slice'));
23
23
  require('@babel/runtime-corejs3/core-js-stable/instance/splice');
24
24
  require('@babel/runtime-corejs3/core-js-stable/instance/index-of');
25
- var createIconComponent = require('../dist/shared/createIconComponent-81074f69.js');
25
+ var createIconComponent = require('../dist/shared/createIconComponent-e5f83020.js');
26
26
  require('@babel/runtime-corejs3/helpers/toConsumableArray');
27
27
  require('uuid');
28
28
  require('@babel/runtime-corejs3/core-js-stable/object/values');
@@ -31,7 +31,7 @@ var classNames = _interopDefault(require('classnames'));
31
31
  var _extends = _interopDefault(require('@babel/runtime-corejs3/helpers/extends'));
32
32
  var _JSON$stringify = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/json/stringify'));
33
33
  var _objectWithoutProperties = _interopDefault(require('@babel/runtime-corejs3/helpers/objectWithoutProperties'));
34
- var CaretDownIcon = require('../dist/shared/CaretDownIcon-daf9a0fd.js');
34
+ var CaretDownIcon = require('../dist/shared/CaretDownIcon-df31f32e.js');
35
35
  var _Object$defineProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/object/define-property'));
36
36
  var _Object$defineProperties = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/object/define-properties'));
37
37
  var _Object$getOwnPropertyDescriptors = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors'));
@@ -52,8 +52,8 @@ var _parseInt = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/p
52
52
  var _padStartInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/pad-start'));
53
53
  var _repeatInstanceProperty = _interopDefault(require('@babel/runtime-corejs3/core-js-stable/instance/repeat'));
54
54
 
55
- var styles = {"colorPicker":"_13AYa","colorPickerButton":"_ChL_Z","colorPickerButtonPreview":"_1_xNs","alphaBackground":"_2Mapd","colorPickerButtonAlphaPreview":"_1H9SU","colorPickerInput":"_2z70s","colorPickerInputDecoration":"_3NNCk","colorPickerFlyout":"_Kw9rg","saturationGrid":"_32E1s","saturationLoop":"_1tVo6","sliderGroup":"_2mkkJ","sliderPreviewContainer":"_3GkMc","sliderPreview":"_JwK1f","sliderPreviewAlpha":"_3ZKZQ","sliderPreviewAlphaBackground":"_2KHni","hueSliderRail":"_2Rrv0","alphaEnabled":"_1edl6","hueSliderThumb":"_3oO5K","alphaSliderRailBackground":"_7JFz6","alphaSliderRail":"_110eR","alphaSliderThumb":"_1Fmkm","hexInputGroup":"_3fLqf","hexInputContainer":"_PBr7b","rgbInputContainer":"_3UmiE","hexInputDecoration":"_2XnZs","hexInput":"_16k__","rgbInput":"_KrtRi","relativePositionContainer":"_1J6pb","alphaInput":"_2DqQy","alphaInputDecoration":"_hhZP6","inputLabel":"_L7NeB","rgbContainer":"_zsomb","palette":"_32mN_","swatch":"_3R_og","hidden":"_O4z5L","hiddenLiveRegion":"_1Hn-4"};
56
- var stylesheet="._13AYa,._ChL_Z{display:flex}._ChL_Z{align-items:center;background-color:#f5f5f5;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._ChL_Z:hover{background-color:#eeeeef}body.keyboard-user ._ChL_Z:active:focus,body.keyboard-user ._ChL_Z:focus{background:#fafafa;box-shadow:0 0 0 2px #9dc5ed;z-index:10}._1_xNs{width:18px;height:36px;border-radius:4px 0 0 4px}._2Mapd{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._1H9SU{width:18px;height:36px}._2z70s{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._3NNCk{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._Kw9rg{width:264px;padding:8px;background-color:#fff;border:1px solid #eeeeef;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1)}._32E1s{position:relative;width:246px;height:150px;border-radius:4px;background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}._1tVo6{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}body.keyboard-user ._1tVo6:active:focus,body.keyboard-user ._1tVo6:focus{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #9dc5ed;background-color:#fff}._2mkkJ{justify-content:space-between;margin:12px 0}._2mkkJ,._3GkMc{display:flex}._JwK1f{border-radius:2px 0 0 2px}._3ZKZQ,._JwK1f{width:19px;height:38px}._3ZKZQ{border-radius:0 2px 2px 0}._2KHni{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px}._2Rrv0{width:202px;height:38px;padding:0 4px;border-radius:1px;background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._2Rrv0._1edl6{height:16px;margin-bottom:6px}._3oO5K{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer}._3oO5K._1edl6{height:16px}body.keyboard-user ._3oO5K:active:focus,body.keyboard-user ._3oO5K:focus{box-shadow:0 0 0 2px #9dc5ed}._7JFz6{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._110eR{width:202px;height:16px;padding:0 4px;border-radius:1px}._1Fmkm{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer}body.keyboard-user ._1Fmkm:active:focus,body.keyboard-user ._1Fmkm:focus{box-shadow:0 0 0 2px #9dc5ed}._3fLqf{display:flex;justify-content:space-between}._PBr7b{display:flex;flex-direction:column;align-items:center}._PBr7b._3UmiE{margin-left:4px}._2XnZs{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._16k__{padding:3px 4px 3px 13px!important;width:78px}._KrtRi{text-align:right;padding:3px 4px!important;width:34px}._1J6pb{position:relative}._2DqQy{text-align:right;padding:3px 16px 3px 4px!important;width:46px}._hhZP6{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._L7NeB{line-height:22px}._32mN_,._zsomb{display:flex}._32mN_{flex-wrap:wrap;margin:9px -3px -3px}._3R_og{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid #e5e5e5;outline:none;cursor:pointer}body.keyboard-user ._3R_og:active:focus,body.keyboard-user ._3R_og:focus{box-shadow:0 0 0 2px #9dc5ed}._O4z5L{display:none}._1Hn-4{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}";
55
+ var styles = {"colorPicker":"_1HeH6","colorPickerButton":"_ZF44p","colorPickerButtonPreview":"_2gZlk","alphaBackground":"_12KPZ","colorPickerButtonAlphaPreview":"_m5LAS","colorPickerInput":"_DR97l","colorPickerInputDecoration":"_3cEW3","colorPickerFlyout":"_2h0A2","saturationGrid":"_2et_5","saturationLoop":"_1GTwp","sliderGroup":"_2u6iQ","sliderPreviewContainer":"_2nK3v","sliderPreview":"_x5t6q","sliderPreviewAlpha":"_kgCeQ","sliderPreviewAlphaBackground":"_2XplB","hueSliderRail":"_22zSm","alphaEnabled":"_1dmzO","hueSliderThumb":"_1pBsm","alphaSliderRailBackground":"_3piMZ","alphaSliderRail":"_25feD","alphaSliderThumb":"_2oNtb","hexInputGroup":"_3SHPW","hexInputContainer":"_2cUxO","rgbInputContainer":"_1EEw7","hexInputDecoration":"_cm-C8","hexInput":"_dKlZd","rgbInput":"_3DK_i","relativePositionContainer":"_3nxRF","alphaInput":"_yXFP0","alphaInputDecoration":"_eIXtB","inputLabel":"_3s3uU","rgbContainer":"_1oyt0","palette":"_1O9yP","swatch":"_1DGFx","hidden":"_8frYA","hiddenLiveRegion":"_2-jeb"};
56
+ var stylesheet="._1HeH6,._ZF44p{display:flex}._ZF44p{align-items:center;background-color:#f5f5f5;border:0;border-radius:4px 0 0 4px;padding:0;cursor:pointer;outline:none}._ZF44p:hover{background-color:#eeeeef}body.keyboard-user ._ZF44p:active:focus,body.keyboard-user ._ZF44p:focus{background:#fafafa;box-shadow:0 0 0 2px #9dc5ed;z-index:10}._2gZlk{width:18px;height:36px;border-radius:4px 0 0 4px}._12KPZ{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:18px 18px;background-position:0 0,9px 0,9px -9px,0 9px}._m5LAS{width:18px;height:36px}._DR97l{border-radius:0 4px 4px 0;width:115px;padding-left:21px}._3cEW3{position:absolute;top:10px;left:13px;font-size:14px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._2h0A2{width:264px;padding:8px;background-color:#fff;border:1px solid #eeeeef;border-radius:4px;box-shadow:0 8px 20px rgba(0,0,0,.1)}._2et_5{position:relative;width:246px;height:150px;border-radius:4px;background:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}._1GTwp{position:absolute;width:12px;height:12px;border-radius:50%;border:1px solid #fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.5);outline:none;cursor:pointer}body.keyboard-user ._1GTwp:active:focus,body.keyboard-user ._1GTwp:focus{box-shadow:inset 0 0 0 1px rgba(0,0,0,.5),0 0 0 2px #9dc5ed;background-color:#fff}._2u6iQ{justify-content:space-between;margin:12px 0}._2nK3v,._2u6iQ{display:flex}._x5t6q{border-radius:2px 0 0 2px}._kgCeQ,._x5t6q{width:19px;height:38px}._kgCeQ{border-radius:0 2px 2px 0}._2XplB{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:19px 19px;background-position:0 0,9.5px 0,9.5px -9.5px,0 9.5px}._22zSm{width:202px;height:38px;padding:0 4px;border-radius:1px;background:linear-gradient(90deg,red,red 2%,#ff0 18%,#0f0 34%,#0ff 50%,#00f 66%,#f0f 82%,red 98%,red)}._22zSm._1dmzO{height:16px;margin-bottom:6px}._1pBsm{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:38px;outline:none;cursor:pointer}._1pBsm._1dmzO{height:16px}body.keyboard-user ._1pBsm:active:focus,body.keyboard-user ._1pBsm:focus{box-shadow:0 0 0 2px #9dc5ed}._3piMZ{position:relative;background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(135deg,rgba(0,0,0,.1) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.1) 0),linear-gradient(135deg,transparent 75%,rgba(0,0,0,.1) 0);background-color:#fff;background-size:16px 16px;background-position:0 0,8px 0,8px -8px,0 8px;border-radius:1px}._25feD{width:202px;height:16px;padding:0 4px;border-radius:1px}._2oNtb{position:relative;background-color:#fff;border:1px solid rgba(0,0,0,.25);border-radius:1px;background-clip:padding-box;width:8px;height:16px;outline:none;cursor:pointer}body.keyboard-user ._2oNtb:active:focus,body.keyboard-user ._2oNtb:focus{box-shadow:0 0 0 2px #9dc5ed}._3SHPW{display:flex;justify-content:space-between}._2cUxO{display:flex;flex-direction:column;align-items:center}._2cUxO._1EEw7{margin-left:4px}._cm-C8{position:absolute;top:3px;left:5px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._dKlZd{padding:3px 4px 3px 13px!important;width:78px}._3DK_i{text-align:right;padding:3px 4px!important;width:34px}._3nxRF{position:relative}._yXFP0{text-align:right;padding:3px 16px 3px 4px!important;width:46px}._eIXtB{position:absolute;top:3px;right:4px;font-size:14px;line-height:20px;color:#32363a;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none}._3s3uU{line-height:22px}._1O9yP,._1oyt0{display:flex}._1O9yP{flex-wrap:wrap;margin:9px -3px -3px}._1DGFx{width:22px;height:22px;margin:3px;border-radius:4px;border:1px solid #e5e5e5;outline:none;cursor:pointer}body.keyboard-user ._1DGFx:active:focus,body.keyboard-user ._1DGFx:focus{box-shadow:0 0 0 2px #9dc5ed}._8frYA{display:none}._2-jeb{border:0;clip:rect(0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;position:absolute}";
57
57
 
58
58
  var ColorPickerStyles = /*#__PURE__*/(function () {
59
59
  styleInject(stylesheet);
package/next/package.json CHANGED
@@ -1 +1 @@
1
- {"main":"index.js","module":"index.es.js","dependencies":{"@babel/runtime-corejs3":"^7.10.2","@popperjs/core":"^2.10.2","@qualtrics/component-styles":"0.134.0","@qualtrics/ui-i18n":"0.14.0","classnames":"^2.2.6","core-js":"^3.6.5","focus-lock":"0.9.1","just-safe-get":"^2.0.0","prop-types":"^15.7.2","react-clientside-effect":"^1.2.5","react-popper":"^2.2.4","style-inject":"0.3.0","throttle-debounce":"^2.1.0","use-callback-ref":"^1.2.5","use-sidecar":"^1.0.5","uuid":"^8.3.2"}}
1
+ {"main":"index.js","module":"index.es.js","dependencies":{"@babel/runtime-corejs3":"^7.10.2","@popperjs/core":"^2.10.2","@qualtrics/component-styles":"0.134.0","@qualtrics/ui-i18n":"0.15.0","classnames":"^2.2.6","core-js":"^3.6.5","focus-lock":"0.9.1","just-safe-get":"^2.0.0","prop-types":"^15.7.2","react-clientside-effect":"^1.2.5","react-popper":"^2.2.4","style-inject":"0.3.0","throttle-debounce":"^2.1.0","use-callback-ref":"^1.2.5","use-sidecar":"^1.0.5","uuid":"^8.3.2"}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/ui-react",
3
- "version": "1.68.1-alpha.0",
3
+ "version": "1.69.0",
4
4
  "description": "Official Qualtrics UI component library designed for React",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,7 +30,7 @@
30
30
  "@babel/runtime-corejs3": "^7.10.2",
31
31
  "@popperjs/core": "^2.10.2",
32
32
  "@qualtrics/component-styles": "0.134.0",
33
- "@qualtrics/ui-i18n": "0.14.0",
33
+ "@qualtrics/ui-i18n": "0.15.0",
34
34
  "classnames": "^2.2.6",
35
35
  "core-js": "^3.6.5",
36
36
  "focus-lock": "0.9.1",