period-ui 0.1.13 → 0.1.14
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/billo-icon/billo-icon-types.js +9 -6
- package/dist/components/atoms/billo-icon/billo-icon-types.js.map +1 -1
- package/dist/components/atoms/billo-icon/billo-icon.js +8 -5
- package/dist/components/atoms/billo-icon/billo-icon.js.map +1 -1
- package/dist/components/atoms/billo-icon/index.js +18 -2
- package/dist/components/atoms/billo-icon/index.js.map +1 -1
- package/dist/components/atoms/button/button-types.js +5 -2
- package/dist/components/atoms/button/button-types.js.map +1 -1
- package/dist/components/atoms/button/button.js +11 -8
- package/dist/components/atoms/button/button.js.map +1 -1
- package/dist/components/atoms/button/index.js +18 -2
- package/dist/components/atoms/button/index.js.map +1 -1
- package/dist/components/atoms/check-box/check-box-types.js +6 -3
- package/dist/components/atoms/check-box/check-box-types.js.map +1 -1
- package/dist/components/atoms/check-box/check-box.js +16 -13
- package/dist/components/atoms/check-box/check-box.js.map +1 -1
- package/dist/components/atoms/check-box/index.js +18 -2
- package/dist/components/atoms/check-box/index.js.map +1 -1
- package/dist/components/atoms/chip/chip/chip.js +11 -8
- package/dist/components/atoms/chip/chip/chip.js.map +1 -1
- package/dist/components/atoms/chip/chip/components/clear-button.js +8 -5
- package/dist/components/atoms/chip/chip/components/clear-button.js.map +1 -1
- package/dist/components/atoms/chip/chip/index.js +17 -1
- package/dist/components/atoms/chip/chip/index.js.map +1 -1
- package/dist/components/atoms/chip/chips-list/chips-list.js +8 -5
- package/dist/components/atoms/chip/chips-list/chips-list.js.map +1 -1
- package/dist/components/atoms/chip/chips-list/index.js +17 -1
- package/dist/components/atoms/chip/chips-list/index.js.map +1 -1
- package/dist/components/atoms/drop-down-menu/components/index.js +18 -2
- package/dist/components/atoms/drop-down-menu/components/index.js.map +1 -1
- package/dist/components/atoms/drop-down-menu/components/menu-item-types.js +5 -2
- package/dist/components/atoms/drop-down-menu/components/menu-item-types.js.map +1 -1
- package/dist/components/atoms/drop-down-menu/components/menu-item.js +18 -15
- package/dist/components/atoms/drop-down-menu/components/menu-item.js.map +1 -1
- package/dist/components/atoms/drop-down-menu/drop-down-menu.js +10 -7
- package/dist/components/atoms/drop-down-menu/drop-down-menu.js.map +1 -1
- package/dist/components/atoms/drop-down-menu/index.js +17 -1
- package/dist/components/atoms/drop-down-menu/index.js.map +1 -1
- package/dist/components/atoms/icon-button/icon-button.js +8 -5
- package/dist/components/atoms/icon-button/icon-button.js.map +1 -1
- package/dist/components/atoms/icon-button/index.js +17 -1
- package/dist/components/atoms/icon-button/index.js.map +1 -1
- package/dist/components/atoms/search-bar/components/clear-button.js +8 -5
- package/dist/components/atoms/search-bar/components/clear-button.js.map +1 -1
- package/dist/components/atoms/search-bar/index.js +17 -1
- package/dist/components/atoms/search-bar/index.js.map +1 -1
- package/dist/components/atoms/search-bar/search-bar.js +12 -9
- package/dist/components/atoms/search-bar/search-bar.js.map +1 -1
- package/dist/components/atoms/text/index.js +18 -2
- package/dist/components/atoms/text/index.js.map +1 -1
- package/dist/components/atoms/text/text-types.js +8 -5
- package/dist/components/atoms/text/text-types.js.map +1 -1
- package/dist/components/atoms/text/text.js +15 -12
- package/dist/components/atoms/text/text.js.map +1 -1
- package/dist/components/atoms/text-button/index.js +18 -2
- package/dist/components/atoms/text-button/index.js.map +1 -1
- package/dist/components/atoms/text-button/text-button-types.js +6 -3
- package/dist/components/atoms/text-button/text-button-types.js.map +1 -1
- package/dist/components/atoms/text-button/text-button.js +12 -9
- package/dist/components/atoms/text-button/text-button.js.map +1 -1
- package/dist/components/index.js +31 -15
- package/dist/components/index.js.map +1 -1
- package/dist/components/molecules/form/form-select/form-select.js +8 -5
- package/dist/components/molecules/form/form-select/form-select.js.map +1 -1
- package/dist/components/molecules/form/form-select/index.js +17 -1
- package/dist/components/molecules/form/form-select/index.js.map +1 -1
- package/dist/components/molecules/form/form-story-stubs.js +4 -1
- package/dist/components/molecules/form/form-story-stubs.js.map +1 -1
- package/dist/components/molecules/form/form-test-stubs.js +4 -1
- package/dist/components/molecules/form/form-test-stubs.js.map +1 -1
- package/dist/components/molecules/form/form-text-field/form-text-field.js +8 -5
- package/dist/components/molecules/form/form-text-field/form-text-field.js.map +1 -1
- package/dist/components/molecules/form/form-text-field/index.js +17 -1
- package/dist/components/molecules/form/form-text-field/index.js.map +1 -1
- package/dist/components/molecules/form/form-types.js +2 -1
- package/dist/components/molecules/form/form.js +34 -8
- package/dist/components/molecules/form/form.js.map +1 -1
- package/dist/components/molecules/form/index.js +18 -2
- package/dist/components/molecules/form/index.js.map +1 -1
- package/dist/components/molecules/select/components/select-input.js +9 -6
- package/dist/components/molecules/select/components/select-input.js.map +1 -1
- package/dist/components/molecules/select/index.js +18 -2
- package/dist/components/molecules/select/index.js.map +1 -1
- package/dist/components/molecules/select/select.js +13 -10
- package/dist/components/molecules/select/select.js.map +1 -1
- package/dist/components/molecules/select/use-select.js +19 -16
- package/dist/components/molecules/select/use-select.js.map +1 -1
- package/dist/components/molecules/text-field/index.js +17 -1
- package/dist/components/molecules/text-field/index.js.map +1 -1
- package/dist/components/molecules/text-field/text-field.js +8 -5
- package/dist/components/molecules/text-field/text-field.js.map +1 -1
- package/dist/containers/form-control/components/form-error.js +8 -5
- package/dist/containers/form-control/components/form-error.js.map +1 -1
- package/dist/containers/form-control/components/form-helper.js +8 -5
- package/dist/containers/form-control/components/form-helper.js.map +1 -1
- package/dist/containers/form-control/components/form-label.js +8 -5
- package/dist/containers/form-control/components/form-label.js.map +1 -1
- package/dist/containers/form-control/form-control-types.js +6 -3
- package/dist/containers/form-control/form-control-types.js.map +1 -1
- package/dist/containers/form-control/form-control.js +13 -10
- package/dist/containers/form-control/form-control.js.map +1 -1
- package/dist/containers/form-control/index.js +18 -2
- package/dist/containers/form-control/index.js.map +1 -1
- package/dist/containers/index.js +17 -1
- package/dist/containers/index.js.map +1 -1
- package/dist/index.js +28 -2
- package/dist/index.js.map +1 -1
- package/dist/utils/string-utils/string-utils.js +4 -1
- package/dist/utils/string-utils/string-utils.js.map +1 -1
- package/dist/utils/tailwind-utils.js +10 -4
- package/dist/utils/tailwind-utils.js.map +1 -1
- package/dist/utils/window-dimensions-utils.js +8 -5
- package/dist/utils/window-dimensions-utils.js.map +1 -1
- package/dist/vitest.setup.js +2 -1
- package/package.json +1 -1
- package/dist/components/atoms/billo-icon/billo-icon-types.d.ts +0 -116
- package/dist/components/atoms/billo-icon/billo-icon.d.ts +0 -11
- package/dist/components/atoms/billo-icon/index.d.ts +0 -3
- package/dist/components/atoms/button/button-types.d.ts +0 -6
- package/dist/components/atoms/button/button.d.ts +0 -9
- package/dist/components/atoms/button/index.d.ts +0 -3
- package/dist/components/atoms/check-box/check-box-types.d.ts +0 -11
- package/dist/components/atoms/check-box/check-box.d.ts +0 -14
- package/dist/components/atoms/check-box/index.d.ts +0 -3
- package/dist/components/atoms/chip/chip/chip.d.ts +0 -9
- package/dist/components/atoms/chip/chip/components/clear-button.d.ts +0 -11
- package/dist/components/atoms/chip/chip/index.d.ts +0 -2
- package/dist/components/atoms/chip/chips-list/chips-list.d.ts +0 -15
- package/dist/components/atoms/chip/chips-list/index.d.ts +0 -2
- package/dist/components/atoms/drop-down-menu/components/index.d.ts +0 -3
- package/dist/components/atoms/drop-down-menu/components/menu-item-types.d.ts +0 -7
- package/dist/components/atoms/drop-down-menu/components/menu-item.d.ts +0 -16
- package/dist/components/atoms/drop-down-menu/drop-down-menu.d.ts +0 -23
- package/dist/components/atoms/drop-down-menu/index.d.ts +0 -2
- package/dist/components/atoms/icon-button/icon-button.d.ts +0 -12
- package/dist/components/atoms/icon-button/index.d.ts +0 -2
- package/dist/components/atoms/search-bar/components/clear-button.d.ts +0 -10
- package/dist/components/atoms/search-bar/index.d.ts +0 -2
- package/dist/components/atoms/search-bar/search-bar.d.ts +0 -12
- package/dist/components/atoms/text/index.d.ts +0 -3
- package/dist/components/atoms/text/text-types.d.ts +0 -36
- package/dist/components/atoms/text/text.d.ts +0 -14
- package/dist/components/atoms/text-button/index.d.ts +0 -3
- package/dist/components/atoms/text-button/text-button-types.d.ts +0 -8
- package/dist/components/atoms/text-button/text-button.d.ts +0 -13
- package/dist/components/index.d.ts +0 -16
- package/dist/components/molecules/form/form-select/form-select.d.ts +0 -7
- package/dist/components/molecules/form/form-select/index.d.ts +0 -2
- package/dist/components/molecules/form/form-story-stubs.d.ts +0 -11
- package/dist/components/molecules/form/form-test-stubs.d.ts +0 -6
- package/dist/components/molecules/form/form-text-field/form-text-field.d.ts +0 -7
- package/dist/components/molecules/form/form-text-field/index.d.ts +0 -2
- package/dist/components/molecules/form/form-types.d.ts +0 -24
- package/dist/components/molecules/form/form.d.ts +0 -12
- package/dist/components/molecules/form/index.d.ts +0 -3
- package/dist/components/molecules/select/components/select-input.d.ts +0 -8
- package/dist/components/molecules/select/index.d.ts +0 -3
- package/dist/components/molecules/select/select.d.ts +0 -16
- package/dist/components/molecules/select/use-select.d.ts +0 -23
- package/dist/components/molecules/text-field/index.d.ts +0 -2
- package/dist/components/molecules/text-field/text-field.d.ts +0 -18
- package/dist/containers/form-control/components/form-error.d.ts +0 -7
- package/dist/containers/form-control/components/form-helper.d.ts +0 -9
- package/dist/containers/form-control/components/form-label.d.ts +0 -10
- package/dist/containers/form-control/form-control-types.d.ts +0 -11
- package/dist/containers/form-control/form-control.d.ts +0 -24
- package/dist/containers/form-control/index.d.ts +0 -3
- package/dist/containers/index.d.ts +0 -2
- package/dist/index.d.ts +0 -4
- package/dist/utils/string-utils/string-utils.d.ts +0 -6
- package/dist/utils/tailwind-utils.d.ts +0 -3
- package/dist/utils/window-dimensions-utils.d.ts +0 -9
- package/dist/vitest.setup.d.ts +0 -2
|
@@ -1,3 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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);
|
|
3
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/containers/form-control/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/containers/form-control/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,uDAAqC"}
|
package/dist/containers/index.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
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);
|
|
2
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":"AACA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/containers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,iDAA+B"}
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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
|
+
var components_1 = require("./components");
|
|
5
|
+
Object.defineProperty(exports, "BilloIcon", { enumerable: true, get: function () { return components_1.BilloIcon; } });
|
|
6
|
+
Object.defineProperty(exports, "IconColor", { enumerable: true, get: function () { return components_1.IconColor; } });
|
|
7
|
+
Object.defineProperty(exports, "IconSymbol", { enumerable: true, get: function () { return components_1.IconSymbol; } });
|
|
8
|
+
Object.defineProperty(exports, "IconSize", { enumerable: true, get: function () { return components_1.IconSize; } });
|
|
9
|
+
Object.defineProperty(exports, "Button", { enumerable: true, get: function () { return components_1.Button; } });
|
|
10
|
+
Object.defineProperty(exports, "ButtonVariant", { enumerable: true, get: function () { return components_1.ButtonVariant; } });
|
|
11
|
+
Object.defineProperty(exports, "Checkbox", { enumerable: true, get: function () { return components_1.Checkbox; } });
|
|
12
|
+
Object.defineProperty(exports, "CheckboxVariant", { enumerable: true, get: function () { return components_1.CheckboxVariant; } });
|
|
13
|
+
Object.defineProperty(exports, "Chip", { enumerable: true, get: function () { return components_1.Chip; } });
|
|
14
|
+
Object.defineProperty(exports, "ChipList", { enumerable: true, get: function () { return components_1.ChipList; } });
|
|
15
|
+
Object.defineProperty(exports, "DropDownMenu", { enumerable: true, get: function () { return components_1.DropDownMenu; } });
|
|
16
|
+
Object.defineProperty(exports, "IconButton", { enumerable: true, get: function () { return components_1.IconButton; } });
|
|
17
|
+
Object.defineProperty(exports, "SearchBar", { enumerable: true, get: function () { return components_1.SearchBar; } });
|
|
18
|
+
Object.defineProperty(exports, "Text", { enumerable: true, get: function () { return components_1.Text; } });
|
|
19
|
+
Object.defineProperty(exports, "TextVariant", { enumerable: true, get: function () { return components_1.TextVariant; } });
|
|
20
|
+
Object.defineProperty(exports, "TextColors", { enumerable: true, get: function () { return components_1.TextColors; } });
|
|
21
|
+
Object.defineProperty(exports, "TextButton", { enumerable: true, get: function () { return components_1.TextButton; } });
|
|
22
|
+
Object.defineProperty(exports, "TextButtonVariant", { enumerable: true, get: function () { return components_1.TextButtonVariant; } });
|
|
23
|
+
var components_2 = require("./components");
|
|
24
|
+
Object.defineProperty(exports, "Form", { enumerable: true, get: function () { return components_2.Form; } });
|
|
25
|
+
Object.defineProperty(exports, "FormSelect", { enumerable: true, get: function () { return components_2.FormSelect; } });
|
|
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; } });
|
|
28
|
+
Object.defineProperty(exports, "TextField", { enumerable: true, get: function () { return components_2.TextField; } });
|
|
3
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,
|
|
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
|
-
{"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../../../src/utils/string-utils/string-utils.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"string-utils.js","sourceRoot":"","sources":["../../../src/utils/string-utils/string-utils.ts"],"names":[],"mappings":";;AAIA,wCAYC;AAZD,SAAgB,cAAc;IAC5B,SAAS,SAAS,CAAC,KAAc;QAC/B,IAAI,CAAC,KAAK,EAAE,CAAC;YACX,OAAO,EAAE,CAAC;QACZ,CAAC;QAED,OAAO,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,iBAAiB,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,OAAO;QACL,SAAS;KACV,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.tailwind = tailwind;
|
|
7
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
8
|
+
const tailwind_merge_1 = require("tailwind-merge");
|
|
9
|
+
function tailwind(...classes) {
|
|
10
|
+
return (0, tailwind_merge_1.twMerge)((0, clsx_1.default)(classes));
|
|
5
11
|
}
|
|
6
12
|
//# sourceMappingURL=tailwind-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tailwind-utils.js","sourceRoot":"","sources":["../../src/utils/tailwind-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tailwind-utils.js","sourceRoot":"","sources":["../../src/utils/tailwind-utils.ts"],"names":[],"mappings":";;;;;AAGA,4BAEC;AALD,gDAAwC;AACxC,mDAAyC;AAEzC,SAAgB,QAAQ,CAAC,GAAG,OAAqB;IAC/C,OAAO,IAAA,wBAAO,EAAC,IAAA,cAAI,EAAC,OAAO,CAAC,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.useWindowDimensions = useWindowDimensions;
|
|
4
|
+
const react_1 = require("react");
|
|
2
5
|
const screenBreakpoints = {
|
|
3
6
|
xs: 340,
|
|
4
7
|
sm: 644,
|
|
@@ -14,16 +17,16 @@ function getWindowDimensions() {
|
|
|
14
17
|
}
|
|
15
18
|
return { width: 0, height: 0, isMobile: true };
|
|
16
19
|
}
|
|
17
|
-
|
|
18
|
-
const [windowDimensions, setWindowDimensions] = useState(getWindowDimensions);
|
|
19
|
-
useEffect(() => {
|
|
20
|
+
function useWindowDimensions() {
|
|
21
|
+
const [windowDimensions, setWindowDimensions] = (0, react_1.useState)(getWindowDimensions);
|
|
22
|
+
(0, react_1.useEffect)(() => {
|
|
20
23
|
function handleResize() {
|
|
21
24
|
setWindowDimensions(getWindowDimensions());
|
|
22
25
|
}
|
|
23
26
|
window.addEventListener('resize', handleResize);
|
|
24
27
|
return () => window.removeEventListener('resize', handleResize);
|
|
25
28
|
}, []);
|
|
26
|
-
const isDesktop = useMemo(() => !windowDimensions.isMobile, [windowDimensions.isMobile]);
|
|
29
|
+
const isDesktop = (0, react_1.useMemo)(() => !windowDimensions.isMobile, [windowDimensions.isMobile]);
|
|
27
30
|
return {
|
|
28
31
|
width: windowDimensions.width,
|
|
29
32
|
height: windowDimensions.height,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"window-dimensions-utils.js","sourceRoot":"","sources":["../../src/utils/window-dimensions-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"window-dimensions-utils.js","sourceRoot":"","sources":["../../src/utils/window-dimensions-utils.ts"],"names":[],"mappings":";;AA4BA,kDAoBC;AAhDD,iCAAqD;AAErD,MAAM,iBAAiB,GAAG;IACxB,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,GAAG;IACP,EAAE,EAAE,IAAI;CACT,CAAC;AAEF,SAAS,mBAAmB;IAC1B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1D,MAAM,QAAQ,GAAG,KAAK,IAAI,iBAAiB,CAAC,EAAE,CAAC;QAE/C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;IACrC,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;AACjD,CAAC;AASD,SAAgB,mBAAmB;IACjC,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,mBAAmB,CAAC,CAAC;IAE9E,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,SAAS,YAAY;YACnB,mBAAmB,CAAC,mBAAmB,EAAE,CAAC,CAAC;QAC7C,CAAC;QAED,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;QAChD,OAAO,GAAG,EAAE,CAAC,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAClE,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,SAAS,GAAG,IAAA,eAAO,EAAC,GAAG,EAAE,CAAC,CAAC,gBAAgB,CAAC,QAAQ,EAAE,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEzF,OAAO;QACL,KAAK,EAAE,gBAAgB,CAAC,KAAK;QAC7B,MAAM,EAAE,gBAAgB,CAAC,MAAM;QAC/B,QAAQ,EAAE,gBAAgB,CAAC,QAAQ;QACnC,SAAS;KACV,CAAC;AACJ,CAAC"}
|
package/dist/vitest.setup.js
CHANGED
package/package.json
CHANGED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
export declare enum IconSymbol {
|
|
2
|
-
WARNING = "icon-warning",
|
|
3
|
-
CHEVRON_DOWN = "icon-chevron-down",
|
|
4
|
-
CHEVRON_UP = "icon-chevron-up",
|
|
5
|
-
CHEVRON_RIGHT = "icon-chevron-right",
|
|
6
|
-
CHEVRON_LEFT = "icon-chevron-left",
|
|
7
|
-
COPY = "icon-copy",
|
|
8
|
-
DOT_MENU = "icon-dot-menu",
|
|
9
|
-
FUNNEL = "icon-funnel",
|
|
10
|
-
CLOCK_WARNING = "icon-clock-warning",
|
|
11
|
-
SPINNER = "icon-spinner",
|
|
12
|
-
MINUS = "icon-minus",
|
|
13
|
-
MAGNIFYING_GLASS = "icon-magnifying-glass",
|
|
14
|
-
ARROWS_LEFT_RIGHT = "icon-arrows-left-right",
|
|
15
|
-
TAG = "icon-tag",
|
|
16
|
-
CALENDER = "icon-calendar",
|
|
17
|
-
CHECK_CIRCLE = "icon-check-circle",
|
|
18
|
-
ADDRESS_BOOK = "icon-address-book",
|
|
19
|
-
ICON_X = "icon-x",
|
|
20
|
-
CREDIT_CARD = "icon-credit-card",
|
|
21
|
-
POS = "icon-pos",
|
|
22
|
-
FILE = "icon-file",
|
|
23
|
-
DOWNLOAD = "icon-download",
|
|
24
|
-
PENCIL = "icon-pencil",
|
|
25
|
-
ALERT = "icon-alert",
|
|
26
|
-
QUESTION_CONTAINED = "icon-question-contained",
|
|
27
|
-
EYE_SLASH = "icon-eye-slash",
|
|
28
|
-
IMAGE = "icon-image",
|
|
29
|
-
UPLOAD = "icon-upload",
|
|
30
|
-
LINK = "icon-link",
|
|
31
|
-
SIGN_OUT = "icon-sign-out",
|
|
32
|
-
MASTER_CARD = "icon-mastercard",
|
|
33
|
-
MENU = "icon-menu",
|
|
34
|
-
FILE_PDF = "icon-file-pdf",
|
|
35
|
-
PLUS = "icon-plus",
|
|
36
|
-
BASKET = "icon-basket",
|
|
37
|
-
STOCK = "icon-stock",
|
|
38
|
-
QR_CODE = "icon-qr-code",
|
|
39
|
-
X_CIRCLE = "icon-x-circle",
|
|
40
|
-
PIE_CHART = "icon-pie-chart",
|
|
41
|
-
MAGNIFYING_GLASS_X = "icon-magnifying-glass-x",
|
|
42
|
-
PAPER_PLANE = "icon-paper-plane",
|
|
43
|
-
GEAR = "icon-gear",
|
|
44
|
-
EYE = "icon-eye",
|
|
45
|
-
CLIPBOARD = "icon-clipboard",
|
|
46
|
-
INFO = "icon-info",
|
|
47
|
-
TRASH = "icon-trash",
|
|
48
|
-
LINK_BREAK = "icon-link-break",
|
|
49
|
-
ELECTRICITY_BILL = "icon-electricity-bill",
|
|
50
|
-
VISA = "icon-visa",
|
|
51
|
-
RECEIPT = "icon-receipt",
|
|
52
|
-
RECEIPT_CONTAINED = "icon-receipt-contained",
|
|
53
|
-
CLOCK = "icon-clock",
|
|
54
|
-
CARET_DOWN = "icon-caret-down",
|
|
55
|
-
CARET_UP = "icon-caret-up",
|
|
56
|
-
QUESTION = "icon-question",
|
|
57
|
-
USER_CONTAINED = "icon-user-contained",
|
|
58
|
-
WHATSAPP = "icon-whatsapp",
|
|
59
|
-
STORE_CLOCK = "icon-store-clock",
|
|
60
|
-
PHONE_CALL = "icon-phone-call",
|
|
61
|
-
LOCK = "icon-lock",
|
|
62
|
-
ARROW_SQUARE_OUT = "icon-arrow-square-out",
|
|
63
|
-
ARROW_LEFT = "icon-arrow-left",
|
|
64
|
-
ARROW_RIGHT = "icon-arrow-right",
|
|
65
|
-
DEVICES = "icon-devices",
|
|
66
|
-
CASH = "icon-cash",
|
|
67
|
-
BANK = "icon-bank",
|
|
68
|
-
MOBILE = "icon-mobile",
|
|
69
|
-
CHECK = "icon-check",
|
|
70
|
-
MEGAPHONE = "icon-megaphone",
|
|
71
|
-
BELL = "icon-bell",
|
|
72
|
-
STOREFRONT = "icon-storefront",
|
|
73
|
-
HOUSE = "icon-house",
|
|
74
|
-
ARROW_CLOCKWISE = "icon-arrow-clockwise",
|
|
75
|
-
ENVELOPE = "icon-envelope",
|
|
76
|
-
USER = "icon-user",
|
|
77
|
-
CHECK_SEAL = "icon-check-seal",
|
|
78
|
-
PIN = "icon-pin",
|
|
79
|
-
BILLO_LOGO = "icon-billo-logo",
|
|
80
|
-
BN_LOGO = "icon-banco-nacional-logo",
|
|
81
|
-
SHOPPING_CART = "icon-shopping-cart",
|
|
82
|
-
WARNING_FILLED = "icon-warning-filled",
|
|
83
|
-
INFO_FILLED = "icon-info-filled",
|
|
84
|
-
CHECK_CIRCLE_FILLED = "icon-check-circle-filled",
|
|
85
|
-
ALERT_FILLED = "icon-alert-filled",
|
|
86
|
-
DUPLICATE_AND_SEND = "icon-duplicate-and-send",
|
|
87
|
-
NUMBER_PAD = "icon-number-pad"
|
|
88
|
-
}
|
|
89
|
-
export declare enum IconSize {
|
|
90
|
-
XXS = "text-[10px]",
|
|
91
|
-
XS = "text-[12px]",
|
|
92
|
-
SM = "text-[14px]",
|
|
93
|
-
MD = "text-[16px]",
|
|
94
|
-
LG = "text-[18px]",
|
|
95
|
-
XL = "text-[20px]",
|
|
96
|
-
TWO_XL = "text-[24px]",
|
|
97
|
-
THREE_XL = "text-[30px]",
|
|
98
|
-
FOUR_XL = "text-[36px]",
|
|
99
|
-
FIVE_XL = "text-[48px]",
|
|
100
|
-
SIX_XL = "text-[60px]",
|
|
101
|
-
SEVEN_XL = "text-[72px]",
|
|
102
|
-
EIGHT_XL = "text-[96px]"
|
|
103
|
-
}
|
|
104
|
-
export declare enum IconColor {
|
|
105
|
-
WHITE = "text-white",
|
|
106
|
-
BLUE_01 = "text-blue-01",
|
|
107
|
-
BLUE_02 = "text-blue-02",
|
|
108
|
-
BLUE_03 = "text-blue-03",
|
|
109
|
-
GREEN_02 = "text-green-02",
|
|
110
|
-
YELLOW_02 = "text-yellow-02",
|
|
111
|
-
RED_02 = "text-red-02",
|
|
112
|
-
GRAY_02 = "text-gray-02",
|
|
113
|
-
GRAY_03 = "text-gray-03",
|
|
114
|
-
RED_01 = "text-red-01"
|
|
115
|
-
}
|
|
116
|
-
//# sourceMappingURL=billo-icon-types.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IconColor, IconSize, IconSymbol } from './billo-icon-types';
|
|
2
|
-
type Props = {
|
|
3
|
-
icon: IconSymbol;
|
|
4
|
-
size?: IconSize;
|
|
5
|
-
color?: IconColor;
|
|
6
|
-
touchTarget?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function BilloIcon({ icon, size, color, touchTarget, className, }: Props): JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=billo-icon.d.ts.map
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
declare const buttonStyles: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "destructive" | null | undefined;
|
|
5
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
6
|
-
type Props = ComponentProps<'button'> & VariantProps<typeof buttonStyles>;
|
|
7
|
-
export declare const Button: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare enum CheckboxVariant {
|
|
2
|
-
DEFAULT = "DEFAULT",
|
|
3
|
-
INTERMEDIATE = "INTERMEDIATE",
|
|
4
|
-
DESTRUCTIVE = "DESTRUCTIVE"
|
|
5
|
-
}
|
|
6
|
-
type ExcludedVariants = Exclude<CheckboxVariant, CheckboxVariant.INTERMEDIATE>;
|
|
7
|
-
export declare const checkBoxStyles: {
|
|
8
|
-
[type in ExcludedVariants]: string;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=check-box-types.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { CheckboxVariant } from './check-box-types';
|
|
2
|
-
type Props = {
|
|
3
|
-
value?: boolean;
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
label?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
labelName?: string;
|
|
8
|
-
containerClassName?: string;
|
|
9
|
-
variant?: CheckboxVariant;
|
|
10
|
-
onCheckToggle?: (value: boolean) => void;
|
|
11
|
-
};
|
|
12
|
-
export declare function Checkbox({ value, isDisabled, label, className, labelName, containerClassName, variant, onCheckToggle, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=check-box.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IconColor, IconSize } from '../../../../../components';
|
|
2
|
-
type Props = {
|
|
3
|
-
isDisabled?: boolean;
|
|
4
|
-
size?: IconSize;
|
|
5
|
-
color?: IconColor;
|
|
6
|
-
onClick: () => void;
|
|
7
|
-
className?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare function ClearButton({ isDisabled, size, onClick, className, }: Props): JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=clear-button.d.ts.map
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
export type ChipOptionsProps = {
|
|
3
|
-
label: string;
|
|
4
|
-
value: string;
|
|
5
|
-
onClear: () => void;
|
|
6
|
-
};
|
|
7
|
-
type Props = {
|
|
8
|
-
data: ChipOptionsProps[];
|
|
9
|
-
firstComponent?: ReactElement;
|
|
10
|
-
lasItemComponent?: ReactElement;
|
|
11
|
-
className?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare function ChipList({ data, className, firstComponent, lasItemComponent }: Props): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
15
|
-
//# sourceMappingURL=chips-list.d.ts.map
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IconSymbol } from '../../../../components';
|
|
2
|
-
import { MenuItemVariant } from './menu-item-types';
|
|
3
|
-
type Props = {
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
isSelected?: boolean;
|
|
6
|
-
id: string;
|
|
7
|
-
label: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
helperLabel?: string;
|
|
10
|
-
variant?: MenuItemVariant;
|
|
11
|
-
icon?: IconSymbol;
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
};
|
|
14
|
-
export declare function MenuItem({ isDisabled, isSelected, id, label, className, helperLabel, variant, icon, onClick, }: Props): JSX.Element;
|
|
15
|
-
export {};
|
|
16
|
-
//# sourceMappingURL=menu-item.d.ts.map
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReactElement } from 'react';
|
|
2
|
-
import { IconSymbol } from '../../../components';
|
|
3
|
-
import { MenuItemVariant } from './components';
|
|
4
|
-
export type DropDownMenuOptionProps = {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
icon?: IconSymbol;
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
isDisabled?: boolean;
|
|
10
|
-
helperLabel?: string;
|
|
11
|
-
variant?: MenuItemVariant;
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
};
|
|
14
|
-
type Props = {
|
|
15
|
-
className?: string;
|
|
16
|
-
selectedIDs: string[];
|
|
17
|
-
variant?: MenuItemVariant;
|
|
18
|
-
emptyElement?: ReactElement;
|
|
19
|
-
options: DropDownMenuOptionProps[];
|
|
20
|
-
};
|
|
21
|
-
export declare function DropDownMenu({ options, className, emptyElement, selectedIDs, variant, }: Props): JSX.Element;
|
|
22
|
-
export {};
|
|
23
|
-
//# sourceMappingURL=drop-down-menu.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IconColor, IconSize, IconSymbol } from '../../../components';
|
|
2
|
-
type Props = {
|
|
3
|
-
isDisabled?: boolean;
|
|
4
|
-
icon: IconSymbol;
|
|
5
|
-
size?: IconSize;
|
|
6
|
-
color?: IconColor;
|
|
7
|
-
onClick?: () => void;
|
|
8
|
-
className?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function IconButton({ isDisabled, icon, size, color, onClick, className, }: Props): JSX.Element;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=icon-button.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IconSize } from '../../../../components';
|
|
2
|
-
type Props = {
|
|
3
|
-
isDisabled: boolean;
|
|
4
|
-
size?: IconSize;
|
|
5
|
-
onClick: () => void;
|
|
6
|
-
className?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare function ClearButton({ isDisabled, size, onClick, className, }: Props): JSX.Element;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=clear-button.d.ts.map
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
isDisabled?: boolean;
|
|
4
|
-
value: string;
|
|
5
|
-
placeholder?: string;
|
|
6
|
-
onChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
7
|
-
onClear: () => void;
|
|
8
|
-
className?: string;
|
|
9
|
-
};
|
|
10
|
-
export declare function SearchBar({ isDisabled, value, placeholder, onChange, onClear, className, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=search-bar.d.ts.map
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare enum TextVariant {
|
|
3
|
-
HEADLINE = "headline",
|
|
4
|
-
SUBTITLE = "subtitle",
|
|
5
|
-
ACCENT = "accent",
|
|
6
|
-
BODY = "body",
|
|
7
|
-
BODY_SEMIBOLD = "bodySemibold",
|
|
8
|
-
BODY_BOLD = "bodyBold",
|
|
9
|
-
LINK = "link",
|
|
10
|
-
HELPER = "helper"
|
|
11
|
-
}
|
|
12
|
-
export declare const TextStyle: Record<TextVariant, string>;
|
|
13
|
-
export declare enum TextColors {
|
|
14
|
-
WHITE = "text-white",
|
|
15
|
-
BLACK = "text-gray-01",
|
|
16
|
-
BLACK_02 = "text-gray-02",
|
|
17
|
-
BLACK_03 = "text-gray-03",
|
|
18
|
-
BLUE = "text-blue-01",
|
|
19
|
-
BLUE_03 = "text-blue-03",
|
|
20
|
-
RED = "text-red-01",
|
|
21
|
-
RED_03 = "text-red-03",
|
|
22
|
-
PURPLE = "text-purple-01"
|
|
23
|
-
}
|
|
24
|
-
export type PropsOf<C extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<unknown>> = JSX.LibraryManagedAttributes<C, React.ComponentPropsWithoutRef<C>>;
|
|
25
|
-
type AsProp<C extends React.ElementType> = {
|
|
26
|
-
as?: C;
|
|
27
|
-
};
|
|
28
|
-
export type ExtendableProps<ExtendedProps = {}, OverrideProps = {}> = OverrideProps & Omit<ExtendedProps, keyof OverrideProps>;
|
|
29
|
-
export type InheritableElementProps<C extends React.ElementType, Props = {}> = ExtendableProps<PropsOf<C>, Props>;
|
|
30
|
-
export type PolymorphicComponentProps<C extends React.ElementType, Props = {}> = InheritableElementProps<C, Props & AsProp<C>>;
|
|
31
|
-
export type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>['ref'];
|
|
32
|
-
export type PolymorphicComponentPropsWithRef<C extends React.ElementType, Props = {}> = PolymorphicComponentProps<C, Props> & {
|
|
33
|
-
ref?: PolymorphicRef<C>;
|
|
34
|
-
};
|
|
35
|
-
export {};
|
|
36
|
-
//# sourceMappingURL=text-types.d.ts.map
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { PolymorphicComponentPropsWithRef, TextColors, TextVariant } from './text-types';
|
|
3
|
-
declare const textStyles: (props?: ({
|
|
4
|
-
variant?: TextVariant | null | undefined;
|
|
5
|
-
color?: TextColors | null | undefined;
|
|
6
|
-
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
|
-
type TextProps<C extends React.ElementType> = PolymorphicComponentPropsWithRef<C, Omit<VariantProps<typeof textStyles>, 'variant' | 'color'> & {
|
|
8
|
-
variant?: TextVariant;
|
|
9
|
-
color?: TextColors;
|
|
10
|
-
}>;
|
|
11
|
-
type TextComponent = <C extends React.ElementType = 'span'>(props: TextProps<C>) => React.ReactElement | null;
|
|
12
|
-
export declare const Text: TextComponent;
|
|
13
|
-
export {};
|
|
14
|
-
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { IconSymbol } from '../../../components';
|
|
2
|
-
import { TextButtonVariant } from './text-button-types';
|
|
3
|
-
type Props = {
|
|
4
|
-
isDisabled?: boolean;
|
|
5
|
-
label: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
icon?: IconSymbol;
|
|
8
|
-
variant?: TextButtonVariant;
|
|
9
|
-
onClick: () => void;
|
|
10
|
-
};
|
|
11
|
-
export declare function TextButton({ isDisabled, label, className, icon, variant, onClick, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
13
|
-
//# sourceMappingURL=text-button.d.ts.map
|