@superblocksteam/library 2.0.6-next.89 → 2.0.6-next.9

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 (111) hide show
  1. package/dist/{allPaths-CrtDGuNf.js → allPaths-BbwLOFSN.js} +2 -2
  2. package/dist/{allPaths-CrtDGuNf.js.map → allPaths-BbwLOFSN.js.map} +1 -1
  3. package/dist/{allPaths-CgvYrNUw.js → allPaths-YpR_xtpv.js} +2 -2
  4. package/dist/{allPaths-CgvYrNUw.js.map → allPaths-YpR_xtpv.js.map} +1 -1
  5. package/dist/{allPathsLoader-LUVVWlgN.js → allPathsLoader-CTr7XzYS.js} +3 -3
  6. package/dist/{allPathsLoader-LUVVWlgN.js.map → allPathsLoader-CTr7XzYS.js.map} +1 -1
  7. package/dist/{allPathsLoader-DhgvyPfz.js → allPathsLoader-DjBKQsij.js} +3 -3
  8. package/dist/{allPathsLoader-DhgvyPfz.js.map → allPathsLoader-DjBKQsij.js.map} +1 -1
  9. package/dist/{devtools-consolidated-DrBc1h4m.js → devtools-consolidated-B2GVETCf.js} +2 -2
  10. package/dist/{devtools-consolidated-DrBc1h4m.js.map → devtools-consolidated-B2GVETCf.js.map} +1 -1
  11. package/dist/{icons-lSlfQ50w.js → icons-NrNO8p_u.js} +14 -10
  12. package/dist/icons-NrNO8p_u.js.map +1 -0
  13. package/dist/{index-2ihBTDX4.js → index-snr_jI8a.js} +22121 -24008
  14. package/dist/{index-2ihBTDX4.js.map → index-snr_jI8a.js.map} +1 -1
  15. package/dist/index.js +149 -150
  16. package/dist/{splitPathsBySizeLoader-mxO24EVV.js → splitPathsBySizeLoader-Blv6tUe4.js} +2 -2
  17. package/dist/{splitPathsBySizeLoader-mxO24EVV.js.map → splitPathsBySizeLoader-Blv6tUe4.js.map} +1 -1
  18. package/dist/{splitPathsBySizeLoader-BS08Me-9.js → splitPathsBySizeLoader-DbNFtg9G.js} +2 -2
  19. package/dist/{splitPathsBySizeLoader-BS08Me-9.js.map → splitPathsBySizeLoader-DbNFtg9G.js.map} +1 -1
  20. package/dist-types/edit-mode/dnd/utils.d.ts +0 -4
  21. package/dist-types/edit-mode/features/ui-store.d.ts +1 -1
  22. package/dist-types/edit-mode/iframe-wrappers.d.ts +0 -1
  23. package/dist-types/edit-mode/source-update-api.d.ts +0 -5
  24. package/dist-types/edit-mode/superblocks-editor-bridge.d.ts +1 -7
  25. package/dist-types/lib/index.d.ts +0 -1
  26. package/dist-types/lib/internal-details/lib/evaluator/base-entity-manager.d.ts +14 -16
  27. package/dist-types/lib/internal-details/lib/evaluator/compute-engines.d.ts +1 -2
  28. package/dist-types/lib/internal-details/lib/evaluator/create-scope-proxy.d.ts +1 -1
  29. package/dist-types/lib/internal-details/lib/evaluator/entity-manager.d.ts +7 -7
  30. package/dist-types/lib/internal-details/lib/evaluator/lazy-function.d.ts +1 -2
  31. package/dist-types/lib/internal-details/lib/evaluator/pretty-print-function.d.ts +1 -1
  32. package/dist-types/lib/internal-details/lib/evaluator/use-shallow-mobx-observer.d.ts +1 -1
  33. package/dist-types/lib/internal-details/lib/features/component-registry.d.ts +0 -14
  34. package/dist-types/lib/internal-details/lib/root-store.d.ts +0 -2
  35. package/dist-types/lib/internal-details/lib/types.d.ts +1 -34
  36. package/dist-types/lib/internal-details/scope/global.d.ts +1 -1
  37. package/dist-types/lib/internal-details/scope/types.d.ts +2 -2
  38. package/dist-types/lib/triggers/implementations/components/control-slideout.d.ts +3 -4
  39. package/dist-types/lib/triggers/implementations/show-alert.d.ts +1 -1
  40. package/dist-types/lib/triggers/implementations/state/reset-state-var.d.ts +3 -3
  41. package/dist-types/lib/triggers/implementations/state/set-state-var.d.ts +3 -3
  42. package/dist-types/lib/triggers/implementations/timers/control-timer.d.ts +3 -4
  43. package/dist-types/lib/triggers/registry.d.ts +9 -9
  44. package/dist-types/lib/user-facing/component-base/sb-component.d.ts +1 -5
  45. package/dist-types/lib/user-facing/components/button/index.d.ts +26 -26
  46. package/dist-types/lib/user-facing/components/button/props.d.ts +26 -26
  47. package/dist-types/lib/user-facing/components/checkbox/index.d.ts +31 -31
  48. package/dist-types/lib/user-facing/components/checkbox/props.d.ts +31 -31
  49. package/dist-types/lib/user-facing/components/column/index.d.ts +19 -19
  50. package/dist-types/lib/user-facing/components/column/props.d.ts +19 -19
  51. package/dist-types/lib/user-facing/components/container/index.d.ts +21 -21
  52. package/dist-types/lib/user-facing/components/container/props.d.ts +21 -21
  53. package/dist-types/lib/user-facing/components/custom/register-custom-component.d.ts +11 -14
  54. package/dist-types/lib/user-facing/components/date-picker/index.d.ts +48 -48
  55. package/dist-types/lib/user-facing/components/date-picker/props.d.ts +48 -48
  56. package/dist-types/lib/user-facing/components/dropdown/index.d.ts +54 -54
  57. package/dist-types/lib/user-facing/components/dropdown/props.d.ts +54 -54
  58. package/dist-types/lib/user-facing/components/grid/index.d.ts +13 -13
  59. package/dist-types/lib/user-facing/components/icon/index.d.ts +13 -11
  60. package/dist-types/lib/user-facing/components/icon/props.d.ts +13 -11
  61. package/dist-types/lib/user-facing/components/image/index.d.ts +20 -20
  62. package/dist-types/lib/user-facing/components/image/props.d.ts +23 -23
  63. package/dist-types/lib/user-facing/components/input/index.d.ts +63 -63
  64. package/dist-types/lib/user-facing/components/input/input-component.d.ts +0 -1
  65. package/dist-types/lib/user-facing/components/input/props.d.ts +63 -63
  66. package/dist-types/lib/user-facing/components/key-value/properties-props.d.ts +21 -21
  67. package/dist-types/lib/user-facing/components/key-value/props.d.ts +27 -27
  68. package/dist-types/lib/user-facing/components/modal/index.d.ts +31 -27
  69. package/dist-types/lib/user-facing/components/modal/props.d.ts +27 -27
  70. package/dist-types/lib/user-facing/components/page/index.d.ts +13 -13
  71. package/dist-types/lib/user-facing/components/page/props.d.ts +13 -13
  72. package/dist-types/lib/user-facing/components/section/index.d.ts +16 -16
  73. package/dist-types/lib/user-facing/components/section/props.d.ts +16 -16
  74. package/dist-types/lib/user-facing/components/slideout/index.d.ts +1 -41
  75. package/dist-types/lib/user-facing/components/slideout/props.d.ts +19 -39
  76. package/dist-types/lib/user-facing/components/stack/index.d.ts +38 -38
  77. package/dist-types/lib/user-facing/components/switch/index.d.ts +32 -32
  78. package/dist-types/lib/user-facing/components/switch/props.d.ts +32 -32
  79. package/dist-types/lib/user-facing/components/table/column-properties-panel.d.ts +161 -262
  80. package/dist-types/lib/user-facing/components/table/index.d.ts +205 -305
  81. package/dist-types/lib/user-facing/components/table/props.d.ts +205 -305
  82. package/dist-types/lib/user-facing/components/table/table-utilities.d.ts +4 -4
  83. package/dist-types/lib/user-facing/components/table/table-widget.d.ts +4 -5
  84. package/dist-types/lib/user-facing/components/table/types.d.ts +31 -33
  85. package/dist-types/lib/user-facing/components/text/index.d.ts +35 -35
  86. package/dist-types/lib/user-facing/components/text/props.d.ts +35 -35
  87. package/dist-types/lib/user-facing/constants.d.ts +1 -1
  88. package/dist-types/lib/user-facing/entities/api/props.d.ts +11 -20
  89. package/dist-types/lib/user-facing/entities/timer/props.d.ts +12 -12
  90. package/dist-types/lib/user-facing/entities/variable/props.d.ts +7 -7
  91. package/dist-types/lib/user-facing/layers.d.ts +2 -1
  92. package/dist-types/lib/user-facing/properties-panel/create-managed-props-list.d.ts +0 -4
  93. package/dist-types/lib/user-facing/properties-panel/mixins/appearance-properties.d.ts +12 -12
  94. package/dist-types/lib/user-facing/properties-panel/mixins/appearance.d.ts +2 -2
  95. package/dist-types/lib/user-facing/properties-panel/mixins/form-inputs-properties.d.ts +10 -10
  96. package/dist-types/lib/user-facing/properties-panel/mixins/layout-section.d.ts +45 -45
  97. package/dist-types/lib/user-facing/properties-panel/mixins/loading.d.ts +1 -1
  98. package/dist-types/lib/user-facing/properties-panel/props-builder.d.ts +9 -28
  99. package/dist-types/lib/user-facing/sb-event-flow.d.ts +4 -4
  100. package/dist-types/lib/user-facing/sb-provider.d.ts +2 -1
  101. package/package.json +3 -4
  102. package/dist/icons-lSlfQ50w.js.map +0 -1
  103. package/dist-types/internal-testing/components/slideout.d.ts +0 -3
  104. package/dist-types/lib/internal-details/lib/evaluator/sanitize-object.d.ts +0 -6
  105. package/dist-types/lib/internal-details/lib/evaluator/suspense-helpers.d.ts +0 -8
  106. package/dist-types/lib/internal-details/location-store.d.ts +0 -18
  107. package/dist-types/lib/user-facing/build-manifest.d.ts +0 -2
  108. package/dist-types/lib/user-facing/components/slideout/constants.d.ts +0 -10
  109. package/dist-types/lib/user-facing/components/slideout/slideout-component.d.ts +0 -31
  110. package/dist-types/lib/user-facing/entities/api/suspensible-api.d.ts +0 -20
  111. package/dist-types/lib/user-facing/hooks/use-dialog-editing.d.ts +0 -14
@@ -1,4 +1,3 @@
1
- import { LocationStore } from "../location-store.js";
2
1
  import ApiManager from "./features/api-store.js";
3
2
  import { ComponentRegistry } from "./features/component-registry.js";
4
3
  import { NameManager } from "./features/name-manager.js";
@@ -10,7 +9,6 @@ declare class RootStore {
10
9
  entityManager: IEntityManager;
11
10
  componentRegistry: ComponentRegistry;
12
11
  editStore?: EditStore;
13
- locationStore: LocationStore;
14
12
  private editorRegisteredCallbacks;
15
13
  private apisLoaded;
16
14
  private pageScopeLoaded;
@@ -160,22 +160,11 @@ export type FromParentToChildMessageTypesMap = {
160
160
  skipTriggerCreation?: boolean;
161
161
  otherComponentsUpdates?: Record<SbElement, Record<string, PropertyInfo>>;
162
162
  };
163
- /**
164
- * Request a route change in the child
165
- */
166
- "route-change": {
167
- route: string;
168
- params?: Record<string, string>;
169
- search?: Record<string, string>;
170
- };
171
163
  };
172
164
  export type FromParentToChildMessageTypes = keyof FromParentToChildMessageTypesMap;
173
165
  export type FromChildToParentMessageTypesMap = {
174
166
  "sb-ready": void;
175
167
  "iframe-action-batch": PayloadAction<unknown>[];
176
- /**
177
- * Navigate the parent window to a new URL
178
- */
179
168
  "navigate-to": {
180
169
  url: string;
181
170
  newWindow?: boolean;
@@ -188,6 +177,7 @@ export type FromChildToParentMessageTypesMap = {
188
177
  "sb-edit-operation-request": EditOperationPayload<EditOperationType>;
189
178
  "client:selectWidgets": {
190
179
  sourceIds: SbElement[];
180
+ selectingMultiple: boolean;
191
181
  };
192
182
  getDropTargetResult: {
193
183
  offset: XYCoord;
@@ -234,31 +224,8 @@ export type FromChildToParentMessageTypesMap = {
234
224
  message: any;
235
225
  apiName: string;
236
226
  };
237
- /**
238
- * Notify the parent of a route change
239
- */
240
- "route-change": {
241
- /**
242
- * Uninterpolated route
243
- * @example "/orders/:orderId"
244
- */
245
- route: string;
246
- /**
247
- * Interpolated path
248
- * @example "/orders/123"
249
- */
250
- path: string;
251
- /**
252
- * Route parameters used
253
- * @example { orderId: 123 }
254
- */
255
- params: Record<string, unknown>;
256
- };
257
227
  undo: void;
258
228
  redo: void;
259
- "socket/error": {
260
- message: string;
261
- };
262
229
  } & AppToEditorMessage<PropertiesPanelDefinition>;
263
230
  export type FromChildToParentMessageTypes = keyof FromChildToParentMessageTypesMap;
264
231
  export {};
@@ -1,5 +1,5 @@
1
1
  import type { Global as GlobalType } from "./types.js";
2
- import type { Theme as BaseTheme, UserAccessibleTheme } from "@superblocksteam/library-shared/types";
2
+ import type { UserAccessibleTheme, Theme as BaseTheme } from "@superblocksteam/library-shared/types";
3
3
  export declare const GlobalScope: import("react").FC<import("react").JSX.IntrinsicAttributes & {
4
4
  children: React.ReactNode;
5
5
  }>;
@@ -5,7 +5,7 @@ export declare const AppMode: {
5
5
  readonly PREVIEW: "PREVIEW";
6
6
  };
7
7
  export type AppMode = (typeof AppMode)[keyof typeof AppMode];
8
- export interface Global {
8
+ export type Global = {
9
9
  mode?: AppMode;
10
10
  user?: User;
11
11
  URL?: UrlState;
@@ -25,7 +25,7 @@ export interface Global {
25
25
  id: string;
26
26
  name: string;
27
27
  };
28
- }
28
+ };
29
29
  type User = {
30
30
  name: string;
31
31
  email: string;
@@ -1,18 +1,17 @@
1
1
  import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
2
  import type { BaseStepDef } from "../../../sb-trigger.js";
3
3
  import type { ExecutionContext } from "../../base.js";
4
- import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
5
4
  export interface ControlSlideoutStep extends BaseStepDef {
6
5
  type: typeof TriggerStepType.CONTROL_SLIDEOUT;
7
- name?: string;
6
+ name: string;
8
7
  direction: "open" | "close";
9
8
  }
10
9
  export declare const ControlSlideoutTrigger: {
11
10
  type: "controlSlideout";
12
11
  execute(context: ExecutionContext, step: ControlSlideoutStep): Promise<void>;
13
- create(slideout: WithBindingIdentifier, direction: "open" | "close"): {
12
+ create(name: string, direction: "open" | "close"): {
14
13
  type: "controlSlideout";
15
- name: string | undefined;
14
+ name: string;
16
15
  direction: "close" | "open";
17
16
  };
18
17
  };
@@ -12,7 +12,7 @@ export interface ShowAlertStep extends BaseStepDef {
12
12
  }
13
13
  export declare const ShowAlertTrigger: {
14
14
  type: "showAlert";
15
- execute(context: ExecutionContext, step: ShowAlertStep): Promise<void>;
15
+ execute(_context: ExecutionContext, step: ShowAlertStep): Promise<void>;
16
16
  create(message: ValueInputProp<string>, alertType: NotificationType, alertDuration?: number, alertPosition?: NotificationPosition): {
17
17
  type: "showAlert";
18
18
  message: ValueInputProp<string>;
@@ -4,13 +4,13 @@ import type { ExecutionContext } from "../../base.js";
4
4
  import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
5
5
  export interface ResetStateVarStep extends BaseStepDef {
6
6
  type: typeof TriggerStepType.RESET_STATE_VAR;
7
- variable?: WithBindingIdentifier;
7
+ state?: WithBindingIdentifier;
8
8
  }
9
9
  export declare const ResetStateVarTrigger: {
10
10
  type: "resetStateVar";
11
11
  execute(context: ExecutionContext, step: ResetStateVarStep): Promise<void>;
12
- create(variable?: WithBindingIdentifier): {
12
+ create(stateVar?: WithBindingIdentifier): {
13
13
  type: "resetStateVar";
14
- variable: WithBindingIdentifier | undefined;
14
+ state: WithBindingIdentifier | undefined;
15
15
  };
16
16
  };
@@ -5,15 +5,15 @@ import type { ExecutionContext } from "../../base.js";
5
5
  import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
6
6
  export interface SetStateVarStep extends BaseStepDef {
7
7
  type: typeof TriggerStepType.SET_STATE_VAR;
8
- variable?: WithBindingIdentifier;
8
+ state?: WithBindingIdentifier;
9
9
  value?: ValueInputProp;
10
10
  }
11
11
  export declare const SetStateVarTrigger: {
12
12
  type: "setStateVar";
13
13
  execute(context: ExecutionContext, step: SetStateVarStep): Promise<void>;
14
- create(variable?: WithBindingIdentifier, value?: ValueInputProp): {
14
+ create(stateVar?: WithBindingIdentifier, value?: ValueInputProp): {
15
15
  type: "setStateVar";
16
- variable: WithBindingIdentifier | undefined;
16
+ state: WithBindingIdentifier | undefined;
17
17
  value: ValueInputProp;
18
18
  };
19
19
  };
@@ -1,18 +1,17 @@
1
1
  import { TriggerStepType } from "@superblocksteam/library-shared/types";
2
2
  import type { BaseStepDef } from "../../../sb-trigger.js";
3
3
  import type { ExecutionContext } from "../../base.js";
4
- import type { WithBindingIdentifier } from "@superblocksteam/library-shared/types";
5
4
  export interface ControlTimerStep extends BaseStepDef {
6
5
  type: typeof TriggerStepType.CONTROL_TIMER;
7
- timer?: WithBindingIdentifier;
6
+ timerId: string;
8
7
  action: "start" | "stop" | "toggle";
9
8
  }
10
9
  export declare const ControlTimerTrigger: {
11
10
  type: "controlTimer";
12
11
  execute(_context: ExecutionContext, step: ControlTimerStep): Promise<void>;
13
- create(timer: WithBindingIdentifier, action: "start" | "stop" | "toggle"): {
12
+ create(timerId: string, action: "start" | "stop" | "toggle"): {
14
13
  type: "controlTimer";
15
- timer: WithBindingIdentifier;
14
+ timerId: string;
16
15
  action: "toggle" | "stop" | "start";
17
16
  };
18
17
  };
@@ -69,9 +69,9 @@ declare const EventRegistry: {
69
69
  readonly controlSlideout: {
70
70
  type: "controlSlideout";
71
71
  execute(context: import("./base.js").ExecutionContext, step: import("./implementations/components/control-slideout.js").ControlSlideoutStep): Promise<void>;
72
- create(slideout: import("@superblocksteam/library-shared/types").WithBindingIdentifier, direction: "open" | "close"): {
72
+ create(name: string, direction: "open" | "close"): {
73
73
  type: "controlSlideout";
74
- name: string | undefined;
74
+ name: string;
75
75
  direction: "close" | "open";
76
76
  };
77
77
  };
@@ -116,9 +116,9 @@ declare const EventRegistry: {
116
116
  readonly setStateVar: {
117
117
  type: "setStateVar";
118
118
  execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/set-state-var.js").SetStateVarStep): Promise<void>;
119
- create(variable?: import("@superblocksteam/library-shared/types").WithBindingIdentifier, value?: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
119
+ create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier, value?: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp): {
120
120
  type: "setStateVar";
121
- variable: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
121
+ state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
122
122
  value: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp;
123
123
  };
124
124
  };
@@ -135,23 +135,23 @@ declare const EventRegistry: {
135
135
  readonly resetStateVar: {
136
136
  type: "resetStateVar";
137
137
  execute(context: import("./base.js").ExecutionContext, step: import("./implementations/state/reset-state-var.js").ResetStateVarStep): Promise<void>;
138
- create(variable?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
138
+ create(stateVar?: import("@superblocksteam/library-shared/types").WithBindingIdentifier): {
139
139
  type: "resetStateVar";
140
- variable: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
140
+ state: import("@superblocksteam/library-shared/types").WithBindingIdentifier | undefined;
141
141
  };
142
142
  };
143
143
  readonly controlTimer: {
144
144
  type: "controlTimer";
145
145
  execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/timers/control-timer.js").ControlTimerStep): Promise<void>;
146
- create(timer: import("@superblocksteam/library-shared/types").WithBindingIdentifier, action: "start" | "stop" | "toggle"): {
146
+ create(timerId: string, action: "start" | "stop" | "toggle"): {
147
147
  type: "controlTimer";
148
- timer: import("@superblocksteam/library-shared/types").WithBindingIdentifier;
148
+ timerId: string;
149
149
  action: "toggle" | "stop" | "start";
150
150
  };
151
151
  };
152
152
  readonly showAlert: {
153
153
  type: "showAlert";
154
- execute(context: import("./base.js").ExecutionContext, step: import("./implementations/show-alert.js").ShowAlertStep): Promise<void>;
154
+ execute(_context: import("./base.js").ExecutionContext, step: import("./implementations/show-alert.js").ShowAlertStep): Promise<void>;
155
155
  create(message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>, alertType: import("../user-facing/utils/notification.jsx").NotificationType, alertDuration?: number, alertPosition?: import("../user-facing/utils/notification.jsx").NotificationPosition): {
156
156
  type: "showAlert";
157
157
  message: import("../internal-details/lib/evaluator/base-entity-manager.js").ValueInputProp<string>;
@@ -10,12 +10,8 @@ export type SbComponentProps<El = HTMLElement> = {
10
10
  maxWidth?: Dim;
11
11
  maxHeight?: Dim;
12
12
  sourceId?: SbElement;
13
+ reportInstanceId?: (instanceId: SbInstance) => void;
13
14
  marginLeft?: Dim<"columns">;
14
15
  marginTop?: Dim<"rows">;
15
16
  constraintTop?: string | string[];
16
- /**
17
- * undefined means auto, true means always loading, false means never loading
18
- */
19
- loading?: boolean;
20
- reportInstanceId?: (instanceId: SbInstance) => void;
21
17
  } & Omit<React.HTMLAttributes<El>, "height" | "width" | "marginLeft" | "marginTop">;
@@ -1,41 +1,41 @@
1
1
  export declare const SbButton: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
2
- general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
3
- label: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
2
+ general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
3
+ label: import("../../properties-panel/props-builder.js").Prop<string, false>;
4
4
  }>;
5
- layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
6
- padding: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
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
7
  } & {
8
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
9
- minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
10
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
11
- minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
12
- width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
13
- height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
8
+ maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
9
+ minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
10
+ maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
11
+ minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
12
+ width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
13
+ height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
14
14
  } & {
15
15
  margin: import("../../properties-panel/props-builder.js").Prop<{
16
16
  top: import("@superblocksteam/library-shared").Dim<"px">;
17
17
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
18
18
  left: import("@superblocksteam/library-shared").Dim<"px">;
19
19
  right: import("@superblocksteam/library-shared").Dim<"px">;
20
- } | undefined, true, undefined>;
20
+ } | undefined, true>;
21
21
  } & {
22
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
22
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
23
23
  }>;
24
- appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
25
- variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true, undefined>;
26
- icon: import("../../properties-panel/props-builder.js").Prop<string, false, undefined>;
27
- iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true, undefined>;
28
- textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
29
- backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
30
- border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
31
- borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
32
- horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true, undefined>;
33
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
24
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
25
+ variant: import("../../properties-panel/props-builder.js").Prop<import("./props.js").ButtonVariant, true>;
26
+ icon: import("../../properties-panel/props-builder.js").Prop<string, false>;
27
+ iconPosition: import("../../properties-panel/props-builder.js").Prop<import("../../icons/constants.js").IconPosition, true>;
28
+ textStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
29
+ backgroundColor: import("../../properties-panel/props-builder.js").Prop<string, true>;
30
+ border: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
31
+ borderRadius: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
32
+ horizontalAlign: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").HorizontalAlign, true>;
33
+ loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
34
34
  }>;
35
- interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
36
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
35
+ interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
36
+ isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
37
37
  }>;
38
- events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
39
- onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
38
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
39
+ onClick: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
40
40
  }>;
41
41
  }>>;
@@ -4,43 +4,43 @@ import type { Dim } from "@superblocksteam/library-shared";
4
4
  import type { HorizontalAlign } from "@superblocksteam/library-shared/props";
5
5
  export type ButtonVariant = "primary" | "secondary" | "tertiary";
6
6
  export declare const propertiesDefinition: {
7
- general: Section<Record<string, Prop<any, any, undefined>> & {
8
- label: Prop<string, false, undefined>;
7
+ general: Section<Record<string, Prop<any, any>> & {
8
+ label: Prop<string, false>;
9
9
  }>;
10
- layout: Section<Record<string, Prop<any, any, undefined>> & {
11
- padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true, undefined>;
10
+ layout: Section<Record<string, Prop<any, any>> & {
11
+ padding: Prop<import("@superblocksteam/library-shared/types").Spacing, true>;
12
12
  } & {
13
- maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
14
- minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
- maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
16
- minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
17
- width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
18
- height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
13
+ maxHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
14
+ minHeight?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
15
+ maxWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
16
+ minWidth?: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
17
+ width: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
18
+ height: Prop<Dim<import("@superblocksteam/library-shared").DimModes>, false>;
19
19
  } & {
20
20
  margin: Prop<{
21
21
  top: Dim<"px">;
22
22
  bottom: Dim<"px">;
23
23
  left: Dim<"px">;
24
24
  right: Dim<"px">;
25
- } | undefined, true, undefined>;
25
+ } | undefined, true>;
26
26
  } & {
27
- isVisible: Prop<boolean, true, undefined>;
27
+ isVisible: Prop<boolean, true>;
28
28
  }>;
29
- appearance: Section<Record<string, Prop<any, any, undefined>> & {
30
- variant: Prop<ButtonVariant, true, undefined>;
31
- icon: Prop<string, false, undefined>;
32
- iconPosition: Prop<IconPosition, true, undefined>;
33
- textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
34
- backgroundColor: Prop<string, true, undefined>;
35
- border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true, undefined>;
36
- borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true, undefined>;
37
- horizontalAlign: Prop<HorizontalAlign, true, undefined>;
38
- loading: Prop<boolean, true, undefined>;
29
+ appearance: Section<Record<string, Prop<any, any>> & {
30
+ variant: Prop<ButtonVariant, true>;
31
+ icon: Prop<string, false>;
32
+ iconPosition: Prop<IconPosition, true>;
33
+ textStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
34
+ backgroundColor: Prop<string, true>;
35
+ border: Prop<import("@superblocksteam/library-shared/types").PerSideBorder, true>;
36
+ borderRadius: Prop<import("@superblocksteam/library-shared/types").PerCornerBorderRadius, true>;
37
+ horizontalAlign: Prop<HorizontalAlign, true>;
38
+ loading: Prop<boolean, true>;
39
39
  }>;
40
- interaction: Section<Record<string, Prop<any, any, undefined>> & {
41
- isDisabled: Prop<boolean, true, undefined>;
40
+ interaction: Section<Record<string, Prop<any, any>> & {
41
+ isDisabled: Prop<boolean, true>;
42
42
  }>;
43
- events: Section<Record<string, Prop<any, any, undefined>> & {
44
- onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
43
+ events: Section<Record<string, Prop<any, any>> & {
44
+ onClick: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
45
45
  }>;
46
46
  };
@@ -1,47 +1,47 @@
1
1
  export declare const SbCheckbox: import("react").FC<import("../../properties-panel/props-builder.js").ExternalProps<{
2
- general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
3
- label: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
4
- defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
2
+ general: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
3
+ label: import("../../properties-panel/props-builder.js").Prop<string, true>;
4
+ defaultChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
5
5
  }>;
6
- appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
7
- labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
8
- loading: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
6
+ appearance: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
7
+ labelStyle: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
8
+ loading: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
9
9
  }>;
10
- layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
11
- maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
12
- minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
13
- maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
14
- minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
- width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
16
- height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
10
+ layout: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
11
+ maxHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
12
+ minHeight?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
13
+ maxWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
14
+ minWidth?: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
15
+ width: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
16
+ height: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
17
17
  } & {
18
18
  margin: import("../../properties-panel/props-builder.js").Prop<{
19
19
  top: import("@superblocksteam/library-shared").Dim<"px">;
20
20
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
21
21
  left: import("@superblocksteam/library-shared").Dim<"px">;
22
22
  right: import("@superblocksteam/library-shared").Dim<"px">;
23
- } | undefined, true, undefined>;
23
+ } | undefined, true>;
24
24
  } & {
25
- isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
25
+ isVisible: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
26
26
  }>;
27
- interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
28
- customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
29
- customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true, undefined>;
30
- isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false, undefined>;
31
- isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
32
- errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
27
+ interaction: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
28
+ customValidationRule: import("../../properties-panel/props-builder.js").Prop<string, true>;
29
+ customErrorMessage: import("../../properties-panel/props-builder.js").Prop<string, true>;
30
+ isRequired: import("../../properties-panel/props-builder.js").Prop<boolean, false>;
31
+ isDisabled: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
32
+ errorMessagePlacement: import("../../properties-panel/props-builder.js").Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
33
33
  }>;
34
- events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
35
- onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
34
+ events: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
35
+ onCheckChange: import("../../properties-panel/props-builder.js").Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
36
36
  }>;
37
- meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
38
- isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
39
- isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
37
+ meta: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
38
+ isTouched: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
39
+ isChecked: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
40
40
  }>;
41
- derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any, undefined>> & {
42
- value: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
43
- validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true, undefined>;
44
- isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
45
- showError: import("../../properties-panel/props-builder.js").Prop<boolean, true, undefined>;
41
+ derived: import("../../properties-panel/props-builder.js").Section<Record<string, import("../../properties-panel/props-builder.js").Prop<any, any>> & {
42
+ value: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
43
+ validationErrors: import("../../properties-panel/props-builder.js").Prop<any, true>;
44
+ isValid: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
45
+ showError: import("../../properties-panel/props-builder.js").Prop<boolean, true>;
46
46
  }>;
47
47
  }>>;
@@ -1,48 +1,48 @@
1
1
  import { Prop, Section } from "../../properties-panel/props-builder.js";
2
2
  export declare const propertiesDefinition: {
3
- general: Section<Record<string, Prop<any, any, undefined>> & {
4
- label: Prop<string, true, undefined>;
5
- defaultChecked: Prop<boolean, true, undefined>;
3
+ general: Section<Record<string, Prop<any, any>> & {
4
+ label: Prop<string, true>;
5
+ defaultChecked: Prop<boolean, true>;
6
6
  }>;
7
- appearance: Section<Record<string, Prop<any, any, undefined>> & {
8
- labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true, undefined>;
9
- loading: Prop<boolean, true, undefined>;
7
+ appearance: Section<Record<string, Prop<any, any>> & {
8
+ labelStyle: Prop<import("@superblocksteam/library-shared/types").TextStyleWithVariant, true>;
9
+ loading: Prop<boolean, true>;
10
10
  }>;
11
- layout: Section<Record<string, Prop<any, any, undefined>> & {
12
- maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
13
- minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
14
- maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
15
- minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined> | undefined;
16
- width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
17
- height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false, undefined>;
11
+ layout: Section<Record<string, Prop<any, any>> & {
12
+ maxHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
13
+ minHeight?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
14
+ maxWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
15
+ minWidth?: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false> | undefined;
16
+ width: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
17
+ height: Prop<import("@superblocksteam/library-shared").Dim<import("@superblocksteam/library-shared").DimModes>, false>;
18
18
  } & {
19
19
  margin: Prop<{
20
20
  top: import("@superblocksteam/library-shared").Dim<"px">;
21
21
  bottom: import("@superblocksteam/library-shared").Dim<"px">;
22
22
  left: import("@superblocksteam/library-shared").Dim<"px">;
23
23
  right: import("@superblocksteam/library-shared").Dim<"px">;
24
- } | undefined, true, undefined>;
24
+ } | undefined, true>;
25
25
  } & {
26
- isVisible: Prop<boolean, true, undefined>;
26
+ isVisible: Prop<boolean, true>;
27
27
  }>;
28
- interaction: Section<Record<string, Prop<any, any, undefined>> & {
29
- customValidationRule: Prop<string, true, undefined>;
30
- customErrorMessage: Prop<string, true, undefined>;
31
- isRequired: Prop<boolean, false, undefined>;
32
- isDisabled: Prop<boolean, true, undefined>;
33
- errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true, undefined>;
28
+ interaction: Section<Record<string, Prop<any, any>> & {
29
+ customValidationRule: Prop<string, true>;
30
+ customErrorMessage: Prop<string, true>;
31
+ isRequired: Prop<boolean, false>;
32
+ isDisabled: Prop<boolean, true>;
33
+ errorMessagePlacement: Prop<import("@superblocksteam/library-shared/props").ErrorMessagePlacement, true>;
34
34
  }>;
35
- events: Section<Record<string, Prop<any, any, undefined>> & {
36
- onCheckChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false, undefined>;
35
+ events: Section<Record<string, Prop<any, any>> & {
36
+ onCheckChange: Prop<import("../../sb-event-flow.js").SbEventFlow, false>;
37
37
  }>;
38
- meta: Section<Record<string, Prop<any, any, undefined>> & {
39
- isTouched: Prop<boolean, true, undefined>;
40
- isChecked: Prop<boolean, true, undefined>;
38
+ meta: Section<Record<string, Prop<any, any>> & {
39
+ isTouched: Prop<boolean, true>;
40
+ isChecked: Prop<boolean, true>;
41
41
  }>;
42
- derived: Section<Record<string, Prop<any, any, undefined>> & {
43
- value: Prop<boolean, true, undefined>;
44
- validationErrors: Prop<any, true, undefined>;
45
- isValid: Prop<boolean, true, undefined>;
46
- showError: Prop<boolean, true, undefined>;
42
+ derived: Section<Record<string, Prop<any, any>> & {
43
+ value: Prop<boolean, true>;
44
+ validationErrors: Prop<any, true>;
45
+ isValid: Prop<boolean, true>;
46
+ showError: Prop<boolean, true>;
47
47
  }>;
48
48
  };