period-ui 0.1.6 → 0.1.7
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.
- package/dist/components/atoms/text/text-types.d.ts +1 -0
- package/dist/components/atoms/text/text-types.d.ts.map +1 -1
- package/dist/components/atoms/text/text-types.js +1 -0
- package/dist/components/atoms/text/text-types.js.map +1 -1
- package/dist/components/molecules/form/form-story-stubs.d.ts +1 -1
- package/dist/components/molecules/form/form-story-stubs.d.ts.map +1 -1
- package/dist/components/molecules/form/form-test-stubs.d.ts +1 -1
- package/dist/components/molecules/form/form-test-stubs.d.ts.map +1 -1
- package/dist/components/molecules/form/form-types.d.ts +24 -0
- package/dist/components/molecules/form/form-types.d.ts.map +1 -0
- package/dist/components/molecules/form/form-types.js +3 -0
- package/dist/components/molecules/form/form-types.js.map +1 -0
- package/dist/components/molecules/form/form.d.ts +2 -23
- package/dist/components/molecules/form/form.d.ts.map +1 -1
- package/dist/components/molecules/form/form.js +1 -1
- package/dist/components/molecules/form/form.js.map +1 -1
- package/dist/components/molecules/form/index.d.ts +1 -0
- package/dist/components/molecules/form/index.d.ts.map +1 -1
- package/dist/components/molecules/form/index.js +1 -0
- package/dist/components/molecules/form/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -2
|
@@ -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;CAClB;AAED,e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C7E,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,
|
|
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"}
|
|
@@ -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,
|
|
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 +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,
|
|
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 @@
|
|
|
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 {
|
|
3
|
-
import
|
|
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;
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/form/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAuB,YAAY,EAAE,MAAM,QAAQ,CAAC;AAE3D,OAAO,EAAE,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":";;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"form.js","sourceRoot":"","sources":["../../../../src/components/molecules/form/form.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,oBAwCC;;AArED,yCAA2B;AAC3B,mCAA2D;AAC3D,kEAAyD;AA2BzD,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,EAAE,gBAAgB,IAAI,GAAG,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAClE,QAAQ,EAAE,QAAQ,YAEjB,CAAC,WAAwC,EAAsB,EAAE;YAChE,MAAM,oBAAoB,GACxB,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC,WAAW,CAAC,OAAO,IAAI,WAAW,CAAC,YAAY,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 +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"}
|
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 } from './components';
|
|
3
|
+
export type { FormErrors, FormConfig, FormHelpers, FormNames, FormRenderProps, FormSchema, } from './components';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -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,MAAM,cAAc,CAAC;AACxD,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.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,7 @@ 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; } });
|
|
26
27
|
//# 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,
|
|
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,2CAAwD;AAA/C,kGAAA,IAAI,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,oGAAA,MAAM,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/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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "period-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
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"
|