@superblocksteam/library 2.0.0-next.11 → 2.0.0-next.110
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.
- package/dist/{allPaths-DXE_RTrt.js → allPaths-C9t-oueG.js} +2 -2
- package/dist/{allPaths-DXE_RTrt.js.map → allPaths-C9t-oueG.js.map} +1 -1
- package/dist/{allPaths-h7bsheRo.js → allPaths-v-9aWvcC.js} +2 -2
- package/dist/{allPaths-h7bsheRo.js.map → allPaths-v-9aWvcC.js.map} +1 -1
- package/dist/{allPathsLoader-16QM90xQ.js → allPathsLoader-C12f21WG.js} +3 -3
- package/dist/{allPathsLoader-BWX35Jie.js.map → allPathsLoader-C12f21WG.js.map} +1 -1
- package/dist/{allPathsLoader-BWX35Jie.js → allPathsLoader-ptt7LSRI.js} +3 -3
- package/dist/{allPathsLoader-16QM90xQ.js.map → allPathsLoader-ptt7LSRI.js.map} +1 -1
- package/dist/{index-tdErpvtu.js → index-Dmuv9J5-.js} +27437 -20439
- package/dist/{index-tdErpvtu.js.map → index-Dmuv9J5-.js.map} +1 -1
- package/dist/index.css +2 -1
- package/dist/index.js +2 -2
- package/dist/{splitPathsBySizeLoader-wQWCogRx.js → splitPathsBySizeLoader-C9M7hrZo.js} +2 -2
- package/dist/{splitPathsBySizeLoader-wQWCogRx.js.map → splitPathsBySizeLoader-C9M7hrZo.js.map} +1 -1
- package/dist/{splitPathsBySizeLoader-7yhv4gcq.js → splitPathsBySizeLoader-yx8MCpqw.js} +2 -2
- package/dist/{splitPathsBySizeLoader-7yhv4gcq.js.map → splitPathsBySizeLoader-yx8MCpqw.js.map} +1 -1
- package/dist-types/edit-mode/create-component.d.ts +3 -1
- package/dist-types/edit-mode/default-table-data.d.ts +71 -0
- package/dist-types/edit-mode/dnd/grid-store.d.ts +29 -4
- package/dist-types/edit-mode/dnd/utils.d.ts +11 -10
- package/dist-types/edit-mode/features/connection-manager.d.ts +1 -2
- package/dist-types/edit-mode/features/interaction-layer-manager.d.ts +10 -4
- package/dist-types/edit-mode/features/operation-store.d.ts +12 -2
- package/dist-types/edit-mode/features/properties-panel-manager.d.ts +4 -4
- package/dist-types/edit-mode/features/resizing-store.d.ts +1 -0
- package/dist-types/edit-mode/interaction-utils.d.ts +4 -0
- package/dist-types/edit-mode/source-update-api.d.ts +3 -20
- package/dist-types/internal-testing/components/form.d.ts +1 -0
- package/dist-types/lib/internal-details/component-suspense-style-context.d.ts +10 -0
- package/dist-types/lib/internal-details/css-constants.d.ts +4 -0
- package/dist-types/lib/internal-details/identifier-normalizer.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +7 -5
- package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +2 -1
- package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +12 -1
- package/dist-types/lib/internal-details/lib/features/api-store.d.ts +1 -0
- package/dist-types/lib/internal-details/lib/features/api-utils.d.ts +0 -1
- package/dist-types/lib/internal-details/lib/suspense/suspense-fallback.d.ts +10 -0
- package/dist-types/lib/internal-details/lib/types.d.ts +5 -0
- package/dist-types/lib/internal-details/reactive-component.d.ts +4 -3
- package/dist-types/lib/internal-details/remove-bindings.d.ts +1 -0
- package/dist-types/lib/internal-details/scope/global.d.ts +1 -0
- package/dist-types/lib/user-facing/component-base/components/button.d.ts +3 -4
- package/dist-types/lib/user-facing/component-base/components/video.d.ts +19 -0
- package/dist-types/lib/user-facing/component-base/styles/button-styles.d.ts +3 -11
- package/dist-types/lib/user-facing/component-base/utils/input-validation.d.ts +11 -8
- package/dist-types/lib/user-facing/components/button/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/button/props.d.ts +5 -11
- package/dist-types/lib/user-facing/components/checkbox/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/checkbox/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/column/index.d.ts +9 -21
- package/dist-types/lib/user-facing/components/column/props.d.ts +9 -20
- package/dist-types/lib/user-facing/components/container/index.d.ts +13 -24
- package/dist-types/lib/user-facing/components/container/props.d.ts +8 -22
- package/dist-types/lib/user-facing/components/date-picker/date-picker-component.d.ts +3 -3
- package/dist-types/lib/user-facing/components/date-picker/index.d.ts +6 -1
- package/dist-types/lib/user-facing/components/date-picker/props.d.ts +6 -1
- package/dist-types/lib/user-facing/components/date-picker/types.d.ts +3 -0
- package/dist-types/lib/user-facing/components/date-picker/utils.d.ts +1 -1
- package/dist-types/lib/user-facing/components/dropdown/dropdown-component.d.ts +1 -1
- package/dist-types/lib/user-facing/components/dropdown/index.d.ts +3 -3
- package/dist-types/lib/user-facing/components/dropdown/props.d.ts +5 -6
- package/dist-types/lib/user-facing/components/dropdown/types.d.ts +1 -1
- package/dist-types/lib/user-facing/components/grid/index.d.ts +8 -8
- package/dist-types/lib/user-facing/components/icon/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/icon/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/image/index.d.ts +2 -2
- package/dist-types/lib/user-facing/components/image/props.d.ts +2 -2
- package/dist-types/lib/user-facing/components/input/derived-properties.d.ts +1 -1
- package/dist-types/lib/user-facing/components/input/index.d.ts +15 -21
- package/dist-types/lib/user-facing/components/input/props.d.ts +16 -21
- package/dist-types/lib/user-facing/components/key-value/props.d.ts +1 -0
- package/dist-types/lib/user-facing/components/modal/index.d.ts +11 -15
- package/dist-types/lib/user-facing/components/modal/modal-component.d.ts +2 -2
- package/dist-types/lib/user-facing/components/modal/props.d.ts +11 -15
- package/dist-types/lib/user-facing/components/page/index.d.ts +3 -0
- package/dist-types/lib/user-facing/components/page/props.d.ts +3 -0
- package/dist-types/lib/user-facing/components/pixel-input/index.d.ts +7 -0
- package/dist-types/lib/user-facing/components/section/index.d.ts +3 -2
- package/dist-types/lib/user-facing/components/section/props.d.ts +3 -2
- package/dist-types/lib/user-facing/components/slideout/props.d.ts +5 -1
- package/dist-types/lib/user-facing/components/stack/index.d.ts +5 -3
- package/dist-types/lib/user-facing/components/switch/index.d.ts +1 -1
- package/dist-types/lib/user-facing/components/switch/props.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +72 -76
- package/dist-types/lib/user-facing/components/table/components/autotooltip-component.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/boolean-value-icons.d.ts +5 -5
- package/dist-types/lib/user-facing/components/table/components/edit-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/edit-checkbox-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/edit-date-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/edit-input-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/edit-multi-select-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/edit-single-select-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/edit-utils.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/editable-link-cell.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/popover-video.d.ts +1 -1
- package/dist-types/lib/user-facing/components/table/components/table-data-download.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/components/table-footer.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/components/table-header.d.ts +3 -3
- package/dist-types/lib/user-facing/components/table/components/table-loading-state.d.ts +3 -3
- package/dist-types/lib/user-facing/components/table/components/table-pagination.d.ts +3 -3
- package/dist-types/lib/user-facing/components/table/components/table-tag.d.ts +5 -5
- package/dist-types/lib/user-facing/components/table/constants.d.ts +4 -24
- package/dist-types/lib/user-facing/components/table/derived-properties.d.ts +0 -1
- package/dist-types/lib/user-facing/components/table/index.d.ts +92 -96
- package/dist-types/lib/user-facing/components/table/props.d.ts +94 -99
- package/dist-types/lib/user-facing/components/table/table-component.d.ts +4 -4
- package/dist-types/lib/user-facing/components/table/table-styles.d.ts +3 -8
- package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +25 -20
- package/dist-types/lib/user-facing/components/table/table-widget.d.ts +2 -2
- package/dist-types/lib/user-facing/components/table/types.d.ts +47 -73
- package/dist-types/lib/user-facing/components/table/utils.d.ts +2 -2
- package/dist-types/lib/user-facing/components/text/index.d.ts +9 -8
- package/dist-types/lib/user-facing/components/text/props.d.ts +18 -15
- package/dist-types/lib/user-facing/components/text/utils.d.ts +6 -6
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +1 -0
- package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +4 -8
- package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +4 -4
- package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +15 -14
- package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +2 -0
- package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +6 -4
- package/dist-types/lib/user-facing/properties-panel/validators.d.ts +2 -1
- package/dist-types/lib/user-facing/state/sb-computed.d.ts +1 -1
- package/dist-types/lib/user-facing/themes/constants.d.ts +4 -2
- package/dist-types/lib/user-facing/themes/utils.d.ts +1 -2
- package/package.json +5 -3
|
@@ -2,6 +2,7 @@ import { Dim } from "@superblocksteam/library-shared";
|
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Prop, Section } from "../../properties-panel/props-builder.js";
|
|
4
4
|
import type { InternalProps } from "../../properties-panel/props-builder.js";
|
|
5
|
+
import type { DimModes } from "@superblocksteam/library-shared";
|
|
5
6
|
export type GridChild = React.ReactElement<{
|
|
6
7
|
name: string;
|
|
7
8
|
marginTop?: Dim<"rows">;
|
|
@@ -14,16 +15,15 @@ declare const _propertiesDefinition: {
|
|
|
14
15
|
general: Section<Record<string, Prop<any, any>> & {
|
|
15
16
|
spacing: Prop<Dim<"px">, true>;
|
|
16
17
|
columns: Prop<number, false>;
|
|
17
|
-
|
|
18
|
-
rowSize: Prop<number, false>;
|
|
18
|
+
rowHeight: Prop<Dim<"px">, false>;
|
|
19
19
|
}>;
|
|
20
20
|
layout: Section<Record<string, Prop<any, any>> & {
|
|
21
|
-
maxHeight?: Prop<Dim<
|
|
22
|
-
minHeight?: Prop<Dim<
|
|
23
|
-
maxWidth?: Prop<Dim<
|
|
24
|
-
minWidth?: Prop<Dim<
|
|
25
|
-
width: Prop<Dim<
|
|
26
|
-
height: Prop<Dim<
|
|
21
|
+
maxHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
22
|
+
minHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
23
|
+
maxWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
24
|
+
minWidth?: Prop<Dim<DimModes>, false> | undefined;
|
|
25
|
+
width: Prop<Dim<DimModes>, false>;
|
|
26
|
+
height: Prop<Dim<DimModes>, false>;
|
|
27
27
|
} & {
|
|
28
28
|
margin: Prop<unknown, true>;
|
|
29
29
|
} & {
|
|
@@ -13,7 +13,7 @@ export declare const SbIcon: import("react").FC<import("../../properties-panel/p
|
|
|
13
13
|
}>;
|
|
14
14
|
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
15
15
|
color: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
16
|
-
|
|
16
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
17
17
|
}>;
|
|
18
18
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
19
19
|
onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
@@ -15,7 +15,7 @@ export declare const propertiesDefinition: {
|
|
|
15
15
|
}>;
|
|
16
16
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
17
17
|
color: Prop<string, false>;
|
|
18
|
-
|
|
18
|
+
loading: Prop<boolean, true>;
|
|
19
19
|
}>;
|
|
20
20
|
events: Section<Record<string, Prop<any, any>> & {
|
|
21
21
|
onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
@@ -4,11 +4,11 @@ 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,
|
|
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>;
|
|
11
|
-
|
|
11
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
12
12
|
}>;
|
|
13
13
|
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
14
14
|
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
@@ -14,11 +14,11 @@ 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,
|
|
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>;
|
|
21
|
-
|
|
21
|
+
loading: Prop<boolean, true>;
|
|
22
22
|
}>;
|
|
23
23
|
layout: Section<Record<string, Prop<any, any>> & {
|
|
24
24
|
maxHeight?: Prop<Dim<DimModes>, false> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { InputWidgetProps } from "./types.js";
|
|
2
|
-
export declare function getValue(this: InputWidgetProps): string | number | null
|
|
2
|
+
export declare function getValue(this: InputWidgetProps): string | number | null;
|
|
3
3
|
export declare function getShowError(this: InputWidgetProps): boolean;
|
|
4
4
|
export declare function getIsValid(this: InputWidgetProps): boolean;
|
|
@@ -3,14 +3,14 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
3
3
|
label: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
4
4
|
} & (Omit<{
|
|
5
5
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
6
|
-
}, "inputType" | "currency" | "
|
|
6
|
+
}, "inputType" | "currency" | "numberFormat" | "currencyCodeDisplay"> & ({
|
|
7
7
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
8
|
-
|
|
8
|
+
numberFormat: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
|
|
9
9
|
currency?: undefined;
|
|
10
10
|
currencyCodeDisplay?: undefined;
|
|
11
11
|
} | {
|
|
12
12
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
13
|
-
|
|
13
|
+
numberFormat: import("../../properties-panel/props-builder.js").Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
|
|
14
14
|
currency: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
15
15
|
currencyCodeDisplay: import("../../properties-panel/props-builder.js").Prop<import("./types.js").CurrencyCodeDisplayType, true>;
|
|
16
16
|
})))) & {
|
|
@@ -31,37 +31,31 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
31
31
|
}, "inputType"> & {
|
|
32
32
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
33
33
|
} & {
|
|
34
|
-
|
|
34
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
35
35
|
}>;
|
|
36
|
-
layout: import("../../properties-panel/props-builder.js").Section<
|
|
36
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
37
37
|
padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
38
|
-
} &
|
|
38
|
+
} & {
|
|
39
|
+
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<"px" | "fill" | "%" | "rows" | "columns">, false>;
|
|
39
40
|
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
40
41
|
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
41
42
|
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
42
43
|
minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
43
|
-
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
44
44
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
45
|
-
} &
|
|
45
|
+
} & {
|
|
46
46
|
margin: import("../../properties-panel/props-builder.js").Prop<unknown, true>;
|
|
47
|
-
} &
|
|
48
|
-
labelPosition: import("../../properties-panel/props-builder.js").Prop<"left" | "top", false>;
|
|
49
|
-
}, "labelPosition" | "labelWidth"> & ({
|
|
50
|
-
labelPosition: import("../../properties-panel/props-builder.js").Prop<"left", true>;
|
|
47
|
+
} & {
|
|
51
48
|
labelWidth: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim, true>;
|
|
52
|
-
}
|
|
53
|
-
labelPosition: import("../../properties-panel/props-builder.js").Prop<"top", true>;
|
|
54
|
-
labelWidth?: undefined;
|
|
55
|
-
}))))) & {
|
|
49
|
+
} & {
|
|
56
50
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
57
51
|
}>;
|
|
58
52
|
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & Omit<{
|
|
59
53
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
60
|
-
}, "inputType" | "
|
|
54
|
+
}, "inputType" | "stepper" | "stepSize" | "minDecimals" | "maxDecimals"> & {
|
|
61
55
|
stepper: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
62
56
|
stepSize: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
minDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
58
|
+
maxDecimals: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
65
59
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
66
60
|
} & Omit<{
|
|
67
61
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, false>;
|
|
@@ -71,7 +65,7 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
71
65
|
inputType: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
72
66
|
} & {
|
|
73
67
|
errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
74
|
-
customValidationRule: import("../../properties-panel/props-builder.js").Prop<
|
|
68
|
+
customValidationRule: import("../../properties-panel/props-builder.js").Prop<any, false>;
|
|
75
69
|
customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
76
70
|
isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
77
71
|
isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
@@ -88,7 +82,7 @@ export declare const SbInput: import("react").FC<import("../../properties-panel/
|
|
|
88
82
|
}>;
|
|
89
83
|
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
90
84
|
value: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
91
|
-
validationErrors: import("../../properties-panel/props-builder.js").Prop<
|
|
85
|
+
validationErrors: import("../../properties-panel/props-builder.js").Prop<import("../../component-base/utils/input-validation.js").ValidationErrors, true>;
|
|
92
86
|
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
93
87
|
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
94
88
|
}>;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { Section, Prop } from "../../properties-panel/props-builder.js";
|
|
2
2
|
import type { CurrencyCodeDisplayType } from "./types.js";
|
|
3
|
+
import type { ValidationErrors } from "../../component-base/utils/input-validation.js";
|
|
3
4
|
import type { IconPosition } from "../../icons/constants.js";
|
|
4
5
|
export declare const propertiesDefinition: {
|
|
5
6
|
general: Section<(Record<string, Prop<any, any>> & ({
|
|
6
7
|
label: Prop<string, true>;
|
|
7
8
|
} & (Omit<{
|
|
8
9
|
inputType: Prop<string, true>;
|
|
9
|
-
}, "inputType" | "currency" | "
|
|
10
|
+
}, "inputType" | "currency" | "numberFormat" | "currencyCodeDisplay"> & ({
|
|
10
11
|
inputType: Prop<string, true>;
|
|
11
|
-
|
|
12
|
+
numberFormat: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
|
|
12
13
|
currency?: undefined;
|
|
13
14
|
currencyCodeDisplay?: undefined;
|
|
14
15
|
} | {
|
|
15
16
|
inputType: Prop<string, true>;
|
|
16
|
-
|
|
17
|
+
numberFormat: Prop<"unformatted" | NonNullable<"compact" | "standard" | "scientific" | "engineering" | undefined>, true>;
|
|
17
18
|
currency: Prop<string, true>;
|
|
18
19
|
currencyCodeDisplay: Prop<CurrencyCodeDisplayType, true>;
|
|
19
20
|
})))) & {
|
|
@@ -34,37 +35,31 @@ export declare const propertiesDefinition: {
|
|
|
34
35
|
}, "inputType"> & {
|
|
35
36
|
inputType: Prop<string, true>;
|
|
36
37
|
} & {
|
|
37
|
-
|
|
38
|
+
loading: Prop<boolean, true>;
|
|
38
39
|
}>;
|
|
39
|
-
layout: Section<
|
|
40
|
+
layout: Section<Record<string, Prop<any, any>> & {
|
|
40
41
|
padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
|
|
41
|
-
} &
|
|
42
|
+
} & {
|
|
43
|
+
width: Prop<import("@superblocksteam/library-shared").Dim<"px" | "fill" | "%" | "rows" | "columns">, false>;
|
|
42
44
|
maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
43
45
|
minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
44
46
|
maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
45
47
|
minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
46
|
-
width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
47
48
|
height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
48
|
-
} &
|
|
49
|
+
} & {
|
|
49
50
|
margin: Prop<unknown, true>;
|
|
50
|
-
} &
|
|
51
|
-
labelPosition: Prop<"left" | "top", false>;
|
|
52
|
-
}, "labelPosition" | "labelWidth"> & ({
|
|
53
|
-
labelPosition: Prop<"left", true>;
|
|
51
|
+
} & {
|
|
54
52
|
labelWidth: Prop<import("@superblocksteam/library-shared").Dim, true>;
|
|
55
|
-
}
|
|
56
|
-
labelPosition: Prop<"top", true>;
|
|
57
|
-
labelWidth?: undefined;
|
|
58
|
-
}))))) & {
|
|
53
|
+
} & {
|
|
59
54
|
isVisible: Prop<boolean, true>;
|
|
60
55
|
}>;
|
|
61
56
|
interaction: Section<Record<string, Prop<any, any>> & Omit<{
|
|
62
57
|
inputType: Prop<string, false>;
|
|
63
|
-
}, "inputType" | "
|
|
58
|
+
}, "inputType" | "stepper" | "stepSize" | "minDecimals" | "maxDecimals"> & {
|
|
64
59
|
stepper: Prop<boolean, true>;
|
|
65
60
|
stepSize: Prop<number, true>;
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
minDecimals: Prop<number, false>;
|
|
62
|
+
maxDecimals: Prop<number, false>;
|
|
68
63
|
inputType: Prop<string, true>;
|
|
69
64
|
} & Omit<{
|
|
70
65
|
inputType: Prop<string, false>;
|
|
@@ -74,7 +69,7 @@ export declare const propertiesDefinition: {
|
|
|
74
69
|
inputType: Prop<string, true>;
|
|
75
70
|
} & {
|
|
76
71
|
errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
|
|
77
|
-
customValidationRule: Prop<
|
|
72
|
+
customValidationRule: Prop<any, false>;
|
|
78
73
|
customErrorMessage: Prop<string, true>;
|
|
79
74
|
isDisabled: Prop<boolean, true>;
|
|
80
75
|
isRequired: Prop<boolean, true>;
|
|
@@ -91,7 +86,7 @@ export declare const propertiesDefinition: {
|
|
|
91
86
|
}>;
|
|
92
87
|
derived: Section<Record<string, Prop<any, any>> & {
|
|
93
88
|
value: Prop<string, true>;
|
|
94
|
-
validationErrors: Prop<
|
|
89
|
+
validationErrors: Prop<ValidationErrors, true>;
|
|
95
90
|
isValid: Prop<boolean, true>;
|
|
96
91
|
showError: Prop<boolean, true>;
|
|
97
92
|
}>;
|
|
@@ -18,6 +18,7 @@ export declare const propertiesDefinition: {
|
|
|
18
18
|
"styleProps.border": Prop<any, false>;
|
|
19
19
|
"styleProps.borderRadius": Prop<any, false>;
|
|
20
20
|
"styleProps.divider": Prop<any, true>;
|
|
21
|
+
loading: Prop<boolean, true>;
|
|
21
22
|
}>;
|
|
22
23
|
layout: Section<Record<string, Prop<any, any>> & {
|
|
23
24
|
isVisible: Prop<boolean, true>;
|
|
@@ -5,14 +5,7 @@ import type { ContainerLayout } from "../../component-base/constants.js";
|
|
|
5
5
|
* - close all other modal when current modal is opened
|
|
6
6
|
*/
|
|
7
7
|
export declare const SbModal: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
|
|
8
|
-
layout: import("../../properties-panel/props-builder.js").Section<
|
|
9
|
-
layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
|
|
10
|
-
}, "layout" | "rows" | "columns" | "rowSize"> & {
|
|
11
|
-
readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
|
|
12
|
-
readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
13
|
-
readonly rows: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
14
|
-
readonly rowSize: import("../../properties-panel/props-builder.js").Prop<number, false>;
|
|
15
|
-
}) | (Omit<{
|
|
8
|
+
layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & ((Omit<{
|
|
16
9
|
layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
|
|
17
10
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
18
11
|
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
|
|
@@ -24,20 +17,23 @@ export declare const SbModal: import("react").FC<import("../../properties-panel/
|
|
|
24
17
|
readonly verticalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "bottom" | "top", true>;
|
|
25
18
|
readonly horizontalAlign: import("../../properties-panel/props-builder.js").Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
|
|
26
19
|
readonly layout: import("../../properties-panel/props-builder.js").Prop<"horizontal", true>;
|
|
27
|
-
})
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
20
|
+
}) | (Omit<{
|
|
21
|
+
layout: import("../../properties-panel/props-builder.js").Prop<ContainerLayout, true>;
|
|
22
|
+
}, "layout" | "columns" | "rowHeight"> & {
|
|
23
|
+
readonly columns: import("../../properties-panel/props-builder.js").Prop<number, true>;
|
|
24
|
+
readonly rowHeight: import("../../properties-panel/props-builder.js").Prop<Dim<"px">, true>;
|
|
25
|
+
readonly layout: import("../../properties-panel/props-builder.js").Prop<"freeform", true>;
|
|
26
|
+
}))>;
|
|
32
27
|
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
33
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string,
|
|
28
|
+
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
|
|
34
29
|
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
35
30
|
borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, false>;
|
|
36
31
|
hasBackdrop: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
37
32
|
widthPreset: import("../../properties-panel/props-builder.js").Prop<import("./constants.js").ModalSize, true>;
|
|
33
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
38
34
|
}>;
|
|
39
35
|
interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
40
|
-
|
|
36
|
+
closeOnClickOutside: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
41
37
|
}>;
|
|
42
38
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
43
39
|
onOpen: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
@@ -11,7 +11,7 @@ type ModalComponentProps = {
|
|
|
11
11
|
onCancel: (e: any) => void;
|
|
12
12
|
children: ReactNode;
|
|
13
13
|
className?: string;
|
|
14
|
-
|
|
14
|
+
closeOnClickOutside: boolean;
|
|
15
15
|
hasBackdrop: boolean;
|
|
16
16
|
widthPreset?: ModalSize;
|
|
17
17
|
heightPreset?: ModalSize;
|
|
@@ -28,7 +28,7 @@ type ModalComponentProps = {
|
|
|
28
28
|
spacing: Dim<"px">;
|
|
29
29
|
columns?: number;
|
|
30
30
|
rows?: number;
|
|
31
|
-
|
|
31
|
+
rowHeight?: Dim<"px">;
|
|
32
32
|
dropTargetRef?: React.RefObject<HTMLElement | null>;
|
|
33
33
|
};
|
|
34
34
|
/** the modal is open/close by setting isOpen to true/false
|
|
@@ -2,14 +2,7 @@ import { Prop, Section } from "../../properties-panel/props-builder.js";
|
|
|
2
2
|
import type { ModalSize } from "./constants.js";
|
|
3
3
|
import type { PerCornerBorderRadius, PerSideBorder } from "@superblocksteam/library-shared/types";
|
|
4
4
|
export declare const propertiesDefinition: {
|
|
5
|
-
layout: Section<
|
|
6
|
-
layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
7
|
-
}, "layout" | "rows" | "columns" | "rowSize"> & {
|
|
8
|
-
readonly layout: Prop<"freeform", true>;
|
|
9
|
-
readonly columns: Prop<number, true>;
|
|
10
|
-
readonly rows: Prop<number, false>;
|
|
11
|
-
readonly rowSize: Prop<number, false>;
|
|
12
|
-
}) | (Omit<{
|
|
5
|
+
layout: Section<Record<string, Prop<any, any>> & ((Omit<{
|
|
13
6
|
layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
14
7
|
}, "layout" | "verticalAlign" | "horizontalAlign"> & {
|
|
15
8
|
readonly verticalAlign: Prop<"center" | "space-around" | "space-between" | "bottom" | "top", true>;
|
|
@@ -21,20 +14,23 @@ export declare const propertiesDefinition: {
|
|
|
21
14
|
readonly verticalAlign: Prop<"center" | "bottom" | "top", true>;
|
|
22
15
|
readonly horizontalAlign: Prop<"center" | "space-around" | "space-between" | "left" | "right", true>;
|
|
23
16
|
readonly layout: Prop<"horizontal", true>;
|
|
24
|
-
})
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
17
|
+
}) | (Omit<{
|
|
18
|
+
layout: Prop<import("../../component-base/constants.js").ContainerLayout, true>;
|
|
19
|
+
}, "layout" | "columns" | "rowHeight"> & {
|
|
20
|
+
readonly columns: Prop<number, true>;
|
|
21
|
+
readonly rowHeight: Prop<import("@superblocksteam/library-shared").Dim<"px">, true>;
|
|
22
|
+
readonly layout: Prop<"freeform", true>;
|
|
23
|
+
}))>;
|
|
29
24
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
30
|
-
backgroundColor: Prop<string,
|
|
25
|
+
backgroundColor: Prop<string, true>;
|
|
31
26
|
border: Prop<PerSideBorder, false>;
|
|
32
27
|
borderRadius: Prop<PerCornerBorderRadius, false>;
|
|
33
28
|
hasBackdrop: Prop<boolean, true>;
|
|
34
29
|
widthPreset: Prop<ModalSize, true>;
|
|
30
|
+
loading: Prop<boolean, true>;
|
|
35
31
|
}>;
|
|
36
32
|
interaction: Section<Record<string, Prop<any, any>> & {
|
|
37
|
-
|
|
33
|
+
closeOnClickOutside: Prop<boolean, true>;
|
|
38
34
|
}>;
|
|
39
35
|
events: Section<Record<string, Prop<any, any>> & {
|
|
40
36
|
onOpen: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
@@ -7,6 +7,9 @@ export declare const SbPage: import("react").FC<import("../../properties-panel/p
|
|
|
7
7
|
width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
8
8
|
height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
9
9
|
}>;
|
|
10
|
+
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
11
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
12
|
+
}>;
|
|
10
13
|
events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
11
14
|
onLoad: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
12
15
|
}>;
|
|
@@ -9,6 +9,9 @@ export declare const propertiesDefinition: {
|
|
|
9
9
|
width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
10
10
|
height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
|
|
11
11
|
}>;
|
|
12
|
+
appearance: Section<Record<string, Prop<any, any>> & {
|
|
13
|
+
loading: Prop<boolean, true>;
|
|
14
|
+
}>;
|
|
12
15
|
events: Section<Record<string, Prop<any, any>> & {
|
|
13
16
|
onLoad: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
|
|
14
17
|
}>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { InputNumberProps } from "antd";
|
|
2
|
+
export interface PixelInputProps extends InputNumberProps<number> {
|
|
3
|
+
showResetToDefault?: boolean;
|
|
4
|
+
dataTest?: string;
|
|
5
|
+
unit?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const PixelInput: (props: PixelInputProps) => import("react").JSX.Element;
|
|
@@ -17,7 +17,8 @@ export declare const SbSection: import("react").FC<import("../../properties-pane
|
|
|
17
17
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
18
18
|
}>;
|
|
19
19
|
appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
20
|
-
backgroundColor: import("../../properties-panel/props-builder.js").Prop<string,
|
|
21
|
-
border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder,
|
|
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>;
|
|
22
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
22
23
|
}>;
|
|
23
24
|
}>>;
|
|
@@ -20,7 +20,8 @@ export declare const propertiesDefinition: {
|
|
|
20
20
|
isVisible: Prop<boolean, true>;
|
|
21
21
|
}>;
|
|
22
22
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
23
|
-
backgroundColor: Prop<string,
|
|
24
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder,
|
|
23
|
+
backgroundColor: Prop<string, true>;
|
|
24
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
25
|
+
loading: Prop<boolean, true>;
|
|
25
26
|
}>;
|
|
26
27
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Section } from "../../properties-panel/props-builder.js";
|
|
1
2
|
export declare const propertiesDefinition: {
|
|
2
|
-
layout:
|
|
3
|
+
layout: Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
3
4
|
maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
4
5
|
minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
5
6
|
maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
|
|
@@ -11,4 +12,7 @@ export declare const propertiesDefinition: {
|
|
|
11
12
|
} & {
|
|
12
13
|
isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
13
14
|
}>;
|
|
15
|
+
appearance: Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
16
|
+
loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
17
|
+
}>;
|
|
14
18
|
};
|
|
@@ -21,8 +21,9 @@ declare const _propertiesDefinitionVStack: {
|
|
|
21
21
|
}>;
|
|
22
22
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
23
23
|
backgroundColor: Prop<string, false>;
|
|
24
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder,
|
|
24
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
25
25
|
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
26
|
+
loading: Prop<boolean, true>;
|
|
26
27
|
}>;
|
|
27
28
|
};
|
|
28
29
|
declare const _propertiesDefinitionHStack: {
|
|
@@ -43,11 +44,12 @@ declare const _propertiesDefinitionHStack: {
|
|
|
43
44
|
}>;
|
|
44
45
|
appearance: Section<Record<string, Prop<any, any>> & {
|
|
45
46
|
backgroundColor: Prop<string, false>;
|
|
46
|
-
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder,
|
|
47
|
+
border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, false>;
|
|
47
48
|
borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
|
|
49
|
+
loading: Prop<boolean, true>;
|
|
48
50
|
}>;
|
|
49
51
|
};
|
|
50
|
-
type OptionalProps = "verticalAlign" | "horizontalAlign" | "margin" | "padding" | "spacing" | "backgroundColor" | "border" | "borderRadius" | "shouldScrollContents";
|
|
52
|
+
type OptionalProps = "verticalAlign" | "horizontalAlign" | "margin" | "padding" | "spacing" | "backgroundColor" | "border" | "borderRadius" | "shouldScrollContents" | "loading";
|
|
51
53
|
type InternalVStackProps = InternalPropsWithOptional<typeof _propertiesDefinitionVStack, OptionalProps>;
|
|
52
54
|
type InternalHStackProps = InternalPropsWithOptional<typeof _propertiesDefinitionHStack, OptionalProps> & {
|
|
53
55
|
[key: string]: any;
|
|
@@ -35,7 +35,7 @@ export declare const SbSwitch: import("react").FC<import("../../properties-panel
|
|
|
35
35
|
isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
36
36
|
}>;
|
|
37
37
|
derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
|
|
38
|
-
|
|
38
|
+
isToggledOn: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
39
39
|
validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
|
|
40
40
|
isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
41
41
|
showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
|
|
@@ -36,7 +36,7 @@ export declare const propertiesDefinition: {
|
|
|
36
36
|
isChecked: Prop<boolean, true>;
|
|
37
37
|
}>;
|
|
38
38
|
derived: Section<Record<string, Prop<any, any>> & {
|
|
39
|
-
|
|
39
|
+
isToggledOn: Prop<boolean, true>;
|
|
40
40
|
validationErrors: Prop<any, true>;
|
|
41
41
|
isValid: Prop<boolean, true>;
|
|
42
42
|
showError: Prop<boolean, true>;
|