@awell-health/ui-library 0.1.35 → 0.1.38

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/dist/index.css CHANGED
@@ -4232,6 +4232,7 @@ html {
4232
4232
  position: relative;
4233
4233
  transition: all 0.25s ease-in;
4234
4234
  margin-top: 0;
4235
+ margin-top: var(--awell-spacing-8);
4235
4236
  /* min / max labels at the edges */
4236
4237
  }
4237
4238
  @media (min-width: 640px) {
@@ -4239,16 +4240,28 @@ html {
4239
4240
  --awell-thick-width: 2px;
4240
4241
  }
4241
4242
  }
4242
- .awell__rangeInput_awell_range_input_wrapper.awell__rangeInput_with_tooltip {
4243
- margin-top: var(--awell-spacing-8);
4243
+ .awell__rangeInput_awell_range_input_wrapper .awell__rangeInput_tooltip_touched {
4244
+ display: block;
4245
+ position: absolute;
4246
+ text-align: center;
4247
+ background-color: var(--awell-secondary-color);
4248
+ color: var(--awell-secondary-text-color);
4249
+ padding: var(--awell-spacing-1) var(--awell-spacing-2);
4250
+ font-size: var(--awell-font-size-xs);
4251
+ border-radius: var(--awell-spacing-2);
4252
+ top: -28px;
4253
+ left: 50%;
4254
+ transform: translateX(-50%);
4255
+ }
4256
+ @media (min-width: 640px) {
4257
+ .awell__rangeInput_awell_range_input_wrapper .awell__rangeInput_tooltip_touched {
4258
+ top: -32px;
4259
+ font-size: var(--awell-font-size-base);
4260
+ }
4244
4261
  }
4245
4262
  .awell__rangeInput_awell_range_input_wrapper.awell__rangeInput_with_marks {
4246
4263
  --awell-thick-width: 1px;
4247
- --awell-ticks: linear-gradient(
4248
- to right,
4249
- var(--awell-thick-color) var(--awell-thick-width),
4250
- transparent 1px
4251
- )
4264
+ --awell-ticks: linear-gradient(to right, var(--awell-thick-color) var(--awell-thick-width), transparent 1px)
4252
4265
  repeat-x;
4253
4266
  background: silver;
4254
4267
  background: var(--awell-ticks);
@@ -4322,6 +4335,7 @@ html {
4322
4335
  margin: 1.3px 0;
4323
4336
  background-color: transparent;
4324
4337
  appearance: none;
4338
+ position: relative;
4325
4339
  /* TODO: Use one of the selectors from https://stackoverflow.com/a/20541859/7077589 and figure out
4326
4340
  how to remove the virtical space around the range input in IE */
4327
4341
  }
@@ -4329,6 +4343,7 @@ html {
4329
4343
  outline: none;
4330
4344
  }
4331
4345
  .awell__rangeInput_awell_range_input_wrapper .awell__rangeInput_awell_range_input::-webkit-slider-runnable-track {
4346
+ position: relative;
4332
4347
  background: var(--awell-range-slider-background-color);
4333
4348
  border: 0;
4334
4349
  border-radius: 25px;
@@ -4363,6 +4378,7 @@ html {
4363
4378
  cursor: pointer;
4364
4379
  }
4365
4380
  .awell__rangeInput_awell_range_input_wrapper .awell__rangeInput_awell_range_input::-ms-track {
4381
+ position: relative;
4366
4382
  background: transparent;
4367
4383
  border-color: transparent;
4368
4384
  border-width: 2.2px 0;
@@ -4424,6 +4440,30 @@ html {
4424
4440
  font-size: var(--awell-font-size-base);
4425
4441
  }
4426
4442
  }
4443
+
4444
+ .awell__rangeInput_awell_range_input.awell__rangeInput_hideThumb::-webkit-slider-thumb {
4445
+ visibility: hidden;
4446
+ }
4447
+
4448
+ .awell__rangeInput_awell_range_input.awell__rangeInput_hideThumb::-moz-range-thumb {
4449
+ visibility: hidden;
4450
+ }
4451
+
4452
+ .awell__rangeInput_awell_range_input.awell__rangeInput_hideThumb::-ms-thumb {
4453
+ visibility: hidden;
4454
+ }
4455
+
4456
+ .awell__rangeInput_awell_range_input.awell__rangeInput_showThumb::-webkit-slider-thumb {
4457
+ visibility: visible;
4458
+ }
4459
+
4460
+ .awell__rangeInput_awell_range_input.awell__rangeInput_showThumb::-moz-range-thumb {
4461
+ visibility: visible;
4462
+ }
4463
+
4464
+ .awell__rangeInput_awell_range_input.awell__rangeInput_showThumb::-ms-thumb {
4465
+ visibility: visible;
4466
+ }
4427
4467
  @import 'https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap';
4428
4468
  :root {
4429
4469
  --awell-accent100: #fdb833;
@@ -5479,6 +5519,9 @@ html {
5479
5519
  height: var(--awell-font-size-base);
5480
5520
  margin-top: var(--awell-spacing-4);
5481
5521
  }
5522
+ .awell__question_awell_question .awell__question_error.awell__question_slider_error {
5523
+ margin-top: var(--awell-spacing-12);
5524
+ }
5482
5525
  .awell__phoneInputField_awell_input_field_wrapper {
5483
5526
  --awell-focus-ring-color: var(--awell-accent-ring-color-inputs);
5484
5527
  --awell-focus-ring-offset-width: 0px;