@justeattakeaway/pie-cookie-banner 1.4.1 → 1.5.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/cdn_dist/index.d.ts +2 -2
- package/cdn_dist/index.js +60 -60
- package/custom-elements.json +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +152 -138
- package/dist/react.d.ts +2 -2
- package/package.json +10 -9
- package/src/index.ts +2 -2
package/cdn_dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
2
|
import type { CSSResult } from 'lit';
|
|
3
|
-
import
|
|
3
|
+
import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
|
|
4
4
|
import { PieSwitch } from '@justeattakeaway/pie-switch';
|
|
5
5
|
import type { PropertyValues } from 'lit';
|
|
6
6
|
import { TemplateResult } from 'lit';
|
|
@@ -137,7 +137,7 @@ export declare const ON_COOKIE_BANNER_PREFS_SAVED = "pie-cookie-banner-prefs-sav
|
|
|
137
137
|
* @event {CustomEvent} pie-cookie-banner-manage-prefs - when a user clicks manage preferences.
|
|
138
138
|
* @event {CustomEvent} pie-cookie-banner-prefs-saved - when a user clicks save preferences.
|
|
139
139
|
*/
|
|
140
|
-
export declare class PieCookieBanner extends
|
|
140
|
+
export declare class PieCookieBanner extends PieElement implements CookieBannerProps {
|
|
141
141
|
private _isCookieBannerHidden;
|
|
142
142
|
private _isModalOpen;
|
|
143
143
|
private _locale;
|