@awell-health/ui-library 0.1.61 → 0.1.62

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
@@ -1167,7 +1167,7 @@ html {
1167
1167
  }
1168
1168
  .awell__questionLabel_label {
1169
1169
  margin-bottom: var(--awell-spacing-1\.5);
1170
- font-size: var(--awell-font-size-sm);
1170
+ font-size: var(--awell-font-size-base);
1171
1171
  line-height: var(--awell-leading-normal);
1172
1172
  font-weight: var(--awell-font-medium);
1173
1173
  color: rgb(55, 65, 81);
@@ -1176,7 +1176,7 @@ html {
1176
1176
  }
1177
1177
  @media (min-width: 640px) {
1178
1178
  .awell__questionLabel_label {
1179
- font-size: var(--awell-font-size-base);
1179
+ font-size: var(--awell-font-size-lg);
1180
1180
  line-height: var(--awell-leading-relaxed);
1181
1181
  }
1182
1182
  }
package/dist/index.js CHANGED
@@ -33884,9 +33884,14 @@ Check the top-level render call using <` + t + ">.");
33884
33884
  }
33885
33885
  }, [internalValue, is_value_tooltip_on, max, min, touched]);
33886
33886
  return jsxRuntime.exports.jsxs("div", { children: [jsxRuntime.exports.jsx(QuestionLabel, { htmlFor: id, label: label, mandatory: mandatory, id: "".concat(id, "-label") }), jsxRuntime.exports.jsxs("div", __assign({ className: classes$i.input_container }, { children: [jsxRuntime.exports.jsx("div", __assign({ className: "".concat(classes$i.touch_tooltip_wrapper, " ").concat(is_value_tooltip_on ? classes$i.with_value_tooltip : '') }, { children: renderTouchTooltip() })), jsxRuntime.exports.jsxs("div", __assign({ className: "".concat(classes$i.awell_range_input_wrapper, " ").concat(display_marks ? classes$i.with_marks : ''), style: style }, { children: [is_value_tooltip_on &&
33887
- renderValueTooltip(internalValue, tooltipPosition.left, tooltipPosition.top, touched), jsxRuntime.exports.jsx("input", __assign({}, props, { "data-testid": id, type: "range", id: "awell__slider_input", min: min, max: max, step: step_value, className: "".concat(classes$i.awell_range_input, " ").concat(touched ? classes$i.showThumb : classes$i.hideThumb), onChange: handleValueChange, onFocus: function () {
33888
- setTouched(true);
33889
- onTouched(true);
33887
+ renderValueTooltip(internalValue, tooltipPosition.left, tooltipPosition.top, touched), jsxRuntime.exports.jsx("input", __assign({}, props, { "data-testid": id, type: "range", id: "awell__slider_input", min: min, max: max, step: step_value, className: "".concat(classes$i.awell_range_input, " ").concat(touched ? classes$i.showThumb : classes$i.hideThumb), onChange: handleValueChange, onFocus: function (e) {
33888
+ if (!touched) {
33889
+ handleValueChange(e);
33890
+ } else
33891
+ {
33892
+ setTouched(true);
33893
+ onTouched(true);
33894
+ }
33890
33895
  }, "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": props.value || min, "aria-labelledby": "".concat(id, "-label") }))] })), jsxRuntime.exports.jsxs("div", __assign({ className: classes$i.min_max_wrapper }, { children: [show_min_max_values && jsxRuntime.exports.jsxs("div", __assign({ className: classes$i.min_max_data_list, "data-testid": "".concat(id, "-datalist-values") }, { children: [jsxRuntime.exports.jsx("div", __assign({ className: classes$i.min, "aria-label": "Minimum value" }, { children: min })), jsxRuntime.exports.jsx("div", __assign({ className: classes$i.max, "aria-label": "Maximum value" }, { children: max }))] })), (!lodash.exports.isEmpty(min_label) || !lodash.exports.isEmpty(max_label)) && jsxRuntime.exports.jsxs("div", __assign({ className: classes$i.min_max_data_list, "data-testid": "".concat(id, "-datalist-labels") }, { children: [jsxRuntime.exports.jsx("div", __assign({ className: classes$i.min, "aria-label": "Minimum label" }, { children: min_label })), jsxRuntime.exports.jsx("div", __assign({ className: classes$i.max, "aria-label": "Maximum label" }, { children: max_label }))] }))] }))] }))] });
33891
33896
  };
33892
33897
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awell-health/ui-library",
3
- "version": "0.1.61",
3
+ "version": "0.1.62",
4
4
  "private": false,
5
5
  "description": "UI components to integrate with Awell Health",
6
6
  "repository": {