indicator-ui 0.0.55 → 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 +8 -8
- package/dist/index.js.map +1 -1
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
- 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 })] }));
|
|
@@ -10499,17 +10499,17 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10499
10499
|
/* harmony export */ });
|
|
10500
10500
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "./node_modules/react/jsx-runtime.js");
|
|
10501
10501
|
/* harmony import */ var _ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/ui */ "./src/ui/index.ts");
|
|
10502
|
-
/* harmony import */ var
|
|
10503
|
-
/* 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");
|
|
10504
10504
|
|
|
10505
10505
|
|
|
10506
10506
|
|
|
10507
10507
|
|
|
10508
|
-
function TabFrame({ width = 'fill', tabs = [] }) {
|
|
10509
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { className: (0,
|
|
10510
|
-
[
|
|
10511
|
-
[
|
|
10512
|
-
}), 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)) }));
|
|
10513
10513
|
}
|
|
10514
10514
|
|
|
10515
10515
|
|