@trafica/editor 1.0.22 → 1.0.24
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/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3785,7 +3785,7 @@ function BackgroundColorDropdown({
|
|
|
3785
3785
|
e.preventDefault();
|
|
3786
3786
|
handleQuickApply();
|
|
3787
3787
|
},
|
|
3788
|
-
className: "flex flex-col items-center justify-center gap-0.5 w-8 h-8 rounded-l\n text-gray-700 \n hover:bg-gray-100 \n focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500\n transition-colors",
|
|
3788
|
+
className: "flex flex-col items-center justify-center gap-0.5 w-8 h-8 rounded-l\r\n text-gray-700 \r\n hover:bg-gray-100 \r\n focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500\r\n transition-colors",
|
|
3789
3789
|
children: [
|
|
3790
3790
|
/* @__PURE__ */ jsx(BgColorIcon, {}),
|
|
3791
3791
|
/* @__PURE__ */ jsx(ColorBar, { color: normActive != null ? normActive : lastColor })
|
|
@@ -3823,7 +3823,7 @@ function BackgroundColorDropdown({
|
|
|
3823
3823
|
{
|
|
3824
3824
|
role: "dialog",
|
|
3825
3825
|
"aria-label": "Background color",
|
|
3826
|
-
className: "absolute top-full left-0 mt-1 z-50\n bg-white \n border border-gray-200 \n rounded-lg shadow-xl\n p-3 w-[208px]",
|
|
3826
|
+
className: "absolute top-full left-0 mt-1 z-50\r\n bg-white \r\n border border-gray-200 \r\n rounded-lg shadow-xl\r\n p-3 w-[208px]",
|
|
3827
3827
|
children: [
|
|
3828
3828
|
/* @__PURE__ */ jsxs(
|
|
3829
3829
|
"button",
|
|
@@ -3833,7 +3833,7 @@ function BackgroundColorDropdown({
|
|
|
3833
3833
|
e.preventDefault();
|
|
3834
3834
|
applyColor(null);
|
|
3835
3835
|
},
|
|
3836
|
-
className: "flex items-center gap-2 w-full px-2 py-1.5 mb-2.5 text-xs font-medium\n text-gray-600 \n rounded hover:bg-gray-100 \n transition-colors",
|
|
3836
|
+
className: "flex items-center gap-2 w-full px-2 py-1.5 mb-2.5 text-xs font-medium\r\n text-gray-600 \r\n rounded hover:bg-gray-100 \r\n transition-colors",
|
|
3837
3837
|
children: [
|
|
3838
3838
|
/* @__PURE__ */ jsx(RemoveColorIcon, {}),
|
|
3839
3839
|
"Remove background"
|
|
@@ -3876,7 +3876,7 @@ function BackgroundColorDropdown({
|
|
|
3876
3876
|
/* @__PURE__ */ jsxs(
|
|
3877
3877
|
"div",
|
|
3878
3878
|
{
|
|
3879
|
-
className: "flex flex-1 items-center border rounded overflow-hidden\n border-gray-300 \n focus-within:ring-2 focus-within:ring-blue-500",
|
|
3879
|
+
className: "flex flex-1 items-center border rounded overflow-hidden\r\n border-gray-300 \r\n focus-within:ring-2 focus-within:ring-blue-500",
|
|
3880
3880
|
children: [
|
|
3881
3881
|
/* @__PURE__ */ jsx("span", { className: "pl-2 text-xs text-gray-400 select-none", children: "#" }),
|
|
3882
3882
|
/* @__PURE__ */ jsx(
|
|
@@ -3916,7 +3916,7 @@ function BackgroundColorDropdown({
|
|
|
3916
3916
|
e.preventDefault();
|
|
3917
3917
|
commitHexInput();
|
|
3918
3918
|
},
|
|
3919
|
-
className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\n hover:bg-blue-700 transition-colors",
|
|
3919
|
+
className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\r\n hover:bg-blue-700 transition-colors",
|
|
3920
3920
|
children: "\u2713"
|
|
3921
3921
|
}
|
|
3922
3922
|
)
|
|
@@ -4125,7 +4125,7 @@ function TextColorDropdown({
|
|
|
4125
4125
|
e.preventDefault();
|
|
4126
4126
|
handleQuickApply();
|
|
4127
4127
|
},
|
|
4128
|
-
className: "flex flex-col items-center justify-center gap-0.5 w-8 h-8 rounded-l\n text-gray-700 \n hover:bg-gray-100 \n focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500\n transition-colors",
|
|
4128
|
+
className: "flex flex-col items-center justify-center gap-0.5 w-8 h-8 rounded-l\r\n text-gray-700 \r\n hover:bg-gray-100 \r\n focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-500\r\n transition-colors",
|
|
4129
4129
|
children: [
|
|
4130
4130
|
/* @__PURE__ */ jsx(TextColorIcon, {}),
|
|
4131
4131
|
/* @__PURE__ */ jsx(
|
|
@@ -4169,7 +4169,7 @@ function TextColorDropdown({
|
|
|
4169
4169
|
{
|
|
4170
4170
|
role: "dialog",
|
|
4171
4171
|
"aria-label": "Text color",
|
|
4172
|
-
className: "absolute top-full left-0 mt-1 z-50\n bg-white \n border border-gray-200 \n rounded-lg shadow-xl\n p-3 w-[208px]",
|
|
4172
|
+
className: "absolute top-full left-0 mt-1 z-50\r\n bg-white \r\n border border-gray-200 \r\n rounded-lg shadow-xl\r\n p-3 w-[208px]",
|
|
4173
4173
|
children: [
|
|
4174
4174
|
/* @__PURE__ */ jsxs(
|
|
4175
4175
|
"button",
|
|
@@ -4179,7 +4179,7 @@ function TextColorDropdown({
|
|
|
4179
4179
|
e.preventDefault();
|
|
4180
4180
|
applyColor(null);
|
|
4181
4181
|
},
|
|
4182
|
-
className: "flex items-center gap-2 w-full px-2 py-1.5 mb-2.5 text-xs font-medium\n text-gray-600 \n rounded hover:bg-gray-100 \n transition-colors",
|
|
4182
|
+
className: "flex items-center gap-2 w-full px-2 py-1.5 mb-2.5 text-xs font-medium\r\n text-gray-600 \r\n rounded hover:bg-gray-100 \r\n transition-colors",
|
|
4183
4183
|
children: [
|
|
4184
4184
|
/* @__PURE__ */ jsx(RemoveColorIcon2, {}),
|
|
4185
4185
|
"Remove color"
|
|
@@ -4219,7 +4219,7 @@ function TextColorDropdown({
|
|
|
4219
4219
|
style: { backgroundColor: hexInputToPreview2(hexInput) }
|
|
4220
4220
|
}
|
|
4221
4221
|
),
|
|
4222
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center border rounded overflow-hidden\n border-gray-300 \n focus-within:ring-2 focus-within:ring-blue-500", children: [
|
|
4222
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 items-center border rounded overflow-hidden\r\n border-gray-300 \r\n focus-within:ring-2 focus-within:ring-blue-500", children: [
|
|
4223
4223
|
/* @__PURE__ */ jsx("span", { className: "pl-2 text-xs text-gray-400 select-none", children: "#" }),
|
|
4224
4224
|
/* @__PURE__ */ jsx(
|
|
4225
4225
|
"input",
|
|
@@ -4256,7 +4256,7 @@ function TextColorDropdown({
|
|
|
4256
4256
|
e.preventDefault();
|
|
4257
4257
|
commitHexInput();
|
|
4258
4258
|
},
|
|
4259
|
-
className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\n hover:bg-blue-700 transition-colors",
|
|
4259
|
+
className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\r\n hover:bg-blue-700 transition-colors",
|
|
4260
4260
|
children: "\u2713"
|
|
4261
4261
|
}
|
|
4262
4262
|
)
|