indicator-ui 0.0.52 → 0.0.54
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/index.css +156 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +261 -6
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
- package/dist/types/src/ui/InputFields/FlexField/types/FlexFieldTypes.d.ts +4 -0
- package/dist/types/src/ui/MicroButton/types/MicroButtonTypes.d.ts +8 -1
- package/dist/types/src/ui/MicroButton/ui/MicroButton.d.ts +1 -1
- package/dist/types/src/ui/TabButtons/index.d.ts +2 -0
- package/dist/types/src/ui/TabButtons/styles/index.d.ts +1 -0
- package/dist/types/src/ui/TabButtons/types/TabButtonsTypes.d.ts +23 -0
- package/dist/types/src/ui/TabButtons/types/index.d.ts +1 -0
- package/dist/types/src/ui/TabButtons/ui/TabButtons.d.ts +2 -0
- package/dist/types/src/ui/TabButtons/ui/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/styles/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/types/TabFrameTypes.d.ts +7 -0
- package/dist/types/src/ui/TabFrame/types/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/ui/TabFrame.d.ts +2 -0
- package/dist/types/src/ui/TabFrame/ui/index.d.ts +1 -0
- package/dist/types/src/ui/index.d.ts +2 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3278,6 +3278,38 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3278
3278
|
|
|
3279
3279
|
/***/ }),
|
|
3280
3280
|
|
|
3281
|
+
/***/ "./src/ui/TabButtons/styles/TabButtons.module.scss":
|
|
3282
|
+
/*!*********************************************************!*\
|
|
3283
|
+
!*** ./src/ui/TabButtons/styles/TabButtons.module.scss ***!
|
|
3284
|
+
\*********************************************************/
|
|
3285
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3286
|
+
|
|
3287
|
+
"use strict";
|
|
3288
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3289
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3290
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3291
|
+
/* harmony export */ });
|
|
3292
|
+
// extracted by mini-css-extract-plugin
|
|
3293
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"tabButtons":"TabButtons-module__tabButtons___vSLsZ","rightIcon":"TabButtons-module__rightIcon___Vllb5","leftIcon":"TabButtons-module__leftIcon___yDOkS","text":"TabButtons-module__text___EbNMB","active":"TabButtons-module__active___ShP43","disabled":"TabButtons-module__disabled___MlvE9","widthHug":"TabButtons-module__widthHug___Choqd","heightHug":"TabButtons-module__heightHug___jeoXZ","widthFill":"TabButtons-module__widthFill___MwxIJ","heightFill":"TabButtons-module__heightFill____mxL8"});
|
|
3294
|
+
|
|
3295
|
+
/***/ }),
|
|
3296
|
+
|
|
3297
|
+
/***/ "./src/ui/TabFrame/styles/TabFrame.module.scss":
|
|
3298
|
+
/*!*****************************************************!*\
|
|
3299
|
+
!*** ./src/ui/TabFrame/styles/TabFrame.module.scss ***!
|
|
3300
|
+
\*****************************************************/
|
|
3301
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
3302
|
+
|
|
3303
|
+
"use strict";
|
|
3304
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3305
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3306
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3307
|
+
/* harmony export */ });
|
|
3308
|
+
// extracted by mini-css-extract-plugin
|
|
3309
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"tabFrame":"TabFrame-module__tabFrame___Ppzzz","widthFill":"TabFrame-module__widthFill___phhlp","widthHug":"TabFrame-module__widthHug___wokCP"});
|
|
3310
|
+
|
|
3311
|
+
/***/ }),
|
|
3312
|
+
|
|
3281
3313
|
/***/ "./src/ui/Tag/styles/Tag.module.scss":
|
|
3282
3314
|
/*!*******************************************!*\
|
|
3283
3315
|
!*** ./src/ui/Tag/styles/Tag.module.scss ***!
|
|
@@ -8732,7 +8764,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8732
8764
|
|
|
8733
8765
|
|
|
8734
8766
|
|
|
8735
|
-
const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, type, onChange, onFocus, onBlur, onClick, mask = /.*/, required = false, disabled = false, isError = false, placeholder, notInput = false, icon, help, dropdown, userPic, textSupport, dropdownState = false, offFocus = false, button, buttonState = 'gray', onButtonClick, className = _styles__WEBPACK_IMPORTED_MODULE_5__.FlexFieldStyle, }, ref) => {
|
|
8767
|
+
const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, type, onChange, onFocus, onBlur, onClick, mask = /.*/, required = false, disabled = false, isError = false, placeholder, notInput = false, icon, help, dropdown, userPic, textSupport, dropdownState = false, offFocus = false, button, unmask, buttonState = 'gray', onButtonClick, className = _styles__WEBPACK_IMPORTED_MODULE_5__.FlexFieldStyle, }, ref) => {
|
|
8736
8768
|
const [isFocus, setIsFocus] = (0,react__WEBPACK_IMPORTED_MODULE_1__.useState)(false);
|
|
8737
8769
|
const handleChange = (newValue) => {
|
|
8738
8770
|
onChange && onChange(newValue);
|
|
@@ -8750,7 +8782,7 @@ const FlexField = (0,react__WEBPACK_IMPORTED_MODULE_1__.forwardRef)(({ value, ty
|
|
|
8750
8782
|
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(className?.inputField, { [className?.placeholder]: !value && placeholder }), children: value || placeholder }));
|
|
8751
8783
|
}
|
|
8752
8784
|
let validValue = typeof value === 'string' ? value : '';
|
|
8753
|
-
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_imask__WEBPACK_IMPORTED_MODULE_2__.IMaskInput, { value: validValue, type: type, mask: mask, required: required, disabled: disabled, placeholder: placeholder, onAccept: handleChange, onFocus: handleFocus, onBlur: handleBlur, className: className?.inputField });
|
|
8785
|
+
return (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react_imask__WEBPACK_IMPORTED_MODULE_2__.IMaskInput, { value: validValue, type: type, mask: mask, required: required, disabled: disabled, placeholder: placeholder, onAccept: handleChange, onFocus: handleFocus, onBlur: handleBlur, unmask: unmask, className: className?.inputField });
|
|
8754
8786
|
};
|
|
8755
8787
|
const getIcon = () => {
|
|
8756
8788
|
return icon ? (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: className?.icon, children: icon }) : undefined;
|
|
@@ -9925,12 +9957,15 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
9925
9957
|
/* harmony export */ MicroButton: () => (/* binding */ MicroButton)
|
|
9926
9958
|
/* harmony export */ });
|
|
9927
9959
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
|
9928
|
-
/* harmony import */ var
|
|
9929
|
-
/* harmony import */ var
|
|
9960
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
9961
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
9962
|
+
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.mjs");
|
|
9963
|
+
/* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles */ "./src/ui/MicroButton/styles/index.ts");
|
|
9930
9964
|
|
|
9931
9965
|
|
|
9932
9966
|
|
|
9933
|
-
|
|
9967
|
+
|
|
9968
|
+
function MicroButton({ children, icon, size = '14', color = 'light', additionStyles = [], customComponent, disabled, className = _styles__WEBPACK_IMPORTED_MODULE_3__.MicroButtonStyle, ...props }) {
|
|
9934
9969
|
const getTypeClassName = () => {
|
|
9935
9970
|
switch (color) {
|
|
9936
9971
|
case 'light':
|
|
@@ -9975,7 +10010,13 @@ function MicroButton({ children, icon, size = '14', color = 'light', additionSty
|
|
|
9975
10010
|
}
|
|
9976
10011
|
return additionStyles.join(' ');
|
|
9977
10012
|
};
|
|
9978
|
-
|
|
10013
|
+
if (customComponent !== undefined) {
|
|
10014
|
+
return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(customComponent, {
|
|
10015
|
+
children: icon || children,
|
|
10016
|
+
className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className?.button, getTypeClassName(), getSizeClassName(), getAdditionStyles())
|
|
10017
|
+
});
|
|
10018
|
+
}
|
|
10019
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", { ...props, disabled: disabled, className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(className?.button, getTypeClassName(), getSizeClassName(), getAdditionStyles()), children: icon || children }));
|
|
9979
10020
|
}
|
|
9980
10021
|
|
|
9981
10022
|
|
|
@@ -10254,6 +10295,212 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10254
10295
|
|
|
10255
10296
|
|
|
10256
10297
|
|
|
10298
|
+
/***/ }),
|
|
10299
|
+
|
|
10300
|
+
/***/ "./src/ui/TabButtons/index.ts":
|
|
10301
|
+
/*!************************************!*\
|
|
10302
|
+
!*** ./src/ui/TabButtons/index.ts ***!
|
|
10303
|
+
\************************************/
|
|
10304
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10305
|
+
|
|
10306
|
+
"use strict";
|
|
10307
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10308
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10309
|
+
/* harmony export */ TabButtons: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_0__.TabButtons)
|
|
10310
|
+
/* harmony export */ });
|
|
10311
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ui */ "./src/ui/TabButtons/ui/index.ts");
|
|
10312
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "./src/ui/TabButtons/types/index.ts");
|
|
10313
|
+
|
|
10314
|
+
|
|
10315
|
+
|
|
10316
|
+
|
|
10317
|
+
/***/ }),
|
|
10318
|
+
|
|
10319
|
+
/***/ "./src/ui/TabButtons/styles/index.ts":
|
|
10320
|
+
/*!*******************************************!*\
|
|
10321
|
+
!*** ./src/ui/TabButtons/styles/index.ts ***!
|
|
10322
|
+
\*******************************************/
|
|
10323
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10324
|
+
|
|
10325
|
+
"use strict";
|
|
10326
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10327
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10328
|
+
/* harmony export */ TabButtonsStyle: () => (/* reexport safe */ _TabButtons_module_scss__WEBPACK_IMPORTED_MODULE_0__["default"])
|
|
10329
|
+
/* harmony export */ });
|
|
10330
|
+
/* harmony import */ var _TabButtons_module_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TabButtons.module.scss */ "./src/ui/TabButtons/styles/TabButtons.module.scss");
|
|
10331
|
+
|
|
10332
|
+
|
|
10333
|
+
|
|
10334
|
+
/***/ }),
|
|
10335
|
+
|
|
10336
|
+
/***/ "./src/ui/TabButtons/types/TabButtonsTypes.ts":
|
|
10337
|
+
/*!****************************************************!*\
|
|
10338
|
+
!*** ./src/ui/TabButtons/types/TabButtonsTypes.ts ***!
|
|
10339
|
+
\****************************************************/
|
|
10340
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10341
|
+
|
|
10342
|
+
"use strict";
|
|
10343
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10344
|
+
|
|
10345
|
+
|
|
10346
|
+
|
|
10347
|
+
/***/ }),
|
|
10348
|
+
|
|
10349
|
+
/***/ "./src/ui/TabButtons/types/index.ts":
|
|
10350
|
+
/*!******************************************!*\
|
|
10351
|
+
!*** ./src/ui/TabButtons/types/index.ts ***!
|
|
10352
|
+
\******************************************/
|
|
10353
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10354
|
+
|
|
10355
|
+
"use strict";
|
|
10356
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10357
|
+
/* harmony import */ var _TabButtonsTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TabButtonsTypes */ "./src/ui/TabButtons/types/TabButtonsTypes.ts");
|
|
10358
|
+
|
|
10359
|
+
|
|
10360
|
+
|
|
10361
|
+
/***/ }),
|
|
10362
|
+
|
|
10363
|
+
/***/ "./src/ui/TabButtons/ui/TabButtons.tsx":
|
|
10364
|
+
/*!*********************************************!*\
|
|
10365
|
+
!*** ./src/ui/TabButtons/ui/TabButtons.tsx ***!
|
|
10366
|
+
\*********************************************/
|
|
10367
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10368
|
+
|
|
10369
|
+
"use strict";
|
|
10370
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10371
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10372
|
+
/* harmony export */ TabButtons: () => (/* binding */ TabButtons)
|
|
10373
|
+
/* harmony export */ });
|
|
10374
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
|
10375
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
10376
|
+
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
10377
|
+
/* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles */ "./src/ui/TabButtons/styles/index.ts");
|
|
10378
|
+
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.mjs");
|
|
10379
|
+
|
|
10380
|
+
|
|
10381
|
+
|
|
10382
|
+
|
|
10383
|
+
function TabButtons({ active, iconLeft, iconRight, disabled, text, children, customComponent, height = 'hug', width = 'fill', additionStyles, ...props }) {
|
|
10384
|
+
const getClassName = () => {
|
|
10385
|
+
return (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.tabButtons, {
|
|
10386
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.active]: !disabled && active,
|
|
10387
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.disabled]: disabled,
|
|
10388
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.widthFill]: width === 'fill',
|
|
10389
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.widthHug]: width === 'hug',
|
|
10390
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.heightFill]: height === 'fill',
|
|
10391
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.heightHug]: height === 'hug',
|
|
10392
|
+
});
|
|
10393
|
+
};
|
|
10394
|
+
const getMainContent = () => {
|
|
10395
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.Fragment, { children: [iconLeft && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: _styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.leftIcon, children: iconLeft }), text || children && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: _styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.text, children: text || children }), iconRight && (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("span", { className: _styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.rightIcon, children: iconRight })] }));
|
|
10396
|
+
};
|
|
10397
|
+
if (customComponent !== undefined) {
|
|
10398
|
+
return react__WEBPACK_IMPORTED_MODULE_1___default().cloneElement(customComponent, {
|
|
10399
|
+
children: getMainContent(),
|
|
10400
|
+
className: getClassName()
|
|
10401
|
+
});
|
|
10402
|
+
}
|
|
10403
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("button", { ...props, disabled: disabled, className: getClassName(), children: getMainContent() }));
|
|
10404
|
+
}
|
|
10405
|
+
|
|
10406
|
+
|
|
10407
|
+
/***/ }),
|
|
10408
|
+
|
|
10409
|
+
/***/ "./src/ui/TabButtons/ui/index.ts":
|
|
10410
|
+
/*!***************************************!*\
|
|
10411
|
+
!*** ./src/ui/TabButtons/ui/index.ts ***!
|
|
10412
|
+
\***************************************/
|
|
10413
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10414
|
+
|
|
10415
|
+
"use strict";
|
|
10416
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10417
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10418
|
+
/* harmony export */ TabButtons: () => (/* reexport safe */ _TabButtons__WEBPACK_IMPORTED_MODULE_0__.TabButtons)
|
|
10419
|
+
/* harmony export */ });
|
|
10420
|
+
/* harmony import */ var _TabButtons__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TabButtons */ "./src/ui/TabButtons/ui/TabButtons.tsx");
|
|
10421
|
+
|
|
10422
|
+
|
|
10423
|
+
|
|
10424
|
+
/***/ }),
|
|
10425
|
+
|
|
10426
|
+
/***/ "./src/ui/TabFrame/index.ts":
|
|
10427
|
+
/*!**********************************!*\
|
|
10428
|
+
!*** ./src/ui/TabFrame/index.ts ***!
|
|
10429
|
+
\**********************************/
|
|
10430
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10431
|
+
|
|
10432
|
+
"use strict";
|
|
10433
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10434
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10435
|
+
/* harmony export */ TabFrame: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_0__.TabFrame)
|
|
10436
|
+
/* harmony export */ });
|
|
10437
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ui */ "./src/ui/TabFrame/ui/index.ts");
|
|
10438
|
+
|
|
10439
|
+
|
|
10440
|
+
|
|
10441
|
+
/***/ }),
|
|
10442
|
+
|
|
10443
|
+
/***/ "./src/ui/TabFrame/styles/index.ts":
|
|
10444
|
+
/*!*****************************************!*\
|
|
10445
|
+
!*** ./src/ui/TabFrame/styles/index.ts ***!
|
|
10446
|
+
\*****************************************/
|
|
10447
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10448
|
+
|
|
10449
|
+
"use strict";
|
|
10450
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10451
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10452
|
+
/* harmony export */ TabFrameStyle: () => (/* reexport safe */ _TabFrame_module_scss__WEBPACK_IMPORTED_MODULE_0__["default"])
|
|
10453
|
+
/* harmony export */ });
|
|
10454
|
+
/* harmony import */ var _TabFrame_module_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TabFrame.module.scss */ "./src/ui/TabFrame/styles/TabFrame.module.scss");
|
|
10455
|
+
|
|
10456
|
+
|
|
10457
|
+
|
|
10458
|
+
/***/ }),
|
|
10459
|
+
|
|
10460
|
+
/***/ "./src/ui/TabFrame/ui/TabFrame.tsx":
|
|
10461
|
+
/*!*****************************************!*\
|
|
10462
|
+
!*** ./src/ui/TabFrame/ui/TabFrame.tsx ***!
|
|
10463
|
+
\*****************************************/
|
|
10464
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10465
|
+
|
|
10466
|
+
"use strict";
|
|
10467
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10468
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10469
|
+
/* harmony export */ TabFrame: () => (/* binding */ TabFrame)
|
|
10470
|
+
/* harmony export */ });
|
|
10471
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
|
10472
|
+
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/ui */ "./src/ui/index.ts");
|
|
10473
|
+
/* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../styles */ "./src/ui/TabFrame/styles/index.ts");
|
|
10474
|
+
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.mjs");
|
|
10475
|
+
|
|
10476
|
+
|
|
10477
|
+
|
|
10478
|
+
|
|
10479
|
+
function TabFrame({ width = 'fill', tabs = [] }) {
|
|
10480
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.TabFrameStyle.tabFrame, {
|
|
10481
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabFrameStyle.widthHug]: width === 'hug',
|
|
10482
|
+
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabFrameStyle.widthFill]: width === 'fill',
|
|
10483
|
+
}), children: tabs.map((item, idx) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_1__.TabButtons, { ...item }, idx)) }));
|
|
10484
|
+
}
|
|
10485
|
+
|
|
10486
|
+
|
|
10487
|
+
/***/ }),
|
|
10488
|
+
|
|
10489
|
+
/***/ "./src/ui/TabFrame/ui/index.ts":
|
|
10490
|
+
/*!*************************************!*\
|
|
10491
|
+
!*** ./src/ui/TabFrame/ui/index.ts ***!
|
|
10492
|
+
\*************************************/
|
|
10493
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10494
|
+
|
|
10495
|
+
"use strict";
|
|
10496
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10497
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
10498
|
+
/* harmony export */ TabFrame: () => (/* reexport safe */ _TabFrame__WEBPACK_IMPORTED_MODULE_0__.TabFrame)
|
|
10499
|
+
/* harmony export */ });
|
|
10500
|
+
/* harmony import */ var _TabFrame__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TabFrame */ "./src/ui/TabFrame/ui/TabFrame.tsx");
|
|
10501
|
+
|
|
10502
|
+
|
|
10503
|
+
|
|
10257
10504
|
/***/ }),
|
|
10258
10505
|
|
|
10259
10506
|
/***/ "./src/ui/Tag/index.ts":
|
|
@@ -10801,6 +11048,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10801
11048
|
/* harmony export */ SelectField: () => (/* reexport safe */ _InputFields__WEBPACK_IMPORTED_MODULE_3__.SelectField),
|
|
10802
11049
|
/* harmony export */ SlideTransition: () => (/* reexport safe */ _SlideTransition__WEBPACK_IMPORTED_MODULE_11__.SlideTransition),
|
|
10803
11050
|
/* harmony export */ SwitcherField: () => (/* reexport safe */ _InputFields__WEBPACK_IMPORTED_MODULE_3__.SwitcherField),
|
|
11051
|
+
/* harmony export */ TabButtons: () => (/* reexport safe */ _TabButtons__WEBPACK_IMPORTED_MODULE_14__.TabButtons),
|
|
11052
|
+
/* harmony export */ TabFrame: () => (/* reexport safe */ _TabFrame__WEBPACK_IMPORTED_MODULE_13__.TabFrame),
|
|
10804
11053
|
/* harmony export */ Tag: () => (/* reexport safe */ _Tag__WEBPACK_IMPORTED_MODULE_10__.Tag),
|
|
10805
11054
|
/* harmony export */ TagCheckbox: () => (/* reexport safe */ _Tag__WEBPACK_IMPORTED_MODULE_10__.TagCheckbox),
|
|
10806
11055
|
/* harmony export */ TagCount: () => (/* reexport safe */ _Tag__WEBPACK_IMPORTED_MODULE_10__.TagCount),
|
|
@@ -10827,6 +11076,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10827
11076
|
/* harmony import */ var _Tag__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./Tag */ "./src/ui/Tag/index.ts");
|
|
10828
11077
|
/* harmony import */ var _SlideTransition__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./SlideTransition */ "./src/ui/SlideTransition/index.ts");
|
|
10829
11078
|
/* harmony import */ var _ModalWindowWrapper__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./ModalWindowWrapper */ "./src/ui/ModalWindowWrapper/index.ts");
|
|
11079
|
+
/* harmony import */ var _TabFrame__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./TabFrame */ "./src/ui/TabFrame/index.ts");
|
|
11080
|
+
/* harmony import */ var _TabButtons__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./TabButtons */ "./src/ui/TabButtons/index.ts");
|
|
11081
|
+
|
|
11082
|
+
|
|
10830
11083
|
|
|
10831
11084
|
|
|
10832
11085
|
|
|
@@ -25251,6 +25504,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
25251
25504
|
/* harmony export */ SelectField: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.SelectField),
|
|
25252
25505
|
/* harmony export */ SlideTransition: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.SlideTransition),
|
|
25253
25506
|
/* harmony export */ SwitcherField: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.SwitcherField),
|
|
25507
|
+
/* harmony export */ TabButtons: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.TabButtons),
|
|
25508
|
+
/* harmony export */ TabFrame: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.TabFrame),
|
|
25254
25509
|
/* harmony export */ Tag: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.Tag),
|
|
25255
25510
|
/* harmony export */ TagCheckbox: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.TagCheckbox),
|
|
25256
25511
|
/* harmony export */ TagCount: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_1__.TagCount),
|