@fc-components/monaco-editor 0.3.2 → 0.3.3
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/monaco-editor.cjs.development.js +4 -4
- package/dist/monaco-editor.cjs.development.js.map +1 -1
- package/dist/monaco-editor.cjs.production.min.js +1 -1
- package/dist/monaco-editor.cjs.production.min.js.map +1 -1
- package/dist/monaco-editor.esm.js +4 -4
- package/dist/monaco-editor.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/sql/index.tsx +5 -7
|
@@ -3700,7 +3700,7 @@ var themeMap$2 = {
|
|
|
3700
3700
|
};
|
|
3701
3701
|
var containerDisabledClassName$2 = /*#__PURE__*/css(_templateObject$2 || (_templateObject$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n .monaco-editor {\n user-select: none;\n pointer-events: none;\n }\n"])));
|
|
3702
3702
|
var containerReadOnlyClassName$2 = /*#__PURE__*/css(_templateObject2$2 || (_templateObject2$2 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n .monaco-editor .cursors-layer > .cursor {\n opacity: 0 !important;\n }\n"])));
|
|
3703
|
-
var formatBtnClassName = /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 4px;\n right: 4px;\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n color: inherit;\n opacity:
|
|
3703
|
+
var formatBtnClassName = /*#__PURE__*/css(_templateObject3 || (_templateObject3 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n top: 4px;\n right: 4px;\n z-index: 10;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 24px;\n height: 24px;\n padding: 0;\n border: none;\n background: transparent;\n border-radius: 4px;\n cursor: pointer;\n color: inherit;\n opacity: 1;\n transition: opacity 0.15s;\n\n &:hover {\n background: var(--format-btn-hover-bg, rgba(128, 128, 128, 0.15));\n }\n"])));
|
|
3704
3704
|
var SqlEditor = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
3705
3705
|
var id = v4();
|
|
3706
3706
|
var className = props.className,
|
|
@@ -3918,12 +3918,12 @@ var SqlEditor = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
3918
3918
|
}
|
|
3919
3919
|
}, React.createElement("svg", {
|
|
3920
3920
|
xmlns: 'http://www.w3.org/2000/svg',
|
|
3921
|
-
width: '
|
|
3922
|
-
height: '
|
|
3921
|
+
width: '12',
|
|
3922
|
+
height: '12',
|
|
3923
3923
|
viewBox: '0 0 24 24',
|
|
3924
3924
|
fill: 'none',
|
|
3925
3925
|
stroke: 'currentColor',
|
|
3926
|
-
strokeWidth: '
|
|
3926
|
+
strokeWidth: '1',
|
|
3927
3927
|
strokeLinecap: 'round',
|
|
3928
3928
|
strokeLinejoin: 'round'
|
|
3929
3929
|
}, React.createElement("path", {
|