@mptw/skylens-ui 1.2.5 → 1.2.6

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,5 +1,8 @@
1
1
  <template lang="pug">
2
- .calendar-button(ref="button")
2
+ .calendar-button(
3
+ :class='{ "calendar-button--compact": showCompareSwitch }'
4
+ ref="button"
5
+ )
3
6
  a(
4
7
  href="javascript:;"
5
8
  @click="onClickedToggle"
@@ -232,9 +235,12 @@ export default defineComponent({
232
235
  .calendar-button
233
236
  @apply inline-block
234
237
 
238
+ &--compact
239
+ .toggle-button
240
+ @apply s('h-[37px]')
241
+
235
242
  .toggle-button
236
- @apply inline-flex flex-col justify-center s('px-2.75') space-y-1 border s('border-white/20') rounded bg-white text-sm leading-normal text-gray-2
237
- height 58px
243
+ @apply inline-flex flex-col justify-center s('h-[58px]') s('px-2.75') space-y-1 border s('border-white/20') rounded bg-white text-sm leading-normal text-gray-2
238
244
 
239
245
  .date-range
240
246
  @apply flex items-center
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mptw/skylens-ui",
3
3
  "type": "module",
4
- "version": "1.2.5",
4
+ "version": "1.2.6",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground",
@@ -52,4 +52,4 @@
52
52
  "vue-echarts": "^6.7.2",
53
53
  "vue-slider-component": "^4.1.0-beta.7"
54
54
  }
55
- }
55
+ }