@aurouscia/au-color-picker 0.0.5 → 0.0.6
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/dist/au-color-picker.es.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -173,7 +173,7 @@ const Ie = { class: "acpRing" }, Pe = { class: "acpParams" }, Se = {
|
|
|
173
173
|
setup(g, { expose: v, emit: x }) {
|
|
174
174
|
const c = g, H = Y(() => {
|
|
175
175
|
let l = {};
|
|
176
|
-
return l.boxShadow = "none", c.entryStyles && Object.assign(l, c.entryStyles), l.backgroundColor = r.value, c.pos === "right" ? l.right = "0px" : l.left = "0px",
|
|
176
|
+
return u.value || (l.boxShadow = "none"), c.entryStyles && Object.assign(l, c.entryStyles), u.value && (l.transition = "0s", Object.assign(l, c.entryActiveStyles)), l.backgroundColor = r.value, c.pos === "right" ? l.right = "0px" : l.left = "0px", l;
|
|
177
177
|
}), I = S(), u = S(!1);
|
|
178
178
|
function N() {
|
|
179
179
|
u.value = !1;
|
|
@@ -318,7 +318,7 @@ const Ie = { class: "acpRing" }, Pe = { class: "acpParams" }, Se = {
|
|
|
318
318
|
], 4)) : pe("", !0)
|
|
319
319
|
]));
|
|
320
320
|
}
|
|
321
|
-
}), Ae = /* @__PURE__ */ te(De, [["__scopeId", "data-v-
|
|
321
|
+
}), Ae = /* @__PURE__ */ te(De, [["__scopeId", "data-v-ba98e434"]]);
|
|
322
322
|
export {
|
|
323
323
|
Ae as AuColorPicker,
|
|
324
324
|
Ce as AuColorPickerRing
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.acpRingBody[data-v-7f97ab8e]{position:relative}canvas[data-v-7f97ab8e]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.acpEntry[data-v-
|
|
1
|
+
.acpRingBody[data-v-7f97ab8e]{position:relative}canvas[data-v-7f97ab8e]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.acpEntry[data-v-ba98e434]{width:30px;height:30px;cursor:pointer;border-radius:5px;box-shadow:0 0 5px #000;background-color:#fff}.acpPanel[data-v-ba98e434]{margin-top:3px;position:absolute}.acpPanel .acpParams[data-v-ba98e434]{display:flex;justify-content:space-between;align-items:center;padding:5px}.acpPanel .acpParams select[data-v-ba98e434],.acpPanel .acpParams input[data-v-ba98e434]{margin:0;padding:2px;display:block;font-size:16px;box-sizing:border-box;height:24px;line-height:24px}.acpPanel .acpParams input[data-v-ba98e434]{text-align:center}.acpPanel .acpParams .acpSingleInput input[data-v-ba98e434]{width:120px}.acpPanel .acpParams .acpTripleInputs[data-v-ba98e434]{display:flex;justify-content:space-around}.acpPanel .acpParams .acpTripleInputs input[data-v-ba98e434]{width:40px}.acpPanel .acpDoneBtn[data-v-ba98e434]{display:flex;justify-content:center;align-items:center;padding:8px}.acpPanel .acpDoneBtn button[data-v-ba98e434]{background:none;border:none;color:gray;font-size:16px;cursor:pointer}.acpPanel .acpDoneBtn button[data-v-ba98e434]:hover{color:#000}.acpPanel[data-v-ba98e434]{border-radius:5px;box-shadow:0 0 5px #000;background-color:#fff}.acp[data-v-ba98e434]{position:relative;width:fit-content}
|