@sebgroup/green-core 2.21.0 → 2.22.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/components/coachmark/coachmark.component.d.ts +1 -1
- package/components/coachmark/coachmark.component.js +7 -5
- package/components/pagination/pagination.component.js +8 -12
- package/custom-elements.json +12110 -12116
- package/gds-element.js +1 -1
- package/generated/react/coachmark/index.d.ts +1 -1
- package/generated/react/index.d.ts +5 -5
- package/generated/react/index.js +5 -5
- package/package.json +1 -1
- package/primitives/form-control-header/form-control-header.component.js +7 -5
- package/utils/helpers/custom-element-scoping.js +1 -1
package/gds-element.js
CHANGED
|
@@ -14,7 +14,7 @@ class GdsElement extends LitElement {
|
|
|
14
14
|
/**
|
|
15
15
|
* The semantic version of this element. Can be used for troubleshooting to verify the version being used.
|
|
16
16
|
*/
|
|
17
|
-
this.semanticVersion = "2.
|
|
17
|
+
this.semanticVersion = "2.22.0";
|
|
18
18
|
this._isUsingTransitionalStyles = false;
|
|
19
19
|
this._dynamicStylesController = new DynamicStylesController(this);
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GdsCoachmark as GdsCoachmarkClass } from '../../../components/coachmark/coachmark.component';
|
|
2
2
|
import { getReactComponent } from '../../../utils/react';
|
|
3
3
|
type GdsCoachmarkProps = React.ComponentProps<ReturnType<typeof getReactComponent<GdsCoachmarkClass>>> & {
|
|
4
|
-
/** dispatched when the tooltip is closed */
|
|
4
|
+
/** dispatched when the tooltip is about to be closed. Can be cancelled to prevent closing. */
|
|
5
5
|
onGdsUiState?: (event: CustomEvent<any>) => void;
|
|
6
6
|
};
|
|
7
7
|
export declare const GdsCoachmark: {
|
|
@@ -49,11 +49,6 @@ export * from './filter-chip/index.js';
|
|
|
49
49
|
export * from './formatted-account/index.js';
|
|
50
50
|
export * from './formatted-date/index.js';
|
|
51
51
|
export * from './formatted-number/index.js';
|
|
52
|
-
export * from './radio-group/index.js';
|
|
53
|
-
export * from './segment/index.js';
|
|
54
|
-
export * from './sensitive-account/index.js';
|
|
55
|
-
export * from './sensitive-number/index.js';
|
|
56
|
-
export * from './sensitive-date/index.js';
|
|
57
52
|
export * from './icons/icon-ai/index.js';
|
|
58
53
|
export * from './icons/icon-airplane-up/index.js';
|
|
59
54
|
export * from './icons/icon-archive/index.js';
|
|
@@ -387,6 +382,11 @@ export * from './icons/icon-youtube/index.js';
|
|
|
387
382
|
export * from './icons/icon-zap/index.js';
|
|
388
383
|
export * from './icons/icon-zoom-in/index.js';
|
|
389
384
|
export * from './icons/icon-zoom-out/index.js';
|
|
385
|
+
export * from './radio-group/index.js';
|
|
386
|
+
export * from './segment/index.js';
|
|
387
|
+
export * from './sensitive-account/index.js';
|
|
388
|
+
export * from './sensitive-date/index.js';
|
|
389
|
+
export * from './sensitive-number/index.js';
|
|
390
390
|
export * from './option/index.js';
|
|
391
391
|
export * from './menu-heading/index.js';
|
|
392
392
|
export * from './menu-item/index.js';
|
package/generated/react/index.js
CHANGED
|
@@ -49,11 +49,6 @@ export * from "./filter-chip/index.js";
|
|
|
49
49
|
export * from "./formatted-account/index.js";
|
|
50
50
|
export * from "./formatted-date/index.js";
|
|
51
51
|
export * from "./formatted-number/index.js";
|
|
52
|
-
export * from "./radio-group/index.js";
|
|
53
|
-
export * from "./segment/index.js";
|
|
54
|
-
export * from "./sensitive-account/index.js";
|
|
55
|
-
export * from "./sensitive-number/index.js";
|
|
56
|
-
export * from "./sensitive-date/index.js";
|
|
57
52
|
export * from "./icons/icon-ai/index.js";
|
|
58
53
|
export * from "./icons/icon-airplane-up/index.js";
|
|
59
54
|
export * from "./icons/icon-archive/index.js";
|
|
@@ -387,6 +382,11 @@ export * from "./icons/icon-youtube/index.js";
|
|
|
387
382
|
export * from "./icons/icon-zap/index.js";
|
|
388
383
|
export * from "./icons/icon-zoom-in/index.js";
|
|
389
384
|
export * from "./icons/icon-zoom-out/index.js";
|
|
385
|
+
export * from "./radio-group/index.js";
|
|
386
|
+
export * from "./segment/index.js";
|
|
387
|
+
export * from "./sensitive-account/index.js";
|
|
388
|
+
export * from "./sensitive-date/index.js";
|
|
389
|
+
export * from "./sensitive-number/index.js";
|
|
390
390
|
export * from "./option/index.js";
|
|
391
391
|
export * from "./menu-heading/index.js";
|
|
392
392
|
export * from "./menu-item/index.js";
|
package/package.json
CHANGED
|
@@ -38,16 +38,18 @@ let GdsFormControlHeader = class extends GdsElement {
|
|
|
38
38
|
`;
|
|
39
39
|
});
|
|
40
40
|
__privateAdd(this, _handleExtSupTxtBtnClick, () => {
|
|
41
|
+
const shouldEventHappen = this.dispatchCustomEvent("gds-ui-state", {
|
|
42
|
+
bubbles: true,
|
|
43
|
+
composed: true,
|
|
44
|
+
detail: this.showExtendedSupportingText,
|
|
45
|
+
cancelable: true
|
|
46
|
+
});
|
|
47
|
+
if (!shouldEventHappen) return;
|
|
41
48
|
this.showExtendedSupportingText = !this.showExtendedSupportingText;
|
|
42
49
|
this._extendedSupportingText?.style.setProperty(
|
|
43
50
|
"--_max-height",
|
|
44
51
|
this.showExtendedSupportingText ? `${this._extendedSupportingText.scrollHeight}px` : "0"
|
|
45
52
|
);
|
|
46
|
-
this.dispatchCustomEvent("gds-ui-state", {
|
|
47
|
-
bubbles: true,
|
|
48
|
-
composed: true,
|
|
49
|
-
detail: this.showExtendedSupportingText
|
|
50
|
-
});
|
|
51
53
|
});
|
|
52
54
|
/**
|
|
53
55
|
* Handles the resize event to update the max-height of the extended supporting text.
|