Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

## ChangeLog

## 3.5.6.1
* FIX: Compatibility with jetBooking 4.0.0

## 3.5.6
* ADD: Bricks builder ajax popup compatibility
* ADD: Added aria-label to hidden input in advanced choices block for better accessibility
Expand Down
2 changes: 1 addition & 1 deletion assets/build/editor/form.builder.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-components', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins'), 'version' => '04c25c7639869450381a');
<?php return array('dependencies' => array('react', 'wp-components', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins'), 'version' => 'eeb2550dc0a099d1a88e');
2 changes: 1 addition & 1 deletion assets/build/editor/form.builder.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/build/editor/package.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '441a2a59f6bc265dd39f');
<?php return array('dependencies' => array('react', 'wp-api-fetch', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '918e94a4652ca83bd03d');
2 changes: 1 addition & 1 deletion assets/build/editor/package.js

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions assets/src/editor/editor-styles/components/builder-blocks.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ body.post-type-jet-form-builder {
margin-block-start: 0;
}

.jet-form-builder__field-preview > .components-base-control__field {
label,
input,
textarea,
select {
border-color: var(--wp-components-color-gray-600, #949494);
border-radius: inherit;
border-style: solid;
border-width: 1px;
}
}

.block-editor-block-list__block.wp-block[data-type*="jet-forms/"] {
padding: 10px 15px !important;
box-shadow: 0 0 0 1px #e0e0e0;
Expand All @@ -37,6 +49,9 @@ body.post-type-jet-form-builder {
padding-top: 5px;
}
.jet-form-builder__field-preview {
.components-input-control__backdrop {
display: none;
}
label,
input,
textarea,
Expand Down
6 changes: 6 additions & 0 deletions assets/src/package/blocks/components/FieldWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ function FieldWrapper( props ) {
wrapClasses.push( 'jet-form-builder-row__flex' );
}

if ( attributes?.crocoblock_styles?._uniqueClassName ) {
wrapClasses.push(
attributes.crocoblock_styles._uniqueClassName,
);
}

return (
<BaseControl
key={ uniqKey( 'placeHolder_block' ) }
Expand Down
40 changes: 20 additions & 20 deletions compatibility/bricks/widgets/form.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public function controls_label_style() {
'label_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-label-bgc' ) ),
)
Expand Down Expand Up @@ -405,7 +405,7 @@ public function controls_description_style() {
'description_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-desc-bgc' ) ),
)
Expand Down Expand Up @@ -505,7 +505,7 @@ public function controls_input_style() {
'input_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array(
array(
Expand Down Expand Up @@ -750,7 +750,7 @@ public function controls_checkradio_style() {
'checkradio_fields_box_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-checkradio-input-bgc' ) ),
)
Expand All @@ -769,7 +769,7 @@ public function controls_checkradio_style() {
'checkradio_fields_box_checked_bg',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-checkradio-input-checked-bgc' ) ),
)
Expand Down Expand Up @@ -898,7 +898,7 @@ public function controls_calc_fields_style() {
'calc_fields_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-calc-bgc' ) ),
)
Expand Down Expand Up @@ -1196,7 +1196,7 @@ public function controls_heading_style() {
'heading_label_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-heading-bgc' ) ),
)
Expand Down Expand Up @@ -1275,7 +1275,7 @@ public function controls_heading_style() {
'heading_desc_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-heading-desc-bgc' ) ),
)
Expand Down Expand Up @@ -1417,7 +1417,7 @@ public function controls_repeater_style() {
'booking_form_repeater_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array(
array(
Expand Down Expand Up @@ -1524,7 +1524,7 @@ public function controls_repeater_style() {
'booking_form_repeater_rem_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-repeater-rem-button-bgc' ) ),
)
Expand Down Expand Up @@ -1612,7 +1612,7 @@ public function controls_conditional_style() {
'conditional_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-conditional-bgc' ) ),
)
Expand Down Expand Up @@ -1732,7 +1732,7 @@ public function controls_submit_style() {
'booking_form_submit_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array(
array(
Expand Down Expand Up @@ -1927,7 +1927,7 @@ public function controls_form_break_buttons_style() {
'form_break_button_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array(
array(
Expand Down Expand Up @@ -2038,7 +2038,7 @@ public function controls_form_break_message_style() {
'form_break_message_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-break-message-bgc' ) ),
)
Expand Down Expand Up @@ -2111,7 +2111,7 @@ public function controls_form_progress_wrap_style() {
'jet_fb_progress_wrapper_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-progress-wrapper-bgc' ) ),
)
Expand Down Expand Up @@ -2209,7 +2209,7 @@ public function controls_form_progress_pages_style() {
'jet_fb_progress_pages_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-progress-default-page-bgc' ) ),
)
Expand Down Expand Up @@ -2326,7 +2326,7 @@ public function controls_form_progress_pages_style() {
'jet_fb_progress_passed_page_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-progress-passed-page-bgc' ) ),
)
Expand Down Expand Up @@ -2413,7 +2413,7 @@ public function controls_form_progress_pages_style() {
'jet_fb_progress_active_page_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-progress-active-page-bgc' ) ),
)
Expand Down Expand Up @@ -2561,7 +2561,7 @@ public function controls_message_style() {
'message_success_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-message-success-bgc' ) ),
)
Expand Down Expand Up @@ -2610,7 +2610,7 @@ public function controls_message_style() {
'message_error_bg_color',
array(
'tab' => 'style',
'label' => esc_html__( 'Background color', 'jet-form-builder' ),
'label' => esc_html__( 'Background', 'jet-form-builder' ),
'type' => 'color',
'css' => array( array( 'property' => '--jfb-message-error-bgc' ) ),
)
Expand Down
Loading