x25 17.3.29 → 17.3.31

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.
@@ -6,6 +6,7 @@ declare type InputTemplatePropTypes = {
6
6
  readonly placeholder: string;
7
7
  readonly inputClass?: string;
8
8
  readonly tabIndex?: string;
9
+ disabled?: boolean;
9
10
  readonly rows?: string;
10
11
  readonly meta: {
11
12
  touched: boolean;
@@ -14,5 +15,5 @@ declare type InputTemplatePropTypes = {
14
15
  };
15
16
  readonly onRegisterRef?: (callback: (node: any) => void) => void;
16
17
  };
17
- export declare const SimpleTextarea: ({ input, label, onRegisterRef, autoFocus, inputClass, placeholder, tabIndex, rows, meta: { submitting, touched, error }, }: InputTemplatePropTypes) => JSX.Element;
18
+ export declare const SimpleTextarea: ({ disabled, input, label, onRegisterRef, autoFocus, inputClass, placeholder, tabIndex, rows, meta: { submitting, touched, error }, }: InputTemplatePropTypes) => JSX.Element;
18
19
  export {};
@@ -17,9 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.SimpleTextarea = void 0;
18
18
  var react_1 = __importDefault(require("react"));
19
19
  var SimpleTextarea = function (_a) {
20
- var input = _a.input, label = _a.label, onRegisterRef = _a.onRegisterRef, autoFocus = _a.autoFocus, inputClass = _a.inputClass, placeholder = _a.placeholder, tabIndex = _a.tabIndex, rows = _a.rows, _b = _a.meta, submitting = _b.submitting, touched = _b.touched, error = _b.error;
20
+ var disabled = _a.disabled, input = _a.input, label = _a.label, onRegisterRef = _a.onRegisterRef, autoFocus = _a.autoFocus, inputClass = _a.inputClass, placeholder = _a.placeholder, tabIndex = _a.tabIndex, rows = _a.rows, _b = _a.meta, submitting = _b.submitting, touched = _b.touched, error = _b.error;
21
21
  var warningClass = "".concat(touched && error ? " is-invalid" : ""), customClass = "".concat(inputClass ? " ".concat(inputClass) : ""), classForInput = "form-control ".concat(warningClass).concat(customClass);
22
- return (react_1.default.createElement("textarea", __assign({}, input, { "aria-label": label, autoFocus: autoFocus, className: classForInput, disabled: submitting, id: input.name, placeholder: placeholder, ref: onRegisterRef ? onRegisterRef : null, rows: rows, tabIndex: tabIndex })));
22
+ return (react_1.default.createElement("textarea", __assign({}, input, { "aria-label": label, autoFocus: autoFocus, className: classForInput, disabled: disabled || submitting, id: input.name, placeholder: placeholder, ref: onRegisterRef ? onRegisterRef : null, rows: rows, tabIndex: tabIndex })));
23
23
  };
24
24
  exports.SimpleTextarea = SimpleTextarea;
25
25
  //# sourceMappingURL=SimpleTextarea.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleTextarea.js","sourceRoot":"","sources":["../../src/Inputs/SimpleTextarea.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAeA,gDAA0B;AAEnB,IAAM,cAAc,GAAG,UAAC,EAGN;QAFvB,KAAK,WAAA,EAAE,KAAK,WAAA,EAAE,aAAa,mBAAA,EAAE,SAAS,eAAA,EAAE,UAAU,gBAAA,EAAE,WAAW,iBAAA,EAAE,QAAQ,cAAA,EAAE,IAAI,UAAA,EAC/E,YAAoC,EAA5B,UAAU,gBAAA,EAAE,OAAO,aAAA,EAAE,KAAK,WAAA;IAElC,IACE,YAAY,GAAG,UAAG,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAE,EACzD,WAAW,GAAG,UAAG,UAAU,CAAC,CAAC,CAAC,WAAI,UAAU,CAAE,CAAC,CAAC,CAAC,EAAE,CAAE,EACrD,aAAa,GAAG,uBAAgB,YAAY,SAAG,WAAW,CAAE,CAAC;IAE/D,OAAO,CACL,uDACM,KAAK,kBACG,KAAK,EACjB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,UAAU,EACpB,EAAE,EAAE,KAAK,CAAC,IAAI,EACd,WAAW,EAAE,WAAW,EACxB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EACzC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,IAClB,CACH,CAAC;AACJ,CAAC,CAAC;AAvBW,QAAA,cAAc,kBAuBzB"}
1
+ {"version":3,"file":"SimpleTextarea.js","sourceRoot":"","sources":["../../src/Inputs/SimpleTextarea.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAgBA,gDAA0B;AAEnB,IAAM,cAAc,GAAG,UAAC,EAIN;QAHvB,QAAQ,cAAA,EACR,KAAK,WAAA,EAAE,KAAK,WAAA,EAAE,aAAa,mBAAA,EAAE,SAAS,eAAA,EAAE,UAAU,gBAAA,EAAE,WAAW,iBAAA,EAAE,QAAQ,cAAA,EAAE,IAAI,UAAA,EAC/E,YAAoC,EAA5B,UAAU,gBAAA,EAAE,OAAO,aAAA,EAAE,KAAK,WAAA;IAElC,IACE,YAAY,GAAG,UAAG,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAE,EACzD,WAAW,GAAG,UAAG,UAAU,CAAC,CAAC,CAAC,WAAI,UAAU,CAAE,CAAC,CAAC,CAAC,EAAE,CAAE,EACrD,aAAa,GAAG,uBAAgB,YAAY,SAAG,WAAW,CAAE,CAAC;IAE/D,OAAO,CACL,uDACM,KAAK,kBACG,KAAK,EACjB,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,QAAQ,IAAI,UAAU,EAChC,EAAE,EAAE,KAAK,CAAC,IAAI,EACd,WAAW,EAAE,WAAW,EACxB,GAAG,EAAE,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,EACzC,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,QAAQ,IAClB,CACH,CAAC;AACJ,CAAC,CAAC;AAxBW,QAAA,cAAc,kBAwBzB"}
@@ -6,6 +6,7 @@ declare type InputTemplatePropTypes = {
6
6
  readonly placeholder: string;
7
7
  readonly inputClass?: string;
8
8
  readonly tabIndex?: string;
9
+ disabled?: boolean;
9
10
  readonly meta: {
10
11
  touched: boolean;
11
12
  error?: any;
@@ -1 +1 @@
1
- {"version":3,"file":"TextareaTemplate.js","sourceRoot":"","sources":["../../src/Inputs/TextareaTemplate.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAgBA,gDAA0B;AAC1B,0DAAoC;AACpC,mDAAkD;AAE3C,IAAM,gBAAgB,GAAG,UAAC,KAA6B;IAE1D,IAAA,KAAK,GAEH,KAAK,MAFF,EAAE,KAAK,GAEV,KAAK,MAFK,EAAE,IAAI,GAEhB,KAAK,KAFW,EAAE,KAAK,GAEvB,KAAK,MAFkB,EACzB,KACE,KAAK,KADiB,EAAhB,OAAO,aAAA,EAAE,KAAK,WAAE,CAChB;IAEV,OAAO,CACL,uCAAK,SAAS,EAAE,IAAA,oBAAU,EAAC,gBAAgB,EAAE;YAC3C,YAAY,EAAE,OAAO,IAAI,KAAK;SAC/B,CAAC;QACA,yCACE,SAAS,EAAE,UAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,sCAAmC,EACzE,OAAO,EAAE,KAAK,CAAC,IAAI,IAClB,KAAK,CACA;QACR,uCAAK,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU;YACxC,8BAAC,+BAAc,eAAK,KAAK,EAAI;YAC7B,uCAAK,SAAS,EAAC,kBAAkB,IAC9B,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,CAClB,4CACG,KAAK,CACD,CACR,CAAC,CAAC,CAAC,IAAI,CACJ,CACF,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,gBAAgB,oBA2B3B"}
1
+ {"version":3,"file":"TextareaTemplate.js","sourceRoot":"","sources":["../../src/Inputs/TextareaTemplate.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAiBA,gDAA0B;AAC1B,0DAAoC;AACpC,mDAAkD;AAE3C,IAAM,gBAAgB,GAAG,UAAC,KAA6B;IAE1D,IAAA,KAAK,GAEH,KAAK,MAFF,EAAE,KAAK,GAEV,KAAK,MAFK,EAAE,IAAI,GAEhB,KAAK,KAFW,EAAE,KAAK,GAEvB,KAAK,MAFkB,EACzB,KACE,KAAK,KADiB,EAAhB,OAAO,aAAA,EAAE,KAAK,WAAE,CAChB;IAEV,OAAO,CACL,uCAAK,SAAS,EAAE,IAAA,oBAAU,EAAC,gBAAgB,EAAE;YAC3C,YAAY,EAAE,OAAO,IAAI,KAAK;SAC/B,CAAC;QACA,yCACE,SAAS,EAAE,UAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,UAAU,sCAAmC,EACzE,OAAO,EAAE,KAAK,CAAC,IAAI,IAClB,KAAK,CACA;QACR,uCAAK,SAAS,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU;YACxC,8BAAC,+BAAc,eAAK,KAAK,EAAI;YAC7B,uCAAK,SAAS,EAAC,kBAAkB,IAC9B,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,CAClB,4CACG,KAAK,CACD,CACR,CAAC,CAAC,CAAC,IAAI,CACJ,CACF,CACF,CACP,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,gBAAgB,oBA2B3B"}
package/index.d.ts CHANGED
@@ -0,0 +1,2 @@
1
+ import NewFeature from "./UI/NewFeature";
2
+ export { NewFeature, };
package/index.js CHANGED
@@ -1,2 +1,9 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NewFeature = void 0;
7
+ var NewFeature_1 = __importDefault(require("./UI/NewFeature"));
8
+ exports.NewFeature = NewFeature_1.default;
2
9
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,+DAAyC;AAGvC,qBAHK,oBAAU,CAGL"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "17.3.29",
2
+ "version": "17.3.31",
3
3
  "name": "x25",
4
4
  "description": "x25",
5
5
  "types": "./dist/index.d.ts",