@cerebruminc/cerebellum 16.1.0 → 16.1.1-beta.dangerous.03905b3

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.
@@ -27,7 +27,7 @@ var InlineDescriptiveDropdown = function (_a) {
27
27
  var menuWidth = (themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.menuWidth) || 397;
28
28
  var menuWidthMax = menuWidth > 700 ? 700 : menuWidth;
29
29
  var confirmedMaxMenuHeight = maxMenuHeight && maxMenuHeight < 150 ? 150 : maxMenuHeight;
30
- var confirmedMenuWidth = menuWidthMax && menuWidthMax < 180 ? 180 : menuWidthMax;
30
+ var confirmedMenuWidth = menuWidthMax < 180 ? 180 : menuWidthMax;
31
31
  var radioType = switchType === SwitchTypeEnum.SwitchTypeEnum.Radio;
32
32
  var confirmedStayOpen = stayOpen !== undefined ? stayOpen : !radioType;
33
33
  var linkText = (taglessArray === null || taglessArray === void 0 ? void 0 : taglessArray.length) > 0 ? taglessArray === null || taglessArray === void 0 ? void 0 : taglessArray.join(", ") : buttonText;
@@ -86,4 +86,4 @@ var InlineDescriptiveDropdown = function (_a) {
86
86
  };
87
87
 
88
88
  exports.InlineDescriptiveDropdown = InlineDescriptiveDropdown;
89
- //# sourceMappingURL=InlineDescriptiveDropdown-BLC78YOL.js.map
89
+ //# sourceMappingURL=InlineDescriptiveDropdown-BaBs9GC1.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InlineDescriptiveDropdown-BLC78YOL.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"InlineDescriptiveDropdown-BaBs9GC1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var InlineDescriptiveDropdown = require('./InlineDescriptiveDropdown-BLC78YOL.js');
3
+ var InlineDescriptiveDropdown = require('./InlineDescriptiveDropdown-BaBs9GC1.js');
4
4
  require('./_tslib-ByDtMVOd.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
package/lib/cjs/index.cjs CHANGED
@@ -133,7 +133,7 @@ var AddMenu = require('./AddMenu-Dg_u2cnf.js');
133
133
  var ColorPicker = require('./ColorPicker-V2Bv8d9A.js');
134
134
  var ColorDotDropdown = require('./ColorDotDropdown-DaAbxcMF.js');
135
135
  var IconSwitcher = require('./IconSwitcher-BZNt5l8W.js');
136
- var InlineDescriptiveDropdown = require('./InlineDescriptiveDropdown-BLC78YOL.js');
136
+ var InlineDescriptiveDropdown = require('./InlineDescriptiveDropdown-BaBs9GC1.js');
137
137
  var StatusDropdown = require('./StatusDropdown-ki_sGs2E.js');
138
138
  var GlobalStyle = require('./GlobalStyle.cjs');
139
139
  var LayoutSidebar = require('./LayoutSidebar.cjs');
@@ -18453,7 +18453,7 @@ var DateField = function (props) {
18453
18453
  };
18454
18454
  return (jsxRuntime.jsx(FieldBox, { "$padding": contentPadding, children: jsxRuntime.jsx(DatePickerComponent, _tslib.__assign({ disabled: disabled }, (hideLabel ? {} : { helperText: schema.description }), { id: id }, (hideLabel ? {} : { inputLabel: label || schema.title || name }), { name: name, onChange: handleDateChange, onBlur: function () { return onBlur(id, formData); }, onFocus: function () { return onFocus(id, formData); }, placeholderText: placeholder }, (hideLabel ? {} : { required: required }), { selectedDate: formData, showValidationMessage: !!(rawErrors === null || rawErrors === void 0 ? void 0 : rawErrors[0]) }, (hideLabel ? {} : { validationMessage: rawErrors === null || rawErrors === void 0 ? void 0 : rawErrors[0] }), {
18455
18455
  // uiSchema options
18456
- activeBorderColor: ui.activeBorderColor, activeIconColor: ui.activeIconColor }, (hideLabel ? {} : { asteriskColor: ui.asteriskColor }), { calendarHeaderColor: ui.calendarHeaderColor, clearButton: true, dateFormat: ui.dateFormat || "MM / dd / yyyy", disabledColor: ui.disabledColor, failColor: ui.failColor, focus: ui.focus }, (hideLabel ? {} : { helperTextColor: ui.helperTextColor }), { hideIcon: ui.hideIcon, inactiveBorderColor: ui.inactiveBorderColor, inactiveIconColor: ui.inactiveIconColor, inputHeight: ui.inputHeight, inputWidth: ui.inputWidth }, (hideLabel ? {} : { labelColor: ui.labelColor }), { maxDateUnix: ui.maxDateUnix, minDateUnix: ui.minDateUnix, placeholderColor: ui.placeholderColor, selectedDateColor: ui.selectedDateColor, textColor: ui.textColor, textFontSize: ui.textFontSize, theme: ui.theme, yearOptionBegin: ui.yearOptionBegin, yearOptionEnd: ui.yearOptionEnd })) }));
18456
+ activeBorderColor: ui.activeBorderColor, activeIconColor: ui.activeIconColor }, (hideLabel ? {} : { asteriskColor: ui.asteriskColor }), { calendarHeaderColor: ui.calendarHeaderColor, clearButton: true, dateFormat: ui.dateFormat || "MM / dd / yyyy", disabledColor: ui.disabledColor, failColor: ui.failColor, focus: ui.focus }, (hideLabel ? {} : { helperTextColor: ui.helperTextColor }), { hideIcon: true, noPicker: true, inactiveBorderColor: ui.inactiveBorderColor, inactiveIconColor: ui.inactiveIconColor, inputHeight: ui.inputHeight, inputWidth: ui.inputWidth }, (hideLabel ? {} : { labelColor: ui.labelColor }), { maxDateUnix: ui.maxDateUnix, minDateUnix: ui.minDateUnix, placeholderColor: ui.placeholderColor, selectedDateColor: ui.selectedDateColor, textColor: ui.textColor, textFontSize: ui.textFontSize, theme: ui.theme, yearOptionBegin: ui.yearOptionBegin, yearOptionEnd: ui.yearOptionEnd })) }));
18457
18457
  };
18458
18458
 
18459
18459
  var NUMBER_FIELD_INVALID_ERROR = "Please enter a valid number";