@cerebruminc/cerebellum 16.1.0 → 16.1.1-beta.dangerous.12424c7
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/lib/cjs/AddressInput-BwC_Fa3a.js.map +1 -1
- package/lib/cjs/InlineDatePicker-DFv_uHo9.js.map +1 -1
- package/lib/cjs/{InlineDescriptiveDropdown-BLC78YOL.js → InlineDescriptiveDropdown-BaBs9GC1.js} +2 -2
- package/lib/cjs/{InlineDescriptiveDropdown-BLC78YOL.js.map → InlineDescriptiveDropdown-BaBs9GC1.js.map} +1 -1
- package/lib/cjs/InlineDescriptiveDropdown.cjs +1 -1
- package/lib/cjs/index.cjs +2 -2
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/AddressInput-OGU58AzF.js.map +1 -1
- package/lib/esm/InlineDatePicker-ClVBWEzW.js.map +1 -1
- package/lib/esm/{InlineDescriptiveDropdown-DrkAZ12b.js → InlineDescriptiveDropdown-Dr3tXxF5.js} +2 -2
- package/lib/esm/{InlineDescriptiveDropdown-DrkAZ12b.js.map → InlineDescriptiveDropdown-Dr3tXxF5.js.map} +1 -1
- package/lib/esm/InlineDescriptiveDropdown.js +1 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/index.js.map +1 -1
- package/package.json +1 -1
package/lib/esm/{InlineDescriptiveDropdown-DrkAZ12b.js → InlineDescriptiveDropdown-Dr3tXxF5.js}
RENAMED
|
@@ -25,7 +25,7 @@ var InlineDescriptiveDropdown = function (_a) {
|
|
|
25
25
|
var menuWidth = (themeOverride === null || themeOverride === void 0 ? void 0 : themeOverride.menuWidth) || 397;
|
|
26
26
|
var menuWidthMax = menuWidth > 700 ? 700 : menuWidth;
|
|
27
27
|
var confirmedMaxMenuHeight = maxMenuHeight && maxMenuHeight < 150 ? 150 : maxMenuHeight;
|
|
28
|
-
var confirmedMenuWidth = menuWidthMax
|
|
28
|
+
var confirmedMenuWidth = menuWidthMax < 180 ? 180 : menuWidthMax;
|
|
29
29
|
var radioType = switchType === SwitchTypeEnum.Radio;
|
|
30
30
|
var confirmedStayOpen = stayOpen !== undefined ? stayOpen : !radioType;
|
|
31
31
|
var linkText = (taglessArray === null || taglessArray === void 0 ? void 0 : taglessArray.length) > 0 ? taglessArray === null || taglessArray === void 0 ? void 0 : taglessArray.join(", ") : buttonText;
|
|
@@ -84,4 +84,4 @@ var InlineDescriptiveDropdown = function (_a) {
|
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
export { InlineDescriptiveDropdown as I };
|
|
87
|
-
//# sourceMappingURL=InlineDescriptiveDropdown-
|
|
87
|
+
//# sourceMappingURL=InlineDescriptiveDropdown-Dr3tXxF5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineDescriptiveDropdown-
|
|
1
|
+
{"version":3,"file":"InlineDescriptiveDropdown-Dr3tXxF5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/esm/index.js
CHANGED
|
@@ -136,7 +136,7 @@ export { A as AddMenu } from './AddMenu-JYAniP__.js';
|
|
|
136
136
|
export { C as ColorPicker } from './ColorPicker-GpiQKQBz.js';
|
|
137
137
|
export { C as ColorDotDropdown } from './ColorDotDropdown-BsWjlmKd.js';
|
|
138
138
|
export { I as IconSwitcher } from './IconSwitcher-jtf-Jx0T.js';
|
|
139
|
-
export { I as InlineDescriptiveDropdown } from './InlineDescriptiveDropdown-
|
|
139
|
+
export { I as InlineDescriptiveDropdown } from './InlineDescriptiveDropdown-Dr3tXxF5.js';
|
|
140
140
|
export { S as StatusDropdown } from './StatusDropdown-BZ6-fDUO.js';
|
|
141
141
|
export { GlobalStyle } from './GlobalStyle.js';
|
|
142
142
|
export { LayoutSidebar } from './LayoutSidebar.js';
|
|
@@ -18448,7 +18448,7 @@ var DateField = function (props) {
|
|
|
18448
18448
|
};
|
|
18449
18449
|
return (jsx(FieldBox, { "$padding": contentPadding, children: jsx(DatePickerComponent, __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] }), {
|
|
18450
18450
|
// uiSchema options
|
|
18451
|
-
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:
|
|
18451
|
+
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 })) }));
|
|
18452
18452
|
};
|
|
18453
18453
|
|
|
18454
18454
|
var NUMBER_FIELD_INVALID_ERROR = "Please enter a valid number";
|