@qualtrics/ui-react 2.0.1-alpha.0 → 2.1.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.
- package/CHANGELOG.md +37 -1
- package/dist/__shared/cjs/{index-4e8591db.js → index-80e2e7de.js} +3 -3
- package/dist/__shared/cjs/{index-eae68a34.js → index-f3b44352.js} +51 -48
- 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/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 +6 -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 +2 -2
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-80e2e7de.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';
|
|
@@ -1213,6 +1213,7 @@ export declare interface LogicEditorProps extends Omit<React_2.AllHTMLAttributes
|
|
|
1213
1213
|
onChange?: (value: LogicEditorSet | LogicEditorCondition) => void;
|
|
1214
1214
|
readOnly?: boolean;
|
|
1215
1215
|
maxNestedSets?: number;
|
|
1216
|
+
maxConditions?: number;
|
|
1216
1217
|
firstFocusableElementRef?: React_2.RefObject<HTMLElement>;
|
|
1217
1218
|
'data-testid'?: string;
|
|
1218
1219
|
[prop: string]: any;
|
|
@@ -1331,7 +1332,7 @@ declare interface NamedIconsProps extends React_2.SVGProps<SVGSVGElement> {
|
|
|
1331
1332
|
[prop: string]: any;
|
|
1332
1333
|
}
|
|
1333
1334
|
|
|
1334
|
-
declare type NavLink
|
|
1335
|
+
declare type NavLink = RenderFunction<NavLinkV5Props> | RenderFunction<NavLinkV6Props>;
|
|
1335
1336
|
|
|
1336
1337
|
declare interface NavLinkV5Props extends BaseNavLinkProps {
|
|
1337
1338
|
className: (isActive: boolean) => string;
|
|
@@ -1598,6 +1599,8 @@ export declare interface RangeSliderProps extends Omit<React_2.AllHTMLAttributes
|
|
|
1598
1599
|
[prop: string]: any;
|
|
1599
1600
|
}
|
|
1600
1601
|
|
|
1602
|
+
declare type RenderFunction<T> = (props: T & RefAttributes<HTMLAnchorElement>) => ReactElement<any, any> | null;
|
|
1603
|
+
|
|
1601
1604
|
export declare const SearchInput: React_2.ForwardRefExoticComponent<SearchInputProps & React_2.RefAttributes<HTMLInputElement>>;
|
|
1602
1605
|
|
|
1603
1606
|
export declare interface SearchInputProps {
|
|
@@ -1647,7 +1650,7 @@ export declare interface SidebarNavProps {
|
|
|
1647
1650
|
isCollapsible?: boolean;
|
|
1648
1651
|
isCollapsed?: boolean;
|
|
1649
1652
|
onIsCollapsedChange?: (newIsCollapsed: boolean) => void;
|
|
1650
|
-
NavLink: NavLink
|
|
1653
|
+
NavLink: NavLink;
|
|
1651
1654
|
'aria-label'?: string;
|
|
1652
1655
|
'aria-labelledby'?: string;
|
|
1653
1656
|
'aria-describedby'?: string;
|