@qualtrics/plugin-ui-react 1.6.3 → 1.7.0-alpha.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/dist/common/capture-event/capture-event.d.ts +2 -2
- package/dist/common/copy-text/copy-text.d.ts +2 -2
- package/dist/common/field-mapper/field-mapper-key/field-mapper-key.d.ts +7 -0
- package/dist/common/piped-text-input/piped-text-input.d.ts +1 -1
- package/dist/common/piped-text-select/piped-text-menu/embedded-data-menu/embedded-data-input/embedded-data-input.d.ts +2 -2
- package/dist/common/piped-text-select/piped-text-menu/embedded-data-menu/embedded-data-menu.d.ts +3 -2
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-item/piped-text-menu-item.d.ts +1 -1
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-list/piped-text-menu-list.d.ts +1 -1
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-list/piped-text-menu-load-error/piped-text-menu-load-error.d.ts +2 -2
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu.d.ts +4 -3
- package/dist/common/piped-text-select/piped-text-menu/piped-text-submenu-item/piped-text-submenu-item.d.ts +1 -1
- package/dist/common/plugin-ui-provider/plugin-ui-provider.d.ts +3 -3
- package/dist/common/popover/popover-options.d.ts +2 -0
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/dist/lib/element-ref.d.ts +2 -0
- package/dist/lib/merge-refs.d.ts +1 -1
- package/dist/lib/test-utils/plugin-ui-provider-utils.d.ts +3 -3
- package/dist/lib/translations/use-translations.d.ts +0 -1
- package/package.json +14 -14
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -127
- package/CHANGELOG.md +0 -243
- package/CONTRIBUTING.md +0 -85
- package/dist/common/field-mapper/field-mapper-key/field-mapper-key.test.d.ts +0 -1
- package/dist/common/field-mapper/field-mapper-row/field-mapper-row.test.d.ts +0 -1
- package/dist/common/field-mapper/field-mapper-value/field-mapper-value.test.d.ts +0 -1
- package/dist/common/field-mapper/field-mapper.test.d.ts +0 -1
- package/dist/common/plugin-ui-provider/plugin-ui-provider.test.d.ts +0 -1
- package/dist/lib/translations/use-translations.test.d.ts +0 -1
package/.eslintrc.js
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
'parserOptions': {
|
|
3
|
-
'ecmaVersion': 2020,
|
|
4
|
-
'sourceType': 'module',
|
|
5
|
-
'parser': '@typescript-eslint/parser',
|
|
6
|
-
'ecmaFeatures': {
|
|
7
|
-
'jsx': true,
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
'env': {
|
|
11
|
-
'es6': true,
|
|
12
|
-
'node': true,
|
|
13
|
-
'mocha': true,
|
|
14
|
-
'jest/globals': true,
|
|
15
|
-
'browser': true,
|
|
16
|
-
},
|
|
17
|
-
settings: {
|
|
18
|
-
react: {
|
|
19
|
-
version: 'detect'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
'plugins': [
|
|
23
|
-
'react',
|
|
24
|
-
'@typescript-eslint',
|
|
25
|
-
],
|
|
26
|
-
'extends': [
|
|
27
|
-
'eslint:recommended',
|
|
28
|
-
'plugin:react/recommended',
|
|
29
|
-
'plugin:jest/recommended',
|
|
30
|
-
'plugin:@typescript-eslint/recommended',
|
|
31
|
-
],
|
|
32
|
-
'rules': {
|
|
33
|
-
'indent': [
|
|
34
|
-
'error',
|
|
35
|
-
2,
|
|
36
|
-
{
|
|
37
|
-
'MemberExpression': 1,
|
|
38
|
-
'SwitchCase': 1
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
'linebreak-style': [
|
|
42
|
-
'error',
|
|
43
|
-
'unix'
|
|
44
|
-
],
|
|
45
|
-
'quotes': [
|
|
46
|
-
'error',
|
|
47
|
-
'single'
|
|
48
|
-
],
|
|
49
|
-
'semi': [
|
|
50
|
-
'error',
|
|
51
|
-
'always'
|
|
52
|
-
],
|
|
53
|
-
'space-before-blocks': [
|
|
54
|
-
'error',
|
|
55
|
-
'always'
|
|
56
|
-
],
|
|
57
|
-
'comma-spacing': [
|
|
58
|
-
'error',
|
|
59
|
-
{ 'before': false, 'after': true }
|
|
60
|
-
],
|
|
61
|
-
'comma-style': [
|
|
62
|
-
'error', 'last'
|
|
63
|
-
],
|
|
64
|
-
'comma-dangle': 'off',
|
|
65
|
-
'key-spacing': [
|
|
66
|
-
'error', {
|
|
67
|
-
'afterColon': true,
|
|
68
|
-
'mode': 'strict',
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
'prefer-const': [
|
|
72
|
-
'off',
|
|
73
|
-
],
|
|
74
|
-
'no-var': 'error',
|
|
75
|
-
'prefer-arrow-callback': 'off',
|
|
76
|
-
'arrow-spacing': [
|
|
77
|
-
'error',
|
|
78
|
-
{ 'before': true, 'after': true }
|
|
79
|
-
],
|
|
80
|
-
'space-infix-ops': [
|
|
81
|
-
'error'
|
|
82
|
-
],
|
|
83
|
-
'keyword-spacing': [
|
|
84
|
-
'error',
|
|
85
|
-
{
|
|
86
|
-
'after': true,
|
|
87
|
-
'overrides': {
|
|
88
|
-
'if': { 'after': false },
|
|
89
|
-
'switch': { 'after': false },
|
|
90
|
-
'for': { 'after': false },
|
|
91
|
-
'while': { 'after': false },
|
|
92
|
-
'catch': { 'after': false },
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
'semi-spacing': [
|
|
97
|
-
'error',
|
|
98
|
-
{
|
|
99
|
-
'after': true
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
'object-shorthand': [ 'error', 'properties' ],
|
|
103
|
-
'eqeqeq': [ 'error', 'always' ],
|
|
104
|
-
'no-trailing-spaces': [ 'error' ],
|
|
105
|
-
'eol-last': [ 'error', 'always' ],
|
|
106
|
-
'no-case-declarations': [ 'off' ],
|
|
107
|
-
'object-curly-spacing': [ 'error', 'always' ],
|
|
108
|
-
'array-bracket-spacing': [ 'error', 'always', { 'objectsInArrays': false, 'arraysInArrays': false }],
|
|
109
|
-
'space-in-parens': [ 'error' ],
|
|
110
|
-
'no-multiple-empty-lines': [ 'error', { 'max': 1, 'maxBOF': 1 }],
|
|
111
|
-
'newline-per-chained-call': 'off',
|
|
112
|
-
'brace-style': [ 2 ],
|
|
113
|
-
'space-before-function-paren': [ 'error', {
|
|
114
|
-
'named': 'never',
|
|
115
|
-
'anonymous': 'never',
|
|
116
|
-
'asyncArrow': 'always'
|
|
117
|
-
}],
|
|
118
|
-
'react/display-name': 0,
|
|
119
|
-
'react/prop-types': 0,
|
|
120
|
-
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
121
|
-
'@typescript-eslint/no-explicit-any': 'off',
|
|
122
|
-
'@typescript-eslint/no-empty-interface': 'off',
|
|
123
|
-
'@typescript-eslint/no-unused-vars': [ 'error', {
|
|
124
|
-
args: 'none'
|
|
125
|
-
}],
|
|
126
|
-
}
|
|
127
|
-
};
|
package/CHANGELOG.md
DELETED
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
## Unreleased
|
|
2
|
-
|
|
3
|
-
## 1.6.3
|
|
4
|
-
|
|
5
|
-
* remove unused @qualtrics/base-styles dependency
|
|
6
|
-
|
|
7
|
-
## 1.6.2
|
|
8
|
-
|
|
9
|
-
* ~~Small UX updates to bring in accordance with UX guidelines~~
|
|
10
|
-
* ~~Added option for search input placeholder in piped text menus~~
|
|
11
|
-
* ~~Added capability for piped text menus to have custom entry and predefined options at the same time~~
|
|
12
|
-
* ~~Added capability for piped text menus to accept items as an object or a function so piped text can be loaded asynchronously~~
|
|
13
|
-
* ~~Added capability to pass `errorText` property to piped text menus for a message to be displayed if async piped text loading fails~~
|
|
14
|
-
* ~~Fixed bug where Popover exported the wrong `update` function from Popper.~~
|
|
15
|
-
* ~~Added header for field and inputs for TaskFields component including border around TaskFields.~~
|
|
16
|
-
* ~~Added TaskField UX style changes.~~
|
|
17
|
-
* ~~Updated 'piped text' icon and 'remove field' icon.~~
|
|
18
|
-
* ~~Adding word wrap to piped text options with long words.~~
|
|
19
|
-
* ~~Update field-row placeholder text to not show up when undefined is passed as value~~
|
|
20
|
-
* ~~Allow for field-row dropdowns to accept 'searchable' prop allowing for the dropdown to be input searched.~~
|
|
21
|
-
* Fixed Chinese language codes to work with the latest version of `@qualtrics/ui-i18n`.
|
|
22
|
-
|
|
23
|
-
## 1.5.3
|
|
24
|
-
|
|
25
|
-
* [[APSDK-2354]](https://qualtrics.atlassian.net/browse/APSDK-2354) fix broken data-testids for field-mapper-key-dropdown-item
|
|
26
|
-
* [[APSDK-2490]](https://qualtrics.atlassian.net/browse/APSDK-2490) support Norsk language codes
|
|
27
|
-
* [[APSDK-2129]](https://qualtrics.atlassian.net/browse/APSDK-2354) fix field mapper focus accessibility
|
|
28
|
-
|
|
29
|
-
## 1.5.2
|
|
30
|
-
|
|
31
|
-
* [[APSDK-2278]](https://qualtrics.atlassian.net/browse/APSDK-2278) Clean up snapshots. Move jest config to jest.config.js instead of package.json. Consolidate data-testid values into a common constants module.
|
|
32
|
-
* [[APSDK-2276]](https://qualtrics.atlassian.net/browse/APSDK-2276) Fix issue where `FieldMapperRow` will not correctly show/hide remove icon based on `selectedField.required` boolean
|
|
33
|
-
* [[APSDK-2277]](https://qualtrics.atlassian.net/browse/APSDK-2277) Add tests for validate Remove icon enable/disable API spec for `FieldMapperRow`
|
|
34
|
-
* change `useTranslations` to `export` instead of `export default`
|
|
35
|
-
|
|
36
|
-
## 1.5.1
|
|
37
|
-
* Move internal contributor information into `CONTRIBUTING.md`
|
|
38
|
-
|
|
39
|
-
## 1.5.0
|
|
40
|
-
|
|
41
|
-
* Added `PluginUIProvider` component that wraps `UIProvider` and provides translations.
|
|
42
|
-
* Added `@qualtrics/plugin-ui-react-translations` to support translations in this component library
|
|
43
|
-
* Added an `addFieldMenuProps` property to `FieldMapperProps` in order to make the `Add a field` dropdown searchable
|
|
44
|
-
* Added data-testids for the `FieldMapper` component
|
|
45
|
-
* [[APSDK-2046]](https://qualtrics.atlassian.net/browse/APSDK-2046) Fix issue where `PipedTextInput` inserts text into `Input` element 1 index off when editing a saved field
|
|
46
|
-
* [[APSDK-1868]](https://qualtrics.atlassian.net/browse/APSDK-1868) Fix issue in `FieldMapper` where addField button has previously selected `DropdownOption` element highlighted after adding and then removing a field
|
|
47
|
-
|
|
48
|
-
## 1.4.0
|
|
49
|
-
* PipedTextMenu refactor for A11Y
|
|
50
|
-
* ScreenReader attributes
|
|
51
|
-
* keyboard navigation
|
|
52
|
-
* converted majority of files to TS
|
|
53
|
-
* Modularized menu components
|
|
54
|
-
* See the following tickets in Jira:
|
|
55
|
-
* [[APSDK-959]](https://qualtrics.atlassian.net/browse/APSDK-959) A11Y - PipedText Dropdown doesn't have arrow-navigation or tab-indexing
|
|
56
|
-
* Original self-reported A11Y ticket
|
|
57
|
-
* [[APSDK-1274]](https://qualtrics.atlassian.net/browse/APSDK-1274) DPEE-1522: Plugin SDK UX components V2
|
|
58
|
-
* Parent Components V2 Epic
|
|
59
|
-
* [[APSDK-1439]](https://qualtrics.atlassian.net/browse/APSDK-1439) PipedText A11Y - Keyboard events cause plugin error while async menu is loading.
|
|
60
|
-
* [[APSDK-1440]](https://qualtrics.atlassian.net/browse/APSDK-1440) PipedText A11Y - 2nd+ level submenu will sometimes focus it's highlighted item on-open if it was focused before.
|
|
61
|
-
* [[APSDK-1462]](https://qualtrics.atlassian.net/browse/APSDK-1462) PipedText A11Y - Click events must propagate for keyboard users [ScreenReader]
|
|
62
|
-
* [[APSDK-1463]](https://qualtrics.atlassian.net/browse/APSDK-1463) PipedText A11Y - WCAG, WAI-ARIA popup attributes & controls for flyover menus
|
|
63
|
-
|
|
64
|
-
## 1.3.7
|
|
65
|
-
* Removed `selectedFields` from the properties exposed by `FieldMapperProps`. [APSDK-1362](https://qualtrics.atlassian.net/browse/APSDK-1362)
|
|
66
|
-
* The `FieldMapperRow`, `FieldMapperKey`, and `FieldMapperValue` components now correctly append their `className` property to their internal `div` elements. [APSDK-1381](https://qualtrics.atlassian.net/browse/APSDK-1381)
|
|
67
|
-
* The `FieldMapperKey` and `FieldMapperValue` components have a consistent API wrt their `onChange` handlers. [APSDK-1361](https://qualtrics.atlassian.net/browse/APSDK-1361)
|
|
68
|
-
## 1.3.2
|
|
69
|
-
* Added capability for the TaskFields/FieldRow component to handle submenus in the fields.
|
|
70
|
-
* Added capability to disable the popover functionality of the `Add a field` button, replaced the popover functionality with functionality to automatically add a field from the list of available fields.
|
|
71
|
-
## 1.3.0
|
|
72
|
-
* fix traditional and simplified chinese codes to work with the latest version of ui-i18n
|
|
73
|
-
* Typescript@4.x
|
|
74
|
-
* [8f3c89c8](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/8f3c89c8) fix issue where lodash hits maximum callstack and throws a cross-origin error sometimes
|
|
75
|
-
* [ee1cc9f6](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ee1cc9f6) Merge branch 'bump-1.2.4' into 'master'
|
|
76
|
-
* [a0d7cdb4](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/a0d7cdb4) bump version to 1.2.4
|
|
77
|
-
* [33162545](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/33162545) Merge branch 'fix-zht-mapping' into 'master'
|
|
78
|
-
* [342362ca](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/342362ca) fix traditional chinese language code mapping
|
|
79
|
-
* [0fab10f1](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/0fab10f1) Merge branch 'add-searchable-field-row' into 'master'
|
|
80
|
-
* [c974986d](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/c974986d) Updating to use alpha tag
|
|
81
|
-
* [8f7f4f3e](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/8f7f4f3e) Updating to version 1.2.3
|
|
82
|
-
* [11127558](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/11127558) Adding tooltip disable function for additional logic
|
|
83
|
-
* [034a3b32](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/034a3b32) updating params around || operator
|
|
84
|
-
* [5b81a20f](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/5b81a20f) removing debug line
|
|
85
|
-
* [51af6fa2](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/51af6fa2) updating searhcable select menu for field row dropdown. Removing issue with undefined placeholder value showing empty placeholder text
|
|
86
|
-
* [34de8740](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/34de8740) Merge branch 'twhited/v1_2_1-publish' into 'master'
|
|
87
|
-
* [642e76ff](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/642e76ff) bump minor version, add latest tag to make script
|
|
88
|
-
* [6e57a072](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/6e57a072) publish 1.2.1
|
|
89
|
-
* [4ad446ee](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/4ad446ee) Merge branch 'twhited/v1_2_1-ux-feedback-2' into 'master'
|
|
90
|
-
* [6b0c4242](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/6b0c4242) Second round of UX revisions
|
|
91
|
-
* [ff459ccf](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ff459ccf) Merge branch 'twhited/v1_2_1-ux-feedback' into 'master'
|
|
92
|
-
* [985ff044](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/985ff044) implement UX feedback to spec for piped-text-input, task-fields
|
|
93
|
-
* [a0ffce79](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/a0ffce79) Merge branch 'twhited/makefile-with-alpha-publish' into 'master'
|
|
94
|
-
* [7cabb7d3](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/7cabb7d3) bump to correct alpha version
|
|
95
|
-
* [c9b2cf5e](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/c9b2cf5e) Add makefile with alpha publish script
|
|
96
|
-
* [0240c9da](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/0240c9da) Merge branch 'twhited/unit-test-ts-fix' into 'master'
|
|
97
|
-
* [ef6eff1e](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ef6eff1e) Merge branch 'twhited/piped-text-addon-text' into 'master'
|
|
98
|
-
* [c3da93dd](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/c3da93dd) add clarifying comments about copied styles
|
|
99
|
-
* [45efb63f](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/45efb63f) Fix jest unit tests to run with TS
|
|
100
|
-
* [d0a5bdc5](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/d0a5bdc5) Add helper and error text to piped-text-input API
|
|
101
|
-
* [2dc50130](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/2dc50130) Merge branch 'twhited/multiline-piped-text-fix-position' into 'master'
|
|
102
|
-
* [96ab56f7](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/96ab56f7) Fix positioning for popover, fix width issue with textarea. Remove InputGroup requirement, remove default 'full' prop on input
|
|
103
|
-
* [5a3489b7](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/5a3489b7) Merge branch 'twhited/ts-fix-node-resolution' into 'master'
|
|
104
|
-
* [2d566427](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/2d566427) MR feedback, remove commented out bundle deps
|
|
105
|
-
* [ba3230a5](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ba3230a5) Merge branch 'twhited/piped-text-input-multiline' into 'master'
|
|
106
|
-
* [eb0ffc53](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/eb0ffc53) Merge branch 'twhited/add-ts' into 'master'
|
|
107
|
-
* [c569dc1c](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/c569dc1c) Merge branch 'master' into twhited/add-ts
|
|
108
|
-
* [8c1846e9](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/8c1846e9) Fix issues with rollup TS where modules weren't being resolved, polyfills were not loading
|
|
109
|
-
* [ff87a90d](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ff87a90d) fix indent
|
|
110
|
-
* [24cde719](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/24cde719) Merge branch 'twhited/trs-fix' into 'master'
|
|
111
|
-
* [59e47e6d](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/59e47e6d) Revert "try force node14"
|
|
112
|
-
* [6b9d2299](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/6b9d2299) Merge branch 'tmm-audit' into 'master'
|
|
113
|
-
* [c3876c8b](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/c3876c8b) Testing pipelines
|
|
114
|
-
* [b2b2ca02](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/b2b2ca02) Extend piped-text-input api to support multiline. Expose internal input API so devs can provide QDS Input props.
|
|
115
|
-
* [16ed8410](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/16ed8410) Specify types path in package.json. Fix various loosely-typed stuff (MR feedback). Add DOM lib to tsconfig for better TS default typing of dom elements
|
|
116
|
-
* [ce10b362](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ce10b362) Add typescript
|
|
117
|
-
* [2df63371](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/2df63371) Merge branch 'twhited/APSDK-495' into 'master'
|
|
118
|
-
* [760a290e](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/760a290e) Merge branch 'fix-peer-dependecies' into 'twhited/APSDK-495'
|
|
119
|
-
* [582e7839](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/582e7839) APSDK-495: Fix issue where props.value doesn't propagate state from parent
|
|
120
|
-
* [829c0dc1](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/829c0dc1) fix peer dependencies
|
|
121
|
-
* [6b5ed047](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/6b5ed047) Merge branch 'add-new-language-codes' into 'master'
|
|
122
|
-
* [ffd1e5c8](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ffd1e5c8) Merge branch 'rfirth/asyncPipedTextUnitTests' into 'master'
|
|
123
|
-
* [149c067c](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/149c067c) add Bahasa Indonesian and Bahasa Malaysia
|
|
124
|
-
* [9c79e4a2](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/9c79e4a2) Merge branch 'add/qds-standards' into 'master'
|
|
125
|
-
* [69a607be](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/69a607be) [INT-2667] Update task fields and piped text to QDS standards
|
|
126
|
-
* [389a5cf9](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/389a5cf9) added tests for async piped text loading
|
|
127
|
-
* [d1c4e4d6](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/d1c4e4d6) Merge branch 'rfirth/allowAsyncPipedText' into 'master'
|
|
128
|
-
* [cccfa5a3](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/cccfa5a3) fixed popper scheduleUpdate bug. Added async piped text loading
|
|
129
|
-
* [ad493e70](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ad493e70) Merge branch 'bump-1.1.1' into 'master'
|
|
130
|
-
* [b5d1367b](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/b5d1367b) bump to 1.1.1
|
|
131
|
-
* [65889e44](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/65889e44) Merge branch 'twhited/fix-task-field-propagation-1-1-1' into 'master'
|
|
132
|
-
* [bfb7f50d](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/bfb7f50d) Revert popover scss, add comment explaining issue
|
|
133
|
-
* [58ae6fa2](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/58ae6fa2) Fixed issue where child state in field-row got out of syn with props provided by TaskFields. V1.1.1 alpha candidate
|
|
134
|
-
* [f2ec4bae](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/f2ec4bae) Merge branch 'rfirth/addTRS' into 'master'
|
|
135
|
-
* [247cab61](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/247cab61) added TRS
|
|
136
|
-
* [196d4f71](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/196d4f71) Merge branch 'rfirth/pipedTextEmbeddedDataUnitTests' into 'master'
|
|
137
|
-
* [7d37118f](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/7d37118f) Rfirth/piped text embedded data unit tests
|
|
138
|
-
* [016089d8](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/016089d8) Merge branch 'rfirth/commentFailingUnitTests' into 'master'
|
|
139
|
-
* [9418ecd6](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/9418ecd6) commented out failing unit tests
|
|
140
|
-
* [15d032ea](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/15d032ea) Merge branch 'rfirth/-INT-2421' into 'master'
|
|
141
|
-
* [8f712dd0](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/8f712dd0) Rfirth/ int 2421
|
|
142
|
-
* [77152a32](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/77152a32) Merge branch 'rfirth/fixPopoverStyle' into 'master'
|
|
143
|
-
* [42940273](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/42940273) applied QDS guidelines to popover box shadow
|
|
144
|
-
* [a460bcf0](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/a460bcf0) Merge branch 'rfirth/newUIChanges' into 'master'
|
|
145
|
-
* [2b91823a](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/2b91823a) made minor style changes to conform to UX guidelines
|
|
146
|
-
* [ba577058](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/ba577058) Merge branch 'twhited/fix-inline-popover-placement-bug' into 'master'
|
|
147
|
-
* [7e6bd7c1](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/7e6bd7c1) Fix issue where inline popover select inputs cause the popper placement to be wrong
|
|
148
|
-
* [57d23174](https://gitlab-app.eng.qops.net/integrations/qualtrics-plugin-ui-react/-/commit/57d23174) Merge branch 'update-dependencies' into 'master'
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
## 1.0.11
|
|
152
|
-
* Updating dependencies
|
|
153
|
-
* Updating to popperjs v2.0
|
|
154
|
-
|
|
155
|
-
## 1.0.10
|
|
156
|
-
* Adding Rigi, Russian, Swedish, Thai, and Danish support
|
|
157
|
-
* Fixed state problem in `TaskFields` caused by using a state value to track `props.children`.
|
|
158
|
-
|
|
159
|
-
## 1.0.9
|
|
160
|
-
* Fixed `TaskFields` regression in 1.0.8 where optional fields did not populate the `value` prop correctly.
|
|
161
|
-
* Fixed popover placement issue in `PipedTextMenu` that caused multilevel menus to not be hoverable in some scenarios
|
|
162
|
-
|
|
163
|
-
## 1.0.8
|
|
164
|
-
* Fixed compatibility bug with CFE menus in `TaskFields`
|
|
165
|
-
|
|
166
|
-
## 1.0.7
|
|
167
|
-
* Fixed PipedText menu items that should not be clickable
|
|
168
|
-
* PipedText Headers
|
|
169
|
-
* PipedText Menuitems that are flagged as `disabled`
|
|
170
|
-
* Fixed bug where EmbeddedData PipedText menu items are ocluded by other popover menus
|
|
171
|
-
|
|
172
|
-
## 1.0.6
|
|
173
|
-
* Fix Popover component from overflowing off the sides of the iframe.
|
|
174
|
-
|
|
175
|
-
## 1.0.4
|
|
176
|
-
* Update Popover component to expose more of the Popper.js api to enable:
|
|
177
|
-
* Dynamic asynchronously loaded Popover content by exposing the `scheduleUpdate` function to `props.children`
|
|
178
|
-
* Enable `max-height` and scrollable popover body content with default Popper.js `modifiers`, also allow `modifiers` to be overwritten by passing them as a prop to `Popover` elements.
|
|
179
|
-
|
|
180
|
-
## 1.0.3
|
|
181
|
-
* `@qualtrics/ui-react` updated from `^1.10.2` to `^1.14.0`
|
|
182
|
-
|
|
183
|
-
## 1.0.2
|
|
184
|
-
* Fix input `autoFocus` race condition in `Popover` element
|
|
185
|
-
|
|
186
|
-
## 1.0.1
|
|
187
|
-
* Added custom behavior to handle `embeddedData` type PipedText values
|
|
188
|
-
* Added language service to provide language code mappings that are compatible with CFE i18n config for `UIProvider`
|
|
189
|
-
|
|
190
|
-
## 1.0.0
|
|
191
|
-
* Public NPM Release, changed package name to `@qualtrics/plugin-ui-react`
|
|
192
|
-
|
|
193
|
-
## 0.0.12
|
|
194
|
-
* Remove "Search fields" placeholder text from PipedText component(s)
|
|
195
|
-
|
|
196
|
-
## 0.0.11
|
|
197
|
-
* Update `@qualtrics` dependencies:
|
|
198
|
-
* `@qualtrics/ui-react` updated from `^0.25.2` to `^1.2.0`
|
|
199
|
-
* `@qualtrics/base-styles` from `^0.1.1` to `^0.1.5`
|
|
200
|
-
* Update to include public dependencies from CFE team
|
|
201
|
-
* Update with UX review feedback
|
|
202
|
-
|
|
203
|
-
## 0.0.10
|
|
204
|
-
* Update `PipedTextSelect` component to reformat `props.items` dynamically at runtime, and set the component state correctly
|
|
205
|
-
|
|
206
|
-
## 0.0.9
|
|
207
|
-
* Add `json` plugin to Rollup to process i18n translation files from `@qualtrics/ui-react`
|
|
208
|
-
* Add singleton PluginSDKClient provider service for better end-user experience
|
|
209
|
-
|
|
210
|
-
## 0.0.8
|
|
211
|
-
* Update fonts to be provided by cdn instead of directly through `base-styles`. Build `base-styles` css and `ui-react` bundle directly into build assets.
|
|
212
|
-
|
|
213
|
-
## 0.0.6
|
|
214
|
-
* Update `LICENSE.md` to match approved document
|
|
215
|
-
* Change `.babelrc` to `babel.config.js` for better compat with babel7
|
|
216
|
-
|
|
217
|
-
## 0.0.4
|
|
218
|
-
|
|
219
|
-
* Fixed a bug in the `PipedTextSelect` component that caused it to throw an error when being mounted
|
|
220
|
-
|
|
221
|
-
## 0.0.3
|
|
222
|
-
|
|
223
|
-
* Search function property for `DynamicSearchInput` is now async (i.e. the function passed to the `search` property needs to return a Promise)
|
|
224
|
-
|
|
225
|
-
## 0.0.2
|
|
226
|
-
|
|
227
|
-
* Improved build and distribution method
|
|
228
|
-
* removal of `lodash` library dependency
|
|
229
|
-
* Updates to `PipedTextSelect` to conform better to the API
|
|
230
|
-
* Removed export of `pipedTextDataAdapter`, piped text data is now automatically adapted
|
|
231
|
-
|
|
232
|
-
## 0.0.1
|
|
233
|
-
|
|
234
|
-
Initial pre-alpha release of components:
|
|
235
|
-
* PipedTextInput
|
|
236
|
-
* PipedTextSelect
|
|
237
|
-
* Popover
|
|
238
|
-
* TaskFields
|
|
239
|
-
* FieldItem
|
|
240
|
-
* MultiselectDropdown
|
|
241
|
-
* SelectItem
|
|
242
|
-
* DynamicSearchInput
|
|
243
|
-
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# Qualtrics Plugin React UI Component Library
|
|
3
|
-
|
|
4
|
-
## Overview
|
|
5
|
-
This library contains components that are useful when developing XMT plugins, as well as general components for developing for Qualtrics using React.
|
|
6
|
-
|
|
7
|
-
## Installation
|
|
8
|
-
|
|
9
|
-
Node JS v10.x or greater recommended (recommended to use `nvm` for versioning).
|
|
10
|
-
|
|
11
|
-
Install dependencies:
|
|
12
|
-
```
|
|
13
|
-
$ npm i
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Development
|
|
17
|
-
|
|
18
|
-
To run the dev server and open a browser dev tab, run:
|
|
19
|
-
```
|
|
20
|
-
$ npm start
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
In your project (running with `webpack-dev-server`):
|
|
24
|
-
```
|
|
25
|
-
$ npm link /path/to/this/repo/qualtrics-plugin-ui-react
|
|
26
|
-
```
|
|
27
|
-
If you get an error about incorrect usage of Hooks in the browser dev console, you are most likely __running two instances of react__. To prevent this from happening, in your app add the following to the `resolve` option in `webpack.config.js`:
|
|
28
|
-
```javascript
|
|
29
|
-
resolve: {
|
|
30
|
-
alias: {
|
|
31
|
-
'react': path.resolve(__dirname, './node_modules/react'),
|
|
32
|
-
'react-dom': path.resolve(__dirname, './node_modules/react-dom'),
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
```
|
|
36
|
-
This forces the locally linked component library to use your project's instance of React.
|
|
37
|
-
|
|
38
|
-
## Production
|
|
39
|
-
|
|
40
|
-
To build, run:
|
|
41
|
-
```
|
|
42
|
-
$ npm run build
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
The production assets will be added to the `/dist` directory.
|
|
46
|
-
|
|
47
|
-
## Troubleshooting
|
|
48
|
-
|
|
49
|
-
If you get errors from `node-sass`, `node-gyp`, or sass-related dependencies run:
|
|
50
|
-
```
|
|
51
|
-
$ rm package-lock.json && rm yarn.lock && rm -rf node_modules && npm i
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
If the problems persist, run:
|
|
55
|
-
```
|
|
56
|
-
$ npm rebuild
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## Deployment
|
|
60
|
-
### Automated Alpha Version Deployment
|
|
61
|
-
- This project will automatically published if the package.json contains an alpha-tagged version when the feature branch is merged into the master branch
|
|
62
|
-
- Check the [Jenkins job](https://jenkins.eng.qops.net/job/appsdk/job/packages/job/qualtrics-plugin-ui-react-job/) or #app-sdk-deploys Slack channel for deployment results
|
|
63
|
-
|
|
64
|
-
### Deploying Non-Alpha Versions with Jenkins
|
|
65
|
-
1. Create a PC ticket
|
|
66
|
-
1. Go to this [Jenkins job](https://jenkins.eng.qops.net/job/appsdk/job/packages/job/qualtrics-plugin-ui-react-job/)
|
|
67
|
-
2. Set `JOB_PARAMETER_PROJECT` to `plugin-ui-react`
|
|
68
|
-
3. Set `JOB_PARAMETER_RELEASE_STEP` to `pc tickets`
|
|
69
|
-
4. Start the job
|
|
70
|
-
2. Post the PC ticket in the slack channel #app-sdk-internal for approval
|
|
71
|
-
3. Once approved, publish the target project through Jenkins
|
|
72
|
-
1. Go to this [Jenkins job](https://jenkins.eng.qops.net/job/appsdk/job/packages/job/qualtrics-plugin-ui-react-job/)
|
|
73
|
-
2. Set `JOB_PARAMETER_PROJECT` to `plugin-ui-react`
|
|
74
|
-
3. Set `JOB_PARAMETER_RELEASE_STEP` to `publish`
|
|
75
|
-
4. Start the job
|
|
76
|
-
4. Verify the new release
|
|
77
|
-
|
|
78
|
-
### Deploying Non-Alpha Versions Manually
|
|
79
|
-
The projects in this repo can also be published manually.
|
|
80
|
-
|
|
81
|
-
1. Follow the steps above to get the PC ticket created and approved
|
|
82
|
-
2. In the top-level directory, run `make test DIRECTORY=.` to run all client unit tests
|
|
83
|
-
3. Still in the top-level directory, run `make publish-external INT_NPM_TOKEN=<yourNpmToken> DIRECTORY=. TAG=latest`
|
|
84
|
-
- NOTE: docker must be installed and running
|
|
85
|
-
4. Verify the new release
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|