@kiva/kv-components 3.101.2 → 3.102.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,28 @@
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.102.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.101.3...@kiva/kv-components@3.102.0) (2024-09-16)
7
+
8
+
9
+ ### Features
10
+
11
+ * add underline styles for h3 ([#460](https://github.com/kiva/kv-ui-elements/issues/460)) ([b9ea2c4](https://github.com/kiva/kv-ui-elements/commit/b9ea2c4c56108064ad016f4c3c3376f2208f08dd))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.101.3](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.101.2...@kiva/kv-components@3.101.3) (2024-09-13)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * remove computed from next tick ([cb7a1fb](https://github.com/kiva/kv-ui-elements/commit/cb7a1fb358799ab99a1a05707bc2fc0b9aa915b7))
23
+
24
+
25
+
26
+
27
+
6
28
  ## [3.101.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.101.1...@kiva/kv-components@3.101.2) (2024-09-06)
7
29
 
8
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.101.2",
3
+ "version": "3.102.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -83,5 +83,5 @@
83
83
  "optional": true
84
84
  }
85
85
  },
86
- "gitHead": "0809b0816e59caee0fd4618825e77e921edf7278"
86
+ "gitHead": "20b68474c85a4df97dcf32d6a234a237f02cb9ae"
87
87
  }
@@ -222,14 +222,13 @@ export default {
222
222
 
223
223
  // Ensure the lightbox ref isn't null
224
224
  nextTick(() => {
225
- const trapElements = computed(() => [
226
- kvLightbox.value, // This lightbox
227
- '[role="alert"]', // Any open toasts/alerts on the page
228
- ]);
229
225
  const {
230
226
  activate,
231
227
  deactivate,
232
- } = useFocusTrap(trapElements, {
228
+ } = useFocusTrap([
229
+ kvLightbox.value, // This lightbox
230
+ '[role="alert"]', // Any open toasts/alerts on the page
231
+ ], {
233
232
  allowOutsideClick: true, // allow clicking outside the lightbox to close it
234
233
  });
235
234
  activateFocusTrap.value = activate;
@@ -84,8 +84,10 @@ export default {
84
84
  .tw-text-jumbo u,
85
85
  .tw-text-h1 u,
86
86
  .tw-text-h2 u,
87
+ .tw-text-h3 u,
87
88
  h1 u,
88
- h2 u {
89
+ h2 u,
90
+ h3 u {
89
91
  text-decoration: none;
90
92
  box-decoration-break: clone;
91
93
  background-image: var(--heading-underline-primary);
@@ -106,7 +108,11 @@ h2 u {
106
108
  background-size: 100% 0.375rem;
107
109
  padding-bottom: 0.125rem;
108
110
  }
109
-
111
+ .tw-text-h3 u,
112
+ h3 u {
113
+ background-size: 100% 0.375rem;
114
+ padding-bottom: 0.2rem;
115
+ }
110
116
  @screen lg {
111
117
  .tw-text-jumbo u {
112
118
  background-size: 100% 1rem;
@@ -50,6 +50,7 @@ const demoTemplate = `
50
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
51
  <h1 class="tw-mb-2">H1: The quick <u>brown fox</u> jumped <u>over the lazy dog</u></h1>
52
52
  <h2 class="tw-mb-2">H2: The quick <u>brown fox</u> jumped <u>over the lazy dog</u></h2>
53
+ <h3 class="tw-mb-2">H3: The quick <u>brown fox</u> jumped <u>over the lazy dog</u></h3>
53
54
  <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>
54
55
  </section>
55
56
  <kv-grid as="section" class="tw-grid-cols-2 tw-p-4 tw-gap-2" style="background-color: gray;">