@globalbrain/sefirot 2.40.0 → 2.41.0
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.
|
@@ -115,6 +115,7 @@ function handleClick(option: DropdownSectionFilterOption, value: string | number
|
|
|
115
115
|
padding: 0 8px;
|
|
116
116
|
width: 100%;
|
|
117
117
|
font-size: 14px;
|
|
118
|
+
font-family: var(--input-value-font-family);
|
|
118
119
|
line-height: 32px;
|
|
119
120
|
background-color: var(--input-bg-color);
|
|
120
121
|
transition: border-color 0.25s;
|
package/lib/components/SGrid.vue
CHANGED
|
@@ -8,8 +8,8 @@ const props = defineProps<{
|
|
|
8
8
|
|
|
9
9
|
const styles = computed(() => {
|
|
10
10
|
return {
|
|
11
|
-
|
|
12
|
-
gap: `${props.gap ?? 0}px`
|
|
11
|
+
'--grid-template-columns': `repeat(${props.cols ?? 1}, minmax(0, 1fr))`,
|
|
12
|
+
'--gap': `${props.gap ?? 0}px`
|
|
13
13
|
}
|
|
14
14
|
})
|
|
15
15
|
</script>
|
|
@@ -23,5 +23,7 @@ const styles = computed(() => {
|
|
|
23
23
|
<style scoped lang="postcss">
|
|
24
24
|
.SGrid {
|
|
25
25
|
display: grid;
|
|
26
|
+
grid-template-columns: var(--grid-template-columns);
|
|
27
|
+
gap: var(--gap);
|
|
26
28
|
}
|
|
27
29
|
</style>
|
|
@@ -393,6 +393,7 @@ function getValue(e: Event | FocusEvent | KeyboardEvent): string | null {
|
|
|
393
393
|
width: 100%;
|
|
394
394
|
background-color: transparent;
|
|
395
395
|
cursor: text;
|
|
396
|
+
font-family: var(--input-value-font-family);
|
|
396
397
|
|
|
397
398
|
&.neutral:not(.hide) { color: var(--input-value-color); }
|
|
398
399
|
&.info:not(.hide) { color: var(--c-info-text); }
|
|
@@ -147,6 +147,7 @@ function emitBlur(e: FocusEvent): void {
|
|
|
147
147
|
border: 1px solid var(--input-border-color);
|
|
148
148
|
border-radius: 6px;
|
|
149
149
|
width: 100%;
|
|
150
|
+
font-family: var(--input-value-font-family);
|
|
150
151
|
font-weight: 400;
|
|
151
152
|
background-color: var(--input-bg-color);
|
|
152
153
|
transition: border-color 0.25s, background-color 0.25s;
|