@kiva/kv-components 3.87.4 → 3.88.1

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,33 @@
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.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.88.0...@kiva/kv-components@3.88.1) (2024-07-22)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * remove margin in cart modal ([3f40f9a](https://github.com/kiva/kv-ui-elements/commit/3f40f9a1239af24eb7c00359c2825d2d55edefa9))
12
+
13
+
14
+
15
+
16
+
17
+ # [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)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * adjust underline after review ([979d47c](https://github.com/kiva/kv-ui-elements/commit/979d47c6a96c22f4e49b799e57dba412e39e15db))
23
+
24
+
25
+ ### Features
26
+
27
+ * brush-stroke underline for headings mvp MP-348 ([6211527](https://github.com/kiva/kv-ui-elements/commit/621152741bd537da6026984569a7775767a2c3ec))
28
+
29
+
30
+
31
+
32
+
6
33
  ## [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
34
 
8
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.87.4",
3
+ "version": "3.88.1",
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.12.0",
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": "00dcbe465560e7ccbf9dba5e92bb03d4b78ff216"
84
+ "gitHead": "76a3892223c35267dfbe3a9f25a9b78e62a7b1f0"
85
85
  }
@@ -357,10 +357,6 @@ export default {
357
357
  }
358
358
 
359
359
  @screen md {
360
- .container {
361
- margin-right: 5%;
362
- }
363
-
364
360
  .modal {
365
361
  max-width: 24.5rem;
366
362
  }
@@ -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;">