@citizenplane/pimp 8.2.7 → 8.2.8

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 (28) hide show
  1. package/dist/pimp.es.js +1 -1
  2. package/dist/pimp.umd.js +1 -1
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/src/App.vue +7 -7
  6. package/src/assets/styles/helpers/_functions.scss +2 -2
  7. package/src/assets/styles/variables/_sizing.scss +2 -2
  8. package/src/assets/styles/variables/_spacing.scss +1 -1
  9. package/src/components/atomic-elements/CpBadge.vue +10 -10
  10. package/src/components/buttons/CpButton.vue +23 -20
  11. package/src/components/core/BaseInputLabel/index.vue +2 -1
  12. package/src/components/core/playground-sections/SectionContainer.vue +2 -2
  13. package/src/components/core/playground-sections/SectionListsAndTables.vue +2 -2
  14. package/src/components/core/playground-sections/SectionToggles.vue +1 -1
  15. package/src/components/date-pickers/CpDate/index.scss +17 -17
  16. package/src/components/feedback-indicators/CpAlert.vue +15 -14
  17. package/src/components/feedback-indicators/CpToaster.vue +12 -12
  18. package/src/components/inputs/CpInput.vue +22 -22
  19. package/src/components/inputs/CpTextarea.vue +12 -12
  20. package/src/components/lists-and-table/CpTable/CpTableEmptyState/index.vue +2 -2
  21. package/src/components/lists-and-table/CpTable/index.scss +24 -24
  22. package/src/components/lists-and-table/CpTable/index.vue +1 -1
  23. package/src/components/selects/CpSelect.vue +16 -15
  24. package/src/components/selects/CpSelectMenu/index.vue +25 -25
  25. package/src/components/toggles/CpCheckbox/index.scss +7 -7
  26. package/src/components/toggles/CpRadio/index.scss +5 -5
  27. package/src/components/toggles/CpSwitch/index.vue +7 -7
  28. package/src/components/typography/CpHeading/index.vue +23 -23
@@ -36,25 +36,25 @@
36
36
  &__label {
37
37
  display: flex;
38
38
  align-items: center;
39
- margin-bottom: pxToEm(6);
40
- font-size: pxToEm(14);
39
+ margin-bottom: px-to-em(6);
40
+ font-size: px-to-em(14);
41
41
 
42
42
  svg {
43
43
  margin-left: $space-sm;
44
- width: pxToRem(16);
45
- height: pxToRem(16);
44
+ width: px-to-rem(16);
45
+ height: px-to-rem(16);
46
46
  stroke: $error-color;
47
47
  }
48
48
  }
49
49
 
50
50
  &__inputs {
51
51
  display: flex;
52
- height: pxToEm(44);
53
- border: pxToRem(1) solid $neutral-dark-4;
54
- border-radius: pxToEm(10);
52
+ height: px-to-em(44);
53
+ border: px-to-rem(1) solid $neutral-dark-4;
54
+ border-radius: px-to-em(10);
55
55
  overflow: hidden;
56
56
  background-color: $neutral-light;
57
- box-shadow: inset 0 pxToEm(1) pxToEm(2) rgba($neutral-dark, 0.12);
57
+ box-shadow: inset 0 px-to-em(1) px-to-em(2) rgba($neutral-dark, 0.12);
58
58
 
59
59
  &:hover,
60
60
  &:focus-within {
@@ -63,13 +63,13 @@
63
63
  }
64
64
 
65
65
  &:focus-within {
66
- box-shadow: rgba($secondary-color, 0.1) 0 0 0 pxToRem(4), $secondary-color 0 0 0 pxToRem(0.5);
66
+ box-shadow: rgba($secondary-color, 0.1) 0 0 0 px-to-rem(4), $secondary-color 0 0 0 px-to-rem(0.5);
67
67
  }
68
68
  }
69
69
 
70
70
  &__divider {
71
71
  flex-shrink: 0;
72
- width: pxToRem(1);
72
+ width: px-to-rem(1);
73
73
  height: 100%;
74
74
  background-color: $border-color;
75
75
  }
@@ -87,9 +87,9 @@
87
87
  &::after {
88
88
  position: absolute;
89
89
  top: 50%;
90
- right: pxToEm(12);
91
- width: pxToEm(20);
92
- height: pxToEm(20);
90
+ right: px-to-em(12);
91
+ width: px-to-em(20);
92
+ height: px-to-em(20);
93
93
  background-image: url('@/assets/images/icons/chevron-down-icon.svg');
94
94
  background-size: cover;
95
95
  transform: translateY(-50%);
@@ -100,7 +100,7 @@
100
100
  select {
101
101
  @extend %u-text-ellipsis;
102
102
  width: 100%;
103
- padding: pxToEm(12) pxToEm(40) pxToEm(12) pxToEm(12);
103
+ padding: px-to-em(12) px-to-em(40) px-to-em(12) px-to-em(12);
104
104
  color: inherit;
105
105
  cursor: pointer;
106
106
 
@@ -129,7 +129,7 @@
129
129
  }
130
130
 
131
131
  .cpDate__inputs:focus-within {
132
- box-shadow: 0 0 0 pxToEm(3) scale-color($error-color, $lightness: 60%);
132
+ box-shadow: 0 0 0 px-to-em(3) scale-color($error-color, $lightness: 60%);
133
133
  }
134
134
 
135
135
  .cpDate__divider {
@@ -154,9 +154,9 @@
154
154
  }
155
155
 
156
156
  &__errorMessage {
157
- margin-top: pxToRem(6);
157
+ margin-top: px-to-rem(6);
158
158
  color: $error-color;
159
159
  font-weight: 500;
160
- font-size: pxToEm(14);
160
+ font-size: px-to-em(14);
161
161
  }
162
162
  }
@@ -72,7 +72,7 @@ export default {
72
72
  }
73
73
 
74
74
  &--#{$className} button:focus-visible {
75
- outline: pxToRem(2) solid $color;
75
+ outline: px-to-rem(2) solid $color;
76
76
  }
77
77
  }
78
78
 
@@ -80,9 +80,9 @@ export default {
80
80
  position: relative;
81
81
  display: flex;
82
82
  align-items: flex-start;
83
- padding: pxToRem(10);
84
- font-size: pxToEm(14);
85
- border-radius: pxToRem(4);
83
+ padding: px-to-rem(10);
84
+ font-size: px-to-em(14);
85
+ border-radius: px-to-rem(4);
86
86
  overflow: hidden;
87
87
 
88
88
  &:before {
@@ -91,13 +91,13 @@ export default {
91
91
  left: 0;
92
92
  top: 0;
93
93
  height: 100%;
94
- width: pxToRem(3);
94
+ width: px-to-rem(3);
95
95
  }
96
96
 
97
97
  &__body {
98
98
  flex: 1;
99
99
  margin-left: $space;
100
- padding-right: calc(#{pxToRem(18)} + #{$space-lg});
100
+ padding-right: calc(#{px-to-rem(18)} + #{$space-lg});
101
101
  }
102
102
 
103
103
  &__icon {
@@ -107,15 +107,15 @@ export default {
107
107
  i {
108
108
  display: inline-block;
109
109
  vertical-align: sub;
110
- width: pxToRem(16);
111
- height: pxToRem(16);
110
+ width: px-to-rem(16);
111
+ height: px-to-rem(16);
112
112
  }
113
113
  }
114
114
 
115
115
  &__icon,
116
116
  &__content,
117
117
  &__title {
118
- line-height: pxToRem(19);
118
+ line-height: px-to-rem(19);
119
119
  }
120
120
 
121
121
  &__title {
@@ -128,17 +128,18 @@ export default {
128
128
  }
129
129
 
130
130
  &__button {
131
+ display: flex;
131
132
  position: absolute;
132
- right: pxToRem(5);
133
- top: pxToRem(5);
134
- border-radius: pxToRem(4);
133
+ right: px-to-rem(7);
134
+ top: px-to-rem(7);
135
+ border-radius: px-to-rem(4);
135
136
  padding: $space-sm;
136
137
  color: inherit;
137
138
 
138
139
  svg {
139
140
  margin: 0;
140
- width: pxToRem(18);
141
- height: pxToRem(18);
141
+ width: px-to-rem(18);
142
+ height: px-to-rem(18);
142
143
  }
143
144
 
144
145
  &:hover {
@@ -251,10 +251,10 @@ export default {
251
251
  max-width: 100%;
252
252
  margin: auto;
253
253
  pointer-events: auto;
254
- font-size: pxToRem(14);
254
+ font-size: px-to-rem(14);
255
255
 
256
256
  @media (min-width: 769px) {
257
- border-radius: pxToRem(8);
257
+ border-radius: px-to-rem(8);
258
258
  }
259
259
 
260
260
  @media (max-width: 768px) {
@@ -266,7 +266,7 @@ export default {
266
266
  position: absolute;
267
267
  top: 0;
268
268
  left: 0;
269
- width: pxToRem(3);
269
+ width: px-to-rem(3);
270
270
  height: 100%;
271
271
  }
272
272
 
@@ -278,7 +278,7 @@ export default {
278
278
  right: 0;
279
279
  margin: auto;
280
280
  padding: $space-lg;
281
- max-width: pxToRem(400);
281
+ max-width: px-to-rem(400);
282
282
  pointer-events: none;
283
283
 
284
284
  & > *:not(:last-child) {
@@ -303,13 +303,13 @@ export default {
303
303
 
304
304
  &__icon {
305
305
  flex-shrink: 0;
306
- height: pxToRem(16);
307
- width: pxToRem(16);
306
+ height: px-to-rem(16);
307
+ width: px-to-rem(16);
308
308
  }
309
309
 
310
310
  &__content,
311
311
  &__title {
312
- line-height: pxToRem(16);
312
+ line-height: px-to-rem(16);
313
313
  }
314
314
 
315
315
  &__title {
@@ -321,21 +321,21 @@ export default {
321
321
  }
322
322
 
323
323
  &__description {
324
- font-size: pxToRem(14);
324
+ font-size: px-to-rem(14);
325
325
  }
326
326
 
327
327
  &__close {
328
328
  position: absolute;
329
329
  right: $space;
330
330
  top: $space;
331
- border-radius: pxToRem(4);
331
+ border-radius: px-to-rem(4);
332
332
  padding: $space-sm;
333
333
  color: $neutral-dark-1;
334
334
 
335
335
  svg {
336
336
  margin: 0;
337
- width: pxToRem(18);
338
- height: pxToRem(18);
337
+ width: px-to-rem(18);
338
+ height: px-to-rem(18);
339
339
  }
340
340
 
341
341
  &:hover {
@@ -350,7 +350,7 @@ export default {
350
350
  }
351
351
 
352
352
  &__button {
353
- font-size: pxToRem(12);
353
+ font-size: px-to-rem(12);
354
354
  color: $secondary-color;
355
355
 
356
356
  &:not(:hover) {
@@ -218,23 +218,23 @@ export default {
218
218
  }
219
219
 
220
220
  &__inner {
221
- box-shadow: inset 0 pxToEm(1) pxToEm(2) rgba(0, 0, 0, 0.12);
221
+ box-shadow: inset 0 px-to-em(1) px-to-em(2) rgba(0, 0, 0, 0.12);
222
222
  appearance: none;
223
- border: pxToRem(1) solid $neutral-dark-4;
224
- border-radius: pxToEm(10);
223
+ border: px-to-rem(1) solid $neutral-dark-4;
224
+ border-radius: px-to-em(10);
225
225
  outline: none;
226
226
  width: 100%;
227
227
  height: $component-size-default;
228
228
  color: inherit;
229
- padding: pxToEm(12);
230
- font-size: pxToEm(16);
229
+ padding: px-to-em(12);
230
+ font-size: px-to-em(16);
231
231
 
232
232
  &:hover {
233
233
  @include cp-input-hover-style;
234
234
  }
235
235
 
236
236
  &:focus {
237
- box-shadow: 0 0 0 pxToEm(3) scale-color($secondary-color, $lightness: 80%);
237
+ box-shadow: 0 0 0 px-to-em(3) scale-color($secondary-color, $lightness: 80%);
238
238
  border-color: $secondary-color;
239
239
  background-color: $neutral-light;
240
240
  }
@@ -249,11 +249,11 @@ export default {
249
249
  .cpInput__inner:hover,
250
250
  .cpInput__inner:focus,
251
251
  .cpInput__icon:hover ~ .cpInput__inner {
252
- border: pxToRem(1) solid $error-color;
252
+ border: px-to-rem(1) solid $error-color;
253
253
  }
254
254
 
255
255
  .cpInput__inner:focus {
256
- box-shadow: 0 0 0 pxToEm(3) scale-color($error-color, $lightness: 60%);
256
+ box-shadow: 0 0 0 px-to-em(3) scale-color($error-color, $lightness: 60%);
257
257
  }
258
258
  }
259
259
 
@@ -290,18 +290,18 @@ export default {
290
290
  display: block;
291
291
 
292
292
  &:not(#{&}--isAfter) {
293
- margin-bottom: pxToEm(6);
293
+ margin-bottom: px-to-em(6);
294
294
  }
295
295
 
296
296
  &--isAfter {
297
- margin-top: pxToEm(6);
297
+ margin-top: px-to-em(6);
298
298
  }
299
299
  }
300
300
 
301
- $cp-input-icon-size: pxToEm(20);
301
+ $cp-input-icon-size: px-to-em(20);
302
302
 
303
303
  &__icon {
304
- left: pxToEm(12);
304
+ left: px-to-em(12);
305
305
  z-index: 1;
306
306
  position: absolute;
307
307
  top: 50%;
@@ -331,7 +331,7 @@ export default {
331
331
  &--isAfter,
332
332
  &--isValidity {
333
333
  left: auto;
334
- right: pxToEm(12);
334
+ right: px-to-em(12);
335
335
  justify-content: flex-end;
336
336
  }
337
337
 
@@ -340,34 +340,34 @@ export default {
340
340
  }
341
341
 
342
342
  &--isAfter ~ input {
343
- padding-right: calc(#{pxToEm(12)} + #{$cp-input-icon-size} * 2 + #{pxToEm(8)});
343
+ padding-right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} * 2 + #{px-to-em(8)});
344
344
  }
345
345
 
346
346
  &--isBefore ~ input {
347
- padding-left: calc(#{pxToEm(12)} + #{$cp-input-icon-size} + #{pxToEm(8)});
347
+ padding-left: calc(#{px-to-em(12)} + #{$cp-input-icon-size} + #{px-to-em(8)});
348
348
  }
349
349
 
350
350
  &--isValidity ~ input {
351
- padding-right: calc(#{pxToEm(12)} + #{$cp-input-icon-size} + #{pxToEm(8)});
351
+ padding-right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} + #{px-to-em(8)});
352
352
  }
353
353
 
354
354
  &--hasAfterAndValidityIcon ~ input {
355
- padding-right: calc(#{pxToEm(12)} + #{$cp-input-icon-size} * 2 + #{pxToEm(8)} * 2);
355
+ padding-right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} * 2 + #{px-to-em(8)} * 2);
356
356
  }
357
357
 
358
358
  &--isValidity#{&}--isValid,
359
359
  &--isValidity#{&}--isInvalid {
360
360
  + .cpInput__icon--isAfter {
361
- right: calc(#{pxToEm(12)} + #{$cp-input-icon-size} + #{pxToEm(8)});
361
+ right: calc(#{px-to-em(12)} + #{$cp-input-icon-size} + #{px-to-em(8)});
362
362
  transition: right 0.25s cubic-bezier(0.17, 0.84, 0.44, 1);
363
363
  }
364
364
  }
365
365
  }
366
366
 
367
367
  &--isLarge {
368
- $cp-input-large-icon-size: pxToEm(24);
369
- $cp-input-large-spacing: pxToEm(12);
370
- $cp-input-large-padding: pxToEm(16);
368
+ $cp-input-large-icon-size: px-to-em(24);
369
+ $cp-input-large-spacing: px-to-em(12);
370
+ $cp-input-large-padding: px-to-em(16);
371
371
 
372
372
  .cpInput__inner {
373
373
  height: $component-size-large;
@@ -407,7 +407,7 @@ export default {
407
407
  .cpInput__icon--isValidity.cpInput__icon--isValid,
408
408
  .cpInput__icon--isValidity.cpInput__icon--isInvalid {
409
409
  + .cpInput__icon--isAfter {
410
- right: calc(#{$cp-input-large-padding} + #{$cp-input-large-icon-size} + #{pxToEm(8)});
410
+ right: calc(#{$cp-input-large-padding} + #{$cp-input-large-icon-size} + #{px-to-em(8)});
411
411
  }
412
412
  }
413
413
  }
@@ -115,16 +115,16 @@ export default {
115
115
  <style lang="scss">
116
116
  .cpTextarea {
117
117
  &__input {
118
- box-shadow: inset 0 pxToEm(1) pxToEm(2) rgba(0, 0, 0, 0.12);
118
+ box-shadow: inset 0 px-to-em(1) px-to-em(2) rgba(0, 0, 0, 0.12);
119
119
  appearance: none;
120
- border: pxToRem(1) solid $neutral-dark-4;
121
- border-radius: pxToEm(10);
120
+ border: px-to-rem(1) solid $neutral-dark-4;
121
+ border-radius: px-to-em(10);
122
122
  outline: none;
123
- padding: pxToEm(16);
123
+ padding: px-to-em(16);
124
124
  width: 100%;
125
125
  max-width: 100%;
126
126
  height: 100%;
127
- font-size: pxToEm(16);
127
+ font-size: px-to-em(16);
128
128
  color: $neutral-dark;
129
129
 
130
130
  &:hover {
@@ -132,7 +132,7 @@ export default {
132
132
  }
133
133
 
134
134
  &:focus {
135
- box-shadow: 0 0 0 pxToEm(3) scale-color($secondary-color, $lightness: 80%);
135
+ box-shadow: 0 0 0 px-to-em(3) scale-color($secondary-color, $lightness: 80%);
136
136
  border-color: $secondary-color;
137
137
  background-color: $neutral-light;
138
138
  }
@@ -148,16 +148,16 @@ export default {
148
148
  }
149
149
 
150
150
  &--isInvalid {
151
- box-shadow: 0 0 0 pxToRem(0.5) $error-color;
152
- border: pxToRem(1) solid $error-color;
151
+ box-shadow: 0 0 0 px-to-rem(0.5) $error-color;
152
+ border: px-to-rem(1) solid $error-color;
153
153
 
154
154
  &:hover,
155
155
  &:focus {
156
- border: pxToRem(1) solid $error-color;
156
+ border: px-to-rem(1) solid $error-color;
157
157
  }
158
158
 
159
159
  &:focus {
160
- box-shadow: 0 0 0 pxToEm(3) scale-color($error-color, $lightness: 60%);
160
+ box-shadow: 0 0 0 px-to-em(3) scale-color($error-color, $lightness: 60%);
161
161
  }
162
162
  }
163
163
  }
@@ -166,11 +166,11 @@ export default {
166
166
  display: block;
167
167
 
168
168
  &:not(#{&}--isAfter) {
169
- margin-bottom: pxToEm(6);
169
+ margin-bottom: px-to-em(6);
170
170
  }
171
171
 
172
172
  &--isAfter {
173
- margin-top: pxToEm(6);
173
+ margin-top: px-to-em(6);
174
174
  }
175
175
  }
176
176
  }
@@ -30,7 +30,7 @@ export default {
30
30
 
31
31
  &__icon {
32
32
  margin-bottom: $space-xl;
33
- border-radius: pxToRem(4);
33
+ border-radius: px-to-rem(4);
34
34
  display: inline-block;
35
35
  background-color: $neutral-light-1;
36
36
  padding: $space-lg;
@@ -43,7 +43,7 @@ export default {
43
43
 
44
44
  &__headline {
45
45
  margin-bottom: $space;
46
- font-size: pxToEm(20);
46
+ font-size: px-to-em(20);
47
47
  }
48
48
 
49
49
  &__description {
@@ -12,7 +12,7 @@
12
12
  flex: 1;
13
13
 
14
14
  &--hasPagination {
15
- border-bottom: pxToRem(1) solid $border-color;
15
+ border-bottom: px-to-rem(1) solid $border-color;
16
16
  }
17
17
  }
18
18
 
@@ -22,8 +22,8 @@
22
22
  }
23
23
 
24
24
  &__container[role='region'][aria-labelledby][tabindex]:focus {
25
- border-radius: pxToRem(10);
26
- box-shadow: 0 0 0 pxToEm(3) scale-color($blue, $lightness: 70%);
25
+ border-radius: px-to-rem(10);
26
+ box-shadow: 0 0 0 px-to-em(3) scale-color($blue, $lightness: 70%);
27
27
  }
28
28
 
29
29
  &__container[role='region'][aria-labelledby][tabindex] &__table {
@@ -49,7 +49,7 @@
49
49
  left: 0;
50
50
  margin-bottom: $space-lg;
51
51
  text-align: left;
52
- font-size: pxToEm(18);
52
+ font-size: px-to-em(18);
53
53
 
54
54
  &:first-letter {
55
55
  text-transform: capitalize;
@@ -63,7 +63,7 @@
63
63
 
64
64
  &__row {
65
65
  &--body:not(:last-of-type) {
66
- border-bottom: pxToRem(1) solid $border-color;
66
+ border-bottom: px-to-rem(1) solid $border-color;
67
67
  }
68
68
 
69
69
  &--body:not(#{&}--isFullWidth):not(#{&}--isSelected):hover,
@@ -93,7 +93,7 @@
93
93
  }
94
94
 
95
95
  &--body td {
96
- font-size: pxToEm(14);
96
+ font-size: px-to-em(14);
97
97
  }
98
98
  }
99
99
 
@@ -105,7 +105,7 @@
105
105
  padding: $space $space-md;
106
106
  text-align: left;
107
107
  white-space: nowrap;
108
- font-size: pxToEm(12);
108
+ font-size: px-to-em(12);
109
109
  font-weight: normal;
110
110
  color: $neutral-dark-1;
111
111
 
@@ -120,7 +120,7 @@
120
120
  bottom: 0;
121
121
  left: 0;
122
122
  width: 100%;
123
- height: pxToRem(1);
123
+ height: px-to-rem(1);
124
124
  background-color: $border-color;
125
125
  }
126
126
  }
@@ -157,8 +157,8 @@
157
157
  }
158
158
 
159
159
  &--isOptions button {
160
- border: pxToRem(1) solid $border-color;
161
- border-radius: pxToRem(8);
160
+ border: px-to-rem(1) solid $border-color;
161
+ border-radius: px-to-rem(8);
162
162
  background-color: $neutral-light;
163
163
  display: inline-flex;
164
164
  padding: $space-sm;
@@ -171,13 +171,13 @@
171
171
 
172
172
  &:focus {
173
173
  outline: none !important;
174
- box-shadow: 0 0 0 pxToEm(3) scale-color($secondary-color, $lightness: 80%);
174
+ box-shadow: 0 0 0 px-to-em(3) scale-color($secondary-color, $lightness: 80%);
175
175
  }
176
176
  }
177
177
 
178
178
  &--isOptions svg {
179
- width: pxToRem(16);
180
- height: pxToRem(16);
179
+ width: px-to-rem(16);
180
+ height: px-to-rem(16);
181
181
  }
182
182
  }
183
183
 
@@ -211,7 +211,7 @@
211
211
  right: 0;
212
212
  top: 0;
213
213
  bottom: 0;
214
- border-radius: pxToRem(10);
214
+ border-radius: px-to-rem(10);
215
215
  background-color: $neutral-light;
216
216
  z-index: 4;
217
217
  opacity: 0;
@@ -245,14 +245,14 @@
245
245
  }
246
246
 
247
247
  &__loader {
248
- width: pxToRem(32);
249
- height: pxToRem(32);
248
+ width: px-to-rem(32);
249
+ height: px-to-rem(32);
250
250
 
251
251
  &--isSmall {
252
252
  display: inline-block;
253
253
  vertical-align: middle;
254
- width: pxToRem(24);
255
- height: pxToRem(24);
254
+ width: px-to-rem(24);
255
+ height: px-to-rem(24);
256
256
  }
257
257
  }
258
258
 
@@ -260,7 +260,7 @@
260
260
  padding: $space-lg $space-md 0;
261
261
  display: flex;
262
262
  align-items: center;
263
- font-size: pxToEm(14);
263
+ font-size: px-to-em(14);
264
264
  }
265
265
 
266
266
  .footer {
@@ -283,10 +283,10 @@
283
283
  }
284
284
 
285
285
  &__pagination button {
286
- box-shadow: 0 pxToRem(1) pxToRem(2) rgba($neutral-dark, 0.08);
287
- border-radius: pxToRem(10);
288
- border: pxToRem(1) solid $border-color;
289
- padding: pxToRem(6) pxToRem(10);
286
+ box-shadow: 0 px-to-rem(1) px-to-rem(2) rgba($neutral-dark, 0.08);
287
+ border-radius: px-to-rem(10);
288
+ border: px-to-rem(1) solid $border-color;
289
+ padding: px-to-rem(6) px-to-rem(10);
290
290
  transition: background-color 0.15s;
291
291
 
292
292
  &:hover {
@@ -295,7 +295,7 @@
295
295
 
296
296
  &:focus {
297
297
  outline: none !important;
298
- box-shadow: 0 0 0 pxToEm(3) scale-color($blue, $lightness: 70%);
298
+ box-shadow: 0 0 0 px-to-em(3) scale-color($blue, $lightness: 70%);
299
299
  }
300
300
 
301
301
  &:disabled {
@@ -75,7 +75,7 @@
75
75
  <strong>
76
76
  {{ paginationLabel }}
77
77
  </strong>
78
- <span class="footer__resultsCount">on {{ paginationResultsDetails }}</span>
78
+ <span class="footer__resultsCount"> on {{ paginationResultsDetails }}</span>
79
79
  </template>
80
80
  <template v-else> No results </template>
81
81
  </slot>