Update addons

This commit is contained in:
Thomas Weber committed 2021-04-16 20:14:40 -05:00
1 parent 2acc170854
commit 8c3d8fa7c8
3 files changed
+3 -3

No files matched your search

@@ -72,7 +72,7 @@ export default async ({ addon, console, msg }) => {
const saColorPickerText = Object.assign(document.createElement("input"), {
className: `sa-color-picker-text sa-color-picker-paint-text ${inputClass}`,
type: "text",
pattern: "^#?([0-9a-fA-F]{3}){1,2}$",
pattern: "^#[0-9a-fA-F]{3,8}$",
placeholder: msg("hex"),
value: defaultColor || "",
});
+1 -1
View File
@@ -1,4 +1,4 @@
export const getHexRegex = () => /^#?([0-9a-fA-F]{3}){1,2}$/g;
export const getHexRegex = () => /^#[0-9a-fA-F]{3,8}$/;
export const normalizeHex = (input) => {
let hex = String(input);
+1 -1
View File
@@ -1 +1 @@
{"version":"1.12.1","commit":"448768b","languages":["ar","de","en","es","fr","id","it","ja","nl","pl","pt-br","ro","ru","sl","th","tr"]}
{"version":"1.12.1","commit":"0faef25","languages":["ar","de","en","es","fr","id","it","ja","nl","pl","pt-br","ro","ru","sl","th","tr"]}