@progressive-development/pd-page 0.9.2 → 1.0.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.
Files changed (69) hide show
  1. package/LICENSE +21 -2
  2. package/README.md +34 -57
  3. package/dist/generated/locales/be.d.ts +19 -1
  4. package/dist/generated/locales/be.d.ts.map +1 -1
  5. package/dist/generated/locales/de.d.ts +19 -1
  6. package/dist/generated/locales/de.d.ts.map +1 -1
  7. package/dist/generated/locales/en.d.ts +19 -1
  8. package/dist/generated/locales/en.d.ts.map +1 -1
  9. package/dist/index.d.ts +6 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +7 -0
  12. package/dist/locales/be.js +19 -1
  13. package/dist/locales/de.js +19 -1
  14. package/dist/locales/en.js +19 -1
  15. package/dist/pd-contact-us/PdContactUs.d.ts +15 -5
  16. package/dist/pd-contact-us/PdContactUs.d.ts.map +1 -1
  17. package/dist/pd-contact-us/PdContactUs.js +94 -131
  18. package/dist/pd-contact-us/pd-contact-us.stories.d.ts +36 -5
  19. package/dist/pd-contact-us/pd-contact-us.stories.d.ts.map +1 -1
  20. package/dist/pd-content/dist/pd-notice-box/PdNoticeBox.js +224 -0
  21. package/dist/pd-content/dist/pd-notice-box/pd-notice-box.js +8 -0
  22. package/dist/pd-footer/PdFooter.d.ts +27 -15
  23. package/dist/pd-footer/PdFooter.d.ts.map +1 -1
  24. package/dist/pd-footer/PdFooter.js +122 -71
  25. package/dist/pd-footer/pd-footer.stories.d.ts +47 -7
  26. package/dist/pd-footer/pd-footer.stories.d.ts.map +1 -1
  27. package/dist/pd-login/PdLogin.d.ts +59 -0
  28. package/dist/pd-login/PdLogin.d.ts.map +1 -0
  29. package/dist/pd-login/PdLogin.js +292 -0
  30. package/dist/pd-login/pd-login.d.ts +3 -0
  31. package/dist/pd-login/pd-login.d.ts.map +1 -0
  32. package/dist/pd-login/pd-login.stories.d.ts +55 -0
  33. package/dist/pd-login/pd-login.stories.d.ts.map +1 -0
  34. package/dist/pd-login.d.ts +2 -0
  35. package/dist/pd-login.js +8 -0
  36. package/dist/pd-menu/PdMenu.d.ts +72 -40
  37. package/dist/pd-menu/PdMenu.d.ts.map +1 -1
  38. package/dist/pd-menu/PdMenu.js +384 -273
  39. package/dist/pd-menu/pd-menu.stories.d.ts +59 -17
  40. package/dist/pd-menu/pd-menu.stories.d.ts.map +1 -1
  41. package/dist/pd-socialmedia/PdSocialmedia.d.ts +56 -0
  42. package/dist/pd-socialmedia/PdSocialmedia.d.ts.map +1 -0
  43. package/dist/pd-socialmedia/PdSocialmedia.js +426 -0
  44. package/dist/pd-socialmedia/pd-socialmedia-model.d.ts +16 -0
  45. package/dist/pd-socialmedia/pd-socialmedia-model.d.ts.map +1 -0
  46. package/dist/pd-socialmedia/pd-socialmedia-model.js +240 -0
  47. package/dist/pd-socialmedia/pd-socialmedia.d.ts +3 -0
  48. package/dist/pd-socialmedia/pd-socialmedia.d.ts.map +1 -0
  49. package/dist/pd-socialmedia/pd-socialmedia.stories.d.ts +53 -0
  50. package/dist/pd-socialmedia/pd-socialmedia.stories.d.ts.map +1 -0
  51. package/dist/pd-socialmedia.d.ts +2 -0
  52. package/dist/pd-socialmedia.js +7 -0
  53. package/dist/pd-toast/PdToast.d.ts +23 -0
  54. package/dist/pd-toast/PdToast.d.ts.map +1 -0
  55. package/dist/pd-toast/PdToast.js +222 -0
  56. package/dist/pd-toast/pd-toast.d.ts +3 -0
  57. package/dist/pd-toast/pd-toast.d.ts.map +1 -0
  58. package/dist/pd-toast/pd-toast.stories.d.ts +47 -0
  59. package/dist/pd-toast/pd-toast.stories.d.ts.map +1 -0
  60. package/dist/pd-toast.d.ts +2 -0
  61. package/dist/pd-toast.js +8 -0
  62. package/dist/stories/01_index.stories.d.ts +36 -4
  63. package/dist/stories/01_index.stories.d.ts.map +1 -1
  64. package/dist/toast-bus/toast-bus.d.ts +61 -0
  65. package/dist/toast-bus/toast-bus.d.ts.map +1 -0
  66. package/dist/toast-bus/toast-bus.js +42 -0
  67. package/dist/types.d.ts +18 -0
  68. package/dist/types.d.ts.map +1 -1
  69. package/package.json +13 -7
package/LICENSE CHANGED
@@ -1,2 +1,21 @@
1
- No License, all rights reserved
2
- @2021 - PD Progressive Development UG
1
+ MIT License
2
+
3
+ Copyright (c) 2021-present PD Progressive Development UG
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,76 +1,53 @@
1
- # \<pd-page>
1
+ # @progressive-development/pd-page
2
2
 
3
- This webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.
3
+ [![npm version](https://img.shields.io/npm/v/@progressive-development/pd-page.svg)](https://www.npmjs.com/package/@progressive-development/pd-page)
4
+ [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
5
+
6
+ Page layout components for navigation, footer, and contact sections.
7
+
8
+ ## Features
9
+
10
+ - **Lit 3 & TypeScript** – Modern, type-safe web components
11
+ - **Accessible** – WCAG 2.1 compliant, keyboard navigation, ARIA support
12
+ - **Themeable** – CSS Custom Properties for easy customization
13
+ - **Localized** – Built-in i18n support (EN, DE, BE)
14
+ - **Lightweight** – No heavy dependencies, tree-shakeable
15
+ - **Framework-agnostic** – Works with React, Vue, Angular, or vanilla JS
16
+ - **Smart Scroll Navigation** – Auto-highlight menu items based on scroll position with smooth scrolling
17
+ - **Responsive Menu** – Desktop navigation with automatic burger menu on mobile
18
+ - **Dual-Mode Social Media** – View mode for icon links, edit mode for managing profiles
19
+ - **Integrated Contact Form** – Split layout with company address and validated contact form
4
20
 
5
21
  ## Installation
6
22
 
7
23
  ```bash
8
- npm i pd-page
24
+ npm install @progressive-development/pd-page
9
25
  ```
10
26
 
11
- ## Usage
27
+ ## Quick Start
12
28
 
13
29
  ```html
14
30
  <script type="module">
15
- import 'pd-page/pd-page.js';
31
+ import '@progressive-development/pd-page';
16
32
  </script>
17
33
 
18
- <pd-page></pd-page>
34
+ <pd-menu .menuItems=${items}></pd-menu>
35
+ <pd-footer></pd-footer>
19
36
  ```
20
37
 
21
- ## Linting and formatting
38
+ ## Components
22
39
 
23
- To scan the project for linting and formatting errors, run
40
+ | Component | Description |
41
+ |-----------|-------------|
42
+ | `<pd-menu>` | Responsive navigation menu with scroll tracking |
43
+ | `<pd-footer>` | Page footer |
44
+ | `<pd-contact-us>` | Contact section with form and address |
45
+ | `<pd-socialmedia>` | Social media links (view and edit modes) |
24
46
 
25
- ```bash
26
- npm run lint
27
- ```
28
-
29
- To automatically fix linting and formatting errors, run
30
-
31
- ```bash
32
- npm run format
33
- ```
47
+ ## Documentation
34
48
 
35
- ## Testing with Web Test Runner
36
-
37
- To execute a single test run:
38
-
39
- ```bash
40
- npm run test
41
- ```
42
-
43
- To run the tests in interactive watch mode run:
44
-
45
- ```bash
46
- npm run test:watch
47
- ```
49
+ 📖 **Full documentation:** [pd-components.web.app](https://pd-components.web.app/)
48
50
 
49
- ## Demoing with Storybook
50
-
51
- To run a local instance of Storybook for your component, run
52
-
53
- ```bash
54
- npm run storybook
55
- ```
56
-
57
- To build a production version of Storybook, run
58
-
59
- ```bash
60
- npm run storybook:build
61
- ```
62
-
63
-
64
- ## Tooling configs
65
-
66
- For most of the tools, the configuration is in the `package.json` to minimize the amount of files in your project.
67
-
68
- If you customize the configuration a lot, you can consider moving them to individual files.
69
-
70
- ## Local Demo with `web-dev-server`
71
-
72
- ```bash
73
- npm start
74
- ```
51
+ ## License
75
52
 
76
- To run a local development server that serves the basic demo located in `demo/index.html`
53
+ MIT © [PD Progressive Development UG](https://progressive-development.com)
@@ -6,6 +6,24 @@ export declare const templates: {
6
6
  "pd.contactus.address.send": string;
7
7
  "pd.contactus.address.title": string;
8
8
  "pd.contactus.title": string;
9
- "pd.menu.label": string;
9
+ "pd.login.email.label": string;
10
+ "pd.login.forgot.back": string;
11
+ "pd.login.forgot.info": string;
12
+ "pd.login.forgot.password": string;
13
+ "pd.login.forgot.submit": string;
14
+ "pd.login.password.label": string;
15
+ "pd.login.submit": string;
16
+ "pdPage.toast.ariaClose": string;
17
+ "pd.footer.nav.aria": string;
18
+ "pd.menu.nav.aria": string;
19
+ "pd.menu.locale.aria": string;
20
+ "pd.menu.burger.aria": string;
21
+ "pd.socialmedia.aria.label": string;
22
+ "pd.socialmedia.empty": string;
23
+ "pd.socialmedia.new.entry": string;
24
+ "pd.socialmedia.placeholder": string;
25
+ "pd.socialmedia.delete": string;
26
+ "pd.socialmedia.cancel": string;
27
+ "pd.socialmedia.save": string;
10
28
  };
11
29
  //# sourceMappingURL=be.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"be.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/be.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
1
+ {"version":3,"file":"be.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/be.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC"}
@@ -6,6 +6,24 @@ export declare const templates: {
6
6
  "pd.contactus.address.phone": string;
7
7
  "pd.contactus.address.message": string;
8
8
  "pd.contactus.address.send": string;
9
- "pd.menu.label": string;
9
+ "pd.footer.nav.aria": string;
10
+ "pd.login.email.label": string;
11
+ "pd.login.password.label": string;
12
+ "pd.login.forgot.password": string;
13
+ "pd.login.submit": string;
14
+ "pd.login.forgot.info": string;
15
+ "pd.login.forgot.back": string;
16
+ "pd.login.forgot.submit": string;
17
+ "pd.menu.nav.aria": string;
18
+ "pd.menu.locale.aria": string;
19
+ "pd.menu.burger.aria": string;
20
+ "pd.socialmedia.aria.label": string;
21
+ "pd.socialmedia.empty": string;
22
+ "pd.socialmedia.new.entry": string;
23
+ "pd.socialmedia.placeholder": string;
24
+ "pd.socialmedia.delete": string;
25
+ "pd.socialmedia.cancel": string;
26
+ "pd.socialmedia.save": string;
27
+ "pdPage.toast.ariaClose": string;
10
28
  };
11
29
  //# sourceMappingURL=de.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/de.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
1
+ {"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/de.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC"}
@@ -6,6 +6,24 @@ export declare const templates: {
6
6
  "pd.contactus.address.send": string;
7
7
  "pd.contactus.address.title": string;
8
8
  "pd.contactus.title": string;
9
- "pd.menu.label": string;
9
+ "pd.login.email.label": string;
10
+ "pd.login.forgot.back": string;
11
+ "pd.login.forgot.info": string;
12
+ "pd.login.forgot.password": string;
13
+ "pd.login.forgot.submit": string;
14
+ "pd.login.password.label": string;
15
+ "pd.login.submit": string;
16
+ "pdPage.toast.ariaClose": string;
17
+ "pd.footer.nav.aria": string;
18
+ "pd.menu.nav.aria": string;
19
+ "pd.menu.locale.aria": string;
20
+ "pd.menu.burger.aria": string;
21
+ "pd.socialmedia.aria.label": string;
22
+ "pd.socialmedia.empty": string;
23
+ "pd.socialmedia.new.entry": string;
24
+ "pd.socialmedia.placeholder": string;
25
+ "pd.socialmedia.delete": string;
26
+ "pd.socialmedia.cancel": string;
27
+ "pd.socialmedia.save": string;
10
28
  };
11
29
  //# sourceMappingURL=en.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/en.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;CASrB,CAAC"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/generated/locales/en.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BrB,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,7 +1,12 @@
1
1
  export { PdContactUs } from './pd-contact-us/pd-contact-us.js';
2
2
  export { PdFooter } from './pd-footer/pd-footer.js';
3
+ export { PdLogin } from './pd-login/pd-login.js';
3
4
  export { PdMenu } from './pd-menu/pd-menu.js';
4
- export type { PdFooterLink, PdFooterMadeBy, PdMenuItem } from './types.js';
5
+ export { PdSocialmedia } from './pd-socialmedia/pd-socialmedia.js';
6
+ export { PdToast } from './pd-toast/pd-toast.js';
7
+ export type { PdFooterLink, PdFooterMadeBy, PdMenuItem, SocialEntry, LoginAttemptDetail, ForgotPasswordAttemptDetail, } from './types.js';
8
+ export { toastBus } from './toast-bus/toast-bus.js';
9
+ export type { ToastType, ToastDetail } from './toast-bus/toast-bus.js';
5
10
  export { templates as beTemplates } from './generated/locales/be.js';
6
11
  export { templates as deTemplates } from './generated/locales/de.js';
7
12
  export { templates as enTemplates } from './generated/locales/en.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE3E,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,YAAY,EACV,YAAY,EACZ,cAAc,EACd,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,2BAA2B,GAC5B,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACpD,YAAY,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvE,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC"}
package/dist/index.js CHANGED
@@ -1,9 +1,16 @@
1
1
  import './pd-contact-us.js';
2
2
  import './pd-footer.js';
3
+ import './pd-login.js';
3
4
  import './pd-menu.js';
5
+ import './pd-socialmedia.js';
6
+ import './pd-toast.js';
7
+ export { toastBus } from './toast-bus/toast-bus.js';
4
8
  export { templates as beTemplates } from './locales/be.js';
5
9
  export { templates as deTemplates } from './locales/de.js';
6
10
  export { templates as enTemplates } from './locales/en.js';
7
11
  export { PdContactUs } from './pd-contact-us/PdContactUs.js';
8
12
  export { PdFooter } from './pd-footer/PdFooter.js';
13
+ export { PdLogin } from './pd-login/PdLogin.js';
9
14
  export { PdMenu } from './pd-menu/PdMenu.js';
15
+ export { PdSocialmedia } from './pd-socialmedia/PdSocialmedia.js';
16
+ export { PdToast } from './pd-toast/PdToast.js';
@@ -6,7 +6,25 @@ const templates = {
6
6
  "pd.contactus.address.send": `Verzenden`,
7
7
  "pd.contactus.address.title": `Adres`,
8
8
  "pd.contactus.title": `Contact`,
9
- "pd.menu.label": `Menü`
9
+ "pd.login.email.label": `E-mail`,
10
+ "pd.login.forgot.back": `Terug naar aanmelden`,
11
+ "pd.login.forgot.info": `Voer uw e-mailadres in. U ontvangt een link om uw wachtwoord opnieuw in te stellen.`,
12
+ "pd.login.forgot.password": `Wachtwoord vergeten?`,
13
+ "pd.login.forgot.submit": `Link aanvragen`,
14
+ "pd.login.password.label": `Wachtwoord`,
15
+ "pd.login.submit": `Aanmelden`,
16
+ "pdPage.toast.ariaClose": `Sluiten`,
17
+ "pd.footer.nav.aria": `Footer Navigation`,
18
+ "pd.menu.nav.aria": `Hauptnavigation`,
19
+ "pd.menu.locale.aria": `Sprache auswählen`,
20
+ "pd.menu.burger.aria": `Menü öffnen`,
21
+ "pd.socialmedia.aria.label": `Social-Media-Profile`,
22
+ "pd.socialmedia.empty": `Keine Einträge`,
23
+ "pd.socialmedia.new.entry": `Neuer Eintrag`,
24
+ "pd.socialmedia.placeholder": `Socialmedia eingeben...`,
25
+ "pd.socialmedia.delete": `Eintrag löschen`,
26
+ "pd.socialmedia.cancel": `Abbrechen`,
27
+ "pd.socialmedia.save": `Speichern`
10
28
  };
11
29
 
12
30
  export { templates };
@@ -6,7 +6,25 @@ const templates = {
6
6
  "pd.contactus.address.phone": `Telefon`,
7
7
  "pd.contactus.address.message": `Nachricht`,
8
8
  "pd.contactus.address.send": `Absenden`,
9
- "pd.menu.label": `Menü`
9
+ "pd.footer.nav.aria": `Footer Navigation`,
10
+ "pd.login.email.label": `E-Mail`,
11
+ "pd.login.password.label": `Passwort`,
12
+ "pd.login.forgot.password": `Passwort vergessen?`,
13
+ "pd.login.submit": `Anmelden`,
14
+ "pd.login.forgot.info": `Geben Sie Ihre E-Mail-Adresse ein. Sie erhalten einen Link zum Zurücksetzen Ihres Passworts.`,
15
+ "pd.login.forgot.back": `Zurück zur Anmeldung`,
16
+ "pd.login.forgot.submit": `Link anfordern`,
17
+ "pd.menu.nav.aria": `Hauptnavigation`,
18
+ "pd.menu.locale.aria": `Sprache auswählen`,
19
+ "pd.menu.burger.aria": `Menü öffnen`,
20
+ "pd.socialmedia.aria.label": `Social-Media-Profile`,
21
+ "pd.socialmedia.empty": `Keine Einträge`,
22
+ "pd.socialmedia.new.entry": `Neuer Eintrag`,
23
+ "pd.socialmedia.placeholder": `Socialmedia eingeben...`,
24
+ "pd.socialmedia.delete": `Eintrag löschen`,
25
+ "pd.socialmedia.cancel": `Abbrechen`,
26
+ "pd.socialmedia.save": `Speichern`,
27
+ "pdPage.toast.ariaClose": `Schließen`
10
28
  };
11
29
 
12
30
  export { templates };
@@ -6,7 +6,25 @@ const templates = {
6
6
  "pd.contactus.address.send": `Send`,
7
7
  "pd.contactus.address.title": `Address`,
8
8
  "pd.contactus.title": `Contact`,
9
- "pd.menu.label": `Menü`
9
+ "pd.login.email.label": `Email`,
10
+ "pd.login.forgot.back": `Back to Login`,
11
+ "pd.login.forgot.info": `Enter your email address. You will receive a link to reset your password.`,
12
+ "pd.login.forgot.password": `Forgot password?`,
13
+ "pd.login.forgot.submit": `Request Link`,
14
+ "pd.login.password.label": `Password`,
15
+ "pd.login.submit": `Sign in`,
16
+ "pdPage.toast.ariaClose": `Close`,
17
+ "pd.footer.nav.aria": `Footer Navigation`,
18
+ "pd.menu.nav.aria": `Hauptnavigation`,
19
+ "pd.menu.locale.aria": `Sprache auswählen`,
20
+ "pd.menu.burger.aria": `Menü öffnen`,
21
+ "pd.socialmedia.aria.label": `Social-Media-Profile`,
22
+ "pd.socialmedia.empty": `Keine Einträge`,
23
+ "pd.socialmedia.new.entry": `Neuer Eintrag`,
24
+ "pd.socialmedia.placeholder": `Socialmedia eingeben...`,
25
+ "pd.socialmedia.delete": `Eintrag löschen`,
26
+ "pd.socialmedia.cancel": `Abbrechen`,
27
+ "pd.socialmedia.save": `Speichern`
10
28
  };
11
29
 
12
30
  export { templates };
@@ -1,16 +1,26 @@
1
1
  import { LitElement, CSSResultGroup } from 'lit';
2
2
  import { PdContactData } from '@progressive-development/pd-contact';
3
3
  /**
4
- * Contact form component with company address and message form.
4
+ * Contact form with company address card and message form.
5
+ *
6
+ * Displays a pd-contact card on the left and a message form on the right.
7
+ * Both sides wrap below each other when the container is too narrow.
8
+ *
9
+ * @summary Contact section with card-style address display and message form.
5
10
  *
6
- * @event send-contact-request - Fired when the contact form is valid and submitted.
7
11
  * @tagname pd-contact-us
12
+ *
13
+ * @event send-contact-request - Fired when form is valid and submitted with `{msgObj}` detail.
14
+ *
15
+ * @cssprop --pd-contactus-bg-col - Section background. Default: `var(--pd-default-col)`.
16
+ * @cssprop --pd-contactus-bg-image - Optional background image.
17
+ * @cssprop --pd-contactus-font-col - Text color. Default: `var(--pd-default-bg-col)`.
8
18
  */
9
19
  export declare class PdContactUs extends LitElement {
10
- /**
11
- * Contact data displayed in the address section.
12
- */
20
+ /** Contact data displayed in the card. */
13
21
  contact: PdContactData;
22
+ /** @ignore */
23
+ private _form;
14
24
  static styles: CSSResultGroup;
15
25
  render(): import('lit').TemplateResult<1>;
16
26
  clear(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"PdContactUs.d.ts","sourceRoot":"","sources":["../../src/pd-contact-us/PdContactUs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,mDAAmD,CAAC;AAC3D,OAAO,qDAAqD,CAAC;AAC7D,OAAO,+CAA+C,CAAC;AACvD,OAAO,4CAA4C,CAAC;AACpD,OAAO,iDAAiD,CAAC;AACzD,OAAO,gDAAgD,CAAC;AAIxD;;;;;GAKG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC;;OAEG;IAEH,OAAO,EAAE,aAAa,CAAM;IAE5B,OAAgB,MAAM,EAAE,cAAc,CAoEpC;IAEF,MAAM;IAgGN,KAAK,IAAI,IAAI;IAOb,OAAO,CAAC,SAAS;CAelB"}
1
+ {"version":3,"file":"PdContactUs.d.ts","sourceRoot":"","sources":["../../src/pd-contact-us/PdContactUs.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAI5D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,OAAO,6CAA6C,CAAC;AACrD,OAAO,qDAAqD,CAAC;AAC7D,OAAO,+CAA+C,CAAC;AACvD,OAAO,4CAA4C,CAAC;AACpD,OAAO,iDAAiD,CAAC;AACzD,OAAO,gDAAgD,CAAC;AAIxD;;;;;;;;;;;;;;;GAeG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,0CAA0C;IAE1C,OAAO,EAAE,aAAa,CAAM;IAE5B,cAAc;IAEd,OAAO,CAAC,KAAK,CAAmB;IAEhC,OAAgB,MAAM,EAAE,cAAc,CAkDpC;IAEF,MAAM;IAgFN,KAAK,IAAI,IAAI;IAIb,OAAO,CAAC,SAAS;CAYlB"}