@shotstack/shotstack-studio 2.0.0-beta.4 → 2.0.0-beta.5
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.ts +15 -18
- package/dist/schema/index.d.ts +15 -18
- package/dist/shotstack-studio.es.js +4646 -4432
- package/dist/shotstack-studio.umd.js +231 -254
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1589,7 +1589,8 @@ export declare class RichTextToolbar extends BaseToolbar {
|
|
|
1589
1589
|
private fontPicker;
|
|
1590
1590
|
private sizeInput;
|
|
1591
1591
|
private sizePopup;
|
|
1592
|
-
private
|
|
1592
|
+
private weightPopup;
|
|
1593
|
+
private weightPreview;
|
|
1593
1594
|
private spacingPopup;
|
|
1594
1595
|
private spacingPanel;
|
|
1595
1596
|
private anchorTopBtn;
|
|
@@ -1630,18 +1631,6 @@ export declare class RichTextToolbar extends BaseToolbar {
|
|
|
1630
1631
|
private fontColorPopup;
|
|
1631
1632
|
private fontColorPicker;
|
|
1632
1633
|
private colorDisplay;
|
|
1633
|
-
private shadowPopup;
|
|
1634
|
-
private shadowToggle;
|
|
1635
|
-
private shadowOffsetXSlider;
|
|
1636
|
-
private shadowOffsetXValue;
|
|
1637
|
-
private shadowOffsetYSlider;
|
|
1638
|
-
private shadowOffsetYValue;
|
|
1639
|
-
private shadowBlurSlider;
|
|
1640
|
-
private shadowBlurValue;
|
|
1641
|
-
private shadowColorInput;
|
|
1642
|
-
private shadowOpacitySlider;
|
|
1643
|
-
private shadowOpacityValue;
|
|
1644
|
-
private lastShadowConfig;
|
|
1645
1634
|
private animationPopup;
|
|
1646
1635
|
private animationDurationSlider;
|
|
1647
1636
|
private animationDurationValue;
|
|
@@ -1651,22 +1640,30 @@ export declare class RichTextToolbar extends BaseToolbar {
|
|
|
1651
1640
|
private transitionPanel;
|
|
1652
1641
|
private effectPopup;
|
|
1653
1642
|
private effectPanel;
|
|
1643
|
+
private stylePopup;
|
|
1644
|
+
private stylePanel;
|
|
1654
1645
|
private boundHandleClick;
|
|
1655
1646
|
constructor(edit: Edit, options?: RichTextToolbarOptions);
|
|
1656
1647
|
mount(parent: HTMLElement): void;
|
|
1657
1648
|
private handleClick;
|
|
1658
1649
|
private getCurrentAsset;
|
|
1659
1650
|
private updateSize;
|
|
1660
|
-
private
|
|
1651
|
+
private static readonly FONT_WEIGHTS;
|
|
1652
|
+
private static readonly CHECKMARK_SVG;
|
|
1653
|
+
/** Single source of truth for weight normalization - handles string, number, or object */
|
|
1654
|
+
private normalizeWeight;
|
|
1655
|
+
private getWeightName;
|
|
1656
|
+
private toggleWeightPopup;
|
|
1657
|
+
/** Build popup once at mount - uses event delegation (no per-item listeners) */
|
|
1658
|
+
private buildWeightPopup;
|
|
1659
|
+
/** Update active state without rebuilding DOM */
|
|
1660
|
+
private updateWeightPopupState;
|
|
1661
|
+
private setFontWeight;
|
|
1661
1662
|
private toggleSizePopup;
|
|
1662
1663
|
private buildSizePopup;
|
|
1663
1664
|
private applyManualSize;
|
|
1664
1665
|
private toggleSpacingPopup;
|
|
1665
|
-
private toggleBorderPopup;
|
|
1666
|
-
private toggleShadowPopup;
|
|
1667
1666
|
private toggleAnimationPopup;
|
|
1668
|
-
private toggleBackgroundPopup;
|
|
1669
|
-
private togglePaddingPopup;
|
|
1670
1667
|
private toggleFontColorPopup;
|
|
1671
1668
|
private toggleFontPopup;
|
|
1672
1669
|
private toggleTextEditPopup;
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1589,7 +1589,8 @@ export declare class RichTextToolbar extends BaseToolbar {
|
|
|
1589
1589
|
private fontPicker;
|
|
1590
1590
|
private sizeInput;
|
|
1591
1591
|
private sizePopup;
|
|
1592
|
-
private
|
|
1592
|
+
private weightPopup;
|
|
1593
|
+
private weightPreview;
|
|
1593
1594
|
private spacingPopup;
|
|
1594
1595
|
private spacingPanel;
|
|
1595
1596
|
private anchorTopBtn;
|
|
@@ -1630,18 +1631,6 @@ export declare class RichTextToolbar extends BaseToolbar {
|
|
|
1630
1631
|
private fontColorPopup;
|
|
1631
1632
|
private fontColorPicker;
|
|
1632
1633
|
private colorDisplay;
|
|
1633
|
-
private shadowPopup;
|
|
1634
|
-
private shadowToggle;
|
|
1635
|
-
private shadowOffsetXSlider;
|
|
1636
|
-
private shadowOffsetXValue;
|
|
1637
|
-
private shadowOffsetYSlider;
|
|
1638
|
-
private shadowOffsetYValue;
|
|
1639
|
-
private shadowBlurSlider;
|
|
1640
|
-
private shadowBlurValue;
|
|
1641
|
-
private shadowColorInput;
|
|
1642
|
-
private shadowOpacitySlider;
|
|
1643
|
-
private shadowOpacityValue;
|
|
1644
|
-
private lastShadowConfig;
|
|
1645
1634
|
private animationPopup;
|
|
1646
1635
|
private animationDurationSlider;
|
|
1647
1636
|
private animationDurationValue;
|
|
@@ -1651,22 +1640,30 @@ export declare class RichTextToolbar extends BaseToolbar {
|
|
|
1651
1640
|
private transitionPanel;
|
|
1652
1641
|
private effectPopup;
|
|
1653
1642
|
private effectPanel;
|
|
1643
|
+
private stylePopup;
|
|
1644
|
+
private stylePanel;
|
|
1654
1645
|
private boundHandleClick;
|
|
1655
1646
|
constructor(edit: Edit, options?: RichTextToolbarOptions);
|
|
1656
1647
|
mount(parent: HTMLElement): void;
|
|
1657
1648
|
private handleClick;
|
|
1658
1649
|
private getCurrentAsset;
|
|
1659
1650
|
private updateSize;
|
|
1660
|
-
private
|
|
1651
|
+
private static readonly FONT_WEIGHTS;
|
|
1652
|
+
private static readonly CHECKMARK_SVG;
|
|
1653
|
+
/** Single source of truth for weight normalization - handles string, number, or object */
|
|
1654
|
+
private normalizeWeight;
|
|
1655
|
+
private getWeightName;
|
|
1656
|
+
private toggleWeightPopup;
|
|
1657
|
+
/** Build popup once at mount - uses event delegation (no per-item listeners) */
|
|
1658
|
+
private buildWeightPopup;
|
|
1659
|
+
/** Update active state without rebuilding DOM */
|
|
1660
|
+
private updateWeightPopupState;
|
|
1661
|
+
private setFontWeight;
|
|
1661
1662
|
private toggleSizePopup;
|
|
1662
1663
|
private buildSizePopup;
|
|
1663
1664
|
private applyManualSize;
|
|
1664
1665
|
private toggleSpacingPopup;
|
|
1665
|
-
private toggleBorderPopup;
|
|
1666
|
-
private toggleShadowPopup;
|
|
1667
1666
|
private toggleAnimationPopup;
|
|
1668
|
-
private toggleBackgroundPopup;
|
|
1669
|
-
private togglePaddingPopup;
|
|
1670
1667
|
private toggleFontColorPopup;
|
|
1671
1668
|
private toggleFontPopup;
|
|
1672
1669
|
private toggleTextEditPopup;
|