@gravity-ui/page-constructor 1.16.1 → 1.16.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.16.2](https://github.com/gravity-ui/page-constructor/compare/v1.16.1...v1.16.2) (2023-02-16)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **HubspotForm:** required checkbox ([#154](https://github.com/gravity-ui/page-constructor/issues/154)) ([6c948d1](https://github.com/gravity-ui/page-constructor/commit/6c948d1a3511e16902e6808d83ac3f0ac14b6d9c))
9
+
3
10
  ## [1.16.1](https://github.com/gravity-ui/page-constructor/compare/v1.16.0...v1.16.1) (2023-02-14)
4
11
 
5
12
 
@@ -126,9 +126,9 @@ unpredictable css rules order in build */
126
126
  opacity: 0;
127
127
  flex-shrink: 0;
128
128
  }
129
- .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span,
130
- .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span,
131
- .pc-hubspot-form .hs-form-field .hs-form-radio-display span {
129
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:not(.hs-form-required),
130
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:not(.hs-form-required),
131
+ .pc-hubspot-form .hs-form-field .hs-form-radio-display span:not(.hs-form-required) {
132
132
  color: var(--yc-color-text-primary);
133
133
  font-size: var(--yc-text-body-2-font-size);
134
134
  line-height: 16px;
@@ -136,12 +136,17 @@ unpredictable css rules order in build */
136
136
  margin: 0;
137
137
  flex-grow: 1;
138
138
  }
139
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display .hs-form-required,
140
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display .hs-form-required,
141
+ .pc-hubspot-form .hs-form-field .hs-form-radio-display .hs-form-required {
142
+ top: 0;
143
+ }
139
144
  .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display,
140
145
  .pc-hubspot-form .hs-form-field .hs-form-checkbox-display {
141
146
  position: relative;
142
147
  }
143
- .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:before,
144
- .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:before {
148
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:not(.hs-form-required):before,
149
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:not(.hs-form-required):before {
145
150
  content: "";
146
151
  position: absolute;
147
152
  top: 0;
@@ -153,8 +158,8 @@ unpredictable css rules order in build */
153
158
  border: 1px solid var(--yc-color-line-generic-accent);
154
159
  transition: background-color 0.1s linear;
155
160
  }
156
- .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:after,
157
- .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:after {
161
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:not(.hs-form-required):after,
162
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:not(.hs-form-required):after {
158
163
  content: "";
159
164
  position: absolute;
160
165
  top: -10px;
@@ -126,9 +126,9 @@ unpredictable css rules order in build */
126
126
  opacity: 0;
127
127
  flex-shrink: 0;
128
128
  }
129
- .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span,
130
- .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span,
131
- .pc-hubspot-form .hs-form-field .hs-form-radio-display span {
129
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:not(.hs-form-required),
130
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:not(.hs-form-required),
131
+ .pc-hubspot-form .hs-form-field .hs-form-radio-display span:not(.hs-form-required) {
132
132
  color: var(--yc-color-text-primary);
133
133
  font-size: var(--yc-text-body-2-font-size);
134
134
  line-height: 16px;
@@ -136,12 +136,17 @@ unpredictable css rules order in build */
136
136
  margin: 0;
137
137
  flex-grow: 1;
138
138
  }
139
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display .hs-form-required,
140
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display .hs-form-required,
141
+ .pc-hubspot-form .hs-form-field .hs-form-radio-display .hs-form-required {
142
+ top: 0;
143
+ }
139
144
  .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display,
140
145
  .pc-hubspot-form .hs-form-field .hs-form-checkbox-display {
141
146
  position: relative;
142
147
  }
143
- .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:before,
144
- .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:before {
148
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:not(.hs-form-required):before,
149
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:not(.hs-form-required):before {
145
150
  content: "";
146
151
  position: absolute;
147
152
  top: 0;
@@ -153,8 +158,8 @@ unpredictable css rules order in build */
153
158
  border: 1px solid var(--yc-color-line-generic-accent);
154
159
  transition: background-color 0.1s linear;
155
160
  }
156
- .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:after,
157
- .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:after {
161
+ .pc-hubspot-form .hs-form-field .hs-form-booleancheckbox-display span:not(.hs-form-required):after,
162
+ .pc-hubspot-form .hs-form-field .hs-form-checkbox-display span:not(.hs-form-required):after {
158
163
  content: "";
159
164
  position: absolute;
160
165
  top: -10px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "repository": {