@thangph2146/lexical-editor 0.0.9 → 0.0.11

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/README.md CHANGED
@@ -45,3 +45,11 @@ function MyEditor() {
45
45
  ## Giấy phép
46
46
 
47
47
  MIT
48
+
49
+ ## Publish
50
+
51
+ ```bash
52
+ pnpm build
53
+ npm whoami
54
+ npm publish --access public
55
+ ```
@@ -28782,10 +28782,16 @@ function FontColorModalContent({
28782
28782
  /* @__PURE__ */ jsxRuntime.jsx(ColorPickerRoot, { inline: true, value: color, onValueChange: setColor, children: /* @__PURE__ */ jsxRuntime.jsxs(ColorPickerContent, { className: "editor-w-full editor-border-0 editor-shadow-none editor-p-0", children: [
28783
28783
  /* @__PURE__ */ jsxRuntime.jsx(ColorPickerArea, { className: "editor-h-40 editor-w-full editor-rounded-md" }),
28784
28784
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { direction: "column", gap: 3, className: "editor-mt-3", children: [
28785
- /* @__PURE__ */ jsxRuntime.jsxs(Flex, { direction: "column", gap: 2, children: [
28786
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerHueSlider, { className: "editor-w-full" }),
28787
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerAlphaSlider, { className: "editor-w-full" }),
28788
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerInput, { className: "editor-w-full" })
28785
+ /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 2, children: [
28786
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerEyeDropper, {}),
28787
+ /* @__PURE__ */ jsxRuntime.jsxs(Flex, { direction: "column", gap: 2, className: "editor-flex-1", children: [
28788
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerHueSlider, { className: "editor-w-full" }),
28789
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerAlphaSlider, { className: "editor-w-full" })
28790
+ ] })
28791
+ ] }),
28792
+ /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 2, children: [
28793
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerFormatSelect, {}),
28794
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerInput, {})
28789
28795
  ] }),
28790
28796
  /* @__PURE__ */ jsxRuntime.jsx(ColorPickerPresets, {})
28791
28797
  ] })
@@ -28816,10 +28822,16 @@ function BgColorModalContent({
28816
28822
  /* @__PURE__ */ jsxRuntime.jsx(ColorPickerRoot, { inline: true, value: color, onValueChange: setColor, children: /* @__PURE__ */ jsxRuntime.jsxs(ColorPickerContent, { className: "editor-w-full editor-border-0 editor-shadow-none editor-p-0", children: [
28817
28823
  /* @__PURE__ */ jsxRuntime.jsx(ColorPickerArea, { className: "editor-h-40 editor-w-full editor-rounded-md" }),
28818
28824
  /* @__PURE__ */ jsxRuntime.jsxs(Flex, { direction: "column", gap: 3, className: "editor-mt-3", children: [
28819
- /* @__PURE__ */ jsxRuntime.jsxs(Flex, { direction: "column", gap: 2, children: [
28820
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerHueSlider, { className: "editor-w-full" }),
28821
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerAlphaSlider, { className: "editor-w-full" }),
28822
- /* @__PURE__ */ jsxRuntime.jsx(ColorPickerInput, { className: "editor-w-full" })
28825
+ /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 2, children: [
28826
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerEyeDropper, {}),
28827
+ /* @__PURE__ */ jsxRuntime.jsxs(Flex, { direction: "column", gap: 2, className: "editor-flex-1", children: [
28828
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerHueSlider, { className: "editor-w-full" }),
28829
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerAlphaSlider, { className: "editor-w-full" })
28830
+ ] })
28831
+ ] }),
28832
+ /* @__PURE__ */ jsxRuntime.jsxs(Flex, { align: "center", gap: 2, children: [
28833
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerFormatSelect, {}),
28834
+ /* @__PURE__ */ jsxRuntime.jsx(ColorPickerInput, {})
28823
28835
  ] }),
28824
28836
  /* @__PURE__ */ jsxRuntime.jsx(ColorPickerPresets, {})
28825
28837
  ] })