@adaptabletools/adaptable 23.0.0-canary.7 → 23.0.0-canary.8

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 (90) hide show
  1. package/index.css +75 -9
  2. package/package.json +1 -1
  3. package/src/AdaptableState/StyledColumnState.d.ts +8 -850
  4. package/src/AdaptableState/StyledColumnState.js +1 -9
  5. package/src/AdaptableState/StyledColumns/BadgeStyle.d.ts +143 -0
  6. package/src/AdaptableState/StyledColumns/BadgeStyle.js +9 -0
  7. package/src/AdaptableState/StyledColumns/BulletChartStyle.d.ts +147 -0
  8. package/src/AdaptableState/StyledColumns/BulletChartStyle.js +1 -0
  9. package/src/AdaptableState/StyledColumns/Common/BarChartCellText.d.ts +60 -0
  10. package/src/AdaptableState/StyledColumns/Common/BarChartCellText.js +6 -0
  11. package/src/AdaptableState/StyledColumns/Common/BarChartMarker.d.ts +24 -0
  12. package/src/AdaptableState/StyledColumns/Common/BarChartMarker.js +5 -0
  13. package/src/AdaptableState/StyledColumns/Common/CellTextOptions.d.ts +13 -0
  14. package/src/AdaptableState/StyledColumns/Common/CellTextOptions.js +6 -0
  15. package/src/AdaptableState/StyledColumns/Common/NumericStyledColumn.d.ts +79 -0
  16. package/src/AdaptableState/StyledColumns/Common/NumericStyledColumn.js +9 -0
  17. package/src/AdaptableState/StyledColumns/GradientStyle.d.ts +48 -0
  18. package/src/AdaptableState/StyledColumns/GradientStyle.js +1 -0
  19. package/src/AdaptableState/StyledColumns/IconStyle.d.ts +158 -0
  20. package/src/AdaptableState/StyledColumns/IconStyle.js +1 -0
  21. package/src/AdaptableState/StyledColumns/PercentBarStyle.d.ts +32 -0
  22. package/src/AdaptableState/StyledColumns/PercentBarStyle.js +1 -0
  23. package/src/AdaptableState/StyledColumns/RangeBarStyle.d.ts +155 -0
  24. package/src/AdaptableState/StyledColumns/RangeBarStyle.js +1 -0
  25. package/src/AdaptableState/StyledColumns/RatingStyle.d.ts +111 -0
  26. package/src/AdaptableState/StyledColumns/RatingStyle.js +1 -0
  27. package/src/AdaptableState/StyledColumns/SparklineStyle.d.ts +21 -0
  28. package/src/AdaptableState/StyledColumns/SparklineStyle.js +1 -0
  29. package/src/Api/ColumnScopeApi.d.ts +1 -1
  30. package/src/Api/Implementation/ColumnScopeApiImpl.d.ts +1 -1
  31. package/src/Api/Internal/StyledColumnInternalApi.d.ts +3 -1
  32. package/src/Utilities/Helpers/IconStylePresets.d.ts +1 -1
  33. package/src/Utilities/Helpers/StyledColumnGradientHelper.d.ts +3 -1
  34. package/src/Utilities/Helpers/barChartCellText.d.ts +63 -0
  35. package/src/Utilities/Helpers/barChartCellText.js +316 -0
  36. package/src/Utilities/Helpers/percentBarPreviewHelper.d.ts +2 -1
  37. package/src/Utilities/Helpers/percentBarPreviewHelper.js +3 -8
  38. package/src/View/Alert/Wizard/AlertButtonsEditor.js +159 -126
  39. package/src/View/Alert/Wizard/AlertNotificationWizardSection.js +1 -1
  40. package/src/View/Alert/Wizard/AlertWizard.js +9 -1
  41. package/src/View/Components/AdaptableObjectList/AdaptableObjectCompactList.js +3 -2
  42. package/src/View/Components/AdaptableObjectList/AdaptableObjectList.js +3 -2
  43. package/src/View/Components/AdaptableObjectList/objectListActionButtonStyles.d.ts +2 -0
  44. package/src/View/Components/AdaptableObjectList/objectListActionButtonStyles.js +2 -0
  45. package/src/View/Components/Buttons/EntityListActionButtons.js +1 -1
  46. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.d.ts +1 -0
  47. package/src/View/Components/Buttons/SuspendToggleButton/SuspendToggleButton.js +8 -8
  48. package/src/View/Components/ColumnFilter/ColumnFilter.js +14 -1
  49. package/src/View/Components/Popups/AdaptablePopup/AdaptablePopupModuleView.js +1 -1
  50. package/src/View/Components/RangesComponent.d.ts +2 -1
  51. package/src/View/Export/ExportSchedulesTab.js +3 -4
  52. package/src/View/Filter/FilterViewPanel.js +1 -1
  53. package/src/View/Layout/Wizard/sections/RowSummarySection.js +129 -103
  54. package/src/View/StyledColumn/Wizard/BadgePillStyleEditor.d.ts +1 -1
  55. package/src/View/StyledColumn/Wizard/StyledColumnBadgeSection.js +36 -30
  56. package/src/View/StyledColumn/Wizard/StyledColumnSliceStyleEditors.d.ts +1 -3
  57. package/src/View/StyledColumn/Wizard/StyledColumnWizardBulletSection.js +73 -58
  58. package/src/View/StyledColumn/Wizard/StyledColumnWizardIconSection.js +38 -11
  59. package/src/View/StyledColumn/Wizard/StyledColumnWizardRangeBarSection.js +86 -44
  60. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextLayoutEditor.d.ts +9 -0
  61. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextLayoutEditor.js +35 -0
  62. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextPreview.d.ts +23 -0
  63. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BarChartCellTextPreview.js +57 -0
  64. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/BulletRangesSummaryPreview.d.ts +1 -1
  65. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/GradientSummaryPreview.d.ts +2 -1
  66. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/RangeBarRangesSummaryPreview.d.ts +1 -1
  67. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBadgePreview.js +3 -2
  68. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.d.ts +2 -1
  69. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnBulletPreview.js +13 -17
  70. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnChartListPreviews.d.ts +2 -1
  71. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnChartListPreviews.js +5 -5
  72. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnIconPreview.js +2 -2
  73. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnPercentBarPreview.js +14 -7
  74. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRangeBarPreview.js +11 -17
  75. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/Components/StyledColumnRatingPreview.d.ts +2 -1
  76. package/src/View/StyledColumn/Wizard/StyledColumnWizardStyleSection/StyledColumnWizardStyleSection.js +18 -54
  77. package/src/agGrid/AgGridColumnAdapter.js +2 -1
  78. package/src/agGrid/cellRenderers/BadgeRenderer.js +7 -5
  79. package/src/agGrid/cellRenderers/BulletChartRenderer.js +43 -42
  80. package/src/agGrid/cellRenderers/IconRenderer.d.ts +2 -1
  81. package/src/agGrid/cellRenderers/IconRenderer.js +13 -11
  82. package/src/agGrid/cellRenderers/PercentBarRenderer.js +24 -96
  83. package/src/agGrid/cellRenderers/RangeBarRenderer.js +49 -46
  84. package/src/env.js +2 -2
  85. package/src/metamodel/adaptable.metamodel.d.ts +80 -14
  86. package/src/metamodel/adaptable.metamodel.js +1 -1
  87. package/src/migration/VersionUpgrade23.d.ts +27 -31
  88. package/src/migration/VersionUpgrade23.js +110 -29
  89. package/src/types.d.ts +12 -1
  90. package/tsconfig.esm.tsbuildinfo +1 -1
package/index.css CHANGED
@@ -552,9 +552,6 @@
552
552
  .twa\:ml-6 {
553
553
  margin-left: calc(var(--ab-base-space) * 6);
554
554
  }
555
- .twa\:ml-\[2px\] {
556
- margin-left: 2px;
557
- }
558
555
  .twa\:ml-auto {
559
556
  margin-left: auto;
560
557
  }
@@ -585,6 +582,9 @@
585
582
  .twa\:inline-flex {
586
583
  display: inline-flex;
587
584
  }
585
+ .twa\:inline-grid {
586
+ display: inline-grid;
587
+ }
588
588
  .twa\:field-sizing-content {
589
589
  field-sizing: content;
590
590
  }
@@ -687,9 +687,6 @@
687
687
  .twa\:h-\[90vh\] {
688
688
  height: 90vh;
689
689
  }
690
- .twa\:h-\[400px\] {
691
- height: 400px;
692
- }
693
690
  .twa\:h-\[calc\(--spacing\(5\.5\)\)\] {
694
691
  height: calc(calc(var(--ab-base-space) * 5.5));
695
692
  }
@@ -768,9 +765,6 @@
768
765
  .twa\:min-h-\[15px\] {
769
766
  min-height: 15px;
770
767
  }
771
- .twa\:min-h-\[20px\] {
772
- min-height: 20px;
773
- }
774
768
  .twa\:min-h-\[32px\] {
775
769
  min-height: 32px;
776
770
  }
@@ -1280,6 +1274,9 @@
1280
1274
  .twa\:grid-cols-\[4\.5rem_1fr\] {
1281
1275
  grid-template-columns: 4.5rem 1fr;
1282
1276
  }
1277
+ .twa\:grid-cols-\[160px_140px_140px\] {
1278
+ grid-template-columns: 160px 140px 140px;
1279
+ }
1283
1280
  .twa\:grid-cols-\[auto_1fr\] {
1284
1281
  grid-template-columns: auto 1fr;
1285
1282
  }
@@ -8001,6 +7998,75 @@
8001
7998
  min-width: 0;
8002
7999
  word-break: break-all;
8003
8000
  }
8001
+ .ab-ObjectListActionButton {
8002
+ border-radius: var(--ab-base-border-radius, 4px);
8003
+ min-width: 30px;
8004
+ min-height: 30px;
8005
+ box-shadow: inset 0 0 0 1px currentColor;
8006
+ }
8007
+ @supports (color: color-mix(in lab, red, red)) {
8008
+ .ab-ObjectListActionButton {
8009
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 24%, transparent);
8010
+ }
8011
+ }
8012
+ .ab-SimpleButton.ab-ObjectListActionButton--edit {
8013
+ background-color: var(--ab-color-action-edit) !important;
8014
+ }
8015
+ @supports (color: color-mix(in lab, red, red)) {
8016
+ .ab-SimpleButton.ab-ObjectListActionButton--edit {
8017
+ background-color: color-mix(in srgb, var(--ab-color-action-edit) 14%, var(--ab-color-muted)) !important;
8018
+ }
8019
+ }
8020
+ .ab-SimpleButton.ab-ObjectListActionButton--edit {
8021
+ color: var(--ab-color-action-edit);
8022
+ }
8023
+ .ab-SimpleButton.ab-ObjectListActionButton--suspend {
8024
+ background-color: var(--ab-color-primary-foreground) !important;
8025
+ }
8026
+ @supports (color: color-mix(in lab, red, red)) {
8027
+ .ab-SimpleButton.ab-ObjectListActionButton--suspend {
8028
+ background-color: color-mix( in srgb, var(--ab-color-primary-foreground) 10%, var(--ab-color-muted) ) !important;
8029
+ }
8030
+ }
8031
+ .ab-SimpleButton.ab-ObjectListActionButton--suspend {
8032
+ color: var(--ab-color-primary-foreground);
8033
+ }
8034
+ .ab-SimpleButton.ab-ObjectListActionButton--delete {
8035
+ background-color: var(--ab-color-action-delete) !important;
8036
+ }
8037
+ @supports (color: color-mix(in lab, red, red)) {
8038
+ .ab-SimpleButton.ab-ObjectListActionButton--delete {
8039
+ background-color: color-mix(in srgb, var(--ab-color-action-delete) 14%, var(--ab-color-muted)) !important;
8040
+ }
8041
+ }
8042
+ .ab-SimpleButton.ab-ObjectListActionButton--delete {
8043
+ color: var(--ab-color-action-delete);
8044
+ }
8045
+ .ab-SimpleButton.ab-ObjectListActionButton--share {
8046
+ background-color: var(--ab-color-action-share) !important;
8047
+ }
8048
+ @supports (color: color-mix(in lab, red, red)) {
8049
+ .ab-SimpleButton.ab-ObjectListActionButton--share {
8050
+ background-color: color-mix(in srgb, var(--ab-color-action-share) 14%, var(--ab-color-muted)) !important;
8051
+ }
8052
+ }
8053
+ .ab-SimpleButton.ab-ObjectListActionButton--share {
8054
+ color: var(--ab-color-action-share);
8055
+ }
8056
+ .ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
8057
+ box-shadow: inset 0 0 0 1px currentColor;
8058
+ }
8059
+ @supports (color: color-mix(in lab, red, red)) {
8060
+ .ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
8061
+ box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 38%, transparent);
8062
+ }
8063
+ }
8064
+ .ab-SimpleButton.ab-ObjectListActionButton:hover:not(:disabled) {
8065
+ filter: brightness(1.03);
8066
+ }
8067
+ .ab-SimpleButton.ab-ObjectListActionButton:disabled {
8068
+ opacity: 0.5;
8069
+ }
8004
8070
  .ab-Adaptable-Object-List__Item__label {
8005
8071
  width: var(--ab-cmp-adaptable-object-list-item-label__width);
8006
8072
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptabletools/adaptable",
3
- "version": "23.0.0-canary.7",
3
+ "version": "23.0.0-canary.8",
4
4
  "description": "Powerful AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements",
5
5
  "keywords": [
6
6
  "web-components",