Skip to content

Commit 7866536

Browse files
Merge pull request #22 from webdevnerdstuff/dev
v1.1.1
2 parents 4d377e7 + 2a75cd6 commit 7866536

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Change Log
22
All notable changes to the "vuetify-color-field" plugin will be documented in this file.
33

4+
## v1.1.1
5+
01-10-24
6+
[main] (@webdevnerdstuff)
7+
* Fix missing styles import in component
8+
49
## v1.1.0
510
01-05-24
611
[main] (@webdevnerdstuff)

dist/vuetify-color-field.cjs.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vuetify-color-field.es.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Fragment as be, reactive as bt, computed as v, watchEffect as _t, toRef
22
import { onClickOutside as ba } from "@vueuse/core";
33
/**
44
* @name @wdns/vuetify-color-field
5-
* @version 1.1.0
5+
* @version 1.1.1
66
* @description Vuetify Color Field is a Vuetify VTextField Color Picker Component
77
* @author WebDevNerdStuff & Bunnies... lots and lots of bunnies! <[email protected]> (https://webdevnerdstuff.com)
88
* @copyright Copyright 2024, WebDevNerdStuff
@@ -22,7 +22,7 @@ const Ee = (e) => {
2222
o = o === "fa" || o === "fasvg" ? "fa" : o;
2323
const a = ka[o];
2424
if (!a)
25-
throw new Error(`[VColorField]: No VColorField default ${n == null ? void 0 : n.defaultSet} icon set found.`);
25+
throw new Error(`[VColorField]: No default ${n == null ? void 0 : n.defaultSet} icon set found.`);
2626
const i = a[l];
2727
if (!i)
2828
throw new Error(`[VColorField]: No ${l} icon found.`);
@@ -1787,7 +1787,7 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"],
17871787
}
17881788
} });
17891789
}({}, g, $, k);
1790-
} }), qr = { key: 1 }, Xr = { key: 0, class: "text-error ms-1" }, Gr = ((e) => (ha("data-v-e2745fd7"), e = e(), ya(), e))(() => ol("div", { class: "position-elm-helper" }, null, -1)), Yr = xt({ inheritAttrs: !1, __name: "VColorField", props: { appendIcon: { default: void 0 }, appendInnerIcon: { default: void 0 }, cardFieldWidth: { type: Boolean, default: !1 }, cardOffsetX: { default: 0 }, cardOffsetY: { default: 5 }, cardPadding: { default: 4 }, cardProps: { default: () => ({}) }, clearable: { default: !1 }, color: { default: void 0 }, colorPickerProps: { default: () => ({}) }, density: { default: "default" }, hint: { default: "" }, iconHoverColor: { type: Boolean, default: void 0 }, iconSize: { default: "default" }, label: { default: void 0 }, messages: { default: void 0 }, name: { default: "color" }, open: { default: "bottom left" }, persistentHint: { type: Boolean, default: !1 }, persistentPlaceholder: { default: !1 }, placeholder: { default: void 0 }, prependIcon: { default: void 0 }, prependInnerIcon: { type: [String, null, Boolean], default: "default" }, readonly: { default: !1 }, readonlyInput: { type: [Boolean, null], default: !1 }, required: { type: Boolean, default: !1 }, theme: {}, canvasHeight: {}, dotSize: {}, hideCanvas: {}, hideInputs: {}, hideSliders: {}, mode: {}, modes: {}, showSwatches: {}, swatches: {}, swatchesMaxHeight: {}, variant: { default: "filled" }, pip: { type: Boolean, default: !1 }, pipBorder: { default: "3px solid rgb(var(--v-theme-on-surface))" }, pipIcon: { type: [String, null, Boolean], default: "pip" }, pipBorderRadius: { default: "50%" }, pipSize: {}, pipSlot: { default: "prepend-inner" } }, emits: ["update", "update:mode", "update:modelValue"], setup(e, { emit: t }) {
1790+
} }), qr = { key: 1 }, Xr = { key: 0, class: "text-error ms-1" }, Gr = ((e) => (ha("data-v-070e9f6c"), e = e(), ya(), e))(() => ol("div", { class: "position-elm-helper" }, null, -1)), Yr = xt({ inheritAttrs: !1, __name: "VColorField", props: { appendIcon: { default: void 0 }, appendInnerIcon: { default: void 0 }, cardFieldWidth: { type: Boolean, default: !1 }, cardOffsetX: { default: 0 }, cardOffsetY: { default: 5 }, cardPadding: { default: 4 }, cardProps: { default: () => ({}) }, clearable: { default: !1 }, color: { default: void 0 }, colorPickerProps: { default: () => ({}) }, density: { default: "default" }, hint: { default: "" }, iconHoverColor: { type: Boolean, default: void 0 }, iconSize: { default: "default" }, label: { default: void 0 }, messages: { default: void 0 }, name: { default: "color" }, open: { default: "bottom left" }, persistentHint: { type: Boolean, default: !1 }, persistentPlaceholder: { default: !1 }, placeholder: { default: void 0 }, prependIcon: { default: void 0 }, prependInnerIcon: { type: [String, null, Boolean], default: "default" }, readonly: { default: !1 }, readonlyInput: { type: [Boolean, null], default: !1 }, required: { type: Boolean, default: !1 }, theme: {}, canvasHeight: {}, dotSize: {}, hideCanvas: {}, hideInputs: {}, hideSliders: {}, mode: {}, modes: {}, showSwatches: {}, swatches: {}, swatchesMaxHeight: {}, variant: { default: "filled" }, pip: { type: Boolean, default: !1 }, pipBorder: { default: "3px solid rgb(var(--v-theme-on-surface))" }, pipIcon: { type: [String, null, Boolean], default: "pip" }, pipBorderRadius: { default: "50%" }, pipSize: {}, pipSlot: { default: "prepend-inner" } }, emits: ["update", "update:mode", "update:modelValue"], setup(e, { emit: t }) {
17911791
var E;
17921792
const n = ua(), l = ca(), o = t, a = e, i = pe(Xl, {});
17931793
let r = bt({ ...a, ...i });
@@ -1862,7 +1862,7 @@ const Hr = ["color", "file", "time", "date", "datetime-local", "week", "month"],
18621862
for (const [l, o] of t)
18631863
n[l] = o;
18641864
return n;
1865-
})(Yr, [["__scopeId", "data-v-e2745fd7"]]), Xl = Symbol();
1865+
})(Yr, [["__scopeId", "data-v-070e9f6c"]]), Xl = Symbol();
18661866
function Qr(e = {}) {
18671867
return { install: (t) => {
18681868
t.provide(Xl, e), t.component("VColorField", Kr);
@@ -1874,4 +1874,4 @@ export {
18741874
Kr as default,
18751875
Xl as globalOptions
18761876
};
1877-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.position-elm-helper[data-v-e2745fd7]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
1877+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".v-color-field--text-field-readonly .v-field *,.v-color-field--text-field-readonly-input .v-field *{cursor:pointer!important}.v-color-field--card{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas{width:100%}.v-color-field--card-full-width .v-color-picker{max-width:100%!important}.v-color-field--text-field-readonly .v-field *[data-v-070e9f6c],.v-color-field--text-field-readonly-input .v-field *[data-v-070e9f6c]{cursor:pointer!important}.v-color-field--card[data-v-070e9f6c]{display:none;position:absolute!important;z-index:999999}.v-color-field--card .v-color-picker[data-v-070e9f6c]{width:100%!important}.v-color-field--card .v-color-picker-canvas canvas[data-v-070e9f6c]{width:100%}.v-color-field--card-full-width .v-color-picker[data-v-070e9f6c]{max-width:100%!important}.position-elm-helper[data-v-070e9f6c]{background-color:red;border-radius:50%;display:none;height:10px;left:0;position:absolute;top:0;width:10px;z-index:99999999999}")),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wdns/vuetify-color-field",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Vuetify Color Field is a Vuetify VTextField Color Picker Component",
55
"private": false,
66
"publishConfig": {

src/plugin/VColorField.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,8 @@ function updateMode(mode: Mode) {
556556
</script>
557557

558558
<style lang="scss" scoped>
559+
@use './styles/main';
560+
559561
.position-elm-helper {
560562
background-color: #f00;
561563
border-radius: 50%;

0 commit comments

Comments
 (0)