webcake-ui-kit 1.3.4 → 1.3.5
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
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class="ui-dialog-header__row">
|
|
23
23
|
<slot name="header">
|
|
24
24
|
<div v-if="hasTitle" class="ui-dialog-header__content">
|
|
25
|
-
<div class="ui-dialog-header__title">
|
|
25
|
+
<div :class="['ui-dialog-header__title', `ui-dialog-header__title__size-${headerSize}`]">
|
|
26
26
|
<slot name="title">{{ title }}</slot>
|
|
27
27
|
</div>
|
|
28
28
|
</div>
|
|
@@ -117,6 +117,11 @@ export default {
|
|
|
117
117
|
closable: { type: Boolean, default: true },
|
|
118
118
|
showHeader: { type: Boolean, default: true },
|
|
119
119
|
headerDivider: { type: Boolean, default: true },
|
|
120
|
+
headerSize: {
|
|
121
|
+
type: String,
|
|
122
|
+
default: 'md',
|
|
123
|
+
validator: v => ['sm', 'md'].includes(v)
|
|
124
|
+
},
|
|
120
125
|
footer: { type: Boolean, default: true },
|
|
121
126
|
footerAlign: {
|
|
122
127
|
type: String,
|
|
@@ -133,13 +133,19 @@
|
|
|
133
133
|
.ui-dialog-header__title {
|
|
134
134
|
width: 100%;
|
|
135
135
|
font-family: var(--heading-4-font-family);
|
|
136
|
-
font-size: var(--heading-4-font-size);
|
|
137
136
|
line-height: var(--heading-4-line-height);
|
|
138
137
|
letter-spacing: var(--heading-4-letter-spacing);
|
|
139
138
|
font-weight: var(--heading-4-font-weight);
|
|
140
139
|
color: var(--primary-fg);
|
|
141
140
|
}
|
|
142
141
|
|
|
142
|
+
.ui-dialog-header__title__size-sm {
|
|
143
|
+
font-size: var(--paragraph-regular-font-size);
|
|
144
|
+
}
|
|
145
|
+
.ui-dialog-header__title__size-md {
|
|
146
|
+
font-size: var(--heading-4-font-size);
|
|
147
|
+
}
|
|
148
|
+
|
|
143
149
|
.ui-dialog-header__sub-text {
|
|
144
150
|
width: 100%;
|
|
145
151
|
font-family: var(--paragraph-small-font-family);
|