@odoo/o-spreadsheet 19.5.0-alpha.12 → 19.5.0-alpha.14

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 (39) hide show
  1. package/dist/o_spreadsheet.cjs +625 -563
  2. package/dist/o_spreadsheet.css +38 -22
  3. package/dist/o_spreadsheet.esm.js +625 -563
  4. package/dist/o_spreadsheet.iife.js +625 -563
  5. package/dist/o_spreadsheet.min.iife.js +300 -300
  6. package/dist/o_spreadsheet.xml +80 -67
  7. package/dist/types/components/figures/figure_container/figure_container.d.ts +6 -2
  8. package/dist/types/components/helpers/figure_drag_helper.d.ts +3 -3
  9. package/dist/types/components/helpers/figure_snap_helper.d.ts +8 -3
  10. package/dist/types/components/link/link_editor/link_editor.d.ts +1 -0
  11. package/dist/types/components/side_panel/carousel_panel/carousel_panel.d.ts +1 -1
  12. package/dist/types/components/side_panel/chart/chart_type_picker_popover/chart_type_picker_popover.d.ts +12 -12
  13. package/dist/types/components/side_panel/chart/scorecard_chart_panel/scorecard_chart_config_panel.d.ts +6 -10
  14. package/dist/types/components/side_panel/find_and_replace/find_and_replace.d.ts +1 -0
  15. package/dist/types/components/side_panel/find_and_replace/find_and_replace_store.d.ts +2 -1
  16. package/dist/types/components/side_panel/table_style_editor_panel/table_style_editor_panel.d.ts +2 -0
  17. package/dist/types/constants.d.ts +0 -1
  18. package/dist/types/helpers/color_themes.d.ts +2 -0
  19. package/dist/types/helpers/figures/chart.d.ts +3 -2
  20. package/dist/types/helpers/figures/charts/chart_common.d.ts +2 -2
  21. package/dist/types/helpers/figures/charts/chart_ui_common.d.ts +3 -3
  22. package/dist/types/helpers/figures/charts/runtime/chart_data_extractor.d.ts +11 -10
  23. package/dist/types/helpers/owl3_helpers.d.ts +4 -0
  24. package/dist/types/index.d.ts +0 -1
  25. package/dist/types/owl3_compatibility_layer.d.ts +1 -14
  26. package/dist/types/plugins/ui_core_views/evaluation_chart.d.ts +6 -5
  27. package/dist/types/plugins/ui_feature/chart_ui.d.ts +6 -0
  28. package/dist/types/plugins/ui_feature/color_theme.d.ts +0 -3
  29. package/dist/types/registries/chart_registry.d.ts +2 -2
  30. package/dist/types/registries/figures_registry.d.ts +1 -1
  31. package/dist/types/stores/main_viewport_store.d.ts +3 -0
  32. package/dist/types/stores/viewports_store.d.ts +0 -1
  33. package/dist/types/types/chart/chart.d.ts +3 -1
  34. package/dist/types/types/chart/scorecard_chart.d.ts +3 -4
  35. package/dist/types/types/commands.d.ts +15 -17
  36. package/dist/types/types/getters.d.ts +2 -1
  37. package/dist/types/types/model.d.ts +2 -1
  38. package/dist/types/types/rendering.d.ts +2 -0
  39. package/package.json +4 -3
@@ -2,9 +2,9 @@
2
2
  /*
3
3
  * This file is generated by o-spreadsheet build tools. Do not edit it.
4
4
  * @see https://github.com/odoo/o-spreadsheet
5
- * @version 19.5.0-alpha.12
6
- * @date 2026-08-19T09:47:05.537Z
7
- * @hash 68ca68e
5
+ * @version 19.5.0-alpha.14
6
+ * @date 2026-08-29T09:17:10.947Z
7
+ * @hash e8ad6ad
8
8
  */
9
9
  :root {
10
10
  --os-gray-100: light-dark(#f9fafb, #1b1d26);
@@ -139,7 +139,7 @@
139
139
  --os-components-importance-figure-snap-line: 1001;
140
140
  --os-components-importance-figure-tooltip: 1002;
141
141
 
142
- --os-icon-font-size: 17px;
142
+ --os-icon-font-size: 14px;
143
143
  }
144
144
 
145
145
  /* Originates from src/components/validation_messages/validation_messages.css */
@@ -310,6 +310,7 @@
310
310
  .os-input {
311
311
  border-width: 0 0 1px 0;
312
312
  border-color: transparent;
313
+ border-style: solid;
313
314
  outline: none;
314
315
  text-overflow: ellipsis;
315
316
  color: var(--os-text-body);
@@ -675,6 +676,7 @@
675
676
  width: 100%;
676
677
  outline: none;
677
678
  border-color: var(--os-border-color);
679
+ border-style: solid;
678
680
  color: var(--os-gray-900);
679
681
 
680
682
  &::placeholder {
@@ -1608,6 +1610,12 @@
1608
1610
  background-color: var(--os-action-color);
1609
1611
  border-color: var(--os-action-color) !important;
1610
1612
  }
1613
+
1614
+ &:focus {
1615
+ outline: none;
1616
+ box-shadow: 0 0 0 0.25rem rgba(113, 75, 103, 0.25);
1617
+ border-color: var(--os-action-color);
1618
+ }
1611
1619
  }
1612
1620
  }
1613
1621
  }
@@ -2144,6 +2152,11 @@
2144
2152
  line-height: calc(
2145
2153
  var(--os-desktop-menu-item-height) - 2 * var(--os-menu-item-padding-vertical)
2146
2154
  );
2155
+ display: inline-block;
2156
+ margin: 0px 8px 0px 0px;
2157
+ .oi {
2158
+ --os-icon-font-size: calc(var(--os-icon-edge-length) - 1px);
2159
+ }
2147
2160
  }
2148
2161
  & {
2149
2162
  &.o-menu-item-active {
@@ -2163,10 +2176,6 @@
2163
2176
  .o-menu-item-name {
2164
2177
  min-width: 40%;
2165
2178
  }
2166
- .o-menu-item-icon {
2167
- display: inline-block;
2168
- margin: 0px 8px 0px 0px;
2169
- }
2170
2179
  }
2171
2180
  }
2172
2181
  &.o-spreadsheet-mobile {
@@ -2293,6 +2302,7 @@
2293
2302
  width: var(--os-icon-edge-length);
2294
2303
  height: var(--os-icon-edge-length);
2295
2304
  font-size: var(--os-icon-edge-length);
2305
+ --os-icon-font-size: var(--os-icon-edge-length);
2296
2306
  .small-text {
2297
2307
  font: bold 9px sans-serif;
2298
2308
  }
@@ -2311,20 +2321,17 @@
2311
2321
  * the `material-symbols` package whose variable font exposes a FILL axis.
2312
2322
  */
2313
2323
  .oi {
2314
- display: flex;
2315
- justify-content: center;
2316
- align-items: center;
2324
+ display: inline-block;
2317
2325
  font-family: var(--icon-font-family, "Material Symbols Outlined");
2318
2326
  font-style: normal;
2319
- font-size: var(--oi-font-size, 1em);
2327
+ font-size: var(--os-icon-font-size, 1em);
2320
2328
  font-weight: 400 !important;
2321
- line-height: 1;
2329
+ line-height: inherit; /* override of Odoo, we want to keep the line height consistent with the surrounding text */
2322
2330
  letter-spacing: normal;
2323
2331
  text-transform: none;
2324
2332
  white-space: nowrap;
2325
2333
  word-wrap: normal;
2326
2334
  direction: ltr;
2327
- speak: never;
2328
2335
  -webkit-font-smoothing: antialiased;
2329
2336
  -moz-osx-font-smoothing: grayscale;
2330
2337
  }
@@ -2641,7 +2648,7 @@
2641
2648
  .o-spreadsheet .o-filter-menu {
2642
2649
  .o-search-icon {
2643
2650
  right: 5px;
2644
- top: 3px;
2651
+ top: 8px;
2645
2652
  opacity: 0.4;
2646
2653
 
2647
2654
  svg {
@@ -2729,6 +2736,7 @@
2729
2736
  color: var(--os-gray-900) !important;
2730
2737
  height: 20px;
2731
2738
  width: 20px;
2739
+ --os-icon-edge-length: 14px;
2732
2740
  &.active,
2733
2741
  &:hover,
2734
2742
  &:target {
@@ -2821,6 +2829,7 @@
2821
2829
 
2822
2830
  .o-carousel-button {
2823
2831
  cursor: pointer;
2832
+ --os-icon-edge-length: 14px;
2824
2833
 
2825
2834
  &.o-carousel-full-screen-button {
2826
2835
  margin: 1px;
@@ -2828,7 +2837,7 @@
2828
2837
 
2829
2838
  &.o-carousel-menu-button,
2830
2839
  &.o-carousel-tabs-dropdown {
2831
- padding: 1px 2px;
2840
+ padding: 3px 2px;
2832
2841
  }
2833
2842
 
2834
2843
  &.active,
@@ -2973,9 +2982,7 @@
2973
2982
  }
2974
2983
 
2975
2984
  .o-icon {
2976
- width: 14px;
2977
- height: 14px;
2978
- font-size: 14px !important;
2985
+ --os-icon-edge-length: 14px;
2979
2986
  }
2980
2987
 
2981
2988
  .o-chart-preview {
@@ -3032,6 +3039,11 @@
3032
3039
  position: absolute;
3033
3040
  cursor: pointer;
3034
3041
  }
3042
+
3043
+ .o-dashboard-grid {
3044
+ /* Grid itself is transparent, background is applied on another div on which the dark mode filter is applied */
3045
+ background-color: transparent;
3046
+ }
3035
3047
  }
3036
3048
 
3037
3049
  /* Originates from src/components/dashboard/clickable_cell_sort_icon/clickable_cell_sort_icon.css */
@@ -3258,7 +3270,7 @@
3258
3270
  left: -1px;
3259
3271
  top: -1px;
3260
3272
 
3261
- [data-icon="help"] {
3273
+ [data-icon="help_f"] {
3262
3274
  color: var(--os-primary-button-bg);
3263
3275
  }
3264
3276
  }
@@ -3275,7 +3287,7 @@
3275
3287
  }
3276
3288
 
3277
3289
  .o-composer-assistant-container {
3278
- [data-icon="cancel"] {
3290
+ [data-icon="cancel_f"] {
3279
3291
  color: var(--os-primary-button-bg);
3280
3292
  }
3281
3293
  }
@@ -3591,7 +3603,7 @@
3591
3603
  .o-bottom-bar-statistic {
3592
3604
  .o-selection-statistic {
3593
3605
  margin-right: 10px;
3594
- padding: 0px 4px 0px 8px;
3606
+ padding: 4px 4px 4px 8px;
3595
3607
  cursor: pointer;
3596
3608
  &:hover {
3597
3609
  background-color: var(--os-background-gray-color-hover) !important;
@@ -3663,6 +3675,10 @@
3663
3675
  z-index: 1;
3664
3676
  width: calc(100% - 1px);
3665
3677
  }
3678
+
3679
+ .lock-icon {
3680
+ --os-icon-edge-length: 14px;
3681
+ }
3666
3682
  }
3667
3683
 
3668
3684
  .o-spreadshet-mobile .o-sheet {