@odoo/o-spreadsheet 18.3.17 → 18.3.18

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.
@@ -1,9 +1,9 @@
1
1
  <!--
2
2
  This file is generated by o-spreadsheet build tools. Do not edit it.
3
3
  @see https://github.com/odoo/o-spreadsheet
4
- @version 18.3.17
5
- @date 2025-08-21T06:41:35.866Z
6
- @hash ab02b0c
4
+ @version 18.3.18
5
+ @date 2025-08-26T10:15:08.137Z
6
+ @hash ec2777d
7
7
  -->
8
8
  <odoo>
9
9
  <t t-name="o-spreadsheet-ValidationMessages">
@@ -53,8 +53,13 @@
53
53
  </div>
54
54
  </div>
55
55
  <!-- Toolbar and Cell Content -->
56
- <div class="d-flex o-topbar-responsive" t-ref="toolBarContainer">
57
- <div class="o-topbar-toolbar d-flex">
56
+ <div
57
+ class="d-flex o-topbar-responsive"
58
+ t-att-class="{'o-topbar-responsive': !env.model.getters.isReadonly()}"
59
+ t-ref="toolBarContainer">
60
+ <div
61
+ class="o-topbar-toolbar d-flex"
62
+ t-att-class="{'flex-shrink-0': env.model.getters.isReadonly()}">
58
63
  <!-- Toolbar -->
59
64
  <div
60
65
  t-if="env.model.getters.isReadonly()"
@@ -3971,7 +3976,10 @@
3971
3976
  t-att-style="getIconColor(menuItem)">
3972
3977
  <t t-if="getIconName(menuItem)" t-call="{{getIconName(menuItem)}}"/>
3973
3978
  </div>
3974
- <div class="o-menu-item-name align-middle text-truncate" t-esc="getName(menuItem)"/>
3979
+ <div
3980
+ class="o-menu-item-name text-truncate align-items-center d-flex"
3981
+ t-esc="getName(menuItem)"
3982
+ />
3975
3983
  <t t-set="description" t-value="menuItem.description(env)"/>
3976
3984
  <div
3977
3985
  t-if="description"
@@ -3981,12 +3989,12 @@
3981
3989
  <t t-set="secondaryIcon" t-value="menuItem.secondaryIcon(env)"/>
3982
3990
  <div
3983
3991
  t-if="isMenuRoot"
3984
- class="o-menu-item-root align-middle ms-auto"
3992
+ class="o-menu-item-root ms-auto align-items-center d-flex"
3985
3993
  t-call="o-spreadsheet-Icon.CARET_RIGHT"
3986
3994
  />
3987
3995
  <div
3988
3996
  t-elif="secondaryIcon"
3989
- class="o-menu-item-root align-middle ms-auto"
3997
+ class="o-menu-item-root ms-auto align-items-center d-flex"
3990
3998
  t-call="{{secondaryIcon}}"
3991
3999
  />
3992
4000
  </div>
@@ -5789,7 +5797,7 @@
5789
5797
  />
5790
5798
  <div class="o-figure-menu position-absolute m-2" t-if="!env.isDashboard()">
5791
5799
  <div
5792
- class="o-figure-menu-item"
5800
+ class="o-figure-menu-item d-flex-align-items-center"
5793
5801
  t-if="!env.model.getters.isReadonly()"
5794
5802
  t-on-click="showMenu"
5795
5803
  t-ref="menuButton"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "18.3.17",
3
+ "version": "18.3.18",
4
4
  "description": "A spreadsheet component",
5
5
  "type": "module",
6
6
  "main": "dist/o-spreadsheet.cjs.js",