wix-rich-content-toolbars-v3
Advanced tools
Comparing version 10.93.0 to 10.94.0
@@ -12,4 +12,4 @@ 'use strict'; | ||
var css_248z = "._3k2s1{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] ._3k2s1{background:transparent;cursor:pointer;padding:4px}._3k2s1 svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}.M-BQM{align-items:center;display:flex;height:32px;justify-content:center;width:32px}"; | ||
var styles = {"toggleButtonWrapper":"_3k2s1","toggleButton":"M-BQM"}; | ||
var css_248z = "._7BwSh{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] ._7BwSh{background:transparent;cursor:pointer;padding:4px}._7BwSh svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}.wmMp9{align-items:center;display:flex;height:32px;justify-content:center;width:32px}"; | ||
var styles = {"toggleButtonWrapper":"_7BwSh","toggleButton":"wmMp9"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -16,0 +16,0 @@ |
@@ -18,4 +18,4 @@ 'use strict'; | ||
var css_248z = ".glob_fontElementMap,.yjDr-{font-family:var(--ricos-font-family,unset)}._4UC1D{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] ._4UC1D{background:transparent;cursor:pointer;padding:4px}[dir] ._4UC1D:hover{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}[dir] ._4UC1D.IEIcb{border:1px solid rgba(var(--ricos-fallback-color-tuple,0,0,0),1);padding:3px}._4UC1D.wtad2{opacity:.4;pointer-events:none}[dir] ._4UC1D.wtad2{cursor:default}.rsg1Q{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px}.rsg1Q .V78Lm{box-sizing:border-box;font-family:inherit;font-size:14px;width:22px}[dir] .rsg1Q .V78Lm{background-color:transparent;border:none}"; | ||
var styles = {"fontElementMap":"yjDr-","fontSizeModalButtonWrapper":"_4UC1D","active":"IEIcb","disabled":"wtad2","fontSizeModalButton":"rsg1Q","fontSizeModalInputButton":"V78Lm"}; | ||
var css_248z = ".LLDXT,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.KvQP4{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] .KvQP4{background:transparent;cursor:pointer;padding:4px}[dir] .KvQP4:hover{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}[dir] .KvQP4.nDZXj{border:1px solid rgba(var(--ricos-fallback-color-tuple,0,0,0),1);padding:3px}.KvQP4.BB6ua{opacity:.4;pointer-events:none}[dir] .KvQP4.BB6ua{cursor:default}.RIMGB{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px}.RIMGB .rjuNu{box-sizing:border-box;font-family:inherit;font-size:14px;width:22px}[dir] .RIMGB .rjuNu{background-color:transparent;border:none}"; | ||
var styles = {"fontElementMap":"LLDXT","fontSizeModalButtonWrapper":"KvQP4","active":"nDZXj","disabled":"BB6ua","fontSizeModalButton":"RIMGB","fontSizeModalInputButton":"rjuNu"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -22,0 +22,0 @@ |
@@ -14,4 +14,4 @@ 'use strict'; | ||
var css_248z = ".OagN6,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._--vHV{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] ._--vHV{background:transparent;border:0;cursor:pointer;margin:0;padding:4px}[dir] ._--vHV:hover:not([disabled]){background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}._--vHV.Vavrf{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] ._--vHV.Vavrf{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-action-color-tuple,2,97,255)),.1)}._--vHV.Vavrf svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}._--vHV:disabled{opacity:.4}[dir] ._--vHV:disabled{cursor:default}[dir] ._--vHV.wwuQ2:not(.Vavrf):hover{background-color:unset}._--vHV:focus{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}._0c30V{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px;position:relative;width:max-content}._0c30V.bIJBR{height:32px;min-width:32px}"; | ||
var styles = {"fontElementMap":"OagN6","toggleButtonWrapper":"_--vHV","active":"Vavrf","mobileToggleButtonWrapper":"wwuQ2","toggleButton":"_0c30V","mobileToggleButton":"bIJBR"}; | ||
var css_248z = ".glob_fontElementMap,.rXgO6{font-family:var(--ricos-font-family,unset)}.TbunN{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] .TbunN{background:transparent;border:0;cursor:pointer;margin:0;padding:4px}[dir] .TbunN:hover:not([disabled]){background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}.TbunN.jgFdA{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] .TbunN.jgFdA{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-action-color-tuple,2,97,255)),.1)}.TbunN.jgFdA svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}.TbunN:disabled{opacity:.4}[dir] .TbunN:disabled{cursor:default}[dir] .TbunN.tI4z-:not(.jgFdA):hover{background-color:unset}.TbunN:focus{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.xfb54{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px;position:relative;width:max-content}.xfb54._5wBRh{height:32px;min-width:32px}"; | ||
var styles = {"fontElementMap":"rXgO6","toggleButtonWrapper":"TbunN","active":"jgFdA","mobileToggleButtonWrapper":"tI4z-","toggleButton":"xfb54","mobileToggleButton":"_5wBRh"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -18,0 +18,0 @@ |
@@ -59,4 +59,4 @@ 'use strict'; | ||
var css_248z = ".Bojn5{box-sizing:border-box}.Bojn5 *,.Bojn5 :after,.Bojn5 :before{box-sizing:inherit}.Bojn5 input{box-sizing:border-box}"; | ||
var styles = {"wrapper":"Bojn5"}; | ||
var css_248z = "._2l56h{box-sizing:border-box}._2l56h *,._2l56h :after,._2l56h :before{box-sizing:inherit}._2l56h input{box-sizing:border-box}"; | ||
var styles = {"wrapper":"_2l56h"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -63,0 +63,0 @@ |
@@ -17,4 +17,4 @@ 'use strict'; | ||
var css_248z = ".glob_fontElementMap,.y9zZZ{font-family:var(--ricos-font-family,unset)}.J8-9R{align-items:center;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);width:min-content;z-index:10}[dir] .J8-9R{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:none}.doT6o{height:47px}[dir] .doT6o{padding:8px 12px}.uP9Q8{height:40px}[dir] .uP9Q8{padding:0 4px}.hwqEk{grid-column-gap:4px;align-items:center;display:flex;width:max-content}"; | ||
var styles = {"fontElementMap":"y9zZZ","moreItems":"J8-9R","moreItemsStatic":"doT6o","moreItemsFloating":"uP9Q8","overflownItems":"hwqEk"}; | ||
var css_248z = ".glob_fontElementMap,.j0gVt{font-family:var(--ricos-font-family,unset)}._--hw2{align-items:center;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);width:min-content;z-index:10}[dir] ._--hw2{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:none}.jTUf3{height:47px}[dir] .jTUf3{padding:8px 12px}.eLFNH{height:40px}[dir] .eLFNH{padding:0 4px}.s8PcV{grid-column-gap:4px;align-items:center;display:flex;width:max-content}"; | ||
var styles = {"fontElementMap":"j0gVt","moreItems":"_--hw2","moreItemsStatic":"jTUf3","moreItemsFloating":"eLFNH","overflownItems":"s8PcV"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -21,0 +21,0 @@ |
@@ -39,4 +39,4 @@ 'use strict'; | ||
var css_248z = ".aF148{position:relative}.aF148,.uP5ZG{width:max-content}.uP5ZG{grid-column-gap:4px;align-items:center;display:flex}.Imdeu{display:none}"; | ||
var styles = {"toolbarVisible":"aF148","visibleItems":"uP5ZG","hiddenToolbar":"Imdeu"}; | ||
var css_248z = ".M3czp{position:relative}.M3czp,.QznrA{width:max-content}.QznrA{grid-column-gap:4px;align-items:center;display:flex}._1Uvef{display:none}"; | ||
var styles = {"toolbarVisible":"M3czp","visibleItems":"QznrA","hiddenToolbar":"_1Uvef"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -43,0 +43,0 @@ |
@@ -14,4 +14,4 @@ 'use strict'; | ||
var css_248z = ".b23P6,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.GU2wt{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500}[dir] .GU2wt{border-radius:var(--ricos-settings-whitebox-border-radius,2px)}.W7L3b{align-items:center;display:flex;height:40px;position:relative}[dir] .W7L3b{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07));padding:0 4px}._30YUz{height:47px;position:static}[dir] ._30YUz{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}"; | ||
var styles = {"fontElementMap":"b23P6","toolbar":"GU2wt","toolbarFloating":"W7L3b","toolbarStatic":"_30YUz"}; | ||
var css_248z = ".GvwPE,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._4OusK{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500}[dir] ._4OusK{border-radius:var(--ricos-settings-whitebox-border-radius,2px)}.P-4gd{align-items:center;display:flex;height:40px;position:relative}[dir] .P-4gd{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07));padding:0 4px}.w3z1-{height:47px;position:static}[dir] .w3z1-{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}"; | ||
var styles = {"fontElementMap":"GvwPE","toolbar":"_4OusK","toolbarFloating":"P-4gd","toolbarStatic":"w3z1-"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -18,0 +18,0 @@ |
@@ -13,4 +13,4 @@ 'use strict'; | ||
var css_248z = ".jhFpL:after{content:\"\";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[dir=ltr] .jhFpL:after{background:linear-gradient(90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);left:var(--border-left)}[dir=rtl] .jhFpL:after{background:linear-gradient(-90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);right:var(--border-left)}"; | ||
var classes = {"mobileToolbarOverlay":"jhFpL"}; | ||
var css_248z = ".BOpgu:after{content:\"\";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[dir=ltr] .BOpgu:after{background:linear-gradient(90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);left:var(--border-left)}[dir=rtl] .BOpgu:after{background:linear-gradient(-90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);right:var(--border-left)}"; | ||
var classes = {"mobileToolbarOverlay":"BOpgu"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -17,0 +17,0 @@ |
@@ -17,4 +17,4 @@ 'use strict'; | ||
var css_248z = ".g79rs,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.jzX0m{position:relative}.OzlhC{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}.PF6OX{--mobile-toolbar-height:40px;--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}.VzzC7{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.y7fRd{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;position:relative;width:100%}[dir] .y7fRd{background-color:#fff;border:none;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);padding:0 4px}.y7fRd::-webkit-scrollbar{display:none}[dir] .Uu-vG{border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.xIkMS{position:static}[dir] .xIkMS{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}.-XlVx{grid-column-gap:4px;align-items:center;display:flex;height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));width:max-content}"; | ||
var styles = {"fontElementMap":"g79rs","container":"jzX0m","regularContainer":"OzlhC","floatingContainer":"PF6OX","staticContainer":"VzzC7","mobileToolbar":"y7fRd","toolbarFloating":"Uu-vG","toolbarStatic":"xIkMS","buttons":"-XlVx"}; | ||
var css_248z = ".W0YMG,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.icv5y{position:relative}.p3iiZ{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}.KuH6H{--mobile-toolbar-height:40px;--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}._6ZIPY{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.ynOSN{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;position:relative;width:100%}[dir] .ynOSN{background-color:#fff;border:none;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);padding:0 4px}.ynOSN::-webkit-scrollbar{display:none}[dir] .n6Hhu{border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.Vdv7f{position:static}[dir] .Vdv7f{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}.d7bst{grid-column-gap:4px;align-items:center;display:flex;height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));width:max-content}"; | ||
var styles = {"fontElementMap":"W0YMG","container":"icv5y","regularContainer":"p3iiZ","floatingContainer":"KuH6H","staticContainer":"_6ZIPY","mobileToolbar":"ynOSN","toolbarFloating":"n6Hhu","toolbarStatic":"Vdv7f","buttons":"d7bst"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -21,0 +21,0 @@ |
@@ -41,3 +41,3 @@ 'use strict'; | ||
require('./modals/FloatingPluginMenu/dataHooks.js'); | ||
require('./floating-add-plugin-menu.rtlignore-ffe47efe.js'); | ||
require('./floating-add-plugin-menu.rtlignore-ffa914cb.js'); | ||
require('classnames'); | ||
@@ -44,0 +44,0 @@ require('./modals/FloatingPluginMenu/EditorSelectionToPosition.js'); |
@@ -7,3 +7,3 @@ 'use strict'; | ||
var modals_FloatingPluginMenu_dataHooks = require('./dataHooks.js'); | ||
var floatingAddPluginMenu_rtlignore = require('../../floating-add-plugin-menu.rtlignore-ffe47efe.js'); | ||
var floatingAddPluginMenu_rtlignore = require('../../floating-add-plugin-menu.rtlignore-ffa914cb.js'); | ||
require('wix-rich-content-editor-common'); | ||
@@ -10,0 +10,0 @@ require('../../components/buttons/ToggleButton/ToggleButton.js'); |
@@ -9,3 +9,3 @@ 'use strict'; | ||
var modals_FloatingPluginMenu_PlusButton = require('./PlusButton.js'); | ||
var floatingAddPluginMenu_rtlignore = require('../../floating-add-plugin-menu.rtlignore-ffe47efe.js'); | ||
var floatingAddPluginMenu_rtlignore = require('../../floating-add-plugin-menu.rtlignore-ffa914cb.js'); | ||
require('@tiptap/core'); | ||
@@ -12,0 +12,0 @@ require('./dataHooks.js'); |
@@ -5,4 +5,5 @@ 'use strict'; | ||
var cx = require('classnames'); | ||
var ricosContext = require('ricos-context'); | ||
var modals_FloatingPluginMenu_dataHooks = require('./dataHooks.js'); | ||
var floatingAddPluginMenu_rtlignore = require('../../floating-add-plugin-menu.rtlignore-ffe47efe.js'); | ||
var floatingAddPluginMenu_rtlignore = require('../../floating-add-plugin-menu.rtlignore-ffa914cb.js'); | ||
require('../../style-inject.es-e29c91b9.js'); | ||
@@ -38,18 +39,21 @@ | ||
const PlusButton = t__namespace.default.forwardRef( | ||
({ position, onClick, rotate, direction }, ref) => /* @__PURE__ */ t__namespace.default.createElement( | ||
"button", | ||
{ | ||
"data-hook": modals_FloatingPluginMenu_dataHooks.ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx__default.default( | ||
floatingAddPluginMenu_rtlignore.styles.floatingAddPluginMenu_plus_button_position, | ||
floatingAddPluginMenu_rtlignore.styles.floatingAddPluginMenu_plus_button, | ||
floatingAddPluginMenu_rtlignore.styles[direction] | ||
), | ||
style: position, | ||
type: "button" | ||
}, | ||
rotate ? /* @__PURE__ */ t__namespace.default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__namespace.default.createElement(r, { fill: "currentColor" }) | ||
) | ||
({ position, onClick, rotate, direction }, ref) => { | ||
const { tabIndex } = t.useContext(ricosContext.RicosContext); | ||
return /* @__PURE__ */ t__namespace.default.createElement( | ||
"button", | ||
{ | ||
"data-hook": modals_FloatingPluginMenu_dataHooks.ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx__default.default( | ||
floatingAddPluginMenu_rtlignore.styles.floatingAddPluginMenu_plus_button_position, | ||
floatingAddPluginMenu_rtlignore.styles.floatingAddPluginMenu_plus_button, | ||
floatingAddPluginMenu_rtlignore.styles[direction] | ||
), | ||
style: position, | ||
tabIndex | ||
}, | ||
rotate ? /* @__PURE__ */ t__namespace.default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__namespace.default.createElement(r, { fill: "currentColor" }) | ||
); | ||
} | ||
); | ||
@@ -56,0 +60,0 @@ |
@@ -63,4 +63,4 @@ 'use strict'; | ||
var css_248z = ".IelaE{min-height:28px;padding-inline-end:var(--ricos-custom-footer-toolbar-padding-inline-end,0);padding-inline-start:var(--ricos-custom-footer-toolbar-padding-inline-start,0);width:100%;z-index:2}[dir] .IelaE{margin-top:var(--ricos-custom-footer-toolbar-margin-top,60px)}.IelaE svg{fill:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color));color:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color))}"; | ||
var styles = {"footerToolbar":"IelaE"}; | ||
var css_248z = ".-R7is{min-height:28px;padding-inline-end:var(--ricos-custom-footer-toolbar-padding-inline-end,0);padding-inline-start:var(--ricos-custom-footer-toolbar-padding-inline-start,0);width:100%;z-index:2}[dir] .-R7is{margin-top:var(--ricos-custom-footer-toolbar-margin-top,60px)}.-R7is svg{fill:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color));color:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color))}"; | ||
var styles = {"footerToolbar":"-R7is"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -67,0 +67,0 @@ |
@@ -18,4 +18,4 @@ 'use strict'; | ||
var css_248z = ".AHPJQ{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] .AHPJQ{background:transparent;cursor:pointer;padding:4px}.AHPJQ svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}"; | ||
var styles = {"formattingOrientationButton":"AHPJQ"}; | ||
var css_248z = ".qoxWm{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] .qoxWm{background:transparent;cursor:pointer;padding:4px}.qoxWm svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}"; | ||
var styles = {"formattingOrientationButton":"qoxWm"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -22,0 +22,0 @@ |
@@ -64,4 +64,4 @@ 'use strict'; | ||
var css_248z = ".-XA2o{align-items:center;display:flex;width:max-content}[dir] .-XA2o{background-color:#fff;border:1px solid #ededed;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.1),0 0 4px 0 rgba(0,0,0,.1))}"; | ||
var styles = {"floatingToolbar":"-XA2o"}; | ||
var css_248z = ".CDenb{align-items:center;display:flex;width:max-content}[dir] .CDenb{background-color:#fff;border:1px solid #ededed;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.1),0 0 4px 0 rgba(0,0,0,.1))}"; | ||
var styles = {"floatingToolbar":"CDenb"}; | ||
styleInject_es.styleInject(css_248z); | ||
@@ -68,0 +68,0 @@ |
@@ -48,3 +48,3 @@ 'use strict'; | ||
var styles$3 = {"fontElementMap":"OagN6","toggleButtonWrapper":"_--vHV","active":"Vavrf","mobileToggleButtonWrapper":"wwuQ2","toggleButton":"_0c30V","mobileToggleButton":"bIJBR"}; | ||
var styles$3 = {"fontElementMap":"rXgO6","toggleButtonWrapper":"TbunN","active":"jgFdA","mobileToggleButtonWrapper":"tI4z-","toggleButton":"xfb54","mobileToggleButton":"_5wBRh"}; | ||
@@ -100,3 +100,3 @@ const ToolbarButton = t__namespace.default.forwardRef( | ||
var styles$2 = {"toggleButtonWrapper":"_3k2s1","toggleButton":"M-BQM"}; | ||
var styles$2 = {"toggleButtonWrapper":"_7BwSh","toggleButton":"wmMp9"}; | ||
@@ -227,3 +227,3 @@ const AddPluginMenuMobileButton = ({ toolbarItem }) => { | ||
var styles$1 = {"fontElementMap":"yjDr-","fontSizeModalButtonWrapper":"_4UC1D","active":"IEIcb","disabled":"wtad2","fontSizeModalButton":"rsg1Q","fontSizeModalInputButton":"V78Lm"}; | ||
var styles$1 = {"fontElementMap":"LLDXT","fontSizeModalButtonWrapper":"KvQP4","active":"nDZXj","disabled":"BB6ua","fontSizeModalButton":"RIMGB","fontSizeModalInputButton":"rjuNu"}; | ||
@@ -656,3 +656,3 @@ const MAX_FONT_SIZE = 900; | ||
var styles = {"floatingAddPluginMenu_wrapper":"v2Zfb","addPluginMenu_horizontal_wrapper":"fJUuO","floatingAddPluginMenu_plus_button_position":"_9KzRU","floatingAddPluginMenu_plus_button":"uQdO4","rtl":"-SCHZ","ltr":"SFPEX"}; | ||
var styles = {"floatingAddPluginMenu_wrapper":"WD9BM","addPluginMenu_horizontal_wrapper":"kBHRc","floatingAddPluginMenu_plus_button_position":"ZG92y","floatingAddPluginMenu_plus_button":"SMl1F","rtl":"-mHWL","ltr":"bQcVH"}; | ||
@@ -664,18 +664,21 @@ const l$1=({size:t,...d})=>t__namespace.createElement("svg",{viewBox:"0 0 18 18",fill:"currentColor",width:t||"18",height:t||"18",...d},t__namespace.createElement("path",{d:"M10 9 10 5 9 5 9 9 5 9 5 10 9 10 9 14 10 14 10 10 14 10 14 9z"}));l$1.displayName="AddSmall";var r=l$1; | ||
t__namespace.default.forwardRef( | ||
({ position, onClick, rotate, direction }, ref) => /* @__PURE__ */ t__namespace.default.createElement( | ||
"button", | ||
{ | ||
"data-hook": ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx__default.default( | ||
styles.floatingAddPluginMenu_plus_button_position, | ||
styles.floatingAddPluginMenu_plus_button, | ||
styles[direction] | ||
), | ||
style: position, | ||
type: "button" | ||
}, | ||
rotate ? /* @__PURE__ */ t__namespace.default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__namespace.default.createElement(r, { fill: "currentColor" }) | ||
) | ||
({ position, onClick, rotate, direction }, ref) => { | ||
const { tabIndex } = t.useContext(ricosContext.RicosContext); | ||
return /* @__PURE__ */ t__namespace.default.createElement( | ||
"button", | ||
{ | ||
"data-hook": ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx__default.default( | ||
styles.floatingAddPluginMenu_plus_button_position, | ||
styles.floatingAddPluginMenu_plus_button, | ||
styles[direction] | ||
), | ||
style: position, | ||
tabIndex | ||
}, | ||
rotate ? /* @__PURE__ */ t__namespace.default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__namespace.default.createElement(r, { fill: "currentColor" }) | ||
); | ||
} | ||
); | ||
@@ -682,0 +685,0 @@ |
@@ -6,4 +6,4 @@ import t__default, { useContext } from 'react'; | ||
var css_248z = "._3k2s1{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] ._3k2s1{background:transparent;cursor:pointer;padding:4px}._3k2s1 svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}.M-BQM{align-items:center;display:flex;height:32px;justify-content:center;width:32px}"; | ||
var styles = {"toggleButtonWrapper":"_3k2s1","toggleButton":"M-BQM"}; | ||
var css_248z = "._7BwSh{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] ._7BwSh{background:transparent;cursor:pointer;padding:4px}._7BwSh svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}.wmMp9{align-items:center;display:flex;height:32px;justify-content:center;width:32px}"; | ||
var styles = {"toggleButtonWrapper":"_7BwSh","toggleButton":"wmMp9"}; | ||
styleInject(css_248z); | ||
@@ -10,0 +10,0 @@ |
@@ -10,4 +10,4 @@ import cx from 'classnames'; | ||
var css_248z = ".glob_fontElementMap,.yjDr-{font-family:var(--ricos-font-family,unset)}._4UC1D{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] ._4UC1D{background:transparent;cursor:pointer;padding:4px}[dir] ._4UC1D:hover{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}[dir] ._4UC1D.IEIcb{border:1px solid rgba(var(--ricos-fallback-color-tuple,0,0,0),1);padding:3px}._4UC1D.wtad2{opacity:.4;pointer-events:none}[dir] ._4UC1D.wtad2{cursor:default}.rsg1Q{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px}.rsg1Q .V78Lm{box-sizing:border-box;font-family:inherit;font-size:14px;width:22px}[dir] .rsg1Q .V78Lm{background-color:transparent;border:none}"; | ||
var styles = {"fontElementMap":"yjDr-","fontSizeModalButtonWrapper":"_4UC1D","active":"IEIcb","disabled":"wtad2","fontSizeModalButton":"rsg1Q","fontSizeModalInputButton":"V78Lm"}; | ||
var css_248z = ".LLDXT,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.KvQP4{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] .KvQP4{background:transparent;cursor:pointer;padding:4px}[dir] .KvQP4:hover{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}[dir] .KvQP4.nDZXj{border:1px solid rgba(var(--ricos-fallback-color-tuple,0,0,0),1);padding:3px}.KvQP4.BB6ua{opacity:.4;pointer-events:none}[dir] .KvQP4.BB6ua{cursor:default}.RIMGB{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px}.RIMGB .rjuNu{box-sizing:border-box;font-family:inherit;font-size:14px;width:22px}[dir] .RIMGB .rjuNu{background-color:transparent;border:none}"; | ||
var styles = {"fontElementMap":"LLDXT","fontSizeModalButtonWrapper":"KvQP4","active":"nDZXj","disabled":"BB6ua","fontSizeModalButton":"RIMGB","fontSizeModalInputButton":"rjuNu"}; | ||
styleInject(css_248z); | ||
@@ -14,0 +14,0 @@ |
@@ -6,4 +6,4 @@ import cx from 'classnames'; | ||
var css_248z = ".OagN6,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._--vHV{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] ._--vHV{background:transparent;border:0;cursor:pointer;margin:0;padding:4px}[dir] ._--vHV:hover:not([disabled]){background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}._--vHV.Vavrf{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] ._--vHV.Vavrf{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-action-color-tuple,2,97,255)),.1)}._--vHV.Vavrf svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}._--vHV:disabled{opacity:.4}[dir] ._--vHV:disabled{cursor:default}[dir] ._--vHV.wwuQ2:not(.Vavrf):hover{background-color:unset}._--vHV:focus{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}._0c30V{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px;position:relative;width:max-content}._0c30V.bIJBR{height:32px;min-width:32px}"; | ||
var styles = {"fontElementMap":"OagN6","toggleButtonWrapper":"_--vHV","active":"Vavrf","mobileToggleButtonWrapper":"wwuQ2","toggleButton":"_0c30V","mobileToggleButton":"bIJBR"}; | ||
var css_248z = ".glob_fontElementMap,.rXgO6{font-family:var(--ricos-font-family,unset)}.TbunN{color:var(--ricos-settings-text-color,#000);font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px}[dir] .TbunN{background:transparent;border:0;cursor:pointer;margin:0;padding:4px}[dir] .TbunN:hover:not([disabled]){background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-fallback-color-tuple,0,0,0)),.06)}.TbunN.jgFdA{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] .TbunN.jgFdA{background-color:rgba(var(--ricos-settings-action-color-tuple,var(--ricos-action-color-tuple,2,97,255)),.1)}.TbunN.jgFdA svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}.TbunN:disabled{opacity:.4}[dir] .TbunN:disabled{cursor:default}[dir] .TbunN.tI4z-:not(.jgFdA):hover{background-color:unset}.TbunN:focus{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.xfb54{align-items:center;display:flex;gap:8px;height:20px;justify-content:center;min-width:20px;position:relative;width:max-content}.xfb54._5wBRh{height:32px;min-width:32px}"; | ||
var styles = {"fontElementMap":"rXgO6","toggleButtonWrapper":"TbunN","active":"jgFdA","mobileToggleButtonWrapper":"tI4z-","toggleButton":"xfb54","mobileToggleButton":"_5wBRh"}; | ||
styleInject(css_248z); | ||
@@ -10,0 +10,0 @@ |
@@ -53,4 +53,4 @@ import t__default, { useContext, useState, useEffect, useMemo } from 'react'; | ||
var css_248z = ".Bojn5{box-sizing:border-box}.Bojn5 *,.Bojn5 :after,.Bojn5 :before{box-sizing:inherit}.Bojn5 input{box-sizing:border-box}"; | ||
var styles = {"wrapper":"Bojn5"}; | ||
var css_248z = "._2l56h{box-sizing:border-box}._2l56h *,._2l56h :after,._2l56h :before{box-sizing:inherit}._2l56h input{box-sizing:border-box}"; | ||
var styles = {"wrapper":"_2l56h"}; | ||
styleInject(css_248z); | ||
@@ -57,0 +57,0 @@ |
@@ -10,4 +10,4 @@ import cx from 'classnames'; | ||
var css_248z = ".glob_fontElementMap,.y9zZZ{font-family:var(--ricos-font-family,unset)}.J8-9R{align-items:center;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);width:min-content;z-index:10}[dir] .J8-9R{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:none}.doT6o{height:47px}[dir] .doT6o{padding:8px 12px}.uP9Q8{height:40px}[dir] .uP9Q8{padding:0 4px}.hwqEk{grid-column-gap:4px;align-items:center;display:flex;width:max-content}"; | ||
var styles = {"fontElementMap":"y9zZZ","moreItems":"J8-9R","moreItemsStatic":"doT6o","moreItemsFloating":"uP9Q8","overflownItems":"hwqEk"}; | ||
var css_248z = ".glob_fontElementMap,.j0gVt{font-family:var(--ricos-font-family,unset)}._--hw2{align-items:center;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);width:min-content;z-index:10}[dir] ._--hw2{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:none}.jTUf3{height:47px}[dir] .jTUf3{padding:8px 12px}.eLFNH{height:40px}[dir] .eLFNH{padding:0 4px}.s8PcV{grid-column-gap:4px;align-items:center;display:flex;width:max-content}"; | ||
var styles = {"fontElementMap":"j0gVt","moreItems":"_--hw2","moreItemsStatic":"jTUf3","moreItemsFloating":"eLFNH","overflownItems":"s8PcV"}; | ||
styleInject(css_248z); | ||
@@ -14,0 +14,0 @@ |
@@ -33,4 +33,4 @@ import t__default, { useState } from 'react'; | ||
var css_248z = ".aF148{position:relative}.aF148,.uP5ZG{width:max-content}.uP5ZG{grid-column-gap:4px;align-items:center;display:flex}.Imdeu{display:none}"; | ||
var styles = {"toolbarVisible":"aF148","visibleItems":"uP5ZG","hiddenToolbar":"Imdeu"}; | ||
var css_248z = ".M3czp{position:relative}.M3czp,.QznrA{width:max-content}.QznrA{grid-column-gap:4px;align-items:center;display:flex}._1Uvef{display:none}"; | ||
var styles = {"toolbarVisible":"M3czp","visibleItems":"QznrA","hiddenToolbar":"_1Uvef"}; | ||
styleInject(css_248z); | ||
@@ -37,0 +37,0 @@ |
@@ -7,4 +7,4 @@ import cx from 'classnames'; | ||
var css_248z = ".b23P6,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.GU2wt{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500}[dir] .GU2wt{border-radius:var(--ricos-settings-whitebox-border-radius,2px)}.W7L3b{align-items:center;display:flex;height:40px;position:relative}[dir] .W7L3b{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07));padding:0 4px}._30YUz{height:47px;position:static}[dir] ._30YUz{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}"; | ||
var styles = {"fontElementMap":"b23P6","toolbar":"GU2wt","toolbarFloating":"W7L3b","toolbarStatic":"_30YUz"}; | ||
var css_248z = ".GvwPE,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._4OusK{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500}[dir] ._4OusK{border-radius:var(--ricos-settings-whitebox-border-radius,2px)}.P-4gd{align-items:center;display:flex;height:40px;position:relative}[dir] .P-4gd{background-color:#fff;border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07));padding:0 4px}.w3z1-{height:47px;position:static}[dir] .w3z1-{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}"; | ||
var styles = {"fontElementMap":"GvwPE","toolbar":"_4OusK","toolbarFloating":"P-4gd","toolbarStatic":"w3z1-"}; | ||
styleInject(css_248z); | ||
@@ -11,0 +11,0 @@ |
@@ -7,4 +7,4 @@ import t__default, { useContext, useRef, useState, useMemo, useEffect } from 'react'; | ||
var css_248z = ".jhFpL:after{content:\"\";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[dir=ltr] .jhFpL:after{background:linear-gradient(90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);left:var(--border-left)}[dir=rtl] .jhFpL:after{background:linear-gradient(-90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);right:var(--border-left)}"; | ||
var classes = {"mobileToolbarOverlay":"jhFpL"}; | ||
var css_248z = ".BOpgu:after{content:\"\";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[dir=ltr] .BOpgu:after{background:linear-gradient(90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);left:var(--border-left)}[dir=rtl] .BOpgu:after{background:linear-gradient(-90deg,#fff 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),#fff 100%);right:var(--border-left)}"; | ||
var classes = {"mobileToolbarOverlay":"BOpgu"}; | ||
styleInject(css_248z); | ||
@@ -11,0 +11,0 @@ |
@@ -10,4 +10,4 @@ import cx from 'classnames'; | ||
var css_248z = ".g79rs,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.jzX0m{position:relative}.OzlhC{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}.PF6OX{--mobile-toolbar-height:40px;--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}.VzzC7{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.y7fRd{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;position:relative;width:100%}[dir] .y7fRd{background-color:#fff;border:none;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);padding:0 4px}.y7fRd::-webkit-scrollbar{display:none}[dir] .Uu-vG{border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.xIkMS{position:static}[dir] .xIkMS{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}.-XlVx{grid-column-gap:4px;align-items:center;display:flex;height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));width:max-content}"; | ||
var styles = {"fontElementMap":"g79rs","container":"jzX0m","regularContainer":"OzlhC","floatingContainer":"PF6OX","staticContainer":"VzzC7","mobileToolbar":"y7fRd","toolbarFloating":"Uu-vG","toolbarStatic":"xIkMS","buttons":"-XlVx"}; | ||
var css_248z = ".W0YMG,.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.icv5y{position:relative}.p3iiZ{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}.KuH6H{--mobile-toolbar-height:40px;--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}._6ZIPY{--mobile-toolbar-height:47px;--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.ynOSN{box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Helvetica Neue,Helvetica,Arial);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;position:relative;width:100%}[dir] .ynOSN{background-color:#fff;border:none;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);padding:0 4px}.ynOSN::-webkit-scrollbar{display:none}[dir] .n6Hhu{border:1px solid rgba(51,51,51,.1);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.Vdv7f{position:static}[dir] .Vdv7f{border-bottom:1px solid rgba(51,51,51,.1);padding:8px 19px}.d7bst{grid-column-gap:4px;align-items:center;display:flex;height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));width:max-content}"; | ||
var styles = {"fontElementMap":"W0YMG","container":"icv5y","regularContainer":"p3iiZ","floatingContainer":"KuH6H","staticContainer":"_6ZIPY","mobileToolbar":"ynOSN","toolbarFloating":"n6Hhu","toolbarStatic":"Vdv7f","buttons":"d7bst"}; | ||
styleInject(css_248z); | ||
@@ -14,0 +14,0 @@ |
@@ -40,3 +40,3 @@ import { RESOLVERS_IDS } from './resolvers/resolvers-ids.js'; | ||
import './modals/FloatingPluginMenu/dataHooks.js'; | ||
import './floating-add-plugin-menu.rtlignore-af0155c7.js'; | ||
import './floating-add-plugin-menu.rtlignore-fbd0552d.js'; | ||
import 'classnames'; | ||
@@ -43,0 +43,0 @@ import './modals/FloatingPluginMenu/EditorSelectionToPosition.js'; |
@@ -5,3 +5,3 @@ import t__default, { useContext, useCallback } from 'react'; | ||
import { ADD_PLUGIN_MENU_HORIZONTAL, ADD_PLUGIN_MENU } from './dataHooks.js'; | ||
import { s as styles } from '../../floating-add-plugin-menu.rtlignore-af0155c7.js'; | ||
import { s as styles } from '../../floating-add-plugin-menu.rtlignore-fbd0552d.js'; | ||
import 'wix-rich-content-editor-common'; | ||
@@ -8,0 +8,0 @@ import '../../components/buttons/ToggleButton/ToggleButton.js'; |
@@ -7,3 +7,3 @@ import cx from 'classnames'; | ||
import PlusButton from './PlusButton.js'; | ||
import { s as styles } from '../../floating-add-plugin-menu.rtlignore-af0155c7.js'; | ||
import { s as styles } from '../../floating-add-plugin-menu.rtlignore-fbd0552d.js'; | ||
import '@tiptap/core'; | ||
@@ -10,0 +10,0 @@ import './dataHooks.js'; |
import * as t from 'react'; | ||
import t__default from 'react'; | ||
import t__default, { useContext } from 'react'; | ||
import cx from 'classnames'; | ||
import { RicosContext } from 'ricos-context'; | ||
import { ADD_PLUGIN_FLOATING_TOOLBAR } from './dataHooks.js'; | ||
import { s as styles } from '../../floating-add-plugin-menu.rtlignore-af0155c7.js'; | ||
import { s as styles } from '../../floating-add-plugin-menu.rtlignore-fbd0552d.js'; | ||
import '../../style-inject.es-e7b07dd7.js'; | ||
@@ -13,18 +14,21 @@ | ||
const PlusButton = t__default.forwardRef( | ||
({ position, onClick, rotate, direction }, ref) => /* @__PURE__ */ t__default.createElement( | ||
"button", | ||
{ | ||
"data-hook": ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx( | ||
styles.floatingAddPluginMenu_plus_button_position, | ||
styles.floatingAddPluginMenu_plus_button, | ||
styles[direction] | ||
), | ||
style: position, | ||
type: "button" | ||
}, | ||
rotate ? /* @__PURE__ */ t__default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__default.createElement(r, { fill: "currentColor" }) | ||
) | ||
({ position, onClick, rotate, direction }, ref) => { | ||
const { tabIndex } = useContext(RicosContext); | ||
return /* @__PURE__ */ t__default.createElement( | ||
"button", | ||
{ | ||
"data-hook": ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx( | ||
styles.floatingAddPluginMenu_plus_button_position, | ||
styles.floatingAddPluginMenu_plus_button, | ||
styles[direction] | ||
), | ||
style: position, | ||
tabIndex | ||
}, | ||
rotate ? /* @__PURE__ */ t__default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__default.createElement(r, { fill: "currentColor" }) | ||
); | ||
} | ||
); | ||
@@ -31,0 +35,0 @@ |
@@ -57,4 +57,4 @@ import { FOOTER_TOOLBAR } from './data-hooks.js'; | ||
var css_248z = ".IelaE{min-height:28px;padding-inline-end:var(--ricos-custom-footer-toolbar-padding-inline-end,0);padding-inline-start:var(--ricos-custom-footer-toolbar-padding-inline-start,0);width:100%;z-index:2}[dir] .IelaE{margin-top:var(--ricos-custom-footer-toolbar-margin-top,60px)}.IelaE svg{fill:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color));color:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color))}"; | ||
var styles = {"footerToolbar":"IelaE"}; | ||
var css_248z = ".-R7is{min-height:28px;padding-inline-end:var(--ricos-custom-footer-toolbar-padding-inline-end,0);padding-inline-start:var(--ricos-custom-footer-toolbar-padding-inline-start,0);width:100%;z-index:2}[dir] .-R7is{margin-top:var(--ricos-custom-footer-toolbar-margin-top,60px)}.-R7is svg{fill:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color));color:var(--ricos-custom-footer-toolbar-icon-color,var(--ricos-text-color))}"; | ||
var styles = {"footerToolbar":"-R7is"}; | ||
styleInject(css_248z); | ||
@@ -61,0 +61,0 @@ |
@@ -12,4 +12,4 @@ import t__default from 'react'; | ||
var css_248z = ".AHPJQ{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] .AHPJQ{background:transparent;cursor:pointer;padding:4px}.AHPJQ svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}"; | ||
var styles = {"formattingOrientationButton":"AHPJQ"}; | ||
var css_248z = ".qoxWm{fill:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff));color:var(--ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff))}[dir] .qoxWm{background:transparent;cursor:pointer;padding:4px}.qoxWm svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}"; | ||
var styles = {"formattingOrientationButton":"qoxWm"}; | ||
styleInject(css_248z); | ||
@@ -16,0 +16,0 @@ |
@@ -58,4 +58,4 @@ import { FLOATING_PLUGIN_TOOLBAR_DATA_HOOK } from './DataHooks.js'; | ||
var css_248z = ".-XA2o{align-items:center;display:flex;width:max-content}[dir] .-XA2o{background-color:#fff;border:1px solid #ededed;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.1),0 0 4px 0 rgba(0,0,0,.1))}"; | ||
var styles = {"floatingToolbar":"-XA2o"}; | ||
var css_248z = ".CDenb{align-items:center;display:flex;width:max-content}[dir] .CDenb{background-color:#fff;border:1px solid #ededed;border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.1),0 0 4px 0 rgba(0,0,0,.1))}"; | ||
var styles = {"floatingToolbar":"CDenb"}; | ||
styleInject(css_248z); | ||
@@ -62,0 +62,0 @@ |
@@ -23,3 +23,3 @@ import { RICOS_FONT_SIZE_TYPE, LINE_SPACING_TYPE, dataHook } from 'wix-rich-content-common'; | ||
var styles$3 = {"fontElementMap":"OagN6","toggleButtonWrapper":"_--vHV","active":"Vavrf","mobileToggleButtonWrapper":"wwuQ2","toggleButton":"_0c30V","mobileToggleButton":"bIJBR"}; | ||
var styles$3 = {"fontElementMap":"rXgO6","toggleButtonWrapper":"TbunN","active":"jgFdA","mobileToggleButtonWrapper":"tI4z-","toggleButton":"xfb54","mobileToggleButton":"_5wBRh"}; | ||
@@ -75,3 +75,3 @@ const ToolbarButton = t__default.forwardRef( | ||
var styles$2 = {"toggleButtonWrapper":"_3k2s1","toggleButton":"M-BQM"}; | ||
var styles$2 = {"toggleButtonWrapper":"_7BwSh","toggleButton":"wmMp9"}; | ||
@@ -202,3 +202,3 @@ const AddPluginMenuMobileButton = ({ toolbarItem }) => { | ||
var styles$1 = {"fontElementMap":"yjDr-","fontSizeModalButtonWrapper":"_4UC1D","active":"IEIcb","disabled":"wtad2","fontSizeModalButton":"rsg1Q","fontSizeModalInputButton":"V78Lm"}; | ||
var styles$1 = {"fontElementMap":"LLDXT","fontSizeModalButtonWrapper":"KvQP4","active":"nDZXj","disabled":"BB6ua","fontSizeModalButton":"RIMGB","fontSizeModalInputButton":"rjuNu"}; | ||
@@ -631,3 +631,3 @@ const MAX_FONT_SIZE = 900; | ||
var styles = {"floatingAddPluginMenu_wrapper":"v2Zfb","addPluginMenu_horizontal_wrapper":"fJUuO","floatingAddPluginMenu_plus_button_position":"_9KzRU","floatingAddPluginMenu_plus_button":"uQdO4","rtl":"-SCHZ","ltr":"SFPEX"}; | ||
var styles = {"floatingAddPluginMenu_wrapper":"WD9BM","addPluginMenu_horizontal_wrapper":"kBHRc","floatingAddPluginMenu_plus_button_position":"ZG92y","floatingAddPluginMenu_plus_button":"SMl1F","rtl":"-mHWL","ltr":"bQcVH"}; | ||
@@ -639,18 +639,21 @@ const l$1=({size:t$1,...d})=>t.createElement("svg",{viewBox:"0 0 18 18",fill:"currentColor",width:t$1||"18",height:t$1||"18",...d},t.createElement("path",{d:"M10 9 10 5 9 5 9 9 5 9 5 10 9 10 9 14 10 14 10 10 14 10 14 9z"}));l$1.displayName="AddSmall";var r=l$1; | ||
t__default.forwardRef( | ||
({ position, onClick, rotate, direction }, ref) => /* @__PURE__ */ t__default.createElement( | ||
"button", | ||
{ | ||
"data-hook": ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx( | ||
styles.floatingAddPluginMenu_plus_button_position, | ||
styles.floatingAddPluginMenu_plus_button, | ||
styles[direction] | ||
), | ||
style: position, | ||
type: "button" | ||
}, | ||
rotate ? /* @__PURE__ */ t__default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__default.createElement(r, { fill: "currentColor" }) | ||
) | ||
({ position, onClick, rotate, direction }, ref) => { | ||
const { tabIndex } = useContext(RicosContext); | ||
return /* @__PURE__ */ t__default.createElement( | ||
"button", | ||
{ | ||
"data-hook": ADD_PLUGIN_FLOATING_TOOLBAR, | ||
ref, | ||
onClick, | ||
className: cx( | ||
styles.floatingAddPluginMenu_plus_button_position, | ||
styles.floatingAddPluginMenu_plus_button, | ||
styles[direction] | ||
), | ||
style: position, | ||
tabIndex | ||
}, | ||
rotate ? /* @__PURE__ */ t__default.createElement(l, { fill: "currentColor" }) : /* @__PURE__ */ t__default.createElement(r, { fill: "currentColor" }) | ||
); | ||
} | ||
); | ||
@@ -657,0 +660,0 @@ |
{ | ||
"name": "wix-rich-content-toolbars-v3", | ||
"version": "10.93.0", | ||
"version": "10.94.0", | ||
"author": { | ||
@@ -52,16 +52,16 @@ "name": "Noam Tayri", | ||
"react-sizeme": "^3.0.2", | ||
"ricos-common": "10.93.0", | ||
"ricos-content": "10.93.0", | ||
"ricos-content-query": "10.93.0", | ||
"ricos-context": "10.93.0", | ||
"ricos-converters": "10.93.0", | ||
"ricos-modals": "10.93.0", | ||
"ricos-schema": "10.93.0", | ||
"ricos-shortcuts": "10.93.0", | ||
"ricos-types": "10.93.0", | ||
"wix-rich-content-common": "10.93.0", | ||
"wix-rich-content-editor-common": "10.93.0", | ||
"wix-rich-content-toolbars-modals": "10.93.0", | ||
"wix-rich-content-toolbars-ui": "10.93.0", | ||
"wix-rich-content-ui-components": "10.93.0" | ||
"ricos-common": "10.94.0", | ||
"ricos-content": "10.94.0", | ||
"ricos-content-query": "10.94.0", | ||
"ricos-context": "10.94.0", | ||
"ricos-converters": "10.94.0", | ||
"ricos-modals": "10.94.0", | ||
"ricos-schema": "10.94.0", | ||
"ricos-shortcuts": "10.94.0", | ||
"ricos-types": "10.94.0", | ||
"wix-rich-content-common": "10.94.0", | ||
"wix-rich-content-editor-common": "10.94.0", | ||
"wix-rich-content-toolbars-modals": "10.94.0", | ||
"wix-rich-content-toolbars-ui": "10.94.0", | ||
"wix-rich-content-ui-components": "10.94.0" | ||
}, | ||
@@ -110,3 +110,3 @@ "unpkg": true, | ||
}, | ||
"falconPackageHash": "073d8bf9a5fbe772773e33cca03f494c098f7e61ffc4893eb389db18" | ||
"falconPackageHash": "a33e77af8db4df9a2dfa1ba85dec3d0ab3f48ff29147af1f20aa47de" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2759533
19963
+ Addedricos-common@10.94.0(transitive)
+ Addedricos-content@10.94.0(transitive)
+ Addedricos-content-query@10.94.0(transitive)
+ Addedricos-context@10.94.0(transitive)
+ Addedricos-converters@10.94.0(transitive)
+ Addedricos-modals@10.94.0(transitive)
+ Addedricos-schema@10.94.0(transitive)
+ Addedricos-shortcuts@10.94.0(transitive)
+ Addedricos-styles@10.94.0(transitive)
+ Addedricos-types@10.94.0(transitive)
+ Addedwix-rich-content-common@10.94.0(transitive)
+ Addedwix-rich-content-editor-common@10.94.0(transitive)
+ Addedwix-rich-content-toolbars-modals@10.94.0(transitive)
+ Addedwix-rich-content-toolbars-ui@10.94.0(transitive)
+ Addedwix-rich-content-ui-components@10.94.0(transitive)
- Removedricos-common@10.93.0(transitive)
- Removedricos-content@10.93.0(transitive)
- Removedricos-content-query@10.93.0(transitive)
- Removedricos-context@10.93.0(transitive)
- Removedricos-converters@10.93.0(transitive)
- Removedricos-modals@10.93.0(transitive)
- Removedricos-schema@10.93.0(transitive)
- Removedricos-shortcuts@10.93.0(transitive)
- Removedricos-styles@10.93.0(transitive)
- Removedricos-types@10.93.0(transitive)
- Removedwix-rich-content-common@10.93.0(transitive)
- Removedwix-rich-content-editor-common@10.93.0(transitive)
- Removedwix-rich-content-toolbars-modals@10.93.0(transitive)
- Removedwix-rich-content-toolbars-ui@10.93.0(transitive)
- Removedwix-rich-content-ui-components@10.93.0(transitive)
Updatedricos-common@10.94.0
Updatedricos-content@10.94.0
Updatedricos-content-query@10.94.0
Updatedricos-context@10.94.0
Updatedricos-converters@10.94.0
Updatedricos-modals@10.94.0
Updatedricos-schema@10.94.0
Updatedricos-shortcuts@10.94.0
Updatedricos-types@10.94.0