@kiva/kv-components 5.1.1 → 5.2.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/README.md +4 -2
- package/dist/utils/carousels.js +3 -3
- package/dist/vue/KvCartModal.js +1 -1
- package/dist/vue/KvLightbox.js +1 -1
- package/dist/vue/KvPopper.js +1 -1
- package/dist/vue/KvTooltip.css +1 -1
- package/dist/vue/KvTooltip.js +7 -7
- package/package.json +3 -3
- /package/dist/node_modules/aria-hidden/dist/es2015/{index.js → index.mjs} +0 -0
- /package/dist/node_modules/embla-carousel/esm/{embla-carousel.esm.js → embla-carousel.esm.mjs} +0 -0
- /package/dist/node_modules/embla-carousel-autoplay/esm/{embla-carousel-autoplay.esm.js → embla-carousel-autoplay.esm.mjs} +0 -0
- /package/dist/node_modules/embla-carousel-fade/esm/{embla-carousel-fade.esm.js → embla-carousel-fade.esm.mjs} +0 -0
- /package/dist/node_modules/popper.js/dist/esm/{popper.js → popper.mjs} +0 -0
package/README.md
CHANGED
|
@@ -11,8 +11,10 @@ A library of accessible UI components that adhere to Kiva's Design System. Curre
|
|
|
11
11
|
|
|
12
12
|
```js
|
|
13
13
|
// tailwind.config.js
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
import { tailwindConfig } from "@kiva/kv-tokens";
|
|
15
|
+
|
|
16
|
+
export default {
|
|
17
|
+
presets: [tailwindConfig],
|
|
16
18
|
// Project-specific customizations
|
|
17
19
|
theme: {
|
|
18
20
|
//...
|
package/dist/utils/carousels.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toRefs as F, ref as a, computed as r, onMounted as H, nextTick as w, onUnmounted as K } from "vue";
|
|
2
|
-
import M from "../node_modules/embla-carousel/esm/embla-carousel.esm.
|
|
3
|
-
import R from "../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.
|
|
4
|
-
import q from "../node_modules/embla-carousel-fade/esm/embla-carousel-fade.esm.
|
|
2
|
+
import M from "../node_modules/embla-carousel/esm/embla-carousel.esm.mjs";
|
|
3
|
+
import R from "../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.mjs";
|
|
4
|
+
import q from "../node_modules/embla-carousel-fade/esm/embla-carousel-fade.esm.mjs";
|
|
5
5
|
import { throttle as B } from "./throttle.js";
|
|
6
6
|
function X(O, { emit: v, slots: V }, k) {
|
|
7
7
|
var S;
|
package/dist/vue/KvCartModal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toRefs as P, ref as b, computed as d, watch as j, onMounted as K, onBeforeUnmount as R, resolveComponent as C, openBlock as x, createBlock as V, Transition as L, withCtx as g, withDirectives as F, createElementVNode as o, withModifiers as y, renderSlot as O, createVNode as w, createElementBlock as A, createCommentVNode as D, toDisplayString as f, createTextVNode as I, vShow as H, nextTick as U } from "vue";
|
|
2
2
|
import { mdiClose as q, mdiCheckCircle as z } from "@mdi/js";
|
|
3
3
|
import { useFocusTrap as G } from "@vueuse/integrations/useFocusTrap";
|
|
4
|
-
import { hideOthers as J } from "../node_modules/aria-hidden/dist/es2015/index.
|
|
4
|
+
import { hideOthers as J } from "../node_modules/aria-hidden/dist/es2015/index.mjs";
|
|
5
5
|
import { unlockScroll as Q, lockScroll as W } from "../utils/scrollLock.js";
|
|
6
6
|
import { unlockPrintSingleEl as X, lockPrintSingleEl as Y } from "../utils/printing.js";
|
|
7
7
|
import Z from "./KvButton.js";
|
package/dist/vue/KvLightbox.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toRefs as L, ref as u, nextTick as y, computed as E, watch as K, onMounted as M, onBeforeUnmount as N, resolveComponent as P, openBlock as b, createBlock as R, Transition as V, withCtx as j, withDirectives as q, createElementVNode as o, withModifiers as g, normalizeClass as p, renderSlot as k, toDisplayString as z, createElementBlock as C, createVNode as D, createCommentVNode as S, vShow as I } from "vue";
|
|
2
2
|
import { mdiClose as O } from "@mdi/js";
|
|
3
3
|
import { useFocusTrap as T } from "@vueuse/integrations/useFocusTrap";
|
|
4
|
-
import { hideOthers as U } from "../node_modules/aria-hidden/dist/es2015/index.
|
|
4
|
+
import { hideOthers as U } from "../node_modules/aria-hidden/dist/es2015/index.mjs";
|
|
5
5
|
import { unlockScroll as A, lockScroll as G } from "../utils/scrollLock.js";
|
|
6
6
|
import { unlockPrintSingleEl as H, lockPrintSingleEl as J } from "../utils/printing.js";
|
|
7
7
|
import Q from "./KvMaterialIcon.js";
|
package/dist/vue/KvPopper.js
CHANGED
|
@@ -66,7 +66,7 @@ const y = {
|
|
|
66
66
|
this.popper && this.popper.scheduleUpdate();
|
|
67
67
|
},
|
|
68
68
|
initPopper() {
|
|
69
|
-
return this.popper ? Promise.resolve() : this.popperPromise ? this.popperPromise : (this.popperPromise = import("../node_modules/popper.js/dist/esm/popper.
|
|
69
|
+
return this.popper ? Promise.resolve() : this.popperPromise ? this.popperPromise : (this.popperPromise = import("../node_modules/popper.js/dist/esm/popper.mjs").then(({ default: e }) => {
|
|
70
70
|
this.popper = new e(this.reference, this.$el, {
|
|
71
71
|
placement: this.popperPlacement,
|
|
72
72
|
modifiers: {
|
package/dist/vue/KvTooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tooltip-pane[data-v-
|
|
1
|
+
.tooltip-pane[data-v-94f9be6e],.tooltip-arrow[data-v-94f9be6e]{box-shadow:0 4px 12px #00000014}.tooltip-arrow[data-v-94f9be6e]{margin:.5rem;--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.tooltip-pane[x-placement^=top][data-v-94f9be6e]{margin-bottom:.5rem}.tooltip-pane[x-placement^=top] .tooltip-arrow[data-v-94f9be6e]{border-width:8px 8px 0 8px;border-left-color:transparent;border-right-color:transparent;border-bottom-color:transparent;left:calc(50% - 8px);bottom:-.5rem;margin-top:0;margin-bottom:0}.tooltip-pane[x-placement^=bottom][data-v-94f9be6e]{margin-top:.5rem}.tooltip-pane[x-placement^=bottom] .tooltip-arrow[data-v-94f9be6e]{border-width:0 8px 8px 8px;border-left-color:transparent;border-right-color:transparent;border-top-color:transparent;left:calc(50% - 8px);top:-.5rem;margin-bottom:0;margin-top:0}.tooltip-pane[x-placement^=right][data-v-94f9be6e]{margin-left:.5rem}.tooltip-pane[x-placement^=right] .tooltip-arrow[data-v-94f9be6e]{border-width:8px 8px 8px 0;border-left-color:transparent;border-top-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);left:-.5rem;margin-left:0;margin-right:0}.tooltip-pane[x-placement^=left][data-v-94f9be6e]{margin-right:.5rem}.tooltip-pane[x-placement^=left] .tooltip-arrow[data-v-94f9be6e]{border-width:8px 0 8px 8px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;top:calc(50% - 8px);right:-.5rem;margin-left:0;margin-right:0}
|
package/dist/vue/KvTooltip.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { toRefs as u, ref as v, computed as w, resolveComponent as p, openBlock as i, createBlock as _, withCtx as d, createVNode as h, createElementVNode as n, createElementBlock as k, renderSlot as s, createCommentVNode as y } from "vue";
|
|
2
|
-
import { darkTheme as l, mintTheme as a } from "@kiva/kv-tokens
|
|
2
|
+
import { darkTheme as l, mintTheme as a } from "@kiva/kv-tokens";
|
|
3
3
|
import x from "./KvPopper.js";
|
|
4
4
|
import T from "./KvThemeProvider.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import
|
|
7
|
-
const
|
|
6
|
+
import b from "../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const M = {
|
|
8
8
|
name: "KvTooltip",
|
|
9
9
|
components: {
|
|
10
10
|
KvPopper: x,
|
|
@@ -52,13 +52,13 @@ const b = {
|
|
|
52
52
|
class: "tw-text-primary tw-font-medium tw-mb-1.5"
|
|
53
53
|
}, K = { class: "tw-text-primary" };
|
|
54
54
|
function S(e, t, r, o, m, $) {
|
|
55
|
-
const
|
|
56
|
-
return i(), _(
|
|
55
|
+
const f = p("kv-popper"), c = p("kv-theme-provider");
|
|
56
|
+
return i(), _(c, {
|
|
57
57
|
theme: o.themeStyle,
|
|
58
58
|
class: "kv-tailwind"
|
|
59
59
|
}, {
|
|
60
60
|
default: d(() => [
|
|
61
|
-
h(
|
|
61
|
+
h(f, {
|
|
62
62
|
controller: r.controller,
|
|
63
63
|
"popper-modifiers": o.popperModifiers,
|
|
64
64
|
"popper-placement": "top",
|
|
@@ -85,7 +85,7 @@ function S(e, t, r, o, m, $) {
|
|
|
85
85
|
_: 3
|
|
86
86
|
}, 8, ["theme"]);
|
|
87
87
|
}
|
|
88
|
-
const O = /* @__PURE__ */ M
|
|
88
|
+
const O = /* @__PURE__ */ b(M, [["render", S], ["__scopeId", "data-v-94f9be6e"]]);
|
|
89
89
|
export {
|
|
90
90
|
O as default
|
|
91
91
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@babel/preset-env": "^7.24.8",
|
|
19
19
|
"@babel/preset-react": "^7.24.7",
|
|
20
20
|
"@babel/preset-typescript": "^7.24.7",
|
|
21
|
-
"@kiva/kv-tokens": "^3.
|
|
21
|
+
"@kiva/kv-tokens": "^3.1.0",
|
|
22
22
|
"@laynezh/vite-plugin-lib-assets": "^0.6.1",
|
|
23
23
|
"@mdi/js": "^7.4.47",
|
|
24
24
|
"@storybook/addon-a11y": "^8.4.7",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"embla-carousel-fade",
|
|
107
107
|
"popper.js"
|
|
108
108
|
],
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "d4f5c7ade15177229c8a37dfa7c4b34b99ca0d24"
|
|
110
110
|
}
|
|
File without changes
|
/package/dist/node_modules/embla-carousel/esm/{embla-carousel.esm.js → embla-carousel.esm.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|