period-ui 0.1.9 → 0.1.11

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.
@@ -10,6 +10,7 @@ export * from './atoms/text';
10
10
  export * from './atoms/text-button';
11
11
  export * from './molecules/form';
12
12
  export * from './molecules/form/form-select';
13
+ export * from './molecules/form/form-text-field';
13
14
  export * from './molecules/select';
14
15
  export * from './molecules/text-field';
15
16
  //# 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;AACnC,cAAc,wBAAwB,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,kCAAkC,CAAC;AACjD,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC"}
@@ -26,6 +26,7 @@ __exportStar(require("./atoms/text"), exports);
26
26
  __exportStar(require("./atoms/text-button"), exports);
27
27
  __exportStar(require("./molecules/form"), exports);
28
28
  __exportStar(require("./molecules/form/form-select"), exports);
29
+ __exportStar(require("./molecules/form/form-text-field"), exports);
29
30
  __exportStar(require("./molecules/select"), exports);
30
31
  __exportStar(require("./molecules/text-field"), exports);
31
32
  //# 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;AACnC,yDAAuC"}
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,mEAAiD;AACjD,qDAAmC;AACnC,yDAAuC"}
@@ -0,0 +1,2 @@
1
+ export * from './form-text-field';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/molecules/form/form-text-field/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,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("./form-text-field"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/molecules/form/form-text-field/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TextField = TextField;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const tailwind_utils_1 = require("../../../utils/tailwind-utils");
6
- const text_1 = require("@/components/atoms/text");
6
+ const components_1 = require("../../../components");
7
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) }) }));
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', `${components_1.TextVariant.BODY}`, className) }) }));
9
9
  }
10
10
  //# sourceMappingURL=text-field.js.map
@@ -1 +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,GACM;IACf,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"}
1
+ {"version":3,"file":"text-field.js","sourceRoot":"","sources":["../../../../src/components/molecules/text-field/text-field.tsx"],"names":[],"mappings":";;AAsBA,8BAiCC;;AArDD,kEAAyD;AACzD,oDAAkD;AAmBlD,SAAgB,SAAS,CAAC,EACxB,UAAU,EACV,UAAU,EACV,IAAI,GAAG,MAAM,EACb,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,QAAQ,EACR,SAAS,GACM;IACf,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,wBAAW,CAAC,IAAI,EAAE,EACrB,SAAS,CACV,GACD,GACE,CACP,CAAC;AACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,4 +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 { Form, FormSelect, Select, TextField } from './components';
2
+ export { Form, FormSelect, Select, FormTextField, TextField } from './components';
3
3
  export type { FormErrors, FormConfig, FormHelpers, FormNames, FormRenderProps, FormSchema, } from './components';
4
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,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"}
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,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAClF,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.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;
3
+ exports.TextField = exports.FormTextField = 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; } });
@@ -24,5 +24,6 @@ var components_2 = require("./components");
24
24
  Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return components_2.Form; } });
25
25
  Object.defineProperty(exports, "FormSelect", { enumerable: true, get: function () { return components_2.FormSelect; } });
26
26
  Object.defineProperty(exports, "Select", { enumerable: true, get: function () { return components_2.Select; } });
27
+ Object.defineProperty(exports, "FormTextField", { enumerable: true, get: function () { return components_2.FormTextField; } });
27
28
  Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return components_2.TextField; } });
28
29
  //# 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,2CAAmE;AAA1D,kGAAA,IAAI,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,oGAAA,MAAM,OAAA;AAAE,uGAAA,SAAS,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,2CAAkF;AAAzE,kGAAA,IAAI,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,oGAAA,MAAM,OAAA;AAAE,2GAAA,aAAa,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-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/form/form-text-field/form-text-field.tsx","../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"}
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/form/form-text-field/form-text-field.tsx","../src/components/molecules/form/form-text-field/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.9",
3
+ "version": "0.1.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [