@progressive-development/pd-forms 0.1.2 → 0.1.3
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.
- package/package.json +2 -2
- package/src/PdButton.js +2 -1
- package/src/shared-global-styles.js +1 -1
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent pd-forms following open-wc recommendations",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.3",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@lit-labs/motion": "^1.0.2",
|
|
23
23
|
"@lit/localize": "^0.11.2",
|
|
24
|
-
"@progressive-development/pd-icon": "^0.1.
|
|
24
|
+
"@progressive-development/pd-icon": "^0.1.7",
|
|
25
25
|
"lit": "^2.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
package/src/PdButton.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable lit-a11y/click-events-have-key-events */
|
|
1
2
|
/* eslint-disable lit-a11y/anchor-is-valid */
|
|
2
3
|
/**
|
|
3
4
|
* @license
|
|
@@ -172,7 +173,7 @@ export class PdButton extends PdBaseUI {
|
|
|
172
173
|
|
|
173
174
|
render() {
|
|
174
175
|
return html`
|
|
175
|
-
<div @
|
|
176
|
+
<div @click="${this._handleClick}">
|
|
176
177
|
<a ?disabled="${this.disabled}">${this.text}</a>
|
|
177
178
|
</div>`;
|
|
178
179
|
}
|
|
@@ -31,7 +31,7 @@ export const SharedGlobalStyles = css`
|
|
|
31
31
|
--pd-default-dark-col: var(--app-primary-dark-col, #0A3A48);
|
|
32
32
|
--pd-default-bg-color: var(--app-primary-bg-col, #fefefe);
|
|
33
33
|
|
|
34
|
-
--pd-default-hover-col: var(--app-hover-col, #
|
|
34
|
+
--pd-default-hover-col: var(--app-hover-col, #f3d7a0);
|
|
35
35
|
--pd-default-error-col: var(--app-error-col, #cc2029);
|
|
36
36
|
--pd-default-error-light-col: var(--app-error-light-col, #ffe8e8);
|
|
37
37
|
--pd-default-success-col: var(--app-success-col, #42a01c);
|