@lucca-front/ng 9.0.1 → 9.0.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.
Files changed (35) hide show
  1. package/api/lib/select/feeder/api-feeder.module.d.ts +1 -2
  2. package/api/lib/select/pager/api-pager.module.d.ts +1 -2
  3. package/api/lib/select/searcher/api-searcher.module.d.ts +4 -5
  4. package/department/lib/select/feeder/department-feeder.module.d.ts +1 -2
  5. package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +3 -5
  6. package/esm2020/api/lib/select/pager/api-pager.module.mjs +3 -5
  7. package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +6 -7
  8. package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +3 -5
  9. package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +3 -5
  10. package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +6 -7
  11. package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +5 -6
  12. package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +6 -7
  13. package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +1 -2
  14. package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +4 -5
  15. package/fesm2015/lucca-front-ng-api.mjs +7 -10
  16. package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
  17. package/fesm2015/lucca-front-ng-department.mjs +3 -5
  18. package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
  19. package/fesm2015/lucca-front-ng-establishment.mjs +5 -7
  20. package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
  21. package/fesm2015/lucca-front-ng-user.mjs +6 -7
  22. package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
  23. package/fesm2020/lucca-front-ng-api.mjs +7 -10
  24. package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
  25. package/fesm2020/lucca-front-ng-department.mjs +3 -5
  26. package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
  27. package/fesm2020/lucca-front-ng-establishment.mjs +5 -7
  28. package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
  29. package/fesm2020/lucca-front-ng-user.mjs +6 -7
  30. package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
  31. package/package.json +3 -3
  32. package/style/components/_input.scss +7 -7
  33. package/style/definitions/select/_select-input.scss +107 -105
  34. package/user/lib/select/homonyms/user-homonyms.module.d.ts +2 -3
  35. package/user/lib/select/searcher/user-searcher.module.d.ts +4 -5
@@ -1,4 +1,4 @@
1
- @import "~@lucca-front/icons/src/_mixins";
1
+ @import '@lucca-front/icons/src/_mixins';
2
2
  @mixin selectInputStyle {
3
3
  :host {
4
4
  cursor: pointer;
@@ -6,16 +6,16 @@
6
6
  padding: 0;
7
7
 
8
8
  &::after {
9
- @include makeIcon("arrow_south");
10
- @include selectColoringIcons("select.default-palette");
11
- bottom: #{_component("select.input.padding-vertical", true)};
12
- bottom: _component("select.input.padding-vertical");
9
+ @include makeIcon('arrow_south');
10
+ @include selectColoringIcons('select.default-palette');
11
+ bottom: #{_component('select.input.padding-vertical', true)};
12
+ bottom: _component('select.input.padding-vertical');
13
13
  font-size: 1.2rem;
14
14
  line-height: 1.4rem;
15
15
  pointer-events: none;
16
16
  position: absolute;
17
- right: #{_component("select.input.padding-horizontal", true)};
18
- right: _component("select.input.padding-horizontal");
17
+ right: #{_component('select.input.padding-horizontal', true)};
18
+ right: _component('select.input.padding-horizontal');
19
19
  }
20
20
 
21
21
  &[disabled] {
@@ -36,35 +36,35 @@
36
36
  }
37
37
 
38
38
  .lu-select-value {
39
- line-height: _theme("sizes.standard.line-height", true);
40
- line-height: _theme("sizes.standard.line-height");
41
- min-height: calc(#{_component("select.framed.bottom-padding", true)} + #{_theme("sizes.standard.line-height", true)});
42
- min-height: calc(#{_component("select.framed.bottom-padding")} + #{_theme("sizes.standard.line-height")});
43
- padding: #{_component("select.input.padding-vertical", true)} 2.5rem
44
- #{_component("select.input.padding-vertical", true)}
45
- #{_component("select.input.padding-horizontal", true)};
46
- padding: _component("select.input.padding-vertical") 2.5rem
47
- _component("select.input.padding-vertical")
48
- _component("select.input.padding-horizontal");
49
- transition: all #{_theme("commons.animations.durations.standard", true)} ease;
50
- transition: all _theme("commons.animations.durations.standard") ease;
39
+ line-height: _theme('sizes.standard.line-height', true);
40
+ line-height: _theme('sizes.standard.line-height');
41
+ min-height: calc(#{_component('select.framed.bottom-padding', true)} + #{_theme('sizes.standard.line-height', true)});
42
+ min-height: calc(#{_component('select.framed.bottom-padding')} + #{_theme('sizes.standard.line-height')});
43
+ padding: #{_component('select.input.padding-vertical', true)} 2.5rem #{_component('select.input.padding-vertical', true)} #{_component(
44
+ 'select.input.padding-horizontal',
45
+ true
46
+ )};
47
+ padding: _component('select.input.padding-vertical') 2.5rem _component('select.input.padding-vertical')
48
+ _component('select.input.padding-horizontal');
49
+ transition: all #{_theme('commons.animations.durations.standard', true)} ease;
50
+ transition: all _theme('commons.animations.durations.standard') ease;
51
51
  display: none;
52
52
  }
53
53
 
54
54
  .lu-select-placeholder {
55
- @include selectColoringPlaceholer("select.default-palette");
56
- line-height: _theme("sizes.standard.line-height", true);
57
- line-height: _theme("sizes.standard.line-height");
58
- min-height: calc(#{_component("select.framed.bottom-padding", true)} + #{_theme("sizes.standard.line-height", true)});
59
- min-height: calc(#{_component("select.framed.bottom-padding")} + #{_theme("sizes.standard.line-height")});
60
- padding: #{_component("select.input.padding-vertical", true)} 2.5rem
61
- #{_component("select.input.padding-vertical", true)}
62
- #{_component("select.input.padding-horizontal", true)};
63
- padding: _component("select.input.padding-vertical") 2.5rem
64
- _component("select.input.padding-vertical")
65
- _component("select.input.padding-horizontal");
66
- transition: all #{_theme("commons.animations.durations.standard", true)} ease;
67
- transition: all _theme("commons.animations.durations.standard") ease;
55
+ @include selectColoringPlaceholer('select.default-palette');
56
+ line-height: _theme('sizes.standard.line-height', true);
57
+ line-height: _theme('sizes.standard.line-height');
58
+ min-height: calc(#{_component('select.framed.bottom-padding', true)} + #{_theme('sizes.standard.line-height', true)});
59
+ min-height: calc(#{_component('select.framed.bottom-padding')} + #{_theme('sizes.standard.line-height')});
60
+ padding: #{_component('select.input.padding-vertical', true)} 2.5rem #{_component('select.input.padding-vertical', true)} #{_component(
61
+ 'select.input.padding-horizontal',
62
+ true
63
+ )};
64
+ padding: _component('select.input.padding-vertical') 2.5rem _component('select.input.padding-vertical')
65
+ _component('select.input.padding-horizontal');
66
+ transition: all #{_theme('commons.animations.durations.standard', true)} ease;
67
+ transition: all _theme('commons.animations.durations.standard') ease;
68
68
  overflow: hidden;
69
69
  text-overflow: ellipsis;
70
70
  white-space: nowrap;
@@ -72,30 +72,30 @@
72
72
 
73
73
  .lu-select-suffix {
74
74
  position: absolute;
75
- bottom: .5rem;
75
+ bottom: 0.5rem;
76
76
  right: 1.6rem;
77
77
  }
78
78
 
79
79
  ::ng-deep .lu-select-value {
80
80
  .label {
81
- padding: _theme("spacings.smallest", true) .25rem .5rem _theme("spacings.smaller", true);
82
- padding: _theme("spacings.smallest") _theme("spacings.smaller");
81
+ padding: _theme('spacings.smallest', true) 0.25rem 0.5rem _theme('spacings.smaller', true);
82
+ padding: _theme('spacings.smallest') _theme('spacings.smaller');
83
83
  margin-left: 0;
84
84
  }
85
85
  .chip {
86
- background: _component("select.chip.background", true);
87
- background: _component("select.chip.background");
88
- color: _component("select.chip.text", true);
89
- color: _component("select.chip.text");
86
+ background: _component('select.chip.background', true);
87
+ background: _component('select.chip.background');
88
+ color: _component('select.chip.text', true);
89
+ color: _component('select.chip.text');
90
90
  vertical-align: baseline;
91
91
  max-width: 100%;
92
- height: _theme("sizes.standard.line-height", true);
93
- height: _theme("sizes.standard.line-height");
94
- line-height: _theme("sizes.standard.line-height", true);
95
- line-height: _theme("sizes.standard.line-height");
96
- padding: 0 _theme("spacings.smaller", true);
97
- padding: 0 _theme("spacings.smaller");
98
- margin: 0 .25rem .25rem 0;
92
+ height: _theme('sizes.standard.line-height', true);
93
+ height: _theme('sizes.standard.line-height');
94
+ line-height: _theme('sizes.standard.line-height', true);
95
+ line-height: _theme('sizes.standard.line-height');
96
+ padding: 0 _theme('spacings.smaller', true);
97
+ padding: 0 _theme('spacings.smaller');
98
+ margin: 0 0.25rem 0.25rem 0;
99
99
  text-overflow: ellipsis;
100
100
  overflow: hidden;
101
101
  vertical-align: top;
@@ -103,32 +103,32 @@
103
103
  }
104
104
  }
105
105
 
106
-
107
106
  // MODS
108
107
  // ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
109
108
 
110
109
  // Small
111
110
  :host-context(.textfield.mod-small) {
112
- .lu-select-value, .lu-select-placeholder {
113
- font-size: _theme("sizes.small.font-size", true);
114
- font-size: _theme("sizes.small.font-size");
115
- line-height: _theme("sizes.small.line-height", true);
116
- line-height: _theme("sizes.small.line-height");
117
- min-height: calc(#{_component("select.framed.bottom-padding", true)} + #{_theme("sizes.small.line-height", true)});
118
- min-height: calc(#{_component("select.framed.bottom-padding")} + #{_theme("sizes.small.line-height")});
111
+ .lu-select-value,
112
+ .lu-select-placeholder {
113
+ font-size: _theme('sizes.small.font-size', true);
114
+ font-size: _theme('sizes.small.font-size');
115
+ line-height: _theme('sizes.small.line-height', true);
116
+ line-height: _theme('sizes.small.line-height');
117
+ min-height: calc(#{_component('select.framed.bottom-padding', true)} + #{_theme('sizes.small.line-height', true)});
118
+ min-height: calc(#{_component('select.framed.bottom-padding')} + #{_theme('sizes.small.line-height')});
119
119
  }
120
120
 
121
121
  &::after {
122
- line-height: _theme("sizes.small.line-height", true);
123
- line-height: _theme("sizes.small.line-height");
122
+ line-height: _theme('sizes.small.line-height', true);
123
+ line-height: _theme('sizes.small.line-height');
124
124
  }
125
125
 
126
126
  ::ng-deep .lu-select-value {
127
127
  .label {
128
- font-size: _theme("sizes.small.font-size", true);
129
- font-size: _theme("sizes.small.font-size");
130
- line-height: _theme("sizes.small.line-height", true);
131
- line-height: _theme("sizes.small.line-height");
128
+ font-size: _theme('sizes.small.font-size', true);
129
+ font-size: _theme('sizes.small.font-size');
130
+ line-height: _theme('sizes.small.line-height', true);
131
+ line-height: _theme('sizes.small.line-height');
132
132
  font-weight: 600;
133
133
  margin: 0;
134
134
  padding: 0;
@@ -136,10 +136,10 @@
136
136
  }
137
137
 
138
138
  .chip {
139
- height: _theme("sizes.small.line-height", true);
140
- height: _theme("sizes.small.line-height");
141
- line-height: _theme("sizes.small.line-height", true);
142
- line-height: _theme("sizes.small.line-height");
139
+ height: _theme('sizes.small.line-height', true);
140
+ height: _theme('sizes.small.line-height');
141
+ line-height: _theme('sizes.small.line-height', true);
142
+ line-height: _theme('sizes.small.line-height');
143
143
  }
144
144
  }
145
145
  }
@@ -148,30 +148,31 @@
148
148
  :host-context(.textfield.mod-framed),
149
149
  :host-context(.form.mod-framed) {
150
150
  &.textfield-input {
151
- padding: #{_component("select.framed.top-padding", true)} 0 0;
152
- padding: _component("select.framed.top-padding") 0 0;
151
+ padding: #{_component('select.framed.top-padding', true)} 0 0;
152
+ padding: _component('select.framed.top-padding') 0 0;
153
153
 
154
154
  &::after {
155
- color: _color("text.light", "color", true);
156
- color: _color("text.light");
157
- bottom: _component("select.framed.bottom-padding", true);
158
- bottom: _component("select.framed.bottom-padding");
159
- right: _theme("spacings.smaller", true);
160
- right: _theme("spacings.smaller");
155
+ color: _color('text.light', 'color', true);
156
+ color: _color('text.light');
157
+ bottom: _component('select.framed.bottom-padding', true);
158
+ bottom: _component('select.framed.bottom-padding');
159
+ right: _theme('spacings.smaller', true);
160
+ right: _theme('spacings.smaller');
161
161
  }
162
162
 
163
- .lu-select-value, .lu-select-placeholder {
164
- padding: 0 calc(#{_component("select.framed.side-padding", true)} * 3)
165
- #{_component("select.framed.bottom-padding", true)}
166
- #{_component("select.framed.side-padding", true)};
167
- padding: 0 calc(#{_component("select.framed.side-padding")} * 3)
168
- _component("select.framed.bottom-padding")
169
- _component("select.framed.side-padding");
163
+ .lu-select-value,
164
+ .lu-select-placeholder {
165
+ padding: 0 calc(#{_component('select.framed.side-padding', true)} * 3) #{_component('select.framed.bottom-padding', true)} #{_component(
166
+ 'select.framed.side-padding',
167
+ true
168
+ )};
169
+ padding: 0 calc(#{_component('select.framed.side-padding')} * 3) _component('select.framed.bottom-padding')
170
+ _component('select.framed.side-padding');
170
171
  }
171
172
 
172
173
  .lu-select-suffix {
173
- bottom: _component("select.framed.bottom-padding", true);
174
- bottom: _component("select.framed.bottom-padding");
174
+ bottom: _component('select.framed.bottom-padding', true);
175
+ bottom: _component('select.framed.bottom-padding');
175
176
  right: 1.7rem;
176
177
  }
177
178
  }
@@ -179,39 +180,40 @@
179
180
 
180
181
  // Filter
181
182
  :host-context(.textfield.mod-filter) {
182
- .lu-select-value, .lu-select-placeholder {
183
+ .lu-select-value,
184
+ .lu-select-placeholder {
183
185
  padding: 0;
184
186
  height: auto;
185
187
  padding-top: 1rem;
186
- color: _color("text.default", "color", true);
187
- color: _color("text.default");
188
+ color: _color('text.default', 'color', true);
189
+ color: _color('text.default');
188
190
  }
189
191
 
190
192
  .lu-select-suffix {
191
- bottom: .4rem; // We should be able to use .5rem with new icons (.5rem of vertical padding & icon line height of 1.5rem)
193
+ bottom: 0.4rem; // We should be able to use .5rem with new icons (.5rem of vertical padding & icon line height of 1.5rem)
192
194
  }
193
195
  }
194
196
 
195
197
  // Material
196
198
  :host-context(.textfield.mod-material) {
197
199
  &::after {
198
- color: _color("text.light", "color", true);
199
- color: _color("text.light");
200
+ color: _color('text.light', 'color', true);
201
+ color: _color('text.light');
200
202
  bottom: 0.6rem;
201
203
  right: 0;
202
204
  }
203
205
 
204
- .lu-select-value, .lu-select-placeholder {
206
+ .lu-select-value,
207
+ .lu-select-placeholder {
205
208
  padding-left: 0;
206
209
  padding-right: 0.8rem;
207
210
  }
208
211
 
209
212
  .lu-select-suffix {
210
- right: calc(2 * #{_component("select.input.padding-horizontal", true)});
211
- right: calc(2 * #{_component("select.input.padding-horizontal")});
213
+ right: calc(2 * #{_component('select.input.padding-horizontal', true)});
214
+ right: calc(2 * #{_component('select.input.padding-horizontal')});
212
215
  }
213
216
 
214
-
215
217
  &.is-select {
216
218
  .lu-select-placeholder {
217
219
  display: none;
@@ -223,8 +225,8 @@
223
225
  bottom: 0;
224
226
  }
225
227
  .lu-select-suffix {
226
- right: calc(2.75 * #{_component("select.input.padding-horizontal", true)});
227
- right: calc(2.75 * #{_component("select.input.padding-horizontal")});
228
+ right: calc(2.75 * #{_component('select.input.padding-horizontal', true)});
229
+ right: calc(2.75 * #{_component('select.input.padding-horizontal')});
228
230
  }
229
231
  }
230
232
  }
@@ -246,7 +248,7 @@
246
248
  .lu-select-display-wrapper {
247
249
  overflow: hidden;
248
250
  white-space: normal;
249
- margin-bottom: -.25rem;
251
+ margin-bottom: -0.25rem;
250
252
  }
251
253
  }
252
254
  }
@@ -275,33 +277,33 @@
275
277
  // Error
276
278
  :host-context(.textfield-input.is-error) {
277
279
  &::after {
278
- color: _color("error", 700, true);
279
- color: _color("error");
280
+ color: _color('error', 700, true);
281
+ color: _color('error');
280
282
  }
281
283
 
282
284
  .lu-select-placeholder {
283
- color: _color("error", 200, true);
284
- color: _color("error", 200);
285
+ color: _color('error', 200, true);
286
+ color: _color('error', 200);
285
287
  }
286
288
  }
287
289
 
288
290
  // Disabled
289
291
  :host-context(.textfield-input.is-disabled, .textfield-input[disabled]) {
290
292
  &::after {
291
- color: _theme("commons.disabled.color", true);
292
- color: _theme("commons.disabled.color");
293
+ color: _theme('commons.disabled.color', true);
294
+ color: _theme('commons.disabled.color');
293
295
  }
294
296
 
295
297
  .lu-select-placeholder {
296
- color: _theme("commons.disabled.placeholder", true);
297
- color: _theme("commons.disabled.placeholder");
298
+ color: _theme('commons.disabled.placeholder', true);
299
+ color: _theme('commons.disabled.placeholder');
298
300
  }
299
301
  }
300
302
 
301
303
  // PALETTES
302
304
  // ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
303
305
 
304
- @each $name, $palette in _getMap("palettes") {
306
+ @each $name, $palette in _getMap('palettes') {
305
307
  :host-context(.palette-#{$name}) {
306
308
  .lu-select-placeholder {
307
309
  @include selectColoringPlaceholer($name);
@@ -315,9 +317,9 @@
315
317
  }
316
318
 
317
319
  @mixin selectColoringPlaceholer($palette) {
318
- color: _color($palette, 400);
320
+ color: _color($palette, 400);
319
321
  }
320
322
 
321
323
  @mixin selectColoringIcons($palette) {
322
- color: _color($palette, 700);
324
+ color: _color($palette, 700);
323
325
  }
@@ -1,9 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./user-homonyms.component";
3
- import * as i2 from "@angular/common/http";
4
- import * as i3 from "../../display/user-display.module";
3
+ import * as i2 from "../../display/user-display.module";
5
4
  export declare class LuUserHomonymsModule {
6
5
  static ɵfac: i0.ɵɵFactoryDeclaration<LuUserHomonymsModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserHomonymsModule, [typeof i1.LuUserHomonymsComponent], [typeof i2.HttpClientModule, typeof i3.LuUserDisplayModule], [typeof i1.LuUserHomonymsComponent]>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserHomonymsModule, [typeof i1.LuUserHomonymsComponent], [typeof i2.LuUserDisplayModule], [typeof i1.LuUserHomonymsComponent]>;
8
7
  static ɵinj: i0.ɵɵInjectorDeclaration<LuUserHomonymsModule>;
9
8
  }
@@ -1,11 +1,10 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./user-searcher.component";
3
- import * as i2 from "@angular/common/http";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@angular/common";
6
- import * as i5 from "@lucca-front/ng/option";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@lucca-front/ng/option";
7
6
  export declare class LuUserSearcherModule {
8
7
  static ɵfac: i0.ɵɵFactoryDeclaration<LuUserSearcherModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserSearcherModule, [typeof i1.LuUserPagedSearcherComponent], [typeof i2.HttpClientModule, typeof i3.ReactiveFormsModule, typeof i4.CommonModule, typeof i5.LuOptionPlaceholderModule], [typeof i1.LuUserPagedSearcherComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LuUserSearcherModule, [typeof i1.LuUserPagedSearcherComponent], [typeof i2.ReactiveFormsModule, typeof i3.CommonModule, typeof i4.LuOptionPlaceholderModule], [typeof i1.LuUserPagedSearcherComponent]>;
10
9
  static ɵinj: i0.ɵɵInjectorDeclaration<LuUserSearcherModule>;
11
10
  }