@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,146 +1,46 @@
1
- import { PropTypes } from 'react-desc';
2
-
1
+ import * as React from "react";
2
+ import { PropTypes } from "react-desc";
3
3
  const inputProps = {
4
- /** Should component focus automatically */
5
- autoFocus: PropTypes.bool.description('Should component focus automatically'),
6
-
7
- /**
8
- * Set style for the input mask
9
- */
10
- style: PropTypes.object.description('Set style for the input mask'),
11
-
12
- /**
13
- * Whether the input mask is disabled or not
14
- */
15
- disabled: PropTypes.bool.description('Whether the input mask is disabled or not'),
16
-
17
- /** disableTooltip */
18
- disableTooltip: PropTypes.bool.description('Whether to show a tooltip or not when text does not fit').defaultValue(true),
19
-
20
- /** css class */
21
- className: PropTypes.string.description('css class'),
22
-
23
- /** html name prop for form */
24
- name: PropTypes.string.description('html name prop for form'),
25
-
26
- /**
27
- * Max length for the input mask
28
- */
29
- maxLength: PropTypes.number.description('Max length for the input mask'),
30
-
31
- /**
32
- * Min length for the input mask
33
- */
34
- minLength: PropTypes.number.description('Min length for the input mask'),
35
-
36
- /**
37
- * Whether to make the content of the input mask fit the container or not
38
- */
39
- fluidWidth: PropTypes.bool.description('Whether to make the content of the input mask fit the container or not'),
40
-
41
- /** isShowElipsisActive */
42
- isShowElipsisActive: PropTypes.bool.description('Wheter to enable the ellipsis and tooltip functionality or not').defaultValue(true),
43
-
44
- /**
45
- * Component that works as placeholder
46
- */
47
- placeholder: PropTypes.node.description('Component that works as placeholder'),
48
-
49
- /**
50
- * Allows a function that is triggered once a key is being pressed
51
- */
52
- onKeyDown: PropTypes.func.description('Allows a function that is triggered once a key is being pressed'),
53
-
54
- /**
55
- * Allows a function that is triggered once the input mask is clicked
56
- */
57
- onClick: PropTypes.func.description('Allows a function that is triggered once the input mask is clicked'),
58
-
59
- /**
60
- * Allows a function that is triggered once the input mask changes
61
- */
62
- onChange: PropTypes.func.description('Allows a function that is triggered once the input mask changes'),
63
-
64
- /**
65
- * Allows a function that is triggered once the input mask is focused
66
- */
67
- onFocus: PropTypes.func.description('Allows a function that is triggered once the input mask is focused'),
68
-
69
- /**
70
- * Allows a function that is triggered once the input mask loses focus
71
- */
72
- onBlur: PropTypes.func.description('Allows a function that is triggered once the input mask loses focus'),
73
-
74
- /**
75
- * Allows a function that is triggered once the input mask is pasted
76
- */
77
- onPaste: PropTypes.func.description('Allows a function that is triggered once the input mask is pasted'),
78
-
79
- /**
80
- * Allows a function that is triggered once in the input mask a keyboard key is released
81
- */
82
- onKeyUp: PropTypes.func.description('Allows a function that is triggered once in the input mask a keyboard key is released'),
83
-
84
- /**
85
- * Default value once the component is initialized
86
- */
87
- value: PropTypes.string.description('Default value once the component is initialized'),
88
-
89
- /**
90
- * Whether the input mask has error or not
91
- */
92
- hasError: PropTypes.bool.description('Whether the input mask has error or not'),
93
-
94
- /**
95
- * Whether the input mask is read only or not
96
- */
97
- readOnly: PropTypes.bool.description('Whether the input mask is read only or not'),
98
- innerRef: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
99
- current: PropTypes.any
100
- })]).description('Whether the input mask is read only or not'),
101
-
102
- /**
103
- * Type of input. Ex: 'text'
104
- */
4
+ autoFocus: PropTypes.bool.description("Should component focus automatically"),
5
+ style: PropTypes.object.description("Set style for the input mask"),
6
+ disabled: PropTypes.bool.description("Whether the input mask is disabled or not"),
7
+ disableTooltip: PropTypes.bool.description("Whether to show a tooltip or not when text does not fit").defaultValue(true),
8
+ className: PropTypes.string.description("css class"),
9
+ name: PropTypes.string.description("html name prop for form"),
10
+ maxLength: PropTypes.number.description("Max length for the input mask"),
11
+ minLength: PropTypes.number.description("Min length for the input mask"),
12
+ fluidWidth: PropTypes.bool.description("Whether to make the content of the input mask fit the container or not"),
13
+ isShowElipsisActive: PropTypes.bool.description("Wheter to enable the ellipsis and tooltip functionality or not").defaultValue(true),
14
+ placeholder: PropTypes.node.description("Component that works as placeholder"),
15
+ onKeyDown: PropTypes.func.description("Allows a function that is triggered once a key is being pressed"),
16
+ onClick: PropTypes.func.description("Allows a function that is triggered once the input mask is clicked"),
17
+ onChange: PropTypes.func.description("Allows a function that is triggered once the input mask changes"),
18
+ onFocus: PropTypes.func.description("Allows a function that is triggered once the input mask is focused"),
19
+ onBlur: PropTypes.func.description("Allows a function that is triggered once the input mask loses focus"),
20
+ onPaste: PropTypes.func.description("Allows a function that is triggered once the input mask is pasted"),
21
+ onKeyUp: PropTypes.func.description("Allows a function that is triggered once in the input mask a keyboard key is released"),
22
+ value: PropTypes.string.description("Default value once the component is initialized"),
23
+ hasError: PropTypes.bool.description("Whether the input mask has error or not"),
24
+ readOnly: PropTypes.bool.description("Whether the input mask is read only or not"),
25
+ innerRef: PropTypes.oneOfType([
26
+ PropTypes.func,
27
+ PropTypes.shape({ current: PropTypes.any })
28
+ ]).description("Whether the input mask is read only or not"),
105
29
  type: PropTypes.string.description("Type of input. Ex: 'text'"),
106
-
107
- /**
108
- * Whether the input mask is clearable or not
109
- */
110
- clearable: PropTypes.bool.description('Whether the input mask is clearable or not'),
111
-
112
- /**
113
- * Component to be added at the right side of the input
114
- */
115
- leftComponent: PropTypes.node.description('Component to be added at the right side of the input'),
116
-
117
- /**
118
- * Component to be added at the right side of the input
119
- */
120
- rightComponent: PropTypes.node.description('Component to be added at the right side of the input'),
121
-
122
- /**
123
- * Mask that has to match with the input information entered
124
- * ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT']
125
- */
126
- mask: PropTypes.oneOfType([PropTypes.array, PropTypes.string, 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']"),
127
-
128
- /**
129
- Expects pipe functions. i.e. autoCorrectedDatePipe
130
- link a docu de text-mask
131
- */
132
- pipe: PropTypes.func.description('Expects pipe functions. i.e. autoCorrectedDatePipe'),
133
-
134
- /**
135
- * Put a sufix after the input mask
136
- */
137
- useSubfix: PropTypes.string.description('Put a sufix after the input mask'),
138
-
139
- /**
140
- * The placeholder character represents the fillable spot in the mask.
141
- * The default placeholder character is underscore, _
142
- */
143
- placeholderChar: PropTypes.string.description("The placeholder character represents the fillable spot in the mask.\n The default placeholder character is underscore, _.").defaultValue('_')
30
+ clearable: PropTypes.bool.description("Whether the input mask is clearable or not"),
31
+ leftComponent: PropTypes.node.description("Component to be added at the right side of the input"),
32
+ rightComponent: PropTypes.node.description("Component to be added at the right side of the input"),
33
+ mask: PropTypes.oneOfType([
34
+ PropTypes.array,
35
+ PropTypes.string,
36
+ PropTypes.func
37
+ ]).description("Mask that has to match with the input information entered. ['DATE', 'PHONE', 'PHONE_INTENATIONAL', 'SSN', 'US_ZIP_CODE', 'NUMBER', 'PERCENT', 'ZIP_CODE_SEARCH']"),
38
+ pipe: PropTypes.func.description("Expects pipe functions. i.e. autoCorrectedDatePipe"),
39
+ useSubfix: PropTypes.string.description("Put a sufix after the input mask"),
40
+ placeholderChar: PropTypes.string.description(`The placeholder character represents the fillable spot in the mask.
41
+ The default placeholder character is underscore, _.`).defaultValue("_")
144
42
  };
145
-
146
- export { inputProps };
43
+ export {
44
+ inputProps
45
+ };
46
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputMask/props.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "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"],
5
+ "mappings": "AAAA;ACAA;AAEO,MAAM,aAAa;AAAA,EAExB,WAAW,UAAU,KAAK,YAAY;AAAA,EAItC,OAAO,UAAU,OAAO,YAAY;AAAA,EAIpC,UAAU,UAAU,KAAK,YACvB;AAAA,EAGF,gBAAgB,UAAU,KACvB,YAAY,2DACZ,aAAa;AAAA,EAEhB,WAAW,UAAU,OAAO,YAAY;AAAA,EAExC,MAAM,UAAU,OAAO,YAAY;AAAA,EAInC,WAAW,UAAU,OAAO,YAAY;AAAA,EAIxC,WAAW,UAAU,OAAO,YAAY;AAAA,EAIxC,YAAY,UAAU,KAAK,YACzB;AAAA,EAGF,qBAAqB,UAAU,KAC5B,YACC,kEAED,aAAa;AAAA,EAIhB,aAAa,UAAU,KAAK,YAC1B;AAAA,EAKF,WAAW,UAAU,KAAK,YACxB;AAAA,EAKF,SAAS,UAAU,KAAK,YACtB;AAAA,EAKF,UAAU,UAAU,KAAK,YACvB;AAAA,EAKF,SAAS,UAAU,KAAK,YACtB;AAAA,EAKF,QAAQ,UAAU,KAAK,YACrB;AAAA,EAKF,SAAS,UAAU,KAAK,YACtB;AAAA,EAKF,SAAS,UAAU,KAAK,YACtB;AAAA,EAKF,OAAO,UAAU,OAAO,YACtB;AAAA,EAKF,UAAU,UAAU,KAAK,YACvB;AAAA,EAKF,UAAU,UAAU,KAAK,YACvB;AAAA,EAEF,UAAU,UAAU,UAAU;AAAA,IAC5B,UAAU;AAAA,IACV,UAAU,MAAM,EAAE,SAAS,UAAU;AAAA,KACpC,YAAY;AAAA,EAIf,MAAM,UAAU,OAAO,YAAY;AAAA,EAInC,WAAW,UAAU,KAAK,YACxB;AAAA,EAKF,eAAe,UAAU,KAAK,YAC5B;AAAA,EAKF,gBAAgB,UAAU,KAAK,YAC7B;AAAA,EAMF,MAAM,UAAU,UAAU;AAAA,IACxB,UAAU;AAAA,IACV,UAAU;AAAA,IACV,UAAU;AAAA,KACT,YACD;AAAA,EAMF,MAAM,UAAU,KAAK,YACnB;AAAA,EAKF,WAAW,UAAU,OAAO,YAAY;AAAA,EAKxC,iBAAiB,UAAU,OACxB,YACC;AAAA,uDAGD,aAAa;AAAA;",
6
+ "names": []
7
+ }
@@ -1 +1,2 @@
1
-
1
+ import * as React from "react";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n"],
5
+ "mappings": "AAAA;",
6
+ "names": []
7
+ }
@@ -1,15 +1,19 @@
1
+ import * as React from "react";
1
2
  const setCaretPosition = (ctrl, pos) => {
2
- // Modern browsers
3
- if (ctrl !== null && ctrl !== void 0 && ctrl.setSelectionRange) {
4
- ctrl === null || ctrl === void 0 ? void 0 : ctrl.focus();
5
- ctrl === null || ctrl === void 0 ? void 0 : ctrl.setSelectionRange(pos, pos); // IE8 and below
6
- } else if (ctrl !== null && ctrl !== void 0 && ctrl.createTextRange) {
7
- const range = ctrl === null || ctrl === void 0 ? void 0 : ctrl.createTextRange();
8
- range === null || range === void 0 ? void 0 : range.collapse(true);
9
- range === null || range === void 0 ? void 0 : range.moveEnd('character', pos);
10
- range === null || range === void 0 ? void 0 : range.moveStart('character', pos);
11
- range === null || range === void 0 ? void 0 : range.select();
3
+ if (ctrl?.setSelectionRange) {
4
+ ctrl?.focus();
5
+ ctrl?.setSelectionRange(pos, pos);
6
+ } else if (ctrl?.createTextRange) {
7
+ const range = ctrl?.createTextRange();
8
+ range?.collapse(true);
9
+ range?.moveEnd("character", pos);
10
+ range?.moveStart("character", pos);
11
+ range?.select();
12
12
  }
13
13
  };
14
-
15
- export { setCaretPosition as default };
14
+ var setCaretPosition_default = setCaretPosition;
15
+ export {
16
+ setCaretPosition_default as default,
17
+ setCaretPosition
18
+ };
19
+ //# sourceMappingURL=setCaretPosition.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../scripts/build/transpile/react-shim.js", "../../../../src/InputMask/utils/setCaretPosition.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "const setCaretPosition = (ctrl, pos) => {\n // Modern browsers\n if (ctrl?.setSelectionRange) {\n ctrl?.focus();\n ctrl?.setSelectionRange(pos, pos);\n\n // IE8 and below\n } else if (ctrl?.createTextRange) {\n const range = ctrl?.createTextRange();\n range?.collapse(true);\n range?.moveEnd('character', pos);\n range?.moveStart('character', pos);\n range?.select();\n }\n};\n\nexport { setCaretPosition };\nexport default setCaretPosition;\n"],
5
+ "mappings": "AAAA;ACAA,MAAM,mBAAmB,CAAC,MAAM,QAAQ;AAEtC,MAAI,MAAM,mBAAmB;AAC3B,UAAM;AACN,UAAM,kBAAkB,KAAK;AAAA,aAGpB,MAAM,iBAAiB;AAChC,UAAM,QAAQ,MAAM;AACpB,WAAO,SAAS;AAChB,WAAO,QAAQ,aAAa;AAC5B,WAAO,UAAU,aAAa;AAC9B,WAAO;AAAA;AAAA;AAKX,IAAO,2BAAQ;",
6
+ "names": []
7
+ }
@@ -1,48 +1,30 @@
1
- import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
- import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
3
- import _jsx from '@babel/runtime/helpers/esm/jsx';
4
- import 'core-js/modules/web.dom-collections.iterator.js';
5
- import 'core-js/modules/esnext.async-iterator.filter.js';
6
- import 'core-js/modules/esnext.iterator.constructor.js';
7
- import 'core-js/modules/esnext.iterator.filter.js';
8
- import 'core-js/modules/esnext.async-iterator.for-each.js';
9
- import 'core-js/modules/esnext.iterator.for-each.js';
10
- import { useState, useEffect, useCallback } from 'react';
11
- import { describe } from 'react-desc';
12
- import { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from '@elliemae/ds-icons';
13
- import DSButton from '@elliemae/ds-button';
14
- import DSInputGroup from '../InputGroup/DSInputGroup.js';
15
- import { DSInputMask } from '../InputMask/DSInputMask.js';
16
- import { inputProtectedProps } from './props.js';
17
- import { defaultProps } from './defaultProps.js';
18
- import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options.js';
19
- import { jsx } from 'react/jsx-runtime';
20
-
21
- const _excluded = ["leftAddon", "rightAddon", "onChange", "value", "readOnly", "mask", "type", "placeholderChar"];
22
-
23
- 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; }
24
-
25
- 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(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; }
1
+ import * as React from "react";
2
+ import React2, { useState, useCallback, useEffect } from "react";
3
+ import { describe } from "react-desc";
4
+ import { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from "@elliemae/ds-icons";
5
+ import { DSButton } from "@elliemae/ds-button";
6
+ import { DSInputGroup } from "../InputGroup";
7
+ import { DSInputMask } from "../InputMask";
8
+ import { inputProtectedProps } from "./props";
9
+ import { defaultProps } from "./defaultProps";
10
+ import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options";
26
11
  const ADDON_ICON_OPTIONS = {
27
- LockUnlocked: /*#__PURE__*/_jsx(LockUnlocked, {}),
28
- LockLocked: /*#__PURE__*/_jsx(LockLocked, {}),
29
- VisibleView: /*#__PURE__*/_jsx(VisibleView, {}),
30
- InvisibleHide: /*#__PURE__*/_jsx(InvisibleHide, {})
12
+ LockUnlocked: /* @__PURE__ */ React2.createElement(LockUnlocked, null),
13
+ LockLocked: /* @__PURE__ */ React2.createElement(LockLocked, null),
14
+ VisibleView: /* @__PURE__ */ React2.createElement(VisibleView, null),
15
+ InvisibleHide: /* @__PURE__ */ React2.createElement(InvisibleHide, null)
31
16
  };
32
-
33
- const DSInputProtected = _ref => {
34
- let {
35
- leftAddon,
36
- rightAddon,
37
- onChange,
38
- value,
39
- readOnly,
40
- mask,
41
- type,
42
- placeholderChar = undefined
43
- } = _ref,
44
- rest = _objectWithoutProperties(_ref, _excluded);
45
-
17
+ const DSInputProtected = ({
18
+ leftAddon,
19
+ rightAddon,
20
+ onChange,
21
+ value,
22
+ readOnly,
23
+ mask,
24
+ type,
25
+ placeholderChar = void 0,
26
+ ...rest
27
+ }) => {
46
28
  const left = leftAddon && ADDON_ICON_OPTIONS[leftAddon];
47
29
  const right = rightAddon && ADDON_ICON_OPTIONS[rightAddon];
48
30
  const [inputLocked, setLocked] = useState(leftAddon === LEFT_ADDON_OPTIONS.LockLocked);
@@ -57,35 +39,41 @@ const DSInputProtected = _ref => {
57
39
  const handleRight = useCallback(() => {
58
40
  setHidden(!inputHidden);
59
41
  }, [rightAddon, inputHidden]);
60
- return /*#__PURE__*/_jsx("div", {}, void 0, /*#__PURE__*/_jsx(DSInputGroup, {
61
- leftAddon: left ? /*#__PURE__*/_jsx(DSButton, {
62
- "aria-label": "".concat(inputLocked ? 'Allow' : 'Disallow', " Edition"),
42
+ return /* @__PURE__ */ React2.createElement("div", null, /* @__PURE__ */ React2.createElement(DSInputGroup, {
43
+ leftAddon: left ? /* @__PURE__ */ React2.createElement(DSButton, {
44
+ "aria-label": `${inputLocked ? "Allow" : "Disallow"} Edition`,
63
45
  buttonType: "secondary",
64
46
  icon: ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.LockUnlocked : LEFT_ADDON_OPTIONS.LockLocked],
65
47
  onClick: handleLeft
66
- }) : undefined,
48
+ }) : void 0,
67
49
  readOnly: left ? inputLocked : readOnly,
68
- rightAddon: right ? /*#__PURE__*/_jsx(DSButton, {
69
- "aria-label": "".concat(inputHidden ? 'Show' : 'Hide', " Characters"),
50
+ rightAddon: right ? /* @__PURE__ */ React2.createElement(DSButton, {
51
+ "aria-label": `${inputHidden ? "Show" : "Hide"} Characters`,
70
52
  buttonType: "secondary",
71
53
  icon: ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.VisibleView : RIGHT_ADDON_OPTIONS.InvisibleHide],
72
54
  onClick: handleRight,
73
55
  containerProps: {
74
- 'data-testid': 'inputprotected-show-hide-button'
56
+ "data-testid": "inputprotected-show-hide-button"
75
57
  }
76
- }) : undefined
77
- }, void 0, /*#__PURE__*/jsx(DSInputMask, _objectSpread(_objectSpread({}, rest), {}, {
78
- mask: mask,
79
- placeholderChar: placeholderChar,
80
- onChange: onChange,
58
+ }) : void 0
59
+ }, /* @__PURE__ */ React2.createElement(DSInputMask, {
60
+ ...rest,
61
+ mask,
62
+ placeholderChar,
63
+ onChange,
81
64
  readOnly: left ? inputLocked : readOnly,
82
- type: right && inputHidden ? 'password' : type,
83
- value: value
84
- }))));
65
+ type: right && inputHidden ? "password" : type,
66
+ value
67
+ })));
85
68
  };
86
-
69
+ DSInputProtected.propTypes = inputProtectedProps;
87
70
  DSInputProtected.defaultProps = defaultProps;
88
71
  const DSInputProtectedWithSchema = describe(DSInputProtected);
89
72
  DSInputProtectedWithSchema.propTypes = inputProtectedProps;
90
-
91
- export { DSInputProtected, DSInputProtectedWithSchema, DSInputProtected as default };
73
+ var DSInputProtected_default = DSInputProtected;
74
+ export {
75
+ DSInputProtected,
76
+ DSInputProtectedWithSchema,
77
+ DSInputProtected_default as default
78
+ };
79
+ //# sourceMappingURL=DSInputProtected.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/DSInputProtected.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "/* eslint-disable import/no-unresolved */\n/* eslint-disable max-lines */\n/* eslint-disable complexity */\nimport React, { useState, useCallback, useEffect } from 'react';\nimport { describe } from 'react-desc';\nimport { LockUnlocked, LockLocked, VisibleView, InvisibleHide } from '@elliemae/ds-icons';\nimport { DSButton } from '@elliemae/ds-button';\nimport { DSInputGroup } from '../InputGroup';\nimport { DSInputMask } from '../InputMask';\nimport { inputProtectedProps } from './props';\nimport { defaultProps } from './defaultProps';\nimport { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options';\n\nconst ADDON_ICON_OPTIONS = {\n LockUnlocked: <LockUnlocked />,\n LockLocked: <LockLocked />,\n VisibleView: <VisibleView />,\n InvisibleHide: <InvisibleHide />,\n};\n\nconst DSInputProtected = ({\n leftAddon,\n rightAddon,\n onChange,\n value,\n readOnly,\n mask,\n type,\n placeholderChar = undefined,\n ...rest\n}) => {\n const left = leftAddon && ADDON_ICON_OPTIONS[leftAddon];\n const right = rightAddon && ADDON_ICON_OPTIONS[rightAddon];\n const [inputLocked, setLocked] = useState(leftAddon === LEFT_ADDON_OPTIONS.LockLocked);\n const [inputHidden, setHidden] = useState(rightAddon === RIGHT_ADDON_OPTIONS.InvisibleHide);\n\n useEffect(() => {\n setLocked(leftAddon === LEFT_ADDON_OPTIONS.LockLocked);\n setHidden(rightAddon === RIGHT_ADDON_OPTIONS.InvisibleHide);\n }, [leftAddon, rightAddon]);\n\n const handleLeft = useCallback(() => {\n setLocked(!inputLocked);\n }, [leftAddon, inputLocked]);\n const handleRight = useCallback(() => {\n setHidden(!inputHidden);\n }, [rightAddon, inputHidden]);\n\n return (\n <div>\n <DSInputGroup\n leftAddon={\n left ? (\n <DSButton\n aria-label={`${inputLocked ? 'Allow' : 'Disallow'} Edition`}\n buttonType=\"secondary\"\n icon={ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.LockUnlocked : LEFT_ADDON_OPTIONS.LockLocked]}\n onClick={handleLeft}\n />\n ) : undefined\n }\n readOnly={left ? inputLocked : readOnly}\n rightAddon={\n right ? (\n <DSButton\n aria-label={`${inputHidden ? 'Show' : 'Hide'} Characters`}\n buttonType=\"secondary\"\n icon={\n ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.VisibleView : RIGHT_ADDON_OPTIONS.InvisibleHide]\n }\n onClick={handleRight}\n containerProps={{\n 'data-testid': 'inputprotected-show-hide-button',\n }}\n />\n ) : undefined\n }\n >\n <DSInputMask\n {...rest}\n mask={mask}\n placeholderChar={placeholderChar}\n onChange={onChange}\n readOnly={left ? inputLocked : readOnly}\n type={right && inputHidden ? 'password' : type}\n value={value}\n />\n </DSInputGroup>\n </div>\n );\n};\n\nDSInputProtected.propTypes = inputProtectedProps;\nDSInputProtected.defaultProps = defaultProps;\n\nconst DSInputProtectedWithSchema = describe(DSInputProtected);\nDSInputProtectedWithSchema.propTypes = inputProtectedProps;\n\nexport { DSInputProtectedWithSchema, DSInputProtected };\nexport default DSInputProtected;\n"],
5
+ "mappings": "AAAA;ACGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,MAAM,qBAAqB;AAAA,EACzB,cAAc,qCAAC,cAAD;AAAA,EACd,YAAY,qCAAC,YAAD;AAAA,EACZ,aAAa,qCAAC,aAAD;AAAA,EACb,eAAe,qCAAC,eAAD;AAAA;AAGjB,MAAM,mBAAmB,CAAC;AAAA,EACxB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,kBAAkB;AAAA,KACf;AAAA,MACC;AACJ,QAAM,OAAO,aAAa,mBAAmB;AAC7C,QAAM,QAAQ,cAAc,mBAAmB;AAC/C,QAAM,CAAC,aAAa,aAAa,SAAS,cAAc,mBAAmB;AAC3E,QAAM,CAAC,aAAa,aAAa,SAAS,eAAe,oBAAoB;AAE7E,YAAU,MAAM;AACd,cAAU,cAAc,mBAAmB;AAC3C,cAAU,eAAe,oBAAoB;AAAA,KAC5C,CAAC,WAAW;AAEf,QAAM,aAAa,YAAY,MAAM;AACnC,cAAU,CAAC;AAAA,KACV,CAAC,WAAW;AACf,QAAM,cAAc,YAAY,MAAM;AACpC,cAAU,CAAC;AAAA,KACV,CAAC,YAAY;AAEhB,SACE,qCAAC,OAAD,MACE,qCAAC,cAAD;AAAA,IACE,WACE,OACE,qCAAC,UAAD;AAAA,MACE,cAAY,GAAG,cAAc,UAAU;AAAA,MACvC,YAAW;AAAA,MACX,MAAM,mBAAmB,cAAc,mBAAmB,eAAe,mBAAmB;AAAA,MAC5F,SAAS;AAAA,SAET;AAAA,IAEN,UAAU,OAAO,cAAc;AAAA,IAC/B,YACE,QACE,qCAAC,UAAD;AAAA,MACE,cAAY,GAAG,cAAc,SAAS;AAAA,MACtC,YAAW;AAAA,MACX,MACE,mBAAmB,cAAc,oBAAoB,cAAc,oBAAoB;AAAA,MAEzF,SAAS;AAAA,MACT,gBAAgB;AAAA,QACd,eAAe;AAAA;AAAA,SAGjB;AAAA,KAGN,qCAAC,aAAD;AAAA,OACM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA,UAAU,OAAO,cAAc;AAAA,IAC/B,MAAM,SAAS,cAAc,aAAa;AAAA,IAC1C;AAAA;AAAA;AAOV,iBAAiB,YAAY;AAC7B,iBAAiB,eAAe;AAEhC,MAAM,6BAA6B,SAAS;AAC5C,2BAA2B,YAAY;AAGvC,IAAO,2BAAQ;",
6
+ "names": []
7
+ }
@@ -1,8 +1,10 @@
1
- import { RIGHT_ADDON_OPTIONS } from './options.js';
2
-
1
+ import * as React from "react";
2
+ import { RIGHT_ADDON_OPTIONS } from "./options";
3
3
  const defaultProps = {
4
4
  rightAddon: RIGHT_ADDON_OPTIONS.InvisibleHide,
5
- mask: data => new Array(data.length).fill(/./)
5
+ mask: (data) => new Array(data.length).fill(/./)
6
6
  };
7
-
8
- export { defaultProps };
7
+ export {
8
+ defaultProps
9
+ };
10
+ //# sourceMappingURL=defaultProps.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/defaultProps.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { RIGHT_ADDON_OPTIONS } from './options';\n\nexport const defaultProps = {\n rightAddon: RIGHT_ADDON_OPTIONS.InvisibleHide,\n mask: (data) => new Array(data.length).fill(/./),\n};\n"],
5
+ "mappings": "AAAA;ACAA;AAEO,MAAM,eAAe;AAAA,EAC1B,YAAY,oBAAoB;AAAA,EAChC,MAAM,CAAC,SAAS,IAAI,MAAM,KAAK,QAAQ,KAAK;AAAA;",
6
+ "names": []
7
+ }
@@ -1,2 +1,4 @@
1
- export { DSInputProtected, DSInputProtectedWithSchema, DSInputProtected as default } from './DSInputProtected.js';
2
- export { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options.js';
1
+ import * as React from "react";
2
+ export * from "./DSInputProtected";
3
+ export * from "./options";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/index.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export * from './DSInputProtected';\nexport * from './options';\n"],
5
+ "mappings": "AAAA;ACAA;AACA;",
6
+ "names": []
7
+ }
@@ -1,10 +1,14 @@
1
+ import * as React from "react";
1
2
  const LEFT_ADDON_OPTIONS = {
2
- LockUnlocked: 'LockUnlocked',
3
- LockLocked: 'LockLocked'
3
+ LockUnlocked: "LockUnlocked",
4
+ LockLocked: "LockLocked"
4
5
  };
5
6
  const RIGHT_ADDON_OPTIONS = {
6
- VisibleView: 'VisibleView',
7
- InvisibleHide: 'InvisibleHide'
7
+ VisibleView: "VisibleView",
8
+ InvisibleHide: "InvisibleHide"
8
9
  };
9
-
10
- export { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS };
10
+ export {
11
+ LEFT_ADDON_OPTIONS,
12
+ RIGHT_ADDON_OPTIONS
13
+ };
14
+ //# sourceMappingURL=options.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/options.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "export const LEFT_ADDON_OPTIONS = {\n LockUnlocked: 'LockUnlocked',\n LockLocked: 'LockLocked',\n};\n\nexport const RIGHT_ADDON_OPTIONS = {\n VisibleView: 'VisibleView',\n InvisibleHide: 'InvisibleHide',\n};\n"],
5
+ "mappings": "AAAA;ACAO,MAAM,qBAAqB;AAAA,EAChC,cAAc;AAAA,EACd,YAAY;AAAA;AAGP,MAAM,sBAAsB;AAAA,EACjC,aAAa;AAAA,EACb,eAAe;AAAA;",
6
+ "names": []
7
+ }
@@ -1,20 +1,27 @@
1
- import { PropTypes } from 'react-desc';
2
- import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options.js';
3
-
1
+ import * as React from "react";
2
+ import { PropTypes } from "react-desc";
3
+ import { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from "./options";
4
4
  const inputProtectedProps = {
5
- leftAddon: PropTypes.oneOf([LEFT_ADDON_OPTIONS.LockLocked, LEFT_ADDON_OPTIONS.LockUnlocked]).description('left addon component to display'),
6
- rightAddon: PropTypes.oneOf([RIGHT_ADDON_OPTIONS.VisibleView, RIGHT_ADDON_OPTIONS.InvisibleHide]).description('right addon component to display').defaultValue(RIGHT_ADDON_OPTIONS.InvisibleHide),
7
- onChange: PropTypes.func.description('Function executed when input s value changes'),
8
- value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description('input s value'),
9
- readOnly: PropTypes.bool.description('Whether the input is read-only or not').defaultValue(false),
10
- mask: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.func]).description('mask to apply'),
11
- type: PropTypes.oneOf(['password', 'number', 'text']).description('type of input'),
12
-
13
- /**
14
- * PlaceholderChar: The placeholder character represents the fillable spot in the mask.
15
- * The default placeholder character is underscore, _.
16
- */
17
- placeholderChar: PropTypes.string.description("The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _.")
5
+ leftAddon: PropTypes.oneOf([
6
+ LEFT_ADDON_OPTIONS.LockLocked,
7
+ LEFT_ADDON_OPTIONS.LockUnlocked
8
+ ]).description("left addon component to display"),
9
+ rightAddon: PropTypes.oneOf([
10
+ RIGHT_ADDON_OPTIONS.VisibleView,
11
+ RIGHT_ADDON_OPTIONS.InvisibleHide
12
+ ]).description("right addon component to display").defaultValue(RIGHT_ADDON_OPTIONS.InvisibleHide),
13
+ onChange: PropTypes.func.description("Function executed when input s value changes"),
14
+ value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description("input s value"),
15
+ readOnly: PropTypes.bool.description("Whether the input is read-only or not").defaultValue(false),
16
+ mask: PropTypes.oneOfType([
17
+ PropTypes.arrayOf(PropTypes.string),
18
+ PropTypes.func
19
+ ]).description("mask to apply"),
20
+ type: PropTypes.oneOf(["password", "number", "text"]).description("type of input"),
21
+ placeholderChar: PropTypes.string.description(`The placeholder character represents the fillable spot in the mask.
22
+ * The default placeholder character is underscore, _.`)
18
23
  };
19
-
20
- export { inputProtectedProps };
24
+ export {
25
+ inputProtectedProps
26
+ };
27
+ //# sourceMappingURL=props.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../scripts/build/transpile/react-shim.js", "../../../src/InputProtected/props.tsx"],
4
+ "sourcesContent": ["import * as React from 'react';\nexport { React };\n", "import { PropTypes } from 'react-desc';\nimport { LEFT_ADDON_OPTIONS, RIGHT_ADDON_OPTIONS } from './options';\n\nexport const inputProtectedProps = {\n leftAddon: PropTypes.oneOf([\n LEFT_ADDON_OPTIONS.LockLocked,\n LEFT_ADDON_OPTIONS.LockUnlocked,\n ]).description('left addon component to display'),\n rightAddon: PropTypes.oneOf([\n RIGHT_ADDON_OPTIONS.VisibleView,\n RIGHT_ADDON_OPTIONS.InvisibleHide,\n ])\n .description('right addon component to display')\n .defaultValue(RIGHT_ADDON_OPTIONS.InvisibleHide),\n onChange: PropTypes.func.description(\n 'Function executed when input s value changes',\n ),\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]).description(\n 'input s value',\n ),\n readOnly: PropTypes.bool\n .description('Whether the input is read-only or not')\n .defaultValue(false),\n mask: PropTypes.oneOfType([\n PropTypes.arrayOf(PropTypes.string),\n PropTypes.func,\n ]).description('mask to apply'),\n type: PropTypes.oneOf(['password', 'number', 'text']).description(\n 'type of input',\n ),\n /**\n * PlaceholderChar: The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _.\n */\n placeholderChar: PropTypes.string.description(\n `The placeholder character represents the fillable spot in the mask.\n * The default placeholder character is underscore, _.`,\n ),\n};\n"],
5
+ "mappings": "AAAA;ACAA;AACA;AAEO,MAAM,sBAAsB;AAAA,EACjC,WAAW,UAAU,MAAM;AAAA,IACzB,mBAAmB;AAAA,IACnB,mBAAmB;AAAA,KAClB,YAAY;AAAA,EACf,YAAY,UAAU,MAAM;AAAA,IAC1B,oBAAoB;AAAA,IACpB,oBAAoB;AAAA,KAEnB,YAAY,oCACZ,aAAa,oBAAoB;AAAA,EACpC,UAAU,UAAU,KAAK,YACvB;AAAA,EAEF,OAAO,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,SAAS,YAC/D;AAAA,EAEF,UAAU,UAAU,KACjB,YAAY,yCACZ,aAAa;AAAA,EAChB,MAAM,UAAU,UAAU;AAAA,IACxB,UAAU,QAAQ,UAAU;AAAA,IAC5B,UAAU;AAAA,KACT,YAAY;AAAA,EACf,MAAM,UAAU,MAAM,CAAC,YAAY,UAAU,SAAS,YACpD;AAAA,EAMF,iBAAiB,UAAU,OAAO,YAChC;AAAA;AAAA;",
6
+ "names": []
7
+ }