@appcorp/app-corp-vista 0.1.60 → 0.1.62

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.
@@ -24,7 +24,7 @@ var VistaTextInputV1 = function (_a) {
24
24
  }, autoFocus: autoFocus, max: max, min: min, onKeyDown: handleOnKeyDown, placeholder: placeholder, readOnly: readOnly, required: required, type: type, value: value }),
25
25
  suffix && handleSuffixOnClick && (react_1.default.createElement("div", { className: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3", onClick: handleSuffixOnClick },
26
26
  react_1.default.createElement("span", { id: "price-currency", className: "text-gray-500 sm:text-sm" }, suffix)))),
27
- info && !error && (react_1.default.createElement("p", { id: "".concat(id, "-info"), className: "mt-2 text-sm text-primary" }, info)),
27
+ info && !error && (react_1.default.createElement("p", { id: "".concat(id, "-info"), className: "mt-2 text-sm text-blue-500" }, info)),
28
28
  error && !info && (react_1.default.createElement("p", { id: "".concat(id, "-error"), className: "mt-2 text-sm text-red-500 dark:text-red-500" }, error))));
29
29
  };
30
30
  exports.VistaTextInputV1 = VistaTextInputV1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcorp/app-corp-vista",
3
- "version": "0.1.60",
3
+ "version": "0.1.62",
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",
@@ -7,6 +7,7 @@ import { VistaCheckboxV1Props } from "./vista-checkbox-type";
7
7
  import { VistaVerticalDividerV4Props } from "./vista-vertical-divider-type";
8
8
  import { VistaSelectV1Props } from "./vista-select-type";
9
9
  import { VistaUploadV1Props } from "./vista-upload-type";
10
+ import { VistaComboboxV1Props } from "./vista-combobox-type";
10
11
  interface Base {
11
12
  enabled: boolean;
12
13
  order: number;
@@ -15,21 +16,24 @@ interface ButtonV1 extends VistaButtonV1Props, Base {
15
16
  }
16
17
  interface CheckboxV1 extends VistaCheckboxV1Props, Base {
17
18
  }
19
+ interface ComboboxV1 extends VistaComboboxV1Props, Base {
20
+ }
18
21
  interface DividerV4 extends VistaVerticalDividerV4Props, Base {
19
22
  }
20
23
  interface RadioV1 extends VistaRadioV1Props, Base {
21
24
  }
25
+ interface SelectV1 extends VistaSelectV1Props, Base {
26
+ }
22
27
  interface TextAreaV1 extends VistaTextAreaV1Props, Base {
23
28
  }
24
29
  interface TextInputV1 extends VistaTextInputV1Props, Base {
25
30
  }
26
- interface SelectV1 extends VistaSelectV1Props, Base {
27
- }
28
31
  interface UploadV1 extends VistaUploadV1Props, Base {
29
32
  }
30
33
  export interface VistaFormElements {
31
34
  [VISTA_FORM_ELEMENTS.BUTTON_V1]?: ButtonV1[];
32
35
  [VISTA_FORM_ELEMENTS.CHECKBOX_V1]?: CheckboxV1[];
36
+ [VISTA_FORM_ELEMENTS.COMBOBOX_V1]?: ComboboxV1[];
33
37
  [VISTA_FORM_ELEMENTS.DIVIDER_V4]?: DividerV4[];
34
38
  [VISTA_FORM_ELEMENTS.RADIO_V1]?: RadioV1[];
35
39
  [VISTA_FORM_ELEMENTS.SELECT_V1]?: SelectV1[];