@elliemae/ds-form 2.2.0-next.6 → 2.3.0-alpha.1

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 (1063) hide show
  1. package/cjs/Checkbox/DSCheckbox.js +145 -154
  2. package/cjs/Checkbox/DSCheckbox.js.map +7 -0
  3. package/cjs/Checkbox/defaultProps.js +37 -10
  4. package/cjs/Checkbox/defaultProps.js.map +7 -0
  5. package/cjs/Checkbox/elements/CheckMark.js +38 -13
  6. package/cjs/Checkbox/elements/CheckMark.js.map +7 -0
  7. package/cjs/Checkbox/index.js +28 -16
  8. package/cjs/Checkbox/index.js.map +7 -0
  9. package/cjs/Checkbox/props.js +48 -21
  10. package/cjs/Checkbox/props.js.map +7 -0
  11. package/cjs/CheckboxGroup/DSCheckboxGroup.js +103 -96
  12. package/cjs/CheckboxGroup/DSCheckboxGroup.js.map +7 -0
  13. package/cjs/CheckboxGroup/defaultProps.js +37 -9
  14. package/cjs/CheckboxGroup/defaultProps.js.map +7 -0
  15. package/cjs/CheckboxGroup/index.js +28 -11
  16. package/cjs/CheckboxGroup/index.js.map +7 -0
  17. package/cjs/CheckboxGroup/props.js +53 -45
  18. package/cjs/CheckboxGroup/props.js.map +7 -0
  19. package/cjs/ComboBox/DSComboBox.js +37 -20
  20. package/cjs/ComboBox/DSComboBox.js.map +7 -0
  21. package/cjs/ComboBox/index.js +40 -21
  22. package/cjs/ComboBox/index.js.map +7 -0
  23. package/cjs/ComboBox/v1/DSComboBox.js +266 -264
  24. package/cjs/ComboBox/v1/DSComboBox.js.map +7 -0
  25. package/cjs/ComboBox/v1/components/AllOption.js +42 -36
  26. package/cjs/ComboBox/v1/components/AllOption.js.map +7 -0
  27. package/cjs/ComboBox/v1/components/ClearIndicator.js +59 -41
  28. package/cjs/ComboBox/v1/components/ClearIndicator.js.map +7 -0
  29. package/cjs/ComboBox/v1/components/Control.js +43 -33
  30. package/cjs/ComboBox/v1/components/Control.js.map +7 -0
  31. package/cjs/ComboBox/v1/components/CustomOption.js +54 -48
  32. package/cjs/ComboBox/v1/components/CustomOption.js.map +7 -0
  33. package/cjs/ComboBox/v1/components/CustomOptionMulti.js +55 -51
  34. package/cjs/ComboBox/v1/components/CustomOptionMulti.js.map +7 -0
  35. package/cjs/ComboBox/v1/components/DropdownIndicator.js +64 -60
  36. package/cjs/ComboBox/v1/components/DropdownIndicator.js.map +7 -0
  37. package/cjs/ComboBox/v1/components/MenuList.js +74 -75
  38. package/cjs/ComboBox/v1/components/MenuList.js.map +7 -0
  39. package/cjs/ComboBox/v1/components/MultiSelectHeader.js +41 -18
  40. package/cjs/ComboBox/v1/components/MultiSelectHeader.js.map +7 -0
  41. package/cjs/ComboBox/v1/components/MultiValueLabel.js +42 -20
  42. package/cjs/ComboBox/v1/components/MultiValueLabel.js.map +7 -0
  43. package/cjs/ComboBox/v1/components/MultiValueRemove.js +46 -32
  44. package/cjs/ComboBox/v1/components/MultiValueRemove.js.map +7 -0
  45. package/cjs/ComboBox/v1/components/SelectMenu.js +71 -69
  46. package/cjs/ComboBox/v1/components/SelectMenu.js.map +7 -0
  47. package/cjs/ComboBox/v1/components/SingleValueLabel.js +46 -20
  48. package/cjs/ComboBox/v1/components/SingleValueLabel.js.map +7 -0
  49. package/cjs/ComboBox/v1/components/ValueContainer.js +43 -40
  50. package/cjs/ComboBox/v1/components/ValueContainer.js.map +7 -0
  51. package/cjs/ComboBox/v1/components/calculateWidth.js +36 -13
  52. package/cjs/ComboBox/v1/components/calculateWidth.js.map +7 -0
  53. package/cjs/ComboBox/v1/components/getoptions.js +34 -16
  54. package/cjs/ComboBox/v1/components/getoptions.js.map +7 -0
  55. package/cjs/ComboBox/v1/index.js +35 -18
  56. package/cjs/ComboBox/v1/index.js.map +7 -0
  57. package/cjs/ComboBox/v1/withSelectStringValueConverter.js +54 -59
  58. package/cjs/ComboBox/v1/withSelectStringValueConverter.js.map +7 -0
  59. package/cjs/ComboBox/v2/Combobox.js +333 -375
  60. package/cjs/ComboBox/v2/Combobox.js.map +7 -0
  61. package/cjs/ComboBox/v2/components/AllOption.js +42 -36
  62. package/cjs/ComboBox/v2/components/AllOption.js.map +7 -0
  63. package/cjs/ComboBox/v2/components/ClearIndicator.js +71 -66
  64. package/cjs/ComboBox/v2/components/ClearIndicator.js.map +7 -0
  65. package/cjs/ComboBox/v2/components/Content.js +50 -42
  66. package/cjs/ComboBox/v2/components/Content.js.map +7 -0
  67. package/cjs/ComboBox/v2/components/Control.js +43 -33
  68. package/cjs/ComboBox/v2/components/Control.js.map +7 -0
  69. package/cjs/ComboBox/v2/components/CustomOption.js +74 -85
  70. package/cjs/ComboBox/v2/components/CustomOption.js.map +7 -0
  71. package/cjs/ComboBox/v2/components/CustomOptionMulti.js +64 -65
  72. package/cjs/ComboBox/v2/components/CustomOptionMulti.js.map +7 -0
  73. package/cjs/ComboBox/v2/components/DropdownIndicator.js +77 -81
  74. package/cjs/ComboBox/v2/components/DropdownIndicator.js.map +7 -0
  75. package/cjs/ComboBox/v2/components/GroupHeading.js +57 -45
  76. package/cjs/ComboBox/v2/components/GroupHeading.js.map +7 -0
  77. package/cjs/ComboBox/v2/components/IndicatorSeparator.js +39 -28
  78. package/cjs/ComboBox/v2/components/IndicatorSeparator.js.map +7 -0
  79. package/cjs/ComboBox/v2/components/LoadingIndicator.js +47 -22
  80. package/cjs/ComboBox/v2/components/LoadingIndicator.js.map +7 -0
  81. package/cjs/ComboBox/v2/components/MenuList.js +94 -99
  82. package/cjs/ComboBox/v2/components/MenuList.js.map +7 -0
  83. package/cjs/ComboBox/v2/components/MultiSelectHeader.js +88 -60
  84. package/cjs/ComboBox/v2/components/MultiSelectHeader.js.map +7 -0
  85. package/cjs/ComboBox/v2/components/MultiValueLabel.js +42 -20
  86. package/cjs/ComboBox/v2/components/MultiValueLabel.js.map +7 -0
  87. package/cjs/ComboBox/v2/components/MultiValueRemove.js +52 -42
  88. package/cjs/ComboBox/v2/components/MultiValueRemove.js.map +7 -0
  89. package/cjs/ComboBox/v2/components/SelectMenu.js +58 -52
  90. package/cjs/ComboBox/v2/components/SelectMenu.js.map +7 -0
  91. package/cjs/ComboBox/v2/components/SingleValueLabel.js +46 -20
  92. package/cjs/ComboBox/v2/components/SingleValueLabel.js.map +7 -0
  93. package/cjs/ComboBox/v2/components/ValueContainer.js +52 -48
  94. package/cjs/ComboBox/v2/components/ValueContainer.js.map +7 -0
  95. package/cjs/ComboBox/v2/components/calculateWidth.js +37 -16
  96. package/cjs/ComboBox/v2/components/calculateWidth.js.map +7 -0
  97. package/cjs/ComboBox/v2/components/getoptions.js +34 -16
  98. package/cjs/ComboBox/v2/components/getoptions.js.map +7 -0
  99. package/cjs/ComboBox/v2/components/useMenuListHeight.js +42 -41
  100. package/cjs/ComboBox/v2/components/useMenuListHeight.js.map +7 -0
  101. package/cjs/ComboBox/v2/components/utils.js +35 -7
  102. package/cjs/ComboBox/v2/components/utils.js.map +7 -0
  103. package/cjs/ComboBox/v2/context.js +36 -13
  104. package/cjs/ComboBox/v2/context.js.map +7 -0
  105. package/cjs/ComboBox/v2/index.js +36 -11
  106. package/cjs/ComboBox/v2/index.js.map +7 -0
  107. package/cjs/ComboBox/v2/mockOptions.js +57 -20
  108. package/cjs/ComboBox/v2/mockOptions.js.map +7 -0
  109. package/cjs/ComboBox/v3/ComboBox.js +53 -0
  110. package/cjs/ComboBox/v3/ComboBox.js.map +7 -0
  111. package/cjs/ComboBox/v3/ComboBoxCTX.js +80 -0
  112. package/cjs/ComboBox/v3/ComboBoxCTX.js.map +7 -0
  113. package/cjs/ComboBox/v3/ComboboxDataTestids.js +45 -0
  114. package/cjs/ComboBox/v3/ComboboxDataTestids.js.map +7 -0
  115. package/cjs/ComboBox/v3/config/constants.js +42 -0
  116. package/cjs/ComboBox/v3/config/constants.js.map +7 -0
  117. package/cjs/ComboBox/v3/config/useComboBox.js +125 -0
  118. package/cjs/ComboBox/v3/config/useComboBox.js.map +7 -0
  119. package/cjs/ComboBox/v3/config/useGetPropsWithDefault.js +37 -0
  120. package/cjs/ComboBox/v3/config/useGetPropsWithDefault.js.map +7 -0
  121. package/cjs/ComboBox/v3/index.d.js +27 -0
  122. package/cjs/ComboBox/v3/index.d.js.map +7 -0
  123. package/cjs/ComboBox/v3/index.js +36 -0
  124. package/cjs/ComboBox/v3/index.js.map +7 -0
  125. package/cjs/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js +50 -0
  126. package/cjs/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js.map +7 -0
  127. package/cjs/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js +48 -0
  128. package/cjs/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js.map +7 -0
  129. package/cjs/ComboBox/v3/parts/a11y-messages/index.js +37 -0
  130. package/cjs/ComboBox/v3/parts/a11y-messages/index.js.map +7 -0
  131. package/cjs/ComboBox/v3/parts/a11y-messages/styled.js +41 -0
  132. package/cjs/ComboBox/v3/parts/a11y-messages/styled.js.map +7 -0
  133. package/cjs/ComboBox/v3/parts/container/Container.js +80 -0
  134. package/cjs/ComboBox/v3/parts/container/Container.js.map +7 -0
  135. package/cjs/ComboBox/v3/parts/container/index.js +35 -0
  136. package/cjs/ComboBox/v3/parts/container/index.js.map +7 -0
  137. package/cjs/ComboBox/v3/parts/container/styled.js +51 -0
  138. package/cjs/ComboBox/v3/parts/container/styled.js.map +7 -0
  139. package/cjs/ComboBox/v3/parts/controls/Controls.js +81 -0
  140. package/cjs/ComboBox/v3/parts/controls/Controls.js.map +7 -0
  141. package/cjs/ComboBox/v3/parts/controls/index.js +35 -0
  142. package/cjs/ComboBox/v3/parts/controls/index.js.map +7 -0
  143. package/cjs/ComboBox/v3/parts/controls/styled.js +101 -0
  144. package/cjs/ComboBox/v3/parts/controls/styled.js.map +7 -0
  145. package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js +73 -0
  146. package/cjs/ComboBox/v3/parts/controls-input/ControlsInput.js.map +7 -0
  147. package/cjs/ComboBox/v3/parts/controls-input/styled.js +71 -0
  148. package/cjs/ComboBox/v3/parts/controls-input/styled.js.map +7 -0
  149. package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js +91 -0
  150. package/cjs/ComboBox/v3/parts/controls-input/useControlsInput.js.map +7 -0
  151. package/cjs/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +53 -0
  152. package/cjs/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js.map +7 -0
  153. package/cjs/ComboBox/v3/parts/dropdown-indicator/index.js +20 -0
  154. package/cjs/ComboBox/v3/parts/dropdown-indicator/index.js.map +7 -0
  155. package/cjs/ComboBox/v3/parts/dropdown-indicator/styled.js +43 -0
  156. package/cjs/ComboBox/v3/parts/dropdown-indicator/styled.js.map +7 -0
  157. package/cjs/ComboBox/v3/parts/empty-state/index.js +45 -0
  158. package/cjs/ComboBox/v3/parts/empty-state/index.js.map +7 -0
  159. package/cjs/ComboBox/v3/parts/empty-state/styled.js +40 -0
  160. package/cjs/ComboBox/v3/parts/empty-state/styled.js.map +7 -0
  161. package/cjs/ComboBox/v3/parts/header-list/HeaderList.js +120 -0
  162. package/cjs/ComboBox/v3/parts/header-list/HeaderList.js.map +7 -0
  163. package/cjs/ComboBox/v3/parts/header-list/index.js +35 -0
  164. package/cjs/ComboBox/v3/parts/header-list/index.js.map +7 -0
  165. package/cjs/ComboBox/v3/parts/header-list/styled.js +103 -0
  166. package/cjs/ComboBox/v3/parts/header-list/styled.js.map +7 -0
  167. package/cjs/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +101 -0
  168. package/cjs/ComboBox/v3/parts/header-list/useHeaderListHandlers.js.map +7 -0
  169. package/cjs/ComboBox/v3/parts/menu-list/MenuList.js +85 -0
  170. package/cjs/ComboBox/v3/parts/menu-list/MenuList.js.map +7 -0
  171. package/cjs/ComboBox/v3/parts/menu-list/index.js +35 -0
  172. package/cjs/ComboBox/v3/parts/menu-list/index.js.map +7 -0
  173. package/cjs/ComboBox/v3/parts/menu-list/styled.js +50 -0
  174. package/cjs/ComboBox/v3/parts/menu-list/styled.js.map +7 -0
  175. package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js +101 -0
  176. package/cjs/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +7 -0
  177. package/cjs/ComboBox/v3/parts/menu-list/useMenuList.js +77 -0
  178. package/cjs/ComboBox/v3/parts/menu-list/useMenuList.js.map +7 -0
  179. package/cjs/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +68 -0
  180. package/cjs/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js.map +7 -0
  181. package/cjs/ComboBox/v3/parts/multi-selected-values-container/index.js +35 -0
  182. package/cjs/ComboBox/v3/parts/multi-selected-values-container/index.js.map +7 -0
  183. package/cjs/ComboBox/v3/parts/multi-selected-values-container/styled.js +48 -0
  184. package/cjs/ComboBox/v3/parts/multi-selected-values-container/styled.js.map +7 -0
  185. package/cjs/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js +85 -0
  186. package/cjs/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js.map +7 -0
  187. package/cjs/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js +48 -0
  188. package/cjs/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js.map +7 -0
  189. package/cjs/ComboBox/v3/parts/single-selected-value-container/index.js +35 -0
  190. package/cjs/ComboBox/v3/parts/single-selected-value-container/index.js.map +7 -0
  191. package/cjs/ComboBox/v3/parts/single-selected-value-container/styled.js +40 -0
  192. package/cjs/ComboBox/v3/parts/single-selected-value-container/styled.js.map +7 -0
  193. package/cjs/ComboBox/v3/propTypes.js +52 -0
  194. package/cjs/ComboBox/v3/propTypes.js.map +7 -0
  195. package/cjs/ComboBox/v3/tests/utils.js +90 -0
  196. package/cjs/ComboBox/v3/tests/utils.js.map +7 -0
  197. package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +163 -0
  198. package/cjs/ComboBox/v3/utils/hooks/useKeyboardNavigation.js.map +7 -0
  199. package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js +56 -0
  200. package/cjs/ComboBox/v3/utils/hooks/useOnElementResize.js.map +7 -0
  201. package/cjs/ComboBox/v3/utils/listHelper.js +58 -0
  202. package/cjs/ComboBox/v3/utils/listHelper.js.map +7 -0
  203. package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +109 -82
  204. package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +7 -0
  205. package/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js +64 -43
  206. package/cjs/ComboBoxFreeSolo/components/MultiValueLabel.js.map +7 -0
  207. package/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js +53 -42
  208. package/cjs/ComboBoxFreeSolo/components/MultiValueRemove.js.map +7 -0
  209. package/cjs/ComboBoxFreeSolo/components/SingleValue.js +44 -35
  210. package/cjs/ComboBoxFreeSolo/components/SingleValue.js.map +7 -0
  211. package/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js +66 -58
  212. package/cjs/ComboBoxFreeSolo/components/SingleValueRemove.js.map +7 -0
  213. package/cjs/ComboBoxFreeSolo/index.js +28 -7
  214. package/cjs/ComboBoxFreeSolo/index.js.map +7 -0
  215. package/cjs/DateInput/DSDateInput.js +97 -100
  216. package/cjs/DateInput/DSDateInput.js.map +7 -0
  217. package/cjs/DateInput/components/DateInputImpl.js +99 -70
  218. package/cjs/DateInput/components/DateInputImpl.js.map +7 -0
  219. package/cjs/DateInput/components/DateInputs.js +231 -314
  220. package/cjs/DateInput/components/DateInputs.js.map +7 -0
  221. package/cjs/DateInput/components/utils.js +130 -147
  222. package/cjs/DateInput/components/utils.js.map +7 -0
  223. package/cjs/DateInput/defaultProps.js +37 -10
  224. package/cjs/DateInput/defaultProps.js.map +7 -0
  225. package/cjs/DateInput/index.js +28 -12
  226. package/cjs/DateInput/index.js.map +7 -0
  227. package/cjs/DateInput/props.js +54 -83
  228. package/cjs/DateInput/props.js.map +7 -0
  229. package/cjs/DateInputV2/components/DSDateInput.js +76 -60
  230. package/cjs/DateInputV2/components/DSDateInput.js.map +7 -0
  231. package/cjs/DateInputV2/components/DateInputs.js +117 -134
  232. package/cjs/DateInputV2/components/DateInputs.js.map +7 -0
  233. package/cjs/DateInputV2/components/helpers.js +90 -65
  234. package/cjs/DateInputV2/components/helpers.js.map +7 -0
  235. package/cjs/DateInputV2/components/props.js +57 -66
  236. package/cjs/DateInputV2/components/props.js.map +7 -0
  237. package/cjs/DateInputV2/components/propsTypes.js +54 -30
  238. package/cjs/DateInputV2/components/propsTypes.js.map +7 -0
  239. package/cjs/DateInputV2/components/styled.js +97 -43
  240. package/cjs/DateInputV2/components/styled.js.map +7 -0
  241. package/cjs/DateInputV2/components/utils.js +165 -189
  242. package/cjs/DateInputV2/components/utils.js.map +7 -0
  243. package/cjs/DateInputV2/index.js +36 -13
  244. package/cjs/DateInputV2/index.js.map +7 -0
  245. package/cjs/ExpandableInput/DSExpandableInput.js +61 -38
  246. package/cjs/ExpandableInput/DSExpandableInput.js.map +7 -0
  247. package/cjs/ExpandableInput/ExpandableInputImpl.js +65 -78
  248. package/cjs/ExpandableInput/ExpandableInputImpl.js.map +7 -0
  249. package/cjs/ExpandableInput/index.js +28 -7
  250. package/cjs/ExpandableInput/index.js.map +7 -0
  251. package/cjs/FloatingLabelInput/DSFloatingLabelInput.js +83 -136
  252. package/cjs/FloatingLabelInput/DSFloatingLabelInput.js.map +7 -0
  253. package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js +91 -112
  254. package/cjs/FloatingLabelInput/FloatingLabelInputImpl.js.map +7 -0
  255. package/cjs/FloatingLabelInput/getSvgPath.js +50 -25
  256. package/cjs/FloatingLabelInput/getSvgPath.js.map +7 -0
  257. package/cjs/FloatingLabelInput/index.js +28 -7
  258. package/cjs/FloatingLabelInput/index.js.map +7 -0
  259. package/cjs/FormItem/DSFormItemLayout.js +153 -170
  260. package/cjs/FormItem/DSFormItemLayout.js.map +7 -0
  261. package/cjs/FormItem/Error/DSError.js +48 -30
  262. package/cjs/FormItem/Error/DSError.js.map +7 -0
  263. package/cjs/FormItem/Feedback.js +45 -23
  264. package/cjs/FormItem/Feedback.js.map +7 -0
  265. package/cjs/FormItem/Label/DSLabel.js +69 -36
  266. package/cjs/FormItem/Label/DSLabel.js.map +7 -0
  267. package/cjs/FormItem/Suffix/Suffix.js +60 -29
  268. package/cjs/FormItem/Suffix/Suffix.js.map +7 -0
  269. package/cjs/FormItem/ValidationFieldWrapper.js +61 -83
  270. package/cjs/FormItem/ValidationFieldWrapper.js.map +7 -0
  271. package/cjs/FormItem/defaultProps.js +56 -24
  272. package/cjs/FormItem/defaultProps.js.map +7 -0
  273. package/cjs/FormItem/index.js +41 -15
  274. package/cjs/FormItem/index.js.map +7 -0
  275. package/cjs/FormItem/props.js +85 -126
  276. package/cjs/FormItem/props.js.map +7 -0
  277. package/cjs/FormItem/variants.js +41 -13
  278. package/cjs/FormItem/variants.js.map +7 -0
  279. package/cjs/Input/DSInput.js +97 -90
  280. package/cjs/Input/DSInput.js.map +7 -0
  281. package/cjs/Input/InputAddonWrapper.js +64 -81
  282. package/cjs/Input/InputAddonWrapper.js.map +7 -0
  283. package/cjs/Input/InputImpl.js +176 -261
  284. package/cjs/Input/InputImpl.js.map +7 -0
  285. package/cjs/Input/index.js +28 -11
  286. package/cjs/Input/index.js.map +7 -0
  287. package/cjs/InputGroup/AddonWrapper.js +47 -36
  288. package/cjs/InputGroup/AddonWrapper.js.map +7 -0
  289. package/cjs/InputGroup/DSInputGroup.js +61 -38
  290. package/cjs/InputGroup/DSInputGroup.js.map +7 -0
  291. package/cjs/InputGroup/defaultProps.js +35 -7
  292. package/cjs/InputGroup/defaultProps.js.map +7 -0
  293. package/cjs/InputGroup/index.js +37 -10
  294. package/cjs/InputGroup/index.js.map +7 -0
  295. package/cjs/InputGroup/props.js +45 -38
  296. package/cjs/InputGroup/props.js.map +7 -0
  297. package/cjs/InputMask/DSInputMask.js +91 -95
  298. package/cjs/InputMask/DSInputMask.js.map +7 -0
  299. package/cjs/InputMask/DSInputMaskDeprecated.js +164 -231
  300. package/cjs/InputMask/DSInputMaskDeprecated.js.map +7 -0
  301. package/cjs/InputMask/InputMaskContext.js +39 -21
  302. package/cjs/InputMask/InputMaskContext.js.map +7 -0
  303. package/cjs/InputMask/MaskPipes.js +37 -10
  304. package/cjs/InputMask/MaskPipes.js.map +7 -0
  305. package/cjs/InputMask/MaskTypes.js +76 -42
  306. package/cjs/InputMask/MaskTypes.js.map +7 -0
  307. package/cjs/InputMask/README.md +0 -0
  308. package/cjs/InputMask/addons/AutoCorrectedDatePipe.js +47 -40
  309. package/cjs/InputMask/addons/AutoCorrectedDatePipe.js.map +7 -0
  310. package/cjs/InputMask/defaultProps.js +41 -14
  311. package/cjs/InputMask/defaultProps.js.map +7 -0
  312. package/cjs/InputMask/index.js +28 -15
  313. package/cjs/InputMask/index.js.map +7 -0
  314. package/cjs/InputMask/mask_types/DateInputMask.js +169 -145
  315. package/cjs/InputMask/mask_types/DateInputMask.js.map +7 -0
  316. package/cjs/InputMask/mask_types/DateTimeInputMask.js +175 -150
  317. package/cjs/InputMask/mask_types/DateTimeInputMask.js.map +7 -0
  318. package/cjs/InputMask/mask_types/DictionaryInputMask.js +160 -136
  319. package/cjs/InputMask/mask_types/DictionaryInputMask.js.map +7 -0
  320. package/cjs/InputMask/mask_types/NumberInputMask.js +221 -187
  321. package/cjs/InputMask/mask_types/NumberInputMask.js.map +7 -0
  322. package/cjs/InputMask/mask_types/PhoneInputMask.js +172 -148
  323. package/cjs/InputMask/mask_types/PhoneInputMask.js.map +7 -0
  324. package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +172 -148
  325. package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js.map +7 -0
  326. package/cjs/InputMask/mask_types/SsnInputMask.js +169 -145
  327. package/cjs/InputMask/mask_types/SsnInputMask.js.map +7 -0
  328. package/cjs/InputMask/mask_types/UsZipCodeInputMask.js +155 -130
  329. package/cjs/InputMask/mask_types/UsZipCodeInputMask.js.map +7 -0
  330. package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +166 -145
  331. package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js.map +7 -0
  332. package/cjs/InputMask/mask_types/index.js +128 -119
  333. package/cjs/InputMask/mask_types/index.js.map +7 -0
  334. package/cjs/InputMask/props.js +73 -148
  335. package/cjs/InputMask/props.js.map +7 -0
  336. package/cjs/InputMask/types/index.js +27 -2
  337. package/cjs/InputMask/types/index.js.map +7 -0
  338. package/cjs/InputMask/utils/setCaretPosition.js +45 -14
  339. package/cjs/InputMask/utils/setCaretPosition.js.map +7 -0
  340. package/cjs/InputProtected/DSInputProtected.js +90 -86
  341. package/cjs/InputProtected/DSInputProtected.js.map +7 -0
  342. package/cjs/InputProtected/defaultProps.js +37 -10
  343. package/cjs/InputProtected/defaultProps.js.map +7 -0
  344. package/cjs/InputProtected/index.js +29 -14
  345. package/cjs/InputProtected/index.js.map +7 -0
  346. package/cjs/InputProtected/options.js +39 -11
  347. package/cjs/InputProtected/options.js.map +7 -0
  348. package/cjs/InputProtected/props.js +54 -22
  349. package/cjs/InputProtected/props.js.map +7 -0
  350. package/cjs/LargeInputText/DSLargeInputText.js +119 -122
  351. package/cjs/LargeInputText/DSLargeInputText.js.map +7 -0
  352. package/cjs/LargeInputText/defaultProps.js +44 -16
  353. package/cjs/LargeInputText/defaultProps.js.map +7 -0
  354. package/cjs/LargeInputText/index.js +37 -10
  355. package/cjs/LargeInputText/index.js.map +7 -0
  356. package/cjs/LargeInputText/props.js +62 -126
  357. package/cjs/LargeInputText/props.js.map +7 -0
  358. package/cjs/MenuItem/components/MenuItem/index.js +58 -50
  359. package/cjs/MenuItem/components/MenuItem/index.js.map +7 -0
  360. package/cjs/MenuItem/components/MenuItem/styled.js +43 -15
  361. package/cjs/MenuItem/components/MenuItem/styled.js.map +7 -0
  362. package/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js +68 -48
  363. package/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +7 -0
  364. package/cjs/MenuItem/components/MultiMenuItem/styled.js +42 -15
  365. package/cjs/MenuItem/components/MultiMenuItem/styled.js.map +7 -0
  366. package/cjs/MenuItem/components/Section/index.js +50 -36
  367. package/cjs/MenuItem/components/Section/index.js.map +7 -0
  368. package/cjs/MenuItem/components/Section/props.js +38 -11
  369. package/cjs/MenuItem/components/Section/props.js.map +7 -0
  370. package/cjs/MenuItem/components/Section/styled.js +51 -20
  371. package/cjs/MenuItem/components/Section/styled.js.map +7 -0
  372. package/cjs/MenuItem/components/Separator/index.js +41 -27
  373. package/cjs/MenuItem/components/Separator/index.js.map +7 -0
  374. package/cjs/MenuItem/components/Separator/styled.js +50 -20
  375. package/cjs/MenuItem/components/Separator/styled.js.map +7 -0
  376. package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +67 -48
  377. package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +7 -0
  378. package/cjs/MenuItem/components/SubmenuItem/index.js +94 -95
  379. package/cjs/MenuItem/components/SubmenuItem/index.js.map +7 -0
  380. package/cjs/MenuItem/components/SubmenuItem/styled.js +48 -20
  381. package/cjs/MenuItem/components/SubmenuItem/styled.js.map +7 -0
  382. package/cjs/MenuItem/components/index.js +33 -22
  383. package/cjs/MenuItem/components/index.js.map +7 -0
  384. package/cjs/MenuItem/components/styled.js +95 -35
  385. package/cjs/MenuItem/components/styled.js.map +7 -0
  386. package/cjs/MenuItem/index.js +28 -22
  387. package/cjs/MenuItem/index.js.map +7 -0
  388. package/cjs/MenuItem/props.js +45 -18
  389. package/cjs/MenuItem/props.js.map +7 -0
  390. package/cjs/Radio/Circle.js +45 -24
  391. package/cjs/Radio/Circle.js.map +7 -0
  392. package/cjs/Radio/DSRadio.js +125 -171
  393. package/cjs/Radio/DSRadio.js.map +7 -0
  394. package/cjs/Radio/index.js +28 -10
  395. package/cjs/Radio/index.js.map +7 -0
  396. package/cjs/RadioGroup/DSRadioGroup.js +100 -95
  397. package/cjs/RadioGroup/DSRadioGroup.js.map +7 -0
  398. package/cjs/RadioGroup/defaultProps.js +37 -9
  399. package/cjs/RadioGroup/defaultProps.js.map +7 -0
  400. package/cjs/RadioGroup/index.js +28 -7
  401. package/cjs/RadioGroup/index.js.map +7 -0
  402. package/cjs/RadioGroup/props.js +50 -41
  403. package/cjs/RadioGroup/props.js.map +7 -0
  404. package/cjs/RequiredMark/RequiredMark.js +49 -30
  405. package/cjs/RequiredMark/RequiredMark.js.map +7 -0
  406. package/cjs/RequiredMark/index.js +28 -7
  407. package/cjs/RequiredMark/index.js.map +7 -0
  408. package/cjs/SearchBox/DSSearchBox.js +103 -86
  409. package/cjs/SearchBox/DSSearchBox.js.map +7 -0
  410. package/cjs/SearchBox/NavSearchBox.js +155 -152
  411. package/cjs/SearchBox/NavSearchBox.js.map +7 -0
  412. package/cjs/SearchBox/SButton.js +76 -33
  413. package/cjs/SearchBox/SButton.js.map +7 -0
  414. package/cjs/SearchBox/SearchBoxToggle.js +65 -56
  415. package/cjs/SearchBox/SearchBoxToggle.js.map +7 -0
  416. package/cjs/SearchBox/defaultProps.js +41 -13
  417. package/cjs/SearchBox/defaultProps.js.map +7 -0
  418. package/cjs/SearchBox/index.js +43 -15
  419. package/cjs/SearchBox/index.js.map +7 -0
  420. package/cjs/SearchBox/props.js +65 -94
  421. package/cjs/SearchBox/props.js.map +7 -0
  422. package/cjs/SearchBox/styled.js +39 -16
  423. package/cjs/SearchBox/styled.js.map +7 -0
  424. package/cjs/SearchBox/useSearch.js +54 -52
  425. package/cjs/SearchBox/useSearch.js.map +7 -0
  426. package/cjs/SearchBox/withSearchable.js +77 -103
  427. package/cjs/SearchBox/withSearchable.js.map +7 -0
  428. package/cjs/TextBox/DSTextBox.js +111 -176
  429. package/cjs/TextBox/DSTextBox.js.map +7 -0
  430. package/cjs/TextBox/index.js +37 -10
  431. package/cjs/TextBox/index.js.map +7 -0
  432. package/cjs/TimeInput/DSTimeInput.js +88 -122
  433. package/cjs/TimeInput/DSTimeInput.js.map +7 -0
  434. package/cjs/TimeInput/TimeInputImpl.js +85 -60
  435. package/cjs/TimeInput/TimeInputImpl.js.map +7 -0
  436. package/cjs/TimeInput/TimeInputs.js +250 -283
  437. package/cjs/TimeInput/TimeInputs.js.map +7 -0
  438. package/cjs/TimeInput/index.js +28 -12
  439. package/cjs/TimeInput/index.js.map +7 -0
  440. package/cjs/TimeInput/utils.js +98 -85
  441. package/cjs/TimeInput/utils.js.map +7 -0
  442. package/cjs/Toggle/DSToggle.js +82 -118
  443. package/cjs/Toggle/DSToggle.js.map +7 -0
  444. package/cjs/Toggle/DSToggleImpl.js +111 -183
  445. package/cjs/Toggle/DSToggleImpl.js.map +7 -0
  446. package/cjs/Toggle/DSToggleRender.js +110 -99
  447. package/cjs/Toggle/DSToggleRender.js.map +7 -0
  448. package/cjs/Toggle/index.js +37 -10
  449. package/cjs/Toggle/index.js.map +7 -0
  450. package/cjs/Toggle/props.js +47 -67
  451. package/cjs/Toggle/props.js.map +7 -0
  452. package/cjs/Toggle/toggleHelper.js +55 -38
  453. package/cjs/Toggle/toggleHelper.js.map +7 -0
  454. package/cjs/index.js +49 -120
  455. package/cjs/index.js.map +7 -0
  456. package/esm/Checkbox/DSCheckbox.js +112 -134
  457. package/esm/Checkbox/DSCheckbox.js.map +7 -0
  458. package/esm/Checkbox/defaultProps.js +7 -5
  459. package/esm/Checkbox/defaultProps.js.map +7 -0
  460. package/esm/Checkbox/elements/CheckMark.js +9 -7
  461. package/esm/Checkbox/elements/CheckMark.js.map +7 -0
  462. package/esm/Checkbox/index.js +3 -2
  463. package/esm/Checkbox/index.js.map +7 -0
  464. package/esm/Checkbox/props.js +22 -17
  465. package/esm/Checkbox/props.js.map +7 -0
  466. package/esm/CheckboxGroup/DSCheckboxGroup.js +72 -80
  467. package/esm/CheckboxGroup/DSCheckboxGroup.js.map +7 -0
  468. package/esm/CheckboxGroup/defaultProps.js +8 -5
  469. package/esm/CheckboxGroup/defaultProps.js.map +7 -0
  470. package/esm/CheckboxGroup/index.js +3 -1
  471. package/esm/CheckboxGroup/index.js.map +7 -0
  472. package/esm/CheckboxGroup/props.js +18 -35
  473. package/esm/CheckboxGroup/props.js.map +7 -0
  474. package/esm/ComboBox/DSComboBox.js +9 -4
  475. package/esm/ComboBox/DSComboBox.js.map +7 -0
  476. package/esm/ComboBox/index.js +12 -4
  477. package/esm/ComboBox/index.js.map +7 -0
  478. package/esm/ComboBox/v1/DSComboBox.js +239 -245
  479. package/esm/ComboBox/v1/DSComboBox.js.map +7 -0
  480. package/esm/ComboBox/v1/components/AllOption.js +13 -28
  481. package/esm/ComboBox/v1/components/AllOption.js.map +7 -0
  482. package/esm/ComboBox/v1/components/ClearIndicator.js +30 -34
  483. package/esm/ComboBox/v1/components/ClearIndicator.js.map +7 -0
  484. package/esm/ComboBox/v1/components/Control.js +15 -27
  485. package/esm/ComboBox/v1/components/Control.js.map +7 -0
  486. package/esm/ComboBox/v1/components/CustomOption.js +25 -39
  487. package/esm/ComboBox/v1/components/CustomOption.js.map +7 -0
  488. package/esm/ComboBox/v1/components/CustomOptionMulti.js +26 -42
  489. package/esm/ComboBox/v1/components/CustomOptionMulti.js.map +7 -0
  490. package/esm/ComboBox/v1/components/DropdownIndicator.js +35 -51
  491. package/esm/ComboBox/v1/components/DropdownIndicator.js.map +7 -0
  492. package/esm/ComboBox/v1/components/MenuList.js +39 -61
  493. package/esm/ComboBox/v1/components/MenuList.js.map +7 -0
  494. package/esm/ComboBox/v1/components/MultiSelectHeader.js +12 -12
  495. package/esm/ComboBox/v1/components/MultiSelectHeader.js.map +7 -0
  496. package/esm/ComboBox/v1/components/MultiValueLabel.js +13 -13
  497. package/esm/ComboBox/v1/components/MultiValueLabel.js.map +7 -0
  498. package/esm/ComboBox/v1/components/MultiValueRemove.js +17 -26
  499. package/esm/ComboBox/v1/components/MultiValueRemove.js.map +7 -0
  500. package/esm/ComboBox/v1/components/SelectMenu.js +41 -59
  501. package/esm/ComboBox/v1/components/SelectMenu.js.map +7 -0
  502. package/esm/ComboBox/v1/components/SingleValueLabel.js +17 -13
  503. package/esm/ComboBox/v1/components/SingleValueLabel.js.map +7 -0
  504. package/esm/ComboBox/v1/components/ValueContainer.js +14 -29
  505. package/esm/ComboBox/v1/components/ValueContainer.js.map +7 -0
  506. package/esm/ComboBox/v1/components/calculateWidth.js +7 -9
  507. package/esm/ComboBox/v1/components/calculateWidth.js.map +7 -0
  508. package/esm/ComboBox/v1/components/getoptions.js +5 -12
  509. package/esm/ComboBox/v1/components/getoptions.js.map +7 -0
  510. package/esm/ComboBox/v1/index.js +7 -3
  511. package/esm/ComboBox/v1/index.js.map +7 -0
  512. package/esm/ComboBox/v1/withSelectStringValueConverter.js +26 -54
  513. package/esm/ComboBox/v1/withSelectStringValueConverter.js.map +7 -0
  514. package/esm/ComboBox/v2/Combobox.js +286 -343
  515. package/esm/ComboBox/v2/Combobox.js.map +7 -0
  516. package/esm/ComboBox/v2/components/AllOption.js +13 -28
  517. package/esm/ComboBox/v2/components/AllOption.js.map +7 -0
  518. package/esm/ComboBox/v2/components/ClearIndicator.js +41 -56
  519. package/esm/ComboBox/v2/components/ClearIndicator.js.map +7 -0
  520. package/esm/ComboBox/v2/components/Content.js +20 -33
  521. package/esm/ComboBox/v2/components/Content.js.map +7 -0
  522. package/esm/ComboBox/v2/components/Control.js +15 -27
  523. package/esm/ComboBox/v2/components/Control.js.map +7 -0
  524. package/esm/ComboBox/v2/components/CustomOption.js +45 -76
  525. package/esm/ComboBox/v2/components/CustomOption.js.map +7 -0
  526. package/esm/ComboBox/v2/components/CustomOptionMulti.js +35 -57
  527. package/esm/ComboBox/v2/components/CustomOptionMulti.js.map +7 -0
  528. package/esm/ComboBox/v2/components/DropdownIndicator.js +47 -71
  529. package/esm/ComboBox/v2/components/DropdownIndicator.js.map +7 -0
  530. package/esm/ComboBox/v2/components/GroupHeading.js +27 -35
  531. package/esm/ComboBox/v2/components/GroupHeading.js.map +7 -0
  532. package/esm/ComboBox/v2/components/IndicatorSeparator.js +10 -19
  533. package/esm/ComboBox/v2/components/IndicatorSeparator.js.map +7 -0
  534. package/esm/ComboBox/v2/components/LoadingIndicator.js +18 -15
  535. package/esm/ComboBox/v2/components/LoadingIndicator.js.map +7 -0
  536. package/esm/ComboBox/v2/components/MenuList.js +57 -82
  537. package/esm/ComboBox/v2/components/MenuList.js.map +7 -0
  538. package/esm/ComboBox/v2/components/MultiSelectHeader.js +57 -49
  539. package/esm/ComboBox/v2/components/MultiSelectHeader.js.map +7 -0
  540. package/esm/ComboBox/v2/components/MultiValueLabel.js +13 -13
  541. package/esm/ComboBox/v2/components/MultiValueLabel.js.map +7 -0
  542. package/esm/ComboBox/v2/components/MultiValueRemove.js +23 -35
  543. package/esm/ComboBox/v2/components/MultiValueRemove.js.map +7 -0
  544. package/esm/ComboBox/v2/components/SelectMenu.js +28 -43
  545. package/esm/ComboBox/v2/components/SelectMenu.js.map +7 -0
  546. package/esm/ComboBox/v2/components/SingleValueLabel.js +17 -13
  547. package/esm/ComboBox/v2/components/SingleValueLabel.js.map +7 -0
  548. package/esm/ComboBox/v2/components/ValueContainer.js +20 -35
  549. package/esm/ComboBox/v2/components/ValueContainer.js.map +7 -0
  550. package/esm/ComboBox/v2/components/calculateWidth.js +8 -12
  551. package/esm/ComboBox/v2/components/calculateWidth.js.map +7 -0
  552. package/esm/ComboBox/v2/components/getoptions.js +5 -12
  553. package/esm/ComboBox/v2/components/getoptions.js.map +7 -0
  554. package/esm/ComboBox/v2/components/useMenuListHeight.js +13 -37
  555. package/esm/ComboBox/v2/components/useMenuListHeight.js.map +7 -0
  556. package/esm/ComboBox/v2/components/utils.js +6 -3
  557. package/esm/ComboBox/v2/components/utils.js.map +7 -0
  558. package/esm/ComboBox/v2/context.js +7 -5
  559. package/esm/ComboBox/v2/context.js.map +7 -0
  560. package/esm/ComboBox/v2/index.js +7 -1
  561. package/esm/ComboBox/v2/index.js.map +7 -0
  562. package/esm/ComboBox/v2/mockOptions.js +28 -18
  563. package/esm/ComboBox/v2/mockOptions.js.map +7 -0
  564. package/esm/ComboBox/v3/ComboBox.js +24 -0
  565. package/esm/ComboBox/v3/ComboBox.js.map +7 -0
  566. package/esm/ComboBox/v3/ComboBoxCTX.js +51 -0
  567. package/esm/ComboBox/v3/ComboBoxCTX.js.map +7 -0
  568. package/esm/ComboBox/v3/ComboboxDataTestids.js +16 -0
  569. package/esm/ComboBox/v3/ComboboxDataTestids.js.map +7 -0
  570. package/esm/ComboBox/v3/config/constants.js +13 -0
  571. package/esm/ComboBox/v3/config/constants.js.map +7 -0
  572. package/esm/ComboBox/v3/config/useComboBox.js +96 -0
  573. package/esm/ComboBox/v3/config/useComboBox.js.map +7 -0
  574. package/esm/ComboBox/v3/config/useGetPropsWithDefault.js +8 -0
  575. package/esm/ComboBox/v3/config/useGetPropsWithDefault.js.map +7 -0
  576. package/esm/ComboBox/v3/index.d.js +2 -0
  577. package/esm/ComboBox/v3/index.d.js.map +7 -0
  578. package/esm/ComboBox/v3/index.js +7 -0
  579. package/esm/ComboBox/v3/index.js.map +7 -0
  580. package/esm/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js +21 -0
  581. package/esm/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.js.map +7 -0
  582. package/esm/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js +19 -0
  583. package/esm/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.js.map +7 -0
  584. package/esm/ComboBox/v3/parts/a11y-messages/index.js +8 -0
  585. package/esm/ComboBox/v3/parts/a11y-messages/index.js.map +7 -0
  586. package/esm/ComboBox/v3/parts/a11y-messages/styled.js +12 -0
  587. package/esm/ComboBox/v3/parts/a11y-messages/styled.js.map +7 -0
  588. package/esm/ComboBox/v3/parts/container/Container.js +51 -0
  589. package/esm/ComboBox/v3/parts/container/Container.js.map +7 -0
  590. package/esm/ComboBox/v3/parts/container/index.js +6 -0
  591. package/esm/ComboBox/v3/parts/container/index.js.map +7 -0
  592. package/esm/ComboBox/v3/parts/container/styled.js +22 -0
  593. package/esm/ComboBox/v3/parts/container/styled.js.map +7 -0
  594. package/esm/ComboBox/v3/parts/controls/Controls.js +57 -0
  595. package/esm/ComboBox/v3/parts/controls/Controls.js.map +7 -0
  596. package/esm/ComboBox/v3/parts/controls/index.js +6 -0
  597. package/esm/ComboBox/v3/parts/controls/index.js.map +7 -0
  598. package/esm/ComboBox/v3/parts/controls/styled.js +72 -0
  599. package/esm/ComboBox/v3/parts/controls/styled.js.map +7 -0
  600. package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js +44 -0
  601. package/esm/ComboBox/v3/parts/controls-input/ControlsInput.js.map +7 -0
  602. package/esm/ComboBox/v3/parts/controls-input/styled.js +42 -0
  603. package/esm/ComboBox/v3/parts/controls-input/styled.js.map +7 -0
  604. package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js +62 -0
  605. package/esm/ComboBox/v3/parts/controls-input/useControlsInput.js.map +7 -0
  606. package/esm/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js +24 -0
  607. package/esm/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.js.map +7 -0
  608. package/esm/ComboBox/v3/parts/dropdown-indicator/index.js +2 -0
  609. package/esm/ComboBox/v3/parts/dropdown-indicator/index.js.map +7 -0
  610. package/esm/ComboBox/v3/parts/dropdown-indicator/styled.js +14 -0
  611. package/esm/ComboBox/v3/parts/dropdown-indicator/styled.js.map +7 -0
  612. package/esm/ComboBox/v3/parts/empty-state/index.js +16 -0
  613. package/esm/ComboBox/v3/parts/empty-state/index.js.map +7 -0
  614. package/esm/ComboBox/v3/parts/empty-state/styled.js +11 -0
  615. package/esm/ComboBox/v3/parts/empty-state/styled.js.map +7 -0
  616. package/esm/ComboBox/v3/parts/header-list/HeaderList.js +99 -0
  617. package/esm/ComboBox/v3/parts/header-list/HeaderList.js.map +7 -0
  618. package/esm/ComboBox/v3/parts/header-list/index.js +6 -0
  619. package/esm/ComboBox/v3/parts/header-list/index.js.map +7 -0
  620. package/esm/ComboBox/v3/parts/header-list/styled.js +74 -0
  621. package/esm/ComboBox/v3/parts/header-list/styled.js.map +7 -0
  622. package/esm/ComboBox/v3/parts/header-list/useHeaderListHandlers.js +72 -0
  623. package/esm/ComboBox/v3/parts/header-list/useHeaderListHandlers.js.map +7 -0
  624. package/esm/ComboBox/v3/parts/menu-list/MenuList.js +56 -0
  625. package/esm/ComboBox/v3/parts/menu-list/MenuList.js.map +7 -0
  626. package/esm/ComboBox/v3/parts/menu-list/index.js +6 -0
  627. package/esm/ComboBox/v3/parts/menu-list/index.js.map +7 -0
  628. package/esm/ComboBox/v3/parts/menu-list/styled.js +21 -0
  629. package/esm/ComboBox/v3/parts/menu-list/styled.js.map +7 -0
  630. package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js +72 -0
  631. package/esm/ComboBox/v3/parts/menu-list/useItemRenderer.js.map +7 -0
  632. package/esm/ComboBox/v3/parts/menu-list/useMenuList.js +48 -0
  633. package/esm/ComboBox/v3/parts/menu-list/useMenuList.js.map +7 -0
  634. package/esm/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js +39 -0
  635. package/esm/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.js.map +7 -0
  636. package/esm/ComboBox/v3/parts/multi-selected-values-container/index.js +6 -0
  637. package/esm/ComboBox/v3/parts/multi-selected-values-container/index.js.map +7 -0
  638. package/esm/ComboBox/v3/parts/multi-selected-values-container/styled.js +19 -0
  639. package/esm/ComboBox/v3/parts/multi-selected-values-container/styled.js.map +7 -0
  640. package/esm/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js +56 -0
  641. package/esm/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.js.map +7 -0
  642. package/esm/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js +19 -0
  643. package/esm/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.js.map +7 -0
  644. package/esm/ComboBox/v3/parts/single-selected-value-container/index.js +6 -0
  645. package/esm/ComboBox/v3/parts/single-selected-value-container/index.js.map +7 -0
  646. package/esm/ComboBox/v3/parts/single-selected-value-container/styled.js +11 -0
  647. package/esm/ComboBox/v3/parts/single-selected-value-container/styled.js.map +7 -0
  648. package/esm/ComboBox/v3/propTypes.js +23 -0
  649. package/esm/ComboBox/v3/propTypes.js.map +7 -0
  650. package/esm/ComboBox/v3/tests/utils.js +61 -0
  651. package/esm/ComboBox/v3/tests/utils.js.map +7 -0
  652. package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js +134 -0
  653. package/esm/ComboBox/v3/utils/hooks/useKeyboardNavigation.js.map +7 -0
  654. package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js +27 -0
  655. package/esm/ComboBox/v3/utils/hooks/useOnElementResize.js.map +7 -0
  656. package/esm/ComboBox/v3/utils/listHelper.js +29 -0
  657. package/esm/ComboBox/v3/utils/listHelper.js.map +7 -0
  658. package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +75 -70
  659. package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js.map +7 -0
  660. package/esm/ComboBoxFreeSolo/components/MultiValueLabel.js +36 -35
  661. package/esm/ComboBoxFreeSolo/components/MultiValueLabel.js.map +7 -0
  662. package/esm/ComboBoxFreeSolo/components/MultiValueRemove.js +24 -32
  663. package/esm/ComboBoxFreeSolo/components/MultiValueRemove.js.map +7 -0
  664. package/esm/ComboBoxFreeSolo/components/SingleValue.js +15 -26
  665. package/esm/ComboBoxFreeSolo/components/SingleValue.js.map +7 -0
  666. package/esm/ComboBoxFreeSolo/components/SingleValueRemove.js +37 -47
  667. package/esm/ComboBoxFreeSolo/components/SingleValueRemove.js.map +7 -0
  668. package/esm/ComboBoxFreeSolo/index.js +3 -1
  669. package/esm/ComboBoxFreeSolo/index.js.map +7 -0
  670. package/esm/DateInput/DSDateInput.js +61 -82
  671. package/esm/DateInput/DSDateInput.js.map +7 -0
  672. package/esm/DateInput/components/DateInputImpl.js +68 -61
  673. package/esm/DateInput/components/DateInputImpl.js.map +7 -0
  674. package/esm/DateInput/components/DateInputs.js +197 -285
  675. package/esm/DateInput/components/DateInputs.js.map +7 -0
  676. package/esm/DateInput/components/utils.js +98 -118
  677. package/esm/DateInput/components/utils.js.map +7 -0
  678. package/esm/DateInput/defaultProps.js +8 -6
  679. package/esm/DateInput/defaultProps.js.map +7 -0
  680. package/esm/DateInput/index.js +3 -2
  681. package/esm/DateInput/index.js.map +7 -0
  682. package/esm/DateInput/props.js +25 -79
  683. package/esm/DateInput/props.js.map +7 -0
  684. package/esm/DateInputV2/components/DSDateInput.js +44 -48
  685. package/esm/DateInputV2/components/DSDateInput.js.map +7 -0
  686. package/esm/DateInputV2/components/DateInputs.js +84 -110
  687. package/esm/DateInputV2/components/DateInputs.js.map +7 -0
  688. package/esm/DateInputV2/components/helpers.js +60 -60
  689. package/esm/DateInputV2/components/helpers.js.map +7 -0
  690. package/esm/DateInputV2/components/props.js +22 -55
  691. package/esm/DateInputV2/components/props.js.map +7 -0
  692. package/esm/DateInputV2/components/propsTypes.js +10 -7
  693. package/esm/DateInputV2/components/propsTypes.js.map +7 -0
  694. package/esm/DateInputV2/components/styled.js +68 -32
  695. package/esm/DateInputV2/components/styled.js.map +7 -0
  696. package/esm/DateInputV2/components/utils.js +132 -157
  697. package/esm/DateInputV2/components/utils.js.map +7 -0
  698. package/esm/DateInputV2/index.js +7 -2
  699. package/esm/DateInputV2/index.js.map +7 -0
  700. package/esm/ExpandableInput/DSExpandableInput.js +32 -32
  701. package/esm/ExpandableInput/DSExpandableInput.js.map +7 -0
  702. package/esm/ExpandableInput/ExpandableInputImpl.js +37 -71
  703. package/esm/ExpandableInput/ExpandableInputImpl.js.map +7 -0
  704. package/esm/ExpandableInput/index.js +3 -1
  705. package/esm/ExpandableInput/index.js.map +7 -0
  706. package/esm/FloatingLabelInput/DSFloatingLabelInput.js +54 -130
  707. package/esm/FloatingLabelInput/DSFloatingLabelInput.js.map +7 -0
  708. package/esm/FloatingLabelInput/FloatingLabelInputImpl.js +59 -100
  709. package/esm/FloatingLabelInput/FloatingLabelInputImpl.js.map +7 -0
  710. package/esm/FloatingLabelInput/getSvgPath.js +21 -23
  711. package/esm/FloatingLabelInput/getSvgPath.js.map +7 -0
  712. package/esm/FloatingLabelInput/index.js +3 -1
  713. package/esm/FloatingLabelInput/index.js.map +7 -0
  714. package/esm/FormItem/DSFormItemLayout.js +123 -155
  715. package/esm/FormItem/DSFormItemLayout.js.map +7 -0
  716. package/esm/FormItem/Error/DSError.js +18 -20
  717. package/esm/FormItem/Error/DSError.js.map +7 -0
  718. package/esm/FormItem/Feedback.js +16 -17
  719. package/esm/FormItem/Feedback.js.map +7 -0
  720. package/esm/FormItem/Label/DSLabel.js +40 -29
  721. package/esm/FormItem/Label/DSLabel.js.map +7 -0
  722. package/esm/FormItem/Suffix/Suffix.js +31 -18
  723. package/esm/FormItem/Suffix/Suffix.js.map +7 -0
  724. package/esm/FormItem/ValidationFieldWrapper.js +31 -76
  725. package/esm/FormItem/ValidationFieldWrapper.js.map +7 -0
  726. package/esm/FormItem/defaultProps.js +23 -16
  727. package/esm/FormItem/defaultProps.js.map +7 -0
  728. package/esm/FormItem/index.js +18 -3
  729. package/esm/FormItem/index.js.map +7 -0
  730. package/esm/FormItem/props.js +56 -122
  731. package/esm/FormItem/props.js.map +7 -0
  732. package/esm/FormItem/variants.js +11 -8
  733. package/esm/FormItem/variants.js.map +7 -0
  734. package/esm/Input/DSInput.js +68 -80
  735. package/esm/Input/DSInput.js.map +7 -0
  736. package/esm/Input/InputAddonWrapper.js +36 -75
  737. package/esm/Input/InputAddonWrapper.js.map +7 -0
  738. package/esm/Input/InputImpl.js +114 -216
  739. package/esm/Input/InputImpl.js.map +7 -0
  740. package/esm/Input/index.js +3 -2
  741. package/esm/Input/index.js.map +7 -0
  742. package/esm/InputGroup/AddonWrapper.js +17 -28
  743. package/esm/InputGroup/AddonWrapper.js.map +7 -0
  744. package/esm/InputGroup/DSInputGroup.js +30 -31
  745. package/esm/InputGroup/DSInputGroup.js.map +7 -0
  746. package/esm/InputGroup/defaultProps.js +6 -3
  747. package/esm/InputGroup/defaultProps.js.map +7 -0
  748. package/esm/InputGroup/index.js +8 -1
  749. package/esm/InputGroup/index.js.map +7 -0
  750. package/esm/InputGroup/props.js +16 -34
  751. package/esm/InputGroup/props.js.map +7 -0
  752. package/esm/InputMask/DSInputMask.js +55 -76
  753. package/esm/InputMask/DSInputMask.js.map +7 -0
  754. package/esm/InputMask/DSInputMaskDeprecated.js +132 -220
  755. package/esm/InputMask/DSInputMaskDeprecated.js.map +7 -0
  756. package/esm/InputMask/InputMaskContext.js +10 -13
  757. package/esm/InputMask/InputMaskContext.js.map +7 -0
  758. package/esm/InputMask/MaskPipes.js +7 -4
  759. package/esm/InputMask/MaskPipes.js.map +7 -0
  760. package/esm/InputMask/MaskTypes.js +47 -33
  761. package/esm/InputMask/MaskTypes.js.map +7 -0
  762. package/esm/InputMask/README.md +0 -0
  763. package/esm/InputMask/addons/AutoCorrectedDatePipe.js +18 -36
  764. package/esm/InputMask/addons/AutoCorrectedDatePipe.js.map +7 -0
  765. package/esm/InputMask/defaultProps.js +11 -9
  766. package/esm/InputMask/defaultProps.js.map +7 -0
  767. package/esm/InputMask/index.js +3 -3
  768. package/esm/InputMask/index.js.map +7 -0
  769. package/esm/InputMask/mask_types/DateInputMask.js +136 -134
  770. package/esm/InputMask/mask_types/DateInputMask.js.map +7 -0
  771. package/esm/InputMask/mask_types/DateTimeInputMask.js +142 -139
  772. package/esm/InputMask/mask_types/DateTimeInputMask.js.map +7 -0
  773. package/esm/InputMask/mask_types/DictionaryInputMask.js +127 -125
  774. package/esm/InputMask/mask_types/DictionaryInputMask.js.map +7 -0
  775. package/esm/InputMask/mask_types/NumberInputMask.js +188 -176
  776. package/esm/InputMask/mask_types/NumberInputMask.js.map +7 -0
  777. package/esm/InputMask/mask_types/PhoneInputMask.js +139 -137
  778. package/esm/InputMask/mask_types/PhoneInputMask.js.map +7 -0
  779. package/esm/InputMask/mask_types/PhoneInternationalInputMask.js +139 -137
  780. package/esm/InputMask/mask_types/PhoneInternationalInputMask.js.map +7 -0
  781. package/esm/InputMask/mask_types/SsnInputMask.js +136 -134
  782. package/esm/InputMask/mask_types/SsnInputMask.js.map +7 -0
  783. package/esm/InputMask/mask_types/UsZipCodeInputMask.js +122 -119
  784. package/esm/InputMask/mask_types/UsZipCodeInputMask.js.map +7 -0
  785. package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +133 -134
  786. package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js.map +7 -0
  787. package/esm/InputMask/mask_types/index.js +99 -110
  788. package/esm/InputMask/mask_types/index.js.map +7 -0
  789. package/esm/InputMask/props.js +43 -143
  790. package/esm/InputMask/props.js.map +7 -0
  791. package/esm/InputMask/types/index.js +2 -1
  792. package/esm/InputMask/types/index.js.map +7 -0
  793. package/esm/InputMask/utils/setCaretPosition.js +16 -12
  794. package/esm/InputMask/utils/setCaretPosition.js.map +7 -0
  795. package/esm/InputProtected/DSInputProtected.js +49 -61
  796. package/esm/InputProtected/DSInputProtected.js.map +7 -0
  797. package/esm/InputProtected/defaultProps.js +7 -5
  798. package/esm/InputProtected/defaultProps.js.map +7 -0
  799. package/esm/InputProtected/index.js +4 -2
  800. package/esm/InputProtected/index.js.map +7 -0
  801. package/esm/InputProtected/options.js +10 -6
  802. package/esm/InputProtected/options.js.map +7 -0
  803. package/esm/InputProtected/props.js +25 -18
  804. package/esm/InputProtected/props.js.map +7 -0
  805. package/esm/LargeInputText/DSLargeInputText.js +92 -111
  806. package/esm/LargeInputText/DSLargeInputText.js.map +7 -0
  807. package/esm/LargeInputText/defaultProps.js +15 -12
  808. package/esm/LargeInputText/defaultProps.js.map +7 -0
  809. package/esm/LargeInputText/index.js +8 -1
  810. package/esm/LargeInputText/index.js.map +7 -0
  811. package/esm/LargeInputText/props.js +33 -122
  812. package/esm/LargeInputText/props.js.map +7 -0
  813. package/esm/MenuItem/components/MenuItem/index.js +25 -36
  814. package/esm/MenuItem/components/MenuItem/index.js.map +7 -0
  815. package/esm/MenuItem/components/MenuItem/styled.js +14 -7
  816. package/esm/MenuItem/components/MenuItem/styled.js.map +7 -0
  817. package/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js +36 -36
  818. package/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js.map +7 -0
  819. package/esm/MenuItem/components/MultiMenuItem/styled.js +13 -7
  820. package/esm/MenuItem/components/MultiMenuItem/styled.js.map +7 -0
  821. package/esm/MenuItem/components/Section/index.js +17 -23
  822. package/esm/MenuItem/components/Section/index.js.map +7 -0
  823. package/esm/MenuItem/components/Section/props.js +9 -6
  824. package/esm/MenuItem/components/Section/props.js.map +7 -0
  825. package/esm/MenuItem/components/Section/styled.js +22 -11
  826. package/esm/MenuItem/components/Section/styled.js.map +7 -0
  827. package/esm/MenuItem/components/Separator/index.js +12 -19
  828. package/esm/MenuItem/components/Separator/index.js.map +7 -0
  829. package/esm/MenuItem/components/Separator/styled.js +21 -11
  830. package/esm/MenuItem/components/Separator/styled.js.map +7 -0
  831. package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js +35 -36
  832. package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js.map +7 -0
  833. package/esm/MenuItem/components/SubmenuItem/index.js +58 -75
  834. package/esm/MenuItem/components/SubmenuItem/index.js.map +7 -0
  835. package/esm/MenuItem/components/SubmenuItem/styled.js +19 -11
  836. package/esm/MenuItem/components/SubmenuItem/styled.js.map +7 -0
  837. package/esm/MenuItem/components/index.js +8 -6
  838. package/esm/MenuItem/components/index.js.map +7 -0
  839. package/esm/MenuItem/components/styled.js +72 -26
  840. package/esm/MenuItem/components/styled.js.map +7 -0
  841. package/esm/MenuItem/index.js +3 -6
  842. package/esm/MenuItem/index.js.map +7 -0
  843. package/esm/MenuItem/props.js +14 -11
  844. package/esm/MenuItem/props.js.map +7 -0
  845. package/esm/Radio/Circle.js +16 -18
  846. package/esm/Radio/Circle.js.map +7 -0
  847. package/esm/Radio/DSRadio.js +95 -159
  848. package/esm/Radio/DSRadio.js.map +7 -0
  849. package/esm/Radio/index.js +3 -1
  850. package/esm/Radio/index.js.map +7 -0
  851. package/esm/RadioGroup/DSRadioGroup.js +69 -80
  852. package/esm/RadioGroup/DSRadioGroup.js.map +7 -0
  853. package/esm/RadioGroup/defaultProps.js +8 -5
  854. package/esm/RadioGroup/defaultProps.js.map +7 -0
  855. package/esm/RadioGroup/index.js +3 -1
  856. package/esm/RadioGroup/index.js.map +7 -0
  857. package/esm/RadioGroup/props.js +17 -33
  858. package/esm/RadioGroup/props.js.map +7 -0
  859. package/esm/RequiredMark/RequiredMark.js +20 -24
  860. package/esm/RequiredMark/RequiredMark.js.map +7 -0
  861. package/esm/RequiredMark/index.js +3 -1
  862. package/esm/RequiredMark/index.js.map +7 -0
  863. package/esm/SearchBox/DSSearchBox.js +70 -72
  864. package/esm/SearchBox/DSSearchBox.js.map +7 -0
  865. package/esm/SearchBox/NavSearchBox.js +124 -139
  866. package/esm/SearchBox/NavSearchBox.js.map +7 -0
  867. package/esm/SearchBox/SButton.js +47 -24
  868. package/esm/SearchBox/SButton.js.map +7 -0
  869. package/esm/SearchBox/SearchBoxToggle.js +36 -46
  870. package/esm/SearchBox/SearchBoxToggle.js.map +7 -0
  871. package/esm/SearchBox/defaultProps.js +12 -8
  872. package/esm/SearchBox/defaultProps.js.map +7 -0
  873. package/esm/SearchBox/index.js +14 -3
  874. package/esm/SearchBox/index.js.map +7 -0
  875. package/esm/SearchBox/props.js +36 -89
  876. package/esm/SearchBox/props.js.map +7 -0
  877. package/esm/SearchBox/styled.js +10 -8
  878. package/esm/SearchBox/styled.js.map +7 -0
  879. package/esm/SearchBox/useSearch.js +23 -46
  880. package/esm/SearchBox/useSearch.js.map +7 -0
  881. package/esm/SearchBox/withSearchable.js +46 -93
  882. package/esm/SearchBox/withSearchable.js.map +7 -0
  883. package/esm/TextBox/DSTextBox.js +81 -165
  884. package/esm/TextBox/DSTextBox.js.map +7 -0
  885. package/esm/TextBox/index.js +8 -1
  886. package/esm/TextBox/index.js.map +7 -0
  887. package/esm/TimeInput/DSTimeInput.js +58 -110
  888. package/esm/TimeInput/DSTimeInput.js.map +7 -0
  889. package/esm/TimeInput/TimeInputImpl.js +54 -50
  890. package/esm/TimeInput/TimeInputImpl.js.map +7 -0
  891. package/esm/TimeInput/TimeInputs.js +214 -238
  892. package/esm/TimeInput/TimeInputs.js.map +7 -0
  893. package/esm/TimeInput/index.js +3 -2
  894. package/esm/TimeInput/index.js.map +7 -0
  895. package/esm/TimeInput/utils.js +68 -59
  896. package/esm/TimeInput/utils.js.map +7 -0
  897. package/esm/Toggle/DSToggle.js +52 -107
  898. package/esm/Toggle/DSToggle.js.map +7 -0
  899. package/esm/Toggle/DSToggleImpl.js +83 -172
  900. package/esm/Toggle/DSToggleImpl.js.map +7 -0
  901. package/esm/Toggle/DSToggleRender.js +81 -91
  902. package/esm/Toggle/DSToggleRender.js.map +7 -0
  903. package/esm/Toggle/index.js +8 -1
  904. package/esm/Toggle/index.js.map +7 -0
  905. package/esm/Toggle/props.js +7 -48
  906. package/esm/Toggle/props.js.map +7 -0
  907. package/esm/Toggle/toggleHelper.js +26 -31
  908. package/esm/Toggle/toggleHelper.js.map +7 -0
  909. package/esm/index.js +24 -41
  910. package/esm/index.js.map +7 -0
  911. package/package.json +207 -23
  912. package/types/Checkbox/DSCheckbox.d.ts +1 -1
  913. package/types/Checkbox/elements/CheckMark.d.ts +1 -1
  914. package/types/Checkbox/index.d.ts +0 -1
  915. package/types/CheckboxGroup/DSCheckboxGroup.d.ts +1 -11
  916. package/types/CheckboxGroup/index.d.ts +0 -1
  917. package/types/ComboBox/index.d.ts +2 -3
  918. package/types/ComboBox/v1/DSComboBox.d.ts +3 -2
  919. package/types/ComboBox/v1/components/ClearIndicator.d.ts +1 -0
  920. package/types/ComboBox/v1/components/Control.d.ts +1 -0
  921. package/types/ComboBox/v1/components/CustomOption.d.ts +1 -0
  922. package/types/ComboBox/v1/components/CustomOptionMulti.d.ts +1 -0
  923. package/types/ComboBox/v1/components/DropdownIndicator.d.ts +1 -0
  924. package/types/ComboBox/v1/components/MenuList.d.ts +1 -0
  925. package/types/ComboBox/v1/components/MultiSelectHeader.d.ts +1 -0
  926. package/types/ComboBox/v1/components/MultiValueLabel.d.ts +1 -0
  927. package/types/ComboBox/v1/components/MultiValueRemove.d.ts +1 -0
  928. package/types/ComboBox/v1/components/SelectMenu.d.ts +1 -0
  929. package/types/ComboBox/v1/components/SingleValueLabel.d.ts +1 -0
  930. package/types/ComboBox/v1/withSelectStringValueConverter.d.ts +1 -0
  931. package/types/ComboBox/v2/Combobox.d.ts +1 -51
  932. package/types/ComboBox/v2/components/ClearIndicator.d.ts +1 -0
  933. package/types/ComboBox/v2/components/Content.d.ts +1 -0
  934. package/types/ComboBox/v2/components/Control.d.ts +1 -0
  935. package/types/ComboBox/v2/components/CustomOption.d.ts +1 -0
  936. package/types/ComboBox/v2/components/CustomOptionMulti.d.ts +1 -0
  937. package/types/ComboBox/v2/components/DropdownIndicator.d.ts +1 -0
  938. package/types/ComboBox/v2/components/GroupHeading.d.ts +1 -0
  939. package/types/ComboBox/v2/components/LoadingIndicator.d.ts +1 -0
  940. package/types/ComboBox/v2/components/MenuList.d.ts +1 -0
  941. package/types/ComboBox/v2/components/MultiSelectHeader.d.ts +1 -0
  942. package/types/ComboBox/v2/components/MultiValueLabel.d.ts +1 -0
  943. package/types/ComboBox/v2/components/MultiValueRemove.d.ts +1 -0
  944. package/types/ComboBox/v2/components/SelectMenu.d.ts +1 -0
  945. package/types/ComboBox/v2/components/SingleValueLabel.d.ts +1 -0
  946. package/types/ComboBox/v3/ComboBox.d.ts +62 -0
  947. package/types/ComboBox/v3/ComboBoxCTX.d.ts +6 -0
  948. package/types/ComboBox/v3/ComboboxDataTestids.d.ts +11 -0
  949. package/types/ComboBox/v3/config/constants.d.ts +8 -0
  950. package/types/ComboBox/v3/config/useComboBox.d.ts +2 -0
  951. package/types/ComboBox/v3/config/useGetPropsWithDefault.d.ts +2 -0
  952. package/types/ComboBox/v3/index.d.ts +1 -0
  953. package/types/ComboBox/v3/parts/a11y-messages/MultiAllyMessages.d.ts +3 -0
  954. package/types/ComboBox/v3/parts/a11y-messages/SingleAllyMessages.d.ts +3 -0
  955. package/types/ComboBox/v3/parts/a11y-messages/index.d.ts +2 -0
  956. package/types/ComboBox/v3/parts/a11y-messages/styled.d.ts +1 -0
  957. package/types/ComboBox/v3/parts/container/Container.d.ts +3 -0
  958. package/types/ComboBox/v3/parts/container/index.d.ts +1 -0
  959. package/types/ComboBox/v3/parts/container/styled.d.ts +3 -0
  960. package/types/ComboBox/v3/parts/controls/Controls.d.ts +3 -0
  961. package/types/ComboBox/v3/parts/controls/index.d.ts +1 -0
  962. package/types/ComboBox/v3/parts/controls/styled.d.ts +7 -0
  963. package/types/ComboBox/v3/parts/controls-input/ControlsInput.d.ts +3 -0
  964. package/types/ComboBox/v3/parts/controls-input/styled.d.ts +4 -0
  965. package/types/ComboBox/v3/parts/controls-input/useControlsInput.d.ts +12 -0
  966. package/types/ComboBox/v3/parts/dropdown-indicator/DropdownIndicator.d.ts +3 -0
  967. package/types/ComboBox/v3/parts/dropdown-indicator/index.d.ts +0 -0
  968. package/types/ComboBox/v3/parts/dropdown-indicator/styled.d.ts +1 -0
  969. package/types/ComboBox/v3/parts/empty-state/index.d.ts +3 -0
  970. package/types/ComboBox/v3/parts/empty-state/styled.d.ts +2 -0
  971. package/types/ComboBox/v3/parts/header-list/HeaderList.d.ts +3 -0
  972. package/types/ComboBox/v3/parts/header-list/index.d.ts +1 -0
  973. package/types/ComboBox/v3/parts/header-list/styled.d.ts +7 -0
  974. package/types/ComboBox/v3/parts/header-list/useHeaderListHandlers.d.ts +12 -0
  975. package/types/ComboBox/v3/parts/menu-list/MenuList.d.ts +3 -0
  976. package/types/ComboBox/v3/parts/menu-list/index.d.ts +1 -0
  977. package/types/ComboBox/v3/parts/menu-list/styled.d.ts +10 -0
  978. package/types/ComboBox/v3/parts/menu-list/useItemRenderer.d.ts +2 -0
  979. package/types/ComboBox/v3/parts/menu-list/useMenuList.d.ts +2 -0
  980. package/types/ComboBox/v3/parts/multi-selected-values-container/MultiSelectedValuesContainer.d.ts +3 -0
  981. package/types/ComboBox/v3/parts/multi-selected-values-container/index.d.ts +1 -0
  982. package/types/ComboBox/v3/parts/multi-selected-values-container/styled.d.ts +3 -0
  983. package/types/ComboBox/v3/parts/multi-selected-values-container/useGroupPills.d.ts +2 -0
  984. package/types/ComboBox/v3/parts/single-selected-value-container/SingleSelectedValueContainer.d.ts +3 -0
  985. package/types/ComboBox/v3/parts/single-selected-value-container/index.d.ts +1 -0
  986. package/types/ComboBox/v3/parts/single-selected-value-container/styled.d.ts +1 -0
  987. package/types/ComboBox/v3/propTypes.d.ts +51 -0
  988. package/types/ComboBox/v3/tests/combobox-general.test.d.ts +1 -0
  989. package/types/ComboBox/v3/tests/combobox-multi-select.test.d.ts +1 -0
  990. package/types/ComboBox/v3/tests/combobox-single-select.test.d.ts +1 -0
  991. package/types/ComboBox/v3/tests/combobox-special-keys.test.d.ts +1 -0
  992. package/types/ComboBox/v3/tests/utils.d.ts +22 -0
  993. package/types/ComboBox/v3/utils/hooks/useKeyboardNavigation.d.ts +4 -0
  994. package/types/ComboBox/v3/utils/hooks/useOnElementResize.d.ts +3 -0
  995. package/types/ComboBox/v3/utils/listHelper.d.ts +7 -0
  996. package/types/ComboBoxFreeSolo/ComboBoxFreeSolo.d.ts +1 -0
  997. package/types/ComboBoxFreeSolo/index.d.ts +1 -1
  998. package/types/DateInput/DSDateInput.d.ts +2 -2
  999. package/types/DateInput/components/DateInputImpl.d.ts +1 -0
  1000. package/types/DateInput/components/DateInputs.d.ts +1 -0
  1001. package/types/DateInput/index.d.ts +0 -1
  1002. package/types/DateInputV2/components/DSDateInput.d.ts +2 -13
  1003. package/types/DateInputV2/index.d.ts +0 -1
  1004. package/types/ExpandableInput/DSExpandableInput.d.ts +1 -0
  1005. package/types/ExpandableInput/ExpandableInputImpl.d.ts +3 -1
  1006. package/types/ExpandableInput/index.d.ts +1 -1
  1007. package/types/FloatingLabelInput/DSFloatingLabelInput.d.ts +6 -1
  1008. package/types/FloatingLabelInput/FloatingLabelInputImpl.d.ts +1 -0
  1009. package/types/FloatingLabelInput/getSvgPath.d.ts +1 -0
  1010. package/types/FloatingLabelInput/index.d.ts +1 -1
  1011. package/types/FormItem/DSFormItemLayout.d.ts +3 -42
  1012. package/types/FormItem/Error/DSError.d.ts +2 -5
  1013. package/types/FormItem/Feedback.d.ts +1 -0
  1014. package/types/FormItem/Label/DSLabel.d.ts +1 -0
  1015. package/types/FormItem/index.d.ts +1 -1
  1016. package/types/Input/DSInput.d.ts +2 -2
  1017. package/types/Input/InputAddonWrapper.d.ts +3 -1
  1018. package/types/Input/InputImpl.d.ts +1 -0
  1019. package/types/Input/index.d.ts +0 -1
  1020. package/types/InputGroup/AddonWrapper.d.ts +3 -1
  1021. package/types/InputGroup/DSInputGroup.d.ts +2 -10
  1022. package/types/InputGroup/index.d.ts +1 -2
  1023. package/types/InputMask/DSInputMaskDeprecated.d.ts +1 -0
  1024. package/types/InputMask/index.d.ts +0 -1
  1025. package/types/InputMask/mask_types/DateInputMask.d.ts +1 -0
  1026. package/types/InputMask/mask_types/DateTimeInputMask.d.ts +1 -0
  1027. package/types/InputMask/mask_types/DictionaryInputMask.d.ts +1 -0
  1028. package/types/InputMask/mask_types/NumberInputMask.d.ts +1 -0
  1029. package/types/InputMask/mask_types/PhoneInputMask.d.ts +1 -0
  1030. package/types/InputMask/mask_types/PhoneInternationalInputMask.d.ts +1 -0
  1031. package/types/InputMask/mask_types/SsnInputMask.d.ts +1 -0
  1032. package/types/InputMask/mask_types/UsZipCodeInputMask.d.ts +1 -0
  1033. package/types/InputMask/mask_types/ZipCodeSearchInputMask.d.ts +1 -0
  1034. package/types/InputMask/utils/setCaretPosition.d.ts +1 -0
  1035. package/types/InputProtected/DSInputProtected.d.ts +1 -11
  1036. package/types/InputProtected/index.d.ts +0 -1
  1037. package/types/LargeInputText/DSLargeInputText.d.ts +1 -1
  1038. package/types/LargeInputText/index.d.ts +1 -2
  1039. package/types/MenuItem/components/MenuItem/index.d.ts +1 -1
  1040. package/types/MenuItem/components/MultiMenuItem/MultiMenuItem.d.ts +1 -1
  1041. package/types/MenuItem/components/SubmenuItem/index.d.ts +1 -1
  1042. package/types/Radio/Circle.d.ts +3 -2
  1043. package/types/Radio/DSRadio.d.ts +2 -2
  1044. package/types/Radio/index.d.ts +1 -2
  1045. package/types/RadioGroup/DSRadioGroup.d.ts +2 -11
  1046. package/types/RadioGroup/index.d.ts +1 -1
  1047. package/types/RequiredMark/RequiredMark.d.ts +1 -0
  1048. package/types/RequiredMark/index.d.ts +1 -1
  1049. package/types/SearchBox/DSSearchBox.d.ts +2 -22
  1050. package/types/SearchBox/NavSearchBox.d.ts +1 -1
  1051. package/types/SearchBox/index.d.ts +1 -1
  1052. package/types/TextBox/DSTextBox.d.ts +2 -25
  1053. package/types/TextBox/index.d.ts +1 -2
  1054. package/types/TimeInput/DSTimeInput.d.ts +6 -15
  1055. package/types/TimeInput/TimeInputImpl.d.ts +1 -0
  1056. package/types/TimeInput/TimeInputs.d.ts +1 -0
  1057. package/types/TimeInput/index.d.ts +0 -1
  1058. package/types/TimeInput/utils.d.ts +1 -1
  1059. package/types/Toggle/DSToggle.d.ts +2 -14
  1060. package/types/Toggle/DSToggleImpl.d.ts +1 -0
  1061. package/types/Toggle/DSToggleRender.d.ts +1 -0
  1062. package/types/Toggle/index.d.ts +1 -2
  1063. package/types/index.d.ts +4 -25
@@ -1,121 +1,130 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- require('core-js/modules/esnext.async-iterator.filter.js');
6
- require('core-js/modules/esnext.iterator.constructor.js');
7
- require('core-js/modules/esnext.iterator.filter.js');
8
- require('core-js/modules/esnext.async-iterator.for-each.js');
9
- require('core-js/modules/esnext.iterator.for-each.js');
10
- var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
11
- var _defineProperty = require('@babel/runtime/helpers/defineProperty');
12
- require('react');
13
- var DateInputMask = require('./DateInputMask.js');
14
- var DateTimeInputMask = require('./DateTimeInputMask.js');
15
- var DictionaryInputMask = require('./DictionaryInputMask.js');
16
- var NumberInputMask = require('./NumberInputMask.js');
17
- var PhoneInputMask = require('./PhoneInputMask.js');
18
- var PhoneInternationalInputMask = require('./PhoneInternationalInputMask.js');
19
- var SsnInputMask = require('./SsnInputMask.js');
20
- var UsZipCodeInputMask = require('./UsZipCodeInputMask.js');
21
- var ZipCodeSearchInputMask = require('./ZipCodeSearchInputMask.js');
22
- var jsxRuntime = require('react/jsx-runtime');
23
-
24
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
25
-
26
- var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_objectWithoutProperties);
27
- var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_defineProperty);
28
-
29
- const _excluded = ["ignoreCase"],
30
- _excluded2 = ["prefix", "suffix", "includeThousandsSeparator", "thousandsSeparatorSymbol", "allowDecimal", "decimalSymbol", "decimalLimit", "requireDecimal", "allowNegative", "allowLeadingZeroes", "integerLimit"],
31
- _excluded3 = ["prefix", "suffix", "includeThousandsSeparator", "thousandsSeparatorSymbol", "allowDecimal", "decimalSymbol", "decimalLimit", "requireDecimal", "allowNegative", "allowLeadingZeroes", "integerLimit"];
32
-
33
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
34
-
35
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
36
- const dollarSign = '$';
37
- const percentSign = '%';
38
- const emptyString = '';
39
- const comma = ',';
40
- const period = '.';
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __reExport = (target, module2, copyDefault, desc) => {
13
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
+ for (let key of __getOwnPropNames(module2))
15
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
+ }
18
+ return target;
19
+ };
20
+ var __toESM = (module2, isNodeMode) => {
21
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
+ };
23
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
+ return (module2, temp) => {
25
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
+ };
27
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
+ var mask_types_exports = {};
29
+ __export(mask_types_exports, {
30
+ OutOfTheBoxMaskTypes: () => OutOfTheBoxMaskTypes
31
+ });
32
+ var React = __toESM(require("react"));
33
+ var import_react = __toESM(require("react"));
34
+ var import_DateInputMask = require("./DateInputMask");
35
+ var import_DateTimeInputMask = require("./DateTimeInputMask");
36
+ var import_DictionaryInputMask = require("./DictionaryInputMask");
37
+ var import_NumberInputMask = require("./NumberInputMask");
38
+ var import_PhoneInputMask = require("./PhoneInputMask");
39
+ var import_PhoneInternationalInputMask = require("./PhoneInternationalInputMask");
40
+ var import_SsnInputMask = require("./SsnInputMask");
41
+ var import_UsZipCodeInputMask = require("./UsZipCodeInputMask");
42
+ var import_ZipCodeSearchInputMask = require("./ZipCodeSearchInputMask");
43
+ const dollarSign = "$";
44
+ const percentSign = "%";
45
+ const emptyString = "";
46
+ const comma = ",";
47
+ const period = ".";
41
48
  const OutOfTheBoxMaskTypes = {
42
- 'ds-mask-date': props => /*#__PURE__*/jsxRuntime.jsx(DateInputMask, _objectSpread({}, props)),
43
- 'ds-mask-date-time': props => /*#__PURE__*/jsxRuntime.jsx(DateTimeInputMask, _objectSpread({}, props)),
44
- 'ds-mask-dictionary': _ref => {
45
- let {
46
- ignoreCase = true
47
- } = _ref,
48
- rest = _objectWithoutProperties__default["default"](_ref, _excluded);
49
-
50
- return /*#__PURE__*/jsxRuntime.jsx(DictionaryInputMask, _objectSpread({
51
- ignoreCase: ignoreCase
52
- }, rest));
53
- },
54
- 'ds-mask-number': _ref2 => {
55
- let {
56
- prefix = dollarSign,
57
- suffix = emptyString,
58
- includeThousandsSeparator = true,
59
- thousandsSeparatorSymbol = comma,
60
- allowDecimal = false,
61
- decimalSymbol = period,
62
- decimalLimit = 2,
63
- requireDecimal = false,
64
- allowNegative = false,
65
- allowLeadingZeroes = false,
66
- integerLimit = null
67
- } = _ref2,
68
- rest = _objectWithoutProperties__default["default"](_ref2, _excluded2);
69
-
70
- return /*#__PURE__*/jsxRuntime.jsx(NumberInputMask, _objectSpread({
71
- prefix: prefix,
72
- suffix: suffix,
73
- includeThousandsSeparator: includeThousandsSeparator,
74
- thousandsSeparatorSymbol: thousandsSeparatorSymbol,
75
- allowDecimal: allowDecimal,
76
- decimalSymbol: decimalSymbol,
77
- decimalLimit: decimalLimit,
78
- requireDecimal: requireDecimal,
79
- allowNegative: allowNegative,
80
- allowLeadingZeroes: allowLeadingZeroes,
81
- integerLimit: integerLimit
82
- }, rest));
83
- },
84
- 'ds-mask-percent': _ref3 => {
85
- let {
86
- prefix = emptyString,
87
- suffix = percentSign,
88
- includeThousandsSeparator = true,
89
- thousandsSeparatorSymbol = comma,
90
- allowDecimal = false,
91
- decimalSymbol = period,
92
- decimalLimit = 2,
93
- requireDecimal = false,
94
- allowNegative = false,
95
- allowLeadingZeroes = false,
96
- integerLimit = null
97
- } = _ref3,
98
- rest = _objectWithoutProperties__default["default"](_ref3, _excluded3);
99
-
100
- return /*#__PURE__*/jsxRuntime.jsx(NumberInputMask, _objectSpread({
101
- prefix: prefix,
102
- suffix: suffix,
103
- includeThousandsSeparator: includeThousandsSeparator,
104
- thousandsSeparatorSymbol: thousandsSeparatorSymbol,
105
- allowDecimal: allowDecimal,
106
- decimalSymbol: decimalSymbol,
107
- decimalLimit: decimalLimit,
108
- requireDecimal: requireDecimal,
109
- allowNegative: allowNegative,
110
- allowLeadingZeroes: allowLeadingZeroes,
111
- integerLimit: integerLimit
112
- }, rest));
113
- },
114
- 'ds-mask-phone': props => /*#__PURE__*/jsxRuntime.jsx(PhoneInputMask, _objectSpread({}, props)),
115
- 'ds-mask-phone-international': props => /*#__PURE__*/jsxRuntime.jsx(PhoneInternationalInputMask, _objectSpread({}, props)),
116
- 'ds-mask-ssn': props => /*#__PURE__*/jsxRuntime.jsx(SsnInputMask, _objectSpread({}, props)),
117
- 'ds-mask-us-zip-code': props => /*#__PURE__*/jsxRuntime.jsx(UsZipCodeInputMask, _objectSpread({}, props)),
118
- 'ds-mask-zip-code-search': props => /*#__PURE__*/jsxRuntime.jsx(ZipCodeSearchInputMask, _objectSpread({}, props))
49
+ "ds-mask-date": (props) => /* @__PURE__ */ import_react.default.createElement(import_DateInputMask.DateInputMask, {
50
+ ...props
51
+ }),
52
+ "ds-mask-date-time": (props) => /* @__PURE__ */ import_react.default.createElement(import_DateTimeInputMask.DateTimeInputMask, {
53
+ ...props
54
+ }),
55
+ "ds-mask-dictionary": ({ ignoreCase = true, ...rest }) => /* @__PURE__ */ import_react.default.createElement(import_DictionaryInputMask.DictionaryInputMask, {
56
+ ignoreCase,
57
+ ...rest
58
+ }),
59
+ "ds-mask-number": ({
60
+ prefix = dollarSign,
61
+ suffix = emptyString,
62
+ includeThousandsSeparator = true,
63
+ thousandsSeparatorSymbol = comma,
64
+ allowDecimal = false,
65
+ decimalSymbol = period,
66
+ decimalLimit = 2,
67
+ requireDecimal = false,
68
+ allowNegative = false,
69
+ allowLeadingZeroes = false,
70
+ integerLimit = null,
71
+ ...rest
72
+ }) => /* @__PURE__ */ import_react.default.createElement(import_NumberInputMask.NumberInputMask, {
73
+ prefix,
74
+ suffix,
75
+ includeThousandsSeparator,
76
+ thousandsSeparatorSymbol,
77
+ allowDecimal,
78
+ decimalSymbol,
79
+ decimalLimit,
80
+ requireDecimal,
81
+ allowNegative,
82
+ allowLeadingZeroes,
83
+ integerLimit,
84
+ ...rest
85
+ }),
86
+ "ds-mask-percent": ({
87
+ prefix = emptyString,
88
+ suffix = percentSign,
89
+ includeThousandsSeparator = true,
90
+ thousandsSeparatorSymbol = comma,
91
+ allowDecimal = false,
92
+ decimalSymbol = period,
93
+ decimalLimit = 2,
94
+ requireDecimal = false,
95
+ allowNegative = false,
96
+ allowLeadingZeroes = false,
97
+ integerLimit = null,
98
+ ...rest
99
+ }) => /* @__PURE__ */ import_react.default.createElement(import_NumberInputMask.NumberInputMask, {
100
+ prefix,
101
+ suffix,
102
+ includeThousandsSeparator,
103
+ thousandsSeparatorSymbol,
104
+ allowDecimal,
105
+ decimalSymbol,
106
+ decimalLimit,
107
+ requireDecimal,
108
+ allowNegative,
109
+ allowLeadingZeroes,
110
+ integerLimit,
111
+ ...rest
112
+ }),
113
+ "ds-mask-phone": (props) => /* @__PURE__ */ import_react.default.createElement(import_PhoneInputMask.PhoneInputMask, {
114
+ ...props
115
+ }),
116
+ "ds-mask-phone-international": (props) => /* @__PURE__ */ import_react.default.createElement(import_PhoneInternationalInputMask.PhoneInternationalInputMask, {
117
+ ...props
118
+ }),
119
+ "ds-mask-ssn": (props) => /* @__PURE__ */ import_react.default.createElement(import_SsnInputMask.SsnInputMask, {
120
+ ...props
121
+ }),
122
+ "ds-mask-us-zip-code": (props) => /* @__PURE__ */ import_react.default.createElement(import_UsZipCodeInputMask.UsZipCodeInputMask, {
123
+ ...props
124
+ }),
125
+ "ds-mask-zip-code-search": (props) => /* @__PURE__ */ import_react.default.createElement(import_ZipCodeSearchInputMask.ZipCodeSearchInputMask, {
126
+ ...props
127
+ })
119
128
  };
120
-
121
- exports.OutOfTheBoxMaskTypes = OutOfTheBoxMaskTypes;
129
+ module.exports = __toCommonJS(mask_types_exports);
130
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/InputMask/mask_types/index.tsx", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import React from 'react';\nimport { DateInputMask } from './DateInputMask';\nimport { DateTimeInputMask } from './DateTimeInputMask';\nimport { DictionaryInputMask } from './DictionaryInputMask';\nimport { NumberInputMask } from './NumberInputMask';\nimport { PhoneInputMask } from './PhoneInputMask';\nimport { PhoneInternationalInputMask } from './PhoneInternationalInputMask';\nimport { SsnInputMask } from './SsnInputMask';\nimport { UsZipCodeInputMask } from './UsZipCodeInputMask';\nimport { ZipCodeSearchInputMask } from './ZipCodeSearchInputMask';\n\nconst dollarSign = '$';\nconst percentSign = '%';\nconst emptyString = '';\nconst comma = ',';\nconst period = '.';\n\nexport const OutOfTheBoxMaskTypes = {\n 'ds-mask-date': (props) => <DateInputMask {...props} />,\n 'ds-mask-date-time': (props) => <DateTimeInputMask {...props} />,\n 'ds-mask-dictionary': ({ ignoreCase = true, ...rest }) => (\n <DictionaryInputMask ignoreCase={ignoreCase} {...rest} />\n ),\n 'ds-mask-number': ({\n prefix = dollarSign,\n suffix = emptyString,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-percent': ({\n prefix = emptyString,\n suffix = percentSign,\n includeThousandsSeparator = true,\n thousandsSeparatorSymbol = comma,\n allowDecimal = false,\n decimalSymbol = period,\n decimalLimit = 2,\n requireDecimal = false,\n allowNegative = false,\n allowLeadingZeroes = false,\n integerLimit = null,\n ...rest\n }) => (\n <NumberInputMask\n prefix={prefix}\n suffix={suffix}\n includeThousandsSeparator={includeThousandsSeparator}\n thousandsSeparatorSymbol={thousandsSeparatorSymbol}\n allowDecimal={allowDecimal}\n decimalSymbol={decimalSymbol}\n decimalLimit={decimalLimit}\n requireDecimal={requireDecimal}\n allowNegative={allowNegative}\n allowLeadingZeroes={allowLeadingZeroes}\n integerLimit={integerLimit}\n {...rest}\n />\n ),\n 'ds-mask-phone': (props) => <PhoneInputMask {...props} />,\n 'ds-mask-phone-international': (props) => (\n <PhoneInternationalInputMask {...props} />\n ),\n 'ds-mask-ssn': (props) => <SsnInputMask {...props} />,\n 'ds-mask-us-zip-code': (props) => <UsZipCodeInputMask {...props} />,\n 'ds-mask-zip-code-search': (props) => <ZipCodeSearchInputMask {...props} />,\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,mBAAkB;AAClB,2BAA8B;AAC9B,+BAAkC;AAClC,iCAAoC;AACpC,6BAAgC;AAChC,4BAA+B;AAC/B,yCAA4C;AAC5C,0BAA6B;AAC7B,gCAAmC;AACnC,oCAAuC;AAEvC,MAAM,aAAa;AACnB,MAAM,cAAc;AACpB,MAAM,cAAc;AACpB,MAAM,QAAQ;AACd,MAAM,SAAS;AAER,MAAM,uBAAuB;AAAA,EAClC,gBAAgB,CAAC,UAAU,mDAAC,oCAAD;AAAA,OAAmB;AAAA;AAAA,EAC9C,qBAAqB,CAAC,UAAU,mDAAC,4CAAD;AAAA,OAAuB;AAAA;AAAA,EACvD,sBAAsB,CAAC,EAAE,aAAa,SAAS,WAC7C,mDAAC,gDAAD;AAAA,IAAqB;AAAA,OAA4B;AAAA;AAAA,EAEnD,kBAAkB,CAAC;AAAA,IACjB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,OACZ;AAAA,QAEH,mDAAC,wCAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,OACI;AAAA;AAAA,EAGR,mBAAmB,CAAC;AAAA,IAClB,SAAS;AAAA,IACT,SAAS;AAAA,IACT,4BAA4B;AAAA,IAC5B,2BAA2B;AAAA,IAC3B,eAAe;AAAA,IACf,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,qBAAqB;AAAA,IACrB,eAAe;AAAA,OACZ;AAAA,QAEH,mDAAC,wCAAD;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,OACI;AAAA;AAAA,EAGR,iBAAiB,CAAC,UAAU,mDAAC,sCAAD;AAAA,OAAoB;AAAA;AAAA,EAChD,+BAA+B,CAAC,UAC9B,mDAAC,gEAAD;AAAA,OAAiC;AAAA;AAAA,EAEnC,eAAe,CAAC,UAAU,mDAAC,kCAAD;AAAA,OAAkB;AAAA;AAAA,EAC5C,uBAAuB,CAAC,UAAU,mDAAC,8CAAD;AAAA,OAAwB;AAAA;AAAA,EAC1D,2BAA2B,CAAC,UAAU,mDAAC,sDAAD;AAAA,OAA4B;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -1,150 +1,75 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var reactDesc = require('react-desc');
6
-
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __reExport = (target, module2, copyDefault, desc) => {
13
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
+ for (let key of __getOwnPropNames(module2))
15
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
+ }
18
+ return target;
19
+ };
20
+ var __toESM = (module2, isNodeMode) => {
21
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
+ };
23
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
+ return (module2, temp) => {
25
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
+ };
27
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
+ var props_exports = {};
29
+ __export(props_exports, {
30
+ inputProps: () => inputProps
31
+ });
32
+ var React = __toESM(require("react"));
33
+ var import_react_desc = require("react-desc");
7
34
  const inputProps = {
8
- /** Should component focus automatically */
9
- autoFocus: reactDesc.PropTypes.bool.description('Should component focus automatically'),
10
-
11
- /**
12
- * Set style for the input mask
13
- */
14
- style: reactDesc.PropTypes.object.description('Set style for the input mask'),
15
-
16
- /**
17
- * Whether the input mask is disabled or not
18
- */
19
- disabled: reactDesc.PropTypes.bool.description('Whether the input mask is disabled or not'),
20
-
21
- /** disableTooltip */
22
- disableTooltip: reactDesc.PropTypes.bool.description('Whether to show a tooltip or not when text does not fit').defaultValue(true),
23
-
24
- /** css class */
25
- className: reactDesc.PropTypes.string.description('css class'),
26
-
27
- /** html name prop for form */
28
- name: reactDesc.PropTypes.string.description('html name prop for form'),
29
-
30
- /**
31
- * Max length for the input mask
32
- */
33
- maxLength: reactDesc.PropTypes.number.description('Max length for the input mask'),
34
-
35
- /**
36
- * Min length for the input mask
37
- */
38
- minLength: reactDesc.PropTypes.number.description('Min length for the input mask'),
39
-
40
- /**
41
- * Whether to make the content of the input mask fit the container or not
42
- */
43
- fluidWidth: reactDesc.PropTypes.bool.description('Whether to make the content of the input mask fit the container or not'),
44
-
45
- /** isShowElipsisActive */
46
- isShowElipsisActive: reactDesc.PropTypes.bool.description('Wheter to enable the ellipsis and tooltip functionality or not').defaultValue(true),
47
-
48
- /**
49
- * Component that works as placeholder
50
- */
51
- placeholder: reactDesc.PropTypes.node.description('Component that works as placeholder'),
52
-
53
- /**
54
- * Allows a function that is triggered once a key is being pressed
55
- */
56
- onKeyDown: reactDesc.PropTypes.func.description('Allows a function that is triggered once a key is being pressed'),
57
-
58
- /**
59
- * Allows a function that is triggered once the input mask is clicked
60
- */
61
- onClick: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask is clicked'),
62
-
63
- /**
64
- * Allows a function that is triggered once the input mask changes
65
- */
66
- onChange: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask changes'),
67
-
68
- /**
69
- * Allows a function that is triggered once the input mask is focused
70
- */
71
- onFocus: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask is focused'),
72
-
73
- /**
74
- * Allows a function that is triggered once the input mask loses focus
75
- */
76
- onBlur: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask loses focus'),
77
-
78
- /**
79
- * Allows a function that is triggered once the input mask is pasted
80
- */
81
- onPaste: reactDesc.PropTypes.func.description('Allows a function that is triggered once the input mask is pasted'),
82
-
83
- /**
84
- * Allows a function that is triggered once in the input mask a keyboard key is released
85
- */
86
- onKeyUp: reactDesc.PropTypes.func.description('Allows a function that is triggered once in the input mask a keyboard key is released'),
87
-
88
- /**
89
- * Default value once the component is initialized
90
- */
91
- value: reactDesc.PropTypes.string.description('Default value once the component is initialized'),
92
-
93
- /**
94
- * Whether the input mask has error or not
95
- */
96
- hasError: reactDesc.PropTypes.bool.description('Whether the input mask has error or not'),
97
-
98
- /**
99
- * Whether the input mask is read only or not
100
- */
101
- readOnly: reactDesc.PropTypes.bool.description('Whether the input mask is read only or not'),
102
- innerRef: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.func, reactDesc.PropTypes.shape({
103
- current: reactDesc.PropTypes.any
104
- })]).description('Whether the input mask is read only or not'),
105
-
106
- /**
107
- * Type of input. Ex: 'text'
108
- */
109
- type: reactDesc.PropTypes.string.description("Type of input. Ex: 'text'"),
110
-
111
- /**
112
- * Whether the input mask is clearable or not
113
- */
114
- clearable: reactDesc.PropTypes.bool.description('Whether the input mask is clearable or not'),
115
-
116
- /**
117
- * Component to be added at the right side of the input
118
- */
119
- leftComponent: reactDesc.PropTypes.node.description('Component to be added at the right side of the input'),
120
-
121
- /**
122
- * Component to be added at the right side of the input
123
- */
124
- rightComponent: reactDesc.PropTypes.node.description('Component to be added at the right side of the input'),
125
-
126
- /**
127
- * Mask that has to match with the input information entered
128
- * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
129
- */
130
- mask: reactDesc.PropTypes.oneOfType([reactDesc.PropTypes.array, reactDesc.PropTypes.string, reactDesc.PropTypes.func]).description("Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"),
131
-
132
- /**
133
- Expects pipe functions. i.e. autoCorrectedDatePipe
134
- link a docu de text-mask
135
- */
136
- pipe: reactDesc.PropTypes.func.description('Expects pipe functions. i.e. autoCorrectedDatePipe'),
137
-
138
- /**
139
- * Put a sufix after the input mask
140
- */
141
- useSubfix: reactDesc.PropTypes.string.description('Put a sufix after the input mask'),
142
-
143
- /**
144
- * The placeholder character represents the fillable spot in the mask.
145
- * The default placeholder character is underscore, _
146
- */
147
- placeholderChar: reactDesc.PropTypes.string.description("The placeholder character represents the fillable spot in the mask.\n The default placeholder character is underscore, _.").defaultValue('_')
35
+ autoFocus: import_react_desc.PropTypes.bool.description("Should component focus automatically"),
36
+ style: import_react_desc.PropTypes.object.description("Set style for the input mask"),
37
+ disabled: import_react_desc.PropTypes.bool.description("Whether the input mask is disabled or not"),
38
+ disableTooltip: import_react_desc.PropTypes.bool.description("Whether to show a tooltip or not when text does not fit").defaultValue(true),
39
+ className: import_react_desc.PropTypes.string.description("css class"),
40
+ name: import_react_desc.PropTypes.string.description("html name prop for form"),
41
+ maxLength: import_react_desc.PropTypes.number.description("Max length for the input mask"),
42
+ minLength: import_react_desc.PropTypes.number.description("Min length for the input mask"),
43
+ fluidWidth: import_react_desc.PropTypes.bool.description("Whether to make the content of the input mask fit the container or not"),
44
+ isShowElipsisActive: import_react_desc.PropTypes.bool.description("Wheter to enable the ellipsis and tooltip functionality or not").defaultValue(true),
45
+ placeholder: import_react_desc.PropTypes.node.description("Component that works as placeholder"),
46
+ onKeyDown: import_react_desc.PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
47
+ onClick: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask is clicked"),
48
+ onChange: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask changes"),
49
+ onFocus: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask is focused"),
50
+ onBlur: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask loses focus"),
51
+ onPaste: import_react_desc.PropTypes.func.description("Allows a function that is triggered once the input mask is pasted"),
52
+ onKeyUp: import_react_desc.PropTypes.func.description("Allows a function that is triggered once in the input mask a keyboard key is released"),
53
+ value: import_react_desc.PropTypes.string.description("Default value once the component is initialized"),
54
+ hasError: import_react_desc.PropTypes.bool.description("Whether the input mask has error or not"),
55
+ readOnly: import_react_desc.PropTypes.bool.description("Whether the input mask is read only or not"),
56
+ innerRef: import_react_desc.PropTypes.oneOfType([
57
+ import_react_desc.PropTypes.func,
58
+ import_react_desc.PropTypes.shape({ current: import_react_desc.PropTypes.any })
59
+ ]).description("Whether the input mask is read only or not"),
60
+ type: import_react_desc.PropTypes.string.description("Type of input. Ex: 'text'"),
61
+ clearable: import_react_desc.PropTypes.bool.description("Whether the input mask is clearable or not"),
62
+ leftComponent: import_react_desc.PropTypes.node.description("Component to be added at the right side of the input"),
63
+ rightComponent: import_react_desc.PropTypes.node.description("Component to be added at the right side of the input"),
64
+ mask: import_react_desc.PropTypes.oneOfType([
65
+ import_react_desc.PropTypes.array,
66
+ import_react_desc.PropTypes.string,
67
+ import_react_desc.PropTypes.func
68
+ ]).description("Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"),
69
+ pipe: import_react_desc.PropTypes.func.description("Expects pipe functions. i.e. autoCorrectedDatePipe"),
70
+ useSubfix: import_react_desc.PropTypes.string.description("Put a sufix after the input mask"),
71
+ placeholderChar: import_react_desc.PropTypes.string.description(`The placeholder character represents the fillable spot in the mask.
72
+ The default placeholder character is underscore, _.`).defaultValue("_")
148
73
  };
149
-
150
- exports.inputProps = inputProps;
74
+ module.exports = __toCommonJS(props_exports);
75
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../src/InputMask/props.tsx", "../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import { PropTypes } from 'react-desc';\n\nexport const inputProps = {\n /** Should component focus automatically */\n autoFocus: PropTypes.bool.description('Should component focus automatically'),\n /**\n * Set style for the input mask\n */\n style: PropTypes.object.description('Set style for the input mask'),\n /**\n * Whether the input mask is disabled or not\n */\n disabled: PropTypes.bool.description(\n 'Whether the input mask is disabled or not',\n ),\n /** disableTooltip */\n disableTooltip: PropTypes.bool\n .description('Whether to show a tooltip or not when text does not fit')\n .defaultValue(true),\n /** css class */\n className: PropTypes.string.description('css class'),\n /** html name prop for form */\n name: PropTypes.string.description('html name prop for form'),\n /**\n * Max length for the input mask\n */\n maxLength: PropTypes.number.description('Max length for the input mask'),\n /**\n * Min length for the input mask\n */\n minLength: PropTypes.number.description('Min length for the input mask'),\n /**\n * Whether to make the content of the input mask fit the container or not\n */\n fluidWidth: PropTypes.bool.description(\n 'Whether to make the content of the input mask fit the container or not',\n ),\n /** isShowElipsisActive */\n isShowElipsisActive: PropTypes.bool\n .description(\n 'Wheter to enable the ellipsis and tooltip functionality or not',\n )\n .defaultValue(true),\n /**\n * Component that works as placeholder\n */\n placeholder: PropTypes.node.description(\n 'Component that works as placeholder',\n ),\n /**\n * Allows a function that is triggered once a key is being pressed\n */\n onKeyDown: PropTypes.func.description(\n 'Allows a function that is triggered once a key is being pressed',\n ),\n /**\n * Allows a function that is triggered once the input mask is clicked\n */\n onClick: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is clicked',\n ),\n /**\n * Allows a function that is triggered once the input mask changes\n */\n onChange: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask changes',\n ),\n /**\n * Allows a function that is triggered once the input mask is focused\n */\n onFocus: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is focused',\n ),\n /**\n * Allows a function that is triggered once the input mask loses focus\n */\n onBlur: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask loses focus',\n ),\n /**\n * Allows a function that is triggered once the input mask is pasted\n */\n onPaste: PropTypes.func.description(\n 'Allows a function that is triggered once the input mask is pasted',\n ),\n /**\n * Allows a function that is triggered once in the input mask a keyboard key is released\n */\n onKeyUp: PropTypes.func.description(\n 'Allows a function that is triggered once in the input mask a keyboard key is released',\n ),\n /**\n * Default value once the component is initialized\n */\n value: PropTypes.string.description(\n 'Default value once the component is initialized',\n ),\n /**\n * Whether the input mask has error or not\n */\n hasError: PropTypes.bool.description(\n 'Whether the input mask has error or not',\n ),\n /**\n * Whether the input mask is read only or not\n */\n readOnly: PropTypes.bool.description(\n 'Whether the input mask is read only or not',\n ),\n innerRef: PropTypes.oneOfType([\n PropTypes.func,\n PropTypes.shape({ current: PropTypes.any }),\n ]).description('Whether the input mask is read only or not'),\n /**\n * Type of input. Ex: 'text'\n */\n type: PropTypes.string.description(\"Type of input. Ex: 'text'\"),\n /**\n * Whether the input mask is clearable or not\n */\n clearable: PropTypes.bool.description(\n 'Whether the input mask is clearable or not',\n ),\n /**\n * Component to be added at the right side of the input\n */\n leftComponent: PropTypes.node.description(\n 'Component to be added at the right side of the input',\n ),\n /**\n * Component to be added at the right side of the input\n */\n rightComponent: PropTypes.node.description(\n 'Component to be added at the right side of the input',\n ),\n /**\n * Mask that has to match with the input information entered\n * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']\n */\n mask: PropTypes.oneOfType([\n PropTypes.array,\n PropTypes.string,\n PropTypes.func,\n ]).description(\n \"Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']\",\n ),\n /**\n Expects pipe functions. i.e. autoCorrectedDatePipe\n link a docu de text-mask\n */\n pipe: PropTypes.func.description(\n 'Expects pipe functions. i.e. autoCorrectedDatePipe',\n ),\n /**\n * Put a sufix after the input mask\n */\n useSubfix: PropTypes.string.description('Put a sufix after the input mask'),\n /**\n * The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _\n */\n placeholderChar: PropTypes.string\n .description(\n `The placeholder character represents the fillable spot in the mask.\n The default placeholder character is underscore, _.`,\n )\n .defaultValue('_'),\n};\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;ACAA,YAAuB;ADAvB,wBAA0B;AAEnB,MAAM,aAAa;AAAA,EAExB,WAAW,4BAAU,KAAK,YAAY;AAAA,EAItC,OAAO,4BAAU,OAAO,YAAY;AAAA,EAIpC,UAAU,4BAAU,KAAK,YACvB;AAAA,EAGF,gBAAgB,4BAAU,KACvB,YAAY,2DACZ,aAAa;AAAA,EAEhB,WAAW,4BAAU,OAAO,YAAY;AAAA,EAExC,MAAM,4BAAU,OAAO,YAAY;AAAA,EAInC,WAAW,4BAAU,OAAO,YAAY;AAAA,EAIxC,WAAW,4BAAU,OAAO,YAAY;AAAA,EAIxC,YAAY,4BAAU,KAAK,YACzB;AAAA,EAGF,qBAAqB,4BAAU,KAC5B,YACC,kEAED,aAAa;AAAA,EAIhB,aAAa,4BAAU,KAAK,YAC1B;AAAA,EAKF,WAAW,4BAAU,KAAK,YACxB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,UAAU,4BAAU,KAAK,YACvB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,QAAQ,4BAAU,KAAK,YACrB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,SAAS,4BAAU,KAAK,YACtB;AAAA,EAKF,OAAO,4BAAU,OAAO,YACtB;AAAA,EAKF,UAAU,4BAAU,KAAK,YACvB;AAAA,EAKF,UAAU,4BAAU,KAAK,YACvB;AAAA,EAEF,UAAU,4BAAU,UAAU;AAAA,IAC5B,4BAAU;AAAA,IACV,4BAAU,MAAM,EAAE,SAAS,4BAAU;AAAA,KACpC,YAAY;AAAA,EAIf,MAAM,4BAAU,OAAO,YAAY;AAAA,EAInC,WAAW,4BAAU,KAAK,YACxB;AAAA,EAKF,eAAe,4BAAU,KAAK,YAC5B;AAAA,EAKF,gBAAgB,4BAAU,KAAK,YAC7B;AAAA,EAMF,MAAM,4BAAU,UAAU;AAAA,IACxB,4BAAU;AAAA,IACV,4BAAU;AAAA,IACV,4BAAU;AAAA,KACT,YACD;AAAA,EAMF,MAAM,4BAAU,KAAK,YACnB;AAAA,EAKF,WAAW,4BAAU,OAAO,YAAY;AAAA,EAKxC,iBAAiB,4BAAU,OACxB,YACC;AAAA,uDAGD,aAAa;AAAA;",
6
+ "names": []
7
+ }
@@ -1,2 +1,27 @@
1
- 'use strict';
2
-
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
+ var __reExport = (target, module2, copyDefault, desc) => {
9
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
10
+ for (let key of __getOwnPropNames(module2))
11
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
12
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
13
+ }
14
+ return target;
15
+ };
16
+ var __toESM = (module2, isNodeMode) => {
17
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
18
+ };
19
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
20
+ return (module2, temp) => {
21
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
22
+ };
23
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
24
+ var types_exports = {};
25
+ var React = __toESM(require("react"));
26
+ module.exports = __toCommonJS(types_exports);
27
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/InputMask/types/index.ts", "../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["export type TCharsToAdd = [string, number][];\n\nexport type TLastkey = { code: number; key: string };\n", "import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;ACAA,YAAuB;",
6
+ "names": []
7
+ }
@@ -1,17 +1,48 @@
1
- 'use strict';
2
-
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __reExport = (target, module2, copyDefault, desc) => {
13
+ if (module2 && typeof module2 === "object" || typeof module2 === "function") {
14
+ for (let key of __getOwnPropNames(module2))
15
+ if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
16
+ __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
17
+ }
18
+ return target;
19
+ };
20
+ var __toESM = (module2, isNodeMode) => {
21
+ return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
22
+ };
23
+ var __toCommonJS = /* @__PURE__ */ ((cache) => {
24
+ return (module2, temp) => {
25
+ return cache && cache.get(module2) || (temp = __reExport(__markAsModule({}), module2, 1), cache && cache.set(module2, temp), temp);
26
+ };
27
+ })(typeof WeakMap !== "undefined" ? /* @__PURE__ */ new WeakMap() : 0);
28
+ var setCaretPosition_exports = {};
29
+ __export(setCaretPosition_exports, {
30
+ default: () => setCaretPosition_default,
31
+ setCaretPosition: () => setCaretPosition
32
+ });
33
+ var React = __toESM(require("react"));
3
34
  const setCaretPosition = (ctrl, pos) => {
4
- // Modern browsers
5
- if (ctrl !== null && ctrl !== void 0 && ctrl.setSelectionRange) {
6
- ctrl === null || ctrl === void 0 ? void 0 : ctrl.focus();
7
- ctrl === null || ctrl === void 0 ? void 0 : ctrl.setSelectionRange(pos, pos); // IE8 and below
8
- } else if (ctrl !== null && ctrl !== void 0 && ctrl.createTextRange) {
9
- const range = ctrl === null || ctrl === void 0 ? void 0 : ctrl.createTextRange();
10
- range === null || range === void 0 ? void 0 : range.collapse(true);
11
- range === null || range === void 0 ? void 0 : range.moveEnd('character', pos);
12
- range === null || range === void 0 ? void 0 : range.moveStart('character', pos);
13
- range === null || range === void 0 ? void 0 : range.select();
35
+ if (ctrl?.setSelectionRange) {
36
+ ctrl?.focus();
37
+ ctrl?.setSelectionRange(pos, pos);
38
+ } else if (ctrl?.createTextRange) {
39
+ const range = ctrl?.createTextRange();
40
+ range?.collapse(true);
41
+ range?.moveEnd("character", pos);
42
+ range?.moveStart("character", pos);
43
+ range?.select();
14
44
  }
15
45
  };
16
-
17
- module.exports = setCaretPosition;
46
+ var setCaretPosition_default = setCaretPosition;
47
+ module.exports = __toCommonJS(setCaretPosition_exports);
48
+ //# sourceMappingURL=setCaretPosition.js.map