@kiva/kv-components 3.14.0 → 3.16.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.16.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.15.0...@kiva/kv-components@3.16.0) (2023-05-03)
7
+
8
+
9
+ ### Features
10
+
11
+ * add custom blog colors ([7e00f04](https://github.com/kiva/kv-ui-elements/commit/7e00f047dec9fdde2b68e0a1e5f8cb951f3baa4a))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.15.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.14.0...@kiva/kv-components@3.15.0) (2023-04-27)
18
+
19
+
20
+ ### Features
21
+
22
+ * implemented initial kv-loan-filters package ([1987069](https://github.com/kiva/kv-ui-elements/commit/1987069227099a2ef1cabf09d1086e6a66adee0d))
23
+
24
+
25
+
26
+
27
+
6
28
  # [3.14.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.13.2...@kiva/kv-components@3.14.0) (2023-04-17)
7
29
 
8
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.14.0",
3
+ "version": "3.16.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -47,10 +47,11 @@
47
47
  "storybook": "vue-demi-switch 2 && start-storybook -p 6006 -c vue/.storybook",
48
48
  "build-storybook": "vue-demi-switch 2 && build-storybook -c vue/.storybook",
49
49
  "lint": "eslint --ext .js,.vue ./",
50
- "test": "npm run lint"
50
+ "test": "npm run lint",
51
+ "build": "echo No build needed for @kiva/kv-components."
51
52
  },
52
53
  "dependencies": {
53
- "@kiva/kv-tokens": "^2.5.0",
54
+ "@kiva/kv-tokens": "^2.7.0",
54
55
  "@mdi/js": "^5.9.55",
55
56
  "@vueuse/integrations": "^7.6.0",
56
57
  "aria-hidden": "^1.1.3",
@@ -69,5 +70,5 @@
69
70
  "optional": true
70
71
  }
71
72
  },
72
- "gitHead": "fb5b0f2e5f92a57add53608ac3eddb0e100620be"
73
+ "gitHead": "c442c7a5a998b36082f5ed00addaa6c43c857d74"
73
74
  }
package/vue/KvButton.vue CHANGED
@@ -132,6 +132,7 @@ export default {
132
132
  if (state.value === 'active') {
133
133
  classes = `${classes} tw-bg-action-highlight tw-border-action-highlight`;
134
134
  } else {
135
+ // eslint-disable-next-line max-len
135
136
  classes = `${classes} tw-bg-action hover:tw-bg-action-highlight tw-border-action hover:tw-border-action-highlight`;
136
137
  }
137
138
  break;
@@ -140,6 +141,7 @@ export default {
140
141
  if (state.value === 'active') {
141
142
  classes = `${classes} tw-bg-secondary tw-border-primary`;
142
143
  } else {
144
+ // eslint-disable-next-line max-len
143
145
  classes = `${classes} tw-bg-primary hover:tw-bg-secondary tw-border-tertiary hover:tw-border-primary`;
144
146
  }
145
147
  break;
@@ -148,6 +150,7 @@ export default {
148
150
  if (state.value === 'active') {
149
151
  classes = `${classes} tw-bg-danger-highlight tw-border-danger-highlight`;
150
152
  } else {
153
+ // eslint-disable-next-line max-len
151
154
  classes = `${classes} tw-bg-danger hover:tw-bg-danger-highlight tw-border-danger hover:tw-border-danger-highlight`;
152
155
  }
153
156
  break;
@@ -170,6 +170,7 @@ export default {
170
170
  default: 'center',
171
171
  validator(value) {
172
172
  // The value must match one of these strings
173
+ // eslint-disable-next-line max-len
173
174
  return ['center', 'top', 'right', 'left', 'bottom', 'top_right', 'top_left', 'bottom_right', 'bottom_left', 'face', 'faces'].indexOf(value) !== -1;
174
175
  },
175
176
  },
@@ -143,7 +143,7 @@ import KvMaterialIcon from './KvMaterialIcon.vue';
143
143
 
144
144
  /**
145
145
  * Alert or a lightbox
146
- * Accesibility: https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_modal
146
+ * Accessibility: https://www.w3.org/TR/wai-aria-practices-1.1/#dialog_modal
147
147
  *
148
148
  * - [x] Tab and Shift + Tab do not move focus outside the dialog
149
149
  * - [x] focus is initially set on the first focusable element (close button).
@@ -445,6 +445,8 @@ export const Primitives = (args, { argTypes }) => ({
445
445
  'marigold',
446
446
  'desert-rose',
447
447
  'stone',
448
+ 'gray',
449
+ 'social',
448
450
  ];
449
451
  const isStatic = staticColors.some((staticColor) => colorName[0].includes(staticColor));
450
452
  return isStatic;