@jobber/components 7.14.2 → 7.15.0

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.
Files changed (65) hide show
  1. package/dist/Autocomplete/index.cjs +4 -3
  2. package/dist/Autocomplete/index.mjs +3 -2
  3. package/dist/DataList/components/DataListSearch/index.cjs +2 -1
  4. package/dist/DataList/components/DataListSearch/index.mjs +2 -1
  5. package/dist/DataList/index.cjs +2 -1
  6. package/dist/DataList/index.mjs +2 -1
  7. package/dist/DataTable/index.cjs +2 -1
  8. package/dist/DataTable/index.mjs +2 -1
  9. package/dist/DatePicker/index.cjs +0 -1
  10. package/dist/DatePicker/index.mjs +0 -1
  11. package/dist/DatePicker-cjs.js +782 -4
  12. package/dist/DatePicker-es.js +782 -4
  13. package/dist/FormField/index.cjs +14 -13
  14. package/dist/FormField/index.mjs +5 -4
  15. package/dist/FormField-cjs.js +4 -3
  16. package/dist/FormField-es.js +2 -1
  17. package/dist/FormFieldPostFix-cjs.js +2 -237
  18. package/dist/FormFieldPostFix-es.js +3 -228
  19. package/dist/FormFieldWrapper-cjs.js +242 -0
  20. package/dist/FormFieldWrapper-es.js +231 -0
  21. package/dist/InputDate/index.cjs +2 -2
  22. package/dist/InputDate/index.mjs +2 -2
  23. package/dist/InputEmail/index.cjs +2 -1
  24. package/dist/InputEmail/index.mjs +2 -1
  25. package/dist/InputEmail-cjs.js +3 -2
  26. package/dist/InputEmail-es.js +2 -1
  27. package/dist/InputNumber/index.cjs +2 -1
  28. package/dist/InputNumber/index.mjs +2 -1
  29. package/dist/InputPassword/index.cjs +2 -1
  30. package/dist/InputPassword/index.mjs +2 -1
  31. package/dist/InputPhoneNumber/index.cjs +2 -1
  32. package/dist/InputPhoneNumber/index.mjs +2 -1
  33. package/dist/InputPhoneNumber-cjs.js +3 -2
  34. package/dist/InputPhoneNumber-es.js +2 -1
  35. package/dist/InputText/index.cjs +3 -2
  36. package/dist/InputText/index.mjs +2 -1
  37. package/dist/InputTime/InputTime.d.ts +1 -1
  38. package/dist/InputTime/InputTime.types.d.ts +10 -24
  39. package/dist/InputTime/hooks/useInputTimeActions.d.ts +2 -2
  40. package/dist/InputTime/index.cjs +16 -350
  41. package/dist/InputTime/index.d.ts +2 -4
  42. package/dist/InputTime/index.mjs +15 -353
  43. package/dist/InputTime-cjs.js +300 -0
  44. package/dist/InputTime-es.js +298 -0
  45. package/dist/RecurringSelect/index.cjs +2 -1
  46. package/dist/RecurringSelect/index.mjs +2 -1
  47. package/dist/Select/index.cjs +2 -1
  48. package/dist/Select/index.mjs +2 -1
  49. package/dist/Select-cjs.js +3 -2
  50. package/dist/Select-es.js +2 -1
  51. package/dist/Tabs-es.js +1 -1
  52. package/dist/_baseEach-es.js +2 -2
  53. package/dist/_getAllKeys-es.js +1 -1
  54. package/dist/debounce-es.js +1 -1
  55. package/dist/docs/InputTime/InputTime.md +45 -27
  56. package/dist/docs/usage-guidelines/usage-guidelines.md +0 -1
  57. package/dist/index.cjs +13 -13
  58. package/dist/index.mjs +3 -3
  59. package/dist/isTypedArray-es.js +1 -1
  60. package/dist/styles.css +7 -2
  61. package/dist/useScrollToActive-es.js +1 -1
  62. package/package.json +2 -2
  63. package/dist/InputTime/InputTime.rebuilt.d.ts +0 -3
  64. package/dist/omit-cjs.js +0 -783
  65. package/dist/omit-es.js +0 -781
@@ -7,7 +7,15 @@ import { b as autoUpdate, f as flip, o as offset, a as arrow } from './floating-
7
7
  import { useRefocusOnActivator } from '@jobber/hooks';
8
8
  import { T as Typography } from './Typography-es.js';
9
9
  import { B as Button } from './Button-es.js';
10
- import { o as omit } from './omit-es.js';
10
+ import { g as getDefaultExportFromCjs } from './_commonjsHelpers-es.js';
11
+ import { k as keys_1, g as _getSymbols, _ as _arrayPush, s as stubArray_1, h as _baseGetAllKeys, c as _getAllKeys, b as _baseGet, d as _castPath, e as _toKey, a as _arrayMap } from './_getAllKeys-es.js';
12
+ import { c as _Stack } from './identity-es.js';
13
+ import { _ as _copyObject, k as keysIn_1, e as _getPrototype, f as _cloneArrayBuffer, b as _cloneTypedArray, a as _cloneBufferExports, c as _copyArray, d as _initCloneObject, g as _assignValue, i as isPlainObject_1 } from './keysIn-es.js';
14
+ import { a as _getTag } from './_getTag-es.js';
15
+ import { b as _Symbol, i as isObjectLike_1, a as isObject_1 } from './isObjectLike-es.js';
16
+ import { m as _nodeUtilExports, k as _baseUnary, c as isBufferExports, a as isArray_1 } from './isTypedArray-es.js';
17
+ import { _ as _baseFlatten } from './_baseFlatten-es.js';
18
+ import { _ as _overRest, a as _setToString } from './_setToString-es.js';
11
19
  import { u as useAtlantisContext } from './AtlantisContext-es.js';
12
20
 
13
21
  /**
@@ -12664,10 +12672,780 @@ function DatePickerCustomHeader({ monthDate, decreaseMonth, increaseMonth, prevM
12664
12672
  React__default.createElement(Button, { onClick: increaseMonth, disabled: nextMonthButtonDisabled, icon: "arrowRight", ariaLabel: "Next Month", variation: "work", type: "tertiary" })));
12665
12673
  }
12666
12674
 
12675
+ /**
12676
+ * A specialized version of `_.forEach` for arrays without support for
12677
+ * iteratee shorthands.
12678
+ *
12679
+ * @private
12680
+ * @param {Array} [array] The array to iterate over.
12681
+ * @param {Function} iteratee The function invoked per iteration.
12682
+ * @returns {Array} Returns `array`.
12683
+ */
12684
+
12685
+ function arrayEach$1(array, iteratee) {
12686
+ var index = -1,
12687
+ length = array == null ? 0 : array.length;
12688
+
12689
+ while (++index < length) {
12690
+ if (iteratee(array[index], index, array) === false) {
12691
+ break;
12692
+ }
12693
+ }
12694
+ return array;
12695
+ }
12696
+
12697
+ var _arrayEach = arrayEach$1;
12698
+
12699
+ var copyObject$4 = _copyObject,
12700
+ keys$1 = keys_1;
12701
+
12702
+ /**
12703
+ * The base implementation of `_.assign` without support for multiple sources
12704
+ * or `customizer` functions.
12705
+ *
12706
+ * @private
12707
+ * @param {Object} object The destination object.
12708
+ * @param {Object} source The source object.
12709
+ * @returns {Object} Returns `object`.
12710
+ */
12711
+ function baseAssign$1(object, source) {
12712
+ return object && copyObject$4(source, keys$1(source), object);
12713
+ }
12714
+
12715
+ var _baseAssign = baseAssign$1;
12716
+
12717
+ var copyObject$3 = _copyObject,
12718
+ keysIn$2 = keysIn_1;
12719
+
12720
+ /**
12721
+ * The base implementation of `_.assignIn` without support for multiple sources
12722
+ * or `customizer` functions.
12723
+ *
12724
+ * @private
12725
+ * @param {Object} object The destination object.
12726
+ * @param {Object} source The source object.
12727
+ * @returns {Object} Returns `object`.
12728
+ */
12729
+ function baseAssignIn$1(object, source) {
12730
+ return object && copyObject$3(source, keysIn$2(source), object);
12731
+ }
12732
+
12733
+ var _baseAssignIn = baseAssignIn$1;
12734
+
12735
+ var copyObject$2 = _copyObject,
12736
+ getSymbols$1 = _getSymbols;
12737
+
12738
+ /**
12739
+ * Copies own symbols of `source` to `object`.
12740
+ *
12741
+ * @private
12742
+ * @param {Object} source The object to copy symbols from.
12743
+ * @param {Object} [object={}] The object to copy symbols to.
12744
+ * @returns {Object} Returns `object`.
12745
+ */
12746
+ function copySymbols$1(source, object) {
12747
+ return copyObject$2(source, getSymbols$1(source), object);
12748
+ }
12749
+
12750
+ var _copySymbols = copySymbols$1;
12751
+
12752
+ var arrayPush = _arrayPush,
12753
+ getPrototype = _getPrototype,
12754
+ getSymbols = _getSymbols,
12755
+ stubArray = stubArray_1;
12756
+
12757
+ /* Built-in method references for those with the same name as other `lodash` methods. */
12758
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
12759
+
12760
+ /**
12761
+ * Creates an array of the own and inherited enumerable symbols of `object`.
12762
+ *
12763
+ * @private
12764
+ * @param {Object} object The object to query.
12765
+ * @returns {Array} Returns the array of symbols.
12766
+ */
12767
+ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
12768
+ var result = [];
12769
+ while (object) {
12770
+ arrayPush(result, getSymbols(object));
12771
+ object = getPrototype(object);
12772
+ }
12773
+ return result;
12774
+ };
12775
+
12776
+ var _getSymbolsIn = getSymbolsIn$2;
12777
+
12778
+ var copyObject$1 = _copyObject,
12779
+ getSymbolsIn$1 = _getSymbolsIn;
12780
+
12781
+ /**
12782
+ * Copies own and inherited symbols of `source` to `object`.
12783
+ *
12784
+ * @private
12785
+ * @param {Object} source The object to copy symbols from.
12786
+ * @param {Object} [object={}] The object to copy symbols to.
12787
+ * @returns {Object} Returns `object`.
12788
+ */
12789
+ function copySymbolsIn$1(source, object) {
12790
+ return copyObject$1(source, getSymbolsIn$1(source), object);
12791
+ }
12792
+
12793
+ var _copySymbolsIn = copySymbolsIn$1;
12794
+
12795
+ var baseGetAllKeys = _baseGetAllKeys,
12796
+ getSymbolsIn = _getSymbolsIn,
12797
+ keysIn$1 = keysIn_1;
12798
+
12799
+ /**
12800
+ * Creates an array of own and inherited enumerable property names and
12801
+ * symbols of `object`.
12802
+ *
12803
+ * @private
12804
+ * @param {Object} object The object to query.
12805
+ * @returns {Array} Returns the array of property names and symbols.
12806
+ */
12807
+ function getAllKeysIn$2(object) {
12808
+ return baseGetAllKeys(object, keysIn$1, getSymbolsIn);
12809
+ }
12810
+
12811
+ var _getAllKeysIn = getAllKeysIn$2;
12812
+
12813
+ /** Used for built-in method references. */
12814
+
12815
+ var objectProto = Object.prototype;
12816
+
12817
+ /** Used to check objects for own properties. */
12818
+ var hasOwnProperty = objectProto.hasOwnProperty;
12819
+
12820
+ /**
12821
+ * Initializes an array clone.
12822
+ *
12823
+ * @private
12824
+ * @param {Array} array The array to clone.
12825
+ * @returns {Array} Returns the initialized clone.
12826
+ */
12827
+ function initCloneArray$1(array) {
12828
+ var length = array.length,
12829
+ result = new array.constructor(length);
12830
+
12831
+ // Add properties assigned by `RegExp#exec`.
12832
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
12833
+ result.index = array.index;
12834
+ result.input = array.input;
12835
+ }
12836
+ return result;
12837
+ }
12838
+
12839
+ var _initCloneArray = initCloneArray$1;
12840
+
12841
+ var cloneArrayBuffer$1 = _cloneArrayBuffer;
12842
+
12843
+ /**
12844
+ * Creates a clone of `dataView`.
12845
+ *
12846
+ * @private
12847
+ * @param {Object} dataView The data view to clone.
12848
+ * @param {boolean} [isDeep] Specify a deep clone.
12849
+ * @returns {Object} Returns the cloned data view.
12850
+ */
12851
+ function cloneDataView$1(dataView, isDeep) {
12852
+ var buffer = isDeep ? cloneArrayBuffer$1(dataView.buffer) : dataView.buffer;
12853
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
12854
+ }
12855
+
12856
+ var _cloneDataView = cloneDataView$1;
12857
+
12858
+ /** Used to match `RegExp` flags from their coerced string values. */
12859
+
12860
+ var reFlags = /\w*$/;
12861
+
12862
+ /**
12863
+ * Creates a clone of `regexp`.
12864
+ *
12865
+ * @private
12866
+ * @param {Object} regexp The regexp to clone.
12867
+ * @returns {Object} Returns the cloned regexp.
12868
+ */
12869
+ function cloneRegExp$1(regexp) {
12870
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
12871
+ result.lastIndex = regexp.lastIndex;
12872
+ return result;
12873
+ }
12874
+
12875
+ var _cloneRegExp = cloneRegExp$1;
12876
+
12877
+ var Symbol$1 = _Symbol;
12878
+
12879
+ /** Used to convert symbols to primitives and strings. */
12880
+ var symbolProto = Symbol$1 ? Symbol$1.prototype : undefined,
12881
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
12882
+
12883
+ /**
12884
+ * Creates a clone of the `symbol` object.
12885
+ *
12886
+ * @private
12887
+ * @param {Object} symbol The symbol object to clone.
12888
+ * @returns {Object} Returns the cloned symbol object.
12889
+ */
12890
+ function cloneSymbol$1(symbol) {
12891
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
12892
+ }
12893
+
12894
+ var _cloneSymbol = cloneSymbol$1;
12895
+
12896
+ var cloneArrayBuffer = _cloneArrayBuffer,
12897
+ cloneDataView = _cloneDataView,
12898
+ cloneRegExp = _cloneRegExp,
12899
+ cloneSymbol = _cloneSymbol,
12900
+ cloneTypedArray = _cloneTypedArray;
12901
+
12902
+ /** `Object#toString` result references. */
12903
+ var boolTag$1 = '[object Boolean]',
12904
+ dateTag$1 = '[object Date]',
12905
+ mapTag$2 = '[object Map]',
12906
+ numberTag$1 = '[object Number]',
12907
+ regexpTag$1 = '[object RegExp]',
12908
+ setTag$2 = '[object Set]',
12909
+ stringTag$1 = '[object String]',
12910
+ symbolTag$1 = '[object Symbol]';
12911
+
12912
+ var arrayBufferTag$1 = '[object ArrayBuffer]',
12913
+ dataViewTag$1 = '[object DataView]',
12914
+ float32Tag$1 = '[object Float32Array]',
12915
+ float64Tag$1 = '[object Float64Array]',
12916
+ int8Tag$1 = '[object Int8Array]',
12917
+ int16Tag$1 = '[object Int16Array]',
12918
+ int32Tag$1 = '[object Int32Array]',
12919
+ uint8Tag$1 = '[object Uint8Array]',
12920
+ uint8ClampedTag$1 = '[object Uint8ClampedArray]',
12921
+ uint16Tag$1 = '[object Uint16Array]',
12922
+ uint32Tag$1 = '[object Uint32Array]';
12923
+
12924
+ /**
12925
+ * Initializes an object clone based on its `toStringTag`.
12926
+ *
12927
+ * **Note:** This function only supports cloning values with tags of
12928
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
12929
+ *
12930
+ * @private
12931
+ * @param {Object} object The object to clone.
12932
+ * @param {string} tag The `toStringTag` of the object to clone.
12933
+ * @param {boolean} [isDeep] Specify a deep clone.
12934
+ * @returns {Object} Returns the initialized clone.
12935
+ */
12936
+ function initCloneByTag$1(object, tag, isDeep) {
12937
+ var Ctor = object.constructor;
12938
+ switch (tag) {
12939
+ case arrayBufferTag$1:
12940
+ return cloneArrayBuffer(object);
12941
+
12942
+ case boolTag$1:
12943
+ case dateTag$1:
12944
+ return new Ctor(+object);
12945
+
12946
+ case dataViewTag$1:
12947
+ return cloneDataView(object, isDeep);
12948
+
12949
+ case float32Tag$1: case float64Tag$1:
12950
+ case int8Tag$1: case int16Tag$1: case int32Tag$1:
12951
+ case uint8Tag$1: case uint8ClampedTag$1: case uint16Tag$1: case uint32Tag$1:
12952
+ return cloneTypedArray(object, isDeep);
12953
+
12954
+ case mapTag$2:
12955
+ return new Ctor;
12956
+
12957
+ case numberTag$1:
12958
+ case stringTag$1:
12959
+ return new Ctor(object);
12960
+
12961
+ case regexpTag$1:
12962
+ return cloneRegExp(object);
12963
+
12964
+ case setTag$2:
12965
+ return new Ctor;
12966
+
12967
+ case symbolTag$1:
12968
+ return cloneSymbol(object);
12969
+ }
12970
+ }
12971
+
12972
+ var _initCloneByTag = initCloneByTag$1;
12973
+
12974
+ var getTag$2 = _getTag,
12975
+ isObjectLike$1 = isObjectLike_1;
12976
+
12977
+ /** `Object#toString` result references. */
12978
+ var mapTag$1 = '[object Map]';
12979
+
12980
+ /**
12981
+ * The base implementation of `_.isMap` without Node.js optimizations.
12982
+ *
12983
+ * @private
12984
+ * @param {*} value The value to check.
12985
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
12986
+ */
12987
+ function baseIsMap$1(value) {
12988
+ return isObjectLike$1(value) && getTag$2(value) == mapTag$1;
12989
+ }
12990
+
12991
+ var _baseIsMap = baseIsMap$1;
12992
+
12993
+ var baseIsMap = _baseIsMap,
12994
+ baseUnary$1 = _baseUnary,
12995
+ nodeUtil$1 = _nodeUtilExports;
12996
+
12997
+ /* Node.js helper references. */
12998
+ var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
12999
+
13000
+ /**
13001
+ * Checks if `value` is classified as a `Map` object.
13002
+ *
13003
+ * @static
13004
+ * @memberOf _
13005
+ * @since 4.3.0
13006
+ * @category Lang
13007
+ * @param {*} value The value to check.
13008
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
13009
+ * @example
13010
+ *
13011
+ * _.isMap(new Map);
13012
+ * // => true
13013
+ *
13014
+ * _.isMap(new WeakMap);
13015
+ * // => false
13016
+ */
13017
+ var isMap$1 = nodeIsMap ? baseUnary$1(nodeIsMap) : baseIsMap;
13018
+
13019
+ var isMap_1 = isMap$1;
13020
+
13021
+ var getTag$1 = _getTag,
13022
+ isObjectLike = isObjectLike_1;
13023
+
13024
+ /** `Object#toString` result references. */
13025
+ var setTag$1 = '[object Set]';
13026
+
13027
+ /**
13028
+ * The base implementation of `_.isSet` without Node.js optimizations.
13029
+ *
13030
+ * @private
13031
+ * @param {*} value The value to check.
13032
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
13033
+ */
13034
+ function baseIsSet$1(value) {
13035
+ return isObjectLike(value) && getTag$1(value) == setTag$1;
13036
+ }
13037
+
13038
+ var _baseIsSet = baseIsSet$1;
13039
+
13040
+ var baseIsSet = _baseIsSet,
13041
+ baseUnary = _baseUnary,
13042
+ nodeUtil = _nodeUtilExports;
13043
+
13044
+ /* Node.js helper references. */
13045
+ var nodeIsSet = nodeUtil && nodeUtil.isSet;
13046
+
13047
+ /**
13048
+ * Checks if `value` is classified as a `Set` object.
13049
+ *
13050
+ * @static
13051
+ * @memberOf _
13052
+ * @since 4.3.0
13053
+ * @category Lang
13054
+ * @param {*} value The value to check.
13055
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
13056
+ * @example
13057
+ *
13058
+ * _.isSet(new Set);
13059
+ * // => true
13060
+ *
13061
+ * _.isSet(new WeakSet);
13062
+ * // => false
13063
+ */
13064
+ var isSet$1 = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
13065
+
13066
+ var isSet_1 = isSet$1;
13067
+
13068
+ var Stack = _Stack,
13069
+ arrayEach = _arrayEach,
13070
+ assignValue = _assignValue,
13071
+ baseAssign = _baseAssign,
13072
+ baseAssignIn = _baseAssignIn,
13073
+ cloneBuffer = _cloneBufferExports,
13074
+ copyArray = _copyArray,
13075
+ copySymbols = _copySymbols,
13076
+ copySymbolsIn = _copySymbolsIn,
13077
+ getAllKeys = _getAllKeys,
13078
+ getAllKeysIn$1 = _getAllKeysIn,
13079
+ getTag = _getTag,
13080
+ initCloneArray = _initCloneArray,
13081
+ initCloneByTag = _initCloneByTag,
13082
+ initCloneObject = _initCloneObject,
13083
+ isArray = isArray_1,
13084
+ isBuffer = isBufferExports,
13085
+ isMap = isMap_1,
13086
+ isObject = isObject_1,
13087
+ isSet = isSet_1,
13088
+ keys = keys_1,
13089
+ keysIn = keysIn_1;
13090
+
13091
+ /** Used to compose bitmasks for cloning. */
13092
+ var CLONE_DEEP_FLAG$1 = 1,
13093
+ CLONE_FLAT_FLAG$1 = 2,
13094
+ CLONE_SYMBOLS_FLAG$1 = 4;
13095
+
13096
+ /** `Object#toString` result references. */
13097
+ var argsTag = '[object Arguments]',
13098
+ arrayTag = '[object Array]',
13099
+ boolTag = '[object Boolean]',
13100
+ dateTag = '[object Date]',
13101
+ errorTag = '[object Error]',
13102
+ funcTag = '[object Function]',
13103
+ genTag = '[object GeneratorFunction]',
13104
+ mapTag = '[object Map]',
13105
+ numberTag = '[object Number]',
13106
+ objectTag = '[object Object]',
13107
+ regexpTag = '[object RegExp]',
13108
+ setTag = '[object Set]',
13109
+ stringTag = '[object String]',
13110
+ symbolTag = '[object Symbol]',
13111
+ weakMapTag = '[object WeakMap]';
13112
+
13113
+ var arrayBufferTag = '[object ArrayBuffer]',
13114
+ dataViewTag = '[object DataView]',
13115
+ float32Tag = '[object Float32Array]',
13116
+ float64Tag = '[object Float64Array]',
13117
+ int8Tag = '[object Int8Array]',
13118
+ int16Tag = '[object Int16Array]',
13119
+ int32Tag = '[object Int32Array]',
13120
+ uint8Tag = '[object Uint8Array]',
13121
+ uint8ClampedTag = '[object Uint8ClampedArray]',
13122
+ uint16Tag = '[object Uint16Array]',
13123
+ uint32Tag = '[object Uint32Array]';
13124
+
13125
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
13126
+ var cloneableTags = {};
13127
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
13128
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
13129
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
13130
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
13131
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
13132
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
13133
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
13134
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
13135
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
13136
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
13137
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
13138
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
13139
+ cloneableTags[weakMapTag] = false;
13140
+
13141
+ /**
13142
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
13143
+ * traversed objects.
13144
+ *
13145
+ * @private
13146
+ * @param {*} value The value to clone.
13147
+ * @param {boolean} bitmask The bitmask flags.
13148
+ * 1 - Deep clone
13149
+ * 2 - Flatten inherited properties
13150
+ * 4 - Clone symbols
13151
+ * @param {Function} [customizer] The function to customize cloning.
13152
+ * @param {string} [key] The key of `value`.
13153
+ * @param {Object} [object] The parent object of `value`.
13154
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
13155
+ * @returns {*} Returns the cloned value.
13156
+ */
13157
+ function baseClone$1(value, bitmask, customizer, key, object, stack) {
13158
+ var result,
13159
+ isDeep = bitmask & CLONE_DEEP_FLAG$1,
13160
+ isFlat = bitmask & CLONE_FLAT_FLAG$1,
13161
+ isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
13162
+
13163
+ if (customizer) {
13164
+ result = object ? customizer(value, key, object, stack) : customizer(value);
13165
+ }
13166
+ if (result !== undefined) {
13167
+ return result;
13168
+ }
13169
+ if (!isObject(value)) {
13170
+ return value;
13171
+ }
13172
+ var isArr = isArray(value);
13173
+ if (isArr) {
13174
+ result = initCloneArray(value);
13175
+ if (!isDeep) {
13176
+ return copyArray(value, result);
13177
+ }
13178
+ } else {
13179
+ var tag = getTag(value),
13180
+ isFunc = tag == funcTag || tag == genTag;
13181
+
13182
+ if (isBuffer(value)) {
13183
+ return cloneBuffer(value, isDeep);
13184
+ }
13185
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
13186
+ result = (isFlat || isFunc) ? {} : initCloneObject(value);
13187
+ if (!isDeep) {
13188
+ return isFlat
13189
+ ? copySymbolsIn(value, baseAssignIn(result, value))
13190
+ : copySymbols(value, baseAssign(result, value));
13191
+ }
13192
+ } else {
13193
+ if (!cloneableTags[tag]) {
13194
+ return object ? value : {};
13195
+ }
13196
+ result = initCloneByTag(value, tag, isDeep);
13197
+ }
13198
+ }
13199
+ // Check for circular references and return its corresponding clone.
13200
+ stack || (stack = new Stack);
13201
+ var stacked = stack.get(value);
13202
+ if (stacked) {
13203
+ return stacked;
13204
+ }
13205
+ stack.set(value, result);
13206
+
13207
+ if (isSet(value)) {
13208
+ value.forEach(function(subValue) {
13209
+ result.add(baseClone$1(subValue, bitmask, customizer, subValue, value, stack));
13210
+ });
13211
+ } else if (isMap(value)) {
13212
+ value.forEach(function(subValue, key) {
13213
+ result.set(key, baseClone$1(subValue, bitmask, customizer, key, value, stack));
13214
+ });
13215
+ }
13216
+
13217
+ var keysFunc = isFull
13218
+ ? (isFlat ? getAllKeysIn$1 : getAllKeys)
13219
+ : (isFlat ? keysIn : keys);
13220
+
13221
+ var props = isArr ? undefined : keysFunc(value);
13222
+ arrayEach(props || value, function(subValue, key) {
13223
+ if (props) {
13224
+ key = subValue;
13225
+ subValue = value[key];
13226
+ }
13227
+ // Recursively populate clone (susceptible to call stack limits).
13228
+ assignValue(result, key, baseClone$1(subValue, bitmask, customizer, key, value, stack));
13229
+ });
13230
+ return result;
13231
+ }
13232
+
13233
+ var _baseClone = baseClone$1;
13234
+
13235
+ /**
13236
+ * Gets the last element of `array`.
13237
+ *
13238
+ * @static
13239
+ * @memberOf _
13240
+ * @since 0.1.0
13241
+ * @category Array
13242
+ * @param {Array} array The array to query.
13243
+ * @returns {*} Returns the last element of `array`.
13244
+ * @example
13245
+ *
13246
+ * _.last([1, 2, 3]);
13247
+ * // => 3
13248
+ */
13249
+
13250
+ function last$1(array) {
13251
+ var length = array == null ? 0 : array.length;
13252
+ return length ? array[length - 1] : undefined;
13253
+ }
13254
+
13255
+ var last_1 = last$1;
13256
+
13257
+ /**
13258
+ * The base implementation of `_.slice` without an iteratee call guard.
13259
+ *
13260
+ * @private
13261
+ * @param {Array} array The array to slice.
13262
+ * @param {number} [start=0] The start position.
13263
+ * @param {number} [end=array.length] The end position.
13264
+ * @returns {Array} Returns the slice of `array`.
13265
+ */
13266
+
13267
+ function baseSlice$1(array, start, end) {
13268
+ var index = -1,
13269
+ length = array.length;
13270
+
13271
+ if (start < 0) {
13272
+ start = -start > length ? 0 : (length + start);
13273
+ }
13274
+ end = end > length ? length : end;
13275
+ if (end < 0) {
13276
+ end += length;
13277
+ }
13278
+ length = start > end ? 0 : ((end - start) >>> 0);
13279
+ start >>>= 0;
13280
+
13281
+ var result = Array(length);
13282
+ while (++index < length) {
13283
+ result[index] = array[index + start];
13284
+ }
13285
+ return result;
13286
+ }
13287
+
13288
+ var _baseSlice = baseSlice$1;
13289
+
13290
+ var baseGet = _baseGet,
13291
+ baseSlice = _baseSlice;
13292
+
13293
+ /**
13294
+ * Gets the parent value at `path` of `object`.
13295
+ *
13296
+ * @private
13297
+ * @param {Object} object The object to query.
13298
+ * @param {Array} path The path to get the parent value of.
13299
+ * @returns {*} Returns the parent value.
13300
+ */
13301
+ function parent$1(object, path) {
13302
+ return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
13303
+ }
13304
+
13305
+ var _parent = parent$1;
13306
+
13307
+ var castPath$1 = _castPath,
13308
+ last = last_1,
13309
+ parent = _parent,
13310
+ toKey = _toKey;
13311
+
13312
+ /**
13313
+ * The base implementation of `_.unset`.
13314
+ *
13315
+ * @private
13316
+ * @param {Object} object The object to modify.
13317
+ * @param {Array|string} path The property path to unset.
13318
+ * @returns {boolean} Returns `true` if the property is deleted, else `false`.
13319
+ */
13320
+ function baseUnset$1(object, path) {
13321
+ path = castPath$1(path, object);
13322
+ object = parent(object, path);
13323
+ return object == null || delete object[toKey(last(path))];
13324
+ }
13325
+
13326
+ var _baseUnset = baseUnset$1;
13327
+
13328
+ var isPlainObject = isPlainObject_1;
13329
+
13330
+ /**
13331
+ * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain
13332
+ * objects.
13333
+ *
13334
+ * @private
13335
+ * @param {*} value The value to inspect.
13336
+ * @param {string} key The key of the property to inspect.
13337
+ * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.
13338
+ */
13339
+ function customOmitClone$1(value) {
13340
+ return isPlainObject(value) ? undefined : value;
13341
+ }
13342
+
13343
+ var _customOmitClone = customOmitClone$1;
13344
+
13345
+ var baseFlatten = _baseFlatten;
13346
+
13347
+ /**
13348
+ * Flattens `array` a single level deep.
13349
+ *
13350
+ * @static
13351
+ * @memberOf _
13352
+ * @since 0.1.0
13353
+ * @category Array
13354
+ * @param {Array} array The array to flatten.
13355
+ * @returns {Array} Returns the new flattened array.
13356
+ * @example
13357
+ *
13358
+ * _.flatten([1, [2, [3, [4]], 5]]);
13359
+ * // => [1, 2, [3, [4]], 5]
13360
+ */
13361
+ function flatten$1(array) {
13362
+ var length = array == null ? 0 : array.length;
13363
+ return length ? baseFlatten(array, 1) : [];
13364
+ }
13365
+
13366
+ var flatten_1 = flatten$1;
13367
+
13368
+ var flatten = flatten_1,
13369
+ overRest = _overRest,
13370
+ setToString = _setToString;
13371
+
13372
+ /**
13373
+ * A specialized version of `baseRest` which flattens the rest array.
13374
+ *
13375
+ * @private
13376
+ * @param {Function} func The function to apply a rest parameter to.
13377
+ * @returns {Function} Returns the new function.
13378
+ */
13379
+ function flatRest$1(func) {
13380
+ return setToString(overRest(func, undefined, flatten), func + '');
13381
+ }
13382
+
13383
+ var _flatRest = flatRest$1;
13384
+
13385
+ var arrayMap = _arrayMap,
13386
+ baseClone = _baseClone,
13387
+ baseUnset = _baseUnset,
13388
+ castPath = _castPath,
13389
+ copyObject = _copyObject,
13390
+ customOmitClone = _customOmitClone,
13391
+ flatRest = _flatRest,
13392
+ getAllKeysIn = _getAllKeysIn;
13393
+
13394
+ /** Used to compose bitmasks for cloning. */
13395
+ var CLONE_DEEP_FLAG = 1,
13396
+ CLONE_FLAT_FLAG = 2,
13397
+ CLONE_SYMBOLS_FLAG = 4;
13398
+
13399
+ /**
13400
+ * The opposite of `_.pick`; this method creates an object composed of the
13401
+ * own and inherited enumerable property paths of `object` that are not omitted.
13402
+ *
13403
+ * **Note:** This method is considerably slower than `_.pick`.
13404
+ *
13405
+ * @static
13406
+ * @since 0.1.0
13407
+ * @memberOf _
13408
+ * @category Object
13409
+ * @param {Object} object The source object.
13410
+ * @param {...(string|string[])} [paths] The property paths to omit.
13411
+ * @returns {Object} Returns the new object.
13412
+ * @example
13413
+ *
13414
+ * var object = { 'a': 1, 'b': '2', 'c': 3 };
13415
+ *
13416
+ * _.omit(object, ['a', 'c']);
13417
+ * // => { 'b': '2' }
13418
+ */
13419
+ var omit = flatRest(function(object, paths) {
13420
+ var result = {};
13421
+ if (object == null) {
13422
+ return result;
13423
+ }
13424
+ var isDeep = false;
13425
+ paths = arrayMap(paths, function(path) {
13426
+ path = castPath(path, object);
13427
+ isDeep || (isDeep = path.length > 1);
13428
+ return path;
13429
+ });
13430
+ copyObject(object, getAllKeysIn(object), result);
13431
+ if (isDeep) {
13432
+ result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);
13433
+ }
13434
+ var length = paths.length;
13435
+ while (length--) {
13436
+ baseUnset(result, paths[length]);
13437
+ }
13438
+ return result;
13439
+ });
13440
+
13441
+ var omit_1 = omit;
13442
+
13443
+ var omit$1 = /*@__PURE__*/getDefaultExportFromCjs(omit_1);
13444
+
12667
13445
  const DatePickerActivator = forwardRef(InternalActivator);
12668
13446
  function InternalActivator(props, ref) {
12669
13447
  const { activator, fullWidth } = props;
12670
- const newActivatorProps = omit(props, ["activator", "fullWidth"]);
13448
+ const newActivatorProps = omit$1(props, ["activator", "fullWidth"]);
12671
13449
  if (activator) {
12672
13450
  if (isValidElement(activator)) {
12673
13451
  const isAComponent = typeof activator.type === "function";
@@ -12756,7 +13534,7 @@ function DatePicker({ onChange, onMonthChange, onOpenChange, activator, inline,
12756
13534
  const { pickerRef } = useEscapeKeyToCloseDatePicker(open, ref, focusOnSelectedDate, renderInsidePortal);
12757
13535
  const { handleChange, handleCalendarOpen, handleCalendarClose } = useDatePickerHandlers(onChange, setOpen, onOpenChange, smartAutofocus !== null && smartAutofocus !== void 0 ? smartAutofocus : true, focusOnSelectedDate);
12758
13536
  useRefocusOnActivator(smartAutofocus ? open : false);
12759
- return (React__default.createElement("div", { className: wrapperClassName, ref: ref, "data-elevation": "elevated", onKeyDown: event => {
13537
+ return (React__default.createElement("div", { className: wrapperClassName, ref: ref, onKeyDown: event => {
12760
13538
  // Stop Escape from bubbling to parent floating elements (e.g. Modal).
12761
13539
  if (event.key === "Escape" && open) {
12762
13540
  event.stopPropagation();
@@ -12807,7 +13585,7 @@ function useEscapeKeyToCloseDatePicker(open, ref, focusOnSelectedDate, isPortall
12807
13585
  function DatePickerPortal({ portalId }) {
12808
13586
  const nodeId = useFloatingNodeId();
12809
13587
  const parentNodeId = useFloatingParentNodeId();
12810
- const portalDiv = React__default.createElement("div", { id: portalId, className: styles.portalContainer });
13588
+ const portalDiv = (React__default.createElement("div", { id: portalId, className: styles.portalContainer, "data-elevation": "elevated" }));
12811
13589
  if (parentNodeId) {
12812
13590
  return (React__default.createElement(FloatingTree, null,
12813
13591
  React__default.createElement(FloatingNode, { id: nodeId },