@spscommerce/ds-react 5.0.0-rc1 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_template/SpsComponent.d.ts +15 -13
- package/lib/_template/SpsComponent.examples.d.ts +2 -2
- package/lib/_template/index.d.ts +2 -2
- package/lib/advanced-search/SpsAdvancedSearch.d.ts +22 -22
- package/lib/advanced-search/SpsAdvancedSearch.examples.d.ts +2 -2
- package/lib/advanced-search/index.d.ts +2 -2
- package/lib/autocomplete/SpsAutocomplete.d.ts +27 -26
- package/lib/autocomplete/SpsAutocomplete.examples.d.ts +2 -2
- package/lib/autocomplete/index.d.ts +2 -2
- package/lib/button/SpsButton.d.ts +18 -18
- package/lib/button/SpsButton.examples.d.ts +2 -2
- package/lib/button/SpsButtonGroup.d.ts +10 -10
- package/lib/button/SpsIconButtonPanel.d.ts +10 -10
- package/lib/button/index.d.ts +4 -4
- package/lib/card/SpsCard.d.ts +16 -16
- package/lib/card/SpsCard.examples.d.ts +2 -2
- package/lib/card/SpsCardHeader.d.ts +14 -14
- package/lib/card/SpsCardTabbedPane.d.ts +19 -19
- package/lib/card/index.d.ts +3 -3
- package/lib/card/useTab.d.ts +18 -18
- package/lib/card-v2/SpsCardV2.d.ts +2 -2
- package/lib/card-v2/SpsCardV2Footer.d.ts +2 -2
- package/lib/card-v2/SpsCardV2Header.d.ts +2 -2
- package/lib/card-v2/SpsCardV2Title.d.ts +2 -2
- package/lib/card-v2/index.d.ts +5 -5
- package/lib/checkbox/SpsCheckbox.d.ts +21 -21
- package/lib/checkbox/SpsCheckbox.examples.d.ts +2 -2
- package/lib/checkbox/index.d.ts +2 -2
- package/lib/checkbox-dropdown/SpsCheckboxDropdown.d.ts +17 -17
- package/lib/checkbox-dropdown/index.d.ts +1 -1
- package/lib/clickable-tag/SpsClickableTag.d.ts +16 -16
- package/lib/clickable-tag/SpsClickableTag.examples.d.ts +2 -2
- package/lib/clickable-tag/index.d.ts +2 -2
- package/lib/column-chooser/SpsColumnChooser.d.ts +19 -19
- package/lib/column-chooser/SpsColumnChooser.examples.d.ts +2 -2
- package/lib/column-chooser/SpsColumnChooserColumn.d.ts +17 -17
- package/lib/column-chooser/index.d.ts +3 -3
- package/lib/conditional-field/SpsConditionalField.d.ts +11 -0
- package/lib/conditional-field/SpsConditionalField.examples.d.ts +2 -0
- package/lib/conditional-field/index.d.ts +2 -0
- package/lib/content-row/SpsContentRow.d.ts +22 -21
- package/lib/content-row/SpsContentRow.examples.d.ts +2 -2
- package/lib/content-row/SpsContentRowCol.d.ts +15 -15
- package/lib/content-row/SpsContentRowExpansion.d.ts +10 -10
- package/lib/content-row/index.d.ts +4 -4
- package/lib/currency-input/SpsCurrencyInput.d.ts +18 -18
- package/lib/currency-input/SpsCurrencyInput.examples.d.ts +2 -2
- package/lib/currency-input/index.d.ts +2 -2
- package/lib/dateRangePicker/SpsDateRangePicker.d.ts +23 -23
- package/lib/dateRangePicker/SpsDateRangePicker.examples.d.ts +2 -2
- package/lib/dateRangePicker/index.d.ts +2 -2
- package/lib/datepicker/SpsDatepicker.d.ts +19 -19
- package/lib/datepicker/SpsDatepicker.examples.d.ts +2 -2
- package/lib/datepicker/index.d.ts +2 -2
- package/lib/datepicker-v2/SpsDateRangePickerV2.d.ts +20 -20
- package/lib/datepicker-v2/SpsDatepickerCalendar.d.ts +18 -18
- package/lib/datepicker-v2/SpsDatepickerPopup.d.ts +13 -13
- package/lib/datepicker-v2/SpsDatepickerV2.d.ts +18 -18
- package/lib/datepicker-v2/index.d.ts +4 -4
- package/lib/datepicker-v2/useCalendar.d.ts +2 -2
- package/lib/datepicker-v2/useMoment.d.ts +3 -3
- package/lib/datepicker-v2/utils.d.ts +22 -22
- package/lib/datepicker-v2/validation.d.ts +10 -10
- package/lib/datetime/SpsDateTime.d.ts +26 -17
- package/lib/datetime/SpsDateTime.examples.d.ts +2 -2
- package/lib/datetime/index.d.ts +2 -2
- package/lib/description-list/SpsDescriptionList.d.ts +14 -14
- package/lib/description-list/SpsDescriptionList.examples.d.ts +2 -2
- package/lib/description-list/SpsDescriptionListDefinition.d.ts +11 -11
- package/lib/description-list/SpsDescriptionListTerm.d.ts +18 -18
- package/lib/description-list/index.d.ts +4 -4
- package/lib/dropdown/SpsDropdown.d.ts +24 -22
- package/lib/dropdown/SpsDropdown.examples.d.ts +2 -2
- package/lib/dropdown/index.d.ts +2 -2
- package/lib/feedback-block/SpsFeedbackBlock.d.ts +12 -12
- package/lib/feedback-block/SpsFeedbackBlock.examples.d.ts +2 -2
- package/lib/feedback-block/index.d.ts +2 -2
- package/lib/fieldset/SpsFieldset.d.ts +22 -22
- package/lib/fieldset/SpsFieldset.examples.d.ts +2 -2
- package/lib/fieldset/index.d.ts +2 -2
- package/lib/filter-panel/SpsFilterPanel.d.ts +10 -10
- package/lib/filter-panel/SpsFilterPanel.examples.d.ts +2 -2
- package/lib/filter-panel/SpsFilterPanelCap.d.ts +11 -11
- package/lib/filter-panel/SpsFilterPanelFilterBox.d.ts +16 -16
- package/lib/filter-panel/SpsFilterPanelSection.d.ts +16 -16
- package/lib/filter-panel/index.d.ts +5 -5
- package/lib/filter-tile-list/SpsFilterTile.d.ts +15 -0
- package/lib/filter-tile-list/SpsFilterTileList.d.ts +10 -0
- package/lib/filter-tile-list/SpsFilterTileList.examples.d.ts +2 -0
- package/lib/filter-tile-list/index.d.ts +3 -0
- package/lib/focused-task/SpsFocusedTask.d.ts +13 -13
- package/lib/focused-task/SpsFocusedTask.examples.d.ts +2 -2
- package/lib/focused-task/SpsFocusedTaskActions.d.ts +10 -10
- package/lib/focused-task/index.d.ts +3 -3
- package/lib/form/AddRemoveFormRows.examples.d.ts +18 -18
- package/lib/form/SpsForm.d.ts +24 -24
- package/lib/form/SpsForm.examples.d.ts +29 -29
- package/lib/form/SpsFormComponentWrapper.d.ts +19 -19
- package/lib/form/hooks/SpsAbstractControl.interface.d.ts +24 -24
- package/lib/form/hooks/SpsControlSet.interface.d.ts +7 -7
- package/lib/form/hooks/formArray.d.ts +12 -12
- package/lib/form/hooks/formControl.d.ts +9 -9
- package/lib/form/hooks/formGroup.d.ts +10 -14
- package/lib/form/hooks/useForm.d.ts +2 -2
- package/lib/form/hooks/useFormControlId.d.ts +4 -4
- package/lib/form/hooks/useServerSideValidation.d.ts +3 -3
- package/lib/form/hooks/useSpsForm.d.ts +74 -76
- package/lib/form/index.d.ts +15 -15
- package/lib/form/validation/SpsValidators.d.ts +16 -16
- package/lib/form/validation/types.d.ts +6 -9
- package/lib/form/validation/validate.d.ts +2 -2
- package/lib/growler/SpsGrowler.d.ts +17 -17
- package/lib/growler/SpsGrowler.examples.d.ts +2 -2
- package/lib/growler/index.d.ts +3 -3
- package/lib/growler/useGrowlers.d.ts +12 -11
- package/lib/i18n.d.ts +3 -3
- package/lib/icon/SpsIcon.d.ts +13 -13
- package/lib/icon/index.d.ts +1 -1
- package/lib/incrementor/SpsIncrementor.d.ts +15 -15
- package/lib/incrementor/SpsIncrementor.examples.d.ts +2 -2
- package/lib/incrementor/index.d.ts +2 -2
- package/lib/index.cjs.js +8252 -14878
- package/lib/index.d.ts +71 -67
- package/lib/index.es.js +37616 -0
- package/lib/input-group/SpsInputGroup.d.ts +17 -17
- package/lib/input-group/index.d.ts +1 -1
- package/lib/insight-tile/SpsInsightTile.d.ts +18 -0
- package/lib/insight-tile/SpsInsightTile.examples.d.ts +2 -0
- package/lib/insight-tile/SpsInsights.d.ts +10 -0
- package/lib/insight-tile/index.d.ts +2 -0
- package/lib/key-value-list/SpsKeyValueList.d.ts +11 -11
- package/lib/key-value-list/SpsKeyValueList.examples.d.ts +2 -2
- package/lib/key-value-list/SpsKeyValueListItem.d.ts +13 -11
- package/lib/key-value-list/index.d.ts +3 -3
- package/lib/key-value-tag/SpsKeyValueTag.d.ts +16 -16
- package/lib/key-value-tag/SpsKeyValueTag.examples.d.ts +2 -2
- package/lib/key-value-tag/index.d.ts +2 -2
- package/lib/label/SpsLabel.d.ts +20 -20
- package/lib/label/SpsLabel.examples.d.ts +2 -2
- package/lib/label/index.d.ts +2 -2
- package/lib/list-action-bar/SpsListActionBar.d.ts +12 -12
- package/lib/list-action-bar/SpsListActionBar.examples.d.ts +2 -2
- package/lib/list-action-bar/index.d.ts +2 -2
- package/lib/list-toolbar/SpsListToolbar.d.ts +25 -25
- package/lib/list-toolbar/SpsListToolbar.examples.d.ts +3 -3
- package/lib/list-toolbar/SpsListToolbarSearch.d.ts +12 -12
- package/lib/list-toolbar/index.d.ts +3 -3
- package/lib/manifest.d.ts +2 -2
- package/lib/micro-block/SpsMicroBlock.d.ts +13 -13
- package/lib/micro-block/SpsMicroBlock.examples.d.ts +2 -2
- package/lib/micro-block/index.d.ts +2 -2
- package/lib/modal/SpsModal.d.ts +25 -25
- package/lib/modal/SpsModal.examples.d.ts +2 -2
- package/lib/modal/SpsModalAction.d.ts +18 -18
- package/lib/modal/SpsModalBody.d.ts +10 -10
- package/lib/modal/SpsModalFooter.d.ts +16 -16
- package/lib/modal/SpsModalHeader.d.ts +11 -11
- package/lib/modal/SpsModalOverlay.d.ts +12 -12
- package/lib/modal/index.d.ts +2 -2
- package/lib/modal-v2/SpsModalV2.d.ts +18 -18
- package/lib/modal-v2/index.d.ts +1 -1
- package/lib/multi-select/SpsMultiSelect.d.ts +33 -31
- package/lib/multi-select/SpsMultiSelect.examples.d.ts +2 -2
- package/lib/multi-select/index.d.ts +2 -2
- package/lib/option-list/SpsOptionList.d.ts +3 -3
- package/lib/option-list/SpsOptionListProps.d.ts +74 -69
- package/lib/option-list/index.d.ts +1 -1
- package/lib/option-list/useOptionListOptions.d.ts +8 -8
- package/lib/option-list/useOptionListSearch.d.ts +13 -13
- package/lib/option-list/useSpsAction.d.ts +2 -2
- package/lib/page-title/SpsPageSubtitle.d.ts +10 -10
- package/lib/page-title/SpsPageTitle.d.ts +10 -10
- package/lib/page-title/SpsPageTitle.examples.d.ts +2 -2
- package/lib/page-title/index.d.ts +3 -3
- package/lib/pagination/SpsPageSelector.d.ts +14 -14
- package/lib/pagination/SpsPagination.d.ts +16 -16
- package/lib/pagination/SpsPagination.examples.d.ts +2 -2
- package/lib/pagination/index.d.ts +3 -3
- package/lib/product-bar/SpsProductBar.d.ts +19 -19
- package/lib/product-bar/SpsProductBar.examples.d.ts +2 -2
- package/lib/product-bar/SpsProductBarTab.d.ts +6 -11
- package/lib/product-bar/index.d.ts +3 -3
- package/lib/progress-bar/SpsProgressBar.d.ts +15 -15
- package/lib/progress-bar/SpsProgressBar.examples.d.ts +27 -27
- package/lib/progress-bar/index.d.ts +2 -2
- package/lib/progress-ring/SpsProgressRing.d.ts +13 -13
- package/lib/progress-ring/index.d.ts +1 -1
- package/lib/prop-types.d.ts +23 -25
- package/lib/radio-button/SpsRadioButton.d.ts +23 -23
- package/lib/radio-button/SpsRadioButton.examples.d.ts +2 -2
- package/lib/radio-button/index.d.ts +2 -2
- package/lib/scrollable-container/SpsScrollableContainer.d.ts +11 -11
- package/lib/scrollable-container/SpsScrollableContainer.examples.d.ts +14 -14
- package/lib/scrollable-container/index.d.ts +2 -2
- package/lib/search-results-bar/SpsSearchResultsBar.d.ts +13 -13
- package/lib/search-results-bar/SpsSearchResultsBar.examples.d.ts +2 -2
- package/lib/search-results-bar/index.d.ts +2 -2
- package/lib/select/SpsSelect.d.ts +36 -35
- package/lib/select/SpsSelect.examples.d.ts +2 -2
- package/lib/select/index.d.ts +2 -2
- package/lib/setup-jest.d.ts +1 -1
- package/lib/side-nav/SpsSideNav.d.ts +36 -36
- package/lib/side-nav/SpsSideNav.examples.d.ts +2 -2
- package/lib/side-nav/SpsSideNavBranch.d.ts +9 -9
- package/lib/side-nav/index.d.ts +2 -2
- package/lib/slack-link/SpsSlackLink.d.ts +11 -11
- package/lib/slack-link/SpsSlackLink.examples.d.ts +2 -2
- package/lib/slack-link/index.d.ts +2 -2
- package/lib/sorting-header/SpsSortingHeader.d.ts +13 -13
- package/lib/sorting-header/SpsSortingHeader.examples.d.ts +2 -2
- package/lib/sorting-header/SpsSortingHeaderCell.d.ts +17 -17
- package/lib/sorting-header/index.d.ts +3 -3
- package/lib/spinner/SpsSpinner.d.ts +14 -14
- package/lib/spinner/SpsSpinner.examples.d.ts +2 -2
- package/lib/spinner/index.d.ts +2 -2
- package/lib/split-button/SpsSplitButton.d.ts +18 -17
- package/lib/split-button/SpsSplitButton.examples.d.ts +2 -2
- package/lib/split-button/index.d.ts +2 -2
- package/lib/stepped-progress-bar/SpsStepepdProgressBar.examples.d.ts +20 -0
- package/lib/stepped-progress-bar/SpsSteppedProgressBar.d.ts +23 -0
- package/lib/stepped-progress-bar/index.d.ts +2 -0
- package/lib/summary-list/SpsSummaryList.examples.d.ts +2 -2
- package/lib/summary-list/SpsSummaryListColumn.d.ts +14 -14
- package/lib/summary-list/SpsSummaryListExpansion.d.ts +10 -10
- package/lib/summary-list/SpsSummaryListRow.d.ts +13 -13
- package/lib/summary-list/index.d.ts +4 -4
- package/lib/table/SpsTable.d.ts +14 -14
- package/lib/table/SpsTable.examples.d.ts +2 -2
- package/lib/table/SpsTableBody.d.ts +11 -11
- package/lib/table/SpsTableCell.d.ts +15 -15
- package/lib/table/SpsTableHead.d.ts +15 -15
- package/lib/table/SpsTableHeader.d.ts +17 -17
- package/lib/table/SpsTableRow.d.ts +14 -14
- package/lib/table/index.d.ts +7 -7
- package/lib/table/usePinnedStyles.d.ts +4 -4
- package/lib/tabs/SpsTabs.d.ts +14 -14
- package/lib/tabs-v2/SpsTab.d.ts +6 -6
- package/lib/tabs-v2/SpsTabPanel.d.ts +5 -5
- package/lib/tabs-v2/SpsTabsV2.d.ts +2 -2
- package/lib/tabs-v2/index.d.ts +4 -4
- package/lib/tag/SpsTag.d.ts +13 -13
- package/lib/tag/SpsTag.examples.d.ts +2 -2
- package/lib/tag/index.d.ts +2 -2
- package/lib/task-queue/SpsTaskQueue.d.ts +36 -35
- package/lib/task-queue/SpsTaskQueue.examples.d.ts +2 -2
- package/lib/task-queue/index.d.ts +2 -2
- package/lib/test-util.d.ts +1 -1
- package/lib/text-input/SpsTextInput.d.ts +22 -22
- package/lib/text-input/SpsTextInput.examples.d.ts +2 -2
- package/lib/text-input/index.d.ts +2 -2
- package/lib/textarea/SpsTextarea.d.ts +22 -22
- package/lib/textarea/SpsTextarea.examples.d.ts +2 -2
- package/lib/textarea/index.d.ts +2 -2
- package/lib/tile-list/SpsTile.d.ts +16 -16
- package/lib/tile-list/SpsTileList.d.ts +10 -10
- package/lib/tile-list/SpsTileList.examples.d.ts +2 -2
- package/lib/tile-list/index.d.ts +3 -3
- package/lib/toggle/SpsToggle.d.ts +27 -27
- package/lib/toggle/SpsToggle.examples.d.ts +2 -2
- package/lib/toggle/index.d.ts +2 -2
- package/lib/tooltip/SpsTooltip.d.ts +29 -29
- package/lib/tooltip/SpsTooltip.examples.d.ts +2 -2
- package/lib/tooltip/SpsTooltipTitle.d.ts +13 -0
- package/lib/tooltip/index.d.ts +3 -2
- package/lib/utils/FauxChangeEvent.d.ts +20 -20
- package/lib/utils/contentOf.d.ts +2 -2
- package/lib/utils/getPosition.d.ts +11 -10
- package/lib/utils/getScrollParent.d.ts +1 -1
- package/lib/utils/index.d.ts +11 -11
- package/lib/utils/selectChildren.d.ts +5 -7
- package/lib/utils/useCheckDeprecatedProps.d.ts +2 -2
- package/lib/utils/useDidUpdateEffect.d.ts +2 -2
- package/lib/utils/useDocumentEventListener.d.ts +1 -1
- package/lib/utils/useElementId.d.ts +2 -1
- package/lib/utils/useInputPopup.d.ts +6 -7
- package/lib/utils/usePatchReducer.d.ts +2 -1
- package/lib/utils/usePortal.d.ts +6 -6
- package/lib/vertical-rule/SpsVerticalRule.d.ts +11 -11
- package/lib/vertical-rule/index.d.ts +1 -1
- package/lib/wizard/SpsWizard.examples.d.ts +2 -2
- package/lib/wizard/SpsWizardSidebar.d.ts +23 -23
- package/lib/wizard/SpsWizardSubstep.d.ts +14 -14
- package/lib/wizard/index.d.ts +3 -3
- package/lib/workflow/SpsWorkflow.d.ts +14 -14
- package/lib/workflow/SpsWorkflow.examples.d.ts +2 -2
- package/lib/workflow/SpsWorkflowDocument.d.ts +11 -11
- package/lib/workflow/SpsWorkflowDocumentStatus.d.ts +13 -13
- package/lib/workflow/SpsWorkflowStep.d.ts +14 -14
- package/lib/workflow/index.d.ts +5 -5
- package/lib/zero-state/SpsMicroZeroState.d.ts +14 -14
- package/lib/zero-state/SpsZeroState.d.ts +13 -13
- package/lib/zero-state/SpsZeroState.examples.d.ts +2 -2
- package/lib/zero-state/index.d.ts +3 -3
- package/package.json +34 -40
- package/vite.config.js +20 -0
- package/lib/_template/SpsComponent.test-unit.d.ts +0 -1
- package/lib/advanced-search/SpsAdvancedSearch.test-unit.d.ts +0 -1
- package/lib/autocomplete/SpsAutocomplete.test-unit.d.ts +0 -1
- package/lib/autocomplete/SpsAutocomplete.test-visual.d.ts +0 -1
- package/lib/button/SpsButton.test-unit.d.ts +0 -1
- package/lib/button/SpsButton.test-visual.d.ts +0 -1
- package/lib/card/SpsCard.test-unit.d.ts +0 -1
- package/lib/card/SpsCard.test-visual.d.ts +0 -1
- package/lib/checkbox/SpsCheckbox.test-unit.d.ts +0 -1
- package/lib/column-chooser/SpsColumnChooser.test-unit.d.ts +0 -1
- package/lib/content-row/SpsContentRow.test-unit.d.ts +0 -1
- package/lib/currency-input/SpsCurrencyInput.test-unit.d.ts +0 -1
- package/lib/dateRangePicker/SpsDateRangePicker.test-unit.d.ts +0 -1
- package/lib/datepicker/SpsDatepicker.test-unit.d.ts +0 -1
- package/lib/description-list/SpsDescriptionList.test-unit.d.ts +0 -1
- package/lib/dropdown/SpsDropdown.test-unit.d.ts +0 -1
- package/lib/feedback-block/SpsFeedbackBlock.test-unit.d.ts +0 -1
- package/lib/fieldset/SpsFieldset.test-unit.d.ts +0 -1
- package/lib/filter-panel/SpsFilterPanel.test-unit.d.ts +0 -1
- package/lib/focused-task/SpsFocusedTask.test-unit.d.ts +0 -1
- package/lib/growler/SpsGrowler.test-unit.d.ts +0 -1
- package/lib/incrementor/SpsIncrementor.test-unit.d.ts +0 -1
- package/lib/index.esm.js +0 -14666
- package/lib/key-value-list/SpsKeyValueList.test-unit.d.ts +0 -1
- package/lib/label/SpsLabel.test-unit.d.ts +0 -1
- package/lib/list-action-bar/SpsListActionBar.test-unit.d.ts +0 -1
- package/lib/list-toolbar/SpsListToolbar.test-unit.d.ts +0 -1
- package/lib/micro-block/SpsMicroBlock.test-unit.d.ts +0 -1
- package/lib/modal/SpsModal.test-unit.d.ts +0 -1
- package/lib/multi-select/SpsMultiSelect.test-unit.d.ts +0 -1
- package/lib/page-title/SpsPageTitle.test-unit.d.ts +0 -1
- package/lib/pagination/SpsPagination.test-unit.d.ts +0 -1
- package/lib/product-bar/SpsProductBar.test-unit.d.ts +0 -1
- package/lib/progress-bar/SpsProgressBar.test-unit.d.ts +0 -1
- package/lib/radio-button/SpsRadioButton.test-unit.d.ts +0 -1
- package/lib/search-results-bar/SpsSearchResultsBar.test-unit.d.ts +0 -1
- package/lib/select/SpsSelect.test-unit.d.ts +0 -1
- package/lib/side-nav/SpsSideNav.test-unit.d.ts +0 -1
- package/lib/slack-link/SpsSlackLink.test-unit.d.ts +0 -1
- package/lib/sorting-header/SpsSortingHeader.test-unit.d.ts +0 -1
- package/lib/spinner/SpsSpinner.test-unit.d.ts +0 -1
- package/lib/split-button/SpsSplitButton.test-unit.d.ts +0 -1
- package/lib/summary-list/SummaryList.test-unit.d.ts +0 -1
- package/lib/table/SpsTable.test-unit.d.ts +0 -1
- package/lib/tag/SpsTag.test-unit.d.ts +0 -1
- package/lib/task-queue/SpsTaskQueue.test-unit.d.ts +0 -1
- package/lib/text-input/SpsTextInput.test-unit.d.ts +0 -1
- package/lib/textarea/SpsTextarea.test-unit.d.ts +0 -1
- package/lib/tile-list/SpsTileList.test-unit.d.ts +0 -1
- package/lib/toggle/SpsToggle.test-unit.d.ts +0 -1
- package/lib/tooltip/SpsTooltip.test-unit.d.ts +0 -1
- package/lib/wizard/SpsWizard.test-unit.d.ts +0 -1
- package/lib/workflow/SpsWorkflow.test-unit.d.ts +0 -1
- package/lib/zero-state/SpsZeroState.test-unit.d.ts +0 -1
- package/rollup.config.js +0 -24
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { SimpleDate, SimpleDateRange } from
|
|
2
|
-
import { Moment } from
|
|
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
|
-
}>;
|
|
1
|
+
import type { SimpleDate, SimpleDateRange } 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
|
+
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SimpleDate, SimpleDateRange } from
|
|
2
|
-
import { Duration } from
|
|
3
|
-
import { SpsValidator, SpsValidatorFactory } from
|
|
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
|
+
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,17 +1,26 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsDatetimeExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsDatetimeExamples: DSReactExamples;
|
package/lib/datetime/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./SpsDateTime";
|
|
2
|
+
export * from "./SpsDateTime.examples";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
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
|
-
|
|
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
|
+
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 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsDescriptionListExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsDescriptionListExamples: DSReactExamples;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
|
|
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
|
+
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 +1,18 @@
|
|
|
1
|
-
import { SpsFormControl } from
|
|
2
|
-
import { SpsFormFieldMeta } from
|
|
3
|
-
import * as PropTypes from
|
|
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<
|
|
9
|
-
required: PropTypes.Requireable<boolean>;
|
|
10
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
11
|
-
className: PropTypes.Requireable<string>;
|
|
12
|
-
|
|
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
|
+
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 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from "./SpsDescriptionList";
|
|
2
|
+
export * from "./SpsDescriptionListTerm";
|
|
3
|
+
export * from "./SpsDescriptionListDefinition";
|
|
4
|
+
export * from "./SpsDescriptionList.examples";
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export
|
|
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 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsDropdownExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsDropdownExamples: DSReactExamples;
|
package/lib/dropdown/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./SpsDropdown";
|
|
2
|
+
export * from "./SpsDropdown.examples";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { FeedbackBlockKind } from
|
|
2
|
-
import * as PropTypes from
|
|
3
|
-
declare const propTypes: {
|
|
4
|
-
kind: PropTypes.Requireable<FeedbackBlockKind>;
|
|
5
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
6
|
-
className: PropTypes.Requireable<string>;
|
|
7
|
-
|
|
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
|
+
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 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsFeedbackBlockExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsFeedbackBlockExamples: DSReactExamples;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./SpsFeedbackBlock";
|
|
2
|
+
export * from "./SpsFeedbackBlock.examples";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
2
|
-
import { SpsFormArray } from
|
|
3
|
-
import { SpsFormGroup } from
|
|
4
|
-
import { SpsFormSetMeta } from
|
|
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
|
-
|
|
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, }: SpsFieldsetProps): JSX.Element;
|
|
22
|
-
export {};
|
|
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, }: SpsFieldsetProps): JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsFieldsetExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsFieldsetExamples: DSReactExamples;
|
package/lib/fieldset/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
1
|
+
export * from "./SpsFieldset";
|
|
2
|
+
export * from "./SpsFieldset.examples";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
4
|
-
className: PropTypes.Requireable<string>;
|
|
5
|
-
|
|
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
|
+
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 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsFilterPanelExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsFilterPanelExamples: DSReactExamples;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
2
|
-
declare const propTypes: {
|
|
3
|
-
onClear: PropTypes.Requireable<() => void>;
|
|
4
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
5
|
-
className: PropTypes.Requireable<string>;
|
|
6
|
-
|
|
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
|
+
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 +1,16 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as PropTypes from
|
|
3
|
-
import { SpsFormArrayMeta, SpsFormGroupMeta } from
|
|
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
|
-
|
|
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
|
+
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 +1,16 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
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
|
-
|
|
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
|
+
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 +1,5 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
1
|
+
export * from "./SpsFilterPanel";
|
|
2
|
+
export * from "./SpsFilterPanelSection";
|
|
3
|
+
export * from "./SpsFilterPanelCap";
|
|
4
|
+
export * from "./SpsFilterPanel.examples";
|
|
5
|
+
export * from "./SpsFilterPanelFilterBox";
|
|
@@ -0,0 +1,15 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,10 @@
|
|
|
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,13 +1,13 @@
|
|
|
1
|
-
import * as PropTypes from
|
|
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
|
-
|
|
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
|
+
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 +1,2 @@
|
|
|
1
|
-
import { DSReactExamples } from
|
|
2
|
-
export declare const SpsFocusedTaskExamples: DSReactExamples;
|
|
1
|
+
import type { DSReactExamples } from "@spscommerce/ds-shared";
|
|
2
|
+
export declare const SpsFocusedTaskExamples: DSReactExamples;
|