@qualtrics/ui-react 2.26.0 → 2.27.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 +24 -0
- package/dist/__shared/cjs/{index-dc6f69ac.js → index-88aa3bce.js} +138 -133
- package/dist/__shared/cjs/{index-ae6df097.js → index-e6893573.js} +23 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/Checkbox/VisualCheckbox2.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/Icon/IconTypes.js +5 -0
- 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/LogicEditor2.js +3 -3
- 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/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/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_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/AIChatbotIcon.js +6 -0
- package/dist/icons/components/LinesIcon.js +6 -0
- package/dist/icons/components/RobotConversationalIcon.js +6 -0
- package/dist/icons/components/ScatterPlotIcon.js +6 -0
- package/dist/icons/components/UnmoderatedUserTestingIcon.js +6 -0
- package/dist/icons/index.d.ts +10 -0
- package/dist/icons/index.es.js +5 -0
- package/dist/icons/index.js +6 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable.js +28 -2
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/CollectionGrid/CollectionGrid.js +34 -0
- package/dist/next/CollectionGrid/CollectionGridItem.js +18 -0
- package/dist/next/CollectionGrid/index.js +2 -0
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LayoutGrid/LayoutGrid.js +38 -0
- package/dist/next/LayoutGrid/LayoutGridItem.js +23 -0
- package/dist/next/LayoutGrid/index.js +2 -0
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/Stack/Stack.js +1 -18
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.d.ts +40 -0
- package/dist/next/index.es.js +6 -0
- package/dist/next/index.js +228 -94
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/dist/utils/GridChildrenWrapper/GridChildrenWrapper.js +30 -0
- package/dist/utils/GridChildrenWrapper/index.js +1 -0
- package/icons/package.json +1 -1
- package/next/package.json +2 -2
- package/package.json +3 -3
|
@@ -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 = {"flyout":"
|
|
5
|
-
var stylesheet=".
|
|
3
|
+
var css_248z = "._8eFF6{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._TdY2n{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._TdY2n._ghtK9._TdY2n:hover,._TdY2n._N4NvM{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._TdY2n._6PTJ9{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._TdY2n._6PTJ9._ghtK9._TdY2n._6PTJ9:hover,._TdY2n._6PTJ9._N4NvM{background-color:#e4effa}._TdY2n:active:not(._6PTJ9):not([aria-disabled=true]){background-color:#e8e9e9}._GUceR ._LX0He{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._GUceR ._IBpgq{display:none}._GUceR:not(:first-child) ._IBpgq{display:block;margin:3.5px 0}._tvTT6{width:100%;height:40px}";
|
|
4
|
+
var styles = {"flyout":"_8eFF6","flyoutOption":"_TdY2n","highlighted":"_N4NvM","hoverHighlight":"_ghtK9","selected":"_6PTJ9","flyoutHeader":"_GUceR","headerContent":"_LX0He","headerDivider":"_IBpgq","flyoutSpinner":"_tvTT6"};
|
|
5
|
+
var stylesheet="._8eFF6{background-color:#fff;border-radius:4px;border:4px solid transparent;border-right:none;border-left:none;box-shadow:0 0 0 1px #eee,0 8px 20px rgba(0,0,0,.1),0 4px 6px rgba(0,0,0,.05);z-index:1000;max-width:500px;overflow-x:hidden;overflow-y:auto;overflow:hidden auto}._TdY2n{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;cursor:pointer;font-size:14px;color:#32363a;word-break:break-word;outline:none}._TdY2n._ghtK9._TdY2n:hover,._TdY2n._N4NvM{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._TdY2n._6PTJ9{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._TdY2n._6PTJ9._ghtK9._TdY2n._6PTJ9:hover,._TdY2n._6PTJ9._N4NvM{background-color:#e4effa}._TdY2n:active:not(._6PTJ9):not([aria-disabled=true]){background-color:#e8e9e9}._GUceR ._LX0He{min-height:40px;padding:10px 12px;display:flex;flex-direction:row;align-items:center;font-size:12px;color:#32363a;font-weight:700;word-break:break-word}._GUceR ._IBpgq{display:none}._GUceR:not(:first-child) ._IBpgq{display:block;margin:3.5px 0}._tvTT6{width:100%;height:40px}";
|
|
6
6
|
if(typeof process !== 'object' || !process.hasOwnProperty('env') || process.env.NODE_ENV !== 'test'){styleInject(css_248z);}
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React__default, { isValidElement, cloneElement } from 'react';
|
|
2
|
+
import '../mergeRefs/index.js';
|
|
3
|
+
import mergeRefs from '../mergeRefs/mergeRefs.js';
|
|
4
|
+
|
|
5
|
+
const GridChildrenWrapper = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
|
|
6
|
+
let {
|
|
7
|
+
asChild,
|
|
8
|
+
style,
|
|
9
|
+
'data-testid': dataTestId,
|
|
10
|
+
children
|
|
11
|
+
} = _ref;
|
|
12
|
+
if (asChild && /*#__PURE__*/isValidElement(children)) {
|
|
13
|
+
return /*#__PURE__*/cloneElement(children, {
|
|
14
|
+
style: {
|
|
15
|
+
...children.props.style,
|
|
16
|
+
...style
|
|
17
|
+
},
|
|
18
|
+
ref: mergeRefs(children.ref, ref)
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
22
|
+
ref: ref,
|
|
23
|
+
"data-testid": dataTestId,
|
|
24
|
+
style: {
|
|
25
|
+
...style
|
|
26
|
+
}
|
|
27
|
+
}, children);
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
export { GridChildrenWrapper, GridChildrenWrapper as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GridChildrenWrapper as default } from './GridChildrenWrapper.js';
|
package/icons/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"@babel/runtime-corejs3": "^7.10.2",
|
|
7
7
|
"@juggle/resize-observer": "^3.4.0",
|
|
8
8
|
"@popperjs/core": "^2.10.2",
|
|
9
|
-
"@qualtrics/component-styles": "0.
|
|
9
|
+
"@qualtrics/component-styles": "0.143.0",
|
|
10
10
|
"@radix-ui/react-dropdown-menu": "2.0.5",
|
|
11
11
|
"@react-aria/interactions": "^3.15.1",
|
|
12
12
|
"@react-hook/resize-observer": "^1.2.6",
|
package/next/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"@babel/runtime-corejs3": "^7.10.2",
|
|
7
7
|
"@juggle/resize-observer": "^3.4.0",
|
|
8
8
|
"@popperjs/core": "^2.10.2",
|
|
9
|
-
"@qualtrics/component-styles": "0.
|
|
9
|
+
"@qualtrics/component-styles": "0.143.0",
|
|
10
10
|
"@radix-ui/react-dropdown-menu": "2.0.5",
|
|
11
11
|
"@react-aria/interactions": "^3.15.1",
|
|
12
12
|
"@react-hook/resize-observer": "^1.2.6",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"uuid": "^8.3.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@qualtrics/ui-react": "2.
|
|
27
|
+
"@qualtrics/ui-react": "2.27.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "Official Qualtrics UI component library designed for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@babel/runtime-corejs3": "^7.10.2",
|
|
96
96
|
"@juggle/resize-observer": "^3.4.0",
|
|
97
97
|
"@popperjs/core": "^2.10.2",
|
|
98
|
-
"@qualtrics/component-styles": "0.
|
|
98
|
+
"@qualtrics/component-styles": "0.143.0",
|
|
99
99
|
"@radix-ui/react-dropdown-menu": "2.0.5",
|
|
100
100
|
"@react-aria/interactions": "^3.15.1",
|
|
101
101
|
"@react-hook/resize-observer": "^1.2.6",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"@cypress/webpack-dev-server": "^1.7.0",
|
|
124
124
|
"@emotion/css": "^11.10.0",
|
|
125
125
|
"@microsoft/api-extractor": "^7.19.4",
|
|
126
|
-
"@qualtrics-translations/qualtricsdesignsystemui": "0.6.
|
|
126
|
+
"@qualtrics-translations/qualtricsdesignsystemui": "0.6.20557",
|
|
127
127
|
"@qualtrics-translations/qualtricsdesignsystemuicountries": "^0.6.13525",
|
|
128
128
|
"@rollup/plugin-babel": "^5.0.2",
|
|
129
129
|
"@rollup/plugin-commonjs": "^22.0.1",
|