@superblocksteam/library 2.0.0-next.4 → 2.0.0-next.41

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 (87) hide show
  1. package/dist/{allPaths-D8-iN1no.js → allPaths-Bj6thg9f.js} +2 -2
  2. package/dist/{allPaths-D8-iN1no.js.map → allPaths-Bj6thg9f.js.map} +1 -1
  3. package/dist/{allPaths-CF1gtIOM.js → allPaths-Cv0KigTj.js} +2 -2
  4. package/dist/{allPaths-CF1gtIOM.js.map → allPaths-Cv0KigTj.js.map} +1 -1
  5. package/dist/{allPathsLoader-BeBFpQBL.js → allPathsLoader-AuVCeQbD.js} +3 -3
  6. package/dist/{allPathsLoader-BeBFpQBL.js.map → allPathsLoader-AuVCeQbD.js.map} +1 -1
  7. package/dist/{allPathsLoader-C9Zv92Qq.js → allPathsLoader-DzJ5WE4I.js} +3 -3
  8. package/dist/{allPathsLoader-C9Zv92Qq.js.map → allPathsLoader-DzJ5WE4I.js.map} +1 -1
  9. package/dist/{icons-BrNMuu_I.js → icons-D_yAT9A6.js} +27 -19
  10. package/dist/icons-D_yAT9A6.js.map +1 -0
  11. package/dist/{index-BKcgNC6z.js → index-sY8OAGZZ.js} +50584 -49585
  12. package/dist/{index-BKcgNC6z.js.map → index-sY8OAGZZ.js.map} +1 -1
  13. package/dist/index.js +2 -2
  14. package/dist/{splitPathsBySizeLoader-B1mX23Pc.js → splitPathsBySizeLoader-B9VbwPK4.js} +2 -2
  15. package/dist/{splitPathsBySizeLoader-B1mX23Pc.js.map → splitPathsBySizeLoader-B9VbwPK4.js.map} +1 -1
  16. package/dist/{splitPathsBySizeLoader-B2lh3sPK.js → splitPathsBySizeLoader-CFT4USmT.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-B2lh3sPK.js.map → splitPathsBySizeLoader-CFT4USmT.js.map} +1 -1
  18. package/dist-types/edit-mode/default-table-data.d.ts +64 -0
  19. package/dist-types/edit-mode/dnd/utils.d.ts +11 -1
  20. package/dist-types/edit-mode/features/operation-store.d.ts +4 -0
  21. package/dist-types/edit-mode/source-update-api.d.ts +2 -1
  22. package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -1
  23. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +3 -2
  24. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -1
  25. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +8 -0
  26. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -1
  27. package/dist-types/lib/triggers/implementations/show-alert.d.ts +6 -5
  28. package/dist-types/lib/triggers/registry.d.ts +4 -2
  29. package/dist-types/lib/user-facing/component-base/constants.d.ts +4 -4
  30. package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +3 -3
  31. package/dist-types/lib/user-facing/components/button/index.d.ts +0 -1
  32. package/dist-types/lib/user-facing/components/button/props.d.ts +0 -6
  33. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +0 -1
  34. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +0 -1
  35. package/dist-types/lib/user-facing/components/column/index.d.ts +5 -6
  36. package/dist-types/lib/user-facing/components/column/props.d.ts +27 -29
  37. package/dist-types/lib/user-facing/components/container/index.d.ts +4 -5
  38. package/dist-types/lib/user-facing/components/container/props.d.ts +4 -5
  39. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +0 -1
  40. package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +11 -4
  41. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +2 -3
  42. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +2 -3
  43. package/dist-types/lib/user-facing/components/date-picker/types.d.ts +2 -2
  44. package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +11 -0
  45. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +1 -2
  46. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +1 -2
  47. package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -1
  48. package/dist-types/lib/user-facing/components/grid/index.d.ts +0 -1
  49. package/dist-types/lib/user-facing/components/icon/index.d.ts +0 -1
  50. package/dist-types/lib/user-facing/components/icon/props.d.ts +0 -1
  51. package/dist-types/lib/user-facing/components/image/index.d.ts +1 -2
  52. package/dist-types/lib/user-facing/components/image/props.d.ts +1 -2
  53. package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +0 -1
  54. package/dist-types/lib/user-facing/components/input/index.d.ts +0 -1
  55. package/dist-types/lib/user-facing/components/input/props.d.ts +2 -4
  56. package/dist-types/lib/user-facing/components/key-value/props.d.ts +0 -1
  57. package/dist-types/lib/user-facing/components/modal/index.d.ts +4 -4
  58. package/dist-types/lib/user-facing/components/modal/props.d.ts +4 -4
  59. package/dist-types/lib/user-facing/components/section/index.d.ts +4 -3
  60. package/dist-types/lib/user-facing/components/section/props.d.ts +4 -3
  61. package/dist-types/lib/user-facing/components/slideout/props.d.ts +0 -1
  62. package/dist-types/lib/user-facing/components/stack/index.d.ts +6 -9
  63. package/dist-types/lib/user-facing/components/switch/index.d.ts +0 -1
  64. package/dist-types/lib/user-facing/components/switch/props.d.ts +0 -1
  65. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +14 -9
  66. package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +2 -2
  67. package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +4 -4
  68. package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +3 -3
  69. package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
  70. package/dist-types/lib/user-facing/components/table/index.d.ts +25 -22
  71. package/dist-types/lib/user-facing/components/table/props.d.ts +26 -24
  72. package/dist-types/lib/user-facing/components/table/table-component.d.ts +3 -3
  73. package/dist-types/lib/user-facing/components/table/table-styles.d.ts +0 -1
  74. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +0 -1
  75. package/dist-types/lib/user-facing/components/table/types.d.ts +7 -13
  76. package/dist-types/lib/user-facing/components/text/index.d.ts +0 -1
  77. package/dist-types/lib/user-facing/components/text/props.d.ts +0 -1
  78. package/dist-types/lib/user-facing/global-functions.d.ts +2 -1
  79. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +1 -0
  80. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
  81. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +11 -13
  82. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +2 -1
  83. package/dist-types/lib/user-facing/sb-event-flow.d.ts +3 -3
  84. package/dist-types/lib/user-facing/themes/constants.d.ts +1 -0
  85. package/dist-types/lib/user-facing/utils/notification.d.ts +17 -0
  86. package/package.json +4 -3
  87. package/dist/icons-BrNMuu_I.js.map +0 -1
@@ -4,7 +4,7 @@ export declare const SbDatePicker: React.FC<import("../../properties-panel/props
4
4
  label: import("../../properties-panel/props-builder.js").Prop<string, true>;
5
5
  defaultDate: import("../../properties-panel/props-builder.js").Prop<string, false>;
6
6
  dateFormat: import("../../properties-panel/props-builder.js").Prop<string, true>;
7
- displayDateFormat: import("../../properties-panel/props-builder.js").Prop<string, false>;
7
+ displayDateFormat: import("../../properties-panel/props-builder.js").Prop<string, true>;
8
8
  } & (Omit<{
9
9
  manageTimezone: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
10
10
  }, "manageTimezone" | "displayTimezone" | "valueTimezone"> & ({
@@ -29,12 +29,11 @@ export declare const SbDatePicker: React.FC<import("../../properties-panel/props
29
29
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
30
30
  } & {
31
31
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
32
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
33
32
  }>;
34
33
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
35
34
  labelPosition: import("../../properties-panel/props-builder.js").Prop<"left" | "top", true>;
36
35
  labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
37
- showIcon: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
36
+ icon: import("../../properties-panel/props-builder.js").Prop<string, true>;
38
37
  }>;
39
38
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
40
39
  customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
@@ -6,7 +6,7 @@ export declare const propertiesDefinition: {
6
6
  label: Prop<string, true>;
7
7
  defaultDate: Prop<string, false>;
8
8
  dateFormat: Prop<string, true>;
9
- displayDateFormat: Prop<string, false>;
9
+ displayDateFormat: Prop<string, true>;
10
10
  } & (Omit<{
11
11
  manageTimezone: Prop<boolean, true>;
12
12
  }, "manageTimezone" | "displayTimezone" | "valueTimezone"> & ({
@@ -31,12 +31,11 @@ export declare const propertiesDefinition: {
31
31
  margin: Prop<unknown, true>;
32
32
  } & {
33
33
  isVisible: Prop<boolean, true>;
34
- collapseWhenInvisible: Prop<boolean, false>;
35
34
  }>;
36
35
  appearance: Section<Record<string, Prop<any, any>> & {
37
36
  labelPosition: Prop<"left" | "top", true>;
38
37
  labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
39
- showIcon: Prop<boolean, true>;
38
+ icon: Prop<string, true>;
40
39
  }>;
41
40
  interaction: Section<Record<string, Prop<any, any>> & {
42
41
  customValidationRule: Prop<string, true>;
@@ -19,8 +19,8 @@ export interface DatePickerComponentProps {
19
19
  timezone?: string;
20
20
  isRequired?: boolean;
21
21
  showTimezone?: boolean;
22
- showCalendarIcon?: boolean;
23
22
  forceOpen?: boolean;
23
+ icon?: string;
24
24
  iconSize?: number;
25
25
  inputClassName?: string;
26
26
  inputStyleOverride?: React.CSSProperties;
@@ -35,6 +35,6 @@ export interface DatePickerComponentProps {
35
35
  errorMessages?: string[];
36
36
  isFitContentHeight?: boolean;
37
37
  onInputClick?: (e: React.MouseEvent) => void;
38
- onDateSelected: (selectedDate: string) => void;
38
+ onDateSelected: (selectedDate?: string) => void;
39
39
  onDatePickerClosed?: () => void;
40
40
  }
@@ -16,6 +16,17 @@ export declare function normalizeDateFormat(dateFormat: string): string;
16
16
  * @returns {string} - The formatted date string in "MM/DD/YYYY HH:mm:ss" format.
17
17
  */
18
18
  export declare function stripTimezoneFromString(dateString: string, format: string): string;
19
+ /**
20
+ * Because the datepicker UI component works with JavaScript dates (which use the system TZ),
21
+ * we want to "strip" the timezone when passing it to this copmonent.
22
+ *
23
+ * For example:
24
+ * If the selected date is 01/01/2001 01:00PM EST and the system time is PST, we want to create a JS Date that has the value
25
+ * 01/01/2001 01:00PM PST and pass that to the blueprint datepicker.
26
+ *
27
+ * Then, when the user selects a date, we receive a date object with a value of 01/01/2001 02:00PM PST
28
+ * which we then convert to 01/01/2001 2:00PM EST to store as the selectedDate
29
+ */
19
30
  export declare const stripTimezoneFromDate: (date: Date, dateFormat: string, timezone?: string) => string;
20
31
  export declare const convertDateStringTimezone: (dateStr: string, dateFormat: string, originalTimezone?: string, newTimezone?: string) => string;
21
32
  export declare const formatIncludesTimezone: (dateFormat: string) => boolean;
@@ -32,12 +32,11 @@ export declare const SbDropdown: React.FC<import("../../properties-panel/props-b
32
32
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
33
33
  } & {
34
34
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
35
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
36
35
  }>;
37
36
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
38
37
  customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
39
38
  customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
40
- isMultiple: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
39
+ multiselect: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
41
40
  allowSelectAll: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
42
41
  allowClearing: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
43
42
  clientSideFiltering: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
@@ -34,12 +34,11 @@ export declare const propertiesDefinition: {
34
34
  margin: Prop<unknown, true>;
35
35
  } & {
36
36
  isVisible: Prop<boolean, true>;
37
- collapseWhenInvisible: Prop<boolean, false>;
38
37
  }>;
39
38
  interaction: Section<Record<string, Prop<any, any>> & {
40
39
  customValidationRule: Prop<string, true>;
41
40
  customErrorMessage: Prop<string, true>;
42
- isMultiple: Prop<boolean, true>;
41
+ multiselect: Prop<boolean, true>;
43
42
  allowSelectAll: Prop<boolean, true>;
44
43
  allowClearing: Prop<boolean, true>;
45
44
  clientSideFiltering: Prop<boolean, true>;
@@ -57,7 +57,7 @@ export interface DropdownComponentState {
57
57
  }
58
58
  export interface BaseProps {
59
59
  defaultOptionValue?: string | string[];
60
- isMultiple?: boolean;
60
+ multiselect?: boolean;
61
61
  isRequired?: boolean;
62
62
  clientSideFiltering?: boolean;
63
63
  isVertical?: boolean;
@@ -28,7 +28,6 @@ declare const _propertiesDefinition: {
28
28
  margin: Prop<unknown, true>;
29
29
  } & {
30
30
  isVisible: Prop<boolean, true>;
31
- collapseWhenInvisible: Prop<boolean, false>;
32
31
  }>;
33
32
  };
34
33
  export type GridProps = InternalProps<typeof _propertiesDefinition>;
@@ -10,7 +10,6 @@ export declare const SbIcon: import("react").FC<import("../../properties-panel/p
10
10
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
11
11
  } & {
12
12
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
13
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
14
13
  }>;
15
14
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
16
15
  color: import("../../properties-panel/props-builder.js").Prop<string, false>;
@@ -12,7 +12,6 @@ export declare const propertiesDefinition: {
12
12
  margin: Prop<unknown, true>;
13
13
  } & {
14
14
  isVisible: Prop<boolean, true>;
15
- collapseWhenInvisible: Prop<boolean, false>;
16
15
  }>;
17
16
  appearance: Section<Record<string, Prop<any, any>> & {
18
17
  color: Prop<string, false>;
@@ -4,7 +4,7 @@ export declare const SbImage: import("react").FC<import("../../properties-panel/
4
4
  }>;
5
5
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
6
6
  backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
7
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
7
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
8
8
  borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
9
9
  fillContainer: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
10
10
  align: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ImageAlign, true>;
@@ -21,7 +21,6 @@ export declare const SbImage: import("react").FC<import("../../properties-panel/
21
21
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
22
22
  } & {
23
23
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
24
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
25
24
  }>;
26
25
  events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
27
26
  onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
@@ -14,7 +14,7 @@ export declare const propertiesDefinition: {
14
14
  }>;
15
15
  appearance: Section<Record<string, Prop<any, any>> & {
16
16
  backgroundColor: Prop<string, false>;
17
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
17
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
18
18
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
19
19
  fillContainer: Prop<boolean, true>;
20
20
  align: Prop<ImageAlign, true>;
@@ -31,7 +31,6 @@ export declare const propertiesDefinition: {
31
31
  margin: Prop<unknown, true>;
32
32
  } & {
33
33
  isVisible: Prop<boolean, true>;
34
- collapseWhenInvisible: Prop<boolean, false>;
35
34
  }>;
36
35
  events: Section<Record<string, Prop<any, any>> & {
37
36
  onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
@@ -1,5 +1,4 @@
1
1
  import type { InputWidgetProps } from "./types.js";
2
2
  export declare function getValue(this: InputWidgetProps): string | number | null | undefined;
3
- export declare function getValidationErrors(this: InputWidgetProps): Record<"number" | "url" | "required" | "email" | "minMax" | "customRule", string | undefined>;
4
3
  export declare function getShowError(this: InputWidgetProps): boolean;
5
4
  export declare function getIsValid(this: InputWidgetProps): boolean;
@@ -54,7 +54,6 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
54
54
  labelWidth?: undefined;
55
55
  }))))) & {
56
56
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
57
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
58
57
  }>;
59
58
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
60
59
  inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
@@ -1,7 +1,6 @@
1
1
  import { Section, Prop } from "../../properties-panel/props-builder.js";
2
2
  import type { CurrencyCodeDisplayType } from "./types.js";
3
3
  import type { IconPosition } from "../../icons/constants.js";
4
- import type { TextStyleWithVariant } from "@superblocksteam/library-shared/types";
5
4
  export declare const propertiesDefinition: {
6
5
  general: Section<(Record<string, Prop<any, any>> & ({
7
6
  label: Prop<string, true>;
@@ -22,9 +21,9 @@ export declare const propertiesDefinition: {
22
21
  }>;
23
22
  appearance: Section<Record<string, Prop<any, any>> & {
24
23
  labelPosition: Prop<"left" | "top", true>;
25
- labelStyle: Prop<TextStyleWithVariant, true>;
24
+ labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
26
25
  placeholderText: Prop<string, true>;
27
- textStyle: Prop<TextStyleWithVariant, true>;
26
+ textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
28
27
  backgroundColor: Prop<string, true>;
29
28
  border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
30
29
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
@@ -58,7 +57,6 @@ export declare const propertiesDefinition: {
58
57
  labelWidth?: undefined;
59
58
  }))))) & {
60
59
  isVisible: Prop<boolean, true>;
61
- collapseWhenInvisible: Prop<boolean, false>;
62
60
  }>;
63
61
  interaction: Section<Record<string, Prop<any, any>> & Omit<{
64
62
  inputType: Prop<string, false>;
@@ -21,7 +21,6 @@ export declare const propertiesDefinition: {
21
21
  }>;
22
22
  layout: Section<Record<string, Prop<any, any>> & {
23
23
  isVisible: Prop<boolean, true>;
24
- collapseWhenInvisible: Prop<boolean, false>;
25
24
  keyProps: Prop<any, true>;
26
25
  "keyProps.width": Prop<any, false>;
27
26
  "valueProps.position": Prop<"left" | "right", true>;
@@ -15,14 +15,14 @@ export declare const SbModal: import("react").FC<import("../../properties-panel/
15
15
  }) | (Omit<{
16
16
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
17
17
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
18
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
19
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
18
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
19
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "left" | "right", true>;
20
20
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"vertical", true>;
21
21
  }) | (Omit<{
22
22
  layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
23
23
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
24
- readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
25
- readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
24
+ readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
25
+ readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
26
26
  readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
27
27
  }))) & {
28
28
  spacing: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
@@ -12,14 +12,14 @@ export declare const propertiesDefinition: {
12
12
  }) | (Omit<{
13
13
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
14
14
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
15
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
16
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
15
+ readonly verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
16
+ readonly horizontalAlign: Prop<"center" | "left" | "right", true>;
17
17
  readonly layout: Prop<"vertical", true>;
18
18
  }) | (Omit<{
19
19
  layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
20
20
  }, "layout" | "verticalAlign" | "horizontalAlign"> & {
21
- readonly verticalAlign: Prop<import("../../component-base/constants.js").VerticalAlignment, true>;
22
- readonly horizontalAlign: Prop<import("../../component-base/constants.js").HorizontalAlignment, true>;
21
+ readonly verticalAlign: Prop<"center" | "bottom" | "top", true>;
22
+ readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
23
23
  readonly layout: Prop<"horizontal", true>;
24
24
  }))) & {
25
25
  spacing: Prop<import("@superblocksteam/library-shared").Dim<"px">, true>;
@@ -3,6 +3,8 @@ export declare const SbSection: import("react").FC<import("../../properties-pane
3
3
  columns: import("../../properties-panel/props-builder.js").Prop<string[], false>;
4
4
  }>;
5
5
  layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
6
+ padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
7
+ } & {
6
8
  maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
7
9
  minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
8
10
  maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
@@ -13,10 +15,9 @@ export declare const SbSection: import("react").FC<import("../../properties-pane
13
15
  sticky: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
14
16
  } & {
15
17
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
16
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
17
18
  }>;
18
19
  appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
19
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, false>;
20
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
20
+ backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
21
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
21
22
  }>;
22
23
  }>>;
@@ -6,6 +6,8 @@ export declare const propertiesDefinition: {
6
6
  columns: Prop<string[], false>;
7
7
  }>;
8
8
  layout: Section<Record<string, Prop<any, any>> & {
9
+ padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
10
+ } & {
9
11
  maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
10
12
  minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
11
13
  maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
@@ -16,10 +18,9 @@ export declare const propertiesDefinition: {
16
18
  sticky: Prop<boolean, true>;
17
19
  } & {
18
20
  isVisible: Prop<boolean, true>;
19
- collapseWhenInvisible: Prop<boolean, false>;
20
21
  }>;
21
22
  appearance: Section<Record<string, Prop<any, any>> & {
22
- backgroundColor: Prop<string, false>;
23
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
23
+ backgroundColor: Prop<string, true>;
24
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
24
25
  }>;
25
26
  };
@@ -10,6 +10,5 @@ export declare const propertiesDefinition: {
10
10
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
11
11
  } & {
12
12
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
13
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
14
13
  }>;
15
14
  };
@@ -1,13 +1,11 @@
1
1
  import { Dim } from "@superblocksteam/library-shared";
2
2
  import React from "react";
3
3
  import { Prop, Section } from "../../properties-panel/props-builder.js";
4
- import type { HorizontalAlignment, VerticalAlignment } from "../../component-base/constants.js";
5
4
  import type { InternalPropsWithOptional } from "../../properties-panel/props-builder.js";
6
5
  import type { DimModes } from "@superblocksteam/library-shared";
7
6
  declare const _propertiesDefinitionVStack: {
8
7
  layout: Section<Record<string, Prop<any, any>> & {
9
8
  isVisible: Prop<boolean, true>;
10
- collapseWhenInvisible: Prop<boolean, false>;
11
9
  shouldScrollContents: Prop<boolean, true>;
12
10
  margin: Prop<unknown, true>;
13
11
  maxHeight?: Prop<Dim<DimModes>, false> | undefined;
@@ -18,19 +16,18 @@ declare const _propertiesDefinitionVStack: {
18
16
  height: Prop<Dim<DimModes>, false>;
19
17
  padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
20
18
  spacing: Prop<Dim<"px">, true>;
21
- verticalAlign: Prop<VerticalAlignment, true>;
22
- horizontalAlign: Prop<HorizontalAlignment, true>;
19
+ verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
20
+ horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
23
21
  }>;
24
22
  appearance: Section<Record<string, Prop<any, any>> & {
25
23
  backgroundColor: Prop<string, false>;
26
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
24
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
27
25
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
28
26
  }>;
29
27
  };
30
28
  declare const _propertiesDefinitionHStack: {
31
29
  layout: Section<Record<string, Prop<any, any>> & {
32
30
  isVisible: Prop<boolean, true>;
33
- collapseWhenInvisible: Prop<boolean, false>;
34
31
  shouldScrollContents: Prop<boolean, true>;
35
32
  margin: Prop<unknown, true>;
36
33
  maxHeight?: Prop<Dim<DimModes>, false> | undefined;
@@ -41,12 +38,12 @@ declare const _propertiesDefinitionHStack: {
41
38
  height: Prop<Dim<DimModes>, false>;
42
39
  padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
43
40
  spacing: Prop<Dim<"px">, true>;
44
- verticalAlign: Prop<VerticalAlignment, true>;
45
- horizontalAlign: Prop<HorizontalAlignment, true>;
41
+ verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
42
+ horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
46
43
  }>;
47
44
  appearance: Section<Record<string, Prop<any, any>> & {
48
45
  backgroundColor: Prop<string, false>;
49
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
46
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
50
47
  borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
51
48
  }>;
52
49
  };
@@ -19,7 +19,6 @@ export declare const SbSwitch: import("react").FC<import("../../properties-panel
19
19
  margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
20
20
  } & {
21
21
  isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
22
- collapseWhenInvisible: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
23
22
  }>;
24
23
  interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
25
24
  customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
@@ -20,7 +20,6 @@ export declare const propertiesDefinition: {
20
20
  margin: Prop<unknown, true>;
21
21
  } & {
22
22
  isVisible: Prop<boolean, true>;
23
- collapseWhenInvisible: Prop<boolean, false>;
24
23
  }>;
25
24
  interaction: Section<Record<string, Prop<any, any>> & {
26
25
  customValidationRule: Prop<string, true>;
@@ -9,24 +9,23 @@ export declare const columnPanelConfig: {
9
9
  } & (Omit<{
10
10
  columnType: Prop<ColumnType, true>;
11
11
  }, "columnType"> & ({
12
- computedValue: Prop<string, false>;
12
+ displayedValue: Prop<string, false>;
13
+ columnType: Prop<undefined, false>;
14
+ } | {
13
15
  displayedValue: Prop<string, false>;
14
16
  columnType: Prop<"text", true>;
15
17
  } | {
16
- computedValue: Prop<string, false>;
17
18
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
18
19
  minimumFractionDigits: Prop<number, false>;
19
20
  maximumFractionDigits: Prop<number, false>;
20
21
  columnType: Prop<"number", true>;
21
22
  } | {
22
- computedValue: Prop<string, false>;
23
23
  notation: Prop<"compact" | "standard" | "scientific" | "engineering" | "unformatted", false>;
24
24
  minimumFractionDigits: Prop<number, false>;
25
25
  maximumFractionDigits: Prop<number, false>;
26
26
  currency: Prop<string, false>;
27
27
  columnType: Prop<"currency", true>;
28
28
  } | {
29
- computedValue: Prop<string, false>;
30
29
  minimumFractionDigits: Prop<number, false>;
31
30
  maximumFractionDigits: Prop<number, false>;
32
31
  columnType: Prop<"percentage", true>;
@@ -34,11 +33,10 @@ export declare const columnPanelConfig: {
34
33
  openImageUrl: Prop<boolean, false>;
35
34
  columnType: Prop<"image", true>;
36
35
  } | {
37
- computedValue: Prop<string, false>;
38
36
  columnType: Prop<"video", true>;
39
37
  } | {
40
- valueFormat: Prop<string, false>;
41
- displayFormat: Prop<string, false>;
38
+ inputFormat: Prop<string, false>;
39
+ outputFormat: Prop<string, false>;
42
40
  manageTimezone: Prop<boolean, false>;
43
41
  valueTimezone: Prop<string, false>;
44
42
  displayTimezone: Prop<string, false>;
@@ -53,13 +51,11 @@ export declare const columnPanelConfig: {
53
51
  openInNewTab: Prop<boolean, false>;
54
52
  columnType: Prop<"link", true>;
55
53
  } | {
56
- computedValue: Prop<string, false>;
57
54
  columnType: Prop<"boolean", true>;
58
55
  } | {
59
56
  computedValue: Prop<string, false>;
60
57
  columnType: Prop<"tags", true>;
61
58
  } | {
62
- computedValue: Prop<string, false>;
63
59
  displayedValue: Prop<string, false>;
64
60
  columnType: Prop<"email", true>;
65
61
  })))) & {
@@ -71,6 +67,15 @@ export declare const columnPanelConfig: {
71
67
  } & (Omit<{
72
68
  columnType: Prop<ColumnType, false>;
73
69
  }, "columnType"> & ({
70
+ horizontalAlign: Prop<"center" | "left" | "right", false>;
71
+ verticalAlign: Prop<"center" | "bottom" | "top", false>;
72
+ "cellProps.textStyle": Prop<any, false>;
73
+ cellBackground: Prop<string, false>;
74
+ textWrap: Prop<boolean, false>;
75
+ cellIcon: Prop<string, false>;
76
+ cellIconPosition: Prop<IconPosition, false>;
77
+ columnType: Prop<undefined, false>;
78
+ } | {
74
79
  horizontalAlign: Prop<"center" | "left" | "right", false>;
75
80
  verticalAlign: Prop<"center" | "bottom" | "top", false>;
76
81
  "cellProps.textStyle": Prop<any, false>;
@@ -8,8 +8,8 @@ interface TableDataDownloadProps {
8
8
  columns: ReactTableColumnProps[];
9
9
  tableSizes: TableSizes;
10
10
  widgetName: string;
11
- tableHeader: string;
11
+ header: string;
12
12
  tableCellTextStyle?: TextStyleWithVariant;
13
13
  }
14
- declare const TableDataDownload: ({ data, filteredOrderMap, columns, tableSizes, widgetName, tableHeader, tableCellTextStyle, }: TableDataDownloadProps) => React.JSX.Element;
14
+ declare const TableDataDownload: ({ data, filteredOrderMap, columns, tableSizes, widgetName, header, tableCellTextStyle, }: TableDataDownloadProps) => React.JSX.Element;
15
15
  export default TableDataDownload;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { InsertRowOptions, TableSizes } from "../constants.js";
3
- import type { Pagination, ReactTableColumnProps } from "../types.js";
3
+ import type { PaginationType, ReactTableColumnProps } from "../types.js";
4
4
  import type { TextStyleWithVariant, UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
5
  interface TableFooterProps {
6
6
  columns: ReactTableColumnProps[];
@@ -10,11 +10,11 @@ interface TableFooterProps {
10
10
  prevPageClick: () => void;
11
11
  pageNo: number;
12
12
  pageCount: number;
13
- pageType: Pagination;
13
+ paginationType: PaginationType;
14
14
  tableColumns: ReactTableColumnProps[];
15
15
  tableData: Array<Record<string, unknown>>;
16
16
  filteredOrderMap: number[] | undefined;
17
- tableHeader: string;
17
+ header: string;
18
18
  tableSizes: TableSizes;
19
19
  updatePageNo: (pageNo: number) => void;
20
20
  isDownloadable: boolean;
@@ -36,5 +36,5 @@ interface TableFooterProps {
36
36
  borderColor: string;
37
37
  theme: UserAccessibleTheme;
38
38
  }
39
- declare const TableFooter: ({ count, currentPageIndex, nextPageClick, prevPageClick, pageNo, pageCount, pageType, tableColumns, tableData, filteredOrderMap, tableHeader, tableSizes, borderColor, updatePageNo, isDownloadable, multiRowSelection, selectedRowIndices, widgetName, numEdits, numEditErrors, validationMessages, onEditSave, onEditCancel, onRowInsertion, onRowDeletion, isInsertionEnabled, isDeletionEnabled, isSaving, selectedRowIndex, tableCellTextStyle, theme, }: TableFooterProps) => React.JSX.Element;
39
+ declare const TableFooter: ({ count, currentPageIndex, nextPageClick, prevPageClick, pageNo, pageCount, paginationType, tableColumns, tableData, filteredOrderMap, header, tableSizes, borderColor, updatePageNo, isDownloadable, multiRowSelection, selectedRowIndices, widgetName, numEdits, numEditErrors, validationMessages, onEditSave, onEditCancel, onRowInsertion, onRowDeletion, isInsertionEnabled, isDeletionEnabled, isSaving, selectedRowIndex, tableCellTextStyle, theme, }: TableFooterProps) => React.JSX.Element;
40
40
  export default TableFooter;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import type { TableSizes } from "../constants.js";
3
- import type { Pagination } from "../types.js";
3
+ import type { PaginationType } from "../types.js";
4
4
  import type { UserAccessibleTheme } from "@superblocksteam/library-shared/types";
5
5
  interface TablePaginationProps {
6
6
  updatePageNo: (pageNo: number) => void;
@@ -9,10 +9,10 @@ interface TablePaginationProps {
9
9
  count: number;
10
10
  pageNo: number;
11
11
  pageCount: number;
12
- pageType: Pagination;
12
+ paginationType: PaginationType;
13
13
  currentPageIndex: number;
14
14
  tableSizes: TableSizes;
15
15
  theme: UserAccessibleTheme;
16
16
  }
17
- declare const TablePagination: ({ currentPageIndex, nextPageClick, prevPageClick, pageCount, pageNo, pageType, updatePageNo, tableSizes, theme, }: TablePaginationProps) => React.JSX.Element | null;
17
+ declare const TablePagination: ({ currentPageIndex, nextPageClick, prevPageClick, pageCount, pageNo, paginationType, updatePageNo, tableSizes, theme, }: TablePaginationProps) => React.JSX.Element | null;
18
18
  export default TablePagination;
@@ -10,7 +10,6 @@ export declare function getEditedRows(props: any): {
10
10
  originalRows: any[];
11
11
  };
12
12
  export declare function getAllEdits(props: any): any;
13
- export declare function getPageSize(props: any): any;
14
13
  export declare function getFilteredTableData(props: any): any[];
15
14
  export declare function getEditedRowIndices(props: any): {
16
15
  deletedRows: {