@inseefr/lunatic 0.4.28-v2 → 0.4.29-v2

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,25 +1,25 @@
1
- // @mixin preventSelect() {
2
- // -moz-user-select: -moz-none;
3
- // -khtml-user-select: none;
4
- // -webkit-user-select: none;
5
- // }
6
-
7
- // @mixin placeholder {
8
- // color: gray;
9
- // @include defaultFont();
10
- // font-size: 15px;
11
- // line-height: 34px;
12
- // vertical-align: middle;
13
- // font-weight: normal;
14
- // }
15
-
16
- // @mixin defaultFont {
17
- // font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
18
- // }
19
-
20
- // @mixin selection() {
21
- // @include defaultFont();
22
- // }
1
+ @mixin preventSelect() {
2
+ -moz-user-select: -moz-none;
3
+ -khtml-user-select: none;
4
+ -webkit-user-select: none;
5
+ }
6
+
7
+ @mixin placeholder {
8
+ color: gray;
9
+ @include defaultFont();
10
+ font-size: 15px;
11
+ line-height: 34px;
12
+ vertical-align: middle;
13
+ font-weight: normal;
14
+ }
15
+
16
+ @mixin defaultFont {
17
+ font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
18
+ }
19
+
20
+ @mixin selection() {
21
+ @include defaultFont();
22
+ }
23
23
 
24
24
  .lunatic-combo-box-container {
25
25
  position: relative;
@@ -51,11 +51,11 @@
51
51
  line-height: 34px;
52
52
  font-size: 15px;
53
53
  padding-left: 4px;
54
- // @include selection();
54
+ @include selection();
55
55
 
56
- // &::placeholder {
57
- // @include placeholder();
58
- // }
56
+ &::placeholder {
57
+ @include placeholder();
58
+ }
59
59
  }
60
60
 
61
61
  .lunatic-combo-box-selected {
@@ -64,14 +64,11 @@
64
64
  background-color: var(--color-combo-box-background);
65
65
  border-radius: 5px;
66
66
  padding-left: 4px;
67
- // @include selection();
67
+ @include selection();
68
68
  outline: none;
69
69
 
70
70
  display: block;
71
- // @include placeholder();
72
-
73
- .placeholder {
74
- }
71
+ @include placeholder();
75
72
 
76
73
  .selection {
77
74
  display: inline-block;
@@ -86,7 +83,7 @@
86
83
  }
87
84
 
88
85
  .lunatic-combo-box-panel {
89
- // @include defaultFont();
86
+ @include defaultFont();
90
87
  height: 0;
91
88
  opacity: 0;
92
89
  background-color: var(--color-combo-box-background);
@@ -183,11 +180,6 @@
183
180
  &.displayed {
184
181
  display: block;
185
182
  }
186
-
187
- .placeholder {
188
- }
189
- .selection {
190
- }
191
183
  }
192
184
  }
193
185
 
@@ -207,7 +199,7 @@
207
199
  }
208
200
  .lunatic-combo-box-option {
209
201
  white-space: nowrap;
210
- // @include preventSelect();
202
+ @include preventSelect();
211
203
  }
212
204
  }
213
205
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inseefr/lunatic",
3
- "version": "0.4.28-v2",
3
+ "version": "0.4.29-v2",
4
4
  "workersVersion": "0.2.4-experimental",
5
5
  "description": "Library of questionnaire components",
6
6
  "repository": {