@plesk/ui-library 3.46.2 → 3.46.3
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/cjs/components/CodeEditor/CodeEditor.js +3 -1
- package/cjs/components/SegmentedControl/ButtonGroupControl.js +15 -12
- package/cjs/index.js +1 -1
- package/dist/plesk-ui-library-rtl.css +1 -1
- package/dist/plesk-ui-library-rtl.css.map +1 -1
- package/dist/plesk-ui-library.css +1 -1
- package/dist/plesk-ui-library.css.map +1 -1
- package/dist/plesk-ui-library.js +22 -29
- package/dist/plesk-ui-library.js.map +1 -1
- package/dist/plesk-ui-library.min.js +3 -3
- package/dist/plesk-ui-library.min.js.map +1 -1
- package/esm/components/CodeEditor/CodeEditor.js +3 -1
- package/esm/components/SegmentedControl/ButtonGroupControl.js +15 -12
- package/esm/index.js +1 -1
- package/package.json +1 -1
- package/styleguide/build/bundle.12369e15.js +2 -0
- package/styleguide/index.html +2 -2
- package/styleguide/build/bundle.1a395777.js +0 -2
- /package/styleguide/build/{bundle.1a395777.js.LICENSE.txt → bundle.12369e15.js.LICENSE.txt} +0 -0
|
@@ -44,18 +44,21 @@ const ButtonGroupControl = ({
|
|
|
44
44
|
width: shouldApplyMonoWidth ? monoWidth : style.width,
|
|
45
45
|
...style
|
|
46
46
|
};
|
|
47
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
node
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
48
|
+
role: "listitem",
|
|
49
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
50
|
+
ref: node => {
|
|
51
|
+
index === 0 && (buttonsRef.current = []);
|
|
52
|
+
node && buttonsRef.current.push(node);
|
|
53
|
+
},
|
|
54
|
+
selected: selectedValues.includes(value),
|
|
55
|
+
ghost: ghost,
|
|
56
|
+
onClick: () => onClick(value),
|
|
57
|
+
...buttonProps,
|
|
58
|
+
className: (0, _classnames.default)(buttonProps.className, `${baseClassName}__button`),
|
|
59
|
+
style: buttonStyle,
|
|
60
|
+
children: title
|
|
61
|
+
})
|
|
59
62
|
}, `${value}`);
|
|
60
63
|
})
|
|
61
64
|
});
|
package/cjs/index.js
CHANGED
|
@@ -46,5 +46,5 @@ Object.keys(_components).forEach(function (key) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
// Copyright 1999-2025. WebPros International GmbH. All rights reserved.
|
|
49
|
-
const version = exports.version = "3.46.
|
|
49
|
+
const version = exports.version = "3.46.3";
|
|
50
50
|
(0, _svg4everybody.default)();
|