@qualtrics/ui-react 2.85.2 → 2.85.5
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 +25 -0
- package/dist/__node_modules/@radix-ui/primitive/dist/index.js +14 -3
- package/dist/__node_modules/@radix-ui/primitive/dist/internal/is-development.false.js +4 -0
- package/dist/__node_modules/@radix-ui/react-arrow/dist/index.js +9 -6
- package/dist/__node_modules/@radix-ui/react-collection/dist/index.js +263 -153
- package/dist/__node_modules/@radix-ui/react-compose-refs/dist/index.js +8 -1
- package/dist/__node_modules/@radix-ui/react-context/dist/index.js +35 -12
- package/dist/__node_modules/@radix-ui/react-direction/dist/index.js +16 -6
- package/dist/__node_modules/@radix-ui/react-dismissable-layer/dist/index.js +172 -43
- package/dist/__node_modules/@radix-ui/react-dropdown-menu/dist/index.js +76 -95
- package/dist/__node_modules/@radix-ui/react-focus-guards/dist/index.js +30 -6
- package/dist/__node_modules/@radix-ui/react-focus-scope/dist/index.js +111 -30
- package/dist/__node_modules/@radix-ui/react-id/dist/index.js +6 -0
- package/dist/__node_modules/@radix-ui/react-menu/dist/index.js +232 -197
- package/dist/__node_modules/@radix-ui/react-popper/dist/index.js +104 -49
- package/dist/__node_modules/@radix-ui/react-portal/dist/index.js +10 -8
- package/dist/__node_modules/@radix-ui/react-presence/dist/index.js +72 -14
- package/dist/__node_modules/@radix-ui/react-primitive/dist/index.js +8 -2
- package/dist/__node_modules/@radix-ui/react-roving-focus/dist/index.js +52 -18
- package/dist/__node_modules/@radix-ui/react-slot/dist/index.js +106 -54
- package/dist/__node_modules/@radix-ui/react-use-callback-ref/dist/index.js +17 -4
- package/dist/__node_modules/@radix-ui/react-use-controllable-state/dist/index.js +14 -4
- package/dist/__node_modules/@radix-ui/react-use-effect-event/dist/index.js +6 -1
- package/dist/__node_modules/@radix-ui/react-use-is-hydrated/dist/index.js +37 -0
- package/dist/__node_modules/@radix-ui/react-use-layout-effect/dist/index.js +1 -1
- package/dist/__node_modules/@radix-ui/react-use-size/dist/index.js +28 -15
- package/dist/__shared/cjs/{index-e03dac36.js → index-bd03241f.js} +213 -208
- package/dist/__shared/cjs/{index-507024ee.js → index-ccb5282a.js} +12 -3
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +52 -6
- package/dist/components/Button/Button2.js +6 -52
- package/dist/components/Button/index.js +1 -1
- 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/ColorPicker/ColorPickerFlyout.js +1 -1
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane.js +6 -2
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/ChildIndexContext/reach-descendants.js +1 -1
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker.js +1 -1
- 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 +1 -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/Pagination/PaginationNextButton.js +1 -1
- package/dist/components/Pagination/PaginationPreviousButton.js +1 -1
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch.js +1 -1
- 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/ColorPicker.js +1 -1
- 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/design-tokens/less/typography.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/PulseIcon.js +11 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.es.js +1 -0
- package/dist/icons/index.js +2 -1
- package/dist/index.d.ts +72 -71
- package/dist/index.es.js +2 -2
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/Chat/Loader.js +1 -1
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- 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/Form/FormFields/InputField.js +3 -3
- package/dist/next/Indicator/Indicator2.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/next/Menu/Hooks/useFlyoutNode.js +48 -0
- package/dist/next/Menu/Menu.js +2 -2
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/Menu/MenuButton.js +6 -5
- package/dist/next/Menu/MenuItem.js +5 -4
- package/dist/next/Menu/MenuPane.js +20 -19
- package/dist/next/Menu/PaneChildren.js +15 -10
- package/dist/next/Menu/SubMenu.js +22 -21
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton.js +1 -1
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/ToggleButton.js +1 -1
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/index.js +1581 -850
- package/dist/translations-en.js +71 -71
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +4 -4
- package/next/package.json +5 -5
- package/package.json +16 -16
- package/dist/__node_modules/@radix-ui/react-use-escape-keydown/dist/index.js +0 -23
package/dist/translations-en.js
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
/* DO NOT MODIFY - THIS IS AN AUTO-GENERATED FILE */
|
|
2
2
|
var FALLBACK_LOCALIZED_TEXT = {
|
|
3
|
-
"
|
|
4
|
-
"
|
|
3
|
+
"advancedTable.arrowKeyDescription": "To navigate between rows and cells, use the arrow keys.",
|
|
4
|
+
"advancedTable.collapseRow": "Collapse row",
|
|
5
|
+
"advancedTable.expandRow": "Expand row",
|
|
6
|
+
"advancedTable.moveColumnLeft": "Move column left",
|
|
7
|
+
"advancedTable.moveColumnRight": "Move column right",
|
|
8
|
+
"advancedTable.pinColumn": "Pin column",
|
|
9
|
+
"advancedTable.rowActionDescription": "To perform a row action, click or press enter.",
|
|
10
|
+
"advancedTable.rowCheckboxDescription": "To check or uncheck a row for bulk actions, press space.",
|
|
11
|
+
"advancedTable.unpinColumn": "Unpin column",
|
|
12
|
+
"alpha": "opacity",
|
|
13
|
+
"alphaChannel": "alpha channel",
|
|
14
|
+
"blueChannel": "blue channel",
|
|
15
|
+
"buttonLabel": "Button",
|
|
16
|
+
"chat.accessibleMessageLabel": "{{actorLabel}}. {{messageText}}",
|
|
5
17
|
"chat.botLabel": "Qualtrics Assist said:",
|
|
6
|
-
"chat.
|
|
18
|
+
"chat.cancelButtonLabel": "Cancel request",
|
|
7
19
|
"chat.inputCharacterCounter": "{{current}} out of {{max}} characters used",
|
|
20
|
+
"chat.inputHelperText": "Describe your request in {{max}} characters or less",
|
|
21
|
+
"chat.inputLabel": "Type a message",
|
|
8
22
|
"chat.loaderLabel": "Loading",
|
|
9
|
-
"chat.cancelButtonLabel": "Cancel request",
|
|
10
|
-
"chat.accessibleMessageLabel": "{{actorLabel}}. {{messageText}}",
|
|
11
23
|
"chat.maxCharacterLimit": "Max character limit reached",
|
|
12
|
-
"chat.
|
|
13
|
-
"
|
|
24
|
+
"chat.sendMessageButtonLabel": "Send message",
|
|
25
|
+
"chat.userLabel": "You said:",
|
|
26
|
+
"checked": "checked",
|
|
27
|
+
"clearSearchInput": "Clear search input",
|
|
28
|
+
"close": "Close",
|
|
29
|
+
"collapsibleSearchInput.openSearchField": "Open Search Field",
|
|
30
|
+
"colorPicker.alphaChannelLabel": "A",
|
|
31
|
+
"colorPicker.blueChannelLabel": "B",
|
|
32
|
+
"colorPicker.clearSelection": "Clear Selection",
|
|
33
|
+
"colorPicker.greenChannelLabel": "G",
|
|
34
|
+
"colorPicker.hexLabel": "Hex",
|
|
35
|
+
"colorPicker.noColor": "No Color",
|
|
36
|
+
"colorPicker.redChannelLabel": "R",
|
|
37
|
+
"colorPicker.selectColorPlaceholder": "Select Color",
|
|
38
|
+
"colorPickerAnchorDesc": "Open color customization menu. Current color: {{colorName}} {{colorHex}}",
|
|
39
|
+
"configPane.hidePanel": "Hide panel",
|
|
40
|
+
"configPane.pinPanel": "Pin panel",
|
|
41
|
+
"configPane.showPanel": "Show panel",
|
|
42
|
+
"configPane.unpinPanel": "Unpin panel",
|
|
43
|
+
"currentPage": "Current Page",
|
|
44
|
+
"currentPageNumber": "Current Page: {{currentPage}}",
|
|
45
|
+
"currentPageNumberOf": "Current Page: {{currentPage}} of {{numPages}}",
|
|
46
|
+
"decrement": "Decrement",
|
|
47
|
+
"degrees": "{{hue}} degrees",
|
|
14
48
|
"filePicker.multiple": "Choose files",
|
|
49
|
+
"filePicker.single": "Choose file",
|
|
50
|
+
"firstPage": "First Page",
|
|
51
|
+
"greenChannel": "green channel",
|
|
52
|
+
"hex": "hex",
|
|
53
|
+
"hideLabels": "Hide Labels",
|
|
54
|
+
"hidePanel": "Hide Panel",
|
|
55
|
+
"hue": "hue",
|
|
56
|
+
"increment": "Increment",
|
|
57
|
+
"lastPage": "Last Page",
|
|
58
|
+
"loading": "Loading",
|
|
59
|
+
"locked": "Locked",
|
|
15
60
|
"logicEditor.all": "All of the following are true",
|
|
16
61
|
"logicEditor.any": "Any of the following are true",
|
|
62
|
+
"logicEditor.conditionActions": "Condition actions",
|
|
63
|
+
"logicEditor.delete": "Delete",
|
|
17
64
|
"logicEditor.insertConditionBelow": "Insert condition below",
|
|
18
65
|
"logicEditor.insertSetBelow": "Insert condition set below",
|
|
19
|
-
"logicEditor.delete": "Delete",
|
|
20
|
-
"logicEditor.conditionActions": "Condition actions",
|
|
21
66
|
"menu.noItemsToDisplay": "No items to display",
|
|
67
|
+
"mixed": "mixed",
|
|
68
|
+
"newOptionsLoaded": "New options loaded.",
|
|
69
|
+
"newOptionsLoading": "New options loading.",
|
|
70
|
+
"nextPage": "Next Page",
|
|
71
|
+
"noMatchesFound": "No matches found",
|
|
22
72
|
"pagination": "{{currentPage}} of {{numPages}}",
|
|
73
|
+
"palette": "color palette",
|
|
23
74
|
"previousPage": "Previous Page",
|
|
24
|
-
"
|
|
75
|
+
"readOnly": "Read only",
|
|
76
|
+
"redChannel": "red channel",
|
|
77
|
+
"rowDisplayCount": "View {{select}} per page",
|
|
78
|
+
"saturation": "saturation",
|
|
79
|
+
"saturationPercent": "saturation: {{hsvSaturation}}%",
|
|
25
80
|
"searchText": "Search...",
|
|
26
|
-
"
|
|
27
|
-
"noMatchesFound": "No matches found",
|
|
28
|
-
"close": "Close",
|
|
29
|
-
"configPane.showPanel": "Show panel",
|
|
30
|
-
"configPane.hidePanel": "Hide panel",
|
|
31
|
-
"configPane.pinPanel": "Pin panel",
|
|
32
|
-
"configPane.unpinPanel": "Unpin panel",
|
|
33
|
-
"increment": "Increment",
|
|
34
|
-
"decrement": "Decrement",
|
|
35
|
-
"collapsibleSearchInput.openSearchField": "Open Search Field",
|
|
36
|
-
"toolbar.showToolbar": "Show Toolbar",
|
|
81
|
+
"selectColor": "select color",
|
|
37
82
|
"selectOne": "Select one",
|
|
38
83
|
"selectOneOrMore": "Select one or more",
|
|
39
84
|
"selectedItems": "Selected items",
|
|
40
|
-
"toolbar.hideToolbar": "Hide Toolbar",
|
|
41
|
-
"showPanel": "Show Panel",
|
|
42
|
-
"hidePanel": "Hide Panel",
|
|
43
85
|
"showLabels": "Show Labels",
|
|
44
|
-
"
|
|
45
|
-
"loading": "Loading",
|
|
46
|
-
"colorPickerAnchorDesc": "Open color customization menu. Current color: {{colorName}} {{colorHex}}",
|
|
47
|
-
"saturation": "saturation",
|
|
86
|
+
"showPanel": "Show Panel",
|
|
48
87
|
"slider2D": "2-dimensional slider",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"degrees": "{{hue}} degrees",
|
|
53
|
-
"alpha": "opacity",
|
|
54
|
-
"hex": "hex",
|
|
55
|
-
"redChannel": "red channel",
|
|
56
|
-
"greenChannel": "green channel",
|
|
57
|
-
"blueChannel": "blue channel",
|
|
58
|
-
"alphaChannel": "alpha channel",
|
|
59
|
-
"palette": "color palette",
|
|
60
|
-
"selectColor": "select color",
|
|
61
|
-
"colorPicker.noColor": "No Color",
|
|
62
|
-
"colorPicker.clearSelection": "Clear Selection",
|
|
63
|
-
"colorPicker.selectColorPlaceholder": "Select Color",
|
|
64
|
-
"colorPicker.hexLabel": "Hex",
|
|
65
|
-
"colorPicker.redChannelLabel": "R",
|
|
66
|
-
"colorPicker.greenChannelLabel": "G",
|
|
67
|
-
"colorPicker.blueChannelLabel": "B",
|
|
68
|
-
"colorPicker.alphaChannelLabel": "A",
|
|
69
|
-
"checked": "checked",
|
|
88
|
+
"splitButtonMoreOptionLabel": "Press the down arrow to access more options.",
|
|
89
|
+
"toolbar.hideToolbar": "Hide Toolbar",
|
|
90
|
+
"toolbar.showToolbar": "Show Toolbar",
|
|
70
91
|
"unchecked": "unchecked",
|
|
71
|
-
"
|
|
72
|
-
"advancedTable.arrowKeyDescription": "To navigate between rows and cells, use the arrow keys.",
|
|
73
|
-
"advancedTable.rowActionDescription": "To perform a row action, click or press enter.",
|
|
74
|
-
"advancedTable.rowCheckboxDescription": "To check or uncheck a row for bulk actions, press space.",
|
|
75
|
-
"advancedTable.pinColumn": "Pin column",
|
|
76
|
-
"advancedTable.unpinColumn": "Unpin column",
|
|
77
|
-
"advancedTable.moveColumnLeft": "Move column left",
|
|
78
|
-
"advancedTable.moveColumnRight": "Move column right",
|
|
79
|
-
"advancedTable.expandRow": "Expand row",
|
|
80
|
-
"advancedTable.collapseRow": "Collapse row",
|
|
81
|
-
"readOnly": "Read only",
|
|
82
|
-
"newOptionsLoading": "New options loading.",
|
|
83
|
-
"newOptionsLoaded": "New options loaded.",
|
|
84
|
-
"locked": "Locked",
|
|
85
|
-
"currentPage": "Current Page",
|
|
86
|
-
"firstPage": "First Page",
|
|
87
|
-
"lastPage": "Last Page",
|
|
88
|
-
"currentPageNumber": "Current Page: {{currentPage}}",
|
|
89
|
-
"currentPageNumberOf": "Current Page: {{currentPage}} of {{numPages}}",
|
|
90
|
-
"rowDisplayCount": "View {{select}} per page",
|
|
91
|
-
"buttonLabel": "Button",
|
|
92
|
-
"splitButtonMoreOptionLabel": "Press the down arrow to access more options."
|
|
92
|
+
"valuePercent": "value: {{hsvValue}}%"
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
export { FALLBACK_LOCALIZED_TEXT as default };
|
|
@@ -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 = "._wC6sJ{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}._M3mj0{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}._M3mj0._1OWU1,._M3mj0._EO-2Z._M3mj0:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._M3mj0._WYvdj{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._M3mj0._WYvdj._1OWU1,._M3mj0._WYvdj._EO-2Z._M3mj0._WYvdj:hover{background-color:#e4effa}._M3mj0:active:not(._WYvdj):not([aria-disabled=true]){background-color:#e8e9e9}._-MTGg ._d-2h0{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}._-MTGg ._amCao{display:none}._-MTGg:not(:first-child) ._amCao{display:block;margin:3.5px 0}._iwCw-{width:100%;height:40px}";
|
|
4
|
+
var styles = {"flyout":"_wC6sJ","flyoutOption":"_M3mj0","highlighted":"_1OWU1","hoverHighlight":"_EO-2Z","selected":"_WYvdj","flyoutHeader":"_-MTGg","headerContent":"_d-2h0","headerDivider":"_amCao","flyoutSpinner":"_iwCw-"};
|
|
5
|
+
var stylesheet="._wC6sJ{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}._M3mj0{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}._M3mj0._1OWU1,._M3mj0._EO-2Z._M3mj0:hover{background-color:#efefef;box-shadow:inset 0 0 0 2px #0a3f88,inset 0 0 0 4px #fff;border-radius:6px}._M3mj0._WYvdj{background-color:#ebf3fb;font-weight:500;font-family:\"72Duplex\",\"72\",\"Helvetica Neue\",Helvetica,Arial,sans-serif}._M3mj0._WYvdj._1OWU1,._M3mj0._WYvdj._EO-2Z._M3mj0._WYvdj:hover{background-color:#e4effa}._M3mj0:active:not(._WYvdj):not([aria-disabled=true]){background-color:#e8e9e9}._-MTGg ._d-2h0{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}._-MTGg ._amCao{display:none}._-MTGg:not(:first-child) ._amCao{display:block;margin:3.5px 0}._iwCw-{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 };
|
package/icons/package.json
CHANGED
|
@@ -4,22 +4,22 @@
|
|
|
4
4
|
"types": "../dist/icons/index.d.ts",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
7
|
-
"@dnd-kit/core": "6.1
|
|
7
|
+
"@dnd-kit/core": "6.3.1",
|
|
8
8
|
"@dnd-kit/modifiers": "7.0.0",
|
|
9
9
|
"@floating-ui/react-dom": "^2.1.2",
|
|
10
10
|
"@juggle/resize-observer": "^3.4.0",
|
|
11
11
|
"@qualtrics/component-styles": "0.159.1",
|
|
12
|
-
"@radix-ui/react-dropdown-menu": "2.1
|
|
12
|
+
"@radix-ui/react-dropdown-menu": "2.2.1",
|
|
13
13
|
"@react-aria/interactions": "^3.21.3",
|
|
14
14
|
"@react-hook/resize-observer": "^1.2.6",
|
|
15
15
|
"@vanilla-extract/css": "^1.15.3",
|
|
16
16
|
"classnames": "^2.5.1",
|
|
17
17
|
"core-js": "^3.37.1",
|
|
18
|
-
"libphonenumber-js": "1.
|
|
18
|
+
"libphonenumber-js": "1.12.43",
|
|
19
19
|
"react-aria": "^3.33.1",
|
|
20
20
|
"react-focus-lock": "^2.12.1",
|
|
21
21
|
"react-imask": "^7.6.1",
|
|
22
|
-
"react-virtuoso": "4.
|
|
22
|
+
"react-virtuoso": "4.18.20",
|
|
23
23
|
"throttle-debounce": "^2.1.0",
|
|
24
24
|
"uuid": "^8.3.2"
|
|
25
25
|
}
|
package/next/package.json
CHANGED
|
@@ -4,26 +4,26 @@
|
|
|
4
4
|
"types": "../dist/next/index.d.ts",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
7
|
-
"@dnd-kit/core": "6.1
|
|
7
|
+
"@dnd-kit/core": "6.3.1",
|
|
8
8
|
"@dnd-kit/modifiers": "7.0.0",
|
|
9
9
|
"@floating-ui/react-dom": "^2.1.2",
|
|
10
10
|
"@juggle/resize-observer": "^3.4.0",
|
|
11
11
|
"@qualtrics/component-styles": "0.159.1",
|
|
12
|
-
"@radix-ui/react-dropdown-menu": "2.1
|
|
12
|
+
"@radix-ui/react-dropdown-menu": "2.2.1",
|
|
13
13
|
"@react-aria/interactions": "^3.21.3",
|
|
14
14
|
"@react-hook/resize-observer": "^1.2.6",
|
|
15
15
|
"@vanilla-extract/css": "^1.15.3",
|
|
16
16
|
"classnames": "^2.5.1",
|
|
17
17
|
"core-js": "^3.37.1",
|
|
18
|
-
"libphonenumber-js": "1.
|
|
18
|
+
"libphonenumber-js": "1.12.43",
|
|
19
19
|
"react-aria": "^3.33.1",
|
|
20
20
|
"react-focus-lock": "^2.12.1",
|
|
21
21
|
"react-imask": "^7.6.1",
|
|
22
|
-
"react-virtuoso": "4.
|
|
22
|
+
"react-virtuoso": "4.18.20",
|
|
23
23
|
"throttle-debounce": "^2.1.0",
|
|
24
24
|
"uuid": "^8.3.2"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@qualtrics/ui-react": "2.85.
|
|
27
|
+
"@qualtrics/ui-react": "2.85.5"
|
|
28
28
|
}
|
|
29
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/ui-react",
|
|
3
|
-
"version": "2.85.
|
|
3
|
+
"version": "2.85.5",
|
|
4
4
|
"description": "Official Qualtrics UI component library designed for React",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -98,22 +98,22 @@
|
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
100
|
"@babel/runtime-corejs3": "^7.24.7",
|
|
101
|
-
"@dnd-kit/core": "6.1
|
|
101
|
+
"@dnd-kit/core": "6.3.1",
|
|
102
102
|
"@dnd-kit/modifiers": "7.0.0",
|
|
103
103
|
"@floating-ui/react-dom": "^2.1.2",
|
|
104
104
|
"@juggle/resize-observer": "^3.4.0",
|
|
105
105
|
"@qualtrics/component-styles": "0.159.1",
|
|
106
|
-
"@radix-ui/react-dropdown-menu": "2.1
|
|
106
|
+
"@radix-ui/react-dropdown-menu": "2.2.1",
|
|
107
107
|
"@react-aria/interactions": "^3.21.3",
|
|
108
108
|
"@react-hook/resize-observer": "^1.2.6",
|
|
109
109
|
"@vanilla-extract/css": "^1.15.3",
|
|
110
110
|
"classnames": "^2.5.1",
|
|
111
111
|
"core-js": "^3.37.1",
|
|
112
|
-
"libphonenumber-js": "1.
|
|
112
|
+
"libphonenumber-js": "1.12.43",
|
|
113
113
|
"react-aria": "^3.33.1",
|
|
114
114
|
"react-focus-lock": "^2.12.1",
|
|
115
115
|
"react-imask": "^7.6.1",
|
|
116
|
-
"react-virtuoso": "4.
|
|
116
|
+
"react-virtuoso": "4.18.20",
|
|
117
117
|
"throttle-debounce": "^2.1.0",
|
|
118
118
|
"uuid": "^8.3.2"
|
|
119
119
|
},
|
|
@@ -126,10 +126,10 @@
|
|
|
126
126
|
"@babel/preset-react": "^7.24.7",
|
|
127
127
|
"@babel/preset-typescript": "^7.24.7",
|
|
128
128
|
"@microsoft/api-extractor": "^7.48.1",
|
|
129
|
-
"@playwright/test": "1.
|
|
129
|
+
"@playwright/test": "1.65.0",
|
|
130
130
|
"@qualtrics/base-styles": "0.4.2",
|
|
131
|
-
"@qualtrics/translations-qualtricsdesignsystemui": "^0.
|
|
132
|
-
"@qualtrics/translations-qualtricsdesignsystemuicountries": "^0.
|
|
131
|
+
"@qualtrics/translations-qualtricsdesignsystemui": "^0.7.0",
|
|
132
|
+
"@qualtrics/translations-qualtricsdesignsystemuicountries": "^0.7.0",
|
|
133
133
|
"@rollup/plugin-babel": "^5.0.2",
|
|
134
134
|
"@rollup/plugin-commonjs": "^22.0.1",
|
|
135
135
|
"@rollup/plugin-json": "^4.0.3",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@types/classnames": "^2.2.6",
|
|
142
142
|
"@types/estree": "^0.0.52",
|
|
143
143
|
"@types/jest": "^29.5.0",
|
|
144
|
-
"@types/node": "^
|
|
144
|
+
"@types/node": "^20.19.0",
|
|
145
145
|
"@types/react": "^19.0.0",
|
|
146
146
|
"@types/react-dom": "^19.0.0",
|
|
147
147
|
"@types/uuid": "^8.3.4",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"@vanilla-extract/integration": "^8.0.4",
|
|
153
153
|
"@vanilla-extract/jest-transform": "^1.1.1",
|
|
154
154
|
"@vanilla-extract/webpack-plugin": "^2.3.11",
|
|
155
|
-
"@vitejs/plugin-react": "^
|
|
155
|
+
"@vitejs/plugin-react": "^6.1.1",
|
|
156
156
|
"babel-loader": "^8.2.3",
|
|
157
157
|
"babel-plugin-istanbul": "^6.1.1",
|
|
158
158
|
"css-loader": "^6.5.1",
|
|
@@ -174,10 +174,10 @@
|
|
|
174
174
|
"jest": "^29.7.0",
|
|
175
175
|
"jest-environment-jsdom": "^29.7.0",
|
|
176
176
|
"jest-junit": "^15.0.0",
|
|
177
|
-
"less": "
|
|
177
|
+
"less": "4.9.1",
|
|
178
178
|
"less-loader": "^10.2.0",
|
|
179
179
|
"memfs": "^3.3.0",
|
|
180
|
-
"npm-run-
|
|
180
|
+
"npm-run-all2": "^5.0.0",
|
|
181
181
|
"postcss": "^8.5.26",
|
|
182
182
|
"postcss-modules": "^9.0.1",
|
|
183
183
|
"postcss-preset-env": "^11.4.0",
|
|
@@ -191,14 +191,14 @@
|
|
|
191
191
|
"rollup-plugin-copy": "^3.5.0",
|
|
192
192
|
"rollup-plugin-postcss": "4.0.2",
|
|
193
193
|
"rollup-plugin-rename-node-modules": "^1.3.1",
|
|
194
|
-
"shelljs": "^0.
|
|
194
|
+
"shelljs": "^0.10.0",
|
|
195
195
|
"style-loader": "^3.3.1",
|
|
196
196
|
"svgson": "^4.1.0",
|
|
197
197
|
"ts-node": "^10.9.2",
|
|
198
|
-
"typedoc": "0.
|
|
199
|
-
"typedoc-plugin-missing-exports": "
|
|
198
|
+
"typedoc": "0.28.20",
|
|
199
|
+
"typedoc-plugin-missing-exports": "4.1.4",
|
|
200
200
|
"typescript": "^5.5.3",
|
|
201
|
-
"vite": "^
|
|
201
|
+
"vite": "^8.3.2",
|
|
202
202
|
"webpack": "^5.58.0",
|
|
203
203
|
"webpack-cli": "^4.9.1",
|
|
204
204
|
"webpack-dev-server": "^4.15.2"
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { useCallbackRef } from '../../react-use-callback-ref/dist/index.js';
|
|
3
|
-
|
|
4
|
-
// packages/react/use-escape-keydown/src/use-escape-keydown.tsx
|
|
5
|
-
function useEscapeKeydown(onEscapeKeyDownProp) {
|
|
6
|
-
let ownerDocument = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : globalThis === null || globalThis === void 0 ? void 0 : globalThis.document;
|
|
7
|
-
const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);
|
|
8
|
-
React.useEffect(() => {
|
|
9
|
-
const handleKeyDown = event => {
|
|
10
|
-
if (event.key === "Escape") {
|
|
11
|
-
onEscapeKeyDown(event);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
ownerDocument.addEventListener("keydown", handleKeyDown, {
|
|
15
|
-
capture: true
|
|
16
|
-
});
|
|
17
|
-
return () => ownerDocument.removeEventListener("keydown", handleKeyDown, {
|
|
18
|
-
capture: true
|
|
19
|
-
});
|
|
20
|
-
}, [onEscapeKeyDown, ownerDocument]);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export { useEscapeKeydown };
|