indicator-ui 0.0.93 → 0.0.94
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 +43 -43
- package/dist/index.css.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/scss/ui/MicroButton/styles/mixins/micro-button.scss +20 -20
- package/dist/scss/ui/MicroButton/styles/mixins/properties/color-fill.scss +1 -1
- package/dist/scss/ui/MicroButton/styles/mixins/properties/gray-fill.scss +1 -1
- package/dist/scss/ui/MicroButton/styles/mixins/properties/light.scss +1 -0
- package/dist/scss/ui/MicroButton/styles/mixins/properties/red-fill.scss +1 -1
- package/dist/types/src/ui/FormBuilder/lib/formBuilder.d.ts +1 -1
- package/dist/types/src/ui/SlideTransition/types/AnimateDropTypes.d.ts +1 -0
- package/dist/types/src/ui/SlideTransition/ui/SlideTransition.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3258,7 +3258,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3258
3258
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3259
3259
|
/* harmony export */ });
|
|
3260
3260
|
// extracted by mini-css-extract-plugin
|
|
3261
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"button":"MicroButton-module__button___QMj95","
|
|
3261
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({"button":"MicroButton-module__button___QMj95","size14":"MicroButton-module__size14___qZD63","size16":"MicroButton-module__size16___WFrFl","size20":"MicroButton-module__size20___ZVrVg","size24":"MicroButton-module__size24___JOi7y","size28":"MicroButton-module__size28___KCc7P","light":"MicroButton-module__light___pwfS3","dark":"MicroButton-module__dark___YCw8u","gray":"MicroButton-module__gray___pwAy2","color":"MicroButton-module__color___RO79e","colorHover":"MicroButton-module__colorHover___Rvxx7","redHover":"MicroButton-module__redHover____WGXq","colorFill":"MicroButton-module__colorFill___yLr74","grayFill":"MicroButton-module__grayFill___Rr1s4","redFill":"MicroButton-module__redFill___ANZAX","blueLight":"MicroButton-module__blueLight___zyiu5"});
|
|
3262
3262
|
|
|
3263
3263
|
/***/ }),
|
|
3264
3264
|
|
|
@@ -10555,7 +10555,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
10555
10555
|
* Учтите, что анимации **"снизу"** сужают компонент, поэтому он будет деформироваться.
|
|
10556
10556
|
* При высокой (автор проводил тесты на 300ms) скорости анимации это незаметно (если вы не Флеш).
|
|
10557
10557
|
* */
|
|
10558
|
-
function SlideTransition({ children, animation, additionStyles, animationOptions = { duration: 300, easing: 'ease-in-out', fill: 'forwards' } }) {
|
|
10558
|
+
function SlideTransition({ children, animation, additionStyles, additionStylesContent, animationOptions = { duration: 300, easing: 'ease-in-out', fill: 'forwards' } }) {
|
|
10559
10559
|
const mainRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
|
|
10560
10560
|
const animateDropWrapperRef = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(null);
|
|
10561
10561
|
const lastClientHeight = (0,react__WEBPACK_IMPORTED_MODULE_1__.useRef)(undefined);
|
|
@@ -10655,7 +10655,7 @@ function SlideTransition({ children, animation, additionStyles, animationOptions
|
|
|
10655
10655
|
break;
|
|
10656
10656
|
}
|
|
10657
10657
|
}, [animation]);
|
|
10658
|
-
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { ref: animateDropWrapperRef, className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.SlideTransitionStyle.animateDrop, additionStyles || []), children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { ref: mainRef, className: _styles__WEBPACK_IMPORTED_MODULE_2__.SlideTransitionStyle.main, children: children }) }));
|
|
10658
|
+
return ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { ref: animateDropWrapperRef, className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.SlideTransitionStyle.animateDrop, additionStyles || []), children: (0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div", { ref: mainRef, className: (0,clsx__WEBPACK_IMPORTED_MODULE_3__["default"])(_styles__WEBPACK_IMPORTED_MODULE_2__.SlideTransitionStyle.main, additionStylesContent || []), children: children }) }));
|
|
10659
10659
|
}
|
|
10660
10660
|
|
|
10661
10661
|
|