Skip to content

Commit bba9253

Browse files
committed
Merge branch 'develop' into feat/design-library-full-pages
2 parents 7071ec5 + f6f4023 commit bba9253

File tree

6 files changed

+22
-11
lines changed

6 files changed

+22
-11
lines changed

src/components/block-styles-control/editor.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@
109109
overflow: hidden !important;
110110
min-height: 0 !important;
111111
max-height: 0 !important;
112+
opacity: 0 !important;
113+
margin: 0 !important;
114+
padding: 0 !important;
112115
}
113116

114117
.components-panel__body-description {

src/components/block-styles-control/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ const SaveUpdateButtons = props => {
340340
const ActionButtons = applyFilters( 'stackable.global-settings.global-block-styles.action-buttons', Fragment )
341341

342342
return ( <>
343-
<Flex style={ { marginTop: '24px' } }>
343+
<Flex style={ { marginTop: '24px', justifyContent: 'flex-end' } }>
344344
<ActionButtons { ...propsToPass } />
345345
<FlexItem style={ ! props.blockStyle || ! props.inOptions ? { marginLeft: 'auto' } : {} }>
346346
<Button

src/components/pro-control-button/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ProControlButton = props => {
2424
} )
2525

2626
return (
27-
<div className="components-base-control">
27+
<div className="components-base-control ugb-pro-control-button">
2828
<button className="ugb-pro-control-more-dots" onClick={ () => setIsOpen( v => ! v ) }>
2929
<div className="ugb-pro-control-more-dots__dot stk-pulsating-circle"></div>
3030
<div className="ugb-pro-control-more-dots__dot stk-pulsating-circle"></div>

src/components/pro-control/index.js

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,32 +120,34 @@ const LABELS = {
120120
'font-pairs': {
121121
title: __( 'Premium Typography', i18n ),
122122
description: <ul>
123-
<li>{ __( 'Access to 90+ curated font pairs', i18n ) }</li>
124-
<li>{ __( 'Create your own custom font pairs', i18n ) }</li>
123+
<li>{ __( 'Apply beautiful typography combinations instantly', i18n ) }</li>
124+
<li>{ __( 'Access to 90+ curated font pairs for professional designs', i18n ) }</li>
125+
<li>{ __( 'Create custom font combinations for your brand', i18n ) }</li>
125126
</ul>,
126127
},
127128
'color-schemes': {
128129
title: __( 'Premium Color Schemes', i18n ),
129130
description: <ul>
131+
<li>{ __( 'Define site-wide colors that apply to all blocks automatically', i18n ) }</li>
130132
<li>{ __( 'Access to 50+ curated color scheme presets', i18n ) }</li>
131-
<li>{ __( 'Create your own color schemes', i18n ) }</li>
132-
<li>{ __( 'Set default color schemes for blocks and sections', i18n ) }</li>
133-
<li>{ __( 'Streamline your design workflow', i18n ) }</li>
133+
<li>{ __( 'Create custom color schemes for backgrounds, containers, and buttons', i18n ) }</li>
134134
</ul>,
135135
},
136136
'preset-controls': {
137137
title: __( 'Premium Preset Controls', i18n ),
138138
description: <ul>
139139
<li>{ __( 'Customize your own presets like small, medium, large & x-large', i18n ) }</li>
140+
<li>{ __( 'Maintain structured, well-balanced designs effortlessly', i18n ) }</li>
140141
<li>{ __( 'Use Global Typography sizes as presets', i18n ) }</li>
141142
</ul>,
142143
},
143144
'global-block-styles': {
144145
title: __( 'Global Block Styles', i18n ),
145146
description: <ul>
146-
<li>{ __( 'Create and use your own block styles', i18n ) }</li>
147-
<li>{ __( 'Update your block styles', i18n ) }</li>
148-
<li>{ __( 'Organize your custom block styles', i18n ) }</li>
147+
<li>{ __( 'Design once, apply everywhere - no more copy-paste', i18n ) }</li>
148+
<li>{ __( 'Class-based styling for leaner, faster websites', i18n ) }</li>
149+
<li>{ __( 'Sync changes across all blocks instantly', i18n ) }</li>
150+
<li>{ __( 'Override styles while keeping them synced', i18n ) }</li>
149151
</ul>,
150152
},
151153
}

src/plugins/global-settings/color-schemes/editor.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
}
77
}
88

9+
.ugb-global-settings-color-picker + .ugb-pro-control-button {
10+
margin-bottom: 16px;
11+
}
12+
913
.stk-global-color-scheme__color-scheme-item.block-editor-panel-color-gradient-settings__dropdown {
1014
height: max-content;
1115
padding: 0 8px 0 0;

src/plugins/global-settings/color-schemes/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import ColorSchemePicker from './color-scheme-picker'
88
/**
99
* External dependencies
1010
*/
11-
import { i18n } from 'stackable'
11+
import { i18n, showProNotice } from 'stackable'
1212
import {
1313
PanelAdvancedSettings, HelpTooltip,
1414
AdvancedSelectControl, SectionSettings,
15+
ProControlButton,
1516
} from '~stackable/components'
1617
import { useBlockColorSchemes } from '~stackable/hooks'
1718

@@ -96,6 +97,7 @@ addFilter( 'stackable.global-settings.inspector', 'stackable/global-color-scheme
9697
setItemInEdit={ setItemInEdit }
9798
setDisplayHoverNotice={ setDisplayHoverNotice }
9899
/>
100+
{ ! itemInEdit && showProNotice && <ProControlButton type="color-schemes" /> }
99101
{ ! itemInEdit && <>
100102
<SectionSettings title={ __( 'Default Block Colors', i18n ) }>
101103
<AdvancedSelectControl

0 commit comments

Comments
 (0)