axitech-widget 1.0.0-beta.2 → 1.0.0-beta.3

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
@@ -89,5 +89,5 @@
89
89
  "tailwind-merge": "^1.14.0",
90
90
  "vue-tel-input": "^8.1.3"
91
91
  },
92
- "version": "1.0.0-beta.2"
92
+ "version": "1.0.0-beta.3"
93
93
  }
@@ -81,16 +81,25 @@
81
81
  html
82
82
  font-family: var(--widget-font-family), system-ui, sans-serif
83
83
  #axitech-claims-widget
84
- font-family: var(--widget-font-family), sans-serif
84
+ font-family: var(--widget-font-family-secondary), sans-serif
85
85
  @apply text-fontPrimary-500
86
86
  & *
87
87
  transition-property: color, background, background-color, fill
88
88
  transition-duration: 150ms
89
89
  transition-timing-function: ease
90
+ @mixin title-primary($index, $font-size, $line-height)
91
+ .title-primary#{$index}, .title-primary#{$index}-bold
92
+ font-style: normal
93
+ font-family: var(--widget-font-family), sans-serif
94
+ font-size: $font-size
95
+ line-height: $line-height
96
+ letter-spacing: -0.02em
97
+ .title-primary#{$index}-bold
98
+ font-weight: bold
90
99
  @mixin title($index, $font-size, $line-height)
91
100
  .title#{$index}, .title#{$index}-bold
92
101
  font-style: normal
93
- font-family: var(--widget-font-family), sans-serif
102
+ font-family: var(--widget-font-family-secondary), sans-serif
94
103
  font-size: $font-size
95
104
  line-height: $line-height
96
105
  letter-spacing: -0.02em
@@ -123,6 +132,10 @@
123
132
  @include title(2, 1.25rem, 1.75rem)
124
133
  @include title(3, 1.125rem, 1.6875rem)
125
134
  @include title(4, 1rem, 1.375rem)
135
+ @include title-primary(1, 1.5rem, 2.125rem)
136
+ @include title-primary(2, 1.25rem, 1.75rem)
137
+ @include title-primary(3, 1.125rem, 1.6875rem)
138
+ @include title-primary(4, 1rem, 1.375rem)
126
139
 
127
140
  @include body(1, 1rem, 1.5rem)
128
141
  @include body(2, 0.875rem, 1.25rem)
@@ -11,7 +11,7 @@
11
11
  @click="emit('back')"
12
12
  >
13
13
  <Icon icon="mdi-light:chevron-left" height="32" />
14
- <p class="title3-bold group-hover:underline">{{ title }}</p>
14
+ <p class="title-primary3-bold group-hover:underline">{{ title }}</p>
15
15
  </WButton>
16
16
  <JsonForm
17
17
  :data="data"
@@ -1,10 +1,10 @@
1
1
  <template>
2
2
  <Transition :name="transitionName" mode="out-in">
3
3
  <div>
4
- <h2 v-if="!isBackButtonVisible" class="title3-bold font-medium mb-4">{{ title }}</h2>
4
+ <h2 v-if="!isBackButtonVisible" class="title-primary3-bold font-medium mb-4">{{ title }}</h2>
5
5
  <WButton v-else type="ghost" class="group mb-4 hover:bg-white !-ml-4" @click="emit('back')">
6
6
  <Icon icon="mdi-light:chevron-left" height="2rem" />
7
- <h2 class="title3-bold font-medium group-hover:underline">{{ title }}</h2>
7
+ <h2 class="title-primary3-bold font-medium group-hover:underline">{{ title }}</h2>
8
8
  </WButton>
9
9
  <p class="body3 text-fontSecondary-500 mb-9">
10
10
  {{ description }}
@@ -1,4 +0,0 @@
1
- import { b as _sfc_main } from "./index-f920e152.mjs";
2
- export {
3
- _sfc_main as default
4
- };
@@ -1,4 +0,0 @@
1
- import { d as _sfc_main } from "./index-f920e152.mjs";
2
- export {
3
- _sfc_main as default
4
- };