@qualtrics/ui-react 2.10.0 → 2.11.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 +10 -0
- package/dist/__shared/cjs/{index-0ef0b03a.js → index-30148ada.js} +3 -3
- package/dist/__shared/cjs/{index-74ef768b.js → index-bb7befc3.js} +63 -50
- 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/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/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/index.js +1 -0
- package/dist/hooks/useOverlay/useOverlay.js +70 -0
- package/dist/hooks/useOverlay/useOverlay2.js +8 -0
- 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.es.js +1 -1
- package/dist/index.js +88 -101
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer.js +138 -0
- package/dist/next/Drawer/Drawer2.js +8 -0
- package/dist/next/Drawer/index.js +1 -0
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.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 +19 -0
- package/dist/next/index.es.js +2 -0
- package/dist/next/index.js +335 -145
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/package.json +11 -10
|
@@ -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 = "._lXomS{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}._31gh3{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}._31gh3._1wLfG,._31gh3._2c_7I._31gh3:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._31gh3._9DVzX{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._31gh3._9DVzX._1wLfG,._31gh3._9DVzX._2c_7I._31gh3._9DVzX:hover{background-color:#e4effa}._31gh3:active:not(._9DVzX):not([aria-disabled=true]){background-color:#e8e9e9}._1jjmm ._25Ccz{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}._1jjmm ._3dU_a{display:none}._1jjmm:not(:first-child) ._3dU_a{display:block;margin:3.5px 0}._3HRjg{width:100%;height:40px}";
|
|
4
|
+
var styles = {"flyout":"_lXomS","flyoutOption":"_31gh3","highlighted":"_1wLfG","hoverHighlight":"_2c_7I","selected":"_9DVzX","flyoutHeader":"_1jjmm","headerContent":"_25Ccz","headerDivider":"_3dU_a","flyoutSpinner":"_3HRjg"};
|
|
5
|
+
var stylesheet="._lXomS{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}._31gh3{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}._31gh3._1wLfG,._31gh3._2c_7I._31gh3:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._31gh3._9DVzX{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._31gh3._9DVzX._1wLfG,._31gh3._9DVzX._2c_7I._31gh3._9DVzX:hover{background-color:#e4effa}._31gh3:active:not(._9DVzX):not([aria-disabled=true]){background-color:#e8e9e9}._1jjmm ._25Ccz{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}._1jjmm ._3dU_a{display:none}._1jjmm:not(:first-child) ._3dU_a{display:block;margin:3.5px 0}._3HRjg{width:100%;height:40px}";
|
|
6
6
|
styleInject(css_248z);
|
|
7
7
|
|
|
8
8
|
export { styles as default, stylesheet };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/ui-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "Official Qualtrics UI component library designed for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -126,13 +126,13 @@
|
|
|
126
126
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
127
127
|
"@rollup/plugin-replace": "^3.0.0",
|
|
128
128
|
"@testing-library/cypress": "^8.0.1",
|
|
129
|
-
"@testing-library/jest-dom": "^5.
|
|
130
|
-
"@testing-library/react": "^
|
|
131
|
-
"@testing-library/react-hooks": "^
|
|
129
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
130
|
+
"@testing-library/react": "^12.1.5",
|
|
131
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
132
132
|
"@testing-library/user-event": "^12.2.2",
|
|
133
133
|
"@types/classnames": "^2.2.6",
|
|
134
134
|
"@types/estree": "^0.0.52",
|
|
135
|
-
"@types/jest": "^
|
|
135
|
+
"@types/jest": "^29.5.0",
|
|
136
136
|
"@types/node": "^16.11.7",
|
|
137
137
|
"@types/react": "^17.0.33",
|
|
138
138
|
"@types/react-dom": "^17.0.10",
|
|
@@ -163,12 +163,12 @@
|
|
|
163
163
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
164
164
|
"html-webpack-plugin": "^5.5.0",
|
|
165
165
|
"identity-obj-proxy": "^3.0.0",
|
|
166
|
-
"jest": "^
|
|
167
|
-
"jest-
|
|
166
|
+
"jest": "^29.5.0",
|
|
167
|
+
"jest-environment-jsdom": "^29.5.0",
|
|
168
|
+
"jest-junit": "^15.0.0",
|
|
168
169
|
"less": "3.13.1",
|
|
169
170
|
"less-loader": "^10.2.0",
|
|
170
171
|
"memfs": "^3.3.0",
|
|
171
|
-
"mocha": "^9.2.2",
|
|
172
172
|
"npm-run-all": "^4.1.5",
|
|
173
173
|
"postcss": "^7.0.35",
|
|
174
174
|
"postcss-modules": "^2.0.0",
|
|
@@ -178,7 +178,6 @@
|
|
|
178
178
|
"react": "^17.0.2",
|
|
179
179
|
"react-dom": "^17.0.2",
|
|
180
180
|
"react-router-dom": "^5.3.3",
|
|
181
|
-
"react-test-renderer": "^17.0.2",
|
|
182
181
|
"rimraf": "^3.0.2",
|
|
183
182
|
"rollup": "^2.75.6",
|
|
184
183
|
"rollup-plugin-postcss": "3.1.8",
|
|
@@ -240,11 +239,13 @@
|
|
|
240
239
|
"statements": 75
|
|
241
240
|
}
|
|
242
241
|
},
|
|
242
|
+
"resolver": "./test/resolver.js",
|
|
243
243
|
"setupFilesAfterEnv": [
|
|
244
244
|
"./jest.setup.ts"
|
|
245
245
|
],
|
|
246
246
|
"moduleNameMapper": {
|
|
247
247
|
"\\.(css|less)$": "identity-obj-proxy"
|
|
248
|
-
}
|
|
248
|
+
},
|
|
249
|
+
"testEnvironment": "jsdom"
|
|
249
250
|
}
|
|
250
251
|
}
|