@acoustte-digital-services/digitalstore-controls-dev 0.8.1-dev.20260326064410 → 0.8.1-dev.20260326064607

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/index.d.mts CHANGED
@@ -13,7 +13,7 @@ interface ViewControlProps {
13
13
  customProps?: Record<string, unknown>;
14
14
  }
15
15
 
16
- declare const ViewControl: React.ForwardRefExoticComponent<ViewControlProps & React.RefAttributes<HTMLDivElement>>;
16
+ declare const ViewControl: React.FC<ViewControlProps>;
17
17
 
18
18
  declare const ViewControlTypes: {
19
19
  lineText: string;
package/dist/index.d.ts CHANGED
@@ -13,7 +13,7 @@ interface ViewControlProps {
13
13
  customProps?: Record<string, unknown>;
14
14
  }
15
15
 
16
- declare const ViewControl: React.ForwardRefExoticComponent<ViewControlProps & React.RefAttributes<HTMLDivElement>>;
16
+ declare const ViewControl: React.FC<ViewControlProps>;
17
17
 
18
18
  declare const ViewControlTypes: {
19
19
  lineText: string;
package/dist/index.js CHANGED
@@ -672,31 +672,28 @@ var AiGeneratedSummary_default = AiGeneratedSummary;
672
672
 
673
673
  // src/components/controls/view/ViewControl.tsx
674
674
  var import_jsx_runtime10 = require("react/jsx-runtime");
675
- var ViewControl = import_react9.default.forwardRef(
676
- (props, ref) => {
677
- const ControlComponents = {
678
- [ViewControlTypes_default.lineText]: LineTextView_default,
679
- // [ViewControlTypes.asset]: Asset,
680
- [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
681
- [ViewControlTypes_default.money]: MoneyView_default,
682
- [ViewControlTypes_default.date]: DateView_default,
683
- [ViewControlTypes_default.time]: DateView_default,
684
- [ViewControlTypes_default.datetime]: DateView_default,
685
- [ViewControlTypes_default.number]: NumberView_default,
686
- [ViewControlTypes_default.multilineText]: MultilineTextView_default,
687
- [ViewControlTypes_default.moneyText]: MoneyView_default,
688
- [ViewControlTypes_default.percentage]: PercentageView_default,
689
- // [ViewControlTypes.statusBg]: StatusBg,
690
- [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
691
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
692
- // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
693
- [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
694
- };
695
- const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
696
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react9.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
697
- }
698
- );
699
- ViewControl.displayName = "ViewControl";
675
+ var ViewControl = (props) => {
676
+ const ControlComponents = {
677
+ [ViewControlTypes_default.lineText]: LineTextView_default,
678
+ // [ViewControlTypes.asset]: Asset,
679
+ [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
680
+ [ViewControlTypes_default.money]: MoneyView_default,
681
+ [ViewControlTypes_default.date]: DateView_default,
682
+ [ViewControlTypes_default.time]: DateView_default,
683
+ [ViewControlTypes_default.datetime]: DateView_default,
684
+ [ViewControlTypes_default.number]: NumberView_default,
685
+ [ViewControlTypes_default.multilineText]: MultilineTextView_default,
686
+ [ViewControlTypes_default.moneyText]: MoneyView_default,
687
+ [ViewControlTypes_default.percentage]: PercentageView_default,
688
+ // [ViewControlTypes.statusBg]: StatusBg,
689
+ [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
690
+ // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
691
+ // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
692
+ [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
693
+ };
694
+ const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
695
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_react9.default.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
696
+ };
700
697
  var ViewControl_default = ViewControl;
701
698
 
702
699
  // src/components/controls/edit/InputControl.tsx
package/dist/index.mjs CHANGED
@@ -321,31 +321,28 @@ var AiGeneratedSummary_default = AiGeneratedSummary;
321
321
 
322
322
  // src/components/controls/view/ViewControl.tsx
323
323
  import { jsx as jsx9 } from "react/jsx-runtime";
324
- var ViewControl = React9.forwardRef(
325
- (props, ref) => {
326
- const ControlComponents = {
327
- [ViewControlTypes_default.lineText]: LineTextView_default,
328
- // [ViewControlTypes.asset]: Asset,
329
- [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
330
- [ViewControlTypes_default.money]: MoneyView_default,
331
- [ViewControlTypes_default.date]: DateView_default,
332
- [ViewControlTypes_default.time]: DateView_default,
333
- [ViewControlTypes_default.datetime]: DateView_default,
334
- [ViewControlTypes_default.number]: NumberView_default,
335
- [ViewControlTypes_default.multilineText]: MultilineTextView_default,
336
- [ViewControlTypes_default.moneyText]: MoneyView_default,
337
- [ViewControlTypes_default.percentage]: PercentageView_default,
338
- // [ViewControlTypes.statusBg]: StatusBg,
339
- [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
340
- // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
341
- // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
342
- [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
343
- };
344
- const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
345
- return /* @__PURE__ */ jsx9(React9.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx9(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
346
- }
347
- );
348
- ViewControl.displayName = "ViewControl";
324
+ var ViewControl = (props) => {
325
+ const ControlComponents = {
326
+ [ViewControlTypes_default.lineText]: LineTextView_default,
327
+ // [ViewControlTypes.asset]: Asset,
328
+ [ViewControlTypes_default.multilineTextBullets]: MultilineTextBulletsView_default,
329
+ [ViewControlTypes_default.money]: MoneyView_default,
330
+ [ViewControlTypes_default.date]: DateView_default,
331
+ [ViewControlTypes_default.time]: DateView_default,
332
+ [ViewControlTypes_default.datetime]: DateView_default,
333
+ [ViewControlTypes_default.number]: NumberView_default,
334
+ [ViewControlTypes_default.multilineText]: MultilineTextView_default,
335
+ [ViewControlTypes_default.moneyText]: MoneyView_default,
336
+ [ViewControlTypes_default.percentage]: PercentageView_default,
337
+ // [ViewControlTypes.statusBg]: StatusBg,
338
+ [ViewControlTypes_default.progressIndicator]: ProgressIndicator_default,
339
+ // [ViewControlTypes.timeUntilStarts]: TimeUntilStarts,
340
+ // [ViewControlTypes.timeUntilStartsStyled]: TimeUntilStartsStyled,
341
+ [ViewControlTypes_default.aiGeneratedSummary]: AiGeneratedSummary_default
342
+ };
343
+ const SelectedControlComponent = props.controlType ? ControlComponents[props.controlType] : void 0;
344
+ return /* @__PURE__ */ jsx9(React9.Fragment, { children: SelectedControlComponent ? /* @__PURE__ */ jsx9(SelectedControlComponent, { ...props }) : "Control not found:" + props.controlType });
345
+ };
349
346
  var ViewControl_default = ViewControl;
350
347
 
351
348
  // src/components/controls/edit/InputControl.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acoustte-digital-services/digitalstore-controls-dev",
3
- "version": "0.8.1-dev.20260326064410",
3
+ "version": "0.8.1-dev.20260326064607",
4
4
  "description": "Reusable React components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",