@bryntum/grid-thin-trial 7.2.4 → 7.3.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 (160) hide show
  1. package/README.md +0 -1
  2. package/fluent2-dark.css +16 -0
  3. package/grid.css +21 -30
  4. package/grid.css.map +2 -2
  5. package/grid.d.ts +4079 -6055
  6. package/high-contrast-dark.css +16 -0
  7. package/lib/column/ActionColumn.js +1 -1
  8. package/lib/column/AggregateColumn.js +1 -1
  9. package/lib/column/ChartColumn.js +1 -1
  10. package/lib/column/CheckColumn.js +1 -1
  11. package/lib/column/ColorColumn.js +1 -1
  12. package/lib/column/Column.js +1 -1
  13. package/lib/column/CurrencyColumn.js +1 -1
  14. package/lib/column/DateColumn.js +1 -1
  15. package/lib/column/NumberColumn.js +1 -1
  16. package/lib/column/PercentColumn.css +5 -0
  17. package/lib/column/PercentColumn.js +1 -1
  18. package/lib/column/RatingColumn.js +1 -1
  19. package/lib/column/RowNumberColumn.js +1 -1
  20. package/lib/column/SparklineColumn.js +1 -1
  21. package/lib/column/TemplateColumn.js +1 -1
  22. package/lib/column/TimeColumn.js +1 -1
  23. package/lib/column/TreeColumn.css +9 -1
  24. package/lib/column/TreeColumn.js +1 -1
  25. package/lib/column/WidgetColumn.js +1 -1
  26. package/lib/column/mixin/TreeColumnMixin.js +1 -1
  27. package/lib/customElements/GridTag.js +1 -1
  28. package/lib/data/ColumnStore.js +1 -1
  29. package/lib/data/GridRowModel.js +1 -1
  30. package/lib/feature/AI.js +1 -1
  31. package/lib/feature/CellCopyPaste.js +1 -1
  32. package/lib/feature/CellEdit.js +1 -1
  33. package/lib/feature/CellMenu.js +1 -1
  34. package/lib/feature/CellTooltip.js +1 -1
  35. package/lib/feature/Charts.js +1 -1
  36. package/lib/feature/ColumnAutoWidth.js +1 -1
  37. package/lib/feature/ColumnDragToolbar.js +7 -7
  38. package/lib/feature/ColumnPicker.js +1 -1
  39. package/lib/feature/ColumnRename.js +1 -1
  40. package/lib/feature/ColumnReorder.js +1 -1
  41. package/lib/feature/ColumnResize.js +1 -1
  42. package/lib/feature/FillHandle.js +1 -1
  43. package/lib/feature/Filter.js +1 -1
  44. package/lib/feature/FilterBar.js +1 -1
  45. package/lib/feature/GridFeatureManager.js +1 -1
  46. package/lib/feature/Group.js +1 -1
  47. package/lib/feature/GroupSummary.js +1 -1
  48. package/lib/feature/HeaderMenu.js +1 -1
  49. package/lib/feature/LockRows.js +1 -1
  50. package/lib/feature/MergeCells.js +1 -1
  51. package/lib/feature/PinColumns.js +1 -1
  52. package/lib/feature/QuickFind.js +1 -1
  53. package/lib/feature/RegionResize.css +4 -4
  54. package/lib/feature/RegionResize.js +1 -1
  55. package/lib/feature/RowCopyPaste.js +1 -1
  56. package/lib/feature/RowEdit.js +1 -1
  57. package/lib/feature/RowExpander.js +1 -1
  58. package/lib/feature/RowReorder.js +1 -1
  59. package/lib/feature/RowResize.js +1 -1
  60. package/lib/feature/Search.js +1 -1
  61. package/lib/feature/Sort.js +1 -1
  62. package/lib/feature/Split.js +1 -1
  63. package/lib/feature/StickyCells.css +12 -28
  64. package/lib/feature/StickyCells.js +1 -1
  65. package/lib/feature/Stripe.js +1 -1
  66. package/lib/feature/Summary.js +1 -1
  67. package/lib/feature/Tree.js +1 -1
  68. package/lib/feature/TreeGroup.js +1 -1
  69. package/lib/feature/ai/AIFilter.js +1 -1
  70. package/lib/feature/ai/agents/DefaultGridAgent.js +3 -3
  71. package/lib/feature/ai/agents/trainingData.js +1 -1
  72. package/lib/feature/base/CopyPasteBase.js +1 -1
  73. package/lib/feature/base/GridEditBase.js +1 -1
  74. package/lib/feature/experimental/ExcelExporter.js +1 -1
  75. package/lib/feature/experimental/FileDrop.js +1 -1
  76. package/lib/feature/experimental/xlsproviders/XlsProviderBase.js +1 -1
  77. package/lib/feature/export/PdfExport.js +4 -4
  78. package/lib/feature/export/Print.js +1 -1
  79. package/lib/feature/export/exporter/Exporter.js +1 -1
  80. package/lib/feature/export/exporter/ExporterBase.js +6 -6
  81. package/lib/feature/export/exporter/MultiPageExporter.js +1 -1
  82. package/lib/feature/export/exporter/MultiPageVerticalExporter.js +1 -1
  83. package/lib/feature/export/exporter/SinglePageExporter.js +1 -1
  84. package/lib/feature/export/exporter/SinglePageUnscaledExporter.js +1 -1
  85. package/lib/feature/export/mixin/PrintMixin.js +1 -1
  86. package/lib/row/Row.js +1 -1
  87. package/lib/row/RowManager.js +1 -1
  88. package/lib/util/GridLocation.js +1 -1
  89. package/lib/util/TableExporter.js +1 -1
  90. package/lib/view/Bar.js +1 -1
  91. package/lib/view/Grid.js +1 -1
  92. package/lib/view/GridBase.css +0 -10
  93. package/lib/view/GridBase.js +1 -1
  94. package/lib/view/SubGrid.js +1 -1
  95. package/lib/view/TreeGrid.js +1 -1
  96. package/lib/view/export/ExportDialog.js +1 -1
  97. package/lib/view/mixin/GridElementEvents.js +1 -1
  98. package/lib/view/mixin/GridFeatures.js +1 -1
  99. package/lib/view/mixin/GridNavigation.js +1 -1
  100. package/lib/view/mixin/GridResponsive.js +1 -1
  101. package/lib/view/mixin/GridSelection.js +1 -1
  102. package/lib/view/mixin/GridState.js +1 -1
  103. package/lib/view/mixin/GridSubGrids.js +1 -1
  104. package/lib/widget/AIFilterField.js +1 -1
  105. package/lib/widget/ChecklistFilterCombo.js +1 -1
  106. package/lib/widget/GridChartDesigner.js +1 -1
  107. package/lib/widget/GridFieldFilterPicker.js +1 -1
  108. package/lib/widget/GridFieldFilterPickerGroup.js +1 -1
  109. package/lib/widget/GroupBar.js +1 -1
  110. package/lib/widget/TreeCombo.js +1 -1
  111. package/locales/grid.locale.Ar.js +1 -1
  112. package/locales/grid.locale.Bg.js +1 -1
  113. package/locales/grid.locale.Ca.js +1 -1
  114. package/locales/grid.locale.Cs.js +1 -1
  115. package/locales/grid.locale.Da.js +1 -1
  116. package/locales/grid.locale.De.js +1 -1
  117. package/locales/grid.locale.El.js +1 -1
  118. package/locales/grid.locale.En.js +1 -1
  119. package/locales/grid.locale.EnGb.js +1 -1
  120. package/locales/grid.locale.Es.js +1 -1
  121. package/locales/grid.locale.Et.js +1 -1
  122. package/locales/grid.locale.Eu.js +1 -1
  123. package/locales/grid.locale.Fi.js +1 -1
  124. package/locales/grid.locale.FrFr.js +1 -1
  125. package/locales/grid.locale.Gl.js +1 -1
  126. package/locales/grid.locale.He.js +1 -1
  127. package/locales/grid.locale.Hi.js +1 -1
  128. package/locales/grid.locale.Hr.js +1 -1
  129. package/locales/grid.locale.Hu.js +1 -1
  130. package/locales/grid.locale.Id.js +1 -1
  131. package/locales/grid.locale.It.js +1 -1
  132. package/locales/grid.locale.Ja.js +1 -1
  133. package/locales/grid.locale.Kk.js +1 -1
  134. package/locales/grid.locale.Ko.js +1 -1
  135. package/locales/grid.locale.Lt.js +1 -1
  136. package/locales/grid.locale.Lv.js +1 -1
  137. package/locales/grid.locale.Ms.js +1 -1
  138. package/locales/grid.locale.Nl.js +1 -1
  139. package/locales/grid.locale.No.js +1 -1
  140. package/locales/grid.locale.Pl.js +1 -1
  141. package/locales/grid.locale.Pt.js +1 -1
  142. package/locales/grid.locale.PtBr.js +1 -1
  143. package/locales/grid.locale.Ro.js +1 -1
  144. package/locales/grid.locale.Ru.js +1 -1
  145. package/locales/grid.locale.Sk.js +1 -1
  146. package/locales/grid.locale.Sl.js +1 -1
  147. package/locales/grid.locale.Sr.js +1 -1
  148. package/locales/grid.locale.SrRs.js +1 -1
  149. package/locales/grid.locale.SvSE.js +1 -1
  150. package/locales/grid.locale.Th.js +1 -1
  151. package/locales/grid.locale.Tr.js +1 -1
  152. package/locales/grid.locale.Uk.js +1 -1
  153. package/locales/grid.locale.Vi.js +1 -1
  154. package/locales/grid.locale.ZhCn.js +1 -1
  155. package/locales/grid.locale.ZhTw.js +1 -1
  156. package/material3-dark.css +16 -0
  157. package/package.json +1 -1
  158. package/stockholm-dark.css +16 -0
  159. package/svalbard-dark.css +16 -0
  160. package/visby-dark.css +16 -0
package/README.md CHANGED
@@ -80,7 +80,6 @@ The **Thin package** contains only product-specific code and styling, making it
80
80
  * [Angular](https://angularjs.org/): `>= 9.0.0`
81
81
  * [React](https://react.dev/): `>= 16.0.0`
82
82
  * [Vue](https://vuejs.org/): `>= 3.0.0`
83
- * [Ionic](https://ionicframework.com/): `>= 5.0.0`
84
83
  * [Vite](https://vite.dev/): `>= 4.0.0`
85
84
  * [Webpack](https://webpack.js.org/): `>= 4.0.0`
86
85
 
package/fluent2-dark.css CHANGED
@@ -147,6 +147,22 @@
147
147
 
148
148
  /* TaskBoard */
149
149
  --b-task-board-column-header-font-weight : 600;
150
+
151
+ /* Heat map values ranging from lowest to highest intensity to create
152
+ * background colors to indicate how "hot" an element is, for example
153
+ * based on the number of events in a calendar cell.
154
+ */
155
+ /*
156
+ * Start color for the heatmap, representing the lowest intensity (e.g. 1 event in a calendar cell).
157
+ */
158
+ --b-heatmap-start : oklab(0.53 -0.03 0.1);
159
+
160
+ /*
161
+ * End color for the heatmap, representing the highest intensity (e.g. 10 or more events in a calendar cell).
162
+ */
163
+ --b-heatmap-end : oklab(0.38 0.13 0.03);
164
+
165
+ --b-heatmap-mix-blend-mode : hard-light;
150
166
  }
151
167
 
152
168
  /* Shades of primary color have to be specified per widget, for color-mix to work as intended */
package/grid.css CHANGED
@@ -732,7 +732,7 @@
732
732
  --b-region-resize-button-color: var(--b-splitter-button-icon-color);
733
733
  --b-region-resize-splitter-hover-color: var(--b-splitter-hover-color);
734
734
  --b-region-resize-button-hover-color: var(--b-splitter-button-hover-color);
735
- --bi-grid-splitter-button-size: 1em;
735
+ --bi-grid-splitter-button-size: var(--b-splitter-button-size, 1em);
736
736
  --bi-grid-splitter-button-display: flex;
737
737
  }
738
738
  .b-grid-base.b-split {
@@ -753,7 +753,7 @@
753
753
  }
754
754
  @media (any-pointer: coarse) {
755
755
  .b-grid-splitter {
756
- --bi-grid-splitter-button-size: 1.3em;
756
+ --bi-grid-splitter-button-size: var(--b-splitter-touch-button-size, 1.3em);
757
757
  }
758
758
  }
759
759
  .b-split .b-grid-splitter {
@@ -785,7 +785,7 @@
785
785
  align-items: center;
786
786
  opacity: 0;
787
787
  transition: opacity .2s;
788
- display: var(--bi-grid-splitter-button-display);
788
+ display: flex;
789
789
  width: var(--b-region-resize-splitter-width-hover);
790
790
  }
791
791
  .b-grid-base.b-split .b-grid-splitter:where(:not(.b-disabled)).b-grid-splitter-collapsed {
@@ -809,7 +809,7 @@
809
809
  visibility: hidden;
810
810
  }
811
811
  .b-grid-base.b-split .b-grid-splitter:where(:not(.b-disabled)) .b-grid-splitter-buttons {
812
- display: flex;
812
+ display: var(--bi-grid-splitter-button-display);
813
813
  position: absolute;
814
814
  translate: 0 -50%;
815
815
  height: 2.4em;
@@ -1236,27 +1236,19 @@
1236
1236
  }
1237
1237
 
1238
1238
  /* lib/Grid/feature/StickyCells.css */
1239
- .b-sticky-cells .b-grid-sticky-row {
1240
- position: absolute;
1241
- top: 0;
1242
- left: 0;
1243
- min-width: auto;
1244
- border: 0 none;
1245
- padding: 0;
1246
- contain: initial;
1247
- }
1248
- .b-sticky-cells .b-grid-sticky-row .b-grid-cell {
1249
- width: min-content;
1250
- contain: initial;
1251
- padding: 0;
1252
- border: 0 none;
1239
+ .b-sticky-cells {
1240
+ --b-grid-cell-padding-block: var(--b-widget-padding);
1253
1241
  }
1254
- .b-sticky-cells .b-sticky-cells-current-top-row .b-sticky-content-el {
1255
- visibility: hidden;
1242
+ .b-sticky-cells .b-sticky-cell-content {
1243
+ width: 100%;
1244
+ will-change: transform;
1245
+ align-items: center;
1246
+ display: inherit;
1247
+ text-align: inherit;
1248
+ justify-content: inherit;
1256
1249
  }
1257
- .b-sticky-cells .b-sticky-cells-current-top-row.b-not-enough-height .b-sticky-content-el {
1258
- visibility: visible;
1259
- align-self: flex-end;
1250
+ .b-sticky-cells .b-tree-cell .b-sticky-cell-content {
1251
+ align-self: center;
1260
1252
  }
1261
1253
 
1262
1254
  /* lib/Grid/feature/Stripe.css */
@@ -1666,12 +1658,6 @@ html.b-print-root,
1666
1658
  .b-grid-panel-body:not(.b-auto-height) > .b-grid-body-container > .b-grid-vertical-scroller {
1667
1659
  min-height: 100%;
1668
1660
  }
1669
- .b-grid-base.b-enable-sticky .b-sticky-cell,
1670
- .b-grid-base.b-enable-sticky .b-grid-sub-grid,
1671
- .b-grid-base.b-enable-sticky .b-grid-vertical-scroller,
1672
- .b-grid-base.b-enable-sticky .b-grid-row {
1673
- overflow: visible !important;
1674
- }
1675
1661
  .b-grid-base > .b-panel-body-wrap {
1676
1662
  --b-toolbar-background: var(--b-grid-toolbar-background);
1677
1663
  }
@@ -2330,6 +2316,9 @@ div.b-grid-header-container .b-yscroll-pad {
2330
2316
  width: var(--bi-percent-bar-value);
2331
2317
  transition: var(--bi-percent-column-transition);
2332
2318
  }
2319
+ .b-sticky-cell-content .b-percent-bar-outer {
2320
+ height: var(--b-percent-column-bar-max-height);
2321
+ }
2333
2322
  .b-percent-bar-value {
2334
2323
  display: flex;
2335
2324
  align-items: center;
@@ -2463,6 +2452,7 @@ div.b-grid-header-container .b-yscroll-pad {
2463
2452
  --b-tree-line-width: 2px;
2464
2453
  --b-tree-line-color: var(--b-neutral-85);
2465
2454
  --b-tree-line-offset: .45em;
2455
+ --b-tree-empty-parent-icon-opacity: .5;
2466
2456
  }
2467
2457
  .b-internal {
2468
2458
  --b-tree-level: null;
@@ -2522,7 +2512,8 @@ div.b-grid-header-container .b-yscroll-pad {
2522
2512
  margin-inline-start: .1em;
2523
2513
  }
2524
2514
  :is(.b-icon-tree-expand, .b-icon-tree-collapse).b-empty-parent {
2525
- visibility: hidden;
2515
+ pointer-events: none;
2516
+ opacity: var(--b-tree-empty-parent-icon-opacity);
2526
2517
  }
2527
2518
  :is(.b-icon-tree-expand, .b-icon-tree-collapse):before {
2528
2519
  font-size: var(--b-tree-expander-icon-font-size);