@paperless/core 0.1.0-alpha.41 → 0.1.0-alpha.45

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 (156) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/build/p-0100c1a2.js +2 -0
  3. package/dist/build/{p-96f7f4ed.entry.js → p-11d24001.entry.js} +1 -1
  4. package/dist/build/{p-9d254d19.entry.js → p-19d84fe7.entry.js} +1 -1
  5. package/dist/build/{p-e32286ce.entry.js → p-2120a0b7.entry.js} +1 -1
  6. package/dist/build/{p-fb05d32c.entry.js → p-3b491ca2.entry.js} +1 -1
  7. package/dist/build/{p-24c63fe7.entry.js → p-3f6d3736.entry.js} +1 -1
  8. package/dist/build/{p-3ecf3173.entry.js → p-463f354c.entry.js} +1 -1
  9. package/dist/build/{p-02d2b531.entry.js → p-4a85b858.entry.js} +1 -1
  10. package/dist/build/p-5101f35f.entry.js +1 -0
  11. package/dist/build/p-5438d70e.entry.js +1 -0
  12. package/dist/build/{p-d5d2f377.entry.js → p-63e5f5e1.entry.js} +1 -1
  13. package/dist/build/{p-647910e6.entry.js → p-67fc89a6.entry.js} +1 -1
  14. package/dist/{paperless/p-20a59914.entry.js → build/p-6e60b92a.entry.js} +1 -1
  15. package/dist/{paperless/p-1d45ef92.entry.js → build/p-7784ee14.entry.js} +1 -1
  16. package/dist/build/{p-d03853e1.entry.js → p-864ac423.entry.js} +1 -1
  17. package/dist/build/p-94cef335.entry.js +1 -0
  18. package/dist/build/{p-d5ae88e6.entry.js → p-b68368f3.entry.js} +1 -1
  19. package/dist/build/{p-741ec1a6.entry.js → p-c64e2313.entry.js} +1 -1
  20. package/dist/{paperless/p-18572fe6.entry.js → build/p-ccbddcbb.entry.js} +1 -1
  21. package/dist/build/{p-90cb9ba3.entry.js → p-d069673f.entry.js} +1 -1
  22. package/dist/build/{p-ae7fb5ac.entry.js → p-f50c6e5b.entry.js} +1 -1
  23. package/dist/build/{p-69b38836.entry.js → p-fb1e33eb.entry.js} +1 -1
  24. package/dist/build/{p-aab433ae.entry.js → p-ffeed7c6.entry.js} +1 -1
  25. package/dist/build/paperless.esm.js +1 -1
  26. package/dist/cjs/{index-a46a39a5.js → index-f9c302b6.js} +15 -4
  27. package/dist/cjs/loader.cjs.js +2 -2
  28. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  29. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  30. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  31. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  32. package/dist/cjs/p-card-header.cjs.entry.js +1 -1
  33. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  34. package/dist/cjs/p-divider.cjs.entry.js +3 -3
  35. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +1 -1
  36. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +1 -1
  37. package/dist/cjs/p-dropdown.cjs.entry.js +1 -1
  38. package/dist/cjs/p-helper.cjs.entry.js +1 -1
  39. package/dist/cjs/p-illustration.cjs.entry.js +1 -1
  40. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  41. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +92 -0
  42. package/dist/cjs/p-modal.cjs.entry.js +39 -0
  43. package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
  44. package/dist/cjs/p-pagination-item.cjs.entry.js +1 -1
  45. package/dist/cjs/p-pagination.cjs.entry.js +1 -1
  46. package/dist/cjs/p-segment-container.cjs.entry.js +1 -1
  47. package/dist/cjs/p-segment-item.cjs.entry.js +1 -1
  48. package/dist/cjs/p-status.cjs.entry.js +1 -1
  49. package/dist/cjs/p-tooltip.cjs.entry.js +1 -1
  50. package/dist/cjs/paperless.cjs.js +2 -2
  51. package/dist/collection/collection-manifest.json +6 -0
  52. package/dist/collection/components/atoms/divider/divider.component.css +3 -1
  53. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  54. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +7 -0
  55. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +15 -0
  56. package/dist/collection/components/atoms/modal-body/modal-body.component.css +7 -0
  57. package/dist/collection/components/atoms/modal-body/modal-body.component.js +41 -0
  58. package/dist/collection/components/atoms/modal-container/modal-container.component.css +6 -0
  59. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -0
  60. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +4 -0
  61. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +16 -0
  62. package/dist/collection/components/atoms/modal-header/modal-header.component.css +6 -0
  63. package/dist/collection/components/atoms/modal-header/modal-header.component.js +15 -0
  64. package/dist/collection/components/molecules/modal/modal.component.js +111 -0
  65. package/dist/collection/tailwind/animation.js +17 -0
  66. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  67. package/dist/collection/tailwind/z-index.js +3 -0
  68. package/dist/collection/tailwind.config.js +6 -0
  69. package/dist/components/divider.component.js +30 -0
  70. package/dist/components/index.d.ts +6 -0
  71. package/dist/components/index.js +6 -0
  72. package/dist/components/modal-backdrop.component.js +30 -0
  73. package/dist/components/modal-body.component.js +36 -0
  74. package/dist/components/modal-container.component.js +48 -0
  75. package/dist/components/modal-footer.component.js +36 -0
  76. package/dist/components/modal-header.component.js +30 -0
  77. package/dist/components/p-divider.js +1 -28
  78. package/dist/components/p-modal-backdrop.d.ts +11 -0
  79. package/dist/components/p-modal-backdrop.js +6 -0
  80. package/dist/components/p-modal-body.d.ts +11 -0
  81. package/dist/components/p-modal-body.js +6 -0
  82. package/dist/components/p-modal-container.d.ts +11 -0
  83. package/dist/components/p-modal-container.js +6 -0
  84. package/dist/components/p-modal-footer.d.ts +11 -0
  85. package/dist/components/p-modal-footer.js +6 -0
  86. package/dist/components/p-modal-header.d.ts +11 -0
  87. package/dist/components/p-modal-header.js +6 -0
  88. package/dist/components/p-modal.d.ts +11 -0
  89. package/dist/components/p-modal.js +94 -0
  90. package/dist/esm/{index-a68e547b.js → index-fff70567.js} +15 -4
  91. package/dist/esm/loader.js +2 -2
  92. package/dist/esm/p-avatar.entry.js +1 -1
  93. package/dist/esm/p-button_3.entry.js +1 -1
  94. package/dist/esm/p-card-body.entry.js +1 -1
  95. package/dist/esm/p-card-container.entry.js +1 -1
  96. package/dist/esm/p-card-header.entry.js +1 -1
  97. package/dist/esm/p-counter.entry.js +1 -1
  98. package/dist/esm/p-divider.entry.js +3 -3
  99. package/dist/esm/p-dropdown-menu-container.entry.js +1 -1
  100. package/dist/esm/p-dropdown-menu-item.entry.js +1 -1
  101. package/dist/esm/p-dropdown.entry.js +1 -1
  102. package/dist/esm/p-helper.entry.js +1 -1
  103. package/dist/esm/p-illustration.entry.js +1 -1
  104. package/dist/esm/p-info-panel.entry.js +1 -1
  105. package/dist/esm/p-modal-backdrop_5.entry.js +84 -0
  106. package/dist/esm/p-modal.entry.js +35 -0
  107. package/dist/esm/p-navigation-item.entry.js +1 -1
  108. package/dist/esm/p-pagination-item.entry.js +1 -1
  109. package/dist/esm/p-pagination.entry.js +1 -1
  110. package/dist/esm/p-segment-container.entry.js +1 -1
  111. package/dist/esm/p-segment-item.entry.js +1 -1
  112. package/dist/esm/p-status.entry.js +1 -1
  113. package/dist/esm/p-tooltip.entry.js +1 -1
  114. package/dist/esm/paperless.js +2 -2
  115. package/dist/index.html +1 -1
  116. package/dist/paperless/p-0100c1a2.js +2 -0
  117. package/dist/paperless/{p-96f7f4ed.entry.js → p-11d24001.entry.js} +1 -1
  118. package/dist/paperless/{p-9d254d19.entry.js → p-19d84fe7.entry.js} +1 -1
  119. package/dist/paperless/{p-e32286ce.entry.js → p-2120a0b7.entry.js} +1 -1
  120. package/dist/paperless/{p-fb05d32c.entry.js → p-3b491ca2.entry.js} +1 -1
  121. package/dist/paperless/{p-24c63fe7.entry.js → p-3f6d3736.entry.js} +1 -1
  122. package/dist/paperless/{p-3ecf3173.entry.js → p-463f354c.entry.js} +1 -1
  123. package/dist/paperless/{p-02d2b531.entry.js → p-4a85b858.entry.js} +1 -1
  124. package/dist/paperless/p-5101f35f.entry.js +1 -0
  125. package/dist/paperless/p-5438d70e.entry.js +1 -0
  126. package/dist/paperless/{p-d5d2f377.entry.js → p-63e5f5e1.entry.js} +1 -1
  127. package/dist/paperless/{p-647910e6.entry.js → p-67fc89a6.entry.js} +1 -1
  128. package/dist/{build/p-20a59914.entry.js → paperless/p-6e60b92a.entry.js} +1 -1
  129. package/dist/{build/p-1d45ef92.entry.js → paperless/p-7784ee14.entry.js} +1 -1
  130. package/dist/paperless/{p-d03853e1.entry.js → p-864ac423.entry.js} +1 -1
  131. package/dist/paperless/p-94cef335.entry.js +1 -0
  132. package/dist/paperless/{p-d5ae88e6.entry.js → p-b68368f3.entry.js} +1 -1
  133. package/dist/paperless/{p-741ec1a6.entry.js → p-c64e2313.entry.js} +1 -1
  134. package/dist/{build/p-18572fe6.entry.js → paperless/p-ccbddcbb.entry.js} +1 -1
  135. package/dist/paperless/{p-90cb9ba3.entry.js → p-d069673f.entry.js} +1 -1
  136. package/dist/paperless/{p-ae7fb5ac.entry.js → p-f50c6e5b.entry.js} +1 -1
  137. package/dist/paperless/{p-69b38836.entry.js → p-fb1e33eb.entry.js} +1 -1
  138. package/dist/paperless/{p-aab433ae.entry.js → p-ffeed7c6.entry.js} +1 -1
  139. package/dist/paperless/paperless.esm.js +1 -1
  140. package/dist/sw.js +227 -83
  141. package/dist/tailwind/animation.js +17 -0
  142. package/dist/tailwind/backdrop-blur.js +3 -0
  143. package/dist/tailwind/z-index.js +3 -0
  144. package/dist/tailwind.config.js +6 -0
  145. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +3 -0
  146. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +7 -0
  147. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +7 -0
  148. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  149. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +3 -0
  150. package/dist/types/components/molecules/modal/modal.component.d.ts +25 -0
  151. package/dist/types/components.d.ts +126 -0
  152. package/package.json +1 -1
  153. package/dist/build/p-76464e0b.js +0 -2
  154. package/dist/build/p-ac0798de.entry.js +0 -1
  155. package/dist/paperless/p-76464e0b.js +0 -2
  156. package/dist/paperless/p-ac0798de.entry.js +0 -1
@@ -14,12 +14,18 @@
14
14
  "./components/atoms/helper/helper.component.js",
15
15
  "./components/atoms/info-panel/info-panel.component.js",
16
16
  "./components/atoms/loader/loader.component.js",
17
+ "./components/atoms/modal-backdrop/modal-backdrop.component.js",
18
+ "./components/atoms/modal-body/modal-body.component.js",
19
+ "./components/atoms/modal-container/modal-container.component.js",
20
+ "./components/atoms/modal-footer/modal-footer.component.js",
21
+ "./components/atoms/modal-header/modal-header.component.js",
17
22
  "./components/atoms/pagination-item/pagination-item.component.js",
18
23
  "./components/atoms/segment-container/segment-container.component.js",
19
24
  "./components/atoms/segment-item/segment-item.component.js",
20
25
  "./components/atoms/status/status.component.js",
21
26
  "./components/atoms/tooltip/tooltip.component.js",
22
27
  "./components/molecules/dropdown/dropdown.component.js",
28
+ "./components/molecules/modal/modal.component.js",
23
29
  "./components/molecules/navigation-item/navigation-item.component.js",
24
30
  "./components/molecules/pagination/pagination.component.js"
25
31
  ],
@@ -1 +1,3 @@
1
- .static{position:static!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.h-px{height:1px!important}.w-full{width:100%!important}.bg-mystic-medium{--tw-bg-opacity:1!important;background-color:rgb(227 236 243/var(--tw-bg-opacity))!important}
1
+ :host {
2
+ @apply block h-px bg-mystic-medium my-2 w-full;
3
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}
@@ -1,7 +1,7 @@
1
1
  import { Component, h, Host } from '@stencil/core';
2
2
  export class Divider {
3
3
  render() {
4
- return (h(Host, { class: "p-divider h-px bg-mystic-medium my-2 w-full" }));
4
+ return h(Host, { class: "p-divider" });
5
5
  }
6
6
  static get is() { return "p-divider"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,7 @@
1
+ :host {
2
+ @apply fixed top-0 left-0 z-modal;
3
+ @apply h-screen w-screen p-16;
4
+ @apply backdrop-blur-xs bg-storm/50;
5
+ @apply flex justify-center items-center;
6
+ @apply animate-fade-in;
7
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,15 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class ModalBackdrop {
3
+ render() {
4
+ return (h(Host, { class: "p-modal-backdrop" },
5
+ h("slot", null)));
6
+ }
7
+ static get is() { return "p-modal-backdrop"; }
8
+ static get encapsulation() { return "shadow"; }
9
+ static get originalStyleUrls() { return {
10
+ "$": ["modal-backdrop.component.scss"]
11
+ }; }
12
+ static get styleUrls() { return {
13
+ "$": ["modal-backdrop.component.css"]
14
+ }; }
15
+ }
@@ -0,0 +1,7 @@
1
+ :host {
2
+ @apply px-14 py-6;
3
+ }
4
+
5
+ :host(.variant-table) {
6
+ @apply px-6;
7
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,41 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ export class ModalBody {
3
+ constructor() {
4
+ /**
5
+ * The variant of the modal body
6
+ */
7
+ this.variant = 'default';
8
+ }
9
+ render() {
10
+ return (h(Host, { class: `p-modal-body variant-${this.variant}` },
11
+ h("slot", null)));
12
+ }
13
+ static get is() { return "p-modal-body"; }
14
+ static get encapsulation() { return "shadow"; }
15
+ static get originalStyleUrls() { return {
16
+ "$": ["modal-body.component.scss"]
17
+ }; }
18
+ static get styleUrls() { return {
19
+ "$": ["modal-body.component.css"]
20
+ }; }
21
+ static get properties() { return {
22
+ "variant": {
23
+ "type": "string",
24
+ "mutable": false,
25
+ "complexType": {
26
+ "original": "'default' | 'table'",
27
+ "resolved": "\"default\" | \"table\"",
28
+ "references": {}
29
+ },
30
+ "required": false,
31
+ "optional": false,
32
+ "docs": {
33
+ "tags": [],
34
+ "text": "The variant of the modal body"
35
+ },
36
+ "attribute": "variant",
37
+ "reflect": false,
38
+ "defaultValue": "'default'"
39
+ }
40
+ }; }
41
+ }
@@ -0,0 +1,6 @@
1
+ p-modal-container {
2
+ @apply flex flex-col;
3
+ @apply bg-white rounded-xxlarge;
4
+ @apply overflow-hidden;
5
+ @apply shadow-4 !important;
6
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}
@@ -0,0 +1,53 @@
1
+ import { Component, h, Host, Prop } from '@stencil/core';
2
+ // $modal-xs: 20rem;
3
+ // $modal-sm: 33.5rem;
4
+ // $modal-md: 38rem;
5
+ // $modal-lg: 47.5rem;
6
+ // $modal-xl: 57.5rem;
7
+ const modalSizes = {
8
+ xs: 'w-80',
9
+ sm: 'w-[33.5rem]',
10
+ md: 'w-[38rem]',
11
+ lg: 'w-[47.5rem]',
12
+ xl: 'w-[57.5rem]',
13
+ };
14
+ export class ModalContainer {
15
+ constructor() {
16
+ /**
17
+ * The size of the modal container
18
+ */
19
+ this.size = 'md';
20
+ }
21
+ render() {
22
+ const sizeClass = modalSizes[this.size];
23
+ return (h(Host, { class: `p-modal-container ${sizeClass}` },
24
+ h("slot", null)));
25
+ }
26
+ static get is() { return "p-modal-container"; }
27
+ static get originalStyleUrls() { return {
28
+ "$": ["modal-container.component.scss"]
29
+ }; }
30
+ static get styleUrls() { return {
31
+ "$": ["modal-container.component.css"]
32
+ }; }
33
+ static get properties() { return {
34
+ "size": {
35
+ "type": "string",
36
+ "mutable": false,
37
+ "complexType": {
38
+ "original": "'sm' | 'md' | 'lg' | 'xl'",
39
+ "resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
40
+ "references": {}
41
+ },
42
+ "required": false,
43
+ "optional": false,
44
+ "docs": {
45
+ "tags": [],
46
+ "text": "The size of the modal container"
47
+ },
48
+ "attribute": "size",
49
+ "reflect": false,
50
+ "defaultValue": "'md'"
51
+ }
52
+ }; }
53
+ }
@@ -0,0 +1,4 @@
1
+ :host {
2
+ @apply flex flex-col;
3
+ @apply pb-6 px-6;
4
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}
@@ -0,0 +1,16 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class ModalFooter {
3
+ render() {
4
+ return (h(Host, { class: "p-modal-footer" },
5
+ h("p-divider", { class: "mb-6 mt-0" }),
6
+ h("slot", null)));
7
+ }
8
+ static get is() { return "p-modal-footer"; }
9
+ static get encapsulation() { return "shadow"; }
10
+ static get originalStyleUrls() { return {
11
+ "$": ["modal-footer.component.scss"]
12
+ }; }
13
+ static get styleUrls() { return {
14
+ "$": ["modal-footer.component.css"]
15
+ }; }
16
+ }
@@ -0,0 +1,6 @@
1
+ :host {
2
+ @apply bg-mystic;
3
+ @apply block px-8 py-6;
4
+ @apply text-storm-dark text-3xl font-bold;
5
+ @apply border-b border-b-mystic-medium !important;
6
+ } .container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.static{position:static!important}.static{position:static!important}.w-80{width:20rem!important}.w-\[33\.5rem\]{width:33.5rem!important}.w-\[38rem\]{width:38rem!important}.w-\[47\.5rem\]{width:47.5rem!important}.w-\[57\.5rem\]{width:57.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.static{position:static!important}.static{position:static!important}
@@ -0,0 +1,15 @@
1
+ import { Component, h, Host } from '@stencil/core';
2
+ export class ModalHeader {
3
+ render() {
4
+ return (h(Host, { class: "p-modal-header" },
5
+ h("slot", null)));
6
+ }
7
+ static get is() { return "p-modal-header"; }
8
+ static get encapsulation() { return "shadow"; }
9
+ static get originalStyleUrls() { return {
10
+ "$": ["modal-header.component.scss"]
11
+ }; }
12
+ static get styleUrls() { return {
13
+ "$": ["modal-header.component.css"]
14
+ }; }
15
+ }
@@ -0,0 +1,111 @@
1
+ import { Component, Element, h, Host, Prop } from '@stencil/core';
2
+ export class Modal {
3
+ constructor() {
4
+ /**
5
+ * The size of the modal container
6
+ */
7
+ this.size = 'md';
8
+ /**
9
+ * The variant of the modal body
10
+ */
11
+ this.variant = 'default';
12
+ /**
13
+ * Wether to show the modal or not
14
+ */
15
+ this.show = false;
16
+ this._hasFooterSlot = false;
17
+ }
18
+ componentWillLoad() {
19
+ this._hasFooterSlot = !!this._el.querySelector('[slot="footer"]');
20
+ }
21
+ render() {
22
+ if (!this.show) {
23
+ return;
24
+ }
25
+ const titleContent = h("slot", { name: "title" });
26
+ const bodyContent = h("slot", { name: "content" });
27
+ const footerContent = h("slot", { name: "footer" });
28
+ return (h(Host, { class: "p-modal" },
29
+ h("p-modal-backdrop", null,
30
+ h("p-modal-container", { size: this.size },
31
+ h("p-modal-header", null, this.title ? this.title : titleContent),
32
+ h("p-modal-body", { variant: this.variant }, bodyContent),
33
+ this._hasFooterSlot && (h("p-modal-footer", null, footerContent))))));
34
+ }
35
+ static get is() { return "p-modal"; }
36
+ static get encapsulation() { return "shadow"; }
37
+ static get properties() { return {
38
+ "size": {
39
+ "type": "string",
40
+ "mutable": false,
41
+ "complexType": {
42
+ "original": "'sm' | 'md' | 'lg' | 'xl'",
43
+ "resolved": "\"lg\" | \"md\" | \"sm\" | \"xl\"",
44
+ "references": {}
45
+ },
46
+ "required": false,
47
+ "optional": false,
48
+ "docs": {
49
+ "tags": [],
50
+ "text": "The size of the modal container"
51
+ },
52
+ "attribute": "size",
53
+ "reflect": false,
54
+ "defaultValue": "'md'"
55
+ },
56
+ "variant": {
57
+ "type": "string",
58
+ "mutable": false,
59
+ "complexType": {
60
+ "original": "'default' | 'table'",
61
+ "resolved": "\"default\" | \"table\"",
62
+ "references": {}
63
+ },
64
+ "required": false,
65
+ "optional": false,
66
+ "docs": {
67
+ "tags": [],
68
+ "text": "The variant of the modal body"
69
+ },
70
+ "attribute": "variant",
71
+ "reflect": false,
72
+ "defaultValue": "'default'"
73
+ },
74
+ "title": {
75
+ "type": "string",
76
+ "mutable": false,
77
+ "complexType": {
78
+ "original": "string",
79
+ "resolved": "string",
80
+ "references": {}
81
+ },
82
+ "required": false,
83
+ "optional": false,
84
+ "docs": {
85
+ "tags": [],
86
+ "text": "The title of the modal"
87
+ },
88
+ "attribute": "title",
89
+ "reflect": false
90
+ },
91
+ "show": {
92
+ "type": "boolean",
93
+ "mutable": false,
94
+ "complexType": {
95
+ "original": "boolean",
96
+ "resolved": "boolean",
97
+ "references": {}
98
+ },
99
+ "required": false,
100
+ "optional": false,
101
+ "docs": {
102
+ "tags": [],
103
+ "text": "Wether to show the modal or not"
104
+ },
105
+ "attribute": "show",
106
+ "reflect": false,
107
+ "defaultValue": "false"
108
+ }
109
+ }; }
110
+ static get elementRef() { return "_el"; }
111
+ }
@@ -0,0 +1,17 @@
1
+ module.exports = {
2
+ animation: {
3
+ 'fade-in': 'fadeIn .2s ease-in-out',
4
+ 'fade-out': 'fadeOut .2s ease-in-out',
5
+ },
6
+
7
+ keyframes: {
8
+ fadeIn: {
9
+ '0%': { opacity: 0 },
10
+ '100%': { opacity: 100 },
11
+ },
12
+ fadeOut: {
13
+ '0%': { opacity: 100 },
14
+ '100%': { opacity: 0 },
15
+ },
16
+ },
17
+ };
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ xs: '2px',
3
+ };
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ modal: 500,
3
+ };
@@ -5,6 +5,9 @@ const grid = require('./tailwind/grid');
5
5
  const scale = require('./tailwind/scale');
6
6
  const rotate = require('./tailwind/rotate');
7
7
  const typeograhpy = require('./tailwind/typography');
8
+ const backdropBlur = require('./tailwind/backdrop-blur');
9
+ const zIndex = require('./tailwind/z-index');
10
+ const animation = require('./tailwind/animation');
8
11
 
9
12
  module.exports = {
10
13
  important: true,
@@ -15,10 +18,13 @@ module.exports = {
15
18
  borderRadius,
16
19
  extend: {
17
20
  ...grid,
21
+ ...animation,
18
22
  scale,
19
23
  rotate,
20
24
  fontSize: typeograhpy.fontSize,
21
25
  lineHeight: typeograhpy.lineHeight,
26
+ backdropBlur,
27
+ zIndex,
22
28
  },
23
29
  },
24
30
  plugins: [require('@tailwindcss/aspect-ratio')],
@@ -0,0 +1,30 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const dividerComponentCss = ".static{position:static!important}.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.block{display:block!important}.h-px{height:1px!important}.w-80{width:20rem!important}.bg-mystic-medium{--tw-bg-opacity:1!important;background-color:rgb(227 236 243/var(--tw-bg-opacity))!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}:host{--tw-bg-opacity:1;background-color:rgb(227 236 243/var(--tw-bg-opacity));display:block;height:1px;margin-bottom:.5rem;margin-top:.5rem;width:100%}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
4
+
5
+ const Divider = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ }
11
+ render() {
12
+ return h(Host, { class: "p-divider" });
13
+ }
14
+ static get style() { return dividerComponentCss; }
15
+ }, [1, "p-divider"]);
16
+ function defineCustomElement() {
17
+ if (typeof customElements === "undefined") {
18
+ return;
19
+ }
20
+ const components = ["p-divider"];
21
+ components.forEach(tagName => { switch (tagName) {
22
+ case "p-divider":
23
+ if (!customElements.get(tagName)) {
24
+ customElements.define(tagName, Divider);
25
+ }
26
+ break;
27
+ } });
28
+ }
29
+
30
+ export { Divider as D, defineCustomElement as d };
@@ -14,6 +14,12 @@ export { Icon as PIcon } from '../types/components/p-icon/p-icon';
14
14
  export { Illustration as PIllustration } from '../types/components/p-illustration/p-illustration';
15
15
  export { InfoPanel as PInfoPanel } from '../types/components/p-info-panel/p-info-panel';
16
16
  export { Loader as PLoader } from '../types/components/p-loader/p-loader';
17
+ export { Modal as PModal } from '../types/components/p-modal/p-modal';
18
+ export { ModalBackdrop as PModalBackdrop } from '../types/components/p-modal-backdrop/p-modal-backdrop';
19
+ export { ModalBody as PModalBody } from '../types/components/p-modal-body/p-modal-body';
20
+ export { ModalContainer as PModalContainer } from '../types/components/p-modal-container/p-modal-container';
21
+ export { ModalFooter as PModalFooter } from '../types/components/p-modal-footer/p-modal-footer';
22
+ export { ModalHeader as PModalHeader } from '../types/components/p-modal-header/p-modal-header';
17
23
  export { NavigationItem as PNavigationItem } from '../types/components/p-navigation-item/p-navigation-item';
18
24
  export { Pagination as PPagination } from '../types/components/p-pagination/p-pagination';
19
25
  export { PaginationItem as PPaginationItem } from '../types/components/p-pagination-item/p-pagination-item';
@@ -14,6 +14,12 @@ export { PIcon, defineCustomElement as defineCustomElementPIcon } from './p-icon
14
14
  export { PIllustration, defineCustomElement as defineCustomElementPIllustration } from './p-illustration.js';
15
15
  export { PInfoPanel, defineCustomElement as defineCustomElementPInfoPanel } from './p-info-panel.js';
16
16
  export { PLoader, defineCustomElement as defineCustomElementPLoader } from './p-loader.js';
17
+ export { PModal, defineCustomElement as defineCustomElementPModal } from './p-modal.js';
18
+ export { PModalBackdrop, defineCustomElement as defineCustomElementPModalBackdrop } from './p-modal-backdrop.js';
19
+ export { PModalBody, defineCustomElement as defineCustomElementPModalBody } from './p-modal-body.js';
20
+ export { PModalContainer, defineCustomElement as defineCustomElementPModalContainer } from './p-modal-container.js';
21
+ export { PModalFooter, defineCustomElement as defineCustomElementPModalFooter } from './p-modal-footer.js';
22
+ export { PModalHeader, defineCustomElement as defineCustomElementPModalHeader } from './p-modal-header.js';
17
23
  export { PNavigationItem, defineCustomElement as defineCustomElementPNavigationItem } from './p-navigation-item.js';
18
24
  export { PPagination, defineCustomElement as defineCustomElementPPagination } from './p-pagination.js';
19
25
  export { PPaginationItem, defineCustomElement as defineCustomElementPPaginationItem } from './p-pagination-item.js';
@@ -0,0 +1,30 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const modalBackdropComponentCss = ".static{position:static!important}.fixed{position:fixed!important}.top-0{top:0!important}.left-0{left:0!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.h-screen{height:100vh!important}.w-screen{width:100vw!important}.w-80{width:20rem!important}.justify-center{justify-content:center!important}.backdrop-blur-xs{--tw-backdrop-blur:blur(2px)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}:host{--tw-backdrop-blur:blur(2px);align-items:center;-webkit-animation:fadeIn .2s ease-in-out;animation:fadeIn .2s ease-in-out;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);background-color:rgba(81,83,107,.5);display:flex;height:100vh;justify-content:center;left:0;padding:4rem;position:fixed;top:0;width:100vw;z-index:500}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
4
+
5
+ const ModalBackdrop = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ }
11
+ render() {
12
+ return (h(Host, { class: "p-modal-backdrop" }, h("slot", null)));
13
+ }
14
+ static get style() { return modalBackdropComponentCss; }
15
+ }, [1, "p-modal-backdrop"]);
16
+ function defineCustomElement() {
17
+ if (typeof customElements === "undefined") {
18
+ return;
19
+ }
20
+ const components = ["p-modal-backdrop"];
21
+ components.forEach(tagName => { switch (tagName) {
22
+ case "p-modal-backdrop":
23
+ if (!customElements.get(tagName)) {
24
+ customElements.define(tagName, ModalBackdrop);
25
+ }
26
+ break;
27
+ } });
28
+ }
29
+
30
+ export { ModalBackdrop as M, defineCustomElement as d };
@@ -0,0 +1,36 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const modalBodyComponentCss = ".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.w-80{width:20rem!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}:host{padding:1.5rem 3.5rem}:host(.variant-table){padding-left:1.5rem;padding-right:1.5rem}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
4
+
5
+ const ModalBody = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ /**
11
+ * The variant of the modal body
12
+ */
13
+ this.variant = 'default';
14
+ }
15
+ render() {
16
+ return (h(Host, { class: `p-modal-body variant-${this.variant}` }, h("slot", null)));
17
+ }
18
+ static get style() { return modalBodyComponentCss; }
19
+ }, [1, "p-modal-body", {
20
+ "variant": [1]
21
+ }]);
22
+ function defineCustomElement() {
23
+ if (typeof customElements === "undefined") {
24
+ return;
25
+ }
26
+ const components = ["p-modal-body"];
27
+ components.forEach(tagName => { switch (tagName) {
28
+ case "p-modal-body":
29
+ if (!customElements.get(tagName)) {
30
+ customElements.define(tagName, ModalBody);
31
+ }
32
+ break;
33
+ } });
34
+ }
35
+
36
+ export { ModalBody as M, defineCustomElement as d };
@@ -0,0 +1,48 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const modalContainerComponentCss = ".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.w-80{width:20rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.shadow-4{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}p-modal-container{--tw-bg-opacity:1;--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.75rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;overflow:hidden}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
4
+
5
+ // $modal-xs: 20rem;
6
+ // $modal-sm: 33.5rem;
7
+ // $modal-md: 38rem;
8
+ // $modal-lg: 47.5rem;
9
+ // $modal-xl: 57.5rem;
10
+ const modalSizes = {
11
+ xs: 'w-80',
12
+ sm: 'w-[33.5rem]',
13
+ md: 'w-[38rem]',
14
+ lg: 'w-[47.5rem]',
15
+ xl: 'w-[57.5rem]',
16
+ };
17
+ const ModalContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
18
+ constructor() {
19
+ super();
20
+ this.__registerHost();
21
+ /**
22
+ * The size of the modal container
23
+ */
24
+ this.size = 'md';
25
+ }
26
+ render() {
27
+ const sizeClass = modalSizes[this.size];
28
+ return (h(Host, { class: `p-modal-container ${sizeClass}` }, h("slot", null)));
29
+ }
30
+ static get style() { return modalContainerComponentCss; }
31
+ }, [4, "p-modal-container", {
32
+ "size": [1]
33
+ }]);
34
+ function defineCustomElement() {
35
+ if (typeof customElements === "undefined") {
36
+ return;
37
+ }
38
+ const components = ["p-modal-container"];
39
+ components.forEach(tagName => { switch (tagName) {
40
+ case "p-modal-container":
41
+ if (!customElements.get(tagName)) {
42
+ customElements.define(tagName, ModalContainer);
43
+ }
44
+ break;
45
+ } });
46
+ }
47
+
48
+ export { ModalContainer as M, defineCustomElement as d };
@@ -0,0 +1,36 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './divider.component.js';
3
+
4
+ const modalFooterComponentCss = ".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.flex{display:flex!important}.w-80{width:20rem!important}.pb-6{padding-bottom:1.5rem!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}:host{display:flex;flex-direction:column;padding-bottom:1.5rem;padding-left:1.5rem;padding-right:1.5rem}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
5
+
6
+ const ModalFooter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ }
12
+ render() {
13
+ return (h(Host, { class: "p-modal-footer" }, h("p-divider", { class: "mb-6 mt-0" }), h("slot", null)));
14
+ }
15
+ static get style() { return modalFooterComponentCss; }
16
+ }, [1, "p-modal-footer"]);
17
+ function defineCustomElement() {
18
+ if (typeof customElements === "undefined") {
19
+ return;
20
+ }
21
+ const components = ["p-modal-footer", "p-divider"];
22
+ components.forEach(tagName => { switch (tagName) {
23
+ case "p-modal-footer":
24
+ if (!customElements.get(tagName)) {
25
+ customElements.define(tagName, ModalFooter);
26
+ }
27
+ break;
28
+ case "p-divider":
29
+ if (!customElements.get(tagName)) {
30
+ defineCustomElement$1();
31
+ }
32
+ break;
33
+ } });
34
+ }
35
+
36
+ export { ModalFooter as M, defineCustomElement as d };
@@ -0,0 +1,30 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const modalHeaderComponentCss = ".static{position:static!important}.mb-6{margin-bottom:1.5rem!important}.mt-0{margin-top:0!important}.block{display:block!important}.w-80{width:20rem!important}.border-b{border-bottom-width:1px!important}.border-b-mystic-medium{--tw-border-opacity:1!important;border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important}.px-8{padding-left:2rem!important;padding-right:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}:host{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-border-opacity:1!important;background-color:rgb(247 250 252/var(--tw-bg-opacity));border-bottom-color:rgb(227 236 243/var(--tw-border-opacity))!important;border-bottom-width:1px!important;color:rgb(39 40 56/var(--tw-text-opacity));display:block;font-size:1.875rem;font-weight:700;line-height:2.25rem;padding:1.5rem 2rem}.w-\\[33\\.5rem\\]{width:33.5rem!important}.w-\\[38rem\\]{width:38rem!important}.w-\\[47\\.5rem\\]{width:47.5rem!important}.w-\\[57\\.5rem\\]{width:57.5rem!important}";
4
+
5
+ const ModalHeader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ }
11
+ render() {
12
+ return (h(Host, { class: "p-modal-header" }, h("slot", null)));
13
+ }
14
+ static get style() { return modalHeaderComponentCss; }
15
+ }, [1, "p-modal-header"]);
16
+ function defineCustomElement() {
17
+ if (typeof customElements === "undefined") {
18
+ return;
19
+ }
20
+ const components = ["p-modal-header"];
21
+ components.forEach(tagName => { switch (tagName) {
22
+ case "p-modal-header":
23
+ if (!customElements.get(tagName)) {
24
+ customElements.define(tagName, ModalHeader);
25
+ }
26
+ break;
27
+ } });
28
+ }
29
+
30
+ export { ModalHeader as M, defineCustomElement as d };