Skip to content

Commit a90f205

Browse files
committed
Update from vk-blocks-pro
1 parent d63527e commit a90f205

33 files changed

+2385
-392
lines changed

build/block-build.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/spacer/style.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"vektor-inc/font-awesome-versions": "^0.1.1",
1717
"tgmpa/tgm-plugin-activation": "dev-develop",
1818
"yahnis-elsts/plugin-update-checker": "*",
19-
"vektor-inc/vk-color-palette-manager": "^0.3.0"
19+
"vektor-inc/vk-color-palette-manager": "^0.3.0",
20+
"vektor-inc/vk-breadcrumb": "^0.1.0"
2021
},
2122
"require-dev": {
2223
"squizlabs/php_codesniffer": "*",

composer.lock

+78-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@ gulp.task('text-domain', (done) => {
3333
});
3434

3535
gulp.task('helper-js', (done) => {
36-
gulp.src('src/blocks/faq2/enque-front.js')
36+
gulp.src('src/blocks/faq2/view.js')
3737
.pipe(uglify())
3838
.pipe(rename('vk-faq2.min.js'))
3939
.pipe(gulp.dest('./build/'));
4040
done();
4141
});
4242

4343
gulp.task('helper-js-pro', (done) => {
44-
gulp.src('src/blocks/_pro/accordion/enque-front.js')
44+
gulp.src('src/blocks/_pro/accordion/view.js')
4545
.pipe(uglify())
4646
.pipe(rename('vk-accordion.min.js'))
4747
.pipe(gulp.dest('./build/'));
48-
gulp.src('src/blocks/_pro/animation/enque-front.js')
48+
gulp.src('src/blocks/_pro/animation/view.js')
4949
.pipe(uglify())
5050
.pipe(rename('vk-animation.min.js'))
5151
.pipe(gulp.dest('./build/'));
52-
gulp.src('src/blocks/_pro/slider/enque-front.js')
52+
gulp.src('src/blocks/_pro/slider/view.js')
5353
.pipe(uglify())
5454
.pipe(rename('vk-slider.min.js'))
5555
.pipe(gulp.dest('./build/'));

inc/vk-blocks/build/blocks/spacer/index.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function vk_blocks_get_spacer_size_style_all( $options ) {
135135

136136
if ( vk_blocks_is_size_print( $options, 'mobile' ) ) {
137137
$dynamic_css .= '
138-
@media (max-width: 576px) {
138+
@media (max-width: 575.98px) {
139139
:root{';
140140
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'mobile', $unit ) );
141141
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'mobile', $unit ) );
@@ -146,7 +146,7 @@ function vk_blocks_get_spacer_size_style_all( $options ) {
146146
}
147147
if ( vk_blocks_is_size_print( $options, 'tablet' ) ) {
148148
$dynamic_css .= '
149-
@media (min-width: 577px) and (max-width: 768px) {
149+
@media (min-width: 576px) and (max-width: 991.98px) {
150150
:root{';
151151
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'tablet', $unit ) );
152152
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'tablet', $unit ) );
@@ -157,7 +157,7 @@ function vk_blocks_get_spacer_size_style_all( $options ) {
157157
}
158158
if ( vk_blocks_is_size_print( $options, 'pc' ) ) {
159159
$dynamic_css .= '
160-
@media (min-width: 769px) {
160+
@media (min-width: 992px) {
161161
:root{';
162162
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'sm', 'pc', $unit ) );
163163
$dynamic_css .= esc_attr( vk_blocks_get_spacer_size_style( $options, 'md', 'pc', $unit ) );

inc/vk-blocks/class-vk-blocks-block-loader.php

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ class VK_Blocks_Block_Loader {
4040
array( 'name' => 'accordion-target', 'is_pro' => true ),
4141
array( 'name' => 'accordion-trigger', 'is_pro' => true ),
4242
array( 'name' => 'animation', 'is_pro' => true ),
43+
array( 'name' => 'breadcrumb', 'is_pro' => true ),
4344
array( 'name' => 'button-outer', 'is_pro' => true ),
4445
array( 'name' => 'card', 'is_pro' => true ),
4546
array( 'name' => 'card-item', 'is_pro' => true ),
433 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)