@progressive-development/pd-page 0.6.25 → 0.9.1

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.
Files changed (40) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +9 -14
  4. package/dist/locales/be.js +2 -3
  5. package/dist/locales/de.js +2 -3
  6. package/dist/locales/en.js +2 -3
  7. package/dist/pd-contact-us/PdContactUs.d.ts +19 -0
  8. package/dist/pd-contact-us/PdContactUs.d.ts.map +1 -0
  9. package/dist/pd-contact-us/PdContactUs.js +223 -0
  10. package/dist/pd-contact-us/pd-contact-us.d.ts +3 -0
  11. package/dist/pd-contact-us/pd-contact-us.d.ts.map +1 -0
  12. package/dist/{stories → pd-contact-us}/pd-contact-us.stories.d.ts +1 -1
  13. package/dist/pd-contact-us/pd-contact-us.stories.d.ts.map +1 -0
  14. package/dist/pd-contact-us.d.ts +2 -18
  15. package/dist/pd-contact-us.js +6 -224
  16. package/dist/pd-footer/PdFooter.d.ts +32 -0
  17. package/dist/pd-footer/PdFooter.d.ts.map +1 -0
  18. package/dist/pd-footer/PdFooter.js +162 -0
  19. package/dist/pd-footer/pd-footer.d.ts +3 -0
  20. package/dist/pd-footer/pd-footer.d.ts.map +1 -0
  21. package/dist/pd-footer/pd-footer.stories.d.ts.map +1 -0
  22. package/dist/pd-footer.d.ts +2 -31
  23. package/dist/pd-footer.js +6 -165
  24. package/dist/pd-menu/PdMenu.d.ts +72 -0
  25. package/dist/pd-menu/PdMenu.d.ts.map +1 -0
  26. package/dist/pd-menu/PdMenu.js +472 -0
  27. package/dist/pd-menu/pd-menu.d.ts +3 -0
  28. package/dist/pd-menu/pd-menu.d.ts.map +1 -0
  29. package/dist/{stories → pd-menu}/pd-menu.stories.d.ts +1 -1
  30. package/dist/{stories → pd-menu}/pd-menu.stories.d.ts.map +1 -1
  31. package/dist/pd-menu.d.ts +2 -71
  32. package/dist/pd-menu.js +6 -471
  33. package/dist/stories/01_index.stories.d.ts.map +1 -1
  34. package/package.json +29 -49
  35. package/dist/pd-contact-us.d.ts.map +0 -1
  36. package/dist/pd-footer.d.ts.map +0 -1
  37. package/dist/pd-menu.d.ts.map +0 -1
  38. package/dist/stories/pd-contact-us.stories.d.ts.map +0 -1
  39. package/dist/stories/pd-footer.stories.d.ts.map +0 -1
  40. /package/dist/{stories → pd-footer}/pd-footer.stories.d.ts +0 -0
package/dist/pd-menu.js CHANGED
@@ -1,473 +1,8 @@
1
- import { css, LitElement, html } from "lit";
2
- import { property, state, customElement } from "lit/decorators.js";
3
- import { msg } from "@lit/localize";
4
- import { installMediaQueryWatcher } from "pwa-helpers/media-query.js";
5
- import { PdColorStyles, PdFontStyles } from "@progressive-development/pd-shared-styles";
6
- import { pdIcons } from "@progressive-development/pd-icon";
7
- import "@progressive-development/pd-icon/pd-icon";
8
- var __defProp = Object.defineProperty;
9
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
10
- var __decorateClass = (decorators, target, key, kind) => {
11
- var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
12
- for (var i = decorators.length - 1, decorator; i >= 0; i--)
13
- if (decorator = decorators[i])
14
- result = (kind ? decorator(target, key, result) : decorator(result)) || result;
15
- if (kind && result) __defProp(target, key, result);
16
- return result;
17
- };
18
- let PdMenu = class extends LitElement {
19
- constructor() {
20
- super(...arguments);
21
- this.activeRoute = "";
22
- this.selectedLocale = "";
23
- this.locales = [];
24
- this.menuItems = [];
25
- this.topMenuItems = [];
26
- this.noBurgerMenu = false;
27
- this.headerSize = 0;
28
- this._activeSecIndex = 0;
29
- this._activeBurgerMenu = false;
30
- this._activeLocaleMenu = false;
31
- this._smallScreen = false;
32
- }
33
- firstUpdated() {
34
- const updateActiveSection = (scrollPos) => {
35
- let activeIndex = -1;
36
- let closestDistance = scrollPos > 300 ? 5e3 : 300;
37
- this.menuItems.forEach((item, index) => {
38
- if (item.ref) {
39
- const dist = Math.abs(item.ref.getBoundingClientRect().top);
40
- if (dist < closestDistance) {
41
- activeIndex = index;
42
- closestDistance = dist;
43
- }
44
- }
45
- });
46
- this._activeSecIndex = activeIndex >= 0 ? activeIndex + 1 : 0;
47
- };
48
- let ticking = false;
49
- document.addEventListener("scroll", () => {
50
- const scrollY = window.scrollY;
51
- if (!ticking) {
52
- window.requestAnimationFrame(() => {
53
- updateActiveSection(scrollY);
54
- ticking = false;
55
- });
56
- ticking = true;
57
- }
58
- });
59
- installMediaQueryWatcher(`(max-width: 700px)`, (matches) => {
60
- this._smallScreen = matches && !this.noBurgerMenu;
61
- });
62
- }
63
- render() {
64
- return html`
65
- <div class="menu-container">
66
- <slot name="slotLogo" @click="${this._logoClicked}"></slot>
1
+ import { PdMenu } from './pd-menu/PdMenu.js';
67
2
 
68
- <ul class="menu-ul ${this._smallScreen ? "burger-ul" : ""}">
69
- ${this._renderItems(
70
- this._smallScreen ? [...this.menuItems, ...this.topMenuItems] : this.menuItems,
71
- true,
72
- this._smallScreen
73
- )}
74
- </ul>
3
+ const tag = "pd-menu";
4
+ if (!customElements.get(tag)) {
5
+ customElements.define(tag, PdMenu);
6
+ }
75
7
 
76
- ${!this._smallScreen ? html`
77
- <ul class="menu-ul topMenu">
78
- ${this._renderItems(this.topMenuItems, false)}
79
- ${this.locales.length > 1 ? html`
80
- <li
81
- class="item menu-li locale-li"
82
- @click="${this._toggleLocaleSelection}"
83
- >
84
- ${this.selectedLocale}
85
- <pd-icon
86
- class="locale-selection-logo"
87
- icon="${pdIcons.ICON_TOOGLE_ARROW}"
88
- ?activeIcon="${!this._activeLocaleMenu}"
89
- ></pd-icon>
90
- <ul class="menu-ul locale-ul">
91
- ${this.locales.filter((l) => l !== this.selectedLocale).map(
92
- (locale) => html`
93
- <li
94
- class="item menu-li burger-li burger-item locale-item"
95
- data-key="${locale}"
96
- @click="${this._localeClicked}"
97
- >
98
- ${locale}
99
- </li>
100
- `
101
- )}
102
- </ul>
103
- </li>
104
- ` : ""}
105
- </ul>
106
- ` : html`
107
- <div class="menu-wrapper">
108
- <div class="burger-menu" @click="${this._toggleBurgerMenu}">
109
- <pd-icon
110
- class="burgerLogo"
111
- icon="${pdIcons.ICON_BURGER_MENU}"
112
- ?activeIcon="${!this._activeBurgerMenu}"
113
- ></pd-icon>
114
- <span class="item ${this._activeBurgerMenu ? "active" : ""}"
115
- >${msg("Menü", { id: "pd.menu.label" })}</span
116
- >
117
- </div>
118
- </div>
119
- `}
120
- </div>
121
- `;
122
- }
123
- _renderItems(items, highlight, disableIcons = false) {
124
- return html`
125
- ${items.map(
126
- (item, index) => html`
127
- <li
128
- class="item menu-li ${this._smallScreen ? "burger-li burger-item" : ""}
129
- ${highlight && (this._activeSecIndex === index + 1 || item.route === this.activeRoute) ? "active" : ""}"
130
- data-key="${item.key}"
131
- @click="${this._menuItemClicked}"
132
- >
133
- ${item.icon && !disableIcons ? html`<pd-icon
134
- class="topItemLogo"
135
- icon="${item.icon}"
136
- ></pd-icon>` : ""}
137
- ${item.name}
138
- </li>
139
- `
140
- )}
141
- `;
142
- }
143
- _toggleBurgerMenu() {
144
- this._activeBurgerMenu = !this._activeBurgerMenu;
145
- }
146
- _toggleLocaleSelection() {
147
- this._activeLocaleMenu = !this._activeLocaleMenu;
148
- }
149
- _localeClicked(e) {
150
- const locale = e.target.dataset.key;
151
- this.dispatchEvent(new CustomEvent("locale-change", { detail: locale }));
152
- }
153
- _menuItemClicked(e) {
154
- const key = e.target.dataset.key;
155
- const item = [...this.menuItems, ...this.topMenuItems].find(
156
- (i) => i.key === key
157
- );
158
- if (!item) return;
159
- if (item.sec && item.ref) {
160
- const rect = item.ref.getBoundingClientRect();
161
- window.scrollBy({
162
- top: rect.top - this.headerSize,
163
- behavior: "smooth"
164
- });
165
- } else if (item.route) {
166
- this.dispatchEvent(
167
- new CustomEvent("route-event", {
168
- detail: { route: item.route === "back" ? "" : item.route },
169
- bubbles: true,
170
- composed: true
171
- })
172
- );
173
- } else if (item.action) {
174
- item.action();
175
- }
176
- if (this._activeBurgerMenu) {
177
- this._activeBurgerMenu = false;
178
- }
179
- }
180
- _logoClicked() {
181
- PdMenu._scrollToTop();
182
- if (this.logoRoute) {
183
- this.dispatchEvent(
184
- new CustomEvent("route-event", {
185
- detail: {
186
- route: this.logoRoute
187
- },
188
- bubbles: true,
189
- composed: true
190
- })
191
- );
192
- }
193
- }
194
- static _scrollToTop() {
195
- window.scrollTo({ top: 0, behavior: "smooth" });
196
- }
197
- };
198
- PdMenu.styles = [
199
- PdColorStyles,
200
- PdFontStyles,
201
- css`
202
- :host {
203
- display: block;
204
- position: relative;
205
- height: var(--pd-menu-height, 100px);
206
- background-color: var(--pd-menu-bg-col, var(--pd-default-col));
207
- box-shadow: var(--pd-menu-shadow, 3px 3px 5px grey);
208
-
209
- /*
210
- Add into component, before styled from outside by using element
211
- removed fixed again => not fit for the teaser, custom properties possible, but now handle this in SPAHelper header element
212
- width: 100%;
213
- position: fixed;
214
- top: 0;
215
- */
216
- }
217
-
218
- .menu-container {
219
- height: 100%;
220
- padding-left: 10px;
221
- padding-right: 10px;
222
- display: flex;
223
- justify-content: space-between;
224
- align-items: center;
225
- white-space: nowrap;
226
- max-width: var(--pd-menu-wax-width, 1170px);
227
- margin: 0 auto;
228
- }
229
-
230
- .menu-ul {
231
- display: flex;
232
- align-items: center;
233
- list-style: none;
234
- margin: 0;
235
- padding: 0;
236
- }
237
-
238
- .burger-ul {
239
- visibility: hidden;
240
- overflow: hidden;
241
- z-index: -1;
242
- position: absolute;
243
- flex-direction: column;
244
- top: calc(var(--pd-menu-height, 100px) * -1);
245
- right: 0px;
246
- background-color: var(
247
- --pd-menu-burger-bg-col,
248
- var(--pd-default-light-col)
249
- );
250
-
251
- box-shadow: var(--pd-menu-shadow, 3px 3px 5px grey);
252
- border-bottom: var(--pd-menu-burger-bottomborder);
253
- padding: var(--pd-menu-burger-padding, 0);
254
- width: 100%;
255
- -moz-border-radius: var(--pd-border-radius);
256
- border-radius: var(--pd-border-radius);
257
-
258
- transition: 0.5s;
259
- transition-timing-function: ease-out;
260
-
261
- transform: translateY(0);
262
- opacity: 0;
263
- }
264
-
265
- .locale-ul {
266
- visibility: hidden;
267
- position: absolute;
268
- flex-direction: column;
269
- top: 10px;
270
- right: 15px;
271
- z-index: 100;
272
- background-color: var(
273
- --pd-menu-burger-bg-col,
274
- var(--pd-default-light-col)
275
- );
276
-
277
- box-shadow: var(--pd-menu-shadow, 3px 3px 5px grey);
278
- border-bottom: var(--pd-menu-burger-bottomborder);
279
- padding: var(--pd-menu-burger-padding, 0);
280
- -moz-border-radius: var(--pd-border-radius);
281
- border-radius: var(--pd-border-radius);
282
-
283
- transition: 0.5s;
284
- transition-timing-function: ease-out;
285
-
286
- transform: translateY(0);
287
- opacity: 0;
288
- }
289
-
290
- :host([_activeBurgerMenu]) .burger-ul {
291
- visibility: visible;
292
- opacity: 1;
293
- top: var(--pd-menu-burger-top, var(--pd-menu-height, 100px));
294
- transition-timing-function: ease-in;
295
- }
296
-
297
- :host([_activeLocaleMenu]) .locale-ul {
298
- visibility: visible;
299
- opacity: 1;
300
- top: 40px;
301
- transition-timing-function: ease-in;
302
- }
303
-
304
- .menu-li {
305
- display: flex;
306
- align-items: center;
307
- cursor: pointer;
308
- border-radius: var(--pd-border-radius);
309
- }
310
-
311
- .burger-li {
312
- border-radius: var(--pd-border-radius);
313
- align-self: justify;
314
- width: 80%;
315
- font-size: 90% !important;
316
- height: 1rem;
317
- }
318
-
319
- .locale-li {
320
- position: relative;
321
- }
322
-
323
- .burger-li:hover {
324
- background-color: var(--pd-default-dark-col);
325
- }
326
-
327
- .item {
328
- color: var(--pd-menu-font-col, var(--pd-default-bg-col));
329
- font-family: var(
330
- --pd-menu-font-family,
331
- var(--pd-default-font-title-family)
332
- );
333
- font-size: var(--pd-menu-font-size, 1.2em);
334
- font-weight: var(--pd-menu-font-weight, bold);
335
- padding: var(--pd-menu-item-padding, 0.6em);
336
- }
337
-
338
- .burger-item {
339
- color: var(--pd-menu-burger-font-col, var(--pd-default-dark-col));
340
- }
341
-
342
- .locale-item {
343
- padding-left: 1.5em;
344
- }
345
-
346
- .item.active,
347
- .item:hover {
348
- color: var(--pd-default-hover-col);
349
- }
350
-
351
- .item:hover {
352
- background-color: var(--pd-menu-item-bg-hover-col);
353
- }
354
-
355
- .item:hover .topItemLogo {
356
- --pd-icon-stroke-col: var(--pd-default-hover-col);
357
- }
358
-
359
- .topMenu {
360
- width: 100%;
361
- justify-content: end;
362
- padding-left: 10px;
363
- }
364
-
365
- .topItemLogo {
366
- --pd-icon-size: 1.4rem;
367
- --pd-icon-bg-col: transparent;
368
- --pd-icon-col: var(--pd-menu-font-col, var(--pd-default-bg-col));
369
- pointer-events: none;
370
- }
371
-
372
- .burgerLogo {
373
- --pd-icon-size: 2rem;
374
- --pd-icon-bg-col: transparent;
375
- pointer-events: none;
376
- }
377
-
378
- .menu-wrapper {
379
- width: 100%;
380
- display: flex;
381
- align-items: center;
382
- justify-content: end;
383
- padding-right: 0.5rem;
384
- }
385
-
386
- .burger-menu {
387
- display: flex;
388
- gap: 0.3rem;
389
- align-items: center;
390
- cursor: pointer;
391
-
392
- --pd-icon-col: var(--pd-default-hover-col);
393
- --pd-icon-col-active: lightgrey;
394
- }
395
-
396
- .burger-menu:hover {
397
- --pd-icon-col: var(--pd-default-hover-col);
398
- --pd-icon-col-active: var(--pd-default-hover-col);
399
- }
400
-
401
- .burger-menu .item {
402
- padding: 0;
403
- font-size: 1.5em;
404
- transition: color ease 0.5s;
405
- }
406
-
407
- .burger-menu:hover .item {
408
- color: var(--pd-default-hover-col);
409
- }
410
-
411
- /* Doppelt zum logo-container, pd-logo sonst nicht mehr funktional
412
- */
413
- ::slotted(.logo) {
414
- width: 100%;
415
- max-width: var(--pd-menu-logo-maxwidth, 8rem);
416
- padding: var(--pd-menu-logo-padding, 2em);
417
- width: 100%;
418
- fill: var(--pd-menu-logo-color, #067394);
419
- cursor: pointer;
420
- }
421
-
422
- .locale-selection-logo {
423
- --pd-icon-size: 0.8rem;
424
- --pd-icon-bg-col: transparent;
425
- --pd-icon-col: var(--pd-default-hover-col);
426
- --pd-icon-col-active: var(--pd-menu-font-col, var(--pd-default-bg-col));
427
- margin-top: 2px;
428
- pointer-events: none;
429
- }
430
- `
431
- ];
432
- __decorateClass([
433
- property({ type: String })
434
- ], PdMenu.prototype, "activeRoute", 2);
435
- __decorateClass([
436
- property({ type: String })
437
- ], PdMenu.prototype, "selectedLocale", 2);
438
- __decorateClass([
439
- property({ type: String })
440
- ], PdMenu.prototype, "logoRoute", 2);
441
- __decorateClass([
442
- property({ type: Array })
443
- ], PdMenu.prototype, "locales", 2);
444
- __decorateClass([
445
- property({ type: Array })
446
- ], PdMenu.prototype, "menuItems", 2);
447
- __decorateClass([
448
- property({ type: Array })
449
- ], PdMenu.prototype, "topMenuItems", 2);
450
- __decorateClass([
451
- property({ type: Boolean })
452
- ], PdMenu.prototype, "noBurgerMenu", 2);
453
- __decorateClass([
454
- property({ type: Number })
455
- ], PdMenu.prototype, "headerSize", 2);
456
- __decorateClass([
457
- state()
458
- ], PdMenu.prototype, "_activeSecIndex", 2);
459
- __decorateClass([
460
- state()
461
- ], PdMenu.prototype, "_activeBurgerMenu", 2);
462
- __decorateClass([
463
- state()
464
- ], PdMenu.prototype, "_activeLocaleMenu", 2);
465
- __decorateClass([
466
- state()
467
- ], PdMenu.prototype, "_smallScreen", 2);
468
- PdMenu = __decorateClass([
469
- customElement("pd-menu")
470
- ], PdMenu);
471
- export {
472
- PdMenu
473
- };
8
+ export { PdMenu };
@@ -1 +1 @@
1
- {"version":3,"file":"01_index.stories.d.ts","sourceRoot":"","sources":["../../src/stories/01_index.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAKhE,OAAO,eAAe,CAAC;AACvB,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iBAAiB,CAAC;wBAMpB,IAAI;AAJT,wBAIU;AA0DV,eAAO,MAAM,YAAY,EAAE,QAU1B,CAAC"}
1
+ {"version":3,"file":"01_index.stories.d.ts","sourceRoot":"","sources":["../../src/stories/01_index.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAKhE,OAAO,uBAAuB,CAAC;AAC/B,OAAO,mCAAmC,CAAC;AAC3C,OAAO,2BAA2B,CAAC;wBAM9B,IAAI;AAJT,wBAIU;AA0DV,eAAO,MAAM,YAAY,EAAE,QAU1B,CAAC"}
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "@progressive-development/pd-page",
3
- "version": "0.6.25",
3
+ "version": "0.9.1",
4
4
  "description": "Progressive development page helper, teaser, menu, footer.",
5
5
  "author": "PD Progressive Development",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
+ "type": "module",
9
10
  "types": "./dist/index.d.ts",
10
11
  "exports": {
11
12
  ".": "./dist/index.js",
@@ -22,63 +23,42 @@
22
23
  "README.md",
23
24
  "LICENSE"
24
25
  ],
26
+ "dependencies": {
27
+ "lit": "^3.3.1",
28
+ "@lit/localize": "^0.12.2",
29
+ "pwa-helpers": "^0.9.1",
30
+ "tslib": "^2.8.1",
31
+ "@progressive-development/pd-icon": "0.9.1",
32
+ "@progressive-development/pd-shared-styles": "0.3.0",
33
+ "@progressive-development/pd-contact": "0.9.1",
34
+ "@progressive-development/pd-dialog": "0.9.1",
35
+ "@progressive-development/pd-forms": "0.9.1"
36
+ },
37
+ "customElements": "custom-elements.json",
38
+ "keywords": [
39
+ "pd",
40
+ "progressive",
41
+ "development",
42
+ "menu",
43
+ "footer",
44
+ "teaser"
45
+ ],
25
46
  "scripts": {
26
47
  "analyze": "cem analyze --litelement --exclude dist,demo",
27
48
  "start": "vite",
28
49
  "build": "vite build",
29
50
  "preview": "vite preview",
30
51
  "clean": "rm -rf dist",
31
- "lint": "eslint --ext .ts,.html src --ignore-path .gitignore && prettier \"**/*.ts\" --check --ignore-path .gitignore",
32
- "format": "eslint --ext .ts,.html src --fix --ignore-path .gitignore && prettier \"**/*.ts\" --write --ignore-path .gitignore",
52
+ "clean:all": "rm -rf dist node_modules pnpm-lock.yaml",
53
+ "lint": "eslint --ext .ts,.html src --ignore-path ../../../.eslintignore && prettier \"**/*.ts\" --check --ignore-path ../../../.eslintignore",
54
+ "lint:lit": "lit-analyzer",
55
+ "format": "eslint --ext .ts,.html src --fix --ignore-path ../../../.eslintignore && prettier \"**/*.ts\" --write --ignore-path ../../../.eslintignore",
33
56
  "test": "vitest run --coverage",
34
57
  "test:watch": "vitest --watch",
35
- "check": "npm run lint && npm run build",
36
- "prepublishOnly": "npm run clean && npm run check",
58
+ "check": "pnpm run lint && pnpm run lint:lit && pnpm run build",
37
59
  "localizeExtract": "lit-localize extract",
38
60
  "localizeBuild": "lit-localize build",
39
61
  "storybook": "storybook dev -p 6006",
40
62
  "build-storybook": "storybook build"
41
- },
42
- "dependencies": {
43
- "@lit/localize": "^0.12.2",
44
- "@progressive-development/pd-contact": "^0.6.26",
45
- "@progressive-development/pd-dialog": "^0.6.24",
46
- "@progressive-development/pd-forms": "^0.8.7",
47
- "@progressive-development/pd-icon": "^0.7.6",
48
- "@progressive-development/pd-shared-styles": "^0.2.5",
49
- "lit": "^3.3.0",
50
- "pwa-helpers": "^0.9.1"
51
- },
52
- "devDependencies": {
53
- "@chromatic-com/storybook": "^1.9.0",
54
- "@custom-elements-manifest/analyzer": "^0.4.17",
55
- "@lit/localize-tools": "^0.6.10",
56
- "@storybook/addon-essentials": "^8.6.14",
57
- "@storybook/addon-links": "^8.6.14",
58
- "@storybook/blocks": "^8.0.10",
59
- "@storybook/test": "^8.6.14",
60
- "@storybook/web-components": "^8.0.10",
61
- "@storybook/web-components-vite": "^8.6.14",
62
- "@typescript-eslint/eslint-plugin": "^8.32.1",
63
- "@typescript-eslint/parser": "^8.32.1",
64
- "eslint": "^8.57.1",
65
- "eslint-config-prettier": "^9.1.0",
66
- "eslint-plugin-storybook": "^0.8.0",
67
- "prettier": "^3.5.3",
68
- "rollup-plugin-visualizer": "^5.14.0",
69
- "storybook": "^8.6.14",
70
- "typescript": "^5.8.3",
71
- "vite": "^5.4.19",
72
- "vite-plugin-dts": "^4.5.4",
73
- "vitest": "^2.1.9"
74
- },
75
- "customElements": "custom-elements.json",
76
- "keywords": [
77
- "pd",
78
- "progressive",
79
- "development",
80
- "menu",
81
- "footer",
82
- "teaser"
83
- ]
84
- }
63
+ }
64
+ }
@@ -1 +0,0 @@
1
- {"version":3,"file":"pd-contact-us.d.ts","sourceRoot":"","sources":["../src/pd-contact-us.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAS5D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,wDAAwD,CAAC;AAChE,OAAO,qDAAqD,CAAC;AAC7D,OAAO,+CAA+C,CAAC;AACvD,OAAO,4CAA4C,CAAC;AACpD,OAAO,iDAAiD,CAAC;AACzD,OAAO,gDAAgD,CAAC;AAIxD;;;;GAIG;AACH,qBAEa,WAAY,SAAQ,UAAU;IACzC;;OAEG;IAEH,OAAO,EAAE,aAAa,CAAM;IAE5B,OAAgB,MAAM,EAAE,cAAc,CAsEpC;IAEF,MAAM;IAgGN,KAAK,IAAI,IAAI;IAOb,OAAO,CAAC,SAAS;CAelB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pd-footer.d.ts","sourceRoot":"","sources":["../src/pd-footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAsB,cAAc,EAAE,MAAM,KAAK,CAAC;AAMrE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEvD;;;;;GAKG;AACH,qBACa,QAAS,SAAQ,UAAU;IACtC;;OAEG;IAEH,SAAS,SAAM;IAEf;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,MAAM,CAAC,EAAE,cAAc,CAAC;IAExB;;OAEG;IAEH,WAAW,EAAE,YAAY,EAAE,CAAM;IAEjC,OAAgB,MAAM,EAAE,cAAc,CA2EpC;IAEO,MAAM;IAmCf,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,kBAAkB;CAe3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pd-menu.d.ts","sourceRoot":"","sources":["../src/pd-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAY5D,OAAO,0CAA0C,CAAC;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE7C;;;;;;;GAOG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC;;OAEG;IAEH,WAAW,SAAM;IAEjB;;OAEG;IAEH,cAAc,SAAM;IAEpB;;OAEG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IAEH,OAAO,EAAE,MAAM,EAAE,CAAM;IAEvB;;OAEG;IAEH,SAAS,EAAE,UAAU,EAAE,CAAM;IAE7B;;OAEG;IAEH,YAAY,EAAE,UAAU,EAAE,CAAM;IAEhC;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,UAAU,SAAK;IAEf;;OAEG;IAEH,OAAO,CAAC,eAAe,CAAK;IAE5B;;OAEG;IAEH,OAAO,CAAC,iBAAiB,CAAS;IAElC;;OAEG;IAEH,OAAO,CAAC,iBAAiB,CAAS;IAElC;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAS;IAE7B,OAAgB,MAAM,EAAE,cAAc,CAyOpC;IAEF,SAAS,CAAC,YAAY;IAmCtB,MAAM;IAqEN,OAAO,CAAC,YAAY;IAiCpB,OAAO,CAAC,iBAAiB;IAIzB,OAAO,CAAC,sBAAsB;IAI9B,OAAO,CAAC,cAAc;IAKtB,OAAO,CAAC,gBAAgB;IA8BxB,OAAO,CAAC,YAAY;IAgBpB,OAAO,CAAC,MAAM,CAAC,YAAY;CAG5B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pd-contact-us.stories.d.ts","sourceRoot":"","sources":["../../src/stories/pd-contact-us.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAI/D,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,kBAAkB,CAAC;wBAoBrB,IAAI,CAAC,WAAW,CAAC;AAlBtB,wBAkBuB;AAMvB,eAAO,MAAM,OAAO,sBAAoB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"pd-footer.stories.d.ts","sourceRoot":"","sources":["../../src/stories/pd-footer.stories.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAI/D,OAAO,iBAAiB,CAAC;wBAcpB,IAAI;AAZT,wBAYU;AAuBV,eAAO,MAAM,OAAO,EAAE,OAA2B,CAAC;AAQlD,eAAO,MAAM,oBAAoB,EAAE,OAA2B,CAAC;AAM/D,eAAO,MAAM,QAAQ,EAAE,OAA2B,CAAC;AAKnD,eAAO,MAAM,gBAAgB,EAAE,OAA2B,CAAC"}