@odoo/o-spreadsheet 16.0.54 → 16.0.56

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.
@@ -148,10 +148,12 @@
148
148
  <button class="o-add-button" t-on-click="setCustomColor">Add</button>
149
149
  </div>
150
150
  </div>
151
- <div class="o-separator"/>
152
- <div class="o-buttons">
153
- <button t-on-click="resetColor" class="o-cancel">Reset</button>
154
- </div>
151
+ <t t-if="!props.disableNoColor">
152
+ <div class="o-separator"/>
153
+ <div class="o-buttons">
154
+ <button t-on-click="resetColor" class="o-cancel">Reset</button>
155
+ </div>
156
+ </t>
155
157
  </div>
156
158
  </t>
157
159
 
@@ -175,7 +177,7 @@
175
177
  </t>
176
178
 
177
179
  <t t-name="o-spreadsheet-Composer" owl="1">
178
- <div class="o-composer-container">
180
+ <div class="o-composer-container" t-att-active="props.focus !== 'inactive'">
179
181
  <div
180
182
  t-att-class="{ 'o-composer': true, 'text-muted': env.model.getters.isReadonly(), 'unfocusable': env.model.getters.isReadonly() }"
181
183
  t-att-style="props.inputStyle"
@@ -2405,6 +2407,7 @@ https://fontawesome.com/license -->
2405
2407
  dropdownDirection="'left'"
2406
2408
  onColorPicked="(color) => this.setColorScaleColor(thresholdType, color)"
2407
2409
  currentColor="getThresholdColor(threshold)"
2410
+ disableNoColor="true"
2408
2411
  />
2409
2412
  </div>
2410
2413
  </div>
@@ -3239,7 +3242,7 @@ https://fontawesome.com/license -->
3239
3242
  </t>
3240
3243
  </odoo>
3241
3244
  <!--
3242
- __info__.version = '16.0.54';
3243
- __info__.date = '2024-11-08T12:11:25.156Z';
3244
- __info__.hash = 'fdfa7dc';
3245
+ __info__.version = '16.0.56';
3246
+ __info__.date = '2024-12-19T07:46:10.139Z';
3247
+ __info__.hash = '9d0e335';
3245
3248
  -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odoo/o-spreadsheet",
3
- "version": "16.0.54",
3
+ "version": "16.0.56",
4
4
  "description": "A spreadsheet component",
5
5
  "main": "dist/o-spreadsheet.cjs.js",
6
6
  "browser": "dist/o-spreadsheet.iife.js",