@superblocksteam/library 2.0.6 → 2.0.7

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 (147) hide show
  1. package/dist/{allPaths-CROgh4Wr.js → allPaths-Boby_CDT.js} +2 -2
  2. package/dist/{allPaths-CROgh4Wr.js.map → allPaths-Boby_CDT.js.map} +1 -1
  3. package/dist/{allPaths-Va1k8Bn4.js → allPaths-d63_pjlB.js} +2 -2
  4. package/dist/{allPaths-Va1k8Bn4.js.map → allPaths-d63_pjlB.js.map} +1 -1
  5. package/dist/{allPathsLoader-BdHvMdcd.js → allPathsLoader-CmUnKzK9.js} +3 -3
  6. package/dist/{allPathsLoader-BdHvMdcd.js.map → allPathsLoader-CmUnKzK9.js.map} +1 -1
  7. package/dist/{allPathsLoader-BJthmVkF.js → allPathsLoader-DyTMsYjm.js} +3 -3
  8. package/dist/{allPathsLoader-BJthmVkF.js.map → allPathsLoader-DyTMsYjm.js.map} +1 -1
  9. package/dist/{devtools-consolidated-Ck9KuyGf.js → devtools-consolidated-B3U5EpYG.js} +2 -2
  10. package/dist/{devtools-consolidated-Ck9KuyGf.js.map → devtools-consolidated-B3U5EpYG.js.map} +1 -1
  11. package/dist/{icons-NrNO8p_u.js → icons-lSlfQ50w.js} +10 -14
  12. package/dist/icons-lSlfQ50w.js.map +1 -0
  13. package/dist/{index-CJuRwhWz.js → index-NrZGBHks.js} +19419 -17119
  14. package/dist/{index-CJuRwhWz.js.map → index-NrZGBHks.js.map} +1 -1
  15. package/dist/index.js +150 -149
  16. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js → splitPathsBySizeLoader-B6CeEPjz.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-3mcg6Jfx.js.map → splitPathsBySizeLoader-B6CeEPjz.js.map} +1 -1
  18. package/dist/{splitPathsBySizeLoader-BFbna0L2.js → splitPathsBySizeLoader-mTPqVWRR.js} +2 -2
  19. package/dist/{splitPathsBySizeLoader-BFbna0L2.js.map → splitPathsBySizeLoader-mTPqVWRR.js.map} +1 -1
  20. package/dist-types/edit-mode/create-component.d.ts +1 -1
  21. package/dist-types/edit-mode/dnd/utils.d.ts +4 -0
  22. package/dist-types/edit-mode/features/properties-panel-manager.d.ts +12 -1
  23. package/dist-types/edit-mode/features/runtime-entities-manager.d.ts +22 -22
  24. package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
  25. package/dist-types/edit-mode/iframe-wrappers.d.ts +1 -0
  26. package/dist-types/edit-mode/source-update-api.d.ts +5 -0
  27. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +7 -1
  28. package/dist-types/edit-mode/vite.d.ts +5 -0
  29. package/dist-types/internal-testing/components/slideout.d.ts +3 -0
  30. package/dist-types/lib/index.d.ts +1 -0
  31. package/dist-types/lib/internal-details/actions-context.d.ts +1 -1
  32. package/dist-types/lib/internal-details/entities-state.d.ts +2 -1
  33. package/dist-types/lib/internal-details/is-sb-component.d.ts +5 -1
  34. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +16 -27
  35. package/dist-types/lib/internal-details/lib/evaluator/binding-strings/transform-bindings.d.ts +1 -1
  36. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +3 -2
  37. package/dist-types/lib/internal-details/lib/evaluator/create-global-object.d.ts +1 -1
  38. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +3 -2
  39. package/dist-types/lib/internal-details/lib/evaluator/deep-observe.d.ts +1 -2
  40. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -7
  41. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +2 -1
  42. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +2 -2
  43. package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +6 -0
  44. package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +8 -0
  45. package/dist-types/lib/internal-details/lib/evaluator/to-executables-or-values.d.ts +2 -1
  46. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
  47. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +16 -1
  48. package/dist-types/lib/internal-details/lib/root-store.d.ts +2 -0
  49. package/dist-types/lib/internal-details/lib/types.d.ts +34 -1
  50. package/dist-types/lib/internal-details/location-store.d.ts +18 -0
  51. package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
  52. package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
  53. package/dist-types/lib/triggers/base.d.ts +1 -2
  54. package/dist-types/lib/triggers/implementations/apis/cancel-apis.d.ts +1 -8
  55. package/dist-types/lib/triggers/implementations/apis/run-apis.d.ts +3 -21
  56. package/dist-types/lib/triggers/implementations/components/control-modal.d.ts +3 -9
  57. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +5 -10
  58. package/dist-types/lib/triggers/implementations/components/reset-component.d.ts +2 -9
  59. package/dist-types/lib/triggers/implementations/components/set-component-property.d.ts +2 -9
  60. package/dist-types/lib/triggers/implementations/navigate/navigate-to-app.d.ts +1 -13
  61. package/dist-types/lib/triggers/implementations/navigate/navigate-to-route.d.ts +1 -12
  62. package/dist-types/lib/triggers/implementations/navigate/navigate-to.d.ts +1 -9
  63. package/dist-types/lib/triggers/implementations/navigate/set-query-params.d.ts +2 -8
  64. package/dist-types/lib/triggers/implementations/run-js.d.ts +1 -8
  65. package/dist-types/lib/triggers/implementations/set-profile.d.ts +2 -7
  66. package/dist-types/lib/triggers/implementations/show-alert.d.ts +3 -12
  67. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -9
  68. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +4 -11
  69. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -9
  70. package/dist-types/lib/triggers/implementations/trigger-event.d.ts +1 -7
  71. package/dist-types/lib/triggers/registry.d.ts +4 -175
  72. package/dist-types/lib/triggers/run-event-handlers.d.ts +2 -2
  73. package/dist-types/lib/user-facing/build-manifest.d.ts +2 -0
  74. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +5 -1
  75. package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
  76. package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
  77. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
  78. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
  79. package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
  80. package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
  81. package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
  82. package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
  83. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +14 -11
  84. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
  85. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
  86. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
  87. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
  88. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -2
  89. package/dist-types/lib/user-facing/components/grid/index.d.ts +20 -18
  90. package/dist-types/lib/user-facing/components/icon/index.d.ts +11 -13
  91. package/dist-types/lib/user-facing/components/icon/props.d.ts +11 -13
  92. package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
  93. package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
  94. package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
  95. package/dist-types/lib/user-facing/components/input/input-component.d.ts +1 -0
  96. package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
  97. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
  98. package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
  99. package/dist-types/lib/user-facing/components/modal/index.d.ts +27 -31
  100. package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
  101. package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
  102. package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
  103. package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
  104. package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
  105. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +10 -0
  106. package/dist-types/lib/user-facing/components/slideout/index.d.ts +41 -1
  107. package/dist-types/lib/user-facing/components/slideout/props.d.ts +39 -19
  108. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +31 -0
  109. package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
  110. package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
  111. package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
  112. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +262 -161
  113. package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +1 -0
  114. package/dist-types/lib/user-facing/components/table/index.d.ts +305 -204
  115. package/dist-types/lib/user-facing/components/table/props.d.ts +305 -204
  116. package/dist-types/lib/user-facing/components/table/table-component.d.ts +1 -0
  117. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +7 -10
  118. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +8 -6
  119. package/dist-types/lib/user-facing/components/table/types.d.ts +34 -32
  120. package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
  121. package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
  122. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  123. package/dist-types/lib/user-facing/entities/api/props.d.ts +20 -11
  124. package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +20 -0
  125. package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
  126. package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
  127. package/dist-types/lib/user-facing/global-functions.d.ts +2 -1
  128. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +14 -0
  129. package/dist-types/lib/user-facing/internal-index.d.ts +1 -1
  130. package/dist-types/lib/user-facing/layers.d.ts +1 -2
  131. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +4 -0
  132. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +13 -13
  133. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
  134. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
  135. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +46 -46
  136. package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
  137. package/dist-types/lib/user-facing/properties-panel/properties-panel-definition.d.ts +1 -2
  138. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +32 -13
  139. package/dist-types/lib/user-facing/properties-panel/validators.d.ts +1 -1
  140. package/dist-types/lib/user-facing/sb-event-flow.d.ts +6 -8
  141. package/dist-types/lib/user-facing/sb-provider.d.ts +1 -2
  142. package/dist-types/lib/user-facing/state/create-bindable-entity-proxy.d.ts +1 -2
  143. package/dist-types/lib/user-facing/utils/notification.d.ts +1 -2
  144. package/package.json +4 -3
  145. package/dist/icons-NrNO8p_u.js.map +0 -1
  146. package/dist-types/lib/sb-trigger.d.ts +0 -48
  147. package/dist-types/lib/user-facing/components/grid/utils.d.ts +0 -1
@@ -3,175 +3,276 @@ import { type BooleanStyleFalse, ColumnType, ImageSize } from "./types.js";
3
3
  import type { IconPosition } from "../../icons/constants.js";
4
4
  import type { ButtonVariant } from "../button/props.js";
5
5
  export declare const columnPanelConfig: {
6
- general: Section<(Record<string, Prop<any, any>> & ({
7
- label: Prop<string, false>;
6
+ general: Section<(Record<string, Prop<any, any, undefined>> & ({
7
+ label: Prop<string, false, undefined>;
8
8
  } & (Omit<{
9
- columnType: Prop<ColumnType, true>;
9
+ columnType: Prop<ColumnType, true, undefined>;
10
10
  }, "columnType"> & ({
11
- displayedValue: Prop<string, false>;
12
- isDerived: Prop<boolean, true>;
13
- columnType: Prop<undefined, false>;
14
- } | {
15
- displayedValue: Prop<string, false>;
16
- isDerived: Prop<boolean, true>;
17
- columnType: Prop<"text", true>;
18
- } | {
19
- notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
20
- minimumFractionDigits: Prop<number, false>;
21
- maximumFractionDigits: Prop<number, false>;
22
- isDerived: Prop<boolean, true>;
23
- columnType: Prop<"number", true>;
24
- } | {
25
- notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
26
- minimumFractionDigits: Prop<number, false>;
27
- maximumFractionDigits: Prop<number, false>;
28
- currency: Prop<string, true>;
29
- isDerived: Prop<boolean, true>;
30
- columnType: Prop<"currency", true>;
31
- } | {
32
- minimumFractionDigits: Prop<number, false>;
33
- maximumFractionDigits: Prop<number, false>;
34
- isDerived: Prop<boolean, true>;
35
- columnType: Prop<"percentage", true>;
36
- } | {
37
- openImageUrl: Prop<boolean, true>;
38
- isDerived: Prop<boolean, true>;
39
- columnType: Prop<"image", true>;
40
- } | {
41
- isDerived: Prop<boolean, true>;
42
- columnType: Prop<"video", true>;
43
- } | {
44
- manageTimezone: Prop<boolean, true>;
45
- inputFormat: Prop<string, false>;
46
- outputFormat: Prop<string, false>;
47
- isDerived: Prop<boolean, true>;
48
- columnType: Prop<"date", true>;
49
- } | {
50
- buttonLabel: Prop<string, true>;
51
- isDisabled: Prop<boolean, false>;
52
- columnType: Prop<"button", true>;
53
- } | {
54
- linkLabel: Prop<string, false>;
55
- columnType: Prop<"link", true>;
56
- } | {
57
- isDerived: Prop<boolean, true>;
58
- columnType: Prop<"boolean", true>;
59
- } | {
60
- isDerived: Prop<boolean, true>;
61
- columnType: Prop<"tags", true>;
62
- } | {
63
- displayedValue: Prop<string, false>;
64
- isDerived: Prop<boolean, true>;
65
- columnType: Prop<"email", true>;
11
+ displayedValue: Prop<string, false, [{
12
+ currentRow: Record<string, unknown>;
13
+ }]>;
14
+ isDerived: Prop<boolean, true, undefined>;
15
+ columnType: Prop<undefined, false, undefined>;
16
+ } | {
17
+ displayedValue: Prop<string, false, [{
18
+ currentRow: Record<string, unknown>;
19
+ }]>;
20
+ isDerived: Prop<boolean, true, undefined>;
21
+ columnType: Prop<"text", true, undefined>;
22
+ } | {
23
+ notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false, [{
24
+ currentRow: Record<string, unknown>;
25
+ }]>;
26
+ minimumFractionDigits: Prop<number, false, [{
27
+ currentRow: Record<string, unknown>;
28
+ }]>;
29
+ maximumFractionDigits: Prop<number, false, [{
30
+ currentRow: Record<string, unknown>;
31
+ }]>;
32
+ isDerived: Prop<boolean, true, undefined>;
33
+ columnType: Prop<"number", true, undefined>;
34
+ } | {
35
+ notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false, [{
36
+ currentRow: Record<string, unknown>;
37
+ }]>;
38
+ minimumFractionDigits: Prop<number, false, [{
39
+ currentRow: Record<string, unknown>;
40
+ }]>;
41
+ maximumFractionDigits: Prop<number, false, [{
42
+ currentRow: Record<string, unknown>;
43
+ }]>;
44
+ currency: Prop<string, true, [{
45
+ currentRow: Record<string, unknown>;
46
+ }]>;
47
+ isDerived: Prop<boolean, true, undefined>;
48
+ columnType: Prop<"currency", true, undefined>;
49
+ } | {
50
+ minimumFractionDigits: Prop<number, false, [{
51
+ currentRow: Record<string, unknown>;
52
+ }]>;
53
+ maximumFractionDigits: Prop<number, false, [{
54
+ currentRow: Record<string, unknown>;
55
+ }]>;
56
+ isDerived: Prop<boolean, true, undefined>;
57
+ columnType: Prop<"percentage", true, undefined>;
58
+ } | {
59
+ openImageUrl: Prop<boolean, true, undefined>;
60
+ isDerived: Prop<boolean, true, undefined>;
61
+ columnType: Prop<"image", true, undefined>;
62
+ } | {
63
+ isDerived: Prop<boolean, true, undefined>;
64
+ columnType: Prop<"video", true, undefined>;
65
+ } | {
66
+ manageTimezone: Prop<boolean, true, [{
67
+ currentRow: Record<string, unknown>;
68
+ }]>;
69
+ inputFormat: Prop<string, false, [{
70
+ currentRow: Record<string, unknown>;
71
+ }]>;
72
+ outputFormat: Prop<string, false, [{
73
+ currentRow: Record<string, unknown>;
74
+ }]>;
75
+ isDerived: Prop<boolean, true, undefined>;
76
+ columnType: Prop<"date", true, undefined>;
77
+ } | {
78
+ buttonLabel: Prop<string, true, [{
79
+ currentRow: Record<string, unknown>;
80
+ }]>;
81
+ isDisabled: Prop<boolean, false, [{
82
+ currentRow: Record<string, unknown>;
83
+ }]>;
84
+ columnType: Prop<"button", true, undefined>;
85
+ } | {
86
+ linkUrl: Prop<string, false, [{
87
+ currentRow: Record<string, unknown>;
88
+ }]>;
89
+ linkLabel: Prop<string, false, [{
90
+ currentRow: Record<string, unknown>;
91
+ }]>;
92
+ columnType: Prop<"link", true, undefined>;
93
+ } | {
94
+ isDerived: Prop<boolean, true, undefined>;
95
+ columnType: Prop<"boolean", true, undefined>;
96
+ } | {
97
+ isDerived: Prop<boolean, true, undefined>;
98
+ columnType: Prop<"tags", true, undefined>;
99
+ } | {
100
+ displayedValue: Prop<string, false, [{
101
+ currentRow: Record<string, unknown>;
102
+ }]>;
103
+ isDerived: Prop<boolean, true, undefined>;
104
+ columnType: Prop<"email", true, undefined>;
66
105
  })))) & {
67
- isVisible: Prop<boolean, true>;
106
+ isVisible: Prop<boolean, true, undefined>;
68
107
  }>;
69
- presentation: Section<(Record<string, Prop<any, any>> & ({
70
- headerIcon: Prop<string, false>;
71
- headerIconPosition: Prop<IconPosition, true>;
108
+ presentation: Section<(Record<string, Prop<any, any, undefined>> & ({
109
+ headerIcon: Prop<string, false, undefined>;
110
+ headerIconPosition: Prop<IconPosition, true, undefined>;
72
111
  } & (Omit<{
73
- columnType: Prop<ColumnType, false>;
112
+ columnType: Prop<ColumnType, false, undefined>;
74
113
  }, "columnType"> & ({
75
- horizontalAlign: Prop<"center" | "left" | "right", true>;
76
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
77
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
78
- cellBackground: Prop<string, true>;
79
- textWrap: Prop<boolean, false>;
80
- columnType: Prop<undefined, false>;
81
- } | {
82
- horizontalAlign: Prop<"center" | "left" | "right", true>;
83
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
84
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
85
- cellBackground: Prop<string, true>;
86
- textWrap: Prop<boolean, false>;
87
- columnType: Prop<"text", true>;
88
- } | {
89
- horizontalAlign: Prop<"center" | "left" | "right", true>;
90
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
91
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
92
- cellBackground: Prop<string, true>;
93
- textWrap: Prop<boolean, false>;
94
- cellIcon: Prop<string, false>;
95
- cellIconPosition: Prop<IconPosition, true>;
96
- columnType: Prop<"number", true>;
97
- } | {
98
- horizontalAlign: Prop<"center" | "left" | "right", true>;
99
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
100
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
101
- cellBackground: Prop<string, true>;
102
- textWrap: Prop<boolean, false>;
103
- cellIcon: Prop<string, false>;
104
- cellIconPosition: Prop<IconPosition, true>;
105
- columnType: Prop<"currency", true>;
106
- } | {
107
- horizontalAlign: Prop<"center" | "left" | "right", true>;
108
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
109
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
110
- cellBackground: Prop<string, true>;
111
- textWrap: Prop<boolean, false>;
112
- cellIcon: Prop<string, false>;
113
- cellIconPosition: Prop<IconPosition, true>;
114
- columnType: Prop<"percentage", true>;
115
- } | {
116
- imageSize: Prop<ImageSize, false>;
117
- imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
118
- horizontalAlign: Prop<"center" | "left" | "right", true>;
119
- cellBackground: Prop<string, true>;
120
- columnType: Prop<"image", true>;
121
- } | {
122
- horizontalAlign: Prop<"center" | "left" | "right", true>;
123
- cellBackground: Prop<string, true>;
124
- columnType: Prop<"video", true>;
125
- } | {
126
- horizontalAlign: Prop<"center" | "left" | "right", true>;
127
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
128
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
129
- cellBackground: Prop<string, true>;
130
- textWrap: Prop<boolean, false>;
131
- cellIcon: Prop<string, false>;
132
- cellIconPosition: Prop<IconPosition, true>;
133
- columnType: Prop<"date", true>;
134
- } | {
135
- buttonIcon: Prop<string, false>;
136
- buttonIconPosition: Prop<IconPosition, true>;
137
- buttonVariant: Prop<ButtonVariant, true>;
138
- buttonTextStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
139
- buttonBackgroundColor: Prop<string, false>;
140
- buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
141
- columnType: Prop<"button", true>;
142
- } | {
143
- horizontalAlign: Prop<"center" | "left" | "right", true>;
144
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
145
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
146
- cellBackground: Prop<string, true>;
147
- columnType: Prop<"link", true>;
148
- } | {
149
- horizontalAlign: Prop<"center" | "left" | "right", true>;
150
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
151
- cellBackground: Prop<string, true>;
152
- booleanStyleFalse: Prop<BooleanStyleFalse, true>;
153
- columnType: Prop<"boolean", true>;
154
- } | {
155
- horizontalAlign: Prop<"center" | "left" | "right", true>;
156
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
157
- cellBackground: Prop<string, true>;
158
- tagsWrap: Prop<boolean, false>;
159
- tagDisplayConfig: Prop<any, false>;
160
- columnType: Prop<"tags", true>;
161
- } | {
162
- horizontalAlign: Prop<"center" | "left" | "right", true>;
163
- verticalAlign: Prop<"center" | "top" | "bottom", true>;
164
- "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
165
- cellBackground: Prop<string, true>;
166
- textWrap: Prop<boolean, false>;
167
- columnType: Prop<"email", true>;
114
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
115
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
116
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
117
+ cellBackground: Prop<string, true, undefined>;
118
+ textWrap: Prop<boolean, false, [{
119
+ currentRow: Record<string, unknown>;
120
+ }]>;
121
+ cellIcon: Prop<string, false, [{
122
+ currentRow: Record<string, unknown>;
123
+ }]>;
124
+ cellIconPosition: Prop<IconPosition, true, [{
125
+ currentRow: Record<string, unknown>;
126
+ }]>;
127
+ columnType: Prop<undefined, false, undefined>;
128
+ } | {
129
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
130
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
131
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
132
+ cellBackground: Prop<string, true, undefined>;
133
+ textWrap: Prop<boolean, false, [{
134
+ currentRow: Record<string, unknown>;
135
+ }]>;
136
+ cellIcon: Prop<string, false, [{
137
+ currentRow: Record<string, unknown>;
138
+ }]>;
139
+ cellIconPosition: Prop<IconPosition, true, [{
140
+ currentRow: Record<string, unknown>;
141
+ }]>;
142
+ columnType: Prop<"text", true, undefined>;
143
+ } | {
144
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
145
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
146
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
147
+ cellBackground: Prop<string, true, undefined>;
148
+ textWrap: Prop<boolean, false, [{
149
+ currentRow: Record<string, unknown>;
150
+ }]>;
151
+ cellIcon: Prop<string, false, [{
152
+ currentRow: Record<string, unknown>;
153
+ }]>;
154
+ cellIconPosition: Prop<IconPosition, true, [{
155
+ currentRow: Record<string, unknown>;
156
+ }]>;
157
+ columnType: Prop<"number", true, undefined>;
158
+ } | {
159
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
160
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
161
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
162
+ cellBackground: Prop<string, true, undefined>;
163
+ textWrap: Prop<boolean, false, [{
164
+ currentRow: Record<string, unknown>;
165
+ }]>;
166
+ cellIcon: Prop<string, false, [{
167
+ currentRow: Record<string, unknown>;
168
+ }]>;
169
+ cellIconPosition: Prop<IconPosition, true, [{
170
+ currentRow: Record<string, unknown>;
171
+ }]>;
172
+ columnType: Prop<"currency", true, undefined>;
173
+ } | {
174
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
175
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
176
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
177
+ cellBackground: Prop<string, true, undefined>;
178
+ textWrap: Prop<boolean, false, [{
179
+ currentRow: Record<string, unknown>;
180
+ }]>;
181
+ cellIcon: Prop<string, false, [{
182
+ currentRow: Record<string, unknown>;
183
+ }]>;
184
+ cellIconPosition: Prop<IconPosition, true, [{
185
+ currentRow: Record<string, unknown>;
186
+ }]>;
187
+ columnType: Prop<"percentage", true, undefined>;
188
+ } | {
189
+ imageSize: Prop<ImageSize, false, [{
190
+ currentRow: Record<string, unknown>;
191
+ }]>;
192
+ imageBorderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, [{
193
+ currentRow: Record<string, unknown>;
194
+ }]>;
195
+ horizontalAlign: Prop<"center" | "left" | "right", true, [{
196
+ currentRow: Record<string, unknown>;
197
+ }]>;
198
+ cellBackground: Prop<string, true, undefined>;
199
+ columnType: Prop<"image", true, undefined>;
200
+ } | {
201
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
202
+ cellBackground: Prop<string, true, undefined>;
203
+ columnType: Prop<"video", true, undefined>;
204
+ } | {
205
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
206
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
207
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
208
+ cellBackground: Prop<string, true, undefined>;
209
+ textWrap: Prop<boolean, false, [{
210
+ currentRow: Record<string, unknown>;
211
+ }]>;
212
+ cellIcon: Prop<string, false, [{
213
+ currentRow: Record<string, unknown>;
214
+ }]>;
215
+ cellIconPosition: Prop<IconPosition, true, [{
216
+ currentRow: Record<string, unknown>;
217
+ }]>;
218
+ columnType: Prop<"date", true, undefined>;
219
+ } | {
220
+ buttonIcon: Prop<string, false, [{
221
+ currentRow: Record<string, unknown>;
222
+ }]>;
223
+ buttonIconPosition: Prop<IconPosition, true, undefined>;
224
+ buttonVariant: Prop<ButtonVariant, true, [{
225
+ currentRow: Record<string, unknown>;
226
+ }]>;
227
+ buttonTextStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
228
+ buttonBackgroundColor: Prop<string, false, [{
229
+ currentRow: Record<string, unknown>;
230
+ }]>;
231
+ buttonBorder: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
232
+ columnType: Prop<"button", true, undefined>;
233
+ } | {
234
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
235
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
236
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
237
+ cellBackground: Prop<string, true, undefined>;
238
+ columnType: Prop<"link", true, undefined>;
239
+ } | {
240
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
241
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
242
+ cellBackground: Prop<string, true, undefined>;
243
+ booleanStyleFalse: Prop<BooleanStyleFalse, true, undefined>;
244
+ columnType: Prop<"boolean", true, undefined>;
245
+ } | {
246
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
247
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
248
+ cellBackground: Prop<string, true, undefined>;
249
+ tagsWrap: Prop<boolean, false, [{
250
+ currentRow: Record<string, unknown>;
251
+ }]>;
252
+ tagDisplayConfig: Prop<any, false, undefined>;
253
+ columnType: Prop<"tags", true, undefined>;
254
+ } | {
255
+ horizontalAlign: Prop<"center" | "left" | "right", true, undefined>;
256
+ verticalAlign: Prop<"center" | "top" | "bottom", true, undefined>;
257
+ "cellProps.textStyle": Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
258
+ cellBackground: Prop<string, true, undefined>;
259
+ textWrap: Prop<boolean, false, [{
260
+ currentRow: Record<string, unknown>;
261
+ }]>;
262
+ cellIcon: Prop<string, false, [{
263
+ currentRow: Record<string, unknown>;
264
+ }]>;
265
+ cellIconPosition: Prop<IconPosition, true, [{
266
+ currentRow: Record<string, unknown>;
267
+ }]>;
268
+ columnType: Prop<"email", true, undefined>;
168
269
  })))) & {
169
- isFrozen: Prop<boolean, false>;
270
+ isFrozen: Prop<boolean, false, undefined>;
170
271
  }>;
171
- interaction: Section<Record<string, Prop<any, any>> & Omit<{
172
- columnType: Prop<ColumnType, false>;
272
+ interaction: Section<Record<string, Prop<any, any, undefined>> & Omit<{
273
+ columnType: Prop<ColumnType, false, undefined>;
173
274
  }, "onClick" | "columnType"> & {
174
- columnType: Prop<"button", true>;
175
- onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
275
+ columnType: Prop<"button", true, undefined>;
276
+ onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
176
277
  }>;
177
278
  };
@@ -56,6 +56,7 @@ export declare const TableHeaderCell: (props: {
56
56
  handleHeaderDropped: (index: number, position: number) => void;
57
57
  mutableHeaderDragRef: React.MutableRefObject<number>;
58
58
  columnHeaderProps?: TextStyleWithVariant;
59
+ columnHeaderTextWrap?: boolean;
59
60
  theme: UserAccessibleTheme;
60
61
  updateProperty: (property: string, value: any) => void;
61
62
  }) => React.JSX.Element;