indicator-ui 0.0.54 → 0.0.56
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 +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +37 -8
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/TabFrame/index.d.ts +1 -0
- package/dist/types/src/ui/TabFrame/types/TabFrameTypes.d.ts +2 -0
- package/dist/types/src/ui/TabFrame/ui/TabFrame.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10389,7 +10389,7 @@ function TabButtons({ active, iconLeft, iconRight, disabled, text, children, cus
|
|
|
10389
10389
|
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.widthHug]: width === 'hug',
|
|
10390
10390
|
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.heightFill]: height === 'fill',
|
|
10391
10391
|
[_styles__WEBPACK_IMPORTED_MODULE_2__.TabButtonsStyle.heightHug]: height === 'hug',
|
|
10392
|
-
});
|
|
10392
|
+
}, additionStyles);
|
|
10393
10393
|
};
|
|
10394
10394
|
const getMainContent = () => {
|
|
10395
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 })] }));
|
|
@@ -10435,6 +10435,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10435
10435
|
/* harmony export */ TabFrame: () => (/* reexport safe */ _ui__WEBPACK_IMPORTED_MODULE_0__.TabFrame)
|
|
10436
10436
|
/* harmony export */ });
|
|
10437
10437
|
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ui */ "./src/ui/TabFrame/ui/index.ts");
|
|
10438
|
+
/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./types */ "./src/ui/TabFrame/types/index.ts");
|
|
10439
|
+
|
|
10438
10440
|
|
|
10439
10441
|
|
|
10440
10442
|
|
|
@@ -10455,6 +10457,33 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10455
10457
|
|
|
10456
10458
|
|
|
10457
10459
|
|
|
10460
|
+
/***/ }),
|
|
10461
|
+
|
|
10462
|
+
/***/ "./src/ui/TabFrame/types/TabFrameTypes.ts":
|
|
10463
|
+
/*!************************************************!*\
|
|
10464
|
+
!*** ./src/ui/TabFrame/types/TabFrameTypes.ts ***!
|
|
10465
|
+
\************************************************/
|
|
10466
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10467
|
+
|
|
10468
|
+
"use strict";
|
|
10469
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10470
|
+
|
|
10471
|
+
|
|
10472
|
+
|
|
10473
|
+
/***/ }),
|
|
10474
|
+
|
|
10475
|
+
/***/ "./src/ui/TabFrame/types/index.ts":
|
|
10476
|
+
/*!****************************************!*\
|
|
10477
|
+
!*** ./src/ui/TabFrame/types/index.ts ***!
|
|
10478
|
+
\****************************************/
|
|
10479
|
+
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
10480
|
+
|
|
10481
|
+
"use strict";
|
|
10482
|
+
__webpack_require__.r(__webpack_exports__);
|
|
10483
|
+
/* harmony import */ var _TabFrameTypes__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./TabFrameTypes */ "./src/ui/TabFrame/types/TabFrameTypes.ts");
|
|
10484
|
+
|
|
10485
|
+
|
|
10486
|
+
|
|
10458
10487
|
/***/ }),
|
|
10459
10488
|
|
|
10460
10489
|
/***/ "./src/ui/TabFrame/ui/TabFrame.tsx":
|
|
@@ -10470,17 +10499,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10470
10499
|
/* harmony export */ });
|
|
10471
10500
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
|
10472
10501
|
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/ui */ "./src/ui/index.ts");
|
|
10473
|
-
/* harmony import */ var
|
|
10474
|
-
/* harmony import */ var
|
|
10502
|
+
/* harmony import */ var clsx__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! clsx */ "./node_modules/clsx/dist/clsx.mjs");
|
|
10503
|
+
/* harmony import */ var _styles__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../styles */ "./src/ui/TabFrame/styles/index.ts");
|
|
10475
10504
|
|
|
10476
10505
|
|
|
10477
10506
|
|
|
10478
10507
|
|
|
10479
|
-
function TabFrame({ width = 'fill', tabs = [] }) {
|
|
10480
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: (0,
|
|
10481
|
-
[
|
|
10482
|
-
[
|
|
10483
|
-
}), children: tabs.map((item, idx) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_1__.TabButtons, { ...item }, idx)) }));
|
|
10508
|
+
function TabFrame({ width = 'fill', tabs = [], additionStyles }) {
|
|
10509
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: (0,clsx__WEBPACK_IMPORTED_MODULE_2__["default"])(_styles__WEBPACK_IMPORTED_MODULE_3__.TabFrameStyle.tabFrame, {
|
|
10510
|
+
[_styles__WEBPACK_IMPORTED_MODULE_3__.TabFrameStyle.widthHug]: width === 'hug',
|
|
10511
|
+
[_styles__WEBPACK_IMPORTED_MODULE_3__.TabFrameStyle.widthFill]: width === 'fill',
|
|
10512
|
+
}, additionStyles), children: tabs.map((item, idx) => (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_ui__WEBPACK_IMPORTED_MODULE_1__.TabButtons, { ...item }, idx)) }));
|
|
10484
10513
|
}
|
|
10485
10514
|
|
|
10486
10515
|
|