@elementor/editor-controls 4.0.0-533 → 4.0.0-535
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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +29 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -20
- package/dist/index.mjs.map +1 -1
- package/package.json +15 -15
- package/src/components/control-toggle-button-group.tsx +33 -23
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2371,28 +2371,37 @@ var ToggleButtonGroupUi = React51.forwardRef(
|
|
|
2371
2371
|
width: `100%`
|
|
2372
2372
|
}
|
|
2373
2373
|
},
|
|
2374
|
-
fixedItems.map(
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
/* @__PURE__ */ React51.createElement(
|
|
2384
|
-
|
|
2374
|
+
fixedItems.map(
|
|
2375
|
+
({
|
|
2376
|
+
label,
|
|
2377
|
+
value: buttonValue,
|
|
2378
|
+
renderContent: Content3,
|
|
2379
|
+
showTooltip,
|
|
2380
|
+
disabled: optionDisabled = false
|
|
2381
|
+
}) => {
|
|
2382
|
+
const isPlaceholder = placeholderArray.length > 0 && placeholderArray.includes(buttonValue) && (shouldShowExclusivePlaceholder || shouldShowNonExclusivePlaceholder);
|
|
2383
|
+
return /* @__PURE__ */ React51.createElement(
|
|
2384
|
+
ConditionalTooltip,
|
|
2385
2385
|
{
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
fullWidth,
|
|
2390
|
-
isPlaceholder
|
|
2386
|
+
key: buttonValue,
|
|
2387
|
+
label,
|
|
2388
|
+
showTooltip: showTooltip || false
|
|
2391
2389
|
},
|
|
2392
|
-
/* @__PURE__ */ React51.createElement(
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2390
|
+
/* @__PURE__ */ React51.createElement(
|
|
2391
|
+
StyledToggleButton,
|
|
2392
|
+
{
|
|
2393
|
+
value: buttonValue,
|
|
2394
|
+
"aria-label": label,
|
|
2395
|
+
size,
|
|
2396
|
+
fullWidth,
|
|
2397
|
+
isPlaceholder,
|
|
2398
|
+
disabled: optionDisabled
|
|
2399
|
+
},
|
|
2400
|
+
/* @__PURE__ */ React51.createElement(Content3, { size })
|
|
2401
|
+
)
|
|
2402
|
+
);
|
|
2403
|
+
}
|
|
2404
|
+
),
|
|
2396
2405
|
menuItems.length && exclusive && /* @__PURE__ */ React51.createElement(
|
|
2397
2406
|
SplitButtonGroup,
|
|
2398
2407
|
{
|