oolib 2.214.0 → 2.214.2

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.
@@ -11,7 +11,7 @@ export interface ProgressBarProps {
11
11
  * @component Renders a progress bar component with customizable text and styling.
12
12
  *
13
13
  * - The props object containing the following properties:
14
- * @prop {number} progress: The progress of the bar.
14
+ * @prop {number} progress: The progress of the bar as a percentage between 0-100.
15
15
  * @prop {string} text: The text to be displayed next to the progress bar.
16
16
  * @prop {React.ReactNode} children: The content to be rendered inside the progress bar.
17
17
  * @prop {boolean} isBlock: A boolean indicating whether the progress bar should be displayed as a block element. Defaults to true.
@@ -11,7 +11,7 @@ var styled_1 = require("../styled");
11
11
  * @component Renders a progress bar component with customizable text and styling.
12
12
  *
13
13
  * - The props object containing the following properties:
14
- * @prop {number} progress: The progress of the bar.
14
+ * @prop {number} progress: The progress of the bar as a percentage between 0-100.
15
15
  * @prop {string} text: The text to be displayed next to the progress bar.
16
16
  * @prop {React.ReactNode} children: The content to be rendered inside the progress bar.
17
17
  * @prop {boolean} isBlock: A boolean indicating whether the progress bar should be displayed as a block element. Defaults to true.
@@ -79,7 +79,7 @@ var ButtonStyledWrapper = function (_a) {
79
79
  : (M && 'M') || 'S'; // this size logic dont have design defination yet, default size is "S"
80
80
  var calcIconSize = function () {
81
81
  var thisSize = iconSize || size;
82
- return typeof thisSize === 'number' ? thisSize : (thisSize === 'S' && responsive_) ? 18 : (thisSize === 'S' && !responsive_) ? 16 : 20;
82
+ return typeof thisSize === 'number' ? thisSize : (thisSize === 'S' && responsive_) ? 18 : (thisSize === 'S' && !responsive_) ? 16 : 16;
83
83
  };
84
84
  var iconColor = !disabled ? _iconColor : colors_1.colors.grey40;
85
85
  var DisplayTextTypo = Typos[typo] || Typo2_1.UI_BODY_SEMIBOLD_SM_DF;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.214.0",
3
+ "version": "2.214.2",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",