@qualtrics/ui-react 2.0.1-alpha.0 → 2.1.1
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.
- package/CHANGELOG.md +56 -1
- package/dist/__shared/cjs/{index-eae68a34.js → index-601d560e.js} +54 -49
- package/dist/__shared/cjs/{index-4e8591db.js → index-ad973a6b.js} +3 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button2.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner.js +3 -1
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/Controls.js +3 -2
- package/dist/components/LogicEditor/LogicEditor.js +2 -0
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal.js +10 -0
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/NumberStepper/NumberStepperInput.js +3 -0
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput.js +6 -2
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepperInput.js +3 -0
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/index.js +1 -1
- package/dist/index.d.ts +7 -3
- package/dist/index.es.js +1 -1
- package/dist/index.js +106 -89
- package/dist/next/AdvancedTable/AdvancedTable.js +24 -20
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTableCell.js +3 -4
- package/dist/next/AdvancedTable/AdvancedTableColumnHeader.js +4 -4
- package/dist/next/AdvancedTable/AdvancedTableColumnHeaderMenu.js +16 -7
- package/dist/next/AdvancedTable/AdvancedTablePagination.js +4 -2
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/index.d.ts +1 -0
- package/dist/next/index.js +69 -57
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"toolbar":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._2T1er,._20LYx{display:flex}._2T1er{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._1ekFC{width:69px;min-width:auto;max-width:none}._cpoAZ{width:100%}._2cWkv{margin-bottom:12px;background-color:transparent!important}._2cWkv:hover{background-color:rgba(11,110,208,.08)!important}._2cWkv:hover>svg{fill:#085caf}._2cWkv:hover>span{color:#085caf}._2cWkv:active{background-color:rgba(11,110,208,.12)!important}._2cWkv:active>svg{fill:#0854a1}._2cWkv:active>span{color:#0854a1}._2cWkv._3Zury{background-color:rgba(11,110,208,.08)!important}._2cWkv._3Zury>svg{fill:#0b6ed0}._2cWkv._3Zury>span{color:#0b6ed0}._2cWkv._3Zury:hover{background-color:rgba(11,110,208,.08)!important}._2cWkv._3Zury:hover>svg{fill:#085caf}._2cWkv._3Zury:hover>span{color:#085caf}._2cWkv._3Zury:active{background-color:rgba(11,110,208,.12)!important}._2cWkv._3Zury:active>svg{fill:#0854a1}._2cWkv._3Zury:active>span{color:#0854a1}._2VGhD{border-radius:6px}._2VGhD>._f9BbY{display:block;fill:#515559}._2D9I3{margin-top:auto;margin-bottom:0}._2W3Hm{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._2W3Hm:hover>._VlSDv{opacity:1}._qB03b{width:0;border-width:0;padding:0}._V_h0a{border-radius:4px;min-width:100%;min-height:100%;outline:none}._2ikhR{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._VlSDv{opacity:0}._2ikhR._3TUo6._3TUo6,._DIlYN,._VlSDv:hover{opacity:1}._2ikhR._3axow._3axow{opacity:0}._2ikhR>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._2ikhR>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._2ikhR>span:hover>svg{fill:#fff}._2ikhR>span:active{background-color:#0854a1;border-color:#0854a1}._2ikhR>span:active>svg{fill:#fff}._2ikhR>span>svg{fill:#515559;border-radius:50%}._V_h0a._FHvwy{display:none!important}._1aA5H{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._3PWzG{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._1q2aA{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._2rKuL{fill:#515559}._111mW{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}body.keyboard-user ._1aA5H:active:focus,body.keyboard-user ._1aA5H:focus,body.keyboard-user ._1q2aA:active:focus,body.keyboard-user ._1q2aA:focus,body.keyboard-user ._V_h0a:active:focus,body.keyboard-user ._V_h0a:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}body.keyboard-user ._2ikhR:focus{border-color:#0a3f88}body.keyboard-user ._2ikhR:active>span{background-color:#0854a1;border-color:#0854a1}body.keyboard-user ._2ikhR:active>span>svg{fill:#fff}body.keyboard-user ._VlSDv:focus{opacity:1}";
|
|
4
|
+
var styles = {"toolbar":"_20LYx","toolbarNav":"_2T1er","toolbarNavCollapsed":"_1ekFC","toolbarTabs":"_cpoAZ","toolbarTab":"_2cWkv","selected":"_3Zury","toolbarTabIconButton":"_2VGhD","icon":"_f9BbY","tabsExpandCollapseButton":"_2D9I3","toolbarPanels":"_2W3Hm","toolbarPanelExpandCollapseButtonDefaultHidden":"_VlSDv","toolbarPanelsCollapsed":"_qB03b","toolbarPanel":"_V_h0a","toolbarPanelExpandCollapseButton":"_2ikhR","toolbarPanelExpandCollapseButtonDefaultShown":"_DIlYN","overrideShow":"_3TUo6","overrideHide":"_3axow","notSelected":"_FHvwy","buttonWithLabel":"_1aA5H","buttonWithLabelLabel":"_3PWzG","iconButtonWithLabel":"_1q2aA","iconButtonWithLabelIcon":"_2rKuL","iconButtonWithLabelLabel":"_111mW"};
|
|
5
|
+
var stylesheet="._2T1er,._20LYx{display:flex}._2T1er{flex-direction:column;align-items:center;min-width:165px;max-width:240px;padding:12px 16px 16px;border-right:1px solid #898989;background-color:#fff}._1ekFC{width:69px;min-width:auto;max-width:none}._cpoAZ{width:100%}._2cWkv{margin-bottom:12px;background-color:transparent!important}._2cWkv:hover{background-color:rgba(11,110,208,.08)!important}._2cWkv:hover>svg{fill:#085caf}._2cWkv:hover>span{color:#085caf}._2cWkv:active{background-color:rgba(11,110,208,.12)!important}._2cWkv:active>svg{fill:#0854a1}._2cWkv:active>span{color:#0854a1}._2cWkv._3Zury{background-color:rgba(11,110,208,.08)!important}._2cWkv._3Zury>svg{fill:#0b6ed0}._2cWkv._3Zury>span{color:#0b6ed0}._2cWkv._3Zury:hover{background-color:rgba(11,110,208,.08)!important}._2cWkv._3Zury:hover>svg{fill:#085caf}._2cWkv._3Zury:hover>span{color:#085caf}._2cWkv._3Zury:active{background-color:rgba(11,110,208,.12)!important}._2cWkv._3Zury:active>svg{fill:#0854a1}._2cWkv._3Zury:active>span{color:#0854a1}._2VGhD{border-radius:6px}._2VGhD>._f9BbY{display:block;fill:#515559}._2D9I3{margin-top:auto;margin-bottom:0}._2W3Hm{position:relative;width:295px;background-color:#fff;padding:2px 1px 2px 2px;border-right:1px solid #898989}._2W3Hm:hover>._VlSDv{opacity:1}._qB03b{width:0;border-width:0;padding:0}._V_h0a{border-radius:4px;min-width:100%;min-height:100%;outline:none}._2ikhR{width:36px;height:36px;position:absolute;top:48px;right:-18px;display:flex;justify-content:center;align-items:center;padding:0;background-color:transparent;border:2px solid transparent;border-radius:6px;outline:none;cursor:pointer;z-index:10}._VlSDv{opacity:0}._2ikhR._3TUo6._3TUo6,._DIlYN,._VlSDv:hover{opacity:1}._2ikhR._3axow._3axow{opacity:0}._2ikhR>span{width:24px;height:24px;display:flex;justify-content:center;align-items:center;background-color:#fff;border:1px solid #898989;border-radius:50%}._2ikhR>span:hover{background-color:#0b6ed0;border-color:#0b6ed0}._2ikhR>span:hover>svg{fill:#fff}._2ikhR>span:active{background-color:#0854a1;border-color:#0854a1}._2ikhR>span:active>svg{fill:#fff}._2ikhR>span>svg{fill:#515559;border-radius:50%}._V_h0a._FHvwy{display:none!important}._1aA5H{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 7px}._3PWzG{font-size:14px;color:#515559;justify-self:left;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._1q2aA{width:100%;height:36px;display:flex;align-items:center;border:1px solid transparent;border-radius:4px;outline:none;cursor:pointer;padding:0 5px}._2rKuL{fill:#515559}._111mW{font-size:14px;color:#515559;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-left:5px}body.keyboard-user ._1aA5H:active:focus,body.keyboard-user ._1aA5H:focus,body.keyboard-user ._1q2aA:active:focus,body.keyboard-user ._1q2aA:focus,body.keyboard-user ._V_h0a:active:focus,body.keyboard-user ._V_h0a:focus{box-shadow:0 0 0 2px #fff,0 0 0 4px #0a3f88}body.keyboard-user ._2ikhR:focus{border-color:#0a3f88}body.keyboard-user ._2ikhR:active>span{background-color:#0854a1;border-color:#0854a1}body.keyboard-user ._2ikhR:active>span>svg{fill:#fff}body.keyboard-user ._VlSDv:focus{opacity:1}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var classes = {"ariaLiveElement":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._1mF6k{position:absolute;top:-10000px;left:-10000px}";
|
|
4
|
+
var classes = {"ariaLiveElement":"_1mF6k"};
|
|
5
|
+
var stylesheet="._1mF6k{position:absolute;top:-10000px;left:-10000px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { classes as default, stylesheet };
|
package/dist/icons/Icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import styleInject from './../__node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".
|
|
4
|
-
var styles = {"icon":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._1tuW7{flex-shrink:0}";
|
|
4
|
+
var styles = {"icon":"_1tuW7"};
|
|
5
|
+
var stylesheet="._1tuW7{flex-shrink:0}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
package/dist/icons/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var icons_index = require('../__shared/cjs/index-
|
|
5
|
+
var icons_index = require('../__shared/cjs/index-ad973a6b.js');
|
|
6
6
|
require('@babel/runtime-corejs3/helpers/extends');
|
|
7
7
|
require('react');
|
|
8
8
|
require('classnames');
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonHTMLAttributes } from 'react';
|
|
2
2
|
import type { ChangeEvent } from 'react';
|
|
3
3
|
import type { ClipboardEvent as ClipboardEvent_2 } from 'react';
|
|
4
|
-
import { ComponentType } from 'react';
|
|
5
4
|
import { ComputedPlacement } from '@popperjs/core';
|
|
6
5
|
import { CountryCode } from 'libphonenumber-js';
|
|
7
6
|
import type { FormEvent } from 'react';
|
|
@@ -10,6 +9,7 @@ import type { MouseEvent as MouseEvent_2 } from 'react';
|
|
|
10
9
|
import { MutableRefObject } from 'react';
|
|
11
10
|
import { default as React_2 } from 'react';
|
|
12
11
|
import * as React_3 from 'react';
|
|
12
|
+
import { ReactElement } from 'react';
|
|
13
13
|
import { ReactEventHandler } from 'react';
|
|
14
14
|
import { ReactNode } from 'react';
|
|
15
15
|
import { RefAttributes } from 'react';
|
|
@@ -1183,6 +1183,7 @@ export declare interface LoadingSpinnerProps extends Omit<React_2.AllHTMLAttribu
|
|
|
1183
1183
|
size?: 'xs' | 'small' | 'medium' | 'large';
|
|
1184
1184
|
role?: string;
|
|
1185
1185
|
'aria-label'?: string;
|
|
1186
|
+
'aria-labelledby'?: string;
|
|
1186
1187
|
'aria-live'?: 'off' | 'assertive' | 'polite';
|
|
1187
1188
|
'aria-hidden'?: boolean | 'true' | 'false';
|
|
1188
1189
|
[prop: string]: any;
|
|
@@ -1213,6 +1214,7 @@ export declare interface LogicEditorProps extends Omit<React_2.AllHTMLAttributes
|
|
|
1213
1214
|
onChange?: (value: LogicEditorSet | LogicEditorCondition) => void;
|
|
1214
1215
|
readOnly?: boolean;
|
|
1215
1216
|
maxNestedSets?: number;
|
|
1217
|
+
maxConditions?: number;
|
|
1216
1218
|
firstFocusableElementRef?: React_2.RefObject<HTMLElement>;
|
|
1217
1219
|
'data-testid'?: string;
|
|
1218
1220
|
[prop: string]: any;
|
|
@@ -1331,7 +1333,7 @@ declare interface NamedIconsProps extends React_2.SVGProps<SVGSVGElement> {
|
|
|
1331
1333
|
[prop: string]: any;
|
|
1332
1334
|
}
|
|
1333
1335
|
|
|
1334
|
-
declare type NavLink
|
|
1336
|
+
declare type NavLink = RenderFunction<NavLinkV5Props> | RenderFunction<NavLinkV6Props>;
|
|
1335
1337
|
|
|
1336
1338
|
declare interface NavLinkV5Props extends BaseNavLinkProps {
|
|
1337
1339
|
className: (isActive: boolean) => string;
|
|
@@ -1598,6 +1600,8 @@ export declare interface RangeSliderProps extends Omit<React_2.AllHTMLAttributes
|
|
|
1598
1600
|
[prop: string]: any;
|
|
1599
1601
|
}
|
|
1600
1602
|
|
|
1603
|
+
declare type RenderFunction<T> = (props: T & RefAttributes<HTMLAnchorElement>) => ReactElement<any, any> | null;
|
|
1604
|
+
|
|
1601
1605
|
export declare const SearchInput: React_2.ForwardRefExoticComponent<SearchInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
1602
1606
|
|
|
1603
1607
|
export declare interface SearchInputProps {
|
|
@@ -1647,7 +1651,7 @@ export declare interface SidebarNavProps {
|
|
|
1647
1651
|
isCollapsible?: boolean;
|
|
1648
1652
|
isCollapsed?: boolean;
|
|
1649
1653
|
onIsCollapsedChange?: (newIsCollapsed: boolean) => void;
|
|
1650
|
-
NavLink: NavLink
|
|
1654
|
+
NavLink: NavLink;
|
|
1651
1655
|
'aria-label'?: string;
|
|
1652
1656
|
'aria-labelledby'?: string;
|
|
1653
1657
|
'aria-describedby'?: string;
|