@spscommerce/ds-react 5.10.2 → 5.10.5-ie

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 (296) hide show
  1. package/package.json +13 -19
  2. package/rollup.config.js +22 -0
  3. package/vite.config.js +1 -1
  4. package/lib/_template/SpsComponent.d.ts +0 -15
  5. package/lib/_template/SpsComponent.examples.d.ts +0 -2
  6. package/lib/_template/index.d.ts +0 -2
  7. package/lib/advanced-search/SpsAdvancedSearch.d.ts +0 -22
  8. package/lib/advanced-search/SpsAdvancedSearch.examples.d.ts +0 -2
  9. package/lib/advanced-search/index.d.ts +0 -2
  10. package/lib/autocomplete/SpsAutocomplete.d.ts +0 -27
  11. package/lib/autocomplete/SpsAutocomplete.examples.d.ts +0 -2
  12. package/lib/autocomplete/index.d.ts +0 -2
  13. package/lib/button/SpsButton.d.ts +0 -18
  14. package/lib/button/SpsButton.examples.d.ts +0 -2
  15. package/lib/button/SpsButtonGroup.d.ts +0 -10
  16. package/lib/button/SpsIconButtonPanel.d.ts +0 -10
  17. package/lib/button/index.d.ts +0 -4
  18. package/lib/card/SpsCard.d.ts +0 -16
  19. package/lib/card/SpsCard.examples.d.ts +0 -2
  20. package/lib/card/SpsCardHeader.d.ts +0 -14
  21. package/lib/card/SpsCardTabbedPane.d.ts +0 -19
  22. package/lib/card/index.d.ts +0 -3
  23. package/lib/card/useTab.d.ts +0 -18
  24. package/lib/card-v2/SpsCardV2.d.ts +0 -2
  25. package/lib/card-v2/SpsCardV2Footer.d.ts +0 -2
  26. package/lib/card-v2/SpsCardV2Header.d.ts +0 -2
  27. package/lib/card-v2/SpsCardV2Title.d.ts +0 -2
  28. package/lib/card-v2/index.d.ts +0 -5
  29. package/lib/checkbox/SpsCheckbox.d.ts +0 -21
  30. package/lib/checkbox/SpsCheckbox.examples.d.ts +0 -2
  31. package/lib/checkbox/index.d.ts +0 -2
  32. package/lib/checkbox-dropdown/SpsCheckboxDropdown.d.ts +0 -17
  33. package/lib/checkbox-dropdown/index.d.ts +0 -1
  34. package/lib/clickable-tag/SpsClickableTag.d.ts +0 -16
  35. package/lib/clickable-tag/SpsClickableTag.examples.d.ts +0 -2
  36. package/lib/clickable-tag/index.d.ts +0 -2
  37. package/lib/column-chooser/SpsColumnChooser.d.ts +0 -19
  38. package/lib/column-chooser/SpsColumnChooser.examples.d.ts +0 -2
  39. package/lib/column-chooser/SpsColumnChooserColumn.d.ts +0 -17
  40. package/lib/column-chooser/index.d.ts +0 -3
  41. package/lib/conditional-field/SpsConditionalField.d.ts +0 -11
  42. package/lib/conditional-field/SpsConditionalField.examples.d.ts +0 -2
  43. package/lib/conditional-field/index.d.ts +0 -2
  44. package/lib/content-row/SpsContentRow.d.ts +0 -22
  45. package/lib/content-row/SpsContentRow.examples.d.ts +0 -2
  46. package/lib/content-row/SpsContentRowCol.d.ts +0 -15
  47. package/lib/content-row/SpsContentRowExpansion.d.ts +0 -10
  48. package/lib/content-row/index.d.ts +0 -4
  49. package/lib/currency-input/SpsCurrencyInput.d.ts +0 -18
  50. package/lib/currency-input/SpsCurrencyInput.examples.d.ts +0 -2
  51. package/lib/currency-input/index.d.ts +0 -2
  52. package/lib/dateRangePicker/SpsDateRangePicker.d.ts +0 -23
  53. package/lib/dateRangePicker/SpsDateRangePicker.examples.d.ts +0 -2
  54. package/lib/dateRangePicker/index.d.ts +0 -2
  55. package/lib/datepicker/SpsDatepicker.d.ts +0 -19
  56. package/lib/datepicker/SpsDatepicker.examples.d.ts +0 -2
  57. package/lib/datepicker/index.d.ts +0 -2
  58. package/lib/datepicker-v2/SpsDateRangePickerV2.d.ts +0 -20
  59. package/lib/datepicker-v2/SpsDatepickerCalendar.d.ts +0 -18
  60. package/lib/datepicker-v2/SpsDatepickerPopup.d.ts +0 -13
  61. package/lib/datepicker-v2/SpsDatepickerV2.d.ts +0 -18
  62. package/lib/datepicker-v2/index.d.ts +0 -4
  63. package/lib/datepicker-v2/useCalendar.d.ts +0 -2
  64. package/lib/datepicker-v2/useMoment.d.ts +0 -3
  65. package/lib/datepicker-v2/utils.d.ts +0 -23
  66. package/lib/datepicker-v2/validation.d.ts +0 -10
  67. package/lib/datetime/SpsDateTime.d.ts +0 -26
  68. package/lib/datetime/SpsDateTime.examples.d.ts +0 -2
  69. package/lib/datetime/index.d.ts +0 -2
  70. package/lib/description-list/SpsDescriptionList.d.ts +0 -14
  71. package/lib/description-list/SpsDescriptionList.examples.d.ts +0 -2
  72. package/lib/description-list/SpsDescriptionListDefinition.d.ts +0 -11
  73. package/lib/description-list/SpsDescriptionListTerm.d.ts +0 -18
  74. package/lib/description-list/index.d.ts +0 -4
  75. package/lib/dropdown/SpsDropdown.d.ts +0 -24
  76. package/lib/dropdown/SpsDropdown.examples.d.ts +0 -2
  77. package/lib/dropdown/index.d.ts +0 -2
  78. package/lib/feedback-block/SpsFeedbackBlock.d.ts +0 -12
  79. package/lib/feedback-block/SpsFeedbackBlock.examples.d.ts +0 -2
  80. package/lib/feedback-block/index.d.ts +0 -2
  81. package/lib/fieldset/SpsFieldset.d.ts +0 -22
  82. package/lib/fieldset/SpsFieldset.examples.d.ts +0 -2
  83. package/lib/fieldset/index.d.ts +0 -2
  84. package/lib/filter-panel/SpsFilterPanel.d.ts +0 -10
  85. package/lib/filter-panel/SpsFilterPanel.examples.d.ts +0 -2
  86. package/lib/filter-panel/SpsFilterPanelCap.d.ts +0 -11
  87. package/lib/filter-panel/SpsFilterPanelFilterBox.d.ts +0 -16
  88. package/lib/filter-panel/SpsFilterPanelSection.d.ts +0 -16
  89. package/lib/filter-panel/index.d.ts +0 -5
  90. package/lib/filter-tile-list/SpsFilterTile.d.ts +0 -15
  91. package/lib/filter-tile-list/SpsFilterTileList.d.ts +0 -10
  92. package/lib/filter-tile-list/SpsFilterTileList.examples.d.ts +0 -2
  93. package/lib/filter-tile-list/index.d.ts +0 -3
  94. package/lib/focused-task/SpsFocusedTask.d.ts +0 -13
  95. package/lib/focused-task/SpsFocusedTask.examples.d.ts +0 -2
  96. package/lib/focused-task/SpsFocusedTaskActions.d.ts +0 -10
  97. package/lib/focused-task/index.d.ts +0 -3
  98. package/lib/form/AddRemoveFormRows.examples.d.ts +0 -18
  99. package/lib/form/SpsForm.d.ts +0 -24
  100. package/lib/form/SpsForm.examples.d.ts +0 -41
  101. package/lib/form/SpsFormComponentWrapper.d.ts +0 -19
  102. package/lib/form/hooks/SpsAbstractControl.interface.d.ts +0 -24
  103. package/lib/form/hooks/SpsControlSet.interface.d.ts +0 -7
  104. package/lib/form/hooks/formArray.d.ts +0 -12
  105. package/lib/form/hooks/formControl.d.ts +0 -9
  106. package/lib/form/hooks/formGroup.d.ts +0 -10
  107. package/lib/form/hooks/useForm.d.ts +0 -2
  108. package/lib/form/hooks/useFormControlId.d.ts +0 -4
  109. package/lib/form/hooks/useServerSideValidation.d.ts +0 -3
  110. package/lib/form/hooks/useSpsForm.d.ts +0 -77
  111. package/lib/form/index.d.ts +0 -15
  112. package/lib/form/validation/SpsValidators.d.ts +0 -16
  113. package/lib/form/validation/types.d.ts +0 -7
  114. package/lib/form/validation/validate.d.ts +0 -2
  115. package/lib/growler/SpsGrowler.d.ts +0 -17
  116. package/lib/growler/SpsGrowler.examples.d.ts +0 -2
  117. package/lib/growler/index.d.ts +0 -3
  118. package/lib/growler/useGrowlers.d.ts +0 -12
  119. package/lib/i18n.d.ts +0 -3
  120. package/lib/icon/SpsIcon.d.ts +0 -13
  121. package/lib/icon/index.d.ts +0 -1
  122. package/lib/incrementor/SpsIncrementor.d.ts +0 -15
  123. package/lib/incrementor/SpsIncrementor.examples.d.ts +0 -2
  124. package/lib/incrementor/index.d.ts +0 -2
  125. package/lib/index.cjs.js +0 -8473
  126. package/lib/index.d.ts +0 -71
  127. package/lib/index.es.js +0 -38062
  128. package/lib/input-group/SpsInputGroup.d.ts +0 -17
  129. package/lib/input-group/index.d.ts +0 -1
  130. package/lib/insight-tile/SpsInsightTile.d.ts +0 -18
  131. package/lib/insight-tile/SpsInsightTile.examples.d.ts +0 -2
  132. package/lib/insight-tile/SpsInsights.d.ts +0 -10
  133. package/lib/insight-tile/index.d.ts +0 -2
  134. package/lib/key-value-list/SpsKeyValueList.d.ts +0 -11
  135. package/lib/key-value-list/SpsKeyValueList.examples.d.ts +0 -2
  136. package/lib/key-value-list/SpsKeyValueListItem.d.ts +0 -13
  137. package/lib/key-value-list/index.d.ts +0 -3
  138. package/lib/key-value-tag/SpsKeyValueTag.d.ts +0 -16
  139. package/lib/key-value-tag/SpsKeyValueTag.examples.d.ts +0 -2
  140. package/lib/key-value-tag/index.d.ts +0 -2
  141. package/lib/label/SpsLabel.d.ts +0 -20
  142. package/lib/label/SpsLabel.examples.d.ts +0 -2
  143. package/lib/label/index.d.ts +0 -2
  144. package/lib/list-action-bar/SpsListActionBar.d.ts +0 -12
  145. package/lib/list-action-bar/SpsListActionBar.examples.d.ts +0 -2
  146. package/lib/list-action-bar/index.d.ts +0 -2
  147. package/lib/list-toolbar/SpsListToolbar.d.ts +0 -25
  148. package/lib/list-toolbar/SpsListToolbar.examples.d.ts +0 -3
  149. package/lib/list-toolbar/SpsListToolbarSearch.d.ts +0 -12
  150. package/lib/list-toolbar/SpsListToolbarSearchInfo.d.ts +0 -10
  151. package/lib/list-toolbar/index.d.ts +0 -4
  152. package/lib/manifest.d.ts +0 -2
  153. package/lib/micro-block/SpsMicroBlock.d.ts +0 -13
  154. package/lib/micro-block/SpsMicroBlock.examples.d.ts +0 -2
  155. package/lib/micro-block/index.d.ts +0 -2
  156. package/lib/modal/SpsModal.d.ts +0 -25
  157. package/lib/modal/SpsModal.examples.d.ts +0 -2
  158. package/lib/modal/SpsModalAction.d.ts +0 -18
  159. package/lib/modal/SpsModalBody.d.ts +0 -10
  160. package/lib/modal/SpsModalFooter.d.ts +0 -16
  161. package/lib/modal/SpsModalHeader.d.ts +0 -11
  162. package/lib/modal/SpsModalOverlay.d.ts +0 -12
  163. package/lib/modal/index.d.ts +0 -2
  164. package/lib/modal-v2/SpsModalV2.d.ts +0 -18
  165. package/lib/modal-v2/index.d.ts +0 -1
  166. package/lib/multi-select/SpsMultiSelect.d.ts +0 -34
  167. package/lib/multi-select/SpsMultiSelect.examples.d.ts +0 -2
  168. package/lib/multi-select/index.d.ts +0 -2
  169. package/lib/option-list/SpsOptionList.d.ts +0 -3
  170. package/lib/option-list/SpsOptionListProps.d.ts +0 -75
  171. package/lib/option-list/index.d.ts +0 -1
  172. package/lib/option-list/useOptionListOptions.d.ts +0 -8
  173. package/lib/option-list/useOptionListSearch.d.ts +0 -13
  174. package/lib/option-list/useSpsAction.d.ts +0 -2
  175. package/lib/page-title/SpsPageSubtitle.d.ts +0 -10
  176. package/lib/page-title/SpsPageTitle.d.ts +0 -10
  177. package/lib/page-title/SpsPageTitle.examples.d.ts +0 -2
  178. package/lib/page-title/index.d.ts +0 -3
  179. package/lib/pagination/SpsPageSelector.d.ts +0 -14
  180. package/lib/pagination/SpsPagination.d.ts +0 -16
  181. package/lib/pagination/SpsPagination.examples.d.ts +0 -2
  182. package/lib/pagination/index.d.ts +0 -3
  183. package/lib/product-bar/SpsProductBar.d.ts +0 -19
  184. package/lib/product-bar/SpsProductBar.examples.d.ts +0 -2
  185. package/lib/product-bar/SpsProductBarTab.d.ts +0 -6
  186. package/lib/product-bar/index.d.ts +0 -3
  187. package/lib/progress-bar/SpsProgressBar.d.ts +0 -15
  188. package/lib/progress-bar/SpsProgressBar.examples.d.ts +0 -27
  189. package/lib/progress-bar/index.d.ts +0 -2
  190. package/lib/progress-ring/SpsProgressRing.d.ts +0 -13
  191. package/lib/progress-ring/index.d.ts +0 -1
  192. package/lib/prop-types.d.ts +0 -23
  193. package/lib/radio-button/SpsRadioButton.d.ts +0 -23
  194. package/lib/radio-button/SpsRadioButton.examples.d.ts +0 -2
  195. package/lib/radio-button/index.d.ts +0 -2
  196. package/lib/scrollable-container/SpsScrollableContainer.d.ts +0 -11
  197. package/lib/scrollable-container/SpsScrollableContainer.examples.d.ts +0 -14
  198. package/lib/scrollable-container/index.d.ts +0 -2
  199. package/lib/search-results-bar/SpsSearchResultsBar.d.ts +0 -13
  200. package/lib/search-results-bar/SpsSearchResultsBar.examples.d.ts +0 -2
  201. package/lib/search-results-bar/index.d.ts +0 -2
  202. package/lib/select/SpsSelect.d.ts +0 -37
  203. package/lib/select/SpsSelect.examples.d.ts +0 -2
  204. package/lib/select/index.d.ts +0 -2
  205. package/lib/side-nav/SpsSideNav.d.ts +0 -38
  206. package/lib/side-nav/SpsSideNav.examples.d.ts +0 -2
  207. package/lib/side-nav/SpsSideNavBranch.d.ts +0 -9
  208. package/lib/side-nav/index.d.ts +0 -2
  209. package/lib/slack-link/SpsSlackLink.d.ts +0 -11
  210. package/lib/slack-link/SpsSlackLink.examples.d.ts +0 -2
  211. package/lib/slack-link/index.d.ts +0 -2
  212. package/lib/sorting-header/SpsSortingHeader.d.ts +0 -13
  213. package/lib/sorting-header/SpsSortingHeader.examples.d.ts +0 -2
  214. package/lib/sorting-header/SpsSortingHeaderCell.d.ts +0 -17
  215. package/lib/sorting-header/index.d.ts +0 -3
  216. package/lib/spinner/SpsSpinner.d.ts +0 -14
  217. package/lib/spinner/SpsSpinner.examples.d.ts +0 -2
  218. package/lib/spinner/index.d.ts +0 -2
  219. package/lib/split-button/SpsSplitButton.d.ts +0 -18
  220. package/lib/split-button/SpsSplitButton.examples.d.ts +0 -2
  221. package/lib/split-button/index.d.ts +0 -2
  222. package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +0 -25
  223. package/lib/stepped-progress-bar/SpsSteppedProgressBar.examples.d.ts +0 -24
  224. package/lib/stepped-progress-bar/index.d.ts +0 -2
  225. package/lib/summary-list/SpsSummaryList.examples.d.ts +0 -2
  226. package/lib/summary-list/SpsSummaryListColumn.d.ts +0 -14
  227. package/lib/summary-list/SpsSummaryListExpansion.d.ts +0 -10
  228. package/lib/summary-list/SpsSummaryListRow.d.ts +0 -13
  229. package/lib/summary-list/index.d.ts +0 -4
  230. package/lib/table/SpsTable.d.ts +0 -14
  231. package/lib/table/SpsTable.examples.d.ts +0 -2
  232. package/lib/table/SpsTableBody.d.ts +0 -11
  233. package/lib/table/SpsTableCell.d.ts +0 -15
  234. package/lib/table/SpsTableHead.d.ts +0 -15
  235. package/lib/table/SpsTableHeader.d.ts +0 -17
  236. package/lib/table/SpsTableRow.d.ts +0 -14
  237. package/lib/table/index.d.ts +0 -7
  238. package/lib/table/usePinnedStyles.d.ts +0 -4
  239. package/lib/tabs/SpsTabs.d.ts +0 -14
  240. package/lib/tabs-v2/SpsTab.d.ts +0 -6
  241. package/lib/tabs-v2/SpsTabPanel.d.ts +0 -5
  242. package/lib/tabs-v2/SpsTabsV2.d.ts +0 -2
  243. package/lib/tabs-v2/index.d.ts +0 -4
  244. package/lib/tag/SpsTag.d.ts +0 -13
  245. package/lib/tag/SpsTag.examples.d.ts +0 -2
  246. package/lib/tag/index.d.ts +0 -2
  247. package/lib/task-queue/SpsTaskQueue.d.ts +0 -36
  248. package/lib/task-queue/SpsTaskQueue.examples.d.ts +0 -2
  249. package/lib/task-queue/index.d.ts +0 -2
  250. package/lib/test-util.d.ts +0 -2
  251. package/lib/text-input/SpsTextInput.d.ts +0 -22
  252. package/lib/text-input/SpsTextInput.examples.d.ts +0 -2
  253. package/lib/text-input/index.d.ts +0 -2
  254. package/lib/textarea/SpsTextarea.d.ts +0 -22
  255. package/lib/textarea/SpsTextarea.examples.d.ts +0 -2
  256. package/lib/textarea/index.d.ts +0 -2
  257. package/lib/tile-list/SpsTile.d.ts +0 -16
  258. package/lib/tile-list/SpsTileList.d.ts +0 -10
  259. package/lib/tile-list/SpsTileList.examples.d.ts +0 -2
  260. package/lib/tile-list/index.d.ts +0 -3
  261. package/lib/toggle/SpsToggle.d.ts +0 -27
  262. package/lib/toggle/SpsToggle.examples.d.ts +0 -2
  263. package/lib/toggle/index.d.ts +0 -2
  264. package/lib/tooltip/SpsTooltip.d.ts +0 -29
  265. package/lib/tooltip/SpsTooltip.examples.d.ts +0 -2
  266. package/lib/tooltip/SpsTooltipTitle.d.ts +0 -13
  267. package/lib/tooltip/index.d.ts +0 -3
  268. package/lib/utils/FauxChangeEvent.d.ts +0 -20
  269. package/lib/utils/contentOf.d.ts +0 -2
  270. package/lib/utils/getPosition.d.ts +0 -11
  271. package/lib/utils/getScrollParent.d.ts +0 -1
  272. package/lib/utils/index.d.ts +0 -11
  273. package/lib/utils/selectChildren.d.ts +0 -5
  274. package/lib/utils/useCheckDeprecatedProps.d.ts +0 -2
  275. package/lib/utils/useDidUpdateEffect.d.ts +0 -2
  276. package/lib/utils/useDocumentEventListener.d.ts +0 -1
  277. package/lib/utils/useElementId.d.ts +0 -2
  278. package/lib/utils/useInputPopup.d.ts +0 -6
  279. package/lib/utils/usePatchReducer.d.ts +0 -2
  280. package/lib/utils/usePortal.d.ts +0 -6
  281. package/lib/vertical-rule/SpsVerticalRule.d.ts +0 -11
  282. package/lib/vertical-rule/index.d.ts +0 -1
  283. package/lib/wizard/SpsWizard.examples.d.ts +0 -2
  284. package/lib/wizard/SpsWizardSidebar.d.ts +0 -23
  285. package/lib/wizard/SpsWizardSubstep.d.ts +0 -14
  286. package/lib/wizard/index.d.ts +0 -3
  287. package/lib/workflow/SpsWorkflow.d.ts +0 -14
  288. package/lib/workflow/SpsWorkflow.examples.d.ts +0 -2
  289. package/lib/workflow/SpsWorkflowDocument.d.ts +0 -11
  290. package/lib/workflow/SpsWorkflowDocumentStatus.d.ts +0 -13
  291. package/lib/workflow/SpsWorkflowStep.d.ts +0 -14
  292. package/lib/workflow/index.d.ts +0 -5
  293. package/lib/zero-state/SpsMicroZeroState.d.ts +0 -14
  294. package/lib/zero-state/SpsZeroState.d.ts +0 -13
  295. package/lib/zero-state/SpsZeroState.examples.d.ts +0 -2
  296. package/lib/zero-state/index.d.ts +0 -3
@@ -1,23 +0,0 @@
1
- import { MomentRange } from '@spscommerce/ds-shared';
2
- import * as momentImport from 'moment-timezone';
3
- import { Moment } from 'moment-timezone';
4
- import * as PropTypes from '../prop-types';
5
- declare const propTypes: {
6
- placeholder: PropTypes.Requireable<string>;
7
- disabled: PropTypes.Requireable<boolean>;
8
- format: PropTypes.Requireable<string>;
9
- minDate: PropTypes.Requireable<string>;
10
- maxDate: PropTypes.Requireable<string>;
11
- availablePresets: PropTypes.Requireable<any[]>;
12
- onChange: PropTypes.Requireable<(newValue: MomentRange) => void>;
13
- value: PropTypes.Requireable<MomentRange>;
14
- preset: PropTypes.Requireable<momentImport.Duration>;
15
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
- className: PropTypes.Requireable<string>;
17
- "data-testid": PropTypes.Requireable<string>;
18
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
19
- };
20
- export declare function weekOfMonth(mmt: Moment): number;
21
- export declare type SpsDateRangePickerProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
22
- export declare function SpsDateRangePicker(props: SpsDateRangePickerProps): JSX.Element;
23
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsDateRangePickerExamples: DSReactExamples;
@@ -1,2 +0,0 @@
1
- export * from "./SpsDateRangePicker";
2
- export * from "./SpsDateRangePicker.examples";
@@ -1,19 +0,0 @@
1
- import type { Moment } from "moment-timezone";
2
- import * as PropTypes from "../prop-types";
3
- declare const propTypes: {
4
- disabled: PropTypes.Requireable<boolean>;
5
- format: PropTypes.Requireable<string>;
6
- maxDate: PropTypes.Requireable<string>;
7
- minDate: PropTypes.Requireable<string>;
8
- onChange: PropTypes.Requireable<(newValue: Moment) => void>;
9
- onClickOutside: PropTypes.Requireable<(event: MouseEvent) => void>;
10
- placeholder: PropTypes.Requireable<string>;
11
- value: PropTypes.Requireable<string>;
12
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
- className: PropTypes.Requireable<string>;
14
- "data-testid": PropTypes.Requireable<string>;
15
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
16
- };
17
- export declare type SpsDatepickerProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
18
- declare function SpsDatepicker(props: SpsDatepickerProps): JSX.Element;
19
- export { SpsDatepicker };
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsDatepickerExamples: DSReactExamples;
@@ -1,2 +0,0 @@
1
- export * from "./SpsDatepicker";
2
- export * from "./SpsDatepicker.examples";
@@ -1,20 +0,0 @@
1
- import type { SimpleDate, SimpleDateRange, DatePreset } from "@spscommerce/ds-shared";
2
- import * as PropTypes from "../prop-types";
3
- import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
4
- declare const propTypes: {
5
- disabled: PropTypes.Requireable<boolean>;
6
- formMeta: PropTypes.Requireable<SpsFormFieldMeta<SimpleDateRange | DatePreset>>;
7
- maxDate: PropTypes.Requireable<SimpleDate>;
8
- minDate: PropTypes.Requireable<SimpleDate>;
9
- onChange: PropTypes.Requireable<(newDateRange: SimpleDateRange | DatePreset) => void>;
10
- presets: PropTypes.Requireable<DatePreset[]>;
11
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- className: PropTypes.Requireable<string>;
13
- "data-testid": PropTypes.Requireable<string>;
14
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
15
- };
16
- export declare type SpsDateRangePickerV2Props = {
17
- value?: SimpleDateRange | DatePreset;
18
- } & Omit<PropTypes.InferTS<typeof propTypes, HTMLInputElement>, "value">;
19
- export declare function SpsDateRangePickerV2({ children, className, disabled, formMeta, id, maxDate, minDate, onChange, presets, value, ...rest }: SpsDateRangePickerV2Props): JSX.Element;
20
- export {};
@@ -1,18 +0,0 @@
1
- import type { SimpleDate, SimpleDateRange } from "@spscommerce/ds-shared";
2
- import * as PropTypes from "../prop-types";
3
- declare const propTypes: {
4
- maxDate: PropTypes.Requireable<SimpleDate>;
5
- minDate: PropTypes.Requireable<SimpleDate>;
6
- onNewSelection: PropTypes.Validator<(date: SimpleDate) => void>;
7
- selectedDate: PropTypes.Requireable<SimpleDate>;
8
- selectedRange: PropTypes.Requireable<SimpleDate[]>;
9
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
- className: PropTypes.Requireable<string>;
11
- "data-testid": PropTypes.Requireable<string>;
12
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
13
- };
14
- export interface SpsDatepickerCalendarProps extends PropTypes.InferTS<typeof propTypes, HTMLDivElement> {
15
- selectedRange?: SimpleDateRange;
16
- }
17
- export declare function SpsDatepickerCalendar(props: SpsDatepickerCalendarProps): JSX.Element;
18
- export {};
@@ -1,13 +0,0 @@
1
- import * as React from "react";
2
- import * as PropTypes from "../prop-types";
3
- declare const propTypes: {
4
- attachTo: PropTypes.Validator<React.MutableRefObject<HTMLElement>>;
5
- isOpen: PropTypes.Validator<boolean>;
6
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
7
- className: PropTypes.Requireable<string>;
8
- "data-testid": PropTypes.Requireable<string>;
9
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
10
- };
11
- export declare type SpsDatepickerPopupProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
12
- export declare const SpsDatepickerPopup: React.ForwardRefExoticComponent<Pick<SpsDatepickerPopupProps, "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "cite" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "data" | "dateTime" | "default" | "defer" | "disabled" | "download" | "encType" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "label" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "multiple" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "pattern" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "size" | "sizes" | "span" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "summary" | "target" | "type" | "useMap" | "value" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "data-testid" | "unsafelyReplaceClassName" | "isOpen" | "attachTo"> & React.RefAttributes<HTMLDivElement>>;
13
- export {};
@@ -1,18 +0,0 @@
1
- import type { SimpleDate } from "@spscommerce/ds-shared";
2
- import * as PropTypes from "../prop-types";
3
- import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
4
- declare const propTypes: {
5
- disabled: PropTypes.Requireable<boolean>;
6
- formMeta: PropTypes.Requireable<SpsFormFieldMeta<SimpleDate>>;
7
- maxDate: PropTypes.Requireable<SimpleDate>;
8
- minDate: PropTypes.Requireable<SimpleDate>;
9
- onChange: PropTypes.Requireable<(newDate: SimpleDate) => void>;
10
- value: PropTypes.Requireable<SimpleDate>;
11
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
12
- className: PropTypes.Requireable<string>;
13
- "data-testid": PropTypes.Requireable<string>;
14
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
15
- };
16
- export declare type SpsDatepickerV2Props = PropTypes.InferTS<typeof propTypes, HTMLInputElement>;
17
- export declare function SpsDatepickerV2({ children, className, disabled, formMeta, id, maxDate, minDate, onChange, value, ...rest }: SpsDatepickerV2Props): JSX.Element;
18
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./SpsDatepickerV2";
2
- export * from "./SpsDateRangePickerV2";
3
- export { SimpleDateUtils } from "./utils";
4
- export * from "./validation";
@@ -1,2 +0,0 @@
1
- import type { CalendarArray, SimpleDate } from "@spscommerce/ds-shared";
2
- export declare function useCalendar(month: SimpleDate): CalendarArray;
@@ -1,3 +0,0 @@
1
- import type { SimpleDate } from "@spscommerce/ds-shared";
2
- import type { Moment } from "moment";
3
- export declare function useMoment(date: SimpleDate): Moment;
@@ -1,23 +0,0 @@
1
- import type { SimpleDate, SimpleDateRange, DatePreset } from "@spscommerce/ds-shared";
2
- import type { Moment } from "moment-timezone";
3
- export declare const FORMAT = "MM/DD/YYYY";
4
- export declare const FORMAT_PATTERN: RegExp;
5
- export declare const SYMBOL_DATE_PARSE_ERROR: unique symbol;
6
- export declare const SimpleDateUtils: Readonly<{
7
- createFrom(input: string | Moment): SimpleDate;
8
- createRangeFrom(input: string): SimpleDateRange;
9
- isValid(date: SimpleDate): boolean;
10
- nullifyInvalidDate(value: any): SimpleDate | null;
11
- toMoment(date: SimpleDate): Moment;
12
- toString(date: SimpleDate): string;
13
- toStringRange(dateRange: SimpleDateRange): string;
14
- create(): SimpleDate;
15
- isSameDate(d1: SimpleDate, d2: SimpleDate): boolean;
16
- isSameMonth(d1: SimpleDate, d2: SimpleDate): boolean;
17
- isAfter(date: SimpleDate, referenceDate: SimpleDate): boolean;
18
- isBefore(date: SimpleDate, referenceDate: SimpleDate): boolean;
19
- isInRange(date: SimpleDate, range: SimpleDateRange, inclusive?: boolean): boolean;
20
- prevMonth(date: SimpleDate): SimpleDate;
21
- nextMonth(date: SimpleDate): SimpleDate;
22
- createRangeFromPreset(preset: DatePreset): SimpleDateRange;
23
- }>;
@@ -1,10 +0,0 @@
1
- import type { SimpleDate, SimpleDateRange } from "@spscommerce/ds-shared";
2
- import type { Duration } from "moment-timezone";
3
- import type { SpsValidator, SpsValidatorFactory } from "../form/validation/types";
4
- export declare const date: SpsValidator<SimpleDate | SimpleDateRange>;
5
- export declare const dateRange: SpsValidator<SimpleDateRange | Duration>;
6
- export interface DateConstraintError {
7
- minExceeded: string | null;
8
- maxExceeded: string | null;
9
- }
10
- export declare const dateConstraint: SpsValidatorFactory<SimpleDate | SimpleDateRange>;
@@ -1,26 +0,0 @@
1
- import "moment/locale/en-au";
2
- import "moment/locale/en-ca";
3
- import "moment/locale/en-ie";
4
- import "moment/locale/en-gb";
5
- import "moment/locale/fr-ca";
6
- import "moment/locale/fr";
7
- import "moment/locale/es";
8
- import "moment/locale/zh-cn";
9
- import "moment/locale/zh-tw";
10
- import * as PropTypes from "../prop-types";
11
- declare const propTypes: {
12
- currentUser: PropTypes.Requireable<any>;
13
- dateToFormat: PropTypes.Requireable<string | Date>;
14
- format: PropTypes.Requireable<string>;
15
- locale: PropTypes.Requireable<string>;
16
- relative: PropTypes.Requireable<boolean>;
17
- relativeHrs: PropTypes.Requireable<number>;
18
- tz: PropTypes.Requireable<string>;
19
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
20
- className: PropTypes.Requireable<string>;
21
- "data-testid": PropTypes.Requireable<string>;
22
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
23
- };
24
- export declare type SpsDateTimeProps = PropTypes.InferTS<typeof propTypes, HTMLSpanElement>;
25
- export declare function SpsDateTime(props: SpsDateTimeProps): JSX.Element;
26
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsDatetimeExamples: DSReactExamples;
@@ -1,2 +0,0 @@
1
- export * from "./SpsDateTime";
2
- export * from "./SpsDateTime.examples";
@@ -1,14 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- compact: PropTypes.Requireable<boolean>;
4
- wideTerms: PropTypes.Requireable<boolean>;
5
- widerTerms: PropTypes.Requireable<boolean>;
6
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
7
- className: PropTypes.Requireable<string>;
8
- "data-testid": PropTypes.Requireable<string>;
9
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
10
- };
11
- export declare type SpsDescriptionListProps = PropTypes.InferTS<typeof propTypes, HTMLDListElement>;
12
- export declare function SpsDescriptionList(props: SpsDescriptionListProps): JSX.Element;
13
- export declare function SpsDl(p: SpsDescriptionListProps): JSX.Element;
14
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsDescriptionListExamples: DSReactExamples;
@@ -1,11 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
4
- className: PropTypes.Requireable<string>;
5
- "data-testid": PropTypes.Requireable<string>;
6
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
7
- };
8
- export declare type SpsDescriptionListDefinitionProps = PropTypes.InferTS<typeof propTypes, HTMLElement>;
9
- export declare function SpsDescriptionListDefinition(props: SpsDescriptionListDefinitionProps): JSX.Element;
10
- export declare function SpsDd(p: SpsDescriptionListDefinitionProps): JSX.Element;
11
- export {};
@@ -1,18 +0,0 @@
1
- import type { SpsFormControl } from "../form/hooks/formControl";
2
- import type { SpsFormFieldMeta } from "../form/hooks/useSpsForm";
3
- import * as PropTypes from "../prop-types";
4
- declare const propTypes: {
5
- error: PropTypes.Requireable<boolean>;
6
- errors: PropTypes.Requireable<PropTypes.ReactNodeOrRenderFn>;
7
- help: PropTypes.Requireable<PropTypes.ReactNodeOrRenderFn>;
8
- labelFor: PropTypes.Requireable<SpsFormFieldMeta<any> | SpsFormControl<any>>;
9
- required: PropTypes.Requireable<boolean>;
10
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
11
- className: PropTypes.Requireable<string>;
12
- "data-testid": PropTypes.Requireable<string>;
13
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
14
- };
15
- export declare type SpsDescriptionListTermProps = PropTypes.InferTS<typeof propTypes, HTMLElement>;
16
- export declare function SpsDescriptionListTerm(props: SpsDescriptionListTermProps): JSX.Element;
17
- export declare function SpsDt(p: SpsDescriptionListTermProps): JSX.Element;
18
- export {};
@@ -1,4 +0,0 @@
1
- export * from "./SpsDescriptionList";
2
- export * from "./SpsDescriptionListTerm";
3
- export * from "./SpsDescriptionListDefinition";
4
- export * from "./SpsDescriptionList.examples";
@@ -1,24 +0,0 @@
1
- import type { SpsActionDescriptor, SpsActionMethod } from "@spscommerce/ds-shared";
2
- import { DropdownKind, SpsIcon } from "@spscommerce/ds-shared";
3
- import * as PropTypes from "../prop-types";
4
- declare const propTypes: {
5
- alignLeft: PropTypes.Requireable<boolean>;
6
- disabled: PropTypes.Requireable<boolean>;
7
- icon: PropTypes.Requireable<SpsIcon>;
8
- kind: PropTypes.Requireable<DropdownKind>;
9
- label: PropTypes.Requireable<string>;
10
- options: PropTypes.Validator<(SpsActionMethod | [SpsActionDescriptor, () => void])[]>;
11
- spinning: PropTypes.Requireable<boolean>;
12
- spinningTitle: PropTypes.Requireable<string>;
13
- tallOptionList: PropTypes.Requireable<boolean>;
14
- onOpen: PropTypes.Requireable<() => void>;
15
- onClose: PropTypes.Requireable<() => void>;
16
- loading: PropTypes.Requireable<boolean>;
17
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
18
- className: PropTypes.Requireable<string>;
19
- "data-testid": PropTypes.Requireable<string>;
20
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
21
- };
22
- export declare type SpsDropdownProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
23
- export declare function SpsDropdown(props: SpsDropdownProps): JSX.Element;
24
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsDropdownExamples: DSReactExamples;
@@ -1,2 +0,0 @@
1
- export * from "./SpsDropdown";
2
- export * from "./SpsDropdown.examples";
@@ -1,12 +0,0 @@
1
- import { FeedbackBlockKind } from "@spscommerce/ds-shared";
2
- import * as PropTypes from "../prop-types";
3
- declare const propTypes: {
4
- kind: PropTypes.Requireable<FeedbackBlockKind>;
5
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
6
- className: PropTypes.Requireable<string>;
7
- "data-testid": PropTypes.Requireable<string>;
8
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
9
- };
10
- export declare type SpsFeedbackBlockProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
11
- export declare function SpsFeedbackBlock(props: SpsFeedbackBlockProps): JSX.Element;
12
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsFeedbackBlockExamples: DSReactExamples;
@@ -1,2 +0,0 @@
1
- export * from "./SpsFeedbackBlock";
2
- export * from "./SpsFeedbackBlock.examples";
@@ -1,22 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- import type { SpsFormArray } from "../form/hooks/formArray";
3
- import type { SpsFormGroup } from "../form/hooks/formGroup";
4
- import type { SpsFormSetMeta } from "../form/hooks/useSpsForm";
5
- declare const propTypes: {
6
- errors: PropTypes.Requireable<PropTypes.ReactNodeOrRenderFn>;
7
- formArray: PropTypes.Requireable<SpsFormArray<any>>;
8
- formGroup: PropTypes.Requireable<SpsFormGroup>;
9
- formMeta: PropTypes.Requireable<SpsFormSetMeta<any, import("../form/hooks/useSpsForm").InferredSpsFormMetaSetMembers<any>>>;
10
- legend: PropTypes.Requireable<string>;
11
- optional: PropTypes.Requireable<boolean>;
12
- enabled: PropTypes.Requireable<boolean>;
13
- onToggled: PropTypes.Requireable<(isEnabled: boolean) => void>;
14
- tooltip: PropTypes.Requireable<string>;
15
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
- className: PropTypes.Requireable<string>;
17
- "data-testid": PropTypes.Requireable<string>;
18
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
19
- };
20
- export declare type SpsFieldsetProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
21
- export declare function SpsFieldset({ children, className, errors, formArray, formGroup, formMeta, legend, unsafelyReplaceClassName, optional, enabled, onToggled, tooltip, "data-testid": testId }: SpsFieldsetProps): JSX.Element;
22
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsFieldsetExamples: DSReactExamples;
@@ -1,2 +0,0 @@
1
- export * from "./SpsFieldset";
2
- export * from "./SpsFieldset.examples";
@@ -1,10 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
4
- className: PropTypes.Requireable<string>;
5
- "data-testid": PropTypes.Requireable<string>;
6
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
7
- };
8
- export declare type SpsFilterPanelProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
9
- export declare function SpsFilterPanel({ children, className, ...rest }: SpsFilterPanelProps): JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsFilterPanelExamples: DSReactExamples;
@@ -1,11 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- onClear: PropTypes.Requireable<() => void>;
4
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
5
- className: PropTypes.Requireable<string>;
6
- "data-testid": PropTypes.Requireable<string>;
7
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
8
- };
9
- export declare type SpsFilterPanelCapProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
10
- export declare function SpsFilterPanelCap({ children, className, onClear, ...rest }: SpsFilterPanelCapProps): JSX.Element;
11
- export {};
@@ -1,16 +0,0 @@
1
- import * as React from "react";
2
- import * as PropTypes from "../prop-types";
3
- import type { SpsFormArrayMeta, SpsFormGroupMeta } from "../form";
4
- declare const propTypes: {
5
- value: PropTypes.Requireable<string>;
6
- placeholder: PropTypes.Requireable<string>;
7
- formMeta: PropTypes.Requireable<SpsFormArrayMeta<any> | SpsFormGroupMeta<any>>;
8
- onFilterChange: PropTypes.Requireable<React.ChangeEventHandler<HTMLInputElement>>;
9
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
- className: PropTypes.Requireable<string>;
11
- "data-testid": PropTypes.Requireable<string>;
12
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
13
- };
14
- export declare type SpsFilterPanelFilterBoxProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
15
- export declare function SpsFilterPanelFilterBox({ className, value, placeholder, formMeta, onFilterChange, ...rest }: SpsFilterPanelFilterBoxProps): JSX.Element;
16
- export {};
@@ -1,16 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- title: PropTypes.Requireable<string>;
4
- expanded: PropTypes.Requireable<boolean>;
5
- heightPx: PropTypes.Requireable<number>;
6
- heightRem: PropTypes.Requireable<number>;
7
- onExpand: PropTypes.Requireable<() => void>;
8
- onCollapse: PropTypes.Requireable<() => void>;
9
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
10
- className: PropTypes.Requireable<string>;
11
- "data-testid": PropTypes.Requireable<string>;
12
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
13
- };
14
- export declare type SpsFilterPanelSectionProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
15
- export declare function SpsFilterPanelSection({ children, className, title, expanded, heightPx, heightRem, onExpand, onCollapse, ...rest }: SpsFilterPanelSectionProps): JSX.Element;
16
- export {};
@@ -1,5 +0,0 @@
1
- export * from "./SpsFilterPanel";
2
- export * from "./SpsFilterPanelSection";
3
- export * from "./SpsFilterPanelCap";
4
- export * from "./SpsFilterPanel.examples";
5
- export * from "./SpsFilterPanelFilterBox";
@@ -1,15 +0,0 @@
1
- import { SpsFilterTileKind } from "@spscommerce/ds-shared";
2
- import * as PropTypes from "../prop-types";
3
- declare const propTypes: {
4
- value: PropTypes.Validator<number>;
5
- title: PropTypes.Validator<string>;
6
- kind: PropTypes.Requireable<SpsFilterTileKind>;
7
- active: PropTypes.Requireable<boolean>;
8
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
- className: PropTypes.Requireable<string>;
10
- "data-testid": PropTypes.Requireable<string>;
11
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
12
- };
13
- export declare type SpsFilterTileProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
14
- export declare function SpsFilterTile(props: SpsFilterTileProps): JSX.Element;
15
- export {};
@@ -1,10 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
4
- className: PropTypes.Requireable<string>;
5
- "data-testid": PropTypes.Requireable<string>;
6
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
7
- };
8
- export declare type SpsFilterTileListProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
9
- export declare function SpsFilterTileList(props: SpsFilterTileListProps): JSX.Element;
10
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsFilterTileListExamples: DSReactExamples;
@@ -1,3 +0,0 @@
1
- export * from "./SpsFilterTile";
2
- export * from "./SpsFilterTileList";
3
- export * from "./SpsFilterTileList.examples";
@@ -1,13 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- fullWidth: PropTypes.Requireable<boolean>;
4
- isOpen: PropTypes.Requireable<boolean>;
5
- onClose: PropTypes.Requireable<() => void>;
6
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
7
- className: PropTypes.Requireable<string>;
8
- "data-testid": PropTypes.Requireable<string>;
9
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
10
- };
11
- export declare type SpsFocusedTaskProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
12
- export declare function SpsFocusedTask(props: SpsFocusedTaskProps): JSX.Element;
13
- export {};
@@ -1,2 +0,0 @@
1
- import type { DSReactExamples } from "@spscommerce/ds-shared";
2
- export declare const SpsFocusedTaskExamples: DSReactExamples;
@@ -1,10 +0,0 @@
1
- import * as PropTypes from "../prop-types";
2
- declare const propTypes: {
3
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
4
- className: PropTypes.Requireable<string>;
5
- "data-testid": PropTypes.Requireable<string>;
6
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
7
- };
8
- export declare type SpsFocusedTaskActionsProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
9
- export declare function SpsFocusedTaskActions(props: SpsFocusedTaskActionsProps): JSX.Element;
10
- export {};
@@ -1,3 +0,0 @@
1
- export * from "./SpsFocusedTask";
2
- export * from "./SpsFocusedTaskActions";
3
- export * from "./SpsFocusedTask.examples";
@@ -1,18 +0,0 @@
1
- export declare const SpsAddRemoveFormRowExamples: {
2
- ideal: {
3
- label: string;
4
- examples: {
5
- ideal: {
6
- react: string;
7
- };
8
- };
9
- };
10
- alternate: {
11
- label: string;
12
- examples: {
13
- alternate: {
14
- react: string;
15
- };
16
- };
17
- };
18
- };
@@ -1,24 +0,0 @@
1
- import * as React from "react";
2
- import * as PropTypes from "../prop-types";
3
- import type { SpsFormArray } from "./hooks/formArray";
4
- import type { SpsFormGroup } from "./hooks/formGroup";
5
- import type { SpsFormSetMeta } from "./hooks/useSpsForm";
6
- export declare const spsFormProps: {
7
- formMeta: string;
8
- onSubmit: string;
9
- };
10
- export declare const spsFormPropTypes: {
11
- formArray: PropTypes.Requireable<SpsFormArray<any>>;
12
- formGroup: PropTypes.Requireable<SpsFormGroup>;
13
- formMeta: PropTypes.Requireable<SpsFormSetMeta<any, import("./hooks/useSpsForm").InferredSpsFormMetaSetMembers<any>>>;
14
- onSubmit: PropTypes.Requireable<React.FormEventHandler<Element>>;
15
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
- className: PropTypes.Requireable<string>;
17
- "data-testid": PropTypes.Requireable<string>;
18
- unsafelyReplaceClassName: PropTypes.Requireable<string>;
19
- };
20
- export declare type SpsFormProps = PropTypes.InferTS<typeof spsFormPropTypes, HTMLFormElement>;
21
- declare type SpsFormForwardRefType = SpsFormProps & React.RefAttributes<HTMLFormElement>;
22
- declare type SpsFormForwardRefExoticComponent = React.ForwardRefExoticComponent<SpsFormForwardRefType>;
23
- export declare const SpsForm: SpsFormForwardRefExoticComponent;
24
- export {};
@@ -1,41 +0,0 @@
1
- export declare const SpsFormExamples: {
2
- a_basic: {
3
- label: string;
4
- description: string;
5
- examples: {
6
- basic: {
7
- react: string;
8
- };
9
- };
10
- };
11
- b_array: {
12
- label: string;
13
- description: string;
14
- examples: {
15
- array: {
16
- react: string;
17
- };
18
- };
19
- };
20
- c_dynamic_group: {
21
- label: string;
22
- description: string;
23
- examples: {
24
- basic: {
25
- react: string;
26
- };
27
- };
28
- };
29
- preventative_validators: {
30
- label: string;
31
- examples: {
32
- basic: {
33
- react: string;
34
- };
35
- custom_text: {
36
- description: () => JSX.Element;
37
- react: string;
38
- };
39
- };
40
- };
41
- };