@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 +8 -0
- package/dist/editor-x/editor.cjs +20 -8
- package/dist/editor-x/editor.cjs.map +1 -1
- package/dist/editor-x/editor.css +118 -105
- package/dist/editor-x/editor.css.map +1 -1
- package/dist/editor-x/editor.js +20 -8
- package/dist/editor-x/editor.js.map +1 -1
- package/dist/index.cjs +20 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +118 -105
- package/dist/index.css.map +1 -1
- package/dist/index.js +20 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/plugins/floating-text-format-plugin.tsx +716 -702
- package/src/themes/_variables.scss +26 -26
- package/src/themes/core/_typography.scss +26 -12
- package/src/themes/plugins/_color-picker.scss +103 -104
- package/src/themes/ui-components/_typography.scss +1 -1
package/dist/editor-x/editor.js
CHANGED
|
@@ -28756,10 +28756,16 @@ function FontColorModalContent({
|
|
|
28756
28756
|
/* @__PURE__ */ jsx(ColorPickerRoot, { inline: true, value: color, onValueChange: setColor, children: /* @__PURE__ */ jsxs(ColorPickerContent, { className: "editor-w-full editor-border-0 editor-shadow-none editor-p-0", children: [
|
|
28757
28757
|
/* @__PURE__ */ jsx(ColorPickerArea, { className: "editor-h-40 editor-w-full editor-rounded-md" }),
|
|
28758
28758
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, className: "editor-mt-3", children: [
|
|
28759
|
-
/* @__PURE__ */ jsxs(Flex, {
|
|
28760
|
-
/* @__PURE__ */ jsx(
|
|
28761
|
-
/* @__PURE__ */
|
|
28762
|
-
|
|
28759
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: 2, children: [
|
|
28760
|
+
/* @__PURE__ */ jsx(ColorPickerEyeDropper, {}),
|
|
28761
|
+
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, className: "editor-flex-1", children: [
|
|
28762
|
+
/* @__PURE__ */ jsx(ColorPickerHueSlider, { className: "editor-w-full" }),
|
|
28763
|
+
/* @__PURE__ */ jsx(ColorPickerAlphaSlider, { className: "editor-w-full" })
|
|
28764
|
+
] })
|
|
28765
|
+
] }),
|
|
28766
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: 2, children: [
|
|
28767
|
+
/* @__PURE__ */ jsx(ColorPickerFormatSelect, {}),
|
|
28768
|
+
/* @__PURE__ */ jsx(ColorPickerInput, {})
|
|
28763
28769
|
] }),
|
|
28764
28770
|
/* @__PURE__ */ jsx(ColorPickerPresets, {})
|
|
28765
28771
|
] })
|
|
@@ -28790,10 +28796,16 @@ function BgColorModalContent({
|
|
|
28790
28796
|
/* @__PURE__ */ jsx(ColorPickerRoot, { inline: true, value: color, onValueChange: setColor, children: /* @__PURE__ */ jsxs(ColorPickerContent, { className: "editor-w-full editor-border-0 editor-shadow-none editor-p-0", children: [
|
|
28791
28797
|
/* @__PURE__ */ jsx(ColorPickerArea, { className: "editor-h-40 editor-w-full editor-rounded-md" }),
|
|
28792
28798
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, className: "editor-mt-3", children: [
|
|
28793
|
-
/* @__PURE__ */ jsxs(Flex, {
|
|
28794
|
-
/* @__PURE__ */ jsx(
|
|
28795
|
-
/* @__PURE__ */
|
|
28796
|
-
|
|
28799
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: 2, children: [
|
|
28800
|
+
/* @__PURE__ */ jsx(ColorPickerEyeDropper, {}),
|
|
28801
|
+
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, className: "editor-flex-1", children: [
|
|
28802
|
+
/* @__PURE__ */ jsx(ColorPickerHueSlider, { className: "editor-w-full" }),
|
|
28803
|
+
/* @__PURE__ */ jsx(ColorPickerAlphaSlider, { className: "editor-w-full" })
|
|
28804
|
+
] })
|
|
28805
|
+
] }),
|
|
28806
|
+
/* @__PURE__ */ jsxs(Flex, { align: "center", gap: 2, children: [
|
|
28807
|
+
/* @__PURE__ */ jsx(ColorPickerFormatSelect, {}),
|
|
28808
|
+
/* @__PURE__ */ jsx(ColorPickerInput, {})
|
|
28797
28809
|
] }),
|
|
28798
28810
|
/* @__PURE__ */ jsx(ColorPickerPresets, {})
|
|
28799
28811
|
] })
|