voiptime-components 1.21.83 → 1.21.85

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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.21.83",
7
+ "version": "1.21.85",
8
8
  "type": "module",
9
9
  "main": "dist/index.umd.js",
10
10
  "module": "dist/index.es.js",
@@ -152,7 +152,7 @@
152
152
  align-items: center;
153
153
  padding: 0 var(--vt-padding-lg) var(--vt-padding-base);
154
154
 
155
- label {
155
+ > label {
156
156
  width: 250px;
157
157
  font-size: var(--font-size-sm);
158
158
  font-weight: var(--font-weight-regular);
@@ -211,4 +211,34 @@
211
211
  gap: var(--vt-gap-base);
212
212
  min-height: 0;
213
213
  overflow: hidden;
214
+ }
215
+
216
+ // ── Form primitives ───────────────────────────────────────────────────────────
217
+
218
+ // Секція з floating title (fieldset-паттерн)
219
+ .vt-fieldset {
220
+ position: relative;
221
+ border: 1px solid var(--color-gray-5);
222
+ border-radius: var(--radius-main);
223
+ padding: var(--vt-padding-lg) var(--vt-padding-base) var(--vt-padding-base);
224
+ margin-bottom: var(--vt-gap-base);
225
+
226
+ &__title {
227
+ position: absolute;
228
+ top: -10px;
229
+ left: 40px;
230
+ padding: 0 var(--vt-padding-sm);
231
+ background: #fff;
232
+ font-weight: 500;
233
+ color: var(--color-primary-main);
234
+ font-size: var(--font-size-sm);
235
+ }
236
+
237
+ &--invalid {
238
+ border-color: var(--color-danger-main);
239
+
240
+ .vt-fieldset__title {
241
+ color: var(--color-danger-main);
242
+ }
243
+ }
214
244
  }