@nomos-ui/form 0.3.0 → 0.3.1

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.
@@ -9,9 +9,13 @@ import ImageInput from "../components/image-input";
9
9
  import FileInput, { FileInputProps } from "../components/file-input";
10
10
  import FormFileInput, { FormFileInputProps } from "../components/form-file-input";
11
11
  import FormDebugInfo from "../components/form-debug-info";
12
- export { FormDebugInfo, FormInput, Input, Select, FormSelect, Textarea, FormTextarea, ImageInput, FormImageInput, FileInput, FormFileInput, };
13
- export type { SelectOption, SelectProps, FormSelectProps, FormFileInputProps, FileInputProps, };
12
+ import Switch, { SwitchProps } from "../components/switch";
13
+ import FormSwitch, { FormSwitchProps } from "../components/form-switch";
14
+ export { FormDebugInfo, FormInput, Input, Select, FormSelect, Textarea, FormTextarea, ImageInput, FormImageInput, FileInput, FormFileInput, Switch, FormSwitch, };
15
+ export type { SelectOption, SelectProps, FormSelectProps, FormFileInputProps, FileInputProps, SwitchProps, FormSwitchProps, };
14
16
  export * from "../components/input";
17
+ export * from "../components/switch";
18
+ export * from "../components/form-switch";
15
19
  export * from "../components/form-input";
16
20
  export * from "../components/file-input";
17
21
  export * from "../components/form-file-input";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,0BAA0B,CAAC;AACjD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AACxC,OAAO,MAAM,EAAE,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,UAAU,EAAE,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,QAAQ,MAAM,wBAAwB,CAAC;AAC9C,OAAO,YAAY,MAAM,6BAA6B,CAAC;AACvD,OAAO,cAAc,MAAM,gCAAgC,CAAC;AAC5D,OAAO,UAAU,MAAM,2BAA2B,CAAC;AACnD,OAAO,SAAS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L,aAAa,EACb,SAAS,EACT,KAAK,EACL,MAAM,EACN,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,cAAc,EACd,SAAS,EACT,aAAa,EACb,MAAM,EACN,UAAU,GACX,CAAC;AACF,YAAY,EACV,YAAY,EACZ,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,eAAe,GAChB,CAAC;AACF,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC"}
@@ -17,7 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.FormFileInput = exports.FileInput = exports.FormImageInput = exports.ImageInput = exports.FormTextarea = exports.Textarea = exports.FormSelect = exports.Select = exports.Input = exports.FormInput = exports.FormDebugInfo = void 0;
20
+ exports.FormSwitch = exports.Switch = exports.FormFileInput = exports.FileInput = exports.FormImageInput = exports.ImageInput = exports.FormTextarea = exports.Textarea = exports.FormSelect = exports.Select = exports.Input = exports.FormInput = exports.FormDebugInfo = void 0;
21
21
  const form_input_1 = __importDefault(require("../components/form-input"));
22
22
  exports.FormInput = form_input_1.default;
23
23
  const input_1 = __importDefault(require("../components/input"));
@@ -40,7 +40,13 @@ const form_file_input_1 = __importDefault(require("../components/form-file-input
40
40
  exports.FormFileInput = form_file_input_1.default;
41
41
  const form_debug_info_1 = __importDefault(require("../components/form-debug-info"));
42
42
  exports.FormDebugInfo = form_debug_info_1.default;
43
+ const switch_1 = __importDefault(require("../components/switch"));
44
+ exports.Switch = switch_1.default;
45
+ const form_switch_1 = __importDefault(require("../components/form-switch"));
46
+ exports.FormSwitch = form_switch_1.default;
43
47
  __exportStar(require("../components/input"), exports);
48
+ __exportStar(require("../components/switch"), exports);
49
+ __exportStar(require("../components/form-switch"), exports);
44
50
  __exportStar(require("../components/form-input"), exports);
45
51
  __exportStar(require("../components/file-input"), exports);
46
52
  __exportStar(require("../components/form-file-input"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,0EAAiD;AAgB/C,oBAhBK,oBAAS,CAgBL;AAfX,gEAAwC;AAgBtC,gBAhBK,eAAK,CAgBL;AAfP,kEAAyE;AAgBvE,iBAhBK,gBAAM,CAgBL;AAfR,4EAAwE;AAgBtE,qBAhBK,qBAAU,CAgBL;AAfZ,sEAA8C;AAgB5C,mBAhBK,kBAAQ,CAgBL;AAfV,gFAAuD;AAgBrD,uBAhBK,uBAAY,CAgBL;AAfd,sFAA4D;AAiB1D,yBAjBK,0BAAc,CAiBL;AAhBhB,4EAAmD;AAejD,qBAfK,qBAAU,CAeL;AAdZ,0EAAqE;AAgBnE,oBAhBK,oBAAS,CAgBL;AAfX,oFAEuC;AAcrC,wBAhBK,yBAAa,CAgBL;AAbf,oFAA0D;AAGxD,wBAHK,yBAAa,CAGL;AAmBf,sDAAoC;AACpC,2DAAyC;AACzC,2DAAyC;AACzC,gEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/exports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,0EAAiD;AAkB/C,oBAlBK,oBAAS,CAkBL;AAjBX,gEAAwC;AAkBtC,gBAlBK,eAAK,CAkBL;AAjBP,kEAAyE;AAkBvE,iBAlBK,gBAAM,CAkBL;AAjBR,4EAAwE;AAkBtE,qBAlBK,qBAAU,CAkBL;AAjBZ,sEAA8C;AAkB5C,mBAlBK,kBAAQ,CAkBL;AAjBV,gFAAuD;AAkBrD,uBAlBK,uBAAY,CAkBL;AAjBd,sFAA4D;AAmB1D,yBAnBK,0BAAc,CAmBL;AAlBhB,4EAAmD;AAiBjD,qBAjBK,qBAAU,CAiBL;AAhBZ,0EAAqE;AAkBnE,oBAlBK,oBAAS,CAkBL;AAjBX,oFAEuC;AAgBrC,wBAlBK,yBAAa,CAkBL;AAff,oFAA0D;AAKxD,wBALK,yBAAa,CAKL;AAJf,kEAA2D;AAezD,iBAfK,gBAAM,CAeL;AAdR,4EAAwE;AAetE,qBAfK,qBAAU,CAeL;AAWZ,sDAAoC;AACpC,uDAAqC;AACrC,4DAA0C;AAC1C,2DAAyC;AACzC,2DAAyC;AACzC,gEAA8C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nomos-ui/form",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "The Shadcn library for building robust React forms",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/exports/index.js",