@elderbyte/ngx-starter 19.1.6 → 19.1.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elderbyte/ngx-starter",
3
- "version": "19.1.6",
3
+ "version": "19.1.7",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^18.0.0 || ^19.0.0",
6
6
  "@angular/common": "^18.0.0 || ^19.0.0",
@@ -114,11 +114,18 @@
114
114
  }
115
115
 
116
116
  .elder-card-title {
117
+ margin-top: 0 !important;
117
118
  padding-bottom: 0 !important;
118
119
  margin-bottom: 6px !important;
119
120
  //font-weight: 500;
120
121
  }
121
122
 
123
+ .elder-card-subtitle {
124
+ margin-top: 0 !important;
125
+ padding-bottom: 0px !important;
126
+ margin-bottom: 6px !important;
127
+ }
128
+
122
129
  /**************************************************************************
123
130
  Elder panel legacy class
124
131
  **************************************************************************/
@@ -183,10 +190,10 @@
183
190
 
184
191
  // Button colors
185
192
  .mat-accent.mat-mdc-button-base {
186
- --md-sys-color-tertiary: var(--md-sys-color-secondary);
187
- --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
188
- --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
189
- --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
193
+ // --md-sys-color-tertiary: var(--md-sys-color-secondary);
194
+ // --md-sys-color-on-tertiary: var(--md-sys-color-on-secondary);
195
+ // --md-sys-color-tertiary-container: var(--md-sys-color-secondary-container);
196
+ // --md-sys-color-on-tertiary-container: var(--md-sys-color-on-secondary-container);
190
197
  }
191
198
 
192
199
  // slide toggle colors fix
@@ -354,6 +354,13 @@
354
354
  --mdc-outlined-text-field-caret-color: var(--md-sys-color-inverse-on-surface) !important;
355
355
  }
356
356
  }
357
+
358
+ /***************************************************************************
359
+ Fixes mysterious rare formfield bug where beginning of placeholder text is partially cut off
360
+ **************************************************************************/
361
+ .mat-mdc-form-field-has-icon-prefix .mat-mdc-text-field-wrapper {
362
+ --mat-mdc-form-field-label-offset-x: -14px;
363
+ }
357
364
  }
358
365
 
359
366
  @function calc-side-paddings($density) {
@@ -188,14 +188,17 @@
188
188
  $col: map.get(config.$palettes, primary, 30);
189
189
  @include standard-chip-content-color-variant($col);
190
190
  }
191
+ &.color-primary,
191
192
  &[color='primary'] {
192
193
  $col: map.get(config.$palettes, primary, 30);
193
194
  @include standard-chip-content-color-variant($col);
194
195
  }
196
+ &.color-accent,
195
197
  &[color='accent'] {
196
198
  $col: map.get(config.$palettes, tertiary, 40);
197
199
  @include standard-chip-content-color-variant($col);
198
200
  }
201
+ &.color-warn,
199
202
  &[color='warn'] {
200
203
  $col: map.get(config.$palettes, error, 40);
201
204
  @include standard-chip-content-color-variant($col);
@@ -207,14 +210,17 @@
207
210
  // $col: map.get(config.$palettes, primary, 30);
208
211
  // @include standard-chip-content-color-variant($col);
209
212
  // }
213
+ &.color-primary,
210
214
  &[color='primary'] {
211
215
  $col: map.get(config.$palettes, primary, 50);
212
216
  @include standard-chip-content-color-variant($col);
213
217
  }
218
+ &.color-accent,
214
219
  &[color='accent'] {
215
220
  $col: map.get(config.$palettes, tertiary, 50);
216
221
  @include standard-chip-content-color-variant($col);
217
222
  }
223
+ &.color-warn,
218
224
  &[color='warn'] {
219
225
  $col: map.get(config.$palettes, error, 50);
220
226
  @include standard-chip-content-color-variant($col);
@@ -76,4 +76,11 @@
76
76
  }
77
77
  }
78
78
  }
79
+
80
+ // chip in toolbar fix (used by ordinem)
81
+ .mat-toolbar {
82
+ .mat-mdc-chip {
83
+ background-color: rgba(255,255,255,0.5);
84
+ }
85
+ }
79
86
  }
@@ -89,7 +89,7 @@
89
89
 
90
90
  // text colors
91
91
  @each $name, $value in $color-variables {
92
- .elder-text-#{$name} {
92
+ .text-color-#{$name} {
93
93
  color: #{$value};
94
94
  }
95
95
  }