leksy-editor 2.1.0 → 2.1.1

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.
Files changed (3) hide show
  1. package/constant.js +3 -0
  2. package/package.json +1 -1
  3. package/tab.js +3 -0
package/constant.js CHANGED
@@ -427,6 +427,9 @@ const CSS = {
427
427
 
428
428
  .tabs-container .tab-items {
429
429
  overflow-y: auto;
430
+ }
431
+
432
+ .tabs-container .tab-items.animate {
430
433
  transition: max-height 0.3s ease, opacity 0.2s ease;
431
434
  }
432
435
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "leksy-editor",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Leksy Editor is an alternative to traditional WYSIWYG editors, designed primarily for creating mail templates, blogs, and documents without any content manipulation.",
5
5
  "main": "index.js",
6
6
  "directories": {
package/tab.js CHANGED
@@ -239,6 +239,9 @@ const renderTabs = (core, options) => {
239
239
  expandBtn.classList.toggle('show')
240
240
  tabListContainer.classList.toggle('show')
241
241
  }
242
+ requestAnimationFrame(() => {
243
+ tabListContainer.classList.add('animate');
244
+ });
242
245
  if (core.state.isTabExpandInResponsive) {
243
246
  expandBtn.classList.add('show')
244
247
  tabListContainer.classList.add('show')