@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.mjs CHANGED
@@ -2303,28 +2303,37 @@ var ToggleButtonGroupUi = React51.forwardRef(
2303
2303
  width: `100%`
2304
2304
  }
2305
2305
  },
2306
- fixedItems.map(({ label, value: buttonValue, renderContent: Content3, showTooltip }) => {
2307
- const isPlaceholder = placeholderArray.length > 0 && placeholderArray.includes(buttonValue) && (shouldShowExclusivePlaceholder || shouldShowNonExclusivePlaceholder);
2308
- return /* @__PURE__ */ React51.createElement(
2309
- ConditionalTooltip,
2310
- {
2311
- key: buttonValue,
2312
- label,
2313
- showTooltip: showTooltip || false
2314
- },
2315
- /* @__PURE__ */ React51.createElement(
2316
- StyledToggleButton,
2306
+ fixedItems.map(
2307
+ ({
2308
+ label,
2309
+ value: buttonValue,
2310
+ renderContent: Content3,
2311
+ showTooltip,
2312
+ disabled: optionDisabled = false
2313
+ }) => {
2314
+ const isPlaceholder = placeholderArray.length > 0 && placeholderArray.includes(buttonValue) && (shouldShowExclusivePlaceholder || shouldShowNonExclusivePlaceholder);
2315
+ return /* @__PURE__ */ React51.createElement(
2316
+ ConditionalTooltip,
2317
2317
  {
2318
- value: buttonValue,
2319
- "aria-label": label,
2320
- size,
2321
- fullWidth,
2322
- isPlaceholder
2318
+ key: buttonValue,
2319
+ label,
2320
+ showTooltip: showTooltip || false
2323
2321
  },
2324
- /* @__PURE__ */ React51.createElement(Content3, { size })
2325
- )
2326
- );
2327
- }),
2322
+ /* @__PURE__ */ React51.createElement(
2323
+ StyledToggleButton,
2324
+ {
2325
+ value: buttonValue,
2326
+ "aria-label": label,
2327
+ size,
2328
+ fullWidth,
2329
+ isPlaceholder,
2330
+ disabled: optionDisabled
2331
+ },
2332
+ /* @__PURE__ */ React51.createElement(Content3, { size })
2333
+ )
2334
+ );
2335
+ }
2336
+ ),
2328
2337
  menuItems.length && exclusive && /* @__PURE__ */ React51.createElement(
2329
2338
  SplitButtonGroup,
2330
2339
  {