@kiva/kv-components 5.1.2 → 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/vue/KvTooltip.css +1 -1
- package/dist/vue/KvTooltip.js +7 -7
- package/package.json +3 -3
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/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
|
}
|