@quidgest/ui 0.14.16 → 0.14.17

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.
@@ -33,6 +33,7 @@
33
33
  "QSelect",
34
34
  "QSkeletonLoader",
35
35
  "QSpinnerLoader",
36
+ "QTextArea",
36
37
  "QTextField",
37
38
  "QThemeProvider",
38
39
  "QTooltip"
package/dist/ui.css CHANGED
@@ -3228,6 +3228,75 @@ body *::-webkit-scrollbar-track {
3228
3228
  transform: rotate(1turn);
3229
3229
  }
3230
3230
  }
3231
+ .q-text-area {
3232
+ /* Container styles */
3233
+ display: flex;
3234
+ flex-direction: column;
3235
+ }
3236
+ .q-text-area__input {
3237
+ width: 100%;
3238
+ line-height: inherit;
3239
+ outline: none;
3240
+ color: inherit;
3241
+ background-color: transparent;
3242
+ padding: 0;
3243
+ min-height: 2.5rem;
3244
+ resize: vertical;
3245
+ font-family: inherit;
3246
+ font-size: inherit;
3247
+ border: 0;
3248
+ /* Resize controls */
3249
+ }
3250
+ .q-text-area__input::-moz-placeholder {
3251
+ font-style: italic;
3252
+ color: var(--q-theme-neutral);
3253
+ }
3254
+ .q-text-area__input::placeholder {
3255
+ font-style: italic;
3256
+ color: var(--q-theme-neutral);
3257
+ }
3258
+ .q-text-area__input:disabled {
3259
+ -webkit-user-select: none;
3260
+ -moz-user-select: none;
3261
+ user-select: none;
3262
+ }
3263
+ .q-text-area__input:hover {
3264
+ cursor: inherit;
3265
+ }
3266
+ .q-text-area__input[resize=none] {
3267
+ resize: none;
3268
+ }
3269
+ .q-text-area__input[resize=horizontal] {
3270
+ resize: horizontal;
3271
+ }
3272
+ .q-text-area__input[resize=vertical] {
3273
+ resize: vertical;
3274
+ }
3275
+ .q-text-area__input[resize=both] {
3276
+ resize: both;
3277
+ }
3278
+ .q-text-area .q-text-area__input {
3279
+ flex: 1;
3280
+ min-width: 0; /* Prevent flex item from overflowing */
3281
+ }
3282
+
3283
+ .q-field--mini > .q-field__control:has(.q-text-area__input[resize=both],
3284
+ .q-text-area__input[resize=horizontal]),
3285
+ .q-field--small > .q-field__control:has(.q-text-area__input[resize=both],
3286
+ .q-text-area__input[resize=horizontal]),
3287
+ .q-field--medium > .q-field__control:has(.q-text-area__input[resize=both],
3288
+ .q-text-area__input[resize=horizontal]),
3289
+ .q-field--large > .q-field__control:has(.q-text-area__input[resize=both],
3290
+ .q-text-area__input[resize=horizontal]),
3291
+ .q-field--xlarge > .q-field__control:has(.q-text-area__input[resize=both],
3292
+ .q-text-area__input[resize=horizontal]),
3293
+ .q-field--xxlarge > .q-field__control:has(.q-text-area__input[resize=both],
3294
+ .q-text-area__input[resize=horizontal]),
3295
+ .q-field--block > .q-field__control:has(.q-text-area__input[resize=both],
3296
+ .q-text-area__input[resize=horizontal]) {
3297
+ width: unset;
3298
+ }
3299
+
3231
3300
  .q-text-field__input {
3232
3301
  width: 100%;
3233
3302
  line-height: inherit;