@ballistix.digital/react-components 0.4.91 → 0.4.93

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.js CHANGED
@@ -5624,7 +5624,7 @@ var base$1 = {
5624
5624
  leading: 'pointer-events-none absolute inset-y-0 left-0 flex items-center',
5625
5625
  input: 'block w-full flex border',
5626
5626
  menuButton: '',
5627
- menu: '!px-0 !py-0 !w-full rounded-md overflow-hidden border !mt-1 absolute bg-white',
5627
+ menu: 'z-10 !px-0 !py-0 !w-full rounded-md overflow-hidden border !mt-1 absolute bg-white',
5628
5628
  tagItem: 'bg-gray-200 px-2 py-1 flex flex-row gap-x-1 items-center justify-between rounded-sm',
5629
5629
  tagItemText: 'text-xs',
5630
5630
  tagItemIconContainer: '!p-0 rounded-full hover:bg-gray-400 text-sm hover:text-white aspect-square w-4 flex items-center justify-center cursor-pointer',
@@ -9207,7 +9207,6 @@ var DateMenuForm = function (props) {
9207
9207
  // Simulate onClear event.
9208
9208
  React.useEffect(function () {
9209
9209
  if (state.startDate === null && state.endDate === null) {
9210
- console.log('clear');
9211
9210
  onClear && onClear(name);
9212
9211
  }
9213
9212
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -9219,7 +9218,7 @@ var DateMenuForm = function (props) {
9219
9218
  }
9220
9219
  // eslint-disable-next-line react-hooks/exhaustive-deps
9221
9220
  }, [isFocus]);
9222
- return (jsxRuntime.jsxs("div", __assign({ className: styles$1.container }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$1.head }, { children: [label && (jsxRuntime.jsx("label", __assign({ htmlFor: name, className: styles$1.label }, { children: label }))), !required && !isRequired && typeof label === 'string' && (jsxRuntime.jsx("span", __assign({ className: styles$1.hint }, { children: "Optional" }))), required && required({ isRequired: isRequired })] })), jsxRuntime.jsxs("div", __assign({ className: styles$1.container }, { children: [jsxRuntime.jsx(Datepicker, { i18n: i18n, useRange: size === 'expanded', placeholder: placeholder, asSingle: !isRanged, separator: separator, startFrom: startFrom, displayFormat: displayFormat, disabled: isDisabled, popoverDirection: direction, minDate: minDate, maxDate: maxDate,
9221
+ return (jsxRuntime.jsxs("div", __assign({ className: styles$1.container }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$1.head }, { children: [label && (jsxRuntime.jsx("label", __assign({ htmlFor: name, className: styles$1.label }, { children: label }))), !required && !isRequired && typeof label === 'string' && (jsxRuntime.jsx("span", __assign({ className: styles$1.hint }, { children: "Optional" }))), required && required({ isRequired: isRequired })] })), jsxRuntime.jsxs("div", __assign({ className: styles$1.container }, { children: [jsxRuntime.jsx(Datepicker, { inputName: name, i18n: i18n, useRange: size === 'expanded', placeholder: placeholder, asSingle: !isRanged, separator: separator, startFrom: startFrom, displayFormat: displayFormat, disabled: isDisabled, popoverDirection: direction, minDate: minDate, maxDate: maxDate,
9223
9222
  //
9224
9223
  value: state,
9225
9224
  //