@progressive-development/pd-forms 0.0.57 → 0.0.59

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 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.0.57",
6
+ "version": "0.0.59",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -25,11 +25,17 @@ export class PdFormContainer extends PdBaseUI {
25
25
  gap: 20px;
26
26
  }
27
27
  .hinweis {
28
- background-color:#ffaa71;
28
+ font-family: 'Poppins', serif;
29
+ font-size:0.95rem;
30
+ border-left:4px solid #cc2029;
31
+ border-right:4px solid #cc2029;
32
+ border-top:1px solid #cc2029;
33
+ border-bottom:1px solid #cc2029;
34
+ background-color:#ffe8e8;
29
35
  padding:10px;
30
36
  color:#58585a;
31
- border-radius: 1rem;
32
- -moz-border-radius: 1rem;
37
+ border-radius: 0.5rem;
38
+ -moz-border-radius: 0.5rem;
33
39
  width:50%;
34
40
  min-width:300px;
35
41
  }
@@ -39,16 +45,9 @@ export class PdFormContainer extends PdBaseUI {
39
45
  static get properties() {
40
46
  return {
41
47
  requiredFieldInfo: { type: Boolean},
42
- locale: { type: String }
43
48
  };
44
49
  }
45
50
 
46
- updated(changedProperties) {
47
- if (changedProperties.has("locale") && this.locale) {
48
- // setLocale(this.locale);
49
- }
50
- }
51
-
52
51
  firstUpdated() {
53
52
  // add validation event listener
54
53
  this.addEventListener('validate-form', this._validateForm);
package/src/PdSelect.js CHANGED
@@ -88,6 +88,7 @@ export class PdSelect extends PdBaseUIInput {
88
88
  -moz-appearance: none;
89
89
  -webkit-appearance: none;
90
90
  appearance: none;
91
+ color: var(--my-input-placeholder-color);
91
92
 
92
93
  /* Define color */
93
94
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
@@ -120,10 +121,13 @@ export class PdSelect extends PdBaseUIInput {
120
121
  .select-css:focus {
121
122
  border-color: var(--my-border-color-focus);
122
123
  /* It'd be nice to use -webkit-focus-ring-color here but it doesn't work on box-shadow */
124
+
125
+ /* Angaben nach MF DJK Umstellung entfernt
123
126
  box-shadow: 0 0 1px 3px rgba(59, 153, 252, 0.7);
124
127
  box-shadow: 0 0 0 3px -moz-mac-focusring;
125
128
  color: #222;
126
129
  outline: none;
130
+ */
127
131
  }
128
132
 
129
133
  .error .select-css {
@@ -30,19 +30,20 @@ export const SharedInputStyles = css`
30
30
  --my-lighter-background-color: var(--squi-lighter-color, #8caed8a1);
31
31
  --my-darker-background-color: var(--squi-darker-color, #012e649f);
32
32
  --my-background-gradient-color: var(--squi-third-color, #8caed8a1);
33
- --my-error-background-color: var(--squi-error-background-color, #f6d4d4a1);
33
+ --my-error-background-color: var(--squi-error-background-color, #ffe8e8);
34
34
 
35
35
  /* Error colors for Elements Select, Input, Input Area */
36
- --my-error-color: var(--squi-error-color, #d6242d);
36
+ --my-error-color: var(--squi-error-color, #cc2029);
37
37
 
38
38
  /* Text color input Elements Select, Input, Input Area */
39
39
  --my-text-color: var(--squi-text-color, #000000);
40
40
  --my-label-color: var(--squi-text-lable-color, #58585a);
41
+ --my-input-placeholder-color: var(--squi-input-placeholder-color:#474747);
42
+
41
43
  --my-font-family: var(--squi-display-font, 'Montserrat');
42
44
  --my-font-size: var(--squi-font-size, 1rem);
43
45
 
44
46
  --my-input-height: var(--squi-input-height, 2.4rem);
45
-
46
47
  }
47
48
 
48
49
  /* Describe input div (with icon) around input/select/area element */
@@ -167,7 +168,7 @@ export const SharedInputStyles = css`
167
168
 
168
169
  /* Fokus for input, area => select with own css.? */
169
170
  .input-style:focus {
170
- border: var(--my-border-color-focus) 2px solid;
171
+ border: var(--my-border-color-focus) 3px solid;
171
172
  outline: 0;
172
173
  }
173
174
 
@@ -82,7 +82,7 @@ return html`
82
82
  <h3>Defaults Inputs with labels</h3>
83
83
  <div
84
84
  style="display: flex; justify-content: space-between; max-width: 800px"
85
- >
85
+ >
86
86
  <pd-select
87
87
  id="testId1"
88
88
  ?gradient="${gradient}"
@@ -100,8 +100,8 @@ return html`
100
100
  ?gradient="${gradient}"
101
101
  style="${style}"
102
102
  label="Input Area Label"
103
- ></pd-input-area>
104
- </div>
103
+ ></pd-input-area>
104
+ </div>
105
105
 
106
106
  <div
107
107
  style="display: flex; justify-content: space-between; max-width: 800px"