@paperless/core 1.14.0 → 1.15.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 (74) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/build/p-a2b552f9.entry.js +2 -0
  3. package/dist/build/p-a2b552f9.entry.js.map +1 -0
  4. package/dist/build/p-d8149bb7.entry.js +2 -0
  5. package/dist/build/p-d8149bb7.entry.js.map +1 -0
  6. package/dist/build/p-d8e5bef2.entry.js +2 -0
  7. package/dist/build/p-d8e5bef2.entry.js.map +1 -0
  8. package/dist/build/paperless.esm.js +1 -1
  9. package/dist/build/paperless.esm.js.map +1 -1
  10. package/dist/cjs/index-1fde8b14.js +8 -0
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/p-divider.cjs.entry.js +2 -1
  13. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  14. package/dist/cjs/p-floating-menu-container.cjs.entry.js +21 -0
  15. package/dist/cjs/p-floating-menu-container.cjs.entry.js.map +1 -0
  16. package/dist/cjs/p-floating-menu-item.cjs.entry.js +22 -0
  17. package/dist/cjs/p-floating-menu-item.cjs.entry.js.map +1 -0
  18. package/dist/cjs/paperless.cjs.js +1 -1
  19. package/dist/collection/collection-manifest.json +2 -0
  20. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  21. package/dist/collection/components/atoms/divider/divider.component.js +25 -0
  22. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
  23. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -0
  24. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +19 -0
  25. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -0
  26. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js +26 -0
  27. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js.map +1 -0
  28. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js +17 -0
  29. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js.map +1 -0
  30. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -0
  31. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +44 -0
  32. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -0
  33. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js +26 -0
  34. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js.map +1 -0
  35. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js +17 -0
  36. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js.map +1 -0
  37. package/dist/components/divider.component.js +5 -2
  38. package/dist/components/divider.component.js.map +1 -1
  39. package/dist/components/p-floating-menu-container.d.ts +11 -0
  40. package/dist/components/p-floating-menu-container.js +35 -0
  41. package/dist/components/p-floating-menu-container.js.map +1 -0
  42. package/dist/components/p-floating-menu-item.d.ts +11 -0
  43. package/dist/components/p-floating-menu-item.js +38 -0
  44. package/dist/components/p-floating-menu-item.js.map +1 -0
  45. package/dist/esm/index-7b917f6b.js +8 -0
  46. package/dist/esm/loader.js +1 -1
  47. package/dist/esm/p-divider.entry.js +2 -1
  48. package/dist/esm/p-divider.entry.js.map +1 -1
  49. package/dist/esm/p-floating-menu-container.entry.js +17 -0
  50. package/dist/esm/p-floating-menu-container.entry.js.map +1 -0
  51. package/dist/esm/p-floating-menu-item.entry.js +18 -0
  52. package/dist/esm/p-floating-menu-item.entry.js.map +1 -0
  53. package/dist/esm/paperless.js +1 -1
  54. package/dist/index.html +1 -1
  55. package/dist/paperless/p-a2b552f9.entry.js +2 -0
  56. package/dist/paperless/p-a2b552f9.entry.js.map +1 -0
  57. package/dist/paperless/p-d8149bb7.entry.js +2 -0
  58. package/dist/paperless/p-d8149bb7.entry.js.map +1 -0
  59. package/dist/paperless/p-d8e5bef2.entry.js +2 -0
  60. package/dist/paperless/p-d8e5bef2.entry.js.map +1 -0
  61. package/dist/paperless/paperless.esm.js +1 -1
  62. package/dist/paperless/paperless.esm.js.map +1 -1
  63. package/dist/sw.js +1 -1
  64. package/dist/sw.js.map +1 -1
  65. package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
  66. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +3 -0
  67. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +7 -0
  68. package/dist/types/components.d.ts +42 -0
  69. package/hydrate/index.js +51 -3
  70. package/package.json +1 -1
  71. package/dist/build/p-0dcf23cd.entry.js +0 -2
  72. package/dist/build/p-0dcf23cd.entry.js.map +0 -1
  73. package/dist/paperless/p-0dcf23cd.entry.js +0 -2
  74. package/dist/paperless/p-0dcf23cd.entry.js.map +0 -1
@@ -0,0 +1,7 @@
1
+ export declare class FloatingMenuItem {
2
+ /**
3
+ * The variant of the modal body
4
+ */
5
+ hover: boolean;
6
+ render(): any;
7
+ }
@@ -351,6 +351,10 @@ export namespace Components {
351
351
  "value": Date | string | null | undefined;
352
352
  }
353
353
  interface PDivider {
354
+ /**
355
+ * The variant of the modal body
356
+ */
357
+ "variant": 'horizontal' | 'vertical';
354
358
  }
355
359
  interface PDrawer {
356
360
  /**
@@ -474,6 +478,14 @@ export namespace Components {
474
478
  */
475
479
  "icon": IconVariant;
476
480
  }
481
+ interface PFloatingMenuContainer {
482
+ }
483
+ interface PFloatingMenuItem {
484
+ /**
485
+ * The variant of the modal body
486
+ */
487
+ "hover": boolean;
488
+ }
477
489
  interface PHelper {
478
490
  /**
479
491
  * The placement of the helper popover
@@ -1646,6 +1658,18 @@ declare global {
1646
1658
  prototype: HTMLPDropdownMenuItemElement;
1647
1659
  new (): HTMLPDropdownMenuItemElement;
1648
1660
  };
1661
+ interface HTMLPFloatingMenuContainerElement extends Components.PFloatingMenuContainer, HTMLStencilElement {
1662
+ }
1663
+ var HTMLPFloatingMenuContainerElement: {
1664
+ prototype: HTMLPFloatingMenuContainerElement;
1665
+ new (): HTMLPFloatingMenuContainerElement;
1666
+ };
1667
+ interface HTMLPFloatingMenuItemElement extends Components.PFloatingMenuItem, HTMLStencilElement {
1668
+ }
1669
+ var HTMLPFloatingMenuItemElement: {
1670
+ prototype: HTMLPFloatingMenuItemElement;
1671
+ new (): HTMLPFloatingMenuItemElement;
1672
+ };
1649
1673
  interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
1650
1674
  }
1651
1675
  var HTMLPHelperElement: {
@@ -1909,6 +1933,8 @@ declare global {
1909
1933
  "p-dropdown": HTMLPDropdownElement;
1910
1934
  "p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
1911
1935
  "p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
1936
+ "p-floating-menu-container": HTMLPFloatingMenuContainerElement;
1937
+ "p-floating-menu-item": HTMLPFloatingMenuItemElement;
1912
1938
  "p-helper": HTMLPHelperElement;
1913
1939
  "p-icon": HTMLPIconElement;
1914
1940
  "p-illustration": HTMLPIllustrationElement;
@@ -2301,6 +2327,10 @@ declare namespace LocalJSX {
2301
2327
  "value"?: Date | string | null | undefined;
2302
2328
  }
2303
2329
  interface PDivider {
2330
+ /**
2331
+ * The variant of the modal body
2332
+ */
2333
+ "variant"?: 'horizontal' | 'vertical';
2304
2334
  }
2305
2335
  interface PDrawer {
2306
2336
  /**
@@ -2443,6 +2473,14 @@ declare namespace LocalJSX {
2443
2473
  */
2444
2474
  "icon"?: IconVariant;
2445
2475
  }
2476
+ interface PFloatingMenuContainer {
2477
+ }
2478
+ interface PFloatingMenuItem {
2479
+ /**
2480
+ * The variant of the modal body
2481
+ */
2482
+ "hover"?: boolean;
2483
+ }
2446
2484
  interface PHelper {
2447
2485
  /**
2448
2486
  * The placement of the helper popover
@@ -3544,6 +3582,8 @@ declare namespace LocalJSX {
3544
3582
  "p-dropdown": PDropdown;
3545
3583
  "p-dropdown-menu-container": PDropdownMenuContainer;
3546
3584
  "p-dropdown-menu-item": PDropdownMenuItem;
3585
+ "p-floating-menu-container": PFloatingMenuContainer;
3586
+ "p-floating-menu-item": PFloatingMenuItem;
3547
3587
  "p-helper": PHelper;
3548
3588
  "p-icon": PIcon;
3549
3589
  "p-illustration": PIllustration;
@@ -3612,6 +3652,8 @@ declare module "@stencil/core" {
3612
3652
  "p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
3613
3653
  "p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
3614
3654
  "p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
3655
+ "p-floating-menu-container": LocalJSX.PFloatingMenuContainer & JSXBase.HTMLAttributes<HTMLPFloatingMenuContainerElement>;
3656
+ "p-floating-menu-item": LocalJSX.PFloatingMenuItem & JSXBase.HTMLAttributes<HTMLPFloatingMenuItemElement>;
3615
3657
  "p-helper": LocalJSX.PHelper & JSXBase.HTMLAttributes<HTMLPHelperElement>;
3616
3658
  "p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
3617
3659
  "p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
package/hydrate/index.js CHANGED
@@ -18045,11 +18045,12 @@ class Datepicker {
18045
18045
  }; }
18046
18046
  }
18047
18047
 
18048
- const dividerComponentCss = "/*!@.my-2*/.my-2.sc-p-divider{margin-bottom:.5rem!important;margin-top:.5rem!important}/*!@.block*/.block.sc-p-divider{display:block!important}/*!@.flex*/.flex.sc-p-divider{display:flex!important}/*!@.h-px*/.h-px.sc-p-divider{height:1px!important}/*!@.w-full*/.w-full.sc-p-divider{width:100%!important}/*!@.bg-mystic-medium*/.bg-mystic-medium.sc-p-divider{--tw-bg-opacity:1!important;background-color:rgb(227 236 243/var(--tw-bg-opacity))!important}/*!@**/*.sc-p-divider{box-sizing:border-box}/*!@:host*/.sc-p-divider-h{display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}/*!@:host .content*/.sc-p-divider-h .content.sc-p-divider{align-items:center;display:flex;width:100%}/*!@:host .content:after,:host .content:before*/.sc-p-divider-h .content.sc-p-divider:after,.sc-p-divider-h .content.sc-p-divider:before{--tw-bg-opacity:1;background-color:rgb(227 236 243/var(--tw-bg-opacity));content:\"\";flex:1 1 0%;height:1px}/*!@.static*/.static.sc-p-divider{position:static!important}/*!@.items-center*/.items-center.sc-p-divider{align-items:center!important}/*!@.px-2*/.px-2.sc-p-divider{padding-left:.5rem!important;padding-right:.5rem!important}/*!@.text-xxs*/.text-xxs.sc-p-divider{font-size:.6875rem!important}/*!@.font-semibold*/.font-semibold.sc-p-divider{font-weight:600!important}/*!@.uppercase*/.uppercase.sc-p-divider{text-transform:uppercase!important}/*!@.text-storm-light*/.text-storm-light.sc-p-divider{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}";
18048
+ const dividerComponentCss = "/*!@.mx-2*/.mx-2.sc-p-divider{margin-left:.5rem!important;margin-right:.5rem!important}/*!@.my-0*/.my-0.sc-p-divider{margin-bottom:0!important;margin-top:0!important}/*!@.my-2*/.my-2.sc-p-divider{margin-bottom:.5rem!important;margin-top:.5rem!important}/*!@.block*/.block.sc-p-divider{display:block!important}/*!@.flex*/.flex.sc-p-divider{display:flex!important}/*!@.h-full*/.h-full.sc-p-divider{height:100%!important}/*!@.h-px*/.h-px.sc-p-divider{height:1px!important}/*!@.w-auto*/.w-auto.sc-p-divider{width:auto!important}/*!@.w-full*/.w-full.sc-p-divider{width:100%!important}/*!@.w-px*/.w-px.sc-p-divider{width:1px!important}/*!@.flex-1*/.flex-1.sc-p-divider{flex:1 1 0%!important}/*!@**/*.sc-p-divider{box-sizing:border-box}/*!@:host*/.sc-p-divider-h{--tw-text-opacity:1;color:rgb(227 236 243/var(--tw-text-opacity));display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}/*!@:host .content*/.sc-p-divider-h .content.sc-p-divider{align-items:center;display:flex;width:100%}/*!@:host .content:after,:host .content:before*/.sc-p-divider-h .content.sc-p-divider:after,.sc-p-divider-h .content.sc-p-divider:before{background-color:currentColor;content:\"\";flex:1 1 0%;height:1px}/*!@:host([variant=vertical])*/[variant=vertical].sc-p-divider-h{display:block;height:100%;margin:0 .5rem;width:auto}/*!@:host([variant=vertical]) .content*/[variant=vertical].sc-p-divider-h .content.sc-p-divider{flex-direction:column;height:100%;width:auto}/*!@:host([variant=vertical]) .content:after,:host([variant=vertical]) .content:before*/[variant=vertical].sc-p-divider-h .content.sc-p-divider:after,[variant=vertical].sc-p-divider-h .content.sc-p-divider:before{background-color:currentColor;content:\"\";flex:1 1 0%;width:1px}/*!@.static*/.static.sc-p-divider{position:static!important}/*!@.items-center*/.items-center.sc-p-divider{align-items:center!important}/*!@.px-2*/.px-2.sc-p-divider{padding-left:.5rem!important;padding-right:.5rem!important}/*!@.text-xxs*/.text-xxs.sc-p-divider{font-size:.6875rem!important}/*!@.font-semibold*/.font-semibold.sc-p-divider{font-weight:600!important}/*!@.uppercase*/.uppercase.sc-p-divider{text-transform:uppercase!important}/*!@.text-storm-light*/.text-storm-light.sc-p-divider{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}";
18049
18049
 
18050
18050
  class Divider {
18051
18051
  constructor(hostRef) {
18052
18052
  registerInstance(this, hostRef);
18053
+ this.variant = 'horizontal';
18053
18054
  }
18054
18055
  render() {
18055
18056
  var _a;
@@ -18061,10 +18062,12 @@ class Divider {
18061
18062
  static get cmpMeta() { return {
18062
18063
  "$flags$": 9,
18063
18064
  "$tagName$": "p-divider",
18064
- "$members$": undefined,
18065
+ "$members$": {
18066
+ "variant": [513]
18067
+ },
18065
18068
  "$listeners$": undefined,
18066
18069
  "$lazyBundleId$": "-",
18067
- "$attrsToReflect$": []
18070
+ "$attrsToReflect$": [["variant", "variant"]]
18068
18071
  }; }
18069
18072
  }
18070
18073
 
@@ -19676,6 +19679,49 @@ class DropdownMenuItem {
19676
19679
  }; }
19677
19680
  }
19678
19681
 
19682
+ const floatingMenuContainerComponentCss = "/*!@.flex*/.flex.sc-p-floating-menu-container{display:flex!important}/*!@.h-12*/.h-12.sc-p-floating-menu-container{height:3rem!important}/*!@.items-center*/.items-center.sc-p-floating-menu-container{align-items:center!important}/*!@.gap-4*/.gap-4.sc-p-floating-menu-container{gap:1rem!important}/*!@.rounded-xxlarge*/.rounded-xxlarge.sc-p-floating-menu-container{border-radius:.75rem!important}/*!@.bg-storm-dark*/.bg-storm-dark.sc-p-floating-menu-container{--tw-bg-opacity:1!important;background-color:rgb(39 40 56/var(--tw-bg-opacity))!important}/*!@.px-4*/.px-4.sc-p-floating-menu-container{padding-left:1rem!important;padding-right:1rem!important}/*!@.py-3*/.py-3.sc-p-floating-menu-container{padding-bottom:.75rem!important;padding-top:.75rem!important}/*!@.text-storm-vague*/.text-storm-vague.sc-p-floating-menu-container{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity))!important}/*!@**/*.sc-p-floating-menu-container{box-sizing:border-box}/*!@:host*/.sc-p-floating-menu-container-h{--tw-bg-opacity:1;--tw-text-opacity:1;--tw-shadow:0px 0.0625rem 0.1125rem rgba(0,0,0,.65);--tw-shadow-colored:0px 0.0625rem 0.1125rem var(--tw-shadow-color);align-items:center;background-color:rgb(39 40 56/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);color:rgb(152 154 183/var(--tw-text-opacity));display:flex;gap:1rem;height:3rem;padding:.75rem 1rem}/*!@.static*/.static.sc-p-floating-menu-container{position:static!important}";
19683
+
19684
+ class FloatingMenuContainer {
19685
+ constructor(hostRef) {
19686
+ registerInstance(this, hostRef);
19687
+ }
19688
+ render() {
19689
+ return (hAsync(Host, { class: "p-floating-menu-container" }, hAsync("slot", null)));
19690
+ }
19691
+ static get style() { return floatingMenuContainerComponentCss; }
19692
+ static get cmpMeta() { return {
19693
+ "$flags$": 9,
19694
+ "$tagName$": "p-floating-menu-container",
19695
+ "$members$": undefined,
19696
+ "$listeners$": undefined,
19697
+ "$lazyBundleId$": "-",
19698
+ "$attrsToReflect$": []
19699
+ }; }
19700
+ }
19701
+
19702
+ const floatingMenuItemComponentCss = "/*!@.flex*/.flex.sc-p-floating-menu-item{display:flex!important}/*!@.h-6*/.h-6.sc-p-floating-menu-item{height:1.5rem!important}/*!@.cursor-pointer*/.cursor-pointer.sc-p-floating-menu-item{cursor:pointer!important}/*!@.items-center*/.items-center.sc-p-floating-menu-item{align-items:center!important}/*!@.gap-2*/.gap-2.sc-p-floating-menu-item{gap:.5rem!important}/*!@.text-sm*/.text-sm.sc-p-floating-menu-item{font-size:.875rem!important;line-height:1.25rem!important}/*!@**/*.sc-p-floating-menu-item{box-sizing:border-box}/*!@:host*/.sc-p-floating-menu-item-h{--tw-text-opacity:1;align-items:center;color:rgb(152 154 183/var(--tw-text-opacity));display:flex;font-size:.875rem;gap:.5rem;height:1.5rem;line-height:1.25rem}/*!@:host(:not([hover=false]))*/.sc-p-floating-menu-item-h:not([hover=false]){cursor:pointer;font-weight:600}/*!@:host(:not([hover=false]):hover)*/.sc-p-floating-menu-item-h:not([hover=false]):hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}/*!@.static*/.static.sc-p-floating-menu-item{position:static!important}";
19703
+
19704
+ class FloatingMenuItem {
19705
+ constructor(hostRef) {
19706
+ registerInstance(this, hostRef);
19707
+ this.hover = true;
19708
+ }
19709
+ render() {
19710
+ return (hAsync(Host, { class: "p-floating-menu-item" }, hAsync("slot", null)));
19711
+ }
19712
+ static get style() { return floatingMenuItemComponentCss; }
19713
+ static get cmpMeta() { return {
19714
+ "$flags$": 9,
19715
+ "$tagName$": "p-floating-menu-item",
19716
+ "$members$": {
19717
+ "hover": [516]
19718
+ },
19719
+ "$listeners$": undefined,
19720
+ "$lazyBundleId$": "-",
19721
+ "$attrsToReflect$": [["hover", "hover"]]
19722
+ }; }
19723
+ }
19724
+
19679
19725
  const helperComponentCss = "/*!@.inline-block*/.inline-block.sc-p-helper{display:inline-block!important}/*!@.w-3*/.w-3.sc-p-helper{width:.75rem!important}/*!@.cursor-pointer*/.cursor-pointer.sc-p-helper{cursor:pointer!important}/*!@.bg-center*/.bg-center.sc-p-helper{background-position:50%!important}/*!@.bg-no-repeat*/.bg-no-repeat.sc-p-helper{background-repeat:no-repeat!important}/*!@**/*.sc-p-helper{box-sizing:border-box}/*!@:host .helper*/.sc-p-helper-h .helper.sc-p-helper{background-image:url(/assets/images/helper/helper.svg);background-position:50%;background-repeat:no-repeat;cursor:pointer;display:inline-block;height:.75rem;width:.75rem}/*!@:host .helper:hover*/.sc-p-helper-h .helper.sc-p-helper:hover{background-image:url(/assets/images/helper/helper-hover.svg)}/*!@.static*/.static.sc-p-helper{position:static!important}";
19680
19726
 
19681
19727
  class Helper {
@@ -23266,6 +23312,8 @@ registerComponents([
23266
23312
  Dropdown,
23267
23313
  DropdownMenuContainer,
23268
23314
  DropdownMenuItem,
23315
+ FloatingMenuContainer,
23316
+ FloatingMenuItem,
23269
23317
  Helper,
23270
23318
  Icon,
23271
23319
  Illustration,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paperless/core",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1,2 +0,0 @@
1
- import{r as t,h as o,H as i,g as r}from"./p-e4d5e7a7.js";const e='.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.block{display:block!important}.flex{display:flex!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}*{box-sizing:border-box}:host{display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}:host .content{align-items:center;display:flex;width:100%}:host .content:after,:host .content:before{--tw-bg-opacity:1;background-color:rgb(227 236 243/var(--tw-bg-opacity));content:"";flex:1 1 0%;height:1px}.static{position:static!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-xxs{font-size:.6875rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}';const a=class{constructor(o){t(this,o)}render(){var t;const r=!!((t=this._el.innerHTML)===null||t===void 0?void 0:t.length);return o(i,{class:"p-divider"},o("div",{class:"content"},o("div",{class:`flex items-center ${r&&"px-2"} text-xxs font-semibold uppercase text-storm-light`},o("slot",null))))}get _el(){return r(this)}};a.style=e;export{a as p_divider};
2
- //# sourceMappingURL=p-0dcf23cd.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["dividerComponentCss","Divider","render","hasSlotted","_a","this","_el","innerHTML","length","h","Host","class"],"sources":["src/components/atoms/divider/divider.component.scss?tag=p-divider&encapsulation=shadow","src/components/atoms/divider/divider.component.tsx"],"sourcesContent":[":host {\n @apply block my-2 w-full;\n\n .content {\n @apply flex w-full items-center;\n\n &::before,\n &::after {\n content: '';\n @apply h-px bg-mystic-medium flex-1;\n }\n }\n}\n","import { Component, Element, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'p-divider',\n styleUrl: 'divider.component.scss',\n shadow: true,\n})\nexport class Divider {\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n render() {\n const hasSlotted = !!this._el.innerHTML?.length;\n return (\n <Host class=\"p-divider\">\n <div class=\"content\">\n <div\n class={`flex items-center ${\n hasSlotted && 'px-2'\n } text-xxs font-semibold uppercase text-storm-light`}\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAsB,q8B,MCOfC,EAAO,M,yBAMhB,MAAAC,G,MACI,MAAMC,MAAeC,EAAAC,KAAKC,IAAIC,aAAS,MAAAH,SAAA,SAAAA,EAAEI,QACzC,OACIC,EAACC,EAAI,CAACC,MAAM,aACRF,EAAA,OAAKE,MAAM,WACPF,EAAA,OACIE,MAAO,qBACHR,GAAc,4DAGlBM,EAAA,e"}
@@ -1,2 +0,0 @@
1
- import{r as t,h as o,H as i,g as r}from"./p-e4d5e7a7.js";const e='.my-2{margin-bottom:.5rem!important;margin-top:.5rem!important}.block{display:block!important}.flex{display:flex!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}*{box-sizing:border-box}:host{display:block;margin-bottom:.5rem;margin-top:.5rem;width:100%}:host .content{align-items:center;display:flex;width:100%}:host .content:after,:host .content:before{--tw-bg-opacity:1;background-color:rgb(227 236 243/var(--tw-bg-opacity));content:"";flex:1 1 0%;height:1px}.static{position:static!important}.items-center{align-items:center!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-xxs{font-size:.6875rem!important}.font-semibold{font-weight:600!important}.uppercase{text-transform:uppercase!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}';const a=class{constructor(o){t(this,o)}render(){var t;const r=!!((t=this._el.innerHTML)===null||t===void 0?void 0:t.length);return o(i,{class:"p-divider"},o("div",{class:"content"},o("div",{class:`flex items-center ${r&&"px-2"} text-xxs font-semibold uppercase text-storm-light`},o("slot",null))))}get _el(){return r(this)}};a.style=e;export{a as p_divider};
2
- //# sourceMappingURL=p-0dcf23cd.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["dividerComponentCss","Divider","render","hasSlotted","_a","this","_el","innerHTML","length","h","Host","class"],"sources":["src/components/atoms/divider/divider.component.scss?tag=p-divider&encapsulation=shadow","src/components/atoms/divider/divider.component.tsx"],"sourcesContent":[":host {\n @apply block my-2 w-full;\n\n .content {\n @apply flex w-full items-center;\n\n &::before,\n &::after {\n content: '';\n @apply h-px bg-mystic-medium flex-1;\n }\n }\n}\n","import { Component, Element, h, Host } from '@stencil/core';\n\n@Component({\n tag: 'p-divider',\n styleUrl: 'divider.component.scss',\n shadow: true,\n})\nexport class Divider {\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n render() {\n const hasSlotted = !!this._el.innerHTML?.length;\n return (\n <Host class=\"p-divider\">\n <div class=\"content\">\n <div\n class={`flex items-center ${\n hasSlotted && 'px-2'\n } text-xxs font-semibold uppercase text-storm-light`}\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAsB,q8B,MCOfC,EAAO,M,yBAMhB,MAAAC,G,MACI,MAAMC,MAAeC,EAAAC,KAAKC,IAAIC,aAAS,MAAAH,SAAA,SAAAA,EAAEI,QACzC,OACIC,EAACC,EAAI,CAACC,MAAM,aACRF,EAAA,OAAKE,MAAM,WACPF,EAAA,OACIE,MAAO,qBACHR,GAAc,4DAGlBM,EAAA,e"}