@progressive-development/pd-spa-helper 0.6.0 → 0.6.2

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.
@@ -1,5 +1,5 @@
1
1
  var _a;
2
- import { LitElement, css, unsafeCSS, html } from "lit";
2
+ import { LitElement, unsafeCSS, css, html } from "lit";
3
3
  import { router, navigator } from "lit-element-router";
4
4
  import { property } from "lit/decorators.js";
5
5
  import "@progressive-development/pd-page/pd-menu";
@@ -86,6 +86,10 @@ PdIconPanelButton.styles = [
86
86
  width: var(--pd-icon-button-width, auto);
87
87
  }
88
88
 
89
+ :host([disabled]) {
90
+ pointer-events: none;
91
+ }
92
+
89
93
  .icon-button-style {
90
94
  z-index: 6;
91
95
  background: #58a linear-gradient(hsla(0, 0%, 100%, 0.2), transparent);
@@ -113,6 +117,7 @@ PdIconPanelButton.styles = [
113
117
  cursor: not-allowed;
114
118
  opacity: 0.6; /* Leichter "inaktiv"-Effekt */
115
119
  text-shadow: none; /* Kein 3D-Effekt */
120
+
116
121
  }
117
122
 
118
123
  :host(:not([disabled])[primary]) .icon-button-style {
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/web-components';
2
2
  declare const meta: {
3
3
  title: string;
4
- render: ({ withPayment, withPropertyOwner, withPropertyDate, contacts }: import('@storybook/csf').Args) => import('lit-html').TemplateResult<1>;
4
+ render: ({ withPayment, withPropertyOwner, withPropertyDate, contacts }: import('@storybook/core/csf').Args) => import('lit-html').TemplateResult<1>;
5
5
  argTypes: {
6
6
  backgroundColor: {
7
7
  control: "color";
@@ -8,7 +8,7 @@ export declare class TestAdressClass extends DefaultStepAddress<any> {
8
8
  }
9
9
  declare const meta: {
10
10
  title: string;
11
- render: ({ withPayment, withPropertyOwner, withPropertyDate }: import('@storybook/csf').Args) => import('lit-html').TemplateResult<1>;
11
+ render: ({ withPayment, withPropertyOwner, withPropertyDate }: import('@storybook/core/csf').Args) => import('lit-html').TemplateResult<1>;
12
12
  argTypes: {
13
13
  backgroundColor: {
14
14
  control: "color";
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/web-components';
2
2
  declare const meta: {
3
3
  title: string;
4
- render: (args: import('@storybook/csf').Args) => import('lit-html').TemplateResult<1>;
4
+ render: (args: import('@storybook/core/csf').Args) => import('lit-html').TemplateResult<1>;
5
5
  argTypes: {
6
6
  pdButtonIcon: {
7
7
  control: "text";
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/web-components';
2
2
  declare const meta: {
3
3
  title: string;
4
- render: (args: import('@storybook/csf').Args) => import('lit-html').TemplateResult<1>;
4
+ render: (args: import('@storybook/core/csf').Args) => import('lit-html').TemplateResult<1>;
5
5
  argTypes: {
6
6
  backgroundColor: {
7
7
  control: "color";
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/web-components';
2
2
  declare const meta: {
3
3
  title: string;
4
- render: (args: import('@storybook/csf').Args) => import('lit-html').TemplateResult<1>;
4
+ render: (args: import('@storybook/core/csf').Args) => import('lit-html').TemplateResult<1>;
5
5
  argTypes: {
6
6
  backgroundColor: {
7
7
  control: "color";
@@ -1 +1 @@
1
- {"version":3,"file":"pd-icon-panel-button.d.ts","sourceRoot":"","sources":["../../src/tmpown/pd-icon-panel-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,0CAA0C,CAAC;AAElD,qBACa,iBAAkB,SAAQ,UAAU;IAG/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAQ;IAG1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,EAAE,OAAO,CAAS;IAG7B,OAAO,CAAC,UAAU,CAAkB;IAEpC,MAAM,CAAC,MAAM,iBAwHO;IAEpB,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO,CAAC,WAAW,CAEjB;IAGF,MAAM;IA0BN,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,YAAY;CAOrB"}
1
+ {"version":3,"file":"pd-icon-panel-button.d.ts","sourceRoot":"","sources":["../../src/tmpown/pd-icon-panel-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAa,UAAU,EAAE,MAAM,KAAK,CAAC;AAG5D,OAAO,0CAA0C,CAAC;AAElD,qBACa,iBAAkB,SAAQ,UAAU;IAG/C,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,UAAU,EAAE,MAAM,CAAQ;IAG1B,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,EAAE,OAAO,CAAS;IAG7B,OAAO,CAAC,UAAU,CAAkB;IAEpC,MAAM,CAAC,MAAM,iBA6HO;IAEpB,iBAAiB;IAKjB,oBAAoB;IAKpB,OAAO,CAAC,WAAW,CAEjB;IAGF,MAAM;IA0BN,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,YAAY;CAOrB"}
@@ -75,7 +75,7 @@ PdToast.styles = css`
75
75
  width: calc(100% - 60px);
76
76
  max-width: 400px;
77
77
 
78
- z-index: 5;
78
+ z-index: 105;
79
79
 
80
80
  background: var(--app-primary-color, #ebcf57);
81
81
  color: #0A3A48;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent pd-spa-helper following open-wc recommendations",
4
4
  "author": "PD Progressive Development",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
- "version": "0.6.0",
6
+ "version": "0.6.2",
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
9
  "types": "./dist/index.d.ts",