period-ui 0.1.6 → 0.1.8

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.
Files changed (56) hide show
  1. package/dist/components/atoms/text/text-types.d.ts +1 -0
  2. package/dist/components/atoms/text/text-types.d.ts.map +1 -1
  3. package/dist/components/atoms/text/text-types.js +1 -0
  4. package/dist/components/atoms/text/text-types.js.map +1 -1
  5. package/dist/components/index.d.ts +1 -0
  6. package/dist/components/index.d.ts.map +1 -1
  7. package/dist/components/index.js +1 -0
  8. package/dist/components/index.js.map +1 -1
  9. package/dist/components/molecules/form/form-select/form-select.js +1 -1
  10. package/dist/components/molecules/form/form-select/form-select.js.map +1 -1
  11. package/dist/components/molecules/form/form-story-stubs.d.ts +1 -1
  12. package/dist/components/molecules/form/form-story-stubs.d.ts.map +1 -1
  13. package/dist/components/molecules/form/form-test-stubs.d.ts +1 -1
  14. package/dist/components/molecules/form/form-test-stubs.d.ts.map +1 -1
  15. package/dist/components/molecules/form/form-types.d.ts +24 -0
  16. package/dist/components/molecules/form/form-types.d.ts.map +1 -0
  17. package/dist/components/molecules/form/form-types.js +3 -0
  18. package/dist/components/molecules/form/form-types.js.map +1 -0
  19. package/dist/components/molecules/form/form.d.ts +2 -23
  20. package/dist/components/molecules/form/form.d.ts.map +1 -1
  21. package/dist/components/molecules/form/form.js +1 -1
  22. package/dist/components/molecules/form/form.js.map +1 -1
  23. package/dist/components/molecules/form/index.d.ts +1 -0
  24. package/dist/components/molecules/form/index.d.ts.map +1 -1
  25. package/dist/components/molecules/form/index.js +1 -0
  26. package/dist/components/molecules/form/index.js.map +1 -1
  27. package/dist/components/molecules/text-field/index.d.ts +2 -0
  28. package/dist/components/molecules/text-field/index.d.ts.map +1 -0
  29. package/dist/components/molecules/text-field/index.js +18 -0
  30. package/dist/components/molecules/text-field/index.js.map +1 -0
  31. package/dist/components/molecules/text-field/text-field.d.ts +18 -0
  32. package/dist/components/molecules/text-field/text-field.d.ts.map +1 -0
  33. package/dist/components/molecules/text-field/text-field.js +10 -0
  34. package/dist/components/molecules/text-field/text-field.js.map +1 -0
  35. package/dist/containers/form-control/form-control-types.d.ts +11 -0
  36. package/dist/containers/form-control/form-control-types.d.ts.map +1 -0
  37. package/dist/containers/form-control/form-control-types.js +19 -0
  38. package/dist/containers/form-control/form-control-types.js.map +1 -0
  39. package/dist/containers/form-control/form-control.d.ts +1 -10
  40. package/dist/containers/form-control/form-control.d.ts.map +1 -1
  41. package/dist/containers/form-control/form-control.js +3 -18
  42. package/dist/containers/form-control/form-control.js.map +1 -1
  43. package/dist/containers/form-control/index.d.ts +3 -0
  44. package/dist/containers/form-control/index.d.ts.map +1 -0
  45. package/dist/containers/form-control/index.js +19 -0
  46. package/dist/containers/form-control/index.js.map +1 -0
  47. package/dist/containers/index.d.ts +1 -1
  48. package/dist/containers/index.d.ts.map +1 -1
  49. package/dist/containers/index.js +1 -1
  50. package/dist/containers/index.js.map +1 -1
  51. package/dist/index.d.ts +2 -1
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.js +3 -1
  54. package/dist/index.js.map +1 -1
  55. package/dist/tsconfig.build.tsbuildinfo +1 -1
  56. package/package.json +3 -2
@@ -11,6 +11,7 @@ export declare enum TextVariant {
11
11
  }
12
12
  export declare const TextStyle: Record<TextVariant, string>;
13
13
  export declare enum TextColors {
14
+ WHITE = "text-white",
14
15
  BLACK = "text-gray-01",
15
16
  BLACK_02 = "text-gray-02",
16
17
  BLACK_03 = "text-gray-03",
@@ -1 +1 @@
1
- {"version":3,"file":"text-types.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/text/text-types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,oBAAY,WAAW;IACrB,QAAQ,aAAa;IACrB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,aAAa,iBAAiB;IAC9B,SAAS,aAAa;IACtB,IAAI,SAAS;IACb,MAAM,WAAW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AAC,WAAW,EAAE,KAAK,GAAG,EAAE,IAAI,eAAe,CAC5F,OAAO,CAAC,CAAC,CAAC,EACV,KAAK,CACN,CAAC;AAMF,MAAM,MAAM,yBAAyB,CACnC,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,KAAK,GAAG,EAAE,IACR,uBAAuB,CAAC,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAElD,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,IAAI,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAEhG,MAAM,MAAM,gCAAgC,CAC1C,CAAC,SAAS,KAAK,CAAC,WAAW,EAC3B,KAAK,GAAG,EAAE,IACR,yBAAyB,CAAC,CAAC,EAAE,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAA;CAAE,CAAC"}
@@ -24,6 +24,7 @@ exports.TextStyle = {
24
24
  };
25
25
  var TextColors;
26
26
  (function (TextColors) {
27
+ TextColors["WHITE"] = "text-white";
27
28
  TextColors["BLACK"] = "text-gray-01";
28
29
  TextColors["BLACK_02"] = "text-gray-02";
29
30
  TextColors["BLACK_03"] = "text-gray-03";
@@ -1 +1 @@
1
- {"version":3,"file":"text-types.js","sourceRoot":"","sources":["../../../../src/components/atoms/text/text-types.ts"],"names":[],"mappings":";;;AAGA,IAAY,WASX;AATD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,6CAA8B,CAAA;IAC9B,qCAAsB,CAAA;IACtB,4BAAa,CAAA;IACb,gCAAiB,CAAA;AACnB,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAEY,QAAA,SAAS,GAAgC;IACpD,CAAC,WAAW,CAAC,QAAQ,CAAC,EACpB,2EAA2E;IAC7E,CAAC,WAAW,CAAC,QAAQ,CAAC,EACpB,2EAA2E;IAC7E,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,uEAAuE;IAC7F,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,yEAAyE;IAC7F,CAAC,WAAW,CAAC,aAAa,CAAC,EACzB,2EAA2E;IAC7E,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,uEAAuE;IAChG,CAAC,WAAW,CAAC,IAAI,CAAC,EAChB,kGAAkG;IACpG,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,yEAAyE;CAChG,CAAC;AAEF,IAAY,UASX;AATD,WAAY,UAAU;IACpB,oCAAsB,CAAA;IACtB,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,mCAAqB,CAAA;IACrB,sCAAwB,CAAA;IACxB,iCAAmB,CAAA;IACnB,oCAAsB,CAAA;IACtB,uCAAyB,CAAA;AAC3B,CAAC,EATW,UAAU,0BAAV,UAAU,QASrB"}
1
+ {"version":3,"file":"text-types.js","sourceRoot":"","sources":["../../../../src/components/atoms/text/text-types.ts"],"names":[],"mappings":";;;AAGA,IAAY,WASX;AATD,WAAY,WAAW;IACrB,oCAAqB,CAAA;IACrB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,6CAA8B,CAAA;IAC9B,qCAAsB,CAAA;IACtB,4BAAa,CAAA;IACb,gCAAiB,CAAA;AACnB,CAAC,EATW,WAAW,2BAAX,WAAW,QAStB;AAEY,QAAA,SAAS,GAAgC;IACpD,CAAC,WAAW,CAAC,QAAQ,CAAC,EACpB,2EAA2E;IAC7E,CAAC,WAAW,CAAC,QAAQ,CAAC,EACpB,2EAA2E;IAC7E,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,uEAAuE;IAC7F,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,yEAAyE;IAC7F,CAAC,WAAW,CAAC,aAAa,CAAC,EACzB,2EAA2E;IAC7E,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,uEAAuE;IAChG,CAAC,WAAW,CAAC,IAAI,CAAC,EAChB,kGAAkG;IACpG,CAAC,WAAW,CAAC,MAAM,CAAC,EAAE,yEAAyE;CAChG,CAAC;AAEF,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,kCAAoB,CAAA;IACpB,oCAAsB,CAAA;IACtB,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,mCAAqB,CAAA;IACrB,sCAAwB,CAAA;IACxB,iCAAmB,CAAA;IACnB,oCAAsB,CAAA;IACtB,uCAAyB,CAAA;AAC3B,CAAC,EAVW,UAAU,0BAAV,UAAU,QAUrB"}
@@ -11,4 +11,5 @@ export * from './atoms/text-button';
11
11
  export * from './molecules/form';
12
12
  export * from './molecules/form/form-select';
13
13
  export * from './molecules/select';
14
+ export * from './molecules/text-field';
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AAGpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
@@ -27,4 +27,5 @@ __exportStar(require("./atoms/text-button"), exports);
27
27
  __exportStar(require("./molecules/form"), exports);
28
28
  __exportStar(require("./molecules/form/form-select"), exports);
29
29
  __exportStar(require("./molecules/select"), exports);
30
+ __exportStar(require("./molecules/text-field"), exports);
30
31
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,qDAAmC;AACnC,iDAA+B;AAC/B,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,+CAA6B;AAC7B,sDAAoC;AAGpC,mDAAiC;AACjC,+DAA6C;AAC7C,qDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,qDAAmC;AACnC,iDAA+B;AAC/B,oDAAkC;AAClC,oDAAkC;AAClC,0DAAwC;AACxC,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,+CAA6B;AAC7B,sDAAoC;AAGpC,mDAAiC;AACjC,+DAA6C;AAC7C,qDAAmC;AACnC,yDAAuC"}
@@ -24,6 +24,6 @@ function FormSelect({ formControlClassName, ...props }) {
24
24
  onOptionChange(selectedValues);
25
25
  }
26
26
  }
27
- return ((0, jsx_runtime_1.jsx)(containers_1.FormControl, { ...props, errorText: props.errorText || props.formProps.errors[props.formName], inputWidth: props.isMultiSelect ? containers_1.FormInputWidth.FOUR_COLUMN : props.inputWidth, className: formControlClassName, children: ({ isErrorVisible }) => ((0, jsx_runtime_1.jsx)(components_1.Select, { ...props, onChangeText: handleValueChange, onOptionChange: handleChange, isErrorVisible: isErrorVisible })) }));
27
+ return ((0, jsx_runtime_1.jsx)(containers_1.FormControl, { ...props, errorText: props.errorText || props.formProps.errors[props.formName], inputWidth: props.isMultiSelect ? containers_1.FormInputWidth.FOUR_COLUMN : props.inputWidth, className: formControlClassName, children: ({ isErrorVisible }) => ((0, jsx_runtime_1.jsx)(components_1.Select, { ...props, isErrorVisible: isErrorVisible, onOptionChange: handleChange, onChangeText: handleValueChange })) }));
28
28
  }
29
29
  //# sourceMappingURL=form-select.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-select.js","sourceRoot":"","sources":["../../../../../src/components/molecules/form/form-select/form-select.tsx"],"names":[],"mappings":";;AAQA,gCA4CC;;AApDD,uDAAuF;AACvF,uDAA6D;AAO7D,SAAgB,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,KAAK,EAAmB;IAC5E,KAAK,UAAU,iBAAiB,CAAC,KAAa;QAC5C,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;QAEpD,MAAM,SAAS,CAAC,aAAa,CAAC,QAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;QAEtD,IAAI,YAAY,EAAE,CAAC;YACjB,YAAY,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAED,KAAK,UAAU,YAAY,CAAC,cAAwB;QAClD,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAC/D,MAAM,CAAC,aAAa,CAAC,GAAG,cAAc,CAAC;QACvC,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;QAE3E,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,MAAM,SAAS,CAAC,aAAa,CAAC,QAAS,EAAE,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAEhE,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,CAAC,cAAc,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;IAED,OAAO,CACL,uBAAC,wBAAW,OACN,KAAK,EACT,SAAS,EAAE,KAAK,CAAC,SAAS,IAAK,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,QAAS,CAAwB,EAC7F,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,2BAAc,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,EAC/E,SAAS,EAAE,oBAAoB,YAE9B,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACvB,uBAAC,mBAAM,OACD,KAAK,EACT,YAAY,EAAE,iBAAiB,EAC/B,cAAc,EAAE,YAAY,EAC5B,cAAc,EAAE,cAAc,GAC9B,CACH,GACW,CACf,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"form-select.js","sourceRoot":"","sources":["../../../../../src/components/molecules/form/form-select/form-select.tsx"],"names":[],"mappings":";;AAQA,gCA4CC;;AApDD,uDAAuF;AACvF,uDAA6D;AAO7D,SAAgB,UAAU,CAAC,EAAE,oBAAoB,EAAE,GAAG,KAAK,EAAmB;IAC5E,KAAK,UAAU,iBAAiB,CAAC,KAAa;QAC5C,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;QAEpD,MAAM,SAAS,CAAC,aAAa,CAAC,QAAS,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;QAEtD,IAAI,YAAY,EAAE,CAAC;YACjB,YAAY,CAAC,KAAK,CAAC,CAAC;QACtB,CAAC;IACH,CAAC;IAED,KAAK,UAAU,YAAY,CAAC,cAAwB;QAClD,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,KAAK,CAAC;QAC/D,MAAM,CAAC,aAAa,CAAC,GAAG,cAAc,CAAC;QACvC,MAAM,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,KAAK,aAAa,CAAC,CAAC;QAE3E,IAAI,CAAC,SAAS,EAAE,CAAC;YACf,OAAO;QACT,CAAC;QAED,MAAM,SAAS,CAAC,aAAa,CAAC,QAAS,EAAE,SAAS,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;QAEhE,IAAI,cAAc,EAAE,CAAC;YACnB,cAAc,CAAC,cAAc,CAAC,CAAC;QACjC,CAAC;IACH,CAAC;IAED,OAAO,CACL,uBAAC,wBAAW,OACN,KAAK,EACT,SAAS,EAAE,KAAK,CAAC,SAAS,IAAK,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,KAAK,CAAC,QAAS,CAAwB,EAC7F,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,2BAAc,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,EAC/E,SAAS,EAAE,oBAAoB,YAE9B,CAAC,EAAE,cAAc,EAAE,EAAE,EAAE,CAAC,CACvB,uBAAC,mBAAM,OACD,KAAK,EACT,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,YAAY,EAC5B,YAAY,EAAE,iBAAiB,GAC/B,CACH,GACW,CACf,CAAC;AACJ,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { FormikValues } from 'formik';
2
- import { FormHelpers, FormRenderProps } from './form';
2
+ import { FormHelpers, FormRenderProps } from './form-types';
3
3
  export type TestFormValues = {
4
4
  test: string;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"form-story-stubs.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form-story-stubs.ts"],"names":[],"mappings":"AAEA,OAAO,EAOL,YAAY,EACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;IACvC,aAAa,EAAE,cAAc,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACnF,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,YAAY,EAC1D,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,GACpB,eAAe,CAAC,CAAC,CAAC,CAuFpB"}
1
+ {"version":3,"file":"form-story-stubs.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form-story-stubs.ts"],"names":[],"mappings":"AAEA,OAAO,EAOL,YAAY,EACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE5D,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;IACvC,aAAa,EAAE,cAAc,CAAC;IAC9B,QAAQ,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACnF,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,CAAC,SAAS,YAAY,EAC1D,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC,GACpB,eAAe,CAAC,CAAC,CAAC,CAuFpB"}
@@ -1,4 +1,4 @@
1
- import { FormRenderProps } from './form';
1
+ import { FormRenderProps } from './form-types';
2
2
  export type TestFormValues = {
3
3
  test: string;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"form-test-stubs.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form-test-stubs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAEzC,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,cAAc,CAyCzD,CAAC"}
1
+ {"version":3,"file":"form-test-stubs.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form-test-stubs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,eAAe,CAAC,cAAc,CAyCzD,CAAC"}
@@ -0,0 +1,24 @@
1
+ import BaseSchema from 'yup/lib/schema';
2
+ import { FormikHelpers, FormikProps } from 'formik';
3
+ export type FormNames<FormValuesType> = {
4
+ [key in keyof FormValuesType]: string;
5
+ };
6
+ export type FormErrors<FormValuesType> = {
7
+ [key in keyof FormValuesType]: string;
8
+ };
9
+ export type FormSchema<FormValuesType> = {
10
+ [key in keyof FormValuesType]: BaseSchema;
11
+ };
12
+ export type FormHelpers<FormValuesType> = FormikHelpers<FormValuesType>;
13
+ export type FormRenderProps<FormValuesType> = FormikProps<FormValuesType> & {
14
+ submitButtonDisabled: boolean;
15
+ };
16
+ export type FormConfig<FormValuesType> = {
17
+ enableReinitialize?: boolean;
18
+ names: FormNames<FormValuesType>;
19
+ initialValues: FormValuesType;
20
+ validationSchema?: FormSchema<FormValuesType>;
21
+ innerRef?: React.Ref<FormikProps<FormValuesType>>;
22
+ onSubmit: (values: FormValuesType, helpers?: FormHelpers<FormValuesType>) => void;
23
+ };
24
+ //# sourceMappingURL=form-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-types.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form-types.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEpD,MAAM,MAAM,SAAS,CAAC,cAAc,IAAI;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,MAAM;CAAE,CAAC;AAElF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,MAAM;CAAE,CAAC;AAEnF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,UAAU;CAAE,CAAC;AAEvF,MAAM,MAAM,WAAW,CAAC,cAAc,IAAI,aAAa,CAAC,cAAc,CAAC,CAAC;AAExE,MAAM,MAAM,eAAe,CAAC,cAAc,IAAI,WAAW,CAAC,cAAc,CAAC,GAAG;IAC1E,oBAAoB,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;IACvC,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACjC,aAAa,EAAE,cAAc,CAAC;IAC9B,gBAAgB,CAAC,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IAC9C,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC;IAClD,QAAQ,EAAE,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,WAAW,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;CACnF,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=form-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-types.js","sourceRoot":"","sources":["../../../../src/components/molecules/form/form-types.ts"],"names":[],"mappings":""}
@@ -1,27 +1,6 @@
1
1
  import React from 'react';
2
- import { FormikHelpers, FormikProps, FormikValues } from 'formik';
3
- import BaseSchema from 'yup/lib/schema';
4
- export type FormNames<FormValuesType> = {
5
- [key in keyof FormValuesType]: string;
6
- };
7
- export type FromErrors<FormValuesType> = {
8
- [key in keyof FormValuesType]: string;
9
- };
10
- export type FormSchema<FormValuesType> = {
11
- [key in keyof FormValuesType]: BaseSchema;
12
- };
13
- export type FormHelpers<FormValuesType> = FormikHelpers<FormValuesType>;
14
- export type FormRenderProps<FormValuesType> = FormikProps<FormValuesType> & {
15
- submitButtonDisabled: boolean;
16
- };
17
- export type FormConfig<FormValuesType> = {
18
- enableReinitialize?: boolean;
19
- names: FormNames<FormValuesType>;
20
- initialValues: FormValuesType;
21
- validationSchema?: FormSchema<FormValuesType>;
22
- innerRef?: React.Ref<FormikProps<FormValuesType>>;
23
- onSubmit: (values: FormValuesType, helpers?: FormHelpers<FormValuesType>) => void;
24
- };
2
+ import { FormikValues } from 'formik';
3
+ import { FormConfig, FormNames, FormRenderProps } from './form-types';
25
4
  type FormProps<FormValuesType> = {
26
5
  id?: string;
27
6
  config: FormConfig<FormValuesType>;
@@ -1 +1 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAU,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE1E,OAAO,UAAU,MAAM,gBAAgB,CAAC;AAGxC,MAAM,MAAM,SAAS,CAAC,cAAc,IAAI;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,MAAM;CAAE,CAAC;AAElF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,MAAM;CAAE,CAAC;AAEnF,MAAM,MAAM,UAAU,CAAC,cAAc,IAAI;KAAG,GAAG,IAAI,MAAM,cAAc,GAAG,UAAU;CAAE,CAAC;AAEvF,MAAM,MAAM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E,UAAU,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAEtE,KAAK,SAAS,CAAC,cAAc,IAAI;IAC/B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,CACR,KAAK,EAAE,eAAe,CAAC,cAAc,CAAC,EACtC,KAAK,EAAE,SAAS,CAAC,cAAc,CAAC,KAC7B,KAAK,CAAC,YAAY,CAAC;CACzB,CAAC;AAgBF,wBAAgB,IAAI,CAAC,cAAc,SAAS,YAAY,EAAE,EACxD,EAAE,EACF,MAAM,EACN,SAAS,EACT,QAAQ,GACT,EAAE,SAAS,CAAC,cAAc,CAAC,2CAmC3B"}
@@ -25,8 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.Form = Form;
27
27
  const jsx_runtime_1 = require("react/jsx-runtime");
28
- const formik_1 = require("formik");
29
28
  const yup = __importStar(require("yup"));
29
+ const formik_1 = require("formik");
30
30
  const tailwind_utils_1 = require("../../../utils/tailwind-utils");
31
31
  function Form({ id, config, className, children, }) {
32
32
  const { names, initialValues, validationSchema, onSubmit } = config;
@@ -1 +1 @@
1
- {"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../src/components/molecules/form/form.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAmDA,oBAwCC;;AA1FD,mCAA0E;AAC1E,yCAA2B;AAE3B,kEAAyD;AA+CzD,SAAgB,IAAI,CAAsC,EACxD,EAAE,EACF,MAAM,EACN,SAAS,EACT,QAAQ,GACkB;IAC1B,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC;IAEpE,OAAO,CACL,uBAAC,eAAM,IACL,aAAa,EAAE,aAAa,EAC5B,gBAAgB,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AAY,CAAC;YAEzE,OAAO,CACL,iCACE,EAAE,EAAE,EAAE,EACN,IAAI,EAAC,MAAM,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;oBAClB,KAAK,CAAC,cAAc,EAAE,CAAC;oBACvB,WAAW,CAAC,YAAY,EAAE,CAAC;gBAC7B,CAAC,EACD,SAAS,EAAE,IAAA,yBAAQ,EAAC,SAAS,CAAC,YAE7B,QAAQ,CACP;oBACE,GAAG,WAAW;oBACd,oBAAoB;iBACrB,EACD,KAAK,CACN,GACI,CACR,CAAC;QACJ,CAAC,GACM,CACV,CAAC;AACJ,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './form';
2
+ export * from './form-types';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./form"), exports);
18
+ __exportStar(require("./form-types"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/form/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,+CAA6B"}
@@ -0,0 +1,2 @@
1
+ export * from './text-field';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/text-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./text-field"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/text-field/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
@@ -0,0 +1,18 @@
1
+ import { RefObject } from 'react';
2
+ type InputFieldProps = {
3
+ isRequired?: boolean;
4
+ isDisabled?: boolean;
5
+ value?: any;
6
+ onBlur?: (event?: any) => void;
7
+ onChange?: (event?: any) => void;
8
+ onFocus?: (event?: any) => void;
9
+ className?: string;
10
+ };
11
+ type IntrinsicInputFieldProps = InputFieldProps & JSX.IntrinsicElements['input'];
12
+ type Props = IntrinsicInputFieldProps & {
13
+ ref?: RefObject<any>;
14
+ inputForwardedRef?: RefObject<any>;
15
+ };
16
+ export declare function TextField({ isRequired, isDisabled, type, name, value, placeholder, onBlur, onChange, className, }: Props): import("react/jsx-runtime").JSX.Element;
17
+ export {};
18
+ //# sourceMappingURL=text-field.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-field.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/text-field/text-field.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIlC,KAAK,eAAe,GAAG;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IACjC,OAAO,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,wBAAwB,GAAG,eAAe,GAAG,GAAG,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC;AAEjF,KAAK,KAAK,GAAG,wBAAwB,GAAG;IACtC,GAAG,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IACrB,iBAAiB,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;CACpC,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACxB,UAAU,EACV,UAAU,EACV,IAAa,EACb,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,GACV,EAAE,KAAK,2CAuBP"}
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TextField = TextField;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const tailwind_utils_1 = require("../../../utils/tailwind-utils");
6
+ const text_1 = require("@/components/atoms/text");
7
+ function TextField({ isRequired, isDisabled, type = 'text', name, value, placeholder, onBlur, onChange, className, }) {
8
+ return ((0, jsx_runtime_1.jsx)("div", { className: "flex items-center w-full", children: (0, jsx_runtime_1.jsx)("input", { type: type, required: isRequired, disabled: isDisabled, name: name, value: value, placeholder: placeholder, onBlur: onBlur, onChange: onChange, className: (0, tailwind_utils_1.tailwind)('p-4', 'border border-gray-04', 'rounded-lg bg-white', 'hover:border-blue-02 focus-within:border-blue-01 focus-within:hover:border-blue-01', `${text_1.TextVariant.BODY}`, className) }) }));
9
+ }
10
+ //# sourceMappingURL=text-field.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-field.js","sourceRoot":"","sources":["../../../../src/components/molecules/text-field/text-field.tsx"],"names":[],"mappings":";;AAsBA,8BAiCC;;AArDD,kEAAyD;AACzD,kDAAsD;AAmBtD,SAAgB,SAAS,CAAC,EACxB,UAAU,EACV,UAAU,EACV,IAAI,GAAG,MAAM,EACb,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,GACH;IACN,OAAO,CACL,gCAAK,SAAS,EAAC,0BAA0B,YACvC,kCACE,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,UAAU,EACpB,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,IAAA,yBAAQ,EACjB,KAAK,EACL,uBAAuB,EACvB,qBAAqB,EACrB,oFAAoF,EACpF,GAAG,kBAAW,CAAC,IAAI,EAAE,EACrB,SAAS,CACV,GACD,GACE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,11 @@
1
+ export declare enum FormInputWidth {
2
+ ONE_COLUMN = "ONE_COLUMN",
3
+ TWO_COLUMN = "TWO_COLUMN",
4
+ THREE_COLUMN = "THREE_COLUMN",
5
+ FOUR_COLUMN = "FOUR_COLUMN",
6
+ FIVE_COLUMN = "FIVE_COLUMN"
7
+ }
8
+ export declare const FormInputWidthClassNames: {
9
+ [type in FormInputWidth]: string;
10
+ };
11
+ //# sourceMappingURL=form-control-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-control-types.d.ts","sourceRoot":"","sources":["../../../src/containers/form-control/form-control-types.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC5B;AAED,eAAO,MAAM,wBAAwB,EAAE;KACpC,IAAI,IAAI,cAAc,GAAG,MAAM;CAOjC,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormInputWidthClassNames = exports.FormInputWidth = void 0;
4
+ var FormInputWidth;
5
+ (function (FormInputWidth) {
6
+ FormInputWidth["ONE_COLUMN"] = "ONE_COLUMN";
7
+ FormInputWidth["TWO_COLUMN"] = "TWO_COLUMN";
8
+ FormInputWidth["THREE_COLUMN"] = "THREE_COLUMN";
9
+ FormInputWidth["FOUR_COLUMN"] = "FOUR_COLUMN";
10
+ FormInputWidth["FIVE_COLUMN"] = "FIVE_COLUMN";
11
+ })(FormInputWidth || (exports.FormInputWidth = FormInputWidth = {}));
12
+ exports.FormInputWidthClassNames = {
13
+ [FormInputWidth.ONE_COLUMN]: 'w-24 max-w-24 md:max-w-24',
14
+ [FormInputWidth.TWO_COLUMN]: 'w-[204px] max-w-[204px] md:max-w-[204px]',
15
+ [FormInputWidth.THREE_COLUMN]: 'w-[272px] md:w-[320px] max-w-[272px] md:max-w-[320px]',
16
+ [FormInputWidth.FOUR_COLUMN]: 'w-[320px] md:w-[424px] max-w-[320px] md:max-w-[424px]',
17
+ [FormInputWidth.FIVE_COLUMN]: 'w-[320px] md:w-[580px] max-w-[320px] md:max-w-[580px]',
18
+ };
19
+ //# sourceMappingURL=form-control-types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-control-types.js","sourceRoot":"","sources":["../../../src/containers/form-control/form-control-types.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,+CAA6B,CAAA;IAC7B,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;AAC7B,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAEY,QAAA,wBAAwB,GAEjC;IACF,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,2BAA2B;IACxD,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE,0CAA0C;IACvE,CAAC,cAAc,CAAC,YAAY,CAAC,EAAE,uDAAuD;IACtF,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,uDAAuD;IACrF,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,uDAAuD;CACtF,CAAC"}
@@ -1,15 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FormRenderProps } from '../../components';
3
- export declare enum FormInputWidth {
4
- ONE_COLUMN = "ONE_COLUMN",
5
- TWO_COLUMN = "TWO_COLUMN",
6
- THREE_COLUMN = "THREE_COLUMN",
7
- FOUR_COLUMN = "FOUR_COLUMN",
8
- FIVE_COLUMN = "FIVE_COLUMN"
9
- }
10
- export declare const FormInputWidthClassNames: {
11
- [type in FormInputWidth]: string;
12
- };
3
+ import { FormInputWidth } from './form-control-types';
13
4
  export type FormControlProps = {
14
5
  isDisabled?: boolean;
15
6
  isRequired?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"form-control.d.ts","sourceRoot":"","sources":["../../../src/containers/form-control/form-control.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAc,MAAM,kBAAkB,CAAC;AAM/D,oBAAY,cAAc;IACxB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC5B;AAED,eAAO,MAAM,wBAAwB,EAAE;KACpC,IAAI,IAAI,cAAc,GAAG,MAAM;CAOjC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,SAAS,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,mBAAmB,KAAK,KAAK,CAAC,YAAY,CAAC;CACrE,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,UAAU,EACV,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,aAAa,EACb,UAAuC,EACvC,QAAQ,GACT,EAAE,KAAK,2CA4BP"}
1
+ {"version":3,"file":"form-control.d.ts","sourceRoot":"","sources":["../../../src/containers/form-control/form-control.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAc,MAAM,kBAAkB,CAAC;AAK/D,OAAO,EAAE,cAAc,EAA4B,MAAM,sBAAsB,CAAC;AAEhF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,SAAS,EAAE,eAAe,CAAC,GAAG,CAAC,CAAC;CACjC,CAAC;AAEF,KAAK,mBAAmB,GAAG;IACzB,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAC9B,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,mBAAmB,KAAK,KAAK,CAAC,YAAY,CAAC;CACrE,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,UAAU,EACV,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,aAAa,EACb,UAAuC,EACvC,QAAQ,GACT,EAAE,KAAK,2CA4BP"}
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormInputWidthClassNames = exports.FormInputWidth = void 0;
4
3
  exports.FormControl = FormControl;
5
4
  const jsx_runtime_1 = require("react/jsx-runtime");
6
5
  const components_1 = require("../../components");
@@ -8,23 +7,9 @@ const tailwind_utils_1 = require("../../utils/tailwind-utils");
8
7
  const form_error_1 = require("./components/form-error");
9
8
  const form_helper_1 = require("./components/form-helper");
10
9
  const form_label_1 = require("./components/form-label");
11
- var FormInputWidth;
12
- (function (FormInputWidth) {
13
- FormInputWidth["ONE_COLUMN"] = "ONE_COLUMN";
14
- FormInputWidth["TWO_COLUMN"] = "TWO_COLUMN";
15
- FormInputWidth["THREE_COLUMN"] = "THREE_COLUMN";
16
- FormInputWidth["FOUR_COLUMN"] = "FOUR_COLUMN";
17
- FormInputWidth["FIVE_COLUMN"] = "FIVE_COLUMN";
18
- })(FormInputWidth || (exports.FormInputWidth = FormInputWidth = {}));
19
- exports.FormInputWidthClassNames = {
20
- [FormInputWidth.ONE_COLUMN]: 'w-24 max-w-24 md:max-w-24',
21
- [FormInputWidth.TWO_COLUMN]: 'w-[204px] max-w-[204px] md:max-w-[204px]',
22
- [FormInputWidth.THREE_COLUMN]: 'w-[272px] md:w-[320px] max-w-[272px] md:max-w-[320px]',
23
- [FormInputWidth.FOUR_COLUMN]: 'w-[320px] md:w-[424px] max-w-[320px] md:max-w-[424px]',
24
- [FormInputWidth.FIVE_COLUMN]: 'w-[320px] md:w-[580px] max-w-[320px] md:max-w-[580px]',
25
- };
26
- function FormControl({ isDisabled, isRequired, formName, label, formProps, className, errorText, helperText, optionalLabel, inputWidth = FormInputWidth.FOUR_COLUMN, children, }) {
27
- const widthClassName = exports.FormInputWidthClassNames[inputWidth];
10
+ const form_control_types_1 = require("./form-control-types");
11
+ function FormControl({ isDisabled, isRequired, formName, label, formProps, className, errorText, helperText, optionalLabel, inputWidth = form_control_types_1.FormInputWidth.FOUR_COLUMN, children, }) {
12
+ const widthClassName = form_control_types_1.FormInputWidthClassNames[inputWidth];
28
13
  const isTouched = formName && formProps && formProps.touched[formName];
29
14
  const isErrorVisible = errorText && isTouched;
30
15
  const isHelperVisible = !isErrorVisible && helperText;
@@ -1 +1 @@
1
- {"version":3,"file":"form-control.js","sourceRoot":"","sources":["../../../src/containers/form-control/form-control.tsx"],"names":[],"mappings":";;;AA8CA,kCAwCC;;AArFD,iDAA+D;AAC/D,+DAAsD;AACtD,wDAAoD;AACpD,0DAAsD;AACtD,wDAAoD;AAEpD,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,+CAA6B,CAAA;IAC7B,6CAA2B,CAAA;IAC3B,6CAA2B,CAAA;AAC7B,CAAC,EANW,cAAc,8BAAd,cAAc,QAMzB;AAEY,QAAA,wBAAwB,GAEjC;IACF,CAAC,cAAc,CAAC,UAAU,CAAC,EAAE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c,IAAI,uBAAC,sBAAS,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,YAAY,GAAG,IACzE,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"form-control.js","sourceRoot":"","sources":["../../../src/containers/form-control/form-control.tsx"],"names":[],"mappings":";;AA8BA,kCAwCC;;AApED,iDAA+D;AAC/D,+DAAsD;AACtD,wDAAoD;AACpD,0DAAsD;AACtD,wDAAoD;AACpD,6DAAgF;AAuBhF,SAAgB,WAAW,CAAC,EAC1B,UAAU,EACV,UAAU,EACV,QAAQ,EACR,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,UAAU,EACV,aAAa,EACb,UAAU,GAAG,mCAAc,CAAC,WAAW,EACvC,QAAQ,GACF;IACN,MAAM,cAAc,GAAG,6CAAwB,CAAC,UAAU,CAAC,CAAC;IAC5D,MAAM,SAAS,GAAG,QAAQ,IAAI,SAAS,IAAI,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACvE,MAAM,cAAc,GAAG,SAAS,IAAI,SAAS,CAAC;IAE9C,MAAM,eAAe,GAAG,CAAC,cAAc,IAAI,UAAU,CAAC;IAEtD,OAAO,CACL,iCAAK,SAAS,EAAE,IAAA,yBAAQ,EAAC,yBAAyB,EAAE,cAAc,EAAE,SAAS,CAAC,aAE3E,KAAK,IAAI,uBAAC,sBAAS,IAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,aAAa,GAAI,EAE3F,gCAAK,SAAS,EAAE,IAAA,yBAAQ,EAAC,cAAc,CAAC,YACrC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC,CAAC,cAAc,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,GAC7D,EAGL,eAAe,IAAI,CAClB,uBAAC,wBAAU,IACT,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,uBAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAU,CAAC,QAAQ,GAC7D,CACH,EAGA,cAAc,IAAI,uBAAC,sBAAS,IAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAC,YAAY,GAAG,IACzE,CACP,CAAC;AACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './form-control';
2
+ export * from './form-control-types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/form-control/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./form-control"), exports);
18
+ __exportStar(require("./form-control-types"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/containers/form-control/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,uDAAqC"}
@@ -1,2 +1,2 @@
1
- export * from './form-control/form-control';
1
+ export * from './form-control';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":"AACA,cAAc,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":"AACA,cAAc,gBAAgB,CAAC"}
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./form-control/form-control"), exports);
17
+ __exportStar(require("./form-control"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,iDAA+B"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export { BilloIcon, IconColor, IconSymbol, IconSize, Button, ButtonVariant, Checkbox, CheckboxVariant, Chip, ChipList, DropDownMenu, IconButton, SearchBar, Text, TextVariant, TextColors, TextButton, TextButtonVariant, } from './components';
2
- export { FormSelect, Select } from './components';
2
+ export { Form, FormSelect, Select, TextField } from './components';
3
+ export type { FormErrors, FormConfig, FormHelpers, FormNames, FormRenderProps, FormSchema, } from './components';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,QAAQ,EACR,MAAM,EACN,aAAa,EACb,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,SAAS,EACT,IAAI,EACJ,WAAW,EACX,UAAU,EACV,UAAU,EACV,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,SAAS,EACT,UAAU,EACV,QAAQ,EACR,MAAM,EACN,aAAa,EACb,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,UAAU,EACV,SAAS,EACT,IAAI,EACJ,WAAW,EACX,UAAU,EACV,UAAU,EACV,iBAAiB,GAClB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACnE,YAAY,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,SAAS,EACT,eAAe,EACf,UAAU,GACX,MAAM,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Select = exports.FormSelect = exports.TextButtonVariant = exports.TextButton = exports.TextColors = exports.TextVariant = exports.Text = exports.SearchBar = exports.IconButton = exports.DropDownMenu = exports.ChipList = exports.Chip = exports.CheckboxVariant = exports.Checkbox = exports.ButtonVariant = exports.Button = exports.IconSize = exports.IconSymbol = exports.IconColor = exports.BilloIcon = void 0;
3
+ exports.TextField = exports.Select = exports.FormSelect = exports.Form = exports.TextButtonVariant = exports.TextButton = exports.TextColors = exports.TextVariant = exports.Text = exports.SearchBar = exports.IconButton = exports.DropDownMenu = exports.ChipList = exports.Chip = exports.CheckboxVariant = exports.Checkbox = exports.ButtonVariant = exports.Button = exports.IconSize = exports.IconSymbol = exports.IconColor = exports.BilloIcon = void 0;
4
4
  var components_1 = require("./components");
5
5
  Object.defineProperty(exports, "BilloIcon", { enumerable: true, get: function () { return components_1.BilloIcon; } });
6
6
  Object.defineProperty(exports, "IconColor", { enumerable: true, get: function () { return components_1.IconColor; } });
@@ -21,6 +21,8 @@ Object.defineProperty(exports, "TextColors", { enumerable: true, get: function (
21
21
  Object.defineProperty(exports, "TextButton", { enumerable: true, get: function () { return components_1.TextButton; } });
22
22
  Object.defineProperty(exports, "TextButtonVariant", { enumerable: true, get: function () { return components_1.TextButtonVariant; } });
23
23
  var components_2 = require("./components");
24
+ Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return components_2.Form; } });
24
25
  Object.defineProperty(exports, "FormSelect", { enumerable: true, get: function () { return components_2.FormSelect; } });
25
26
  Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return components_2.Select; } });
27
+ Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return components_2.TextField; } });
26
28
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,2CAmBsB;AAlBpB,uGAAA,SAAS,OAAA;AACT,uGAAA,SAAS,OAAA;AACT,wGAAA,UAAU,OAAA;AACV,sGAAA,QAAQ,OAAA;AACR,oGAAA,MAAM,OAAA;AACN,2GAAA,aAAa,OAAA;AACb,sGAAA,QAAQ,OAAA;AACR,6GAAA,eAAe,OAAA;AACf,kGAAA,IAAI,OAAA;AACJ,sGAAA,QAAQ,OAAA;AACR,0GAAA,YAAY,OAAA;AACZ,wGAAA,UAAU,OAAA;AACV,uGAAA,SAAS,OAAA;AACT,kGAAA,IAAI,OAAA;AACJ,yGAAA,WAAW,OAAA;AACX,wGAAA,UAAU,OAAA;AACV,wGAAA,UAAU,OAAA;AACV,+GAAA,iBAAiB,OAAA;AAInB,2CAAkD;AAAzC,wGAAA,UAAU,OAAA;AAAE,oGAAA,MAAM,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,2CAmBsB;AAlBpB,uGAAA,SAAS,OAAA;AACT,uGAAA,SAAS,OAAA;AACT,wGAAA,UAAU,OAAA;AACV,sGAAA,QAAQ,OAAA;AACR,oGAAA,MAAM,OAAA;AACN,2GAAA,aAAa,OAAA;AACb,sGAAA,QAAQ,OAAA;AACR,6GAAA,eAAe,OAAA;AACf,kGAAA,IAAI,OAAA;AACJ,sGAAA,QAAQ,OAAA;AACR,0GAAA,YAAY,OAAA;AACZ,wGAAA,UAAU,OAAA;AACV,uGAAA,SAAS,OAAA;AACT,kGAAA,IAAI,OAAA;AACJ,yGAAA,WAAW,OAAA;AACX,wGAAA,UAAU,OAAA;AACV,wGAAA,UAAU,OAAA;AACV,+GAAA,iBAAiB,OAAA;AAInB,2CAAmE;AAA1D,kGAAA,IAAI,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,oGAAA,MAAM,OAAA;AAAE,uGAAA,SAAS,OAAA"}
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/vite-env.d.ts","../src/vitest.setup.js","../src/components/index.ts","../src/components/atoms/billo-icon/billo-icon-types.ts","../src/components/atoms/billo-icon/billo-icon.tsx","../src/components/atoms/billo-icon/index.ts","../src/components/atoms/button/button-types.ts","../src/components/atoms/button/button.tsx","../src/components/atoms/button/index.ts","../src/components/atoms/check-box/check-box-types.ts","../src/components/atoms/check-box/check-box.tsx","../src/components/atoms/check-box/index.ts","../src/components/atoms/chip/chip/chip.tsx","../src/components/atoms/chip/chip/index.ts","../src/components/atoms/chip/chip/components/clear-button.tsx","../src/components/atoms/chip/chips-list/chips-list.tsx","../src/components/atoms/chip/chips-list/index.ts","../src/components/atoms/drop-down-menu/drop-down-menu.tsx","../src/components/atoms/drop-down-menu/index.ts","../src/components/atoms/drop-down-menu/components/index.ts","../src/components/atoms/drop-down-menu/components/menu-item-types.ts","../src/components/atoms/drop-down-menu/components/menu-item.tsx","../src/components/atoms/icon-button/icon-button.tsx","../src/components/atoms/icon-button/index.ts","../src/components/atoms/search-bar/index.ts","../src/components/atoms/search-bar/search-bar.tsx","../src/components/atoms/search-bar/components/clear-button.tsx","../src/components/atoms/text/index.ts","../src/components/atoms/text/text-types.ts","../src/components/atoms/text/text.tsx","../src/components/atoms/text-button/index.ts","../src/components/atoms/text-button/text-button-types.ts","../src/components/atoms/text-button/text-button.tsx","../src/components/molecules/form/form-story-stubs.ts","../src/components/molecules/form/form-test-stubs.ts","../src/components/molecules/form/form.tsx","../src/components/molecules/form/index.ts","../src/components/molecules/form/form-select/form-select.tsx","../src/components/molecules/form/form-select/index.ts","../src/components/molecules/select/index.ts","../src/components/molecules/select/select.tsx","../src/components/molecules/select/use-select.ts","../src/components/molecules/select/components/select-input.tsx","../src/containers/index.ts","../src/containers/form-control/form-control.tsx","../src/containers/form-control/components/form-error.tsx","../src/containers/form-control/components/form-helper.tsx","../src/containers/form-control/components/form-label.tsx","../src/utils/tailwind-utils.ts","../src/utils/window-dimensions-utils.ts","../src/utils/string-utils/string-utils.ts"],"version":"5.6.2"}
1
+ {"root":["../src/index.ts","../src/vite-env.d.ts","../src/vitest.setup.js","../src/components/index.ts","../src/components/atoms/billo-icon/billo-icon-types.ts","../src/components/atoms/billo-icon/billo-icon.tsx","../src/components/atoms/billo-icon/index.ts","../src/components/atoms/button/button-types.ts","../src/components/atoms/button/button.tsx","../src/components/atoms/button/index.ts","../src/components/atoms/check-box/check-box-types.ts","../src/components/atoms/check-box/check-box.tsx","../src/components/atoms/check-box/index.ts","../src/components/atoms/chip/chip/chip.tsx","../src/components/atoms/chip/chip/index.ts","../src/components/atoms/chip/chip/components/clear-button.tsx","../src/components/atoms/chip/chips-list/chips-list.tsx","../src/components/atoms/chip/chips-list/index.ts","../src/components/atoms/drop-down-menu/drop-down-menu.tsx","../src/components/atoms/drop-down-menu/index.ts","../src/components/atoms/drop-down-menu/components/index.ts","../src/components/atoms/drop-down-menu/components/menu-item-types.ts","../src/components/atoms/drop-down-menu/components/menu-item.tsx","../src/components/atoms/icon-button/icon-button.tsx","../src/components/atoms/icon-button/index.ts","../src/components/atoms/search-bar/index.ts","../src/components/atoms/search-bar/search-bar.tsx","../src/components/atoms/search-bar/components/clear-button.tsx","../src/components/atoms/text/index.ts","../src/components/atoms/text/text-types.ts","../src/components/atoms/text/text.tsx","../src/components/atoms/text-button/index.ts","../src/components/atoms/text-button/text-button-types.ts","../src/components/atoms/text-button/text-button.tsx","../src/components/molecules/form/form-story-stubs.ts","../src/components/molecules/form/form-test-stubs.ts","../src/components/molecules/form/form-types.ts","../src/components/molecules/form/form.tsx","../src/components/molecules/form/index.ts","../src/components/molecules/form/form-select/form-select.tsx","../src/components/molecules/form/form-select/index.ts","../src/components/molecules/select/index.ts","../src/components/molecules/select/select.tsx","../src/components/molecules/select/use-select.ts","../src/components/molecules/select/components/select-input.tsx","../src/components/molecules/text-field/index.ts","../src/components/molecules/text-field/text-field.tsx","../src/containers/index.ts","../src/containers/form-control/form-control-types.ts","../src/containers/form-control/form-control.tsx","../src/containers/form-control/index.ts","../src/containers/form-control/components/form-error.tsx","../src/containers/form-control/components/form-helper.tsx","../src/containers/form-control/components/form-label.tsx","../src/utils/tailwind-utils.ts","../src/utils/window-dimensions-utils.ts","../src/utils/string-utils/string-utils.ts"],"version":"5.6.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "period-ui",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -16,7 +16,8 @@
16
16
  "format": "prettier --write src/**/*.{ts,tsx}",
17
17
  "format:check": "prettier --check src/**/*.{ts,tsx}",
18
18
  "storybook": "storybook dev -p 6006",
19
- "build:storybook": "storybook build"
19
+ "build:storybook": "storybook build",
20
+ "chk": "yarn build && yarn test"
20
21
  },
21
22
  "publishConfig": {
22
23
  "access": "public"