@kiva/kv-components 3.39.0 → 3.40.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,25 @@
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.40.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.40.0...@kiva/kv-components@3.40.1) (2023-09-07)
7
+
8
+ **Note:** Version bump only for package @kiva/kv-components
9
+
10
+
11
+
12
+
13
+
14
+ # [3.40.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.39.0...@kiva/kv-components@3.40.0) (2023-09-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * avoid adding themes to callouts when equal to category page name in loan card ([#290](https://github.com/kiva/kv-ui-elements/issues/290)) ([d15ef2b](https://github.com/kiva/kv-ui-elements/commit/d15ef2b4f4503c50247644d5023a7189edfc5d4f))
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.39.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.38.2...@kiva/kv-components@3.39.0) (2023-09-01)
7
26
 
8
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.39.0",
3
+ "version": "3.40.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -53,7 +53,7 @@
53
53
  "build": "echo No build needed for @kiva/kv-components."
54
54
  },
55
55
  "dependencies": {
56
- "@kiva/kv-tokens": "^2.9.0",
56
+ "@kiva/kv-tokens": "^2.10.0",
57
57
  "@mdi/js": "^5.9.55",
58
58
  "@vueuse/integrations": "^7.6.0",
59
59
  "aria-hidden": "^1.1.3",
@@ -75,5 +75,5 @@
75
75
  "optional": true
76
76
  }
77
77
  },
78
- "gitHead": "3205fcfb9e4a34fedfa0b5063751288a387daef5"
78
+ "gitHead": "4ce025324410f92a58a6e235886145d501290f79"
79
79
  }
@@ -476,7 +476,8 @@ export default {
476
476
  if (!!themes.length && callouts.length < 2) {
477
477
  const position = Math.floor(Math.random() * themes.length);
478
478
  const theme = themes[position];
479
- if (!callouts.filter((c) => c.toUpperCase() === theme.toUpperCase()).length) {
479
+ if (!callouts.filter((c) => c.toUpperCase() === theme.toUpperCase()).length
480
+ && theme.toUpperCase() !== this.categoryPageName?.toUpperCase()) {
480
481
  callouts.push(theme);
481
482
  }
482
483
  }