@kiva/kv-components 3.87.4 → 3.88.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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.88.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.87.4...@kiva/kv-components@3.88.0) (2024-07-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* adjust underline after review ([979d47c](https://github.com/kiva/kv-ui-elements/commit/979d47c6a96c22f4e49b799e57dba412e39e15db))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* brush-stroke underline for headings mvp MP-348 ([6211527](https://github.com/kiva/kv-ui-elements/commit/621152741bd537da6026984569a7775767a2c3ec))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [3.87.4](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.87.3...@kiva/kv-components@3.87.4) (2024-07-17)
|
|
7
23
|
|
|
8
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.88.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"build": "echo No build needed for @kiva/kv-components."
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@kiva/kv-tokens": "^2.
|
|
62
|
+
"@kiva/kv-tokens": "^2.13.0",
|
|
63
63
|
"@mdi/js": "^5.9.55",
|
|
64
64
|
"@vueuse/integrations": "^7.6.0",
|
|
65
65
|
"aria-hidden": "^1.1.3",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"optional": true
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "d23ee2a3e2e76af14e08d58028252fe9fe26d864"
|
|
85
85
|
}
|
package/vue/KvThemeProvider.vue
CHANGED
|
@@ -65,6 +65,8 @@ export default {
|
|
|
65
65
|
* --border-action-highlight: '255, 255, 255',
|
|
66
66
|
* --border-danger: '255, 255, 255',
|
|
67
67
|
* --border-danger-highlight: '255, 255, 255',
|
|
68
|
+
*
|
|
69
|
+
* --heading-underline-primary: url('/heading-underline.svg#FFFFFF'),
|
|
68
70
|
* }
|
|
69
71
|
* ```
|
|
70
72
|
*
|
|
@@ -76,3 +78,39 @@ export default {
|
|
|
76
78
|
},
|
|
77
79
|
};
|
|
78
80
|
</script>
|
|
81
|
+
|
|
82
|
+
<style lang="postcss">
|
|
83
|
+
/* heading underline styling, intentionally not scoped */
|
|
84
|
+
.tw-text-jumbo u,
|
|
85
|
+
.tw-text-h1 u,
|
|
86
|
+
.tw-text-h2 u,
|
|
87
|
+
h1 u,
|
|
88
|
+
h2 u {
|
|
89
|
+
text-decoration: none;
|
|
90
|
+
box-decoration-break: clone;
|
|
91
|
+
background-image: var(--heading-underline-primary);
|
|
92
|
+
background-repeat: no-repeat;
|
|
93
|
+
background-position: left bottom;
|
|
94
|
+
}
|
|
95
|
+
.tw-text-jumbo u {
|
|
96
|
+
background-size: 100% 0.75rem;
|
|
97
|
+
padding-bottom: 0.375rem;
|
|
98
|
+
}
|
|
99
|
+
.tw-text-h1 u,
|
|
100
|
+
h1 u {
|
|
101
|
+
background-size: 100% 0.75rem;
|
|
102
|
+
padding-bottom: 0.375rem;
|
|
103
|
+
}
|
|
104
|
+
.tw-text-h2 u,
|
|
105
|
+
h2 u {
|
|
106
|
+
background-size: 100% 0.375rem;
|
|
107
|
+
padding-bottom: 0.125rem;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
@screen lg {
|
|
111
|
+
.tw-text-jumbo u {
|
|
112
|
+
background-size: 100% 1rem;
|
|
113
|
+
padding-bottom: 0.375rem;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
</style>
|
|
@@ -47,6 +47,9 @@ const demoTemplate = `
|
|
|
47
47
|
<span>{{textVariable}}</span>
|
|
48
48
|
<span class="tw-text-opacity-low" :class="textVariable">text-opacity-low</span>
|
|
49
49
|
</p>
|
|
50
|
+
<h1 class="tw-text-jumbo tw-mb-2">Jumbo: The quick <u>brown fox</u> jumped <u>over the lazy dog</u></h1>
|
|
51
|
+
<h1 class="tw-mb-2">H1: The quick <u>brown fox</u> jumped <u>over the lazy dog</u></h1>
|
|
52
|
+
<h2 class="tw-mb-2">H2: The quick <u>brown fox</u> jumped <u>over the lazy dog</u></h2>
|
|
50
53
|
<p>Body text: Voluptate culpa qui excepteur irure ad. Culpa commodo aliquip irure sunt do. Irure incididunt consequat reprehenderit ipsum mollit esse. Ex veniam nulla consequat deserunt fugiat est do in do sint sint ex.</p>
|
|
51
54
|
</section>
|
|
52
55
|
<kv-grid as="section" class="tw-grid-cols-2 tw-p-4 tw-gap-2" style="background-color: gray;">
|