@cerebruminc/cerebellum 16.5.3-beta.dangerous.aea3966 → 16.5.3-beta.dangerous.ccf57b2

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/README.md CHANGED
@@ -27,15 +27,15 @@ npm install -g yalc
27
27
 
28
28
  Follow the next steps:
29
29
 
30
- 1. Create a build of your changes
30
+ 1. Create a build of your changes:
31
31
  ```bash
32
32
  npm run build
33
33
  ```
34
- 2. publish the changes to your local repository that yalc creates, it grabs only files that should be published to NPM and puts them in a special global store
34
+ 2. publish the changes to your local repository that yalc creates, it grabs only files that should be published to NPM and puts them in a special global store.
35
35
  ```bash
36
36
  yalc publish
37
37
  ```
38
- 3. In your project repository run
38
+ 3. In your project repository run:
39
39
  ```bash
40
40
  yalc add @cerebruminc/cerebellum
41
41
  npm install
package/lib/cjs/Form.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var FormWrapper = require('./FormStyles-Cc6-_Iwt.js');
4
- var FormikContainer = require('./FormikContainer-6Ou67s1T.js');
3
+ var FormWrapper = require('./FormStyles-CCsL1LJO.js');
4
+ var FormikContainer = require('./FormikContainer-BVUsbx6j.js');
5
5
  var FormFieldTypeEnum = require('./FormFieldTypeEnum.cjs');
6
6
  require('./_tslib-ByDtMVOd.js');
7
7
  require('styled-components');
@@ -7,7 +7,7 @@ require('./BodyLEmphasis.cjs');
7
7
  require('./Loading.cjs');
8
8
  require('./Scroller.cjs');
9
9
  require('./Inputs-E9lK-yCQ.js');
10
- var FormWrapper = require('./FormStyles-Cc6-_Iwt.js');
10
+ var FormWrapper = require('./FormStyles-CCsL1LJO.js');
11
11
  require('react/jsx-runtime');
12
12
  require('./IconComponentStyles-oUWNoaaH.js');
13
13
  require('./CheckboxStyles-CAzemGXD.js');
@@ -256,8 +256,13 @@ var formatValidationInternals = function (_a) {
256
256
  var _z = field.requiredMessage, requiredMessage = _z === void 0 ? "This field is required" : _z, _0 = field.validationMessage, validationMessage = _0 === void 0 ? "Please enter a valid date" : _0;
257
257
  var dateSchema = yup__namespace
258
258
  .date()
259
- // For some reason, "value" is always wrong. Thanks react-datepicker. Thanks a lot.
259
+ // For some reason, "value" is always wrong when supplied by react-datepicker. Thanks react-datepicker. Thanks a lot.
260
260
  .transform(function (value, originalValue) {
261
+ var parsedValue = new Date(value);
262
+ var isValueDate = !Number.isNaN(parsedValue.getTime());
263
+ if (isValueDate) {
264
+ return value;
265
+ }
261
266
  var parsedDate = new Date(originalValue * 1000);
262
267
  if (isNaN(parsedDate.getTime())) {
263
268
  // If the date is invalid, return NaN to trigger a typeError
@@ -797,4 +802,4 @@ exports.formHasValues = formHasValues;
797
802
  exports.formatInitialValues = formatInitialValues;
798
803
  exports.formatValidation = formatValidation;
799
804
  exports.shouldFade = shouldFade;
800
- //# sourceMappingURL=FormStyles-Cc6-_Iwt.js.map
805
+ //# sourceMappingURL=FormStyles-CCsL1LJO.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormStyles-Cc6-_Iwt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,7 +7,7 @@ require('./BodyLEmphasis.cjs');
7
7
  require('./Loading.cjs');
8
8
  require('./Scroller.cjs');
9
9
  require('./Inputs-E9lK-yCQ.js');
10
- var FormWrapper = require('./FormStyles-Cc6-_Iwt.js');
10
+ var FormWrapper = require('./FormStyles-CCsL1LJO.js');
11
11
  require('react/jsx-runtime');
12
12
  require('./IconComponentStyles-oUWNoaaH.js');
13
13
  require('./CheckboxStyles-CAzemGXD.js');
@@ -20,7 +20,7 @@ var useMeasure = require('./useMeasure-CDq3dPfD.js');
20
20
  var usePrevious = require('./usePrevious.cjs');
21
21
  require('./Loading.cjs');
22
22
  var Scroller = require('./Scroller.cjs');
23
- var FormWrapper = require('./FormStyles-Cc6-_Iwt.js');
23
+ var FormWrapper = require('./FormStyles-CCsL1LJO.js');
24
24
  var AddressInput = require('./AddressInput-CeUZY17C.js');
25
25
  var Inputs = require('./Inputs-E9lK-yCQ.js');
26
26
  var ReactDOM = require('react-dom');
@@ -1614,4 +1614,4 @@ var FormikContainer = function (props) {
1614
1614
  exports.FormikContainer = FormikContainer;
1615
1615
  exports.NationalityDropdown = NationalityDropdown;
1616
1616
  exports.nationalityList = nationalityList;
1617
- //# sourceMappingURL=FormikContainer-6Ou67s1T.js.map
1617
+ //# sourceMappingURL=FormikContainer-BVUsbx6j.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormikContainer-6Ou67s1T.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -15,7 +15,7 @@ var PositionWrapper = styled.styled.div(templateObject_1 || (templateObject_1 =
15
15
  return $width !== null && $width !== void 0 ? $width : 700;
16
16
  });
17
17
  styled.styled(Inputs.Label)(templateObject_2 || (templateObject_2 = _tslib.__makeTemplateObject(["\n margin-bottom: 0;\n max-width: 100%;\n"], ["\n margin-bottom: 0;\n max-width: 100%;\n"])));
18
- var TextareaElement = styled.styled.textarea(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n &::selection {\n background-color: ", ";\n }\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"], ["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n &::selection {\n background-color: ", ";\n }\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"])), function (_a) {
18
+ var TextareaElement = styled.styled.textarea(templateObject_3 || (templateObject_3 = _tslib.__makeTemplateObject(["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n ", "\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"], ["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n ", "\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"])), function (_a) {
19
19
  var _b;
20
20
  var $textareaBackgroundColor = _a.$textareaBackgroundColor, disabled = _a.disabled, $disabledBackgroundColor = _a.$disabledBackgroundColor, theme = _a.theme;
21
21
  return disabled ? $disabledBackgroundColor : $textareaBackgroundColor || ((_b = theme.input) === null || _b === void 0 ? void 0 : _b.inputBackgroundColor);
@@ -55,7 +55,8 @@ var TextareaElement = styled.styled.textarea(templateObject_3 || (templateObject
55
55
  }, function (_a) {
56
56
  var _b;
57
57
  var $showValidationMessage = _a.$showValidationMessage, $failColorSecondary = _a.$failColorSecondary, theme = _a.theme;
58
- return $showValidationMessage ? $failColorSecondary || ((_b = theme.input) === null || _b === void 0 ? void 0 : _b.failColorSecondary) : "auto";
58
+ return $showValidationMessage &&
59
+ "\n &::selection {\n background-color: ".concat($failColorSecondary || ((_b = theme.input) === null || _b === void 0 ? void 0 : _b.failColorSecondary), ";\n }\n ");
59
60
  }, iconUrl);
60
61
  var templateObject_1, templateObject_2, templateObject_3;
61
62
 
@@ -1 +1 @@
1
- {"version":3,"file":"InlineTextarea.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"InlineTextarea.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,7 +7,7 @@ require('./BodyLEmphasis.cjs');
7
7
  require('./Loading.cjs');
8
8
  require('./Scroller.cjs');
9
9
  require('./Inputs-E9lK-yCQ.js');
10
- var FormWrapper = require('./FormStyles-Cc6-_Iwt.js');
10
+ var FormWrapper = require('./FormStyles-CCsL1LJO.js');
11
11
  require('react/jsx-runtime');
12
12
  require('./IconComponentStyles-oUWNoaaH.js');
13
13
  require('./CheckboxStyles-CAzemGXD.js');
package/lib/cjs/index.cjs CHANGED
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var React = require('react');
6
6
  var styled = require('styled-components');
7
7
  var Drawer = require('./Drawer-BC6y1uIn.js');
8
- var FormWrapper = require('./FormStyles-Cc6-_Iwt.js');
8
+ var FormWrapper = require('./FormStyles-CCsL1LJO.js');
9
9
  var AlertCount = require('./AlertCount-C_v9uCu1.js');
10
10
  var AddressInput = require('./AddressInput-CeUZY17C.js');
11
11
  var Avatar = require('./Avatar-DU_VdLGv.js');
@@ -44,7 +44,7 @@ var helpers$1 = require('./helpers-BBAfnycp.js');
44
44
  var DrawerDivider = require('./DrawerDivider-Dk2WXbXa.js');
45
45
  var EmailInput = require('./EmailInput-B47NyBrl.js');
46
46
  var Footer = require('./Footer.cjs');
47
- var FormikContainer = require('./FormikContainer-6Ou67s1T.js');
47
+ var FormikContainer = require('./FormikContainer-BVUsbx6j.js');
48
48
  var FormFieldTypeEnum = require('./FormFieldTypeEnum.cjs');
49
49
  var FiltersBar = require('./FiltersBar-BWs83vhr.js');
50
50
  var HorizontalTabMenu = require('./HorizontalTabMenu-B0VfB6Jb.js');
package/lib/esm/Form.js CHANGED
@@ -1,5 +1,5 @@
1
- export { F as FormWrapper } from './FormStyles-DCnDnD_Z.js';
2
- export { F as Form } from './FormikContainer-Ck23Sm9I.js';
1
+ export { F as FormWrapper } from './FormStyles-BSqmKCsK.js';
2
+ export { F as Form } from './FormikContainer-C_iJWcIG.js';
3
3
  export { FormFieldTypeEnum, RemovableFieldTypeEnum, isAddress, isCheckbox, isCheckboxGroup, isColorPicker, isConfigurableInput, isCountrySelect, isCountySelect, isCreditCard, isCurrency, isDatePicker, isDescriptiveDropdownInput, isEmail, isFormFieldType, isImagePicker, isMultiSelect, isNationalitySelect, isNumber, isPassword, isPhone, isRadioGroup, isRemovable, isSectionHeader, isSelect, isSocialSecurity, isSplitLine, isStateSelect, isTextarea, isToggle, isToggleGroup, isZipCode } from './FormFieldTypeEnum.js';
4
4
  import './_tslib-CcAXazg4.js';
5
5
  import 'styled-components';
@@ -5,7 +5,7 @@ import './BodyLEmphasis.js';
5
5
  import './Loading.js';
6
6
  import './Scroller.js';
7
7
  import './Inputs-DIweV8Nj.js';
8
- export { u as AddButtonBox, A as AddButtonGroup, B as ButtonGroup, w as CancelButton, C as CenterCheckbox, o as CenterToggle, s as ClearFormButtonWrap, e as FieldBox, p as FormGroup, a as FormSeparator, q as FormTitleGroup, F as FormWrapper, H as HelperTextGrid, n as InlineFieldCell, m as InlineFieldGrid, I as InputBox, f as LeftGutter, g as LeftLabel, L as LoadingBase, b as LoadingBox, d as LoadingInput, c as LoadingLabel, k as RemovableButtonBox, i as RemovableFieldBox, j as RemoveButtonWrapper, R as RightGutter, S as SubHeader, v as SubmitButton, l as Text, r as Title, T as TitleGroup, V as ValidationTextGrid } from './FormStyles-DCnDnD_Z.js';
8
+ export { u as AddButtonBox, A as AddButtonGroup, B as ButtonGroup, w as CancelButton, C as CenterCheckbox, o as CenterToggle, s as ClearFormButtonWrap, e as FieldBox, p as FormGroup, a as FormSeparator, q as FormTitleGroup, F as FormWrapper, H as HelperTextGrid, n as InlineFieldCell, m as InlineFieldGrid, I as InputBox, f as LeftGutter, g as LeftLabel, L as LoadingBase, b as LoadingBox, d as LoadingInput, c as LoadingLabel, k as RemovableButtonBox, i as RemovableFieldBox, j as RemoveButtonWrapper, R as RightGutter, S as SubHeader, v as SubmitButton, l as Text, r as Title, T as TitleGroup, V as ValidationTextGrid } from './FormStyles-BSqmKCsK.js';
9
9
  import 'react/jsx-runtime';
10
10
  import './IconComponentStyles-BwczcTS4.js';
11
11
  import './CheckboxStyles-Cx6hCn3t.js';
@@ -234,8 +234,13 @@ var formatValidationInternals = function (_a) {
234
234
  var _z = field.requiredMessage, requiredMessage = _z === void 0 ? "This field is required" : _z, _0 = field.validationMessage, validationMessage = _0 === void 0 ? "Please enter a valid date" : _0;
235
235
  var dateSchema = yup
236
236
  .date()
237
- // For some reason, "value" is always wrong. Thanks react-datepicker. Thanks a lot.
237
+ // For some reason, "value" is always wrong when supplied by react-datepicker. Thanks react-datepicker. Thanks a lot.
238
238
  .transform(function (value, originalValue) {
239
+ var parsedValue = new Date(value);
240
+ var isValueDate = !Number.isNaN(parsedValue.getTime());
241
+ if (isValueDate) {
242
+ return value;
243
+ }
239
244
  var parsedDate = new Date(originalValue * 1000);
240
245
  if (isNaN(parsedDate.getTime())) {
241
246
  // If the date is invalid, return NaN to trigger a typeError
@@ -740,4 +745,4 @@ var LoadingInput = styled.div(templateObject_32 || (templateObject_32 = __makeTe
740
745
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
741
746
 
742
747
  export { AddButtonGroup as A, ButtonGroup as B, CenterCheckbox as C, DefaultPixelWidth as D, FormWrapper as F, HelperTextGrid as H, InputBox as I, LoadingBase as L, RightGutter as R, SubHeader as S, TitleGroup as T, ValidationTextGrid as V, FormSeparator as a, LoadingBox as b, LoadingLabel as c, LoadingInput as d, FieldBox as e, LeftGutter as f, LeftLabel as g, formHasValues as h, RemovableFieldBox as i, RemoveButtonWrapper as j, RemovableButtonBox as k, Text as l, InlineFieldGrid as m, InlineFieldCell as n, CenterToggle as o, FormGroup as p, FormTitleGroup as q, Title as r, ClearFormButtonWrap as s, shouldFade as t, AddButtonBox as u, SubmitButton as v, CancelButton as w, formatValidation as x, formatInitialValues as y };
743
- //# sourceMappingURL=FormStyles-DCnDnD_Z.js.map
748
+ //# sourceMappingURL=FormStyles-BSqmKCsK.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormStyles-DCnDnD_Z.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;"}
@@ -5,7 +5,7 @@ import './BodyLEmphasis.js';
5
5
  import './Loading.js';
6
6
  import './Scroller.js';
7
7
  import './Inputs-DIweV8Nj.js';
8
- export { u as AddButtonBox, A as AddButtonGroup, B as ButtonGroup, w as CancelButton, C as CenterCheckbox, o as CenterToggle, s as ClearFormButtonWrap, e as FieldBox, p as FormGroup, a as FormSeparator, q as FormTitleGroup, F as FormWrapper, H as HelperTextGrid, n as InlineFieldCell, m as InlineFieldGrid, I as InputBox, f as LeftGutter, g as LeftLabel, L as LoadingBase, b as LoadingBox, d as LoadingInput, c as LoadingLabel, k as RemovableButtonBox, i as RemovableFieldBox, j as RemoveButtonWrapper, R as RightGutter, S as SubHeader, v as SubmitButton, l as Text, r as Title, T as TitleGroup, V as ValidationTextGrid } from './FormStyles-DCnDnD_Z.js';
8
+ export { u as AddButtonBox, A as AddButtonGroup, B as ButtonGroup, w as CancelButton, C as CenterCheckbox, o as CenterToggle, s as ClearFormButtonWrap, e as FieldBox, p as FormGroup, a as FormSeparator, q as FormTitleGroup, F as FormWrapper, H as HelperTextGrid, n as InlineFieldCell, m as InlineFieldGrid, I as InputBox, f as LeftGutter, g as LeftLabel, L as LoadingBase, b as LoadingBox, d as LoadingInput, c as LoadingLabel, k as RemovableButtonBox, i as RemovableFieldBox, j as RemoveButtonWrapper, R as RightGutter, S as SubHeader, v as SubmitButton, l as Text, r as Title, T as TitleGroup, V as ValidationTextGrid } from './FormStyles-BSqmKCsK.js';
9
9
  import 'react/jsx-runtime';
10
10
  import './IconComponentStyles-BwczcTS4.js';
11
11
  import './CheckboxStyles-Cx6hCn3t.js';
@@ -18,7 +18,7 @@ import { u as useMeasure } from './useMeasure-D89v6c_A.js';
18
18
  import { usePrevious } from './usePrevious.js';
19
19
  import './Loading.js';
20
20
  import { ShortScroller } from './Scroller.js';
21
- import { L as LoadingBase, b as LoadingBox, c as LoadingLabel, d as LoadingInput, e as FieldBox, f as LeftGutter, g as LeftLabel, H as HelperTextGrid, I as InputBox, R as RightGutter, V as ValidationTextGrid, h as formHasValues, D as DefaultPixelWidth, i as RemovableFieldBox, j as RemoveButtonWrapper, k as RemovableButtonBox, a as FormSeparator, T as TitleGroup, l as Text, S as SubHeader, m as InlineFieldGrid, n as InlineFieldCell, C as CenterCheckbox, o as CenterToggle, p as FormGroup, q as FormTitleGroup, r as Title, s as ClearFormButtonWrap, t as shouldFade, A as AddButtonGroup, u as AddButtonBox, B as ButtonGroup, v as SubmitButton, w as CancelButton, x as formatValidation, y as formatInitialValues } from './FormStyles-DCnDnD_Z.js';
21
+ import { L as LoadingBase, b as LoadingBox, c as LoadingLabel, d as LoadingInput, e as FieldBox, f as LeftGutter, g as LeftLabel, H as HelperTextGrid, I as InputBox, R as RightGutter, V as ValidationTextGrid, h as formHasValues, D as DefaultPixelWidth, i as RemovableFieldBox, j as RemoveButtonWrapper, k as RemovableButtonBox, a as FormSeparator, T as TitleGroup, l as Text, S as SubHeader, m as InlineFieldGrid, n as InlineFieldCell, C as CenterCheckbox, o as CenterToggle, p as FormGroup, q as FormTitleGroup, r as Title, s as ClearFormButtonWrap, t as shouldFade, A as AddButtonGroup, u as AddButtonBox, B as ButtonGroup, v as SubmitButton, w as CancelButton, x as formatValidation, y as formatInitialValues } from './FormStyles-BSqmKCsK.js';
22
22
  import { A as AddressInput } from './AddressInput-BPU-AgUH.js';
23
23
  import { A as Asterisk } from './Inputs-DIweV8Nj.js';
24
24
  import { flushSync } from 'react-dom';
@@ -1610,4 +1610,4 @@ var FormikContainer = function (props) {
1610
1610
  };
1611
1611
 
1612
1612
  export { FormikContainer as F, NationalityDropdown as N, nationalityList as n };
1613
- //# sourceMappingURL=FormikContainer-Ck23Sm9I.js.map
1613
+ //# sourceMappingURL=FormikContainer-C_iJWcIG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FormikContainer-Ck23Sm9I.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -13,7 +13,7 @@ var PositionWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeT
13
13
  return $width !== null && $width !== void 0 ? $width : 700;
14
14
  });
15
15
  styled(Label)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n margin-bottom: 0;\n max-width: 100%;\n"], ["\n margin-bottom: 0;\n max-width: 100%;\n"])));
16
- var TextareaElement = styled.textarea(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n &::selection {\n background-color: ", ";\n }\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"], ["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n &::selection {\n background-color: ", ";\n }\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"])), function (_a) {
16
+ var TextareaElement = styled.textarea(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n ", "\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"], ["\n background-color: ", ";\n border: 1px solid;\n border-color: ", ";\n border-radius: 8px;\n\n color: ", ";\n display: block;\n font-size: ", "px;\n height: ", ";\n max-width: 100%;\n min-width: 100px;\n min-height: 65px;\n padding: 21px;\n position: relative;\n resize: ", ";\n width: ", ";\n\n &:active,\n &:focus {\n border: solid 1px\n ", ";\n outline: none;\n }\n &::placeholder {\n color: ", ";\n }\n ", "\n\n &::-webkit-resizer {\n background-image: url(\"", "\");\n background-repeat: no-repeat;\n }\n"])), function (_a) {
17
17
  var _b;
18
18
  var $textareaBackgroundColor = _a.$textareaBackgroundColor, disabled = _a.disabled, $disabledBackgroundColor = _a.$disabledBackgroundColor, theme = _a.theme;
19
19
  return disabled ? $disabledBackgroundColor : $textareaBackgroundColor || ((_b = theme.input) === null || _b === void 0 ? void 0 : _b.inputBackgroundColor);
@@ -53,7 +53,8 @@ var TextareaElement = styled.textarea(templateObject_3 || (templateObject_3 = __
53
53
  }, function (_a) {
54
54
  var _b;
55
55
  var $showValidationMessage = _a.$showValidationMessage, $failColorSecondary = _a.$failColorSecondary, theme = _a.theme;
56
- return $showValidationMessage ? $failColorSecondary || ((_b = theme.input) === null || _b === void 0 ? void 0 : _b.failColorSecondary) : "auto";
56
+ return $showValidationMessage &&
57
+ "\n &::selection {\n background-color: ".concat($failColorSecondary || ((_b = theme.input) === null || _b === void 0 ? void 0 : _b.failColorSecondary), ";\n }\n ");
57
58
  }, iconUrl);
58
59
  var templateObject_1, templateObject_2, templateObject_3;
59
60
 
@@ -1 +1 @@
1
- {"version":3,"file":"InlineTextarea.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"InlineTextarea.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,7 +5,7 @@ import './BodyLEmphasis.js';
5
5
  import './Loading.js';
6
6
  import './Scroller.js';
7
7
  import './Inputs-DIweV8Nj.js';
8
- export { u as AddButtonBox, A as AddButtonGroup, B as ButtonGroup, w as CancelButton, C as CenterCheckbox, o as CenterToggle, s as ClearFormButtonWrap, e as FieldBox, p as FormGroup, a as FormSeparator, q as FormTitleGroup, F as FormWrapper, H as HelperTextGrid, n as InlineFieldCell, m as InlineFieldGrid, I as InputBox, f as LeftGutter, g as LeftLabel, L as LoadingBase, b as LoadingBox, d as LoadingInput, c as LoadingLabel, k as RemovableButtonBox, i as RemovableFieldBox, j as RemoveButtonWrapper, R as RightGutter, S as SubHeader, v as SubmitButton, l as Text, r as Title, T as TitleGroup, V as ValidationTextGrid } from './FormStyles-DCnDnD_Z.js';
8
+ export { u as AddButtonBox, A as AddButtonGroup, B as ButtonGroup, w as CancelButton, C as CenterCheckbox, o as CenterToggle, s as ClearFormButtonWrap, e as FieldBox, p as FormGroup, a as FormSeparator, q as FormTitleGroup, F as FormWrapper, H as HelperTextGrid, n as InlineFieldCell, m as InlineFieldGrid, I as InputBox, f as LeftGutter, g as LeftLabel, L as LoadingBase, b as LoadingBox, d as LoadingInput, c as LoadingLabel, k as RemovableButtonBox, i as RemovableFieldBox, j as RemoveButtonWrapper, R as RightGutter, S as SubHeader, v as SubmitButton, l as Text, r as Title, T as TitleGroup, V as ValidationTextGrid } from './FormStyles-BSqmKCsK.js';
9
9
  import 'react/jsx-runtime';
10
10
  import './IconComponentStyles-BwczcTS4.js';
11
11
  import './CheckboxStyles-Cx6hCn3t.js';
package/lib/esm/index.js CHANGED
@@ -3,8 +3,8 @@ import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
3
3
  import React__default, { useState, Fragment, useRef, useEffect } from 'react';
4
4
  import styled$1, { styled, useTheme } from 'styled-components';
5
5
  import { D as Drawer } from './Drawer-B8Q-IadJ.js';
6
- import { a as FormSeparator, T as TitleGroup } from './FormStyles-DCnDnD_Z.js';
7
- export { F as FormWrapper } from './FormStyles-DCnDnD_Z.js';
6
+ import { a as FormSeparator, T as TitleGroup } from './FormStyles-BSqmKCsK.js';
7
+ export { F as FormWrapper } from './FormStyles-BSqmKCsK.js';
8
8
  export { A as AlertCount } from './AlertCount-6XKYJp6w.js';
9
9
  import { c as commonjsGlobal, A as AddressInput } from './AddressInput-BPU-AgUH.js';
10
10
  export { A as Avatar } from './Avatar-BGVmo-FE.js';
@@ -44,7 +44,7 @@ import { A as ASTERISK_OFFSET_SPACE } from './helpers-NrTaiexf.js';
44
44
  export { D as DrawerDivider } from './DrawerDivider-kh5ebsLE.js';
45
45
  export { E as EmailInput } from './EmailInput-D3Afiw2u.js';
46
46
  export { Footer } from './Footer.js';
47
- export { F as Form, N as NationalityDropdown, n as nationalityList } from './FormikContainer-Ck23Sm9I.js';
47
+ export { F as Form, N as NationalityDropdown, n as nationalityList } from './FormikContainer-C_iJWcIG.js';
48
48
  export { FormFieldTypeEnum, RemovableFieldTypeEnum, isAddress, isCheckbox, isCheckboxGroup, isConfigurableInput, isCountrySelect, isCountySelect, isCreditCard, isCurrency, isDatePicker, isDescriptiveDropdownInput, isEmail, isFormFieldType, isImagePicker, isMultiSelect, isNationalitySelect, isNumber, isPassword, isPhone, isRadioGroup, isRemovable, isSectionHeader, isSelect, isSocialSecurity, isSplitLine, isStateSelect, isTextarea, isToggle, isToggleGroup, isZipCode } from './FormFieldTypeEnum.js';
49
49
  export { F as FiltersBar } from './FiltersBar-DiF5ZpHq.js';
50
50
  export { H as HorizontalTabMenu } from './HorizontalTabMenu-RXe2DFNL.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cerebruminc/cerebellum",
3
- "version": "16.5.3-beta.dangerous.aea3966",
3
+ "version": "16.5.3-beta.dangerous.ccf57b2",
4
4
  "description": "Cerebrum's React Component Library",
5
5
  "type": "module",
6
6
  "main": "lib/cjs/index.cjs",