siam-ui-utils 1.0.2 → 1.0.3

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.
@@ -0,0 +1,23 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.Separator = exports.Colxx = void 0;
15
+ var React = require("react");
16
+ var reactstrap_1 = require("reactstrap");
17
+ var Colxx = function (props) { return (React.createElement(reactstrap_1.Col, __assign({}, props, { widths: ['xxs', 'xs', 'sm', 'md', 'lg', 'xl', 'xxl'] }))); };
18
+ exports.Colxx = Colxx;
19
+ var Separator = function (_a) {
20
+ var className = _a.className;
21
+ return (React.createElement("div", { className: "separator ".concat(className) }));
22
+ };
23
+ exports.Separator = Separator;
@@ -0,0 +1,23 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.CustomSelectInput = void 0;
15
+ var React = require("react");
16
+ var react_select_1 = require("react-select");
17
+ var CustomSelectInput = function (props) {
18
+ var customProps = __assign({}, props);
19
+ delete customProps.autoCorrect;
20
+ delete customProps.autoCapitalize;
21
+ return React.createElement(react_select_1.components.Input, __assign({}, customProps));
22
+ };
23
+ exports.CustomSelectInput = CustomSelectInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -19,8 +19,8 @@
19
19
  },
20
20
  "moduleResolution": "nodenext",
21
21
  "scripts": {
22
- "build-node": "npx tsc src/index.ts --jsx perserve --outDir dist_node",
23
- "build-browser": "npx tsc src/index.ts --jsx perserve --outDir dist_browser",
22
+ "build-node": "npx tsc src/index.ts --jsx reat --outDir dist_node",
23
+ "build-browser": "npx tsc src/index.ts --jsx react --outDir dist_browser",
24
24
  "build": "npm run build-node & npm run build-browser",
25
25
  "test": "vitest --clearScreen",
26
26
  "test-without-stopping": "vitest --clearScreen --run",