@citizenplane/pimp 18.11.0 → 18.11.1

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": "@citizenplane/pimp",
3
- "version": "18.11.0",
3
+ "version": "18.11.1",
4
4
  "scripts": {
5
5
  "dev": "storybook dev -p 8081",
6
6
  "build-storybook": "storybook build --output-dir ./docs",
@@ -68,8 +68,9 @@ const suppressUnderlineTransition = ref(false)
68
68
  const textSize = computed(() => {
69
69
  switch (props.size) {
70
70
  case 'xs':
71
- case 'sm':
72
71
  return 'xs'
72
+ case 'sm':
73
+ return 'sm'
73
74
  case 'md':
74
75
  case 'lg':
75
76
  default:
@@ -230,20 +231,14 @@ watch(
230
231
  width: 100%;
231
232
  align-items: center;
232
233
 
233
- &--xs {
234
- gap: var(--cp-spacing-xs);
235
- }
236
-
234
+ &--xs,
237
235
  &--sm {
238
- gap: var(--cp-spacing-sm);
239
- }
240
-
241
- &--md {
242
- gap: var(--cp-spacing-lg);
236
+ gap: var(--cp-spacing-xs);
243
237
  }
244
238
 
239
+ &--md,
245
240
  &--lg {
246
- gap: var(--cp-spacing-lg);
241
+ gap: var(--cp-spacing-sm);
247
242
  }
248
243
 
249
244
  &__activeUnderline {
@@ -315,7 +310,7 @@ watch(
315
310
  }
316
311
 
317
312
  &--sm {
318
- padding: var(--cp-spacing-md);
313
+ padding: var(--cp-spacing-sm-md) var(--cp-spacing-md);
319
314
  gap: var(--cp-spacing-sm);
320
315
  }
321
316