@gooddata/sdk-ui-dashboard 11.65.0-alpha.11 → 11.65.0-alpha.13
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/esm/__version.d.ts +1 -1
- package/esm/__version.js +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.d.ts.map +1 -1
- package/esm/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.js +6 -1
- package/package.json +23 -23
package/esm/__version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const LIB_VERSION = "11.65.0-alpha.
|
|
1
|
+
export declare const LIB_VERSION = "11.65.0-alpha.13";
|
|
2
2
|
export declare const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
3
3
|
export declare const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
4
4
|
//# sourceMappingURL=__version.d.ts.map
|
package/esm/__version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// (C) 2021 GoodData Corporation
|
|
2
2
|
// DO NOT CHANGE THIS FILE, IT IS RE-GENERATED ON EVERY BUILD
|
|
3
|
-
export const LIB_VERSION = "11.65.0-alpha.
|
|
3
|
+
export const LIB_VERSION = "11.65.0-alpha.13";
|
|
4
4
|
export const LIB_DESCRIPTION = "GoodData SDK - Dashboard Component";
|
|
5
5
|
export const LIB_NAME = "@gooddata/sdk-ui-dashboard";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RecipientsSelectRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAqE,MAAM,OAAO,CAAC;AAiB9G,OAAO,EACH,KAAK,oBAAoB,EACzB,KA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yB,CAAC,EAAE,MAAM,CAAC;CACtC;AAQD,eAAO,MAAM,wBAAwB,8CAC1B,8BAA8B,
|
|
1
|
+
{"version":3,"file":"RecipientsSelectRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/automations/scheduledEmail/DefaultScheduledEmailDialog/components/RecipientsSelect/RecipientsSelectRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,aAAa,EAAqE,MAAM,OAAO,CAAC;AAiB9G,OAAO,EACH,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAE1C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,KAAK,gBAAgB,EAKxB,MAAM,kBAAkB,CAAC;AAkG1B,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,KAAK,EAAE,oBAAoB,EAAE,CAAC;IAE9B;;OAEG;IACH,OAAO,EAAE,oBAAoB,EAAE,CAAC;IAEhC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,aAAa,EAAE,oBAAoB,EAAE,KAAK,IAAI,CAAC;IAE3D;;OAEG;IACH,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAEnC;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAE9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,oBAAoB,CAAC;IAElC;;OAEG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAElC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,mBAAmB,CAAC,EAAE,8BAA8B,GAAG,kCAAkC,CAAC;IAE1F;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,aAAa,KAAK,IAAI,CAAC;IAE7C;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;CACtC;AAQD,eAAO,MAAM,wBAAwB,8CAC1B,8BAA8B,6CA0wBvC,CAAC"}
|
|
@@ -82,6 +82,7 @@ export const RecipientsSelectRenderer = memo(function RecipientsSelectRenderer(p
|
|
|
82
82
|
onFocusNext: [{ code: ["ArrowRight"] }],
|
|
83
83
|
onSubmit: [{ code: ["Enter"] }],
|
|
84
84
|
onRecipientRemove: [{ code: ["Delete", "Backspace", "Enter"] }],
|
|
85
|
+
onFocusedRecipientRemove: [{ code: ["Space"] }],
|
|
85
86
|
});
|
|
86
87
|
useEffect(() => {
|
|
87
88
|
const { current } = recipientRef;
|
|
@@ -380,6 +381,10 @@ export const RecipientsSelectRenderer = memo(function RecipientsSelectRenderer(p
|
|
|
380
381
|
handleKeyboardRecipientRemove(focusedRecipientIndex);
|
|
381
382
|
}
|
|
382
383
|
},
|
|
384
|
+
// Undefined while typing, so Space still reaches the input.
|
|
385
|
+
onFocusedRecipientRemove: focusedRecipientIndex === -1
|
|
386
|
+
? undefined
|
|
387
|
+
: () => handleKeyboardRecipientRemove(focusedRecipientIndex),
|
|
383
388
|
onUnhandledKeyDown: () => {
|
|
384
389
|
setState((prev) => ({ ...prev, focusedRecipientIndex: -1 }));
|
|
385
390
|
},
|
|
@@ -503,5 +508,5 @@ export const RecipientsSelectRenderer = memo(function RecipientsSelectRenderer(p
|
|
|
503
508
|
// Options arrive pre-filtered (server search, or the owner's options memo).
|
|
504
509
|
filterOption: null, isClearable: false, isDisabled: !isMulti, isMulti: isMulti, onChange:
|
|
505
510
|
// using as any as it would be too tricky to type properly
|
|
506
|
-
handleOnChange, onInputChange: handleSearchChange, onMenuOpen: onMenuOpen, onMenuClose: () => setState((prev) => ({ ...prev, menuOpen: false })), onKeyDown: handleKeyDown, options: options, onBlur: onBlur, value: value, getOptionValue: (o) => o.id, getOptionLabel: getRecipientLabel, "aria-invalid": !isValid }), _jsx(RecipientsSelectionDescription, { id: descriptionId, recipients: value }), isValid ? (renderExternalRecipientsNote ? (_jsx("div", { className: "gd-recipients-field-note", children: _jsx(FormattedMessage, { id: "dialogs.schedule.email.recipients.note" }) })) : allowOnlyLoggedUserRecipients ? (_jsx("div", { className: "gd-recipients-field-note", children: _jsx(FormattedMessage, { id: "dialogs.schedule.email.destinationWarning" }) })) : null) : (_jsx("div", { id: errorId, className: "gd-recipients-field-error", children: getInvalidDatapoints().map((invalidDatapoint) => (_jsx("div", { id: invalidDatapoint.id, className: "gd-recipients-field-error-item", children: invalidDatapoint.message }, invalidDatapoint.id))) }))] })] }) }));
|
|
511
|
+
handleOnChange, onInputChange: handleSearchChange, onMenuOpen: onMenuOpen, onMenuClose: () => setState((prev) => ({ ...prev, menuOpen: false })), onFocus: () => setState((prev) => ({ ...prev, focusedRecipientIndex: -1 })), onKeyDown: handleKeyDown, options: options, onBlur: onBlur, value: value, getOptionValue: (o) => o.id, getOptionLabel: getRecipientLabel, "aria-invalid": !isValid }), _jsx(RecipientsSelectionDescription, { id: descriptionId, recipients: value }), isValid ? (renderExternalRecipientsNote ? (_jsx("div", { className: "gd-recipients-field-note", children: _jsx(FormattedMessage, { id: "dialogs.schedule.email.recipients.note" }) })) : allowOnlyLoggedUserRecipients ? (_jsx("div", { className: "gd-recipients-field-note", children: _jsx(FormattedMessage, { id: "dialogs.schedule.email.destinationWarning" }) })) : null) : (_jsx("div", { id: errorId, className: "gd-recipients-field-error", children: getInvalidDatapoints().map((invalidDatapoint) => (_jsx("div", { id: invalidDatapoint.id, className: "gd-recipients-field-error-item", children: invalidDatapoint.message }, invalidDatapoint.id))) }))] })] }) }));
|
|
507
512
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gooddata/sdk-ui-dashboard",
|
|
3
|
-
"version": "11.65.0-alpha.
|
|
3
|
+
"version": "11.65.0-alpha.13",
|
|
4
4
|
"description": "GoodData SDK - Dashboard Component",
|
|
5
5
|
"license": "LicenseRef-LICENSE",
|
|
6
6
|
"author": "GoodData Corporation",
|
|
@@ -60,22 +60,22 @@
|
|
|
60
60
|
"ts-invariant": "0.10.3",
|
|
61
61
|
"tslib": "2.8.1",
|
|
62
62
|
"uuid": "11.1.1",
|
|
63
|
-
"@gooddata/sdk-backend-
|
|
64
|
-
"@gooddata/sdk-backend-
|
|
65
|
-
"@gooddata/sdk-
|
|
66
|
-
"@gooddata/sdk-
|
|
67
|
-
"@gooddata/sdk-
|
|
68
|
-
"@gooddata/sdk-ui-analytical-designer": "11.65.0-alpha.
|
|
69
|
-
"@gooddata/sdk-ui-charts": "11.65.0-alpha.
|
|
70
|
-
"@gooddata/sdk-ui-
|
|
71
|
-
"@gooddata/sdk-ui-
|
|
72
|
-
"@gooddata/sdk-ui-
|
|
73
|
-
"@gooddata/sdk-ui-
|
|
74
|
-
"@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.
|
|
75
|
-
"@gooddata/sdk-ui-
|
|
76
|
-
"@gooddata/sdk-ui-
|
|
77
|
-
"@gooddata/
|
|
78
|
-
"@gooddata/
|
|
63
|
+
"@gooddata/sdk-backend-spi": "11.65.0-alpha.13",
|
|
64
|
+
"@gooddata/sdk-backend-base": "11.65.0-alpha.13",
|
|
65
|
+
"@gooddata/sdk-model": "11.65.0-alpha.13",
|
|
66
|
+
"@gooddata/sdk-ui": "11.65.0-alpha.13",
|
|
67
|
+
"@gooddata/sdk-embedding": "11.65.0-alpha.13",
|
|
68
|
+
"@gooddata/sdk-ui-analytical-designer": "11.65.0-alpha.13",
|
|
69
|
+
"@gooddata/sdk-ui-charts": "11.65.0-alpha.13",
|
|
70
|
+
"@gooddata/sdk-ui-filters": "11.65.0-alpha.13",
|
|
71
|
+
"@gooddata/sdk-ui-geo": "11.65.0-alpha.13",
|
|
72
|
+
"@gooddata/sdk-ui-ext": "11.65.0-alpha.13",
|
|
73
|
+
"@gooddata/sdk-ui-pivot": "11.65.0-alpha.13",
|
|
74
|
+
"@gooddata/sdk-ui-semantic-search": "11.65.0-alpha.13",
|
|
75
|
+
"@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.13",
|
|
76
|
+
"@gooddata/sdk-ui-kit": "11.65.0-alpha.13",
|
|
77
|
+
"@gooddata/util": "11.65.0-alpha.13",
|
|
78
|
+
"@gooddata/sdk-ui-vis-commons": "11.65.0-alpha.13"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@microsoft/api-documenter": "7.30.16",
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
"svgo": "2.8.4",
|
|
118
118
|
"typescript": "7.0.2",
|
|
119
119
|
"vitest": "5.0.4",
|
|
120
|
-
"@gooddata/
|
|
121
|
-
"@gooddata/
|
|
122
|
-
"@gooddata/
|
|
123
|
-
"@gooddata/reference-workspace": "11.65.0-alpha.
|
|
124
|
-
"@gooddata/
|
|
125
|
-
"@gooddata/
|
|
120
|
+
"@gooddata/oxlint-config": "11.65.0-alpha.13",
|
|
121
|
+
"@gooddata/i18n-toolkit": "11.65.0-alpha.13",
|
|
122
|
+
"@gooddata/eslint-config": "11.65.0-alpha.13",
|
|
123
|
+
"@gooddata/reference-workspace": "11.65.0-alpha.13",
|
|
124
|
+
"@gooddata/stylelint-config": "11.65.0-alpha.13",
|
|
125
|
+
"@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.13"
|
|
126
126
|
},
|
|
127
127
|
"peerDependencies": {
|
|
128
128
|
"react": "^18.0.0 || ^19.0.0",
|