@appcorp/app-corp-vista 0.1.63 → 0.1.64

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.
@@ -66,7 +66,7 @@ var VistaUploadV1 = function (_a) {
66
66
  var inputRef = (0, react_1.useRef)(null);
67
67
  var slickConfig = {
68
68
  dots: true,
69
- infinite: true,
69
+ infinite: (imageUrls === null || imageUrls === void 0 ? void 0 : imageUrls.length) === 1 ? false : true,
70
70
  speed: 500,
71
71
  slidesToShow: 1,
72
72
  slidesToScroll: 1,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "scripts": {
5
5
  "build": "yarn clean && yarn build:ts && cp package.json lib && cp README.md lib",
6
6
  "build:next": "next build",
@@ -81,7 +81,7 @@
81
81
  "react-dom": "^19",
82
82
  "react-slick": "^0.30.3",
83
83
  "react-tooltip": "^5.28.1",
84
- "slick-carousel": "^1.8.1",
84
+ "slick-carousel": "^1",
85
85
  "storybook": "^8",
86
86
  "swr": "^2.3.0",
87
87
  "tailwindcss": "^4",
@@ -1,13 +1,3 @@
1
- import React from "react";
2
- import { VistaTextAreaV1Props } from "../type/vista-text-area-type";
3
- import { VistaTextInputV1Props } from "../type/vista-text-input-type";
4
- import { VistaSelectV1Props } from "../type/vista-select-type";
5
- import { VistaComboboxV1Props } from "../type/vista-combobox-type";
6
- import { VistaVerticalDividerV4Props } from "../type/vista-vertical-divider-type";
7
- import { VistaCheckboxV1Props, VistaCheckboxV2Props, VistaCheckboxV3Props } from "../type/vista-checkbox-type";
8
- import { VistaRadioV1Props } from "../type/vista-radio-type";
9
- import { VistaButtonV1Props } from "../type/vista-button-type";
10
- import { VistaUploadV1Props } from "../type/vista-upload-type";
11
1
  export declare enum VISTA_FORM_ELEMENTS {
12
2
  AUDIO_V1 = "AUDIO_V1",
13
3
  BUTTON_V1 = "BUTTON_V1",
@@ -22,17 +12,3 @@ export declare enum VISTA_FORM_ELEMENTS {
22
12
  TEXT_INPUT_V1 = "TEXT_INPUT_V1",
23
13
  UPLOAD_V1 = "UPLOAD_V1"
24
14
  }
25
- export declare const vistaFormSchema: {
26
- AUDIO_V1: (props: any) => React.JSX.Element;
27
- BUTTON_V1: (props: VistaButtonV1Props) => React.JSX.Element;
28
- CHECKBOX_V1: (props: VistaCheckboxV1Props) => React.JSX.Element;
29
- CHECKBOX_V2: (props: VistaCheckboxV2Props) => React.JSX.Element;
30
- CHECKBOX_V3: (props: VistaCheckboxV3Props) => React.JSX.Element;
31
- COMBOBOX_V1: (props: VistaComboboxV1Props) => React.JSX.Element;
32
- DIVIDER_V4: (props: VistaVerticalDividerV4Props) => React.JSX.Element;
33
- RADIO_V1: (props: VistaRadioV1Props) => React.JSX.Element;
34
- SELECT_V1: (props: VistaSelectV1Props) => React.JSX.Element;
35
- TEXT_AREA_V1: (props: VistaTextAreaV1Props) => React.JSX.Element;
36
- TEXT_INPUT_V1: (props: VistaTextInputV1Props) => React.JSX.Element;
37
- UPLOAD_V1: (props: VistaUploadV1Props) => React.JSX.Element;
38
- };
@@ -1,33 +1,27 @@
1
1
  "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __importDefault = (this && this.__importDefault) || function (mod) {
14
- return (mod && mod.__esModule) ? mod : { "default": mod };
15
- };
16
- var _a;
2
+ // import React from "react";
3
+ // import { VistaTextAreaV1Props } from "../type/vista-text-area-type";
4
+ // import { VistaTextAreaV1 } from "../molecules/vista-text-area-v1";
5
+ // import { VistaTextInputV1 } from "../molecules/vista-text-input-v1";
6
+ // import { VistaTextInputV1Props } from "../type/vista-text-input-type";
7
+ // import { VistaSelectV1Props } from "../type/vista-select-type";
8
+ // import { VistaSelectV1 } from "../molecules/vista-select-v1/vista-select-v1";
9
+ // import { VistaComboboxV1Props } from "../type/vista-combobox-type";
10
+ // import { VistaComboboxV1 } from "../molecules/vista-combobox-v1/vista-combobox-v1";
11
+ // import { VistaVerticalDividerV4Props } from "../type/vista-vertical-divider-type";
12
+ // import { VistaVerticalDividerV4 } from "../molecules/vista-vertical-divider-v4";
13
+ // import { VistaCheckboxV1 } from "../molecules/vista-checkbox-v1/vista-checkbox-v1";
14
+ // import { VistaCheckboxV1Props, VistaCheckboxV2Props, VistaCheckboxV3Props } from "../type/vista-checkbox-type";
15
+ // import { VistaCheckboxV2 } from "../molecules/vista-checkbox-v2/vista-checkbox-v2";
16
+ // import { VistaCheckboxV3 } from "../molecules/vista-checkbox-v3/vista-checkbox-v3";
17
+ // import { VistaRadioV1Props } from "../type/vista-radio-type";
18
+ // import { VistaRadioV1 } from "../molecules/vista-radio-v1/vista-radio-v1";
19
+ // import { VistaButtonV1Props } from "../type/vista-button-type";
20
+ // import { VistaButtonV1 } from "../molecules/vista-button-v1/vista-button-v1";
21
+ // import { VistaUploadV1Props } from "../type/vista-upload-type";
22
+ // import { VistaUploadV1 } from "../molecules/vista-upload-v1/vista-upload-v1";
17
23
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.vistaFormSchema = exports.VISTA_FORM_ELEMENTS = void 0;
19
- var react_1 = __importDefault(require("react"));
20
- var vista_text_area_v1_1 = require("../molecules/vista-text-area-v1");
21
- var vista_text_input_v1_1 = require("../molecules/vista-text-input-v1");
22
- var vista_select_v1_1 = require("../molecules/vista-select-v1/vista-select-v1");
23
- var vista_combobox_v1_1 = require("../molecules/vista-combobox-v1/vista-combobox-v1");
24
- var vista_vertical_divider_v4_1 = require("../molecules/vista-vertical-divider-v4");
25
- var vista_checkbox_v1_1 = require("../molecules/vista-checkbox-v1/vista-checkbox-v1");
26
- var vista_checkbox_v2_1 = require("../molecules/vista-checkbox-v2/vista-checkbox-v2");
27
- var vista_checkbox_v3_1 = require("../molecules/vista-checkbox-v3/vista-checkbox-v3");
28
- var vista_radio_v1_1 = require("../molecules/vista-radio-v1/vista-radio-v1");
29
- var vista_button_v1_1 = require("../molecules/vista-button-v1/vista-button-v1");
30
- var vista_upload_v1_1 = require("../molecules/vista-upload-v1/vista-upload-v1");
24
+ exports.VISTA_FORM_ELEMENTS = void 0;
31
25
  var VISTA_FORM_ELEMENTS;
32
26
  (function (VISTA_FORM_ELEMENTS) {
33
27
  VISTA_FORM_ELEMENTS["AUDIO_V1"] = "AUDIO_V1";
@@ -43,17 +37,17 @@ var VISTA_FORM_ELEMENTS;
43
37
  VISTA_FORM_ELEMENTS["TEXT_INPUT_V1"] = "TEXT_INPUT_V1";
44
38
  VISTA_FORM_ELEMENTS["UPLOAD_V1"] = "UPLOAD_V1";
45
39
  })(VISTA_FORM_ELEMENTS || (exports.VISTA_FORM_ELEMENTS = VISTA_FORM_ELEMENTS = {}));
46
- exports.vistaFormSchema = (_a = {},
47
- _a[VISTA_FORM_ELEMENTS.AUDIO_V1] = function (props) { return react_1.default.createElement("audio", __assign({}, props)); },
48
- _a[VISTA_FORM_ELEMENTS.BUTTON_V1] = function (props) { return react_1.default.createElement(vista_button_v1_1.VistaButtonV1, __assign({}, props)); },
49
- _a[VISTA_FORM_ELEMENTS.CHECKBOX_V1] = function (props) { return react_1.default.createElement(vista_checkbox_v1_1.VistaCheckboxV1, __assign({}, props)); },
50
- _a[VISTA_FORM_ELEMENTS.CHECKBOX_V2] = function (props) { return react_1.default.createElement(vista_checkbox_v2_1.VistaCheckboxV2, __assign({}, props)); },
51
- _a[VISTA_FORM_ELEMENTS.CHECKBOX_V3] = function (props) { return react_1.default.createElement(vista_checkbox_v3_1.VistaCheckboxV3, __assign({}, props)); },
52
- _a[VISTA_FORM_ELEMENTS.COMBOBOX_V1] = function (props) { return react_1.default.createElement(vista_combobox_v1_1.VistaComboboxV1, __assign({}, props)); },
53
- _a[VISTA_FORM_ELEMENTS.DIVIDER_V4] = function (props) { return react_1.default.createElement(vista_vertical_divider_v4_1.VistaVerticalDividerV4, __assign({}, props)); },
54
- _a[VISTA_FORM_ELEMENTS.RADIO_V1] = function (props) { return react_1.default.createElement(vista_radio_v1_1.VistaRadioV1, __assign({}, props)); },
55
- _a[VISTA_FORM_ELEMENTS.SELECT_V1] = function (props) { return react_1.default.createElement(vista_select_v1_1.VistaSelectV1, __assign({}, props)); },
56
- _a[VISTA_FORM_ELEMENTS.TEXT_AREA_V1] = function (props) { return react_1.default.createElement(vista_text_area_v1_1.VistaTextAreaV1, __assign({}, props)); },
57
- _a[VISTA_FORM_ELEMENTS.TEXT_INPUT_V1] = function (props) { return react_1.default.createElement(vista_text_input_v1_1.VistaTextInputV1, __assign({}, props)); },
58
- _a[VISTA_FORM_ELEMENTS.UPLOAD_V1] = function (props) { return react_1.default.createElement(vista_upload_v1_1.VistaUploadV1, __assign({}, props)); },
59
- _a);
40
+ // export const vistaFormSchema = {
41
+ // [VISTA_FORM_ELEMENTS.AUDIO_V1]: (props: any) => <audio {...props} />,
42
+ // [VISTA_FORM_ELEMENTS.BUTTON_V1]: (props: VistaButtonV1Props) => <VistaButtonV1 {...props} />,
43
+ // [VISTA_FORM_ELEMENTS.CHECKBOX_V1]: (props: VistaCheckboxV1Props) => <VistaCheckboxV1 {...props} />,
44
+ // [VISTA_FORM_ELEMENTS.CHECKBOX_V2]: (props: VistaCheckboxV2Props) => <VistaCheckboxV2 {...props} />,
45
+ // [VISTA_FORM_ELEMENTS.CHECKBOX_V3]: (props: VistaCheckboxV3Props) => <VistaCheckboxV3 {...props} />,
46
+ // [VISTA_FORM_ELEMENTS.COMBOBOX_V1]: (props: VistaComboboxV1Props) => <VistaComboboxV1 {...props} />,
47
+ // [VISTA_FORM_ELEMENTS.DIVIDER_V4]: (props: VistaVerticalDividerV4Props) => <VistaVerticalDividerV4 {...props} />,
48
+ // [VISTA_FORM_ELEMENTS.RADIO_V1]: (props: VistaRadioV1Props) => <VistaRadioV1 {...props} />,
49
+ // [VISTA_FORM_ELEMENTS.SELECT_V1]: (props: VistaSelectV1Props) => <VistaSelectV1 {...props} />,
50
+ // [VISTA_FORM_ELEMENTS.TEXT_AREA_V1]: (props: VistaTextAreaV1Props) => <VistaTextAreaV1 {...props} />,
51
+ // [VISTA_FORM_ELEMENTS.TEXT_INPUT_V1]: (props: VistaTextInputV1Props) => <VistaTextInputV1 {...props} />,
52
+ // [VISTA_FORM_ELEMENTS.UPLOAD_V1]: (props: VistaUploadV1Props) => <VistaUploadV1 {...props} />,
53
+ // };