@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 CHANGED
@@ -3787,7 +3787,7 @@ function BackgroundColorDropdown({
3787
3787
  e.preventDefault();
3788
3788
  handleQuickApply();
3789
3789
  },
3790
- 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",
3790
+ 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",
3791
3791
  children: [
3792
3792
  /* @__PURE__ */ jsxRuntime.jsx(BgColorIcon, {}),
3793
3793
  /* @__PURE__ */ jsxRuntime.jsx(ColorBar, { color: normActive != null ? normActive : lastColor })
@@ -3825,7 +3825,7 @@ function BackgroundColorDropdown({
3825
3825
  {
3826
3826
  role: "dialog",
3827
3827
  "aria-label": "Background color",
3828
- 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]",
3828
+ 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]",
3829
3829
  children: [
3830
3830
  /* @__PURE__ */ jsxRuntime.jsxs(
3831
3831
  "button",
@@ -3835,7 +3835,7 @@ function BackgroundColorDropdown({
3835
3835
  e.preventDefault();
3836
3836
  applyColor(null);
3837
3837
  },
3838
- 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",
3838
+ 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",
3839
3839
  children: [
3840
3840
  /* @__PURE__ */ jsxRuntime.jsx(RemoveColorIcon, {}),
3841
3841
  "Remove background"
@@ -3878,7 +3878,7 @@ function BackgroundColorDropdown({
3878
3878
  /* @__PURE__ */ jsxRuntime.jsxs(
3879
3879
  "div",
3880
3880
  {
3881
- className: "flex flex-1 items-center border rounded overflow-hidden\n border-gray-300 \n focus-within:ring-2 focus-within:ring-blue-500",
3881
+ 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",
3882
3882
  children: [
3883
3883
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pl-2 text-xs text-gray-400 select-none", children: "#" }),
3884
3884
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3918,7 +3918,7 @@ function BackgroundColorDropdown({
3918
3918
  e.preventDefault();
3919
3919
  commitHexInput();
3920
3920
  },
3921
- className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\n hover:bg-blue-700 transition-colors",
3921
+ className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\r\n hover:bg-blue-700 transition-colors",
3922
3922
  children: "\u2713"
3923
3923
  }
3924
3924
  )
@@ -4127,7 +4127,7 @@ function TextColorDropdown({
4127
4127
  e.preventDefault();
4128
4128
  handleQuickApply();
4129
4129
  },
4130
- 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",
4130
+ 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",
4131
4131
  children: [
4132
4132
  /* @__PURE__ */ jsxRuntime.jsx(TextColorIcon, {}),
4133
4133
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -4171,7 +4171,7 @@ function TextColorDropdown({
4171
4171
  {
4172
4172
  role: "dialog",
4173
4173
  "aria-label": "Text color",
4174
- 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]",
4174
+ 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]",
4175
4175
  children: [
4176
4176
  /* @__PURE__ */ jsxRuntime.jsxs(
4177
4177
  "button",
@@ -4181,7 +4181,7 @@ function TextColorDropdown({
4181
4181
  e.preventDefault();
4182
4182
  applyColor(null);
4183
4183
  },
4184
- 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",
4184
+ 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",
4185
4185
  children: [
4186
4186
  /* @__PURE__ */ jsxRuntime.jsx(RemoveColorIcon2, {}),
4187
4187
  "Remove color"
@@ -4221,7 +4221,7 @@ function TextColorDropdown({
4221
4221
  style: { backgroundColor: hexInputToPreview2(hexInput) }
4222
4222
  }
4223
4223
  ),
4224
- /* @__PURE__ */ jsxRuntime.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: [
4224
+ /* @__PURE__ */ jsxRuntime.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: [
4225
4225
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "pl-2 text-xs text-gray-400 select-none", children: "#" }),
4226
4226
  /* @__PURE__ */ jsxRuntime.jsx(
4227
4227
  "input",
@@ -4258,7 +4258,7 @@ function TextColorDropdown({
4258
4258
  e.preventDefault();
4259
4259
  commitHexInput();
4260
4260
  },
4261
- className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\n hover:bg-blue-700 transition-colors",
4261
+ className: "shrink-0 px-2 py-1.5 text-xs bg-blue-600 text-white rounded\r\n hover:bg-blue-700 transition-colors",
4262
4262
  children: "\u2713"
4263
4263
  }
4264
4264
  )