@spscommerce/ds-react 5.20.2 → 5.20.3-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.
- package/dist/out-tsc/_template/SpsComponent.d.ts +15 -0
- package/dist/out-tsc/_template/SpsComponent.examples.d.ts +2 -0
- package/dist/out-tsc/_template/SpsComponent.examples.js +17 -0
- package/dist/out-tsc/_template/SpsComponent.examples.js.map +1 -0
- package/dist/out-tsc/_template/SpsComponent.js +44 -0
- package/dist/out-tsc/_template/SpsComponent.js.map +1 -0
- package/dist/out-tsc/_template/index.d.ts +2 -0
- package/dist/out-tsc/_template/index.js +3 -0
- package/dist/out-tsc/_template/index.js.map +1 -0
- package/dist/out-tsc/advanced-search/SpsAdvancedSearch.d.ts +22 -0
- package/dist/out-tsc/advanced-search/SpsAdvancedSearch.examples.d.ts +2 -0
- package/dist/out-tsc/advanced-search/SpsAdvancedSearch.examples.js +43 -0
- package/dist/out-tsc/advanced-search/SpsAdvancedSearch.examples.js.map +1 -0
- package/dist/out-tsc/advanced-search/SpsAdvancedSearch.js +58 -0
- package/dist/out-tsc/advanced-search/SpsAdvancedSearch.js.map +1 -0
- package/dist/out-tsc/advanced-search/index.d.ts +2 -0
- package/dist/out-tsc/advanced-search/index.js +3 -0
- package/dist/out-tsc/advanced-search/index.js.map +1 -0
- package/dist/out-tsc/autocomplete/SpsAutocomplete.d.ts +29 -0
- package/dist/out-tsc/autocomplete/SpsAutocomplete.examples.d.ts +2 -0
- package/dist/out-tsc/autocomplete/SpsAutocomplete.examples.js +37 -0
- package/dist/out-tsc/autocomplete/SpsAutocomplete.examples.js.map +1 -0
- package/dist/out-tsc/autocomplete/SpsAutocomplete.js +141 -0
- package/dist/out-tsc/autocomplete/SpsAutocomplete.js.map +1 -0
- package/dist/out-tsc/autocomplete/index.d.ts +2 -0
- package/dist/out-tsc/autocomplete/index.js +3 -0
- package/dist/out-tsc/autocomplete/index.js.map +1 -0
- package/dist/out-tsc/button/SpsButton.d.ts +18 -0
- package/dist/out-tsc/button/SpsButton.examples.d.ts +2 -0
- package/dist/out-tsc/button/SpsButton.examples.js +201 -0
- package/dist/out-tsc/button/SpsButton.examples.js.map +1 -0
- package/dist/out-tsc/button/SpsButton.js +67 -0
- package/dist/out-tsc/button/SpsButton.js.map +1 -0
- package/dist/out-tsc/button/SpsButtonGroup.d.ts +10 -0
- package/dist/out-tsc/button/SpsButtonGroup.js +68 -0
- package/dist/out-tsc/button/SpsButtonGroup.js.map +1 -0
- package/dist/out-tsc/button/SpsIconButtonPanel.d.ts +10 -0
- package/dist/out-tsc/button/SpsIconButtonPanel.js +61 -0
- package/dist/out-tsc/button/SpsIconButtonPanel.js.map +1 -0
- package/dist/out-tsc/button/index.d.ts +4 -0
- package/dist/out-tsc/button/index.js +5 -0
- package/dist/out-tsc/button/index.js.map +1 -0
- package/dist/out-tsc/card/SpsCard.d.ts +16 -0
- package/dist/out-tsc/card/SpsCard.examples.d.ts +2 -0
- package/dist/out-tsc/card/SpsCard.examples.js +98 -0
- package/dist/out-tsc/card/SpsCard.examples.js.map +1 -0
- package/dist/out-tsc/card/SpsCard.js +90 -0
- package/dist/out-tsc/card/SpsCard.js.map +1 -0
- package/dist/out-tsc/card/SpsCardHeader.d.ts +14 -0
- package/dist/out-tsc/card/SpsCardHeader.js +49 -0
- package/dist/out-tsc/card/SpsCardHeader.js.map +1 -0
- package/dist/out-tsc/card/SpsCardTabbedPane.d.ts +19 -0
- package/dist/out-tsc/card/SpsCardTabbedPane.js +63 -0
- package/dist/out-tsc/card/SpsCardTabbedPane.js.map +1 -0
- package/dist/out-tsc/card/index.d.ts +3 -0
- package/dist/out-tsc/card/index.js +4 -0
- package/dist/out-tsc/card/index.js.map +1 -0
- package/dist/out-tsc/card/useTab.d.ts +18 -0
- package/dist/out-tsc/card/useTab.js +110 -0
- package/dist/out-tsc/card/useTab.js.map +1 -0
- package/dist/out-tsc/checkbox/SpsCheckbox.d.ts +21 -0
- package/dist/out-tsc/checkbox/SpsCheckbox.examples.d.ts +2 -0
- package/dist/out-tsc/checkbox/SpsCheckbox.examples.js +35 -0
- package/dist/out-tsc/checkbox/SpsCheckbox.examples.js.map +1 -0
- package/dist/out-tsc/checkbox/SpsCheckbox.js +88 -0
- package/dist/out-tsc/checkbox/SpsCheckbox.js.map +1 -0
- package/dist/out-tsc/checkbox/index.d.ts +2 -0
- package/dist/out-tsc/checkbox/index.js +3 -0
- package/dist/out-tsc/checkbox/index.js.map +1 -0
- package/dist/out-tsc/checkbox-dropdown/SpsCheckboxDropdown.d.ts +17 -0
- package/dist/out-tsc/checkbox-dropdown/SpsCheckboxDropdown.js +54 -0
- package/dist/out-tsc/checkbox-dropdown/SpsCheckboxDropdown.js.map +1 -0
- package/dist/out-tsc/checkbox-dropdown/index.d.ts +1 -0
- package/dist/out-tsc/checkbox-dropdown/index.js +2 -0
- package/dist/out-tsc/checkbox-dropdown/index.js.map +1 -0
- package/dist/out-tsc/clickable-tag/SpsClickableTag.d.ts +16 -0
- package/dist/out-tsc/clickable-tag/SpsClickableTag.examples.d.ts +2 -0
- package/dist/out-tsc/clickable-tag/SpsClickableTag.examples.js +42 -0
- package/dist/out-tsc/clickable-tag/SpsClickableTag.examples.js.map +1 -0
- package/dist/out-tsc/clickable-tag/SpsClickableTag.js +74 -0
- package/dist/out-tsc/clickable-tag/SpsClickableTag.js.map +1 -0
- package/dist/out-tsc/clickable-tag/index.d.ts +2 -0
- package/dist/out-tsc/clickable-tag/index.js +3 -0
- package/dist/out-tsc/clickable-tag/index.js.map +1 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooser.d.ts +19 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooser.examples.d.ts +2 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooser.examples.js +18 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooser.examples.js.map +1 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooser.js +158 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooser.js.map +1 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooserColumn.d.ts +17 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooserColumn.js +61 -0
- package/dist/out-tsc/column-chooser/SpsColumnChooserColumn.js.map +1 -0
- package/dist/out-tsc/column-chooser/index.d.ts +3 -0
- package/dist/out-tsc/column-chooser/index.js +4 -0
- package/dist/out-tsc/column-chooser/index.js.map +1 -0
- package/dist/out-tsc/conditional-field/SpsConditionalField.d.ts +11 -0
- package/dist/out-tsc/conditional-field/SpsConditionalField.examples.d.ts +2 -0
- package/dist/out-tsc/conditional-field/SpsConditionalField.examples.js +20 -0
- package/dist/out-tsc/conditional-field/SpsConditionalField.examples.js.map +1 -0
- package/dist/out-tsc/conditional-field/SpsConditionalField.js +39 -0
- package/dist/out-tsc/conditional-field/SpsConditionalField.js.map +1 -0
- package/dist/out-tsc/conditional-field/index.d.ts +2 -0
- package/dist/out-tsc/conditional-field/index.js +3 -0
- package/dist/out-tsc/conditional-field/index.js.map +1 -0
- package/dist/out-tsc/content-row/SpsContentRow.d.ts +22 -0
- package/dist/out-tsc/content-row/SpsContentRow.examples.d.ts +2 -0
- package/dist/out-tsc/content-row/SpsContentRow.examples.js +51 -0
- package/dist/out-tsc/content-row/SpsContentRow.examples.js.map +1 -0
- package/dist/out-tsc/content-row/SpsContentRow.js +105 -0
- package/dist/out-tsc/content-row/SpsContentRow.js.map +1 -0
- package/dist/out-tsc/content-row/SpsContentRowCol.d.ts +15 -0
- package/dist/out-tsc/content-row/SpsContentRowCol.js +57 -0
- package/dist/out-tsc/content-row/SpsContentRowCol.js.map +1 -0
- package/dist/out-tsc/content-row/SpsContentRowExpansion.d.ts +10 -0
- package/dist/out-tsc/content-row/SpsContentRowExpansion.js +38 -0
- package/dist/out-tsc/content-row/SpsContentRowExpansion.js.map +1 -0
- package/dist/out-tsc/content-row/index.d.ts +4 -0
- package/dist/out-tsc/content-row/index.js +5 -0
- package/dist/out-tsc/content-row/index.js.map +1 -0
- package/dist/out-tsc/currency-input/SpsCurrencyInput.d.ts +18 -0
- package/dist/out-tsc/currency-input/SpsCurrencyInput.examples.d.ts +2 -0
- package/dist/out-tsc/currency-input/SpsCurrencyInput.examples.js +20 -0
- package/dist/out-tsc/currency-input/SpsCurrencyInput.examples.js.map +1 -0
- package/dist/out-tsc/currency-input/SpsCurrencyInput.js +82 -0
- package/dist/out-tsc/currency-input/SpsCurrencyInput.js.map +1 -0
- package/dist/out-tsc/currency-input/index.d.ts +2 -0
- package/dist/out-tsc/currency-input/index.js +3 -0
- package/dist/out-tsc/currency-input/index.js.map +1 -0
- package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.d.ts +23 -0
- package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.examples.d.ts +2 -0
- package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.examples.js +42 -0
- package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.examples.js.map +1 -0
- package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.js +635 -0
- package/dist/out-tsc/dateRangePicker/SpsDateRangePicker.js.map +1 -0
- package/dist/out-tsc/dateRangePicker/index.d.ts +2 -0
- package/dist/out-tsc/dateRangePicker/index.js +3 -0
- package/dist/out-tsc/dateRangePicker/index.js.map +1 -0
- package/dist/out-tsc/datepicker/SpsDatepicker.d.ts +19 -0
- package/dist/out-tsc/datepicker/SpsDatepicker.examples.d.ts +2 -0
- package/dist/out-tsc/datepicker/SpsDatepicker.examples.js +33 -0
- package/dist/out-tsc/datepicker/SpsDatepicker.examples.js.map +1 -0
- package/dist/out-tsc/datepicker/SpsDatepicker.js +427 -0
- package/dist/out-tsc/datepicker/SpsDatepicker.js.map +1 -0
- package/dist/out-tsc/datepicker/index.d.ts +2 -0
- package/dist/out-tsc/datepicker/index.js +3 -0
- package/dist/out-tsc/datepicker/index.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/SpsDateRangePickerV2.d.ts +21 -0
- package/dist/out-tsc/datepicker-v2/SpsDateRangePickerV2.js +213 -0
- package/dist/out-tsc/datepicker-v2/SpsDateRangePickerV2.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerCalendar.d.ts +18 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerCalendar.js +140 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerCalendar.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerPopup.d.ts +13 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerPopup.js +65 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerPopup.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerV2.d.ts +18 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerV2.js +111 -0
- package/dist/out-tsc/datepicker-v2/SpsDatepickerV2.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/index.d.ts +4 -0
- package/dist/out-tsc/datepicker-v2/index.js +5 -0
- package/dist/out-tsc/datepicker-v2/index.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/useCalendar.d.ts +2 -0
- package/dist/out-tsc/datepicker-v2/useCalendar.js +58 -0
- package/dist/out-tsc/datepicker-v2/useCalendar.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/useMoment.d.ts +3 -0
- package/dist/out-tsc/datepicker-v2/useMoment.js +24 -0
- package/dist/out-tsc/datepicker-v2/useMoment.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/utils.d.ts +23 -0
- package/dist/out-tsc/datepicker-v2/utils.js +169 -0
- package/dist/out-tsc/datepicker-v2/utils.js.map +1 -0
- package/dist/out-tsc/datepicker-v2/validation.d.ts +10 -0
- package/dist/out-tsc/datepicker-v2/validation.js +67 -0
- package/dist/out-tsc/datepicker-v2/validation.js.map +1 -0
- package/dist/out-tsc/datetime/SpsDateTime.d.ts +26 -0
- package/dist/out-tsc/datetime/SpsDateTime.examples.d.ts +2 -0
- package/dist/out-tsc/datetime/SpsDateTime.examples.js +21 -0
- package/dist/out-tsc/datetime/SpsDateTime.examples.js.map +1 -0
- package/dist/out-tsc/datetime/SpsDateTime.js +194 -0
- package/dist/out-tsc/datetime/SpsDateTime.js.map +1 -0
- package/dist/out-tsc/datetime/index.d.ts +2 -0
- package/dist/out-tsc/datetime/index.js +3 -0
- package/dist/out-tsc/datetime/index.js.map +1 -0
- package/dist/out-tsc/description-list/SpsDescriptionList.d.ts +14 -0
- package/dist/out-tsc/description-list/SpsDescriptionList.examples.d.ts +2 -0
- package/dist/out-tsc/description-list/SpsDescriptionList.examples.js +47 -0
- package/dist/out-tsc/description-list/SpsDescriptionList.examples.js.map +1 -0
- package/dist/out-tsc/description-list/SpsDescriptionList.js +65 -0
- package/dist/out-tsc/description-list/SpsDescriptionList.js.map +1 -0
- package/dist/out-tsc/description-list/SpsDescriptionListDefinition.d.ts +11 -0
- package/dist/out-tsc/description-list/SpsDescriptionListDefinition.js +46 -0
- package/dist/out-tsc/description-list/SpsDescriptionListDefinition.js.map +1 -0
- package/dist/out-tsc/description-list/SpsDescriptionListTerm.d.ts +18 -0
- package/dist/out-tsc/description-list/SpsDescriptionListTerm.js +92 -0
- package/dist/out-tsc/description-list/SpsDescriptionListTerm.js.map +1 -0
- package/dist/out-tsc/description-list/index.d.ts +4 -0
- package/dist/out-tsc/description-list/index.js +5 -0
- package/dist/out-tsc/description-list/index.js.map +1 -0
- package/dist/out-tsc/dropdown/SpsDropdown.d.ts +26 -0
- package/dist/out-tsc/dropdown/SpsDropdown.examples.d.ts +2 -0
- package/dist/out-tsc/dropdown/SpsDropdown.examples.js +95 -0
- package/dist/out-tsc/dropdown/SpsDropdown.examples.js.map +1 -0
- package/dist/out-tsc/dropdown/SpsDropdown.js +164 -0
- package/dist/out-tsc/dropdown/SpsDropdown.js.map +1 -0
- package/dist/out-tsc/dropdown/index.d.ts +2 -0
- package/dist/out-tsc/dropdown/index.js +3 -0
- package/dist/out-tsc/dropdown/index.js.map +1 -0
- package/dist/out-tsc/feedback-block/SpsFeedbackBlock.d.ts +12 -0
- package/dist/out-tsc/feedback-block/SpsFeedbackBlock.examples.d.ts +2 -0
- package/dist/out-tsc/feedback-block/SpsFeedbackBlock.examples.js +63 -0
- package/dist/out-tsc/feedback-block/SpsFeedbackBlock.examples.js.map +1 -0
- package/dist/out-tsc/feedback-block/SpsFeedbackBlock.js +43 -0
- package/dist/out-tsc/feedback-block/SpsFeedbackBlock.js.map +1 -0
- package/dist/out-tsc/feedback-block/index.d.ts +2 -0
- package/dist/out-tsc/feedback-block/index.js +3 -0
- package/dist/out-tsc/feedback-block/index.js.map +1 -0
- package/dist/out-tsc/fieldset/SpsFieldset.d.ts +22 -0
- package/dist/out-tsc/fieldset/SpsFieldset.examples.d.ts +2 -0
- package/dist/out-tsc/fieldset/SpsFieldset.examples.js +54 -0
- package/dist/out-tsc/fieldset/SpsFieldset.examples.js.map +1 -0
- package/dist/out-tsc/fieldset/SpsFieldset.js +99 -0
- package/dist/out-tsc/fieldset/SpsFieldset.js.map +1 -0
- package/dist/out-tsc/fieldset/index.d.ts +2 -0
- package/dist/out-tsc/fieldset/index.js +3 -0
- package/dist/out-tsc/fieldset/index.js.map +1 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanel.d.ts +10 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanel.examples.d.ts +2 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanel.examples.js +31 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanel.examples.js.map +1 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanel.js +37 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanel.js.map +1 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelCap.d.ts +11 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelCap.js +48 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelCap.js.map +1 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelFilterBox.d.ts +16 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelFilterBox.js +49 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelFilterBox.js.map +1 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelSection.d.ts +16 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelSection.js +84 -0
- package/dist/out-tsc/filter-panel/SpsFilterPanelSection.js.map +1 -0
- package/dist/out-tsc/filter-panel/index.d.ts +5 -0
- package/dist/out-tsc/filter-panel/index.js +6 -0
- package/dist/out-tsc/filter-panel/index.js.map +1 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTile.d.ts +15 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTile.js +66 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTile.js.map +1 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTileList.d.ts +10 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTileList.examples.d.ts +2 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTileList.examples.js +17 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTileList.examples.js.map +1 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTileList.js +38 -0
- package/dist/out-tsc/filter-tile-list/SpsFilterTileList.js.map +1 -0
- package/dist/out-tsc/filter-tile-list/index.d.ts +3 -0
- package/dist/out-tsc/filter-tile-list/index.js +4 -0
- package/dist/out-tsc/filter-tile-list/index.js.map +1 -0
- package/dist/out-tsc/focused-task/SpsFocusedTask.d.ts +13 -0
- package/dist/out-tsc/focused-task/SpsFocusedTask.examples.d.ts +2 -0
- package/dist/out-tsc/focused-task/SpsFocusedTask.examples.js +19 -0
- package/dist/out-tsc/focused-task/SpsFocusedTask.examples.js.map +1 -0
- package/dist/out-tsc/focused-task/SpsFocusedTask.js +80 -0
- package/dist/out-tsc/focused-task/SpsFocusedTask.js.map +1 -0
- package/dist/out-tsc/focused-task/SpsFocusedTaskActions.d.ts +10 -0
- package/dist/out-tsc/focused-task/SpsFocusedTaskActions.js +40 -0
- package/dist/out-tsc/focused-task/SpsFocusedTaskActions.js.map +1 -0
- package/dist/out-tsc/focused-task/index.d.ts +3 -0
- package/dist/out-tsc/focused-task/index.js +4 -0
- package/dist/out-tsc/focused-task/index.js.map +1 -0
- package/dist/out-tsc/form/AddRemoveFormRows.examples.d.ts +18 -0
- package/dist/out-tsc/form/AddRemoveFormRows.examples.js +25 -0
- package/dist/out-tsc/form/AddRemoveFormRows.examples.js.map +1 -0
- package/dist/out-tsc/form/SpsForm.d.ts +24 -0
- package/dist/out-tsc/form/SpsForm.examples.d.ts +50 -0
- package/dist/out-tsc/form/SpsForm.examples.js +67 -0
- package/dist/out-tsc/form/SpsForm.examples.js.map +1 -0
- package/dist/out-tsc/form/SpsForm.js +52 -0
- package/dist/out-tsc/form/SpsForm.js.map +1 -0
- package/dist/out-tsc/form/SpsFormComponentWrapper.d.ts +19 -0
- package/dist/out-tsc/form/SpsFormComponentWrapper.js +69 -0
- package/dist/out-tsc/form/SpsFormComponentWrapper.js.map +1 -0
- package/dist/out-tsc/form/hooks/SpsAbstractControl.interface.d.ts +24 -0
- package/dist/out-tsc/form/hooks/SpsAbstractControl.interface.js +2 -0
- package/dist/out-tsc/form/hooks/SpsAbstractControl.interface.js.map +1 -0
- package/dist/out-tsc/form/hooks/SpsControlSet.interface.d.ts +7 -0
- package/dist/out-tsc/form/hooks/SpsControlSet.interface.js +24 -0
- package/dist/out-tsc/form/hooks/SpsControlSet.interface.js.map +1 -0
- package/dist/out-tsc/form/hooks/formArray.d.ts +12 -0
- package/dist/out-tsc/form/hooks/formArray.js +211 -0
- package/dist/out-tsc/form/hooks/formArray.js.map +1 -0
- package/dist/out-tsc/form/hooks/formControl.d.ts +9 -0
- package/dist/out-tsc/form/hooks/formControl.js +68 -0
- package/dist/out-tsc/form/hooks/formControl.js.map +1 -0
- package/dist/out-tsc/form/hooks/formGroup.d.ts +10 -0
- package/dist/out-tsc/form/hooks/formGroup.js +182 -0
- package/dist/out-tsc/form/hooks/formGroup.js.map +1 -0
- package/dist/out-tsc/form/hooks/useCustomValidator.d.ts +7 -0
- package/dist/out-tsc/form/hooks/useCustomValidator.js +60 -0
- package/dist/out-tsc/form/hooks/useCustomValidator.js.map +1 -0
- package/dist/out-tsc/form/hooks/useForm.d.ts +2 -0
- package/dist/out-tsc/form/hooks/useForm.js +98 -0
- package/dist/out-tsc/form/hooks/useForm.js.map +1 -0
- package/dist/out-tsc/form/hooks/useFormControlId.d.ts +4 -0
- package/dist/out-tsc/form/hooks/useFormControlId.js +18 -0
- package/dist/out-tsc/form/hooks/useFormControlId.js.map +1 -0
- package/dist/out-tsc/form/hooks/useServerSideValidation.d.ts +3 -0
- package/dist/out-tsc/form/hooks/useServerSideValidation.js +37 -0
- package/dist/out-tsc/form/hooks/useServerSideValidation.js.map +1 -0
- package/dist/out-tsc/form/hooks/useSpsForm.d.ts +83 -0
- package/dist/out-tsc/form/hooks/useSpsForm.js +736 -0
- package/dist/out-tsc/form/hooks/useSpsForm.js.map +1 -0
- package/dist/out-tsc/form/index.d.ts +16 -0
- package/dist/out-tsc/form/index.js +17 -0
- package/dist/out-tsc/form/index.js.map +1 -0
- package/dist/out-tsc/form/validation/SpsValidators.d.ts +16 -0
- package/dist/out-tsc/form/validation/SpsValidators.js +84 -0
- package/dist/out-tsc/form/validation/SpsValidators.js.map +1 -0
- package/dist/out-tsc/form/validation/types.d.ts +10 -0
- package/dist/out-tsc/form/validation/types.js +21 -0
- package/dist/out-tsc/form/validation/types.js.map +1 -0
- package/dist/out-tsc/form/validation/validate.d.ts +2 -0
- package/dist/out-tsc/form/validation/validate.js +6 -0
- package/dist/out-tsc/form/validation/validate.js.map +1 -0
- package/dist/out-tsc/growler/SpsGrowler.d.ts +17 -0
- package/dist/out-tsc/growler/SpsGrowler.examples.d.ts +2 -0
- package/dist/out-tsc/growler/SpsGrowler.examples.js +122 -0
- package/dist/out-tsc/growler/SpsGrowler.examples.js.map +1 -0
- package/dist/out-tsc/growler/SpsGrowler.js +147 -0
- package/dist/out-tsc/growler/SpsGrowler.js.map +1 -0
- package/dist/out-tsc/growler/index.d.ts +3 -0
- package/dist/out-tsc/growler/index.js +4 -0
- package/dist/out-tsc/growler/index.js.map +1 -0
- package/dist/out-tsc/growler/useGrowlers.d.ts +12 -0
- package/dist/out-tsc/growler/useGrowlers.js +59 -0
- package/dist/out-tsc/growler/useGrowlers.js.map +1 -0
- package/dist/out-tsc/i18n.d.ts +3 -0
- package/dist/out-tsc/i18n.js +4 -0
- package/dist/out-tsc/i18n.js.map +1 -0
- package/dist/out-tsc/icon/SpsIcon.d.ts +13 -0
- package/dist/out-tsc/icon/SpsIcon.js +47 -0
- package/dist/out-tsc/icon/SpsIcon.js.map +1 -0
- package/dist/out-tsc/icon/index.d.ts +1 -0
- package/dist/out-tsc/icon/index.js +2 -0
- package/dist/out-tsc/icon/index.js.map +1 -0
- package/dist/out-tsc/incrementor/SpsIncrementor.d.ts +15 -0
- package/dist/out-tsc/incrementor/SpsIncrementor.examples.d.ts +2 -0
- package/dist/out-tsc/incrementor/SpsIncrementor.examples.js +18 -0
- package/dist/out-tsc/incrementor/SpsIncrementor.examples.js.map +1 -0
- package/dist/out-tsc/incrementor/SpsIncrementor.js +113 -0
- package/dist/out-tsc/incrementor/SpsIncrementor.js.map +1 -0
- package/dist/out-tsc/incrementor/index.d.ts +2 -0
- package/dist/out-tsc/incrementor/index.js +3 -0
- package/dist/out-tsc/incrementor/index.js.map +1 -0
- package/dist/out-tsc/index.d.ts +69 -0
- package/dist/out-tsc/index.js +70 -0
- package/dist/out-tsc/index.js.map +1 -0
- package/dist/out-tsc/input-group/SpsInputGroup.d.ts +17 -0
- package/dist/out-tsc/input-group/SpsInputGroup.js +74 -0
- package/dist/out-tsc/input-group/SpsInputGroup.js.map +1 -0
- package/dist/out-tsc/input-group/index.d.ts +1 -0
- package/dist/out-tsc/input-group/index.js +2 -0
- package/dist/out-tsc/input-group/index.js.map +1 -0
- package/dist/out-tsc/insight-tile/SpsInsightTile.d.ts +18 -0
- package/dist/out-tsc/insight-tile/SpsInsightTile.examples.d.ts +2 -0
- package/dist/out-tsc/insight-tile/SpsInsightTile.examples.js +59 -0
- package/dist/out-tsc/insight-tile/SpsInsightTile.examples.js.map +1 -0
- package/dist/out-tsc/insight-tile/SpsInsightTile.js +91 -0
- package/dist/out-tsc/insight-tile/SpsInsightTile.js.map +1 -0
- package/dist/out-tsc/insight-tile/SpsInsights.d.ts +10 -0
- package/dist/out-tsc/insight-tile/SpsInsights.js +19 -0
- package/dist/out-tsc/insight-tile/SpsInsights.js.map +1 -0
- package/dist/out-tsc/insight-tile/index.d.ts +2 -0
- package/dist/out-tsc/insight-tile/index.js +3 -0
- package/dist/out-tsc/insight-tile/index.js.map +1 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueList.d.ts +11 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueList.examples.d.ts +2 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueList.examples.js +25 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueList.examples.js.map +1 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueList.js +40 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueList.js.map +1 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueListItem.d.ts +13 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueListItem.js +44 -0
- package/dist/out-tsc/key-value-list/SpsKeyValueListItem.js.map +1 -0
- package/dist/out-tsc/key-value-list/index.d.ts +3 -0
- package/dist/out-tsc/key-value-list/index.js +4 -0
- package/dist/out-tsc/key-value-list/index.js.map +1 -0
- package/dist/out-tsc/key-value-tag/SpsKeyValueTag.d.ts +16 -0
- package/dist/out-tsc/key-value-tag/SpsKeyValueTag.examples.d.ts +2 -0
- package/dist/out-tsc/key-value-tag/SpsKeyValueTag.examples.js +33 -0
- package/dist/out-tsc/key-value-tag/SpsKeyValueTag.examples.js.map +1 -0
- package/dist/out-tsc/key-value-tag/SpsKeyValueTag.js +56 -0
- package/dist/out-tsc/key-value-tag/SpsKeyValueTag.js.map +1 -0
- package/dist/out-tsc/key-value-tag/index.d.ts +2 -0
- package/dist/out-tsc/key-value-tag/index.js +3 -0
- package/dist/out-tsc/key-value-tag/index.js.map +1 -0
- package/dist/out-tsc/label/SpsLabel.d.ts +20 -0
- package/dist/out-tsc/label/SpsLabel.examples.d.ts +2 -0
- package/dist/out-tsc/label/SpsLabel.examples.js +65 -0
- package/dist/out-tsc/label/SpsLabel.examples.js.map +1 -0
- package/dist/out-tsc/label/SpsLabel.js +223 -0
- package/dist/out-tsc/label/SpsLabel.js.map +1 -0
- package/dist/out-tsc/label/index.d.ts +2 -0
- package/dist/out-tsc/label/index.js +3 -0
- package/dist/out-tsc/label/index.js.map +1 -0
- package/dist/out-tsc/list-action-bar/SpsListActionBar.d.ts +12 -0
- package/dist/out-tsc/list-action-bar/SpsListActionBar.examples.d.ts +2 -0
- package/dist/out-tsc/list-action-bar/SpsListActionBar.examples.js +61 -0
- package/dist/out-tsc/list-action-bar/SpsListActionBar.examples.js.map +1 -0
- package/dist/out-tsc/list-action-bar/SpsListActionBar.js +59 -0
- package/dist/out-tsc/list-action-bar/SpsListActionBar.js.map +1 -0
- package/dist/out-tsc/list-action-bar/index.d.ts +2 -0
- package/dist/out-tsc/list-action-bar/index.js +3 -0
- package/dist/out-tsc/list-action-bar/index.js.map +1 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbar.d.ts +27 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbar.examples.d.ts +3 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbar.examples.js +425 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbar.examples.js.map +1 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbar.js +175 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbar.js.map +1 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSearch.d.ts +12 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSearch.js +35 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSearch.js.map +1 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSearchInfo.d.ts +10 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSearchInfo.js +25 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSearchInfo.js.map +1 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSortBy.d.ts +21 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSortBy.js +35 -0
- package/dist/out-tsc/list-toolbar/SpsListToolbarSortBy.js.map +1 -0
- package/dist/out-tsc/list-toolbar/index.d.ts +5 -0
- package/dist/out-tsc/list-toolbar/index.js +6 -0
- package/dist/out-tsc/list-toolbar/index.js.map +1 -0
- package/dist/out-tsc/manifest.d.ts +2 -0
- package/dist/out-tsc/manifest.js +462 -0
- package/dist/out-tsc/manifest.js.map +1 -0
- package/dist/out-tsc/micro-block/SpsMicroBlock.d.ts +13 -0
- package/dist/out-tsc/micro-block/SpsMicroBlock.examples.d.ts +2 -0
- package/dist/out-tsc/micro-block/SpsMicroBlock.examples.js +49 -0
- package/dist/out-tsc/micro-block/SpsMicroBlock.examples.js.map +1 -0
- package/dist/out-tsc/micro-block/SpsMicroBlock.js +44 -0
- package/dist/out-tsc/micro-block/SpsMicroBlock.js.map +1 -0
- package/dist/out-tsc/micro-block/index.d.ts +2 -0
- package/dist/out-tsc/micro-block/index.js +3 -0
- package/dist/out-tsc/micro-block/index.js.map +1 -0
- package/dist/out-tsc/modal/SpsModal.d.ts +25 -0
- package/dist/out-tsc/modal/SpsModal.examples.d.ts +2 -0
- package/dist/out-tsc/modal/SpsModal.examples.js +138 -0
- package/dist/out-tsc/modal/SpsModal.examples.js.map +1 -0
- package/dist/out-tsc/modal/SpsModal.js +193 -0
- package/dist/out-tsc/modal/SpsModal.js.map +1 -0
- package/dist/out-tsc/modal/SpsModalAction.d.ts +18 -0
- package/dist/out-tsc/modal/SpsModalAction.js +73 -0
- package/dist/out-tsc/modal/SpsModalAction.js.map +1 -0
- package/dist/out-tsc/modal/SpsModalBody.d.ts +10 -0
- package/dist/out-tsc/modal/SpsModalBody.js +41 -0
- package/dist/out-tsc/modal/SpsModalBody.js.map +1 -0
- package/dist/out-tsc/modal/SpsModalFooter.d.ts +16 -0
- package/dist/out-tsc/modal/SpsModalFooter.js +48 -0
- package/dist/out-tsc/modal/SpsModalFooter.js.map +1 -0
- package/dist/out-tsc/modal/SpsModalHeader.d.ts +11 -0
- package/dist/out-tsc/modal/SpsModalHeader.js +45 -0
- package/dist/out-tsc/modal/SpsModalHeader.js.map +1 -0
- package/dist/out-tsc/modal/SpsModalOverlay.d.ts +12 -0
- package/dist/out-tsc/modal/SpsModalOverlay.js +53 -0
- package/dist/out-tsc/modal/SpsModalOverlay.js.map +1 -0
- package/dist/out-tsc/modal/index.d.ts +2 -0
- package/dist/out-tsc/modal/index.js +5 -0
- package/dist/out-tsc/modal/index.js.map +1 -0
- package/dist/out-tsc/modal-v2/SpsModalV2.d.ts +18 -0
- package/dist/out-tsc/modal-v2/SpsModalV2.js +146 -0
- package/dist/out-tsc/modal-v2/SpsModalV2.js.map +1 -0
- package/dist/out-tsc/modal-v2/index.d.ts +1 -0
- package/dist/out-tsc/modal-v2/index.js +2 -0
- package/dist/out-tsc/modal-v2/index.js.map +1 -0
- package/dist/out-tsc/multi-select/SpsMultiSelect.d.ts +38 -0
- package/dist/out-tsc/multi-select/SpsMultiSelect.examples.d.ts +2 -0
- package/dist/out-tsc/multi-select/SpsMultiSelect.examples.js +42 -0
- package/dist/out-tsc/multi-select/SpsMultiSelect.examples.js.map +1 -0
- package/dist/out-tsc/multi-select/SpsMultiSelect.js +245 -0
- package/dist/out-tsc/multi-select/SpsMultiSelect.js.map +1 -0
- package/dist/out-tsc/multi-select/index.d.ts +2 -0
- package/dist/out-tsc/multi-select/index.js +3 -0
- package/dist/out-tsc/multi-select/index.js.map +1 -0
- package/dist/out-tsc/option-list/SpsOptionList.d.ts +3 -0
- package/dist/out-tsc/option-list/SpsOptionList.js +418 -0
- package/dist/out-tsc/option-list/SpsOptionList.js.map +1 -0
- package/dist/out-tsc/option-list/SpsOptionListProps.d.ts +81 -0
- package/dist/out-tsc/option-list/SpsOptionListProps.js +53 -0
- package/dist/out-tsc/option-list/SpsOptionListProps.js.map +1 -0
- package/dist/out-tsc/option-list/index.d.ts +1 -0
- package/dist/out-tsc/option-list/index.js +2 -0
- package/dist/out-tsc/option-list/index.js.map +1 -0
- package/dist/out-tsc/option-list/useOptionListOptions.d.ts +8 -0
- package/dist/out-tsc/option-list/useOptionListOptions.js +171 -0
- package/dist/out-tsc/option-list/useOptionListOptions.js.map +1 -0
- package/dist/out-tsc/option-list/useOptionListSearch.d.ts +13 -0
- package/dist/out-tsc/option-list/useOptionListSearch.js +74 -0
- package/dist/out-tsc/option-list/useOptionListSearch.js.map +1 -0
- package/dist/out-tsc/option-list/useSpsAction.d.ts +2 -0
- package/dist/out-tsc/option-list/useSpsAction.js +40 -0
- package/dist/out-tsc/option-list/useSpsAction.js.map +1 -0
- package/dist/out-tsc/page-title/SpsPageSubtitle.d.ts +10 -0
- package/dist/out-tsc/page-title/SpsPageSubtitle.js +38 -0
- package/dist/out-tsc/page-title/SpsPageSubtitle.js.map +1 -0
- package/dist/out-tsc/page-title/SpsPageTitle.d.ts +10 -0
- package/dist/out-tsc/page-title/SpsPageTitle.examples.d.ts +2 -0
- package/dist/out-tsc/page-title/SpsPageTitle.examples.js +41 -0
- package/dist/out-tsc/page-title/SpsPageTitle.examples.js.map +1 -0
- package/dist/out-tsc/page-title/SpsPageTitle.js +50 -0
- package/dist/out-tsc/page-title/SpsPageTitle.js.map +1 -0
- package/dist/out-tsc/page-title/index.d.ts +3 -0
- package/dist/out-tsc/page-title/index.js +4 -0
- package/dist/out-tsc/page-title/index.js.map +1 -0
- package/dist/out-tsc/pagination/SpsPageSelector.d.ts +14 -0
- package/dist/out-tsc/pagination/SpsPageSelector.js +99 -0
- package/dist/out-tsc/pagination/SpsPageSelector.js.map +1 -0
- package/dist/out-tsc/pagination/SpsPagination.d.ts +16 -0
- package/dist/out-tsc/pagination/SpsPagination.examples.d.ts +2 -0
- package/dist/out-tsc/pagination/SpsPagination.examples.js +78 -0
- package/dist/out-tsc/pagination/SpsPagination.examples.js.map +1 -0
- package/dist/out-tsc/pagination/SpsPagination.js +138 -0
- package/dist/out-tsc/pagination/SpsPagination.js.map +1 -0
- package/dist/out-tsc/pagination/index.d.ts +3 -0
- package/dist/out-tsc/pagination/index.js +4 -0
- package/dist/out-tsc/pagination/index.js.map +1 -0
- package/dist/out-tsc/product-bar/SpsProductBar.d.ts +19 -0
- package/dist/out-tsc/product-bar/SpsProductBar.examples.d.ts +2 -0
- package/dist/out-tsc/product-bar/SpsProductBar.examples.js +42 -0
- package/dist/out-tsc/product-bar/SpsProductBar.examples.js.map +1 -0
- package/dist/out-tsc/product-bar/SpsProductBar.js +90 -0
- package/dist/out-tsc/product-bar/SpsProductBar.js.map +1 -0
- package/dist/out-tsc/product-bar/SpsProductBarTab.d.ts +6 -0
- package/dist/out-tsc/product-bar/SpsProductBarTab.js +38 -0
- package/dist/out-tsc/product-bar/SpsProductBarTab.js.map +1 -0
- package/dist/out-tsc/product-bar/index.d.ts +3 -0
- package/dist/out-tsc/product-bar/index.js +4 -0
- package/dist/out-tsc/product-bar/index.js.map +1 -0
- package/dist/out-tsc/progress-bar/SpsProgressBar.d.ts +15 -0
- package/dist/out-tsc/progress-bar/SpsProgressBar.examples.d.ts +27 -0
- package/dist/out-tsc/progress-bar/SpsProgressBar.examples.js +79 -0
- package/dist/out-tsc/progress-bar/SpsProgressBar.examples.js.map +1 -0
- package/dist/out-tsc/progress-bar/SpsProgressBar.js +59 -0
- package/dist/out-tsc/progress-bar/SpsProgressBar.js.map +1 -0
- package/dist/out-tsc/progress-bar/index.d.ts +2 -0
- package/dist/out-tsc/progress-bar/index.js +3 -0
- package/dist/out-tsc/progress-bar/index.js.map +1 -0
- package/dist/out-tsc/progress-ring/SpsProgressRing.d.ts +13 -0
- package/dist/out-tsc/progress-ring/SpsProgressRing.js +37 -0
- package/dist/out-tsc/progress-ring/SpsProgressRing.js.map +1 -0
- package/dist/out-tsc/progress-ring/index.d.ts +1 -0
- package/dist/out-tsc/progress-ring/index.js +2 -0
- package/dist/out-tsc/progress-ring/index.js.map +1 -0
- package/dist/out-tsc/prop-types.d.ts +23 -0
- package/dist/out-tsc/prop-types.js +26 -0
- package/dist/out-tsc/prop-types.js.map +1 -0
- package/dist/out-tsc/radio-button/SpsRadioButton.d.ts +23 -0
- package/dist/out-tsc/radio-button/SpsRadioButton.examples.d.ts +2 -0
- package/dist/out-tsc/radio-button/SpsRadioButton.examples.js +36 -0
- package/dist/out-tsc/radio-button/SpsRadioButton.examples.js.map +1 -0
- package/dist/out-tsc/radio-button/SpsRadioButton.js +64 -0
- package/dist/out-tsc/radio-button/SpsRadioButton.js.map +1 -0
- package/dist/out-tsc/radio-button/index.d.ts +2 -0
- package/dist/out-tsc/radio-button/index.js +3 -0
- package/dist/out-tsc/radio-button/index.js.map +1 -0
- package/dist/out-tsc/scrollable-container/SpsScrollableContainer.d.ts +11 -0
- package/dist/out-tsc/scrollable-container/SpsScrollableContainer.examples.d.ts +14 -0
- package/dist/out-tsc/scrollable-container/SpsScrollableContainer.examples.js +21 -0
- package/dist/out-tsc/scrollable-container/SpsScrollableContainer.examples.js.map +1 -0
- package/dist/out-tsc/scrollable-container/SpsScrollableContainer.js +27 -0
- package/dist/out-tsc/scrollable-container/SpsScrollableContainer.js.map +1 -0
- package/dist/out-tsc/scrollable-container/index.d.ts +2 -0
- package/dist/out-tsc/scrollable-container/index.js +3 -0
- package/dist/out-tsc/scrollable-container/index.js.map +1 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.d.ts +13 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.examples.d.ts +2 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.examples.js +37 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.examples.js.map +1 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.js +74 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBar.js.map +1 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBarV2.d.ts +14 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBarV2.js +68 -0
- package/dist/out-tsc/search-results-bar/SpsSearchResultsBarV2.js.map +1 -0
- package/dist/out-tsc/search-results-bar/index.d.ts +3 -0
- package/dist/out-tsc/search-results-bar/index.js +4 -0
- package/dist/out-tsc/search-results-bar/index.js.map +1 -0
- package/dist/out-tsc/select/SpsSelect.d.ts +39 -0
- package/dist/out-tsc/select/SpsSelect.examples.d.ts +2 -0
- package/dist/out-tsc/select/SpsSelect.examples.js +77 -0
- package/dist/out-tsc/select/SpsSelect.examples.js.map +1 -0
- package/dist/out-tsc/select/SpsSelect.js +207 -0
- package/dist/out-tsc/select/SpsSelect.js.map +1 -0
- package/dist/out-tsc/select/index.d.ts +2 -0
- package/dist/out-tsc/select/index.js +3 -0
- package/dist/out-tsc/select/index.js.map +1 -0
- package/dist/out-tsc/side-nav/SpsSideNav.d.ts +38 -0
- package/dist/out-tsc/side-nav/SpsSideNav.examples.d.ts +2 -0
- package/dist/out-tsc/side-nav/SpsSideNav.examples.js +76 -0
- package/dist/out-tsc/side-nav/SpsSideNav.examples.js.map +1 -0
- package/dist/out-tsc/side-nav/SpsSideNav.js +128 -0
- package/dist/out-tsc/side-nav/SpsSideNav.js.map +1 -0
- package/dist/out-tsc/side-nav/SpsSideNavBranch.d.ts +9 -0
- package/dist/out-tsc/side-nav/SpsSideNavBranch.js +68 -0
- package/dist/out-tsc/side-nav/SpsSideNavBranch.js.map +1 -0
- package/dist/out-tsc/side-nav/index.d.ts +2 -0
- package/dist/out-tsc/side-nav/index.js +3 -0
- package/dist/out-tsc/side-nav/index.js.map +1 -0
- package/dist/out-tsc/slack-link/SpsSlackLink.d.ts +11 -0
- package/dist/out-tsc/slack-link/SpsSlackLink.examples.d.ts +2 -0
- package/dist/out-tsc/slack-link/SpsSlackLink.examples.js +16 -0
- package/dist/out-tsc/slack-link/SpsSlackLink.examples.js.map +1 -0
- package/dist/out-tsc/slack-link/SpsSlackLink.js +45 -0
- package/dist/out-tsc/slack-link/SpsSlackLink.js.map +1 -0
- package/dist/out-tsc/slack-link/index.d.ts +2 -0
- package/dist/out-tsc/slack-link/index.js +3 -0
- package/dist/out-tsc/slack-link/index.js.map +1 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeader.d.ts +13 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeader.examples.d.ts +2 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeader.examples.js +17 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeader.examples.js.map +1 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeader.js +51 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeader.js.map +1 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeaderCell.d.ts +17 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeaderCell.js +71 -0
- package/dist/out-tsc/sorting-header/SpsSortingHeaderCell.js.map +1 -0
- package/dist/out-tsc/sorting-header/index.d.ts +3 -0
- package/dist/out-tsc/sorting-header/index.js +4 -0
- package/dist/out-tsc/sorting-header/index.js.map +1 -0
- package/dist/out-tsc/spinner/SpsSpinner.d.ts +14 -0
- package/dist/out-tsc/spinner/SpsSpinner.examples.d.ts +2 -0
- package/dist/out-tsc/spinner/SpsSpinner.examples.js +22 -0
- package/dist/out-tsc/spinner/SpsSpinner.examples.js.map +1 -0
- package/dist/out-tsc/spinner/SpsSpinner.js +46 -0
- package/dist/out-tsc/spinner/SpsSpinner.js.map +1 -0
- package/dist/out-tsc/spinner/index.d.ts +2 -0
- package/dist/out-tsc/spinner/index.js +3 -0
- package/dist/out-tsc/spinner/index.js.map +1 -0
- package/dist/out-tsc/split-button/SpsSplitButton.d.ts +18 -0
- package/dist/out-tsc/split-button/SpsSplitButton.examples.d.ts +2 -0
- package/dist/out-tsc/split-button/SpsSplitButton.examples.js +39 -0
- package/dist/out-tsc/split-button/SpsSplitButton.examples.js.map +1 -0
- package/dist/out-tsc/split-button/SpsSplitButton.js +76 -0
- package/dist/out-tsc/split-button/SpsSplitButton.js.map +1 -0
- package/dist/out-tsc/split-button/index.d.ts +2 -0
- package/dist/out-tsc/split-button/index.js +3 -0
- package/dist/out-tsc/split-button/index.js.map +1 -0
- package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.d.ts +22 -0
- package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.examples.d.ts +28 -0
- package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.examples.js +82 -0
- package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.examples.js.map +1 -0
- package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.js +58 -0
- package/dist/out-tsc/stepped-progress-bar/SpsSteppedProgressBar.js.map +1 -0
- package/dist/out-tsc/stepped-progress-bar/index.d.ts +2 -0
- package/dist/out-tsc/stepped-progress-bar/index.js +3 -0
- package/dist/out-tsc/stepped-progress-bar/index.js.map +1 -0
- package/dist/out-tsc/summary-list/SpsSummaryList.examples.d.ts +2 -0
- package/dist/out-tsc/summary-list/SpsSummaryList.examples.js +44 -0
- package/dist/out-tsc/summary-list/SpsSummaryList.examples.js.map +1 -0
- package/dist/out-tsc/summary-list/SpsSummaryListColumn.d.ts +14 -0
- package/dist/out-tsc/summary-list/SpsSummaryListColumn.js +43 -0
- package/dist/out-tsc/summary-list/SpsSummaryListColumn.js.map +1 -0
- package/dist/out-tsc/summary-list/SpsSummaryListExpansion.d.ts +10 -0
- package/dist/out-tsc/summary-list/SpsSummaryListExpansion.js +38 -0
- package/dist/out-tsc/summary-list/SpsSummaryListExpansion.js.map +1 -0
- package/dist/out-tsc/summary-list/SpsSummaryListRow.d.ts +13 -0
- package/dist/out-tsc/summary-list/SpsSummaryListRow.js +98 -0
- package/dist/out-tsc/summary-list/SpsSummaryListRow.js.map +1 -0
- package/dist/out-tsc/summary-list/index.d.ts +4 -0
- package/dist/out-tsc/summary-list/index.js +5 -0
- package/dist/out-tsc/summary-list/index.js.map +1 -0
- package/dist/out-tsc/table/SpsTable.d.ts +14 -0
- package/dist/out-tsc/table/SpsTable.examples.d.ts +2 -0
- package/dist/out-tsc/table/SpsTable.examples.js +138 -0
- package/dist/out-tsc/table/SpsTable.examples.js.map +1 -0
- package/dist/out-tsc/table/SpsTable.js +89 -0
- package/dist/out-tsc/table/SpsTable.js.map +1 -0
- package/dist/out-tsc/table/SpsTableBody.d.ts +11 -0
- package/dist/out-tsc/table/SpsTableBody.js +46 -0
- package/dist/out-tsc/table/SpsTableBody.js.map +1 -0
- package/dist/out-tsc/table/SpsTableCell.d.ts +15 -0
- package/dist/out-tsc/table/SpsTableCell.js +57 -0
- package/dist/out-tsc/table/SpsTableCell.js.map +1 -0
- package/dist/out-tsc/table/SpsTableHead.d.ts +15 -0
- package/dist/out-tsc/table/SpsTableHead.js +59 -0
- package/dist/out-tsc/table/SpsTableHead.js.map +1 -0
- package/dist/out-tsc/table/SpsTableHeader.d.ts +17 -0
- package/dist/out-tsc/table/SpsTableHeader.js +91 -0
- package/dist/out-tsc/table/SpsTableHeader.js.map +1 -0
- package/dist/out-tsc/table/SpsTableRow.d.ts +14 -0
- package/dist/out-tsc/table/SpsTableRow.js +59 -0
- package/dist/out-tsc/table/SpsTableRow.js.map +1 -0
- package/dist/out-tsc/table/index.d.ts +7 -0
- package/dist/out-tsc/table/index.js +8 -0
- package/dist/out-tsc/table/index.js.map +1 -0
- package/dist/out-tsc/table/usePinnedStyles.d.ts +4 -0
- package/dist/out-tsc/table/usePinnedStyles.js +192 -0
- package/dist/out-tsc/table/usePinnedStyles.js.map +1 -0
- package/dist/out-tsc/tabs/SpsTabs.d.ts +14 -0
- package/dist/out-tsc/tabs/SpsTabs.js +77 -0
- package/dist/out-tsc/tabs/SpsTabs.js.map +1 -0
- package/dist/out-tsc/tag/SpsTag.d.ts +13 -0
- package/dist/out-tsc/tag/SpsTag.examples.d.ts +2 -0
- package/dist/out-tsc/tag/SpsTag.examples.js +25 -0
- package/dist/out-tsc/tag/SpsTag.examples.js.map +1 -0
- package/dist/out-tsc/tag/SpsTag.js +47 -0
- package/dist/out-tsc/tag/SpsTag.js.map +1 -0
- package/dist/out-tsc/tag/index.d.ts +2 -0
- package/dist/out-tsc/tag/index.js +3 -0
- package/dist/out-tsc/tag/index.js.map +1 -0
- package/dist/out-tsc/task-queue/SpsTaskQueue.d.ts +36 -0
- package/dist/out-tsc/task-queue/SpsTaskQueue.examples.d.ts +2 -0
- package/dist/out-tsc/task-queue/SpsTaskQueue.examples.js +45 -0
- package/dist/out-tsc/task-queue/SpsTaskQueue.examples.js.map +1 -0
- package/dist/out-tsc/task-queue/SpsTaskQueue.js +217 -0
- package/dist/out-tsc/task-queue/SpsTaskQueue.js.map +1 -0
- package/dist/out-tsc/task-queue/index.d.ts +2 -0
- package/dist/out-tsc/task-queue/index.js +3 -0
- package/dist/out-tsc/task-queue/index.js.map +1 -0
- package/dist/out-tsc/test-util.d.ts +2 -0
- package/dist/out-tsc/test-util.js +54 -0
- package/dist/out-tsc/test-util.js.map +1 -0
- package/dist/out-tsc/text-input/SpsTextInput.d.ts +22 -0
- package/dist/out-tsc/text-input/SpsTextInput.examples.d.ts +2 -0
- package/dist/out-tsc/text-input/SpsTextInput.examples.js +45 -0
- package/dist/out-tsc/text-input/SpsTextInput.examples.js.map +1 -0
- package/dist/out-tsc/text-input/SpsTextInput.js +73 -0
- package/dist/out-tsc/text-input/SpsTextInput.js.map +1 -0
- package/dist/out-tsc/text-input/index.d.ts +2 -0
- package/dist/out-tsc/text-input/index.js +3 -0
- package/dist/out-tsc/text-input/index.js.map +1 -0
- package/dist/out-tsc/textarea/SpsTextarea.d.ts +22 -0
- package/dist/out-tsc/textarea/SpsTextarea.examples.d.ts +2 -0
- package/dist/out-tsc/textarea/SpsTextarea.examples.js +36 -0
- package/dist/out-tsc/textarea/SpsTextarea.examples.js.map +1 -0
- package/dist/out-tsc/textarea/SpsTextarea.js +71 -0
- package/dist/out-tsc/textarea/SpsTextarea.js.map +1 -0
- package/dist/out-tsc/textarea/index.d.ts +2 -0
- package/dist/out-tsc/textarea/index.js +3 -0
- package/dist/out-tsc/textarea/index.js.map +1 -0
- package/dist/out-tsc/tile-list/SpsTile.d.ts +16 -0
- package/dist/out-tsc/tile-list/SpsTile.js +60 -0
- package/dist/out-tsc/tile-list/SpsTile.js.map +1 -0
- package/dist/out-tsc/tile-list/SpsTileList.d.ts +10 -0
- package/dist/out-tsc/tile-list/SpsTileList.examples.d.ts +2 -0
- package/dist/out-tsc/tile-list/SpsTileList.examples.js +36 -0
- package/dist/out-tsc/tile-list/SpsTileList.examples.js.map +1 -0
- package/dist/out-tsc/tile-list/SpsTileList.js +38 -0
- package/dist/out-tsc/tile-list/SpsTileList.js.map +1 -0
- package/dist/out-tsc/tile-list/index.d.ts +3 -0
- package/dist/out-tsc/tile-list/index.js +4 -0
- package/dist/out-tsc/tile-list/index.js.map +1 -0
- package/dist/out-tsc/toggle/SpsToggle.d.ts +27 -0
- package/dist/out-tsc/toggle/SpsToggle.examples.d.ts +2 -0
- package/dist/out-tsc/toggle/SpsToggle.examples.js +37 -0
- package/dist/out-tsc/toggle/SpsToggle.examples.js.map +1 -0
- package/dist/out-tsc/toggle/SpsToggle.js +95 -0
- package/dist/out-tsc/toggle/SpsToggle.js.map +1 -0
- package/dist/out-tsc/toggle/index.d.ts +2 -0
- package/dist/out-tsc/toggle/index.js +3 -0
- package/dist/out-tsc/toggle/index.js.map +1 -0
- package/dist/out-tsc/tooltip/SpsTooltip.d.ts +29 -0
- package/dist/out-tsc/tooltip/SpsTooltip.examples.d.ts +2 -0
- package/dist/out-tsc/tooltip/SpsTooltip.examples.js +119 -0
- package/dist/out-tsc/tooltip/SpsTooltip.examples.js.map +1 -0
- package/dist/out-tsc/tooltip/SpsTooltip.js +292 -0
- package/dist/out-tsc/tooltip/SpsTooltip.js.map +1 -0
- package/dist/out-tsc/tooltip/SpsTooltipTitle.d.ts +13 -0
- package/dist/out-tsc/tooltip/SpsTooltipTitle.js +32 -0
- package/dist/out-tsc/tooltip/SpsTooltipTitle.js.map +1 -0
- package/dist/out-tsc/tooltip/index.d.ts +3 -0
- package/dist/out-tsc/tooltip/index.js +4 -0
- package/dist/out-tsc/tooltip/index.js.map +1 -0
- package/dist/out-tsc/utils/FauxChangeEvent.d.ts +20 -0
- package/dist/out-tsc/utils/FauxChangeEvent.js +83 -0
- package/dist/out-tsc/utils/FauxChangeEvent.js.map +1 -0
- package/dist/out-tsc/utils/contentOf.d.ts +2 -0
- package/dist/out-tsc/utils/contentOf.js +6 -0
- package/dist/out-tsc/utils/contentOf.js.map +1 -0
- package/dist/out-tsc/utils/getPosition.d.ts +11 -0
- package/dist/out-tsc/utils/getPosition.js +181 -0
- package/dist/out-tsc/utils/getPosition.js.map +1 -0
- package/dist/out-tsc/utils/getScrollParent.d.ts +1 -0
- package/dist/out-tsc/utils/getScrollParent.js +28 -0
- package/dist/out-tsc/utils/getScrollParent.js.map +1 -0
- package/dist/out-tsc/utils/index.d.ts +11 -0
- package/dist/out-tsc/utils/index.js +12 -0
- package/dist/out-tsc/utils/index.js.map +1 -0
- package/dist/out-tsc/utils/selectChildren.d.ts +5 -0
- package/dist/out-tsc/utils/selectChildren.js +72 -0
- package/dist/out-tsc/utils/selectChildren.js.map +1 -0
- package/dist/out-tsc/utils/useCheckDeprecatedProps.d.ts +2 -0
- package/dist/out-tsc/utils/useCheckDeprecatedProps.js +35 -0
- package/dist/out-tsc/utils/useCheckDeprecatedProps.js.map +1 -0
- package/dist/out-tsc/utils/useDidUpdateEffect.d.ts +2 -0
- package/dist/out-tsc/utils/useDidUpdateEffect.js +11 -0
- package/dist/out-tsc/utils/useDidUpdateEffect.js.map +1 -0
- package/dist/out-tsc/utils/useDocumentEventListener.d.ts +1 -0
- package/dist/out-tsc/utils/useDocumentEventListener.js +39 -0
- package/dist/out-tsc/utils/useDocumentEventListener.js.map +1 -0
- package/dist/out-tsc/utils/useElementId.d.ts +2 -0
- package/dist/out-tsc/utils/useElementId.js +6 -0
- package/dist/out-tsc/utils/useElementId.js.map +1 -0
- package/dist/out-tsc/utils/useInputPopup.d.ts +6 -0
- package/dist/out-tsc/utils/useInputPopup.js +56 -0
- package/dist/out-tsc/utils/useInputPopup.js.map +1 -0
- package/dist/out-tsc/utils/usePatchReducer.d.ts +2 -0
- package/dist/out-tsc/utils/usePatchReducer.js +19 -0
- package/dist/out-tsc/utils/usePatchReducer.js.map +1 -0
- package/dist/out-tsc/utils/usePortal.d.ts +6 -0
- package/dist/out-tsc/utils/usePortal.js +57 -0
- package/dist/out-tsc/utils/usePortal.js.map +1 -0
- package/dist/out-tsc/vertical-rule/SpsVerticalRule.d.ts +11 -0
- package/dist/out-tsc/vertical-rule/SpsVerticalRule.js +46 -0
- package/dist/out-tsc/vertical-rule/SpsVerticalRule.js.map +1 -0
- package/dist/out-tsc/vertical-rule/index.d.ts +1 -0
- package/dist/out-tsc/vertical-rule/index.js +2 -0
- package/dist/out-tsc/vertical-rule/index.js.map +1 -0
- package/dist/out-tsc/wizard/SpsWizard.examples.d.ts +2 -0
- package/dist/out-tsc/wizard/SpsWizard.examples.js +31 -0
- package/dist/out-tsc/wizard/SpsWizard.examples.js.map +1 -0
- package/dist/out-tsc/wizard/SpsWizardSidebar.d.ts +23 -0
- package/dist/out-tsc/wizard/SpsWizardSidebar.js +44 -0
- package/dist/out-tsc/wizard/SpsWizardSidebar.js.map +1 -0
- package/dist/out-tsc/wizard/SpsWizardSubstep.d.ts +14 -0
- package/dist/out-tsc/wizard/SpsWizardSubstep.js +37 -0
- package/dist/out-tsc/wizard/SpsWizardSubstep.js.map +1 -0
- package/dist/out-tsc/wizard/index.d.ts +3 -0
- package/dist/out-tsc/wizard/index.js +4 -0
- package/dist/out-tsc/wizard/index.js.map +1 -0
- package/dist/out-tsc/workflow/SpsWorkflow.d.ts +14 -0
- package/dist/out-tsc/workflow/SpsWorkflow.examples.d.ts +2 -0
- package/dist/out-tsc/workflow/SpsWorkflow.examples.js +25 -0
- package/dist/out-tsc/workflow/SpsWorkflow.examples.js.map +1 -0
- package/dist/out-tsc/workflow/SpsWorkflow.js +56 -0
- package/dist/out-tsc/workflow/SpsWorkflow.js.map +1 -0
- package/dist/out-tsc/workflow/SpsWorkflowDocument.d.ts +11 -0
- package/dist/out-tsc/workflow/SpsWorkflowDocument.js +46 -0
- package/dist/out-tsc/workflow/SpsWorkflowDocument.js.map +1 -0
- package/dist/out-tsc/workflow/SpsWorkflowDocumentStatus.d.ts +13 -0
- package/dist/out-tsc/workflow/SpsWorkflowDocumentStatus.js +52 -0
- package/dist/out-tsc/workflow/SpsWorkflowDocumentStatus.js.map +1 -0
- package/dist/out-tsc/workflow/SpsWorkflowStep.d.ts +14 -0
- package/dist/out-tsc/workflow/SpsWorkflowStep.js +53 -0
- package/dist/out-tsc/workflow/SpsWorkflowStep.js.map +1 -0
- package/dist/out-tsc/workflow/index.d.ts +5 -0
- package/dist/out-tsc/workflow/index.js +6 -0
- package/dist/out-tsc/workflow/index.js.map +1 -0
- package/dist/out-tsc/zero-state/SpsMicroZeroState.d.ts +14 -0
- package/dist/out-tsc/zero-state/SpsMicroZeroState.js +46 -0
- package/dist/out-tsc/zero-state/SpsMicroZeroState.js.map +1 -0
- package/dist/out-tsc/zero-state/SpsZeroState.d.ts +13 -0
- package/dist/out-tsc/zero-state/SpsZeroState.examples.d.ts +2 -0
- package/dist/out-tsc/zero-state/SpsZeroState.examples.js +79 -0
- package/dist/out-tsc/zero-state/SpsZeroState.examples.js.map +1 -0
- package/dist/out-tsc/zero-state/SpsZeroState.js +47 -0
- package/dist/out-tsc/zero-state/SpsZeroState.js.map +1 -0
- package/dist/out-tsc/zero-state/index.d.ts +3 -0
- package/dist/out-tsc/zero-state/index.js +4 -0
- package/dist/out-tsc/zero-state/index.js.map +1 -0
- package/lib/index.cjs.js +35028 -8718
- package/lib/index.d.ts +1 -3
- package/lib/index.es.js +28310 -32198
- package/lib/zero-state/SpsMicroZeroState.d.ts +0 -1
- package/lib/zero-state/SpsZeroState.d.ts +1 -2
- package/package.json +13 -21
- package/rollup.config.js +22 -0
- package/vite.config.js +1 -1
- package/lib/card-v2/SpsCardV2.d.ts +0 -2
- package/lib/card-v2/SpsCardV2Footer.d.ts +0 -2
- package/lib/card-v2/SpsCardV2Header.d.ts +0 -2
- package/lib/card-v2/SpsCardV2Title.d.ts +0 -2
- package/lib/card-v2/index.d.ts +0 -5
- package/lib/tabs-v2/SpsTab.d.ts +0 -6
- package/lib/tabs-v2/SpsTabPanel.d.ts +0 -5
- package/lib/tabs-v2/SpsTabsV2.d.ts +0 -2
- package/lib/tabs-v2/index.d.ts +0 -4
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as PropTypes from "../prop-types";
|
|
2
|
+
declare const propTypes: {
|
|
3
|
+
expanded: PropTypes.Requireable<boolean>;
|
|
4
|
+
selected: PropTypes.Requireable<boolean>;
|
|
5
|
+
onToggle: PropTypes.Requireable<(isExpanded: boolean) => 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 SpsSummaryListRowProps = PropTypes.InferTS<typeof propTypes, HTMLDivElement>;
|
|
12
|
+
export declare function SpsSummaryListRow(props: SpsSummaryListRowProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
+
var t = {};
|
|
14
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
+
t[p] = s[p];
|
|
16
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
+
t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
24
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
25
|
+
if (!m) return o;
|
|
26
|
+
var i = m.call(o), r, ar = [], e;
|
|
27
|
+
try {
|
|
28
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
29
|
+
}
|
|
30
|
+
catch (error) { e = { error: error }; }
|
|
31
|
+
finally {
|
|
32
|
+
try {
|
|
33
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
34
|
+
}
|
|
35
|
+
finally { if (e) throw e.error; }
|
|
36
|
+
}
|
|
37
|
+
return ar;
|
|
38
|
+
};
|
|
39
|
+
import clsx from "clsx";
|
|
40
|
+
import * as React from "react";
|
|
41
|
+
import * as PropTypes from "../prop-types";
|
|
42
|
+
import { selectChildren } from "../utils/selectChildren";
|
|
43
|
+
import { usePatchReducer } from "../utils/usePatchReducer";
|
|
44
|
+
import { SpsSummaryListExpansion } from "./SpsSummaryListExpansion";
|
|
45
|
+
var propsDoc = {
|
|
46
|
+
expanded: "boolean",
|
|
47
|
+
selected: "boolean",
|
|
48
|
+
onToggle: "(isExpanded: boolean) => void",
|
|
49
|
+
};
|
|
50
|
+
var propTypes = __assign(__assign({}, PropTypes.spsGlobalPropTypes), { expanded: PropTypes.bool, selected: PropTypes.bool, onToggle: PropTypes.fun() });
|
|
51
|
+
export function SpsSummaryListRow(props) {
|
|
52
|
+
var children = props.children, className = props.className, expanded = props.expanded, onToggle = props.onToggle, selected = props.selected, testId = props["data-testid"], unsafelyReplaceClassName = props.unsafelyReplaceClassName, rest = __rest(props, ["children", "className", "expanded", "onToggle", "selected", "data-testid", "unsafelyReplaceClassName"]);
|
|
53
|
+
var _a = __read(usePatchReducer({
|
|
54
|
+
isExpanded: expanded,
|
|
55
|
+
expandable: false,
|
|
56
|
+
}), 2), state = _a[0], patchState = _a[1];
|
|
57
|
+
React.useEffect(function () {
|
|
58
|
+
var expandable = React.Children.toArray(children)
|
|
59
|
+
.some(function (child) { return React.isValidElement(child) && child.type === SpsSummaryListExpansion; });
|
|
60
|
+
patchState({ expandable: expandable });
|
|
61
|
+
}, []);
|
|
62
|
+
function toggle() {
|
|
63
|
+
var isExpanded = !state.isExpanded;
|
|
64
|
+
patchState({ isExpanded: isExpanded });
|
|
65
|
+
if (onToggle) {
|
|
66
|
+
onToggle(isExpanded);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
function handleRowClick(event) {
|
|
70
|
+
event.stopPropagation();
|
|
71
|
+
toggle();
|
|
72
|
+
}
|
|
73
|
+
function handleKeyDown(event) {
|
|
74
|
+
if (event.key === "Enter" || event.key === " " || event.key === "Spacebar") {
|
|
75
|
+
event.preventDefault();
|
|
76
|
+
event.stopPropagation();
|
|
77
|
+
toggle();
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
var classes = clsx(unsafelyReplaceClassName || "sps-summary-list-row", "sps-content-row", state.expandable && "sps-summary-list-row--expandable", state.isExpanded && "sps-content-row--expanded", selected && "sps-summary-list-row--selected", className);
|
|
81
|
+
var _b = __read(selectChildren(children, [
|
|
82
|
+
{ type: SpsSummaryListExpansion },
|
|
83
|
+
]), 2), expansion = _b[0], otherChildren = _b[1];
|
|
84
|
+
console.warn([
|
|
85
|
+
"The SpsSummaryListRow component will be replaced by the SpsContentRow component.",
|
|
86
|
+
"All references to it should be replaced before SpsSummaryListRow is removed.",
|
|
87
|
+
"Reach out to the design system help Slack channel if you have any questions!",
|
|
88
|
+
].join(" "));
|
|
89
|
+
return (React.createElement("div", __assign({ className: classes, "data-testid": testId }, rest),
|
|
90
|
+
React.createElement("div", { className: "sps-content-row__col-group", "data-testid": testId + "__col-group", onClick: handleRowClick, onKeyDown: handleKeyDown, tabIndex: 0 }, otherChildren),
|
|
91
|
+
expansion));
|
|
92
|
+
}
|
|
93
|
+
Object.assign(SpsSummaryListRow, {
|
|
94
|
+
props: propsDoc,
|
|
95
|
+
propTypes: propTypes,
|
|
96
|
+
displayName: "SpsSummaryListRow",
|
|
97
|
+
});
|
|
98
|
+
//# sourceMappingURL=SpsSummaryListRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpsSummaryListRow.js","sourceRoot":"","sources":["../../../src/summary-list/SpsSummaryListRow.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,SAAS,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,IAAM,QAAQ,GAAG;IACf,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE,+BAA+B;CAC1C,CAAC;AAEF,IAAM,SAAS,yBACV,SAAS,CAAC,kBAAkB,KAC/B,QAAQ,EAAE,SAAS,CAAC,IAAI,EACxB,QAAQ,EAAE,SAAS,CAAC,IAAI,EACxB,QAAQ,EAAE,SAAS,CAAC,GAAG,EAAiC,GACzD,CAAC;AAIF,MAAM,UAAU,iBAAiB,CAAC,KAA6B;IAE3D,IAAA,QAAQ,GAQN,KAAK,SARC,EACR,SAAS,GAOP,KAAK,UAPE,EACT,QAAQ,GAMN,KAAK,SANC,EACR,QAAQ,GAKN,KAAK,SALC,EACR,QAAQ,GAIN,KAAK,SAJC,EACO,MAAM,GAGnB,KAAK,eAHc,EACrB,wBAAwB,GAEtB,KAAK,yBAFiB,EACrB,IAAI,UACL,KAAK,EATH,wGASL,CADQ,CACC;IAEJ,IAAA,KAAA,OAAsB,eAAe,CAAC;QAC1C,UAAU,EAAE,QAAQ;QACpB,UAAU,EAAE,KAAK;KAClB,CAAC,IAAA,EAHK,KAAK,QAAA,EAAE,UAAU,QAGtB,CAAC;IAEH,KAAK,CAAC,SAAS,CAAC;QACd,IAAM,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC;aAChD,IAAI,CAAC,UAAC,KAAK,IAAK,OAAA,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAK,uBAAuB,EAArE,CAAqE,CAAC,CAAC;QAC1F,UAAU,CAAC,EAAE,UAAU,YAAA,EAAE,CAAC,CAAC;IAC7B,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,SAAS,MAAM;QACb,IAAM,UAAU,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC;QACrC,UAAU,CAAC,EAAE,UAAU,YAAA,EAAE,CAAC,CAAC;QAC3B,IAAI,QAAQ,EAAE;YACZ,QAAQ,CAAC,UAAU,CAAC,CAAC;SACtB;IACH,CAAC;IAED,SAAS,cAAc,CAAC,KAAuB;QAC7C,KAAK,CAAC,eAAe,EAAE,CAAC;QACxB,MAAM,EAAE,CAAC;IACX,CAAC;IAED,SAAS,aAAa,CAAC,KAA0B;QAC/C,IAAI,KAAK,CAAC,GAAG,KAAK,OAAO,IAAI,KAAK,CAAC,GAAG,KAAK,GAAG,IAAI,KAAK,CAAC,GAAG,KAAK,UAAU,EAAE;YAC1E,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,MAAM,EAAE,CAAC;SACV;IACH,CAAC;IAED,IAAM,OAAO,GAAG,IAAI,CAClB,wBAAwB,IAAI,sBAAsB,EAClD,iBAAiB,EACjB,KAAK,CAAC,UAAU,IAAI,kCAAkC,EACtD,KAAK,CAAC,UAAU,IAAI,2BAA2B,EAC/C,QAAQ,IAAI,gCAAgC,EAC5C,SAAS,CACV,CAAC;IAEI,IAAA,KAAA,OAEF,cAAc,CAAC,QAAQ,EAAE;QAC3B,EAAE,IAAI,EAAE,uBAAuB,EAAE;KAClC,CAAC,IAAA,EAHA,SAAS,QAAA,EAAE,aAAa,QAGxB,CAAC;IAEH,OAAO,CAAC,IAAI,CACV;QACE,kFAAkF;QAClF,8EAA8E;QAC9E,8EAA8E;KAC/E,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC;IAEF,OAAO,CACL,sCACE,SAAS,EAAE,OAAO,iBACL,MAAM,IACf,IAAI;QAER,6BACE,SAAS,EAAC,4BAA4B,iBACtB,MAAM,gBAAa,EACnC,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,aAAa,EACxB,QAAQ,EAAE,CAAC,IAEV,aAAa,CACV;QACL,SAAS,CACN,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,CAAC,iBAAiB,EAAE;IAC/B,KAAK,EAAE,QAAQ;IACf,SAAS,WAAA;IACT,WAAW,EAAE,mBAAmB;CACjC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/summary-list/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SortChangeHandler, SortedColumn } from "@spscommerce/ds-shared";
|
|
2
|
+
import * as PropTypes from "../prop-types";
|
|
3
|
+
declare const propTypes: {
|
|
4
|
+
onSortChange: PropTypes.Requireable<SortChangeHandler>;
|
|
5
|
+
sort: PropTypes.Requireable<SortedColumn[]>;
|
|
6
|
+
selectable: PropTypes.Requireable<boolean>;
|
|
7
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
8
|
+
className: PropTypes.Requireable<string>;
|
|
9
|
+
"data-testid": PropTypes.Requireable<string>;
|
|
10
|
+
unsafelyReplaceClassName: PropTypes.Requireable<string>;
|
|
11
|
+
};
|
|
12
|
+
export declare type SpsTableProps = PropTypes.InferTS<typeof propTypes, HTMLTableElement>;
|
|
13
|
+
export declare function SpsTable(props: SpsTableProps): JSX.Element;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
|
|
2
|
+
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
3
|
+
return cooked;
|
|
4
|
+
};
|
|
5
|
+
import * as React from "react";
|
|
6
|
+
import { code } from "@spscommerce/utils";
|
|
7
|
+
import { ButtonKind } from "@spscommerce/ds-shared";
|
|
8
|
+
import { SpsButton } from "../button";
|
|
9
|
+
export var SpsTableExamples = {
|
|
10
|
+
generalUsage: {
|
|
11
|
+
label: "General Usage",
|
|
12
|
+
customSection: function () { return (React.createElement("section", { id: "table-general-usage" },
|
|
13
|
+
React.createElement("div", { className: "flex-color-header" },
|
|
14
|
+
React.createElement("h4", null, "General Usage"),
|
|
15
|
+
React.createElement(SpsButton, { onClick: function () {
|
|
16
|
+
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
17
|
+
}, kind: ButtonKind.LINK }, "Back to Top")),
|
|
18
|
+
React.createElement("h5", null, "Use Tables:"),
|
|
19
|
+
React.createElement("ul", { className: "sps-body-14" },
|
|
20
|
+
React.createElement("li", null, "Each record has more than 6 points of data"),
|
|
21
|
+
React.createElement("li", null, "When more records need to be shown in the vertical space"),
|
|
22
|
+
React.createElement("li", null, "When sorting options need to be precise (needs better explanation)."),
|
|
23
|
+
React.createElement("li", null, "When tabular views are the expected/conventional view of thet data being displayed (one example: if the data is to be exported into a spreadsheet view).")),
|
|
24
|
+
React.createElement("h5", null, "Avoid Tables:"),
|
|
25
|
+
React.createElement("ul", { className: "sps-body-14" },
|
|
26
|
+
React.createElement("li", null, "When large images need to be included amongst the data.")),
|
|
27
|
+
React.createElement("div", null, "For additional help deciding which option best suits the data being displayed, refer to the List Usage Matrix."))); },
|
|
28
|
+
},
|
|
29
|
+
basic: {
|
|
30
|
+
label: "Standard Tables",
|
|
31
|
+
description: function (_a) {
|
|
32
|
+
var NavigateTo = _a.NavigateTo;
|
|
33
|
+
return (React.createElement(React.Fragment, null,
|
|
34
|
+
React.createElement("div", { className: "sps-body-14" }, "Tables display tabular data in columns and rows with a header row used to identify the type of content in each column. The most common style of content displayed in tables is text (Small Body Copy), but additional elements such as tags and icons can be used when necessary."),
|
|
35
|
+
React.createElement("br", null),
|
|
36
|
+
React.createElement("div", { className: "sps-body-14" },
|
|
37
|
+
"Tables can be used in conjunction with the",
|
|
38
|
+
" ",
|
|
39
|
+
React.createElement(NavigateTo, { to: "List Toolbar" }, "List Toolbar"),
|
|
40
|
+
" and",
|
|
41
|
+
" ",
|
|
42
|
+
React.createElement(NavigateTo, { to: "Pagination" }, "Pagination"),
|
|
43
|
+
" components for extended capabilities.")));
|
|
44
|
+
},
|
|
45
|
+
examples: {
|
|
46
|
+
basic: {
|
|
47
|
+
react: code(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: [\"Japan\"],\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: [\"Australia\"],\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: [\"France\"],\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n countries: [\"France\", \"Belgium\"],\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: [\"Sweden\"],\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: [\"West Germany\"],\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: [\"India\"],\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: [\"Soviet Union\"],\n price: \"$31.96\"\n }\n ];\n\n return (\n <>\n <h5>Building Standard Tables</h5>\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n </>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: [\"Japan\"],\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: [\"Australia\"],\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: [\"France\"],\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n countries: [\"France\", \"Belgium\"],\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: [\"Sweden\"],\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: [\"West Germany\"],\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: [\"India\"],\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: [\"Soviet Union\"],\n price: \"$31.96\"\n }\n ];\n\n return (\n <>\n <h5>Building Standard Tables</h5>\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n </>\n );\n }\n "]))),
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
sorting: {
|
|
52
|
+
label: "Sorting",
|
|
53
|
+
description: function () { return (React.createElement(React.Fragment, null,
|
|
54
|
+
React.createElement("div", { className: "sps-body-14" },
|
|
55
|
+
"The ability to sort the records in a table by a specific column is a common feature. Sorting options are alphabetical (A-Z or Z-A) for columns containing standard text and numerically (highest-to-lowest or lowest-to-highest) for columns containing numerical values.",
|
|
56
|
+
" "),
|
|
57
|
+
React.createElement("br", null),
|
|
58
|
+
React.createElement("div", { className: "sps-body-14" }, "Sorting is applied on a column-by-column basis and should only be applied to columns that present a practical value when sorted alphabetically or numercally (i.e., not every column in a table requires sorting)."))); },
|
|
59
|
+
examples: {
|
|
60
|
+
sorting: {
|
|
61
|
+
react: code(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$31.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$31.96\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$31.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ]\n\n const initialSort = [{ key: \"title\", direction: SortDirection.ASCENDING }]\n\n const [itemsSorted, setItemsSorted] = React.useState(items)\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n\n function sortItems([newSort]) {\n const { key, direction } = newSort;\n itemsSorted.sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n )\n setItemsSorted([...itemsSorted])\n }\n\n React.useEffect(() => {\n sortItems(initialSort)\n }, [])\n\n return (\n <SpsTable\n sort={initialSort}\n onSortChange={sortItems}\n >\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine #</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader sortKey=\"price\" className=\"text-right\">\n Price\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {itemsSorted.map((row, i) => {\n return (\n <SpsTableRow key={i}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">\n {row[\"price\"]}\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$31.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$31.96\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$31.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ]\n\n const initialSort = [{ key: \"title\", direction: SortDirection.ASCENDING }]\n\n const [itemsSorted, setItemsSorted] = React.useState(items)\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n\n function sortItems([newSort]) {\n const { key, direction } = newSort;\n itemsSorted.sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n )\n setItemsSorted([...itemsSorted])\n }\n\n React.useEffect(() => {\n sortItems(initialSort)\n }, [])\n\n return (\n <SpsTable\n sort={initialSort}\n onSortChange={sortItems}\n >\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine #</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader sortKey=\"price\" className=\"text-right\">\n Price\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {itemsSorted.map((row, i) => {\n return (\n <SpsTableRow key={i}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">\n {row[\"price\"]}\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "]))),
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
wrap: {
|
|
66
|
+
label: "Wrapping Content",
|
|
67
|
+
description: function () { return (React.createElement("div", { className: "sps-body-14" }, "Cells in a column can be set to a fixed width to allow text wrapping when it benefits the readability of the content in that cell. This should be limited to content that is generally longer than a short phrase such as longer sentences or short paragraphs. Including long-form text such as paragraphs, however, should be avoided if possible.")); },
|
|
68
|
+
examples: {
|
|
69
|
+
wrapping: {
|
|
70
|
+
react: code(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\"\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\"\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\"\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\"\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\"\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Summary</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"summary\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\"\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\"\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\"\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\"\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\"\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Summary</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell wrap={400}>{row[\"summary\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
horizontalScroll: {
|
|
75
|
+
label: "Horizontal Scrolling",
|
|
76
|
+
description: function () { return (React.createElement("div", { className: "sps-body-14" }, "Some table may require more content than will fit on the page horizontally. Horizontal scrolling allows users to scroll left and right inside the table to view all existing content.")); },
|
|
77
|
+
examples: {
|
|
78
|
+
scroll: {
|
|
79
|
+
react: code(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n summary:\n \"One of the most thrilling movie epics of all time, Seven Samurai (Shichinin no samurai) tells the story of a sixteenth-century village whose desperate inhabitants hire the eponymous warriors to protect them from invading bandits. This three-hour ride from Akira Kurosawa\u2014featuring legendary actors Toshiro Mifune and Takashi Shimura\u2014seamlessly weaves philosophy and entertainment, delicate human emotions and relentless action, into a rich, evocative, and unforgettable tale of courage and hope.\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n summary:\n \"This sensual and striking chronicle of a disappearance and its aftermath put director Peter Weir on the map and helped usher in a new era of Australian cinema. Based on an acclaimed 1967 novel by Joan Lindsay, Picnic at Hanging Rock is set at the turn of the twentieth century and concerns a small group of students from an all- female college who vanish, along with a chaperone, while on a St. Valentine\u2019s Day outing. Less a mystery than a journey into the mystic, as well as an inquiry into issues of class and sexual repression in Australian society, Weir\u2019s gorgeous, disquieting film is a work of poetic horror whose secrets haunt viewers to this day.\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n summary:\n \"Spiritual rapture and institutional hypocrisy come to stark, vivid life in one of the most transcendent masterpieces of the silent era. Chronicling the trial of Joan of Arc in the hours leading up to her execution, Danish master Carl Theodor Dreyer depicts her torment with startling immediacy, employing an array of techniques\u2014expressionistic lighting, interconnected sets, painfully intimate close-ups\u2014to immerse viewers in her subjective experience. Anchoring Dreyer\u2019s audacious formal experimentation is a legendary performance by Ren\u00E9e Falconetti, whose haunted face channels both the agony and the ecstasy of martyrdom.\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n summary:\n \"A singular work in film history, Chantal Akerman\u2019s Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles meticulously details, with a sense of impending doom, the daily routine of a middle-aged widow, whose chores include making the beds, cooking dinner for her son, and turning the occasional trick. In its enormous spareness, Akerman\u2019s film seems simple, but it encompasses an entire world. Whether seen as an exacting character study or as one of cinema\u2019s most hypnotic and complete depictions of space and time, Jeanne Dielman is an astonishing, compelling movie experiment, one that has been analyzed and argued over for decades.\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n summary:\n \"By the midsixties, Ingmar Bergman had already conjured many of the cinema\u2019s most unforgettable images. But with the radical Persona, he attained new levels of visual poetry. In the first of a series of legendary performances for Bergman, Liv Ullmann plays a stage actor who has inexplicably gone mute; an equally mesmerizing Bibi Andersson is the garrulous young nurse caring for her in a remote island cottage. While isolated together there, the women undergo a mysterious spiritual and emotional transference. Performed with astonishing nuance and shot in stark contrast and soft light by Sven Nykvist, the influential Persona is a penetrating, dreamlike work of profound psychological depth.\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n summary:\n \"In the early 1970s, Rainer Werner Fassbinder discovered the American melodramas of Douglas Sirk and was inspired by them to begin working in a new, more intensely emotional register. One of the first and best-loved films of this period in his career is The Bitter Tears of Petra von Kant, which balances a realistic depiction of tormented romance with staging that remains true to the director\u2019s roots in experimental theater. This unforgettable, unforgiving dissection of the imbalanced relationship between a haughty fashion designer (Margit Carstensen) and a beautiful but icy ingenue (Hanna Schygulla)\u2014based, in a sly gender reversal, on the writer-director\u2019s own desperate obsession with a young actor\u2014is a true Fassbinder affair, featuring exquisitely claustrophobic cinematography by Michael Ballhaus and full-throttle performances by an all-female cast.\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n summary:\n \"Two decades after its original negatives were burned in a fire, Satyajit Ray\u2019s breathtaking milestone of world cinema rises from the ashes in a meticulously reconstructed new restoration. The Apu Trilogy brought India into the golden age of international art-house film, following one indelible character, a free-spirited child in rural Bengal who matures into an adolescent urban student and finally a sensitive man of the world. These delicate masterworks\u2014Pather Panchali (Song of the Little Road), Aparajito (The Unvanquished), and Apur Sansar (The World of Apu)\u2014based on two books by Bibhutibhusan Banerjee, were shot over the course of five years, and each stands on its own as a tender, visually radiant journey. They are among the most achingly beautiful, richly humane movies ever made\u2014essential works for any film lover.\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n summary:\n \"Andrei Tarkovsky\u2019s final Soviet feature is a metaphys\u00ADical journey through an enigmatic postapocalyptic landscape, and a rarefied cinematic experience like no other. A hired guide\u2014the Stalker\u2014leads a writer and a professor into the heart of the Zone, the restricted site of a long-ago disaster, where the three men eventually zero in on the Room, a place rumored to fulfill one\u2019s most deeply held desires. Adapting a science-fiction novel by Arkady and Boris Strugatsky, Tarkovsky created an immersive world with a wealth of material detail and a sense of organic atmosphere. A religious allegory, a reflection of contemporaneous political anxieties, a meditation on film itself\u2014Stalker envelops the viewer by opening up a multitude of possible meanings.\",\n price: \"$31.96\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader>Spine#</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
selectableRows: {
|
|
84
|
+
label: "Selectable Rows",
|
|
85
|
+
description: function (_a) {
|
|
86
|
+
var NavigateTo = _a.NavigateTo;
|
|
87
|
+
return (React.createElement("div", { className: "sps-body-14" },
|
|
88
|
+
"Selectable rows include a checkbox column that allows the user to select individual or multiple rows on which to perform actions such as edit, delete, or a variety of other options. Selectable rows are to be used in conjunction with Action Buttons (See Controls and Buttons below) and the",
|
|
89
|
+
" ",
|
|
90
|
+
React.createElement(NavigateTo, { to: "list-action-bar" }, "List Action Bar"),
|
|
91
|
+
"."));
|
|
92
|
+
},
|
|
93
|
+
examples: {
|
|
94
|
+
controls: {
|
|
95
|
+
react: code(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: \"Japan\",\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: \"Australia\",\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: \"France\",\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: \"Sweden\",\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: \"West Germany\",\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: \"India\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: \"Soviet Union\",\n },\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader ></SpsTableHeader>\n <SpsTableHeader >Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader >Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsCheckbox/></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n countries: \"Japan\",\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n countries: \"Australia\",\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n countries: \"France\",\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n countries: \"Sweden\",\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n countries: \"West Germany\",\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n countries: \"India\",\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n countries: \"Soviet Union\",\n },\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader ></SpsTableHeader>\n <SpsTableHeader >Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader >Director</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsCheckbox/></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
controlsAndButtons: {
|
|
100
|
+
label: "Controls (Toggles & Buttons)",
|
|
101
|
+
description: function () { return (React.createElement(React.Fragment, null,
|
|
102
|
+
React.createElement("div", { className: "sps-body-14" }, "Controls are used to take action on listed records. Controls are represented in tables or by Toggles or Buttons."),
|
|
103
|
+
React.createElement("br", null),
|
|
104
|
+
React.createElement("h5", null, "Toggles"),
|
|
105
|
+
React.createElement("div", { className: "sps-body-14" },
|
|
106
|
+
"Toggles are used to apply an immediate change of state to a record in a table. Toggles can appear as either traditional toggles (the switch) or as an icon such as a star or heart to distinguish that record apart from others (e.g. as a favorite). For more information on this pattern visit the Toggles page. Toggles always occupy the left-most columns of a table (unless checkboxes are required).",
|
|
107
|
+
" "),
|
|
108
|
+
React.createElement("br", null),
|
|
109
|
+
React.createElement("h5", null, "Buttons"),
|
|
110
|
+
React.createElement("div", { className: "sps-body-14" }, "Buttons can be used to perform specific actions on a record in a table. Buttons in tables are represented by the Icon Button style. Multiple buttons can be included in each row, however when more than two different actions are required consider using the ellipses button with a dropdown menu to conserve space. Buttons always occupy the right-most column in the table."),
|
|
111
|
+
React.createElement("br", null),
|
|
112
|
+
React.createElement("i", { className: "sps-body-14" }, "Note: Standard Buttons and Text Buttons can be used in table rows if necessary, but when possible opt to use the Icon Button style."))); },
|
|
113
|
+
examples: {
|
|
114
|
+
controls: {
|
|
115
|
+
react: code(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\"\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\"\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\"\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\"\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\"\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\"\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader></SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Actions</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsToggle /></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\"\n },\n {\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\"\n },\n {\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\"\n },\n {\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\"\n },\n {\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\"\n },\n {\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\"\n },\n {\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\"\n }\n ];\n\n return (\n <SpsTable>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader></SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Actions</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell><SpsToggle /></SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
pinnedColumns: {
|
|
120
|
+
label: "Pinned Columns",
|
|
121
|
+
description: "When certain columns existing in a Horizontal Scrolling table, certain columns on the left or right of the table may need to be pinned in place to maintain visibility while the user scrolls.",
|
|
122
|
+
examples: {
|
|
123
|
+
controls: {
|
|
124
|
+
react: code(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n function DemoComponent() {\n const [allRowsChecked, setAllRowsChecked] = React.useState(false);\n\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: 39.96,\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: 39.95,\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: 31.96,\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: 31.96,\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: 79.96,\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: 31.96,\n }, \n ]\n return (\n <SpsTable selectable={true}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader pinned controlCell>\n <SpsCheckbox checked={allRowsChecked} onChange={() => setAllRowsChecked((prev) => !prev) } />\n </SpsTableHeader>\n <SpsTableHeader pinned controlCell>\n <SpsToggle />\n </SpsTableHeader>\n <SpsTableHeader>Spine #</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader>Run time</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Price</SpsTableHeader>\n <SpsTableHeader className=\"text-right\" pinned>\n Actions\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell controlCell pinned>\n <SpsCheckbox checked={allRowsChecked} />\n </SpsTableCell>\n <SpsTableCell controlCell pinned>\n <SpsToggle />\n </SpsTableCell>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"] ? row[\"runtime\"] + \" minutes\" : \"\"}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>${row[\"price\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell pinned>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "], ["\n function DemoComponent() {\n const [allRowsChecked, setAllRowsChecked] = React.useState(false);\n\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: 39.96,\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: 39.95,\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: 31.96,\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: 31.96,\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: 31.96,\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: 79.96,\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: 31.96,\n }, \n ]\n return (\n <SpsTable selectable={true}>\n <SpsTableHead>\n <SpsTableRow>\n <SpsTableHeader pinned controlCell>\n <SpsCheckbox checked={allRowsChecked} onChange={() => setAllRowsChecked((prev) => !prev) } />\n </SpsTableHeader>\n <SpsTableHeader pinned controlCell>\n <SpsToggle />\n </SpsTableHeader>\n <SpsTableHeader>Spine #</SpsTableHeader>\n <SpsTableHeader>Title</SpsTableHeader>\n <SpsTableHeader>Director</SpsTableHeader>\n <SpsTableHeader>Year</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader>Run time</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Price</SpsTableHeader>\n <SpsTableHeader className=\"text-right\" pinned>\n Actions\n </SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {items.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell controlCell pinned>\n <SpsCheckbox checked={allRowsChecked} />\n </SpsTableCell>\n <SpsTableCell controlCell pinned>\n <SpsToggle />\n </SpsTableCell>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"] ? row[\"runtime\"] + \" minutes\" : \"\"}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>\\${row[\"price\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\" buttonCell pinned>\n <SpsButton kind=\"icon\" icon=\"ellipses\" />\n </SpsTableCell>\n </SpsTableRow>\n )\n })}\n </SpsTableBody>\n </SpsTable>\n )\n }\n "]))),
|
|
125
|
+
},
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
stickyHeaders: {
|
|
129
|
+
label: "Sticky Headers",
|
|
130
|
+
examples: {
|
|
131
|
+
basic: {
|
|
132
|
+
react: code(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ];\n\n const [sort, setSort] = React.useState([{ key: \"title\", direction: SortDirection.ASCENDING }]);\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n \n const sortedItems = React.useMemo(() => {\n const [{key, direction}] = sort;\n return [...items].sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n );\n }, [sort]);\n\n return (\n <SpsTable sort={sort} onSortChange={setSort}>\n <SpsTableHead pinned>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine#</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {sortedItems.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "], ["\n function DemoComponent() {\n const items = [\n {\n spine: 2,\n title: \"Seven Samurai\",\n year: 1954,\n director: \"Akira Kurosawa\",\n runtime: 207,\n aspect_ratio: \"1.33:1\",\n countries: \"Japan\",\n languages: \"Japanese\",\n price: \"$39.96\"\n },\n {\n spine: 29,\n title: \"Picnic at Hanging Rock\",\n year: 1975,\n director: \"Peter Weir\",\n runtime: 107,\n aspect_ratio: \"1.78:1\",\n countries: \"Australia\",\n languages: \"English\",\n price: \"$39.95\"\n },\n {\n spine: 62,\n title: \"The Passion of Joan of Arc\",\n year: 1928,\n director: \"Carl Theodor Dreyer\",\n runtime: 81,\n aspect_ratio: \"1.33:1\",\n countries: \"France\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 484,\n title: \"Jeanne Dielman, 23, quai du Commerce, 1080 Bruxelles\",\n year: 1975,\n director: \"Chantal Akerman\",\n runtime: 201,\n aspect_ratio: \"1.66:1\",\n countries: \"France, Belgium\",\n languages: \"French\",\n price: \"$31.96\"\n },\n {\n spine: 701,\n title: \"Persona\",\n year: 1966,\n director: \"Ingmar Bergman\",\n runtime: 83,\n aspect_ratio: \"1.37:1\",\n countries: \"Sweden\",\n languages: \"Swedish\",\n price: \"$31.96\"\n },\n {\n spine: 740,\n title: \"The Bitter Tears of Petra von Kant\",\n year: 1972,\n director: \"Rainer Werner Fassbinder\",\n runtime: 125,\n aspect_ratio: \"1.37:1\",\n countries: \"West Germany\",\n languages: \"German\",\n price: \"$31.96\"\n },\n {\n spine: 782,\n title: \"The Apu Trilogy\",\n year: 1959,\n director: \"Satyajit Ray\",\n aspect_ratio: \"1.37:1\",\n countries: \"India\",\n languages: \"Bengali\",\n price: \"$79.96\"\n },\n {\n spine: 888,\n title: \"Stalker\",\n year: 1979,\n director: \"Andrei Tarkovsky\",\n runtime: 161,\n aspect_ratio: \"1.37:1\",\n countries: \"Soviet Union\",\n languages: \"Russian\",\n price: \"$31.96\"\n }\n ];\n\n const [sort, setSort] = React.useState([{ key: \"title\", direction: SortDirection.ASCENDING }]);\n\n function ignoreArticles(value) {\n return typeof value === \"string\"\n ? value.replace(/^(The|A) /, \"\")\n : value\n }\n \n const sortedItems = React.useMemo(() => {\n const [{key, direction}] = sort;\n return [...items].sort((a, b) =>\n (direction === SortDirection.ASCENDING ? 1 : -1)\n * (ignoreArticles(a[key]) >= ignoreArticles(b[key]) ? 1 : -1)\n );\n }, [sort]);\n\n return (\n <SpsTable sort={sort} onSortChange={setSort}>\n <SpsTableHead pinned>\n <SpsTableRow>\n <SpsTableHeader sortKey=\"spine\">Spine#</SpsTableHeader>\n <SpsTableHeader sortKey=\"title\">Title</SpsTableHeader>\n <SpsTableHeader sortKey=\"year\">Year</SpsTableHeader>\n <SpsTableHeader sortKey=\"director\">Director</SpsTableHeader>\n <SpsTableHeader>Runtime</SpsTableHeader>\n <SpsTableHeader>Aspect Ratio</SpsTableHeader>\n <SpsTableHeader>Countries</SpsTableHeader>\n <SpsTableHeader>Languages</SpsTableHeader>\n <SpsTableHeader className=\"text-right\">Price</SpsTableHeader>\n </SpsTableRow>\n </SpsTableHead>\n <SpsTableBody>\n {sortedItems.map((row, index) => {\n return (\n <SpsTableRow key={index}>\n <SpsTableCell>{row[\"spine\"]}</SpsTableCell>\n <SpsTableCell>{row[\"title\"]}</SpsTableCell>\n <SpsTableCell>{row[\"year\"]}</SpsTableCell>\n <SpsTableCell>{row[\"director\"]}</SpsTableCell>\n <SpsTableCell>{row[\"runtime\"]}</SpsTableCell>\n <SpsTableCell>{row[\"aspect_ratio\"]}</SpsTableCell>\n <SpsTableCell>{row[\"countries\"]}</SpsTableCell>\n <SpsTableCell>{row[\"languages\"]}</SpsTableCell>\n <SpsTableCell className=\"text-right\">{row[\"price\"]}</SpsTableCell>\n </SpsTableRow>\n );\n })}\n </SpsTableBody>\n </SpsTable>\n );\n }\n "]))),
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8;
|
|
138
|
+
//# sourceMappingURL=SpsTable.examples.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpsTable.examples.js","sourceRoot":"","sources":["../../../src/table/SpsTable.examples.tsx"],"names":[],"mappings":";;;;AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAE1C,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,CAAC,IAAM,gBAAgB,GAAoB;IAC/C,YAAY,EAAE;QACZ,KAAK,EAAE,eAAe;QACtB,aAAa,EAAE,cAAM,OAAA,CACnB,iCAAS,EAAE,EAAC,qBAAqB;YAC/B,6BAAK,SAAS,EAAC,mBAAmB;gBAChC,gDAAsB;gBACtB,oBAAC,SAAS,IACR,OAAO,EAAE;wBACP,MAAM,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,CAAC,CAAC;oBAClD,CAAC,EACD,IAAI,EAAE,UAAU,CAAC,IAAI,kBAGX,CACR;YACN,8CAAoB;YACpB,4BAAI,SAAS,EAAC,aAAa;gBACzB,6EAAmD;gBACnD,2FAAiE;gBACjE,sGAA4E;gBAC5E,2LAIK,CACF;YACL,gDAAsB;YACtB,4BAAI,SAAS,EAAC,aAAa;gBACzB,0FAAgE,CAC7D;YACL,kJAGM,CACE,CACX,EAjCoB,CAiCpB;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,UAAC,EAAc;gBAAZ,UAAU,gBAAA;YAAO,OAAA,CAC/B;gBACE,6BAAK,SAAS,EAAC,aAAa,wRAKtB;gBACN,+BAAM;gBACN,6BAAK,SAAS,EAAC,aAAa;;oBAC2B,GAAG;oBACxD,oBAAC,UAAU,IAAC,EAAE,EAAC,cAAc,mBAA0B;;oBAAK,GAAG;oBAC/D,oBAAC,UAAU,IAAC,EAAE,EAAC,YAAY,iBAAwB;6DAE/C,CACL,CACJ;QAhBgC,CAgBhC;QACD,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,KAAK,EAAE,IAAI,2yKAAA,wuKAqGF,IAAA;aACV;SACF;KACF;IACD,OAAO,EAAE;QACP,KAAK,EAAE,SAAS;QAChB,WAAW,EAAE,cAAM,OAAA,CACjB;YACE,6BAAK,SAAS,EAAC,aAAa;;gBAIqB,GAAG,CAC9C;YACN,+BAAM;YACN,6BAAK,SAAS,EAAC,aAAa,yNAItB,CACL,CACJ,EAfkB,CAelB;QACD,QAAQ,EAAE;YACR,OAAO,EAAE;gBACP,KAAK,EAAE,IAAI,qrNAAA,knNAuJF,IAAA;aACV;SACF;KACF;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,kBAAkB;QACzB,WAAW,EAAE,cAAM,OAAA,CACjB,6BAAK,SAAS,EAAC,aAAa,2VAMtB,CACP,EARkB,CAQlB;QACD,QAAQ,EAAE;YACR,QAAQ,EAAE;gBACR,KAAK,EAAE,IAAI,4sRAAA,yoRA+EF,IAAA;aACV;SACF;KACF;IACD,gBAAgB,EAAE;QAChB,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,cAAM,OAAA,CACjB,6BAAK,SAAS,EAAC,aAAa,4LAItB,CACP,EANkB,CAMlB;QACD,QAAQ,EAAE;YACR,MAAM,EAAE;gBACN,KAAK,EAAE,IAAI,27ZAAA,w3ZA+IF,IAAA;aACV;SACF;KACF;IACD,cAAc,EAAE;QACd,KAAK,EAAE,iBAAiB;QACxB,WAAW,EAAE,UAAC,EAAc;gBAAZ,UAAU,gBAAA;YAAO,OAAA,CAC/B,6BAAK,SAAS,EAAC,aAAa;;gBAIuB,GAAG;gBACpD,oBAAC,UAAU,IAAC,EAAE,EAAC,iBAAiB,sBAA6B;oBACzD,CACP;QARgC,CAQhC;QACD,QAAQ,EAAE;YACR,QAAQ,EAAE;gBACR,KAAK,EAAE,IAAI,2wGAAA,wsGA0EF,IAAA;aACV;SACF;KACF;IACD,kBAAkB,EAAE;QAClB,KAAK,EAAE,8BAA8B;QACrC,WAAW,EAAE,cAAM,OAAA,CACjB;YACE,6BAAK,SAAS,EAAC,aAAa,uHAGtB;YACN,+BAAM;YACN,0CAAgB;YAChB,6BAAK,SAAS,EAAC,aAAa;;gBAKiE,GAAG,CAC1F;YACN,+BAAM;YACN,0CAAgB;YAChB,6BAAK,SAAS,EAAC,aAAa,uXAMtB;YACN,+BAAM;YACN,2BAAG,SAAS,EAAC,aAAa,0IAGtB,CACH,CACJ,EA9BkB,CA8BlB;QACD,QAAQ,EAAE;YACR,QAAQ,EAAE;gBACR,KAAK,EAAE,IAAI,0lHAAA,uhHAqEF,IAAA;aACV;SACF;KACF;IACD,aAAa,EAAE;QACb,KAAK,EAAE,gBAAgB;QACvB,WAAW,EACH,gMAAgM;QACxM,QAAQ,EAAE;YACR,QAAQ,EAAE;gBACR,KAAK,EAAE,IAAI,yjOAAA,w/NAkJF,IAAA;aACV;SACF;KACF;IACD,aAAa,EAAE;QACb,KAAK,EAAE,gBAAgB;QACvB,QAAQ,EAAE;YACR,KAAK,EAAE;gBACL,KAAK,EAAE,IAAI,u2OAAA,oyOA+IF,IAAA;aACV;SACF;KACF;CACF,CAAC"}
|