@gooddata/sdk-ui-kit 11.65.0-alpha.14 → 11.65.0-alpha.15

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.
@@ -29,9 +29,9 @@ export const Button = forwardRef(function Button({ className, describedByFromVal
29
29
  };
30
30
  const ariaDropdownAttributesFromConfig = {
31
31
  ...ariaDropdownProps,
32
- // override calculated dropdown props by explicit overrides from props
33
- "aria-controls": ariaControls ?? undefined,
34
- "aria-expanded": ariaExpanded ?? undefined,
32
+ // override calculated dropdown props by explicit overrides from props, when set
33
+ ...(ariaControls === undefined ? {} : { "aria-controls": ariaControls }),
34
+ ...(ariaExpanded === undefined ? {} : { "aria-expanded": ariaExpanded }),
35
35
  };
36
36
  const handleClick = useCallback((e) => {
37
37
  if (disabled) {
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderHelp.d.ts","sourceRoot":"","sources":["../../src/Header/HeaderHelp.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAiC,MAAM,OAAO,CAAC;AASvF,OAAO,EAAE,KAAK,2BAA2B,EAAoB,MAAM,2BAA2B,CAAC;AAG/F,UAAU,SAAS;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;CAChC;AAED,UAAU,gBAAgB;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B,CAAC,EAAE,2BAA2B,CAAC;IAC1D,KAAK,EAAE,SAAS,EAA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IAAI,CAAC;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,wBAAgB,UAAU,CAAC,EACvB,SAAS,EACT,KAAK,EACL,2BAA2B,EAC3B,eAAe,EACf,eAAe,EACf,aAAa,EACb,eAAe,GAClB,EAAE,gBAAgB,2CA+HlB"}
@@ -62,8 +62,5 @@ export function HeaderHelp({ className, items, helpMenuDropdownAlignPoints, onMe
62
62
  toggleHelpMenu(false);
63
63
  }, children: disableDropdown ? null : (_jsx(UiFocusManager, { enableFocusTrap: true, enableAutofocus: true, enableReturnFocusOnUnmount: { returnFocusTo: helpMenuButtonRef }, children: _jsx("div", { id: dropdownId, className: "gd-dialog gd-dropdown overlay gd-header-help-dropdown", role: "listbox", "aria-label": intl.formatMessage({ id: "gs.header.help.label" }), children: _jsx("div", { className: "gd-list small", children: menuItems }) }) })) })) : (false);
64
64
  };
65
- return helpRedirectUrl ? (_jsx("a", { className: classNames, href: helpRedirectUrl, target: "_blank", rel: "noreferrer noopener", children: _jsx(FormattedMessage, { id: "gs.header.help" }) })) : (_jsxs(Button, { className: cx(classNames, "gd-header-button"), onClick: () => toggleHelpMenu(), accessibilityConfig: {
66
- isExpanded: isOpen,
67
- popupId: dropdownId,
68
- }, ref: helpMenuButtonRef, children: [_jsx(FormattedMessage, { id: "gs.header.help" }), renderHelpMenu()] }));
65
+ return helpRedirectUrl ? (_jsx("a", { className: classNames, href: helpRedirectUrl, target: "_blank", rel: "noreferrer noopener", children: _jsx(FormattedMessage, { id: "gs.header.help" }) })) : (_jsxs(Button, { className: cx(classNames, "gd-header-button"), onClick: () => toggleHelpMenu(), accessibilityConfig: disableDropdown ? undefined : { isExpanded: isOpen, popupId: dropdownId }, ref: helpMenuButtonRef, children: [_jsx(FormattedMessage, { id: "gs.header.help" }), renderHelpMenu()] }));
69
66
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-kit",
3
- "version": "11.65.0-alpha.14",
3
+ "version": "11.65.0-alpha.15",
4
4
  "description": "GoodData SDK - UI Building Components",
5
5
  "license": "MIT",
6
6
  "author": "GoodData Corporation",
@@ -79,11 +79,11 @@
79
79
  "unified": "^11.0.5",
80
80
  "uuid": "11.1.1",
81
81
  "yaml": "2.8.3",
82
- "@gooddata/sdk-backend-spi": "11.65.0-alpha.14",
83
- "@gooddata/sdk-model": "11.65.0-alpha.14",
84
- "@gooddata/sdk-ui": "11.65.0-alpha.14",
85
- "@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.14",
86
- "@gooddata/util": "11.65.0-alpha.14"
82
+ "@gooddata/sdk-backend-spi": "11.65.0-alpha.15",
83
+ "@gooddata/sdk-model": "11.65.0-alpha.15",
84
+ "@gooddata/sdk-ui": "11.65.0-alpha.15",
85
+ "@gooddata/sdk-ui-theme-provider": "11.65.0-alpha.15",
86
+ "@gooddata/util": "11.65.0-alpha.15"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@microsoft/api-documenter": "7.30.16",
@@ -128,11 +128,11 @@
128
128
  "svgo": "2.8.4",
129
129
  "typescript": "7.0.2",
130
130
  "vitest": "5.0.4",
131
- "@gooddata/eslint-config": "11.65.0-alpha.14",
132
- "@gooddata/reference-workspace": "11.65.0-alpha.14",
133
- "@gooddata/oxlint-config": "11.65.0-alpha.14",
134
- "@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.14",
135
- "@gooddata/stylelint-config": "11.65.0-alpha.14"
131
+ "@gooddata/eslint-config": "11.65.0-alpha.15",
132
+ "@gooddata/oxlint-config": "11.65.0-alpha.15",
133
+ "@gooddata/reference-workspace": "11.65.0-alpha.15",
134
+ "@gooddata/sdk-backend-mockingbird": "11.65.0-alpha.15",
135
+ "@gooddata/stylelint-config": "11.65.0-alpha.15"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "react": "^18.0.0 || ^19.0.0",