@qualtrics/plugin-ui-react 1.4.0-alpha.0 → 1.4.0-alpha.11
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/.eslintignore +3 -0
- package/CHANGELOG.md +20 -0
- package/dist/common/capture-event/capture-event.d.ts +10 -6
- package/dist/common/field-mapper/field-mapper-key/field-mapper-key.d.ts +4 -3
- package/dist/common/field-mapper/field-mapper-row/field-mapper-row.d.ts +3 -4
- package/dist/common/field-mapper/field-mapper-value/field-mapper-value.d.ts +7 -3
- package/dist/common/field-mapper/field-mapper.d.ts +3 -5
- package/dist/common/piped-text-select/piped-text-menu/embedded-data-menu/embedded-data-input/embedded-data-input.d.ts +10 -0
- package/dist/common/piped-text-select/piped-text-menu/embedded-data-menu/embedded-data-menu.d.ts +15 -2
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-item/piped-text-menu-item.d.ts +10 -7
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-item-service.d.ts +7 -0
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-keyboard-ctrl.d.ts +27 -0
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-list/piped-text-menu-list.d.ts +24 -0
- 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 +7 -0
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu-list/piped-text-search-input/piped-text-search-input.d.ts +10 -0
- package/dist/common/piped-text-select/piped-text-menu/piped-text-menu.d.ts +26 -4
- package/dist/common/piped-text-select/piped-text-menu/piped-text-submenu-item/piped-text-submenu-item.d.ts +7 -4
- package/dist/common/popover/popover-options.d.ts +3 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +48 -0
- package/dist/index.js +48 -0
- package/dist/lib/merge-refs.d.ts +2 -0
- package/package.json +35 -33
- package/tsconfig.json +7 -1
- package/.dockerignore +0 -10
- package/Dockerfile +0 -18
- package/Makefile +0 -33
- package/dist/common/capture-event/capture-event.test.d.ts +0 -1
- package/dist/common/copy-text/copy-text.test.d.ts +0 -1
- package/dist/common/dynamic-search-input/dynamic-search-input.d.ts +0 -1
- package/dist/common/dynamic-search-input/dynamic-search-input.test.d.ts +0 -1
- package/dist/common/event-registry.d.ts +0 -9
- package/dist/common/language-service.d.ts +0 -1
- package/dist/common/multiselect-dropdown/multiselect-dropdown.d.ts +0 -1
- package/dist/common/multiselect-dropdown/multiselect-dropdown.test.d.ts +0 -1
- package/dist/common/multiselect-dropdown/select-item/select-item.d.ts +0 -1
- package/dist/common/multiselect-dropdown/select-item/select-item.test.d.ts +0 -1
- package/dist/common/piped-text-input/piped-text-input.test.d.ts +0 -1
- package/dist/common/piped-text-select/piped-text-select.d.ts +0 -1
- package/dist/common/piped-text-select/piped-text-select.test.d.ts +0 -1
- package/dist/common/plugin-sdk-service.d.ts +0 -5
- package/dist/common/popover/popover.d.ts +0 -1
- package/dist/common/portal.d.ts +0 -10
- package/dist/common/task-fields/field-item/field-item.d.ts +0 -1
- package/dist/common/task-fields/field-item/field-item.test.d.ts +0 -1
- package/dist/common/task-fields/field-row/field-row.d.ts +0 -1
- package/dist/common/task-fields/field-row/field-row.test.d.ts +0 -1
- package/dist/common/task-fields/task-fields.d.ts +0 -1
- package/dist/common/task-fields/task-fields.test.d.ts +0 -1
- package/dist/main.es.js +0 -3126
- package/dist/main.js +0 -3154
- package/dist/plugin-app/example-data.d.ts +0 -102
- package/dist/plugin-app/plugin-app.d.ts +0 -1
- package/jenkins.groovy +0 -284
- package/jenkinsPipelineUtils/jira.groovy +0 -84
- package/jenkinsPipelineUtils/notifications.groovy +0 -34
- package/jenkinsPipelineUtils/pipelineControls.groovy +0 -56
- package/jenkinsPipelineUtils/trs.groovy +0 -30
- package/test_results/junit.xml +0 -101
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qualtrics/plugin-ui-react",
|
|
3
|
-
"version": "1.4.0-alpha.
|
|
3
|
+
"version": "1.4.0-alpha.11",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "dist/
|
|
6
|
-
"module": "dist/
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.es.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"start": "rollup -c --watch",
|
|
@@ -27,18 +27,26 @@
|
|
|
27
27
|
"author": "twhited@qualtrics.com",
|
|
28
28
|
"license": "LICENSE.md",
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@babel/core": "^7.
|
|
31
|
-
"@babel/plugin-external-helpers": "^7.
|
|
32
|
-
"@babel/plugin-proposal-class-properties": "^7.
|
|
33
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
34
|
-
"@babel/preset-env": "^7.
|
|
35
|
-
"@babel/preset-react": "^7.
|
|
36
|
-
"@babel/preset-typescript": "^7.
|
|
37
|
-
"@qualtrics/base-styles": "^0.
|
|
38
|
-
"@qualtrics/ui-react": "^1.
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
30
|
+
"@babel/core": "^7.19.6",
|
|
31
|
+
"@babel/plugin-external-helpers": "^7.18.6",
|
|
32
|
+
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
33
|
+
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
34
|
+
"@babel/preset-env": "^7.19.4",
|
|
35
|
+
"@babel/preset-react": "^7.18.6",
|
|
36
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
37
|
+
"@qualtrics/base-styles": "^0.4.0",
|
|
38
|
+
"@qualtrics/ui-react": "^1.105.0",
|
|
39
|
+
"@rollup/plugin-babel": "^6.0.2",
|
|
40
|
+
"@rollup/plugin-commonjs": "^23.0.2",
|
|
41
|
+
"@rollup/plugin-json": "^5.0.1",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
43
|
+
"@rollup/plugin-replace": "^5.0.1",
|
|
44
|
+
"@rollup/plugin-url": "^8.0.1",
|
|
45
|
+
"@testing-library/dom": "^8.19.0",
|
|
46
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
47
|
+
"@testing-library/react": "^12.1.5",
|
|
48
|
+
"@types/jest": "^29.2.0",
|
|
49
|
+
"@types/lodash.clonedeep": "^4.5.7",
|
|
42
50
|
"@types/lodash.get": "^4.4.6",
|
|
43
51
|
"@types/react": "^17.0.11",
|
|
44
52
|
"@types/react-dom": "^17.0.8",
|
|
@@ -53,33 +61,27 @@
|
|
|
53
61
|
"jest": "^26.6.3",
|
|
54
62
|
"jest-css-modules": "^2.1.0",
|
|
55
63
|
"jest-junit": "^12.0.0",
|
|
56
|
-
"
|
|
57
|
-
"postcss-
|
|
58
|
-
"postcss-reporter": "^7.0.1",
|
|
64
|
+
"postcss-preset-env": "^7.8.2",
|
|
65
|
+
"postcss-reporter": "^7.0.5",
|
|
59
66
|
"react": "^16.8.0",
|
|
60
67
|
"react-dom": "^16.8.0",
|
|
61
68
|
"react-test-renderer": "^16.14.0",
|
|
62
69
|
"rimraf": "^3.0.2",
|
|
63
|
-
"rollup": "^2.
|
|
64
|
-
"rollup-plugin-
|
|
65
|
-
"rollup-plugin-
|
|
66
|
-
"rollup-plugin-json": "^4.0.0",
|
|
67
|
-
"rollup-plugin-license": "^2.5.0",
|
|
68
|
-
"rollup-plugin-node-resolve": "^5.2.0",
|
|
69
|
-
"rollup-plugin-postcss": "^3.1.8",
|
|
70
|
-
"rollup-plugin-replace": "^2.2.0",
|
|
70
|
+
"rollup": "^2.79.1",
|
|
71
|
+
"rollup-plugin-license": "^2.8.2",
|
|
72
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
71
73
|
"rollup-plugin-terser": "^7.0.2",
|
|
72
|
-
"rollup-plugin-typescript2": "^0.
|
|
73
|
-
"rollup-plugin-
|
|
74
|
-
"
|
|
75
|
-
"sass": "^1.32.5",
|
|
74
|
+
"rollup-plugin-typescript2": "^0.34.1",
|
|
75
|
+
"rollup-plugin-visualizer": "^5.8.3",
|
|
76
|
+
"sass": "^1.55.0",
|
|
76
77
|
"typescript": "^4.3.4"
|
|
77
78
|
},
|
|
78
79
|
"peerDependencies": {
|
|
79
80
|
"@qualtrics/base-styles": "^0.2.1",
|
|
80
81
|
"@qualtrics/ui-react": "^1.95.0",
|
|
81
|
-
"react": "^16.8.0",
|
|
82
|
-
"react-dom": "^16.8.0"
|
|
82
|
+
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
83
|
+
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
84
|
+
"typescript": ">=4.3.4"
|
|
83
85
|
},
|
|
84
86
|
"dependencies": {
|
|
85
87
|
"@popperjs/core": "^2.5.4",
|
|
@@ -89,7 +91,7 @@
|
|
|
89
91
|
"lodash.get": "^4.4.2",
|
|
90
92
|
"react-popper": "^2.2.3",
|
|
91
93
|
"regenerator-runtime": "^0.13.7",
|
|
92
|
-
"uuid": "^
|
|
94
|
+
"uuid": "^9.0.0"
|
|
93
95
|
},
|
|
94
96
|
"jest": {
|
|
95
97
|
"collectCoverage": true,
|
package/tsconfig.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
+
"outDir": "dist",
|
|
3
4
|
"noImplicitAny": true,
|
|
4
5
|
"sourceMap": true,
|
|
5
6
|
"module": "ES2015",
|
|
@@ -26,6 +27,11 @@
|
|
|
26
27
|
"exclude": [
|
|
27
28
|
"./dist/",
|
|
28
29
|
"./node_modules",
|
|
29
|
-
"__mocks__"
|
|
30
|
+
"__mocks__",
|
|
31
|
+
"**/__mocks__/*",
|
|
32
|
+
"./src/**/*.test.ts",
|
|
33
|
+
"./src/**/*.test.js",
|
|
34
|
+
"./src/**/*.spec.ts",
|
|
35
|
+
"./src/**/*.spec.js",
|
|
30
36
|
]
|
|
31
37
|
}
|
package/.dockerignore
DELETED
package/Dockerfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
FROM registry-app.eng.qops.net:5001/imported/alpine/node:16-alpine as base
|
|
2
|
-
ENV USER actions-task
|
|
3
|
-
ENV GROUP actions-task
|
|
4
|
-
ENV HOME /home/$USER
|
|
5
|
-
|
|
6
|
-
WORKDIR $HOME
|
|
7
|
-
ENV NODE_ENV=development
|
|
8
|
-
|
|
9
|
-
COPY ./ .
|
|
10
|
-
|
|
11
|
-
RUN apk update && apk upgrade && apk --no-cache add curl
|
|
12
|
-
RUN apk add --no-cache make
|
|
13
|
-
|
|
14
|
-
RUN npm config set registry https://artifactory.eng.qops.net/artifactory/api/npm/npm-virtual
|
|
15
|
-
|
|
16
|
-
RUN npm i && npm run build
|
|
17
|
-
|
|
18
|
-
RUN npm config set registry https://registry.npmjs.org
|
package/Makefile
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
APP = actions-task
|
|
2
|
-
IMAGE = $(APP)-builder
|
|
3
|
-
|
|
4
|
-
WORKSPACE_PATH ?= $(shell pwd)
|
|
5
|
-
WORKING_DIRECTORY = /home/$(APP)
|
|
6
|
-
|
|
7
|
-
RUNARGS = -w $(WORKING_DIRECTORY) --rm
|
|
8
|
-
|
|
9
|
-
build:
|
|
10
|
-
docker build -t $(IMAGE) -f Dockerfile .
|
|
11
|
-
|
|
12
|
-
test:
|
|
13
|
-
make test-directory TEST_RESULT_DIRECTORY=$(WORKSPACE_PATH)/coverage/$(DIRECTORY) WORKING_DIRECTORY=$(WORKING_DIRECTORY)/$(DIRECTORY)
|
|
14
|
-
|
|
15
|
-
test-directory: build
|
|
16
|
-
docker run $(RUNARGS) -v $(TEST_RESULT_DIRECTORY):$(WORKING_DIRECTORY)/coverage $(IMAGE) npm run test:trs
|
|
17
|
-
|
|
18
|
-
publish-external: build
|
|
19
|
-
docker run -e INT_NPM_TOKEN -w $(WORKING_DIRECTORY)/$(DIRECTORY) --rm $(IMAGE) make publish TAG=$(TAG)
|
|
20
|
-
|
|
21
|
-
publish:
|
|
22
|
-
@echo //registry.npmjs.org/:_authToken=${INT_NPM_TOKEN} >> ./.npmrc;
|
|
23
|
-
npm publish --tag=$(TAG)
|
|
24
|
-
|
|
25
|
-
clean:
|
|
26
|
-
docker rmi $(IMAGE) || true
|
|
27
|
-
|
|
28
|
-
.PHONY: build
|
|
29
|
-
.PHONY: test-directory
|
|
30
|
-
.PHONY: test
|
|
31
|
-
.PHONY: publish-external
|
|
32
|
-
.PHONY: publish
|
|
33
|
-
.PHONY: clean
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function DynamicSearchInput(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function languageCodeAdapter(languageCode: any): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function MultiselectDropdown(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function SelectItem(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function PipedTextSelect(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function Popover(props: any): JSX.Element;
|
package/dist/common/portal.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export class Portal extends Component<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
rootSelector: HTMLElement;
|
|
5
|
-
container: HTMLDivElement;
|
|
6
|
-
componentDidMount(): void;
|
|
7
|
-
componentWillUnmount(): void;
|
|
8
|
-
render(): import("react").ReactPortal;
|
|
9
|
-
}
|
|
10
|
-
import { Component } from "react";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function FieldItem(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function FieldRow(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export function TaskFields(props: any): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|