@atlaskit/link-datasource 5.6.6 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/analytics/render-failed/package.json +1 -8
- package/assets-modal/package.json +1 -8
- package/assets-modal/types/package.json +1 -8
- package/confluence-search-modal/package.json +1 -8
- package/confluence-search-modal/types/package.json +1 -8
- package/datasource-table-view/package.json +1 -8
- package/elements/package.json +1 -8
- package/elements/render-type/package.json +1 -8
- package/jira-issues-modal/package.json +1 -8
- package/jira-issues-modal/types/package.json +1 -8
- package/package.json +56 -64
- package/types/package.json +1 -8
- package/utils/schema/package.json +1 -8
- package/dist/types-ts4.5/analytics/constants.d.ts +0 -12
- package/dist/types-ts4.5/analytics/generated/analytics.types.d.ts +0 -304
- package/dist/types-ts4.5/analytics/generated/create-event-payload.d.ts +0 -31
- package/dist/types-ts4.5/analytics/generated/use-analytics-events.d.ts +0 -7
- package/dist/types-ts4.5/analytics/index.d.ts +0 -3
- package/dist/types-ts4.5/analytics/types.d.ts +0 -19
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useColumnPickerRenderedFailedUfoExperience.d.ts +0 -2
- package/dist/types-ts4.5/analytics/ufoExperiences/hooks/useDataRenderedUfoExperience.d.ts +0 -22
- package/dist/types-ts4.5/analytics/ufoExperiences/index.d.ts +0 -5
- package/dist/types-ts4.5/analytics/ufoExperiences/types.d.ts +0 -20
- package/dist/types-ts4.5/analytics/utils.d.ts +0 -3
- package/dist/types-ts4.5/analytics/wrappers/render-failed/datasourceRenderFailedAnalyticsWrapper.d.ts +0 -3
- package/dist/types-ts4.5/analytics/wrappers/render-failed/index.d.ts +0 -2
- package/dist/types-ts4.5/common/types.d.ts +0 -38
- package/dist/types-ts4.5/common/ui/common/render-svg.d.ts +0 -15
- package/dist/types-ts4.5/common/ui/rich-icon/search/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/basics/padlock-key/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/error/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/error-old/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/search/index.d.ts +0 -3
- package/dist/types-ts4.5/common/ui/spot/error-state/search-no-result/index.d.ts +0 -3
- package/dist/types-ts4.5/common/utils/locale/fetch-messages-for-locale.d.ts +0 -2
- package/dist/types-ts4.5/common/utils/schema-utils.d.ts +0 -2
- package/dist/types-ts4.5/common/utils/withFeatureFlaggedComponent.d.ts +0 -9
- package/dist/types-ts4.5/common/zindex.d.ts +0 -3
- package/dist/types-ts4.5/contexts/datasource-experience-id/index.d.ts +0 -4
- package/dist/types-ts4.5/contexts/user-interactions/index.d.ts +0 -15
- package/dist/types-ts4.5/elements.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/analytics-render-failed.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/assets-modal-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/assets-modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-search-modal-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/confluence-search-modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/datasource-table-view.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/elements-render-type.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/jira-issues-modal-types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/jira-issues-modal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/utils-schema.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useAssetsClient.d.ts +0 -13
- package/dist/types-ts4.5/hooks/useDatasourceTableFlag.d.ts +0 -11
- package/dist/types-ts4.5/hooks/useDatasourceTableState.d.ts +0 -54
- package/dist/types-ts4.5/hooks/useDeepEffect.d.ts +0 -2
- package/dist/types-ts4.5/hooks/useErrorLogger.d.ts +0 -23
- package/dist/types-ts4.5/hooks/useIsInPDFRender.d.ts +0 -1
- package/dist/types-ts4.5/hooks/useLoadOptions.d.ts +0 -12
- package/dist/types-ts4.5/hooks/useObjectSchemas.d.ts +0 -10
- package/dist/types-ts4.5/hooks/useValidateAqlText.d.ts +0 -27
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -158
- package/dist/types-ts4.5/i18n/da.d.ts +0 -158
- package/dist/types-ts4.5/i18n/de.d.ts +0 -158
- package/dist/types-ts4.5/i18n/en.d.ts +0 -171
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -160
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -171
- package/dist/types-ts4.5/i18n/es.d.ts +0 -158
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -158
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -158
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -135
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -158
- package/dist/types-ts4.5/i18n/it.d.ts +0 -158
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -158
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -158
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -158
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -158
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -158
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -158
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -158
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -129
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -135
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -135
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -135
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -158
- package/dist/types-ts4.5/i18n/th.d.ts +0 -158
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -158
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -158
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -158
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -158
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -158
- package/dist/types-ts4.5/index.d.ts +0 -30
- package/dist/types-ts4.5/services/cmdbService.d.ts +0 -11
- package/dist/types-ts4.5/services/cmdbService.utils.d.ts +0 -9
- package/dist/types-ts4.5/services/getAvailableSites.d.ts +0 -2
- package/dist/types-ts4.5/services/getMeta.d.ts +0 -5
- package/dist/types-ts4.5/services/makeGetJqlAutocompleteData.d.ts +0 -6
- package/dist/types-ts4.5/services/makeGetJqlSuggestionsData.d.ts +0 -5
- package/dist/types-ts4.5/services/mocks.d.ts +0 -65
- package/dist/types-ts4.5/services/useAvailableSites.d.ts +0 -5
- package/dist/types-ts4.5/services/useBasicFilterAGG.d.ts +0 -16
- package/dist/types-ts4.5/services/utils.d.ts +0 -10
- package/dist/types-ts4.5/state/actions/index.d.ts +0 -119
- package/dist/types-ts4.5/state/index.d.ts +0 -32
- package/dist/types-ts4.5/types/assets/types.d.ts +0 -37
- package/dist/types-ts4.5/ui/assets-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/modal/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/assets-modal/modal/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/index.d.ts +0 -19
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/modal/render-assets-content/initial-state-view/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/index.d.ts +0 -7
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/loading-state.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/aql-search-input/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/assets-modal/search-container/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/assets-modal/search-container/loading-state.d.ts +0 -5
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/index.d.ts +0 -25
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/loading-state.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/assets-modal/search-container/object-schema-select/utils.d.ts +0 -2
- package/dist/types-ts4.5/ui/assets-modal/search-container/styled.d.ts +0 -3
- package/dist/types-ts4.5/ui/assets-modal/types.d.ts +0 -12
- package/dist/types-ts4.5/ui/common/error-state/access-required.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/loading-error.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/messages.d.ts +0 -112
- package/dist/types-ts4.5/ui/common/error-state/modal-loading-error.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/error-state/no-instances-svg.d.ts +0 -2
- package/dist/types-ts4.5/ui/common/error-state/no-instances.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/error-state/no-results.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required-svg.d.ts +0 -1
- package/dist/types-ts4.5/ui/common/error-state/provider-auth-required.d.ts +0 -11
- package/dist/types-ts4.5/ui/common/initial-state-view/index.d.ts +0 -13
- package/dist/types-ts4.5/ui/common/initial-state-view/messages.d.ts +0 -52
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/index.d.ts +0 -16
- package/dist/types-ts4.5/ui/common/modal/basic-search-input/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/common/modal/cancel-button/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/cancel-button/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/common/modal/content-container/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/modal/count-view-smart-link/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/datasource-context/index.d.ts +0 -27
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/createDatasourceModal.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/datasource-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-resize/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-visibility/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/datasources-table-in-modal-preview/use-column-wrapping/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/display-view-dropdown/display-view-drop-down.d.ts +0 -7
- package/dist/types-ts4.5/ui/common/modal/display-view-dropdown/messages.d.ts +0 -32
- package/dist/types-ts4.5/ui/common/modal/insert-button/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/common/modal/mode-switcher/useViewModeContext.d.ts +0 -14
- package/dist/types-ts4.5/ui/common/modal/popup-select/constants.d.ts +0 -2
- package/dist/types-ts4.5/ui/common/modal/popup-select/control.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/custom-checkbox-option.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/popup-select/dropdownIndicator.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/footer.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/popup-select/formatOptionLabel.d.ts +0 -3
- package/dist/types-ts4.5/ui/common/modal/popup-select/index.d.ts +0 -23
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/errorMessage.d.ts +0 -6
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/index.d.ts +0 -16
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/loadingMessage.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/messages.d.ts +0 -42
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/noOptionsMessage.d.ts +0 -5
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/selectMessage.d.ts +0 -10
- package/dist/types-ts4.5/ui/common/modal/popup-select/menu-list/showMoreButton.d.ts +0 -8
- package/dist/types-ts4.5/ui/common/modal/popup-select/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/common/modal/popup-select/trigger.d.ts +0 -12
- package/dist/types-ts4.5/ui/common/modal/popup-select/types.d.ts +0 -33
- package/dist/types-ts4.5/ui/common/modal/search-count/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/common/modal/search-count/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/common/modal/site-selector/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/common/modal/site-selector/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/PopupComponent.d.ts +0 -3
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/messages.d.ts +0 -97
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/styled.d.ts +0 -4
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/trigger.d.ts +0 -10
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/date-range-picker/utils.d.ts +0 -6
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/filters/edited-or-created-by/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useBasicFilterHydration.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useCurrentUserInfo.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/hooks/useRecommendation.d.ts +0 -16
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/confluence-search-modal/basic-filters/types.d.ts +0 -28
- package/dist/types-ts4.5/ui/confluence-search-modal/confluence-search-container/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/confluence-search-modal/confluence-search-container/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/confluence-search-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/confluence-search-modal/modal/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/confluence-search-modal/modal/messages.d.ts +0 -57
- package/dist/types-ts4.5/ui/confluence-search-modal/types.d.ts +0 -31
- package/dist/types-ts4.5/ui/datasource-table-view/datasource-column-sort.d.ts +0 -12
- package/dist/types-ts4.5/ui/datasource-table-view/datasourceTableView.d.ts +0 -18
- package/dist/types-ts4.5/ui/datasource-table-view/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/datasource-table-view/types.d.ts +0 -10
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/concatenated-menu-list.d.ts +0 -4
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/messages.d.ts +0 -22
- package/dist/types-ts4.5/ui/issue-like-table/column-picker/types.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/custom-icons.d.ts +0 -5
- package/dist/types-ts4.5/ui/issue-like-table/drag-column-preview.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/draggable-table-heading.d.ts +0 -19
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/icon/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/status/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/text/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/issue-like-table/edit-type/user/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/type.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/empty-state/types.d.ts +0 -2
- package/dist/types-ts4.5/ui/issue-like-table/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/messages.d.ts +0 -57
- package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/boolean/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-range/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-range/messages.d.ts +0 -17
- package/dist/types-ts4.5/ui/issue-like-table/render-type/date-time/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/issue-like-table/render-type/icon/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/issue-like-table/render-type/link/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/number/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/richtext/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/issue-like-table/render-type/status/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/render-type/tag/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/text/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/index.d.ts +0 -17
- package/dist/types-ts4.5/ui/issue-like-table/render-type/user/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/avatar/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/issue-like-table/shared-components/icon/index.d.ts +0 -22
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/inline-edit.d.ts +0 -20
- package/dist/types-ts4.5/ui/issue-like-table/table-cell-content/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/issue-like-table/truncate-text-tag/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/issue-like-table/types.d.ts +0 -117
- package/dist/types-ts4.5/ui/issue-like-table/useIsOnScreen.d.ts +0 -1
- package/dist/types-ts4.5/ui/issue-like-table/utils.d.ts +0 -43
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useFilterOptions.d.ts +0 -24
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/hooks/useHydrateJqlQuery.d.ts +0 -9
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/types.d.ts +0 -75
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.d.ts +0 -57
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/extractValuesFromNonComplexJQL.d.ts +0 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/isClauseTooComplex.d.ts +0 -3
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/isQueryTooComplex.d.ts +0 -1
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/utils/transformers.d.ts +0 -8
- package/dist/types-ts4.5/ui/jira-issues-modal/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/buildJQL.d.ts +0 -10
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/index.d.ts +0 -21
- package/dist/types-ts4.5/ui/jira-issues-modal/jira-search-container/messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/jira-issues-modal/jql-editor/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/messages.d.ts +0 -122
- package/dist/types-ts4.5/ui/jira-issues-modal/types.d.ts +0 -23
- package/dist/types-ts4.5/ui/table-footer/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/table-footer/messages.d.ts +0 -27
- package/dist/types-ts4.5/ui/table-footer/powered-by-jsm-assets/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/provider-link/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/sync-info/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/table-footer/sync-info/messages.d.ts +0 -12
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type FieldProps } from '@atlaskit/form';
|
|
3
|
-
import type { DatasourceTypeWithOnlyTypeValues, DatasourceTypeWithOnlyValues } from '../../types';
|
|
4
|
-
interface TextEditTypeProps extends Omit<FieldProps<string>, 'value'> {
|
|
5
|
-
currentValue: DatasourceTypeWithOnlyTypeValues<'string'>;
|
|
6
|
-
labelId?: string;
|
|
7
|
-
setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
|
|
8
|
-
}
|
|
9
|
-
declare const TextEditType: (props: TextEditTypeProps) => React.JSX.Element;
|
|
10
|
-
export default TextEditType;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type FieldProps } from '@atlaskit/form';
|
|
3
|
-
import type { ExecuteFetch } from '../../../../state/actions';
|
|
4
|
-
import type { DatasourceTypeWithOnlyTypeValues, DatasourceTypeWithOnlyValues } from '../../types';
|
|
5
|
-
interface UserEditTypeProps extends Omit<FieldProps<string>, 'value'> {
|
|
6
|
-
currentValue: DatasourceTypeWithOnlyTypeValues<'user'>;
|
|
7
|
-
executeFetch?: ExecuteFetch;
|
|
8
|
-
labelId?: string;
|
|
9
|
-
setEditValues: React.Dispatch<React.SetStateAction<DatasourceTypeWithOnlyValues>>;
|
|
10
|
-
}
|
|
11
|
-
declare const UserEditType: (props: UserEditTypeProps) => React.JSX.Element;
|
|
12
|
-
export default UserEditType;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type DatasourceResponseSchemaProperty } from '@atlaskit/linking-types/datasource';
|
|
2
|
-
import { type Props } from './empty-state';
|
|
3
|
-
import { type IssueLikeDataTableViewProps } from './types';
|
|
4
|
-
export declare const getOrderedColumns: (columns: DatasourceResponseSchemaProperty[], visibleColumnKeys: string[]) => DatasourceResponseSchemaProperty[];
|
|
5
|
-
export declare const IssueLikeDataTableView: ({ testId, onNextPage, onLoadDatasourceDetails, items, itemIds, columns, renderItem, visibleColumnKeys, onVisibleColumnKeysChange, columnCustomSizes, onColumnResize, onColumnSort, wrappedColumnKeys, onWrappedColumnChange, sortState, status, hasNextPage, scrollableContainerHeight, extensionKey, }: IssueLikeDataTableViewProps) => JSX.Element;
|
|
6
|
-
export declare const EmptyState: ({ isCompact, testId }: Props) => JSX.Element;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare const issueLikeTableMessages: {
|
|
2
|
-
fetchActionErrorGenericDescription: {
|
|
3
|
-
defaultMessage: string;
|
|
4
|
-
description: string;
|
|
5
|
-
id: string;
|
|
6
|
-
};
|
|
7
|
-
fetchActionErrorGenericDescriptionGalaxia: {
|
|
8
|
-
defaultMessage: string;
|
|
9
|
-
description: string;
|
|
10
|
-
id: string;
|
|
11
|
-
};
|
|
12
|
-
fetchActionErrorGenericTitle: {
|
|
13
|
-
defaultMessage: string;
|
|
14
|
-
description: string;
|
|
15
|
-
id: string;
|
|
16
|
-
};
|
|
17
|
-
sortByColumnAscendingAction: {
|
|
18
|
-
defaultMessage: string;
|
|
19
|
-
description: string;
|
|
20
|
-
id: string;
|
|
21
|
-
};
|
|
22
|
-
sortByColumnDescendingAction: {
|
|
23
|
-
defaultMessage: string;
|
|
24
|
-
description: string;
|
|
25
|
-
id: string;
|
|
26
|
-
};
|
|
27
|
-
unwrapText: {
|
|
28
|
-
defaultMessage: string;
|
|
29
|
-
description: string;
|
|
30
|
-
id: string;
|
|
31
|
-
};
|
|
32
|
-
updateError403Description: {
|
|
33
|
-
defaultMessage: string;
|
|
34
|
-
description: string;
|
|
35
|
-
id: string;
|
|
36
|
-
};
|
|
37
|
-
updateError403Title: {
|
|
38
|
-
defaultMessage: string;
|
|
39
|
-
description: string;
|
|
40
|
-
id: string;
|
|
41
|
-
};
|
|
42
|
-
updateErrorGenericDescription: {
|
|
43
|
-
defaultMessage: string;
|
|
44
|
-
description: string;
|
|
45
|
-
id: string;
|
|
46
|
-
};
|
|
47
|
-
updateErrorGenericTitle: {
|
|
48
|
-
defaultMessage: string;
|
|
49
|
-
description: string;
|
|
50
|
-
id: string;
|
|
51
|
-
};
|
|
52
|
-
wrapText: {
|
|
53
|
-
defaultMessage: string;
|
|
54
|
-
description: string;
|
|
55
|
-
id: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type BooleanType } from '@atlaskit/linking-types';
|
|
3
|
-
interface BooleanProps {
|
|
4
|
-
testId?: string;
|
|
5
|
-
value: BooleanType['value'];
|
|
6
|
-
}
|
|
7
|
-
export declare const BOOLEAN_TYPE_TEST_ID = "link-datasource-render-type--boolean";
|
|
8
|
-
declare const BooleanRenderType: ({ value, testId, }: BooleanProps) => React.JSX.Element;
|
|
9
|
-
export default BooleanRenderType;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type IntlShape } from 'react-intl';
|
|
3
|
-
import { type DateRangeType } from '@atlaskit/linking-types';
|
|
4
|
-
export interface DateRangeProps {
|
|
5
|
-
testId?: string;
|
|
6
|
-
value: DateRangeType['value'];
|
|
7
|
-
}
|
|
8
|
-
export declare const DATERANGE_TYPE_TEST_ID = "link-datasource-render-type--daterange";
|
|
9
|
-
export declare function getFormattedDateRange(startValue: string, endValue: string, formatDate: IntlShape['formatDate'], formatMessage: IntlShape['formatMessage']): string;
|
|
10
|
-
declare const DateRangeRenderType: ({ value, testId, }: DateRangeProps) => React.JSX.Element;
|
|
11
|
-
export default DateRangeRenderType;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const messages: {
|
|
2
|
-
quarterRange: {
|
|
3
|
-
id: string;
|
|
4
|
-
description: string;
|
|
5
|
-
defaultMessage: string;
|
|
6
|
-
};
|
|
7
|
-
quarterRangeOverYears: {
|
|
8
|
-
id: string;
|
|
9
|
-
description: string;
|
|
10
|
-
defaultMessage: string;
|
|
11
|
-
};
|
|
12
|
-
fullRange: {
|
|
13
|
-
id: string;
|
|
14
|
-
description: string;
|
|
15
|
-
defaultMessage: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type IntlShape } from 'react-intl';
|
|
3
|
-
import { type DateTimeType, type DateType, type TimeType } from '@atlaskit/linking-types';
|
|
4
|
-
export interface DateProps {
|
|
5
|
-
display: (DateType | TimeType | DateTimeType)['type'];
|
|
6
|
-
testId?: string;
|
|
7
|
-
value: (DateType | TimeType | DateTimeType)['value'];
|
|
8
|
-
}
|
|
9
|
-
export declare const DATETIME_TYPE_TEST_ID = "link-datasource-render-type--datetime";
|
|
10
|
-
export declare function getFormattedDate(value: string, display: string | undefined, formatDate: IntlShape['formatDate']): string;
|
|
11
|
-
declare const DateTimeRenderType: ({ value, testId, display, }: DateProps) => React.JSX.Element;
|
|
12
|
-
export default DateTimeRenderType;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Icon } from '@atlaskit/linking-types';
|
|
3
|
-
interface IconProps extends Icon {
|
|
4
|
-
testId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const ICON_TYPE_TEST_ID = "link-datasource-render-type--icon";
|
|
7
|
-
export declare const ICON_TYPE_TEXT_TEST_ID: 'link-datasource-render-type--icon-text';
|
|
8
|
-
declare const IconRenderType: ({ label, text, source, testId, }: IconProps) => React.JSX.Element;
|
|
9
|
-
export default IconRenderType;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type IntlShape } from 'react-intl';
|
|
2
|
-
import { type DatasourceType } from '@atlaskit/linking-types';
|
|
3
|
-
import { type TableViewPropsRenderType } from '../types';
|
|
4
|
-
export declare const stringifyType: ({ type, value }: DatasourceType, formatMessage: IntlShape["formatMessage"], formatDate: IntlShape["formatDate"]) => string;
|
|
5
|
-
export declare const renderType: TableViewPropsRenderType;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Link } from '@atlaskit/linking-types';
|
|
3
|
-
interface LinkProps extends Link {
|
|
4
|
-
testId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const LINK_TYPE_TEST_ID = "link-datasource-render-type--link";
|
|
7
|
-
declare const _default_1: React.MemoExoticComponent<({ style, url, text, testId }: LinkProps) => React.JSX.Element | null>;
|
|
8
|
-
export default _default_1;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type NumberType } from '@atlaskit/linking-types';
|
|
3
|
-
interface NumberProps {
|
|
4
|
-
number: NumberType['value'];
|
|
5
|
-
testId?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const NUMBER_TYPE_TEST_ID = "link-datasource-render-type--number";
|
|
8
|
-
declare const NumberRenderType: ({ number, testId, }: NumberProps) => React.JSX.Element;
|
|
9
|
-
export default NumberRenderType;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type Status } from '@atlaskit/linking-types';
|
|
3
|
-
interface StatusProps extends Status {
|
|
4
|
-
testId?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const STATUS_TYPE_TEST_ID = "link-datasource-render-type--status";
|
|
7
|
-
declare const StatusRenderType: ({ text, style, testId, }: StatusProps) => React.JSX.Element;
|
|
8
|
-
export default StatusRenderType;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type TagType } from '@atlaskit/linking-types';
|
|
3
|
-
interface TagProps {
|
|
4
|
-
tag: TagType['value'];
|
|
5
|
-
testId?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const TAG_TYPE_TEST_ID = "link-datasource-render-type--tag";
|
|
8
|
-
declare const TagRenderType: ({ tag, testId }: TagProps) => React.JSX.Element;
|
|
9
|
-
export default TagRenderType;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type StringType } from '@atlaskit/linking-types';
|
|
3
|
-
interface TextProps {
|
|
4
|
-
testId?: string;
|
|
5
|
-
text: StringType['value'];
|
|
6
|
-
}
|
|
7
|
-
export declare const TEXT_TYPE_TEST_ID = "link-datasource-render-type--text";
|
|
8
|
-
declare const TextRenderType: ({ text, testId }: TextProps) => React.JSX.Element;
|
|
9
|
-
export default TextRenderType;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { type SizeType } from '@atlaskit/avatar';
|
|
7
|
-
import { type User } from '@atlaskit/linking-types';
|
|
8
|
-
export interface UserProps extends User {
|
|
9
|
-
avatarSize?: SizeType;
|
|
10
|
-
children?: React.ReactElement;
|
|
11
|
-
testId?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const USER_TYPE_TEST_ID = "link-datasource-render-type--user";
|
|
14
|
-
declare const UserType: ({ users }: {
|
|
15
|
-
users: UserProps[];
|
|
16
|
-
}) => JSX.Element;
|
|
17
|
-
export default UserType;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
interface SharedIconComponentProps {
|
|
2
|
-
/**
|
|
3
|
-
* URL or SVG for the priority icon
|
|
4
|
-
*/
|
|
5
|
-
iconUrl: string;
|
|
6
|
-
/**
|
|
7
|
-
* Label.
|
|
8
|
-
* Used for icon alt.
|
|
9
|
-
*/
|
|
10
|
-
label?: string;
|
|
11
|
-
testId: string;
|
|
12
|
-
/**
|
|
13
|
-
* Text that labels the icon. Will not be capitalised.
|
|
14
|
-
*/
|
|
15
|
-
text?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Renders a icon and text label.
|
|
19
|
-
* If the text is undefined, will not render the text label.
|
|
20
|
-
*/
|
|
21
|
-
export declare function SharedIconComponent({ iconUrl, label, text, testId, }: SharedIconComponentProps): JSX.Element;
|
|
22
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type DatasourceType } from '@atlaskit/linking-types';
|
|
3
|
-
import { type TableViewPropsRenderType } from '../types';
|
|
4
|
-
interface TableCellContentProps {
|
|
5
|
-
columnKey: string;
|
|
6
|
-
columnTitle: string;
|
|
7
|
-
columnType: DatasourceType['type'];
|
|
8
|
-
id: string;
|
|
9
|
-
/** Used to retrieve cell content from the store */
|
|
10
|
-
renderItem: TableViewPropsRenderType;
|
|
11
|
-
wrappedColumnKeys: string[] | undefined;
|
|
12
|
-
}
|
|
13
|
-
export declare const ReadOnlyCell: ({ id, columnType, wrappedColumnKeys, renderItem, columnKey, }: TableCellContentProps) => React.JSX.Element | null;
|
|
14
|
-
export declare const TableCellContent: ({ id, columnKey, columnTitle, columnType, renderItem, wrappedColumnKeys, }: TableCellContentProps) => JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { type AtomicActionExecuteResponse } from '@atlaskit/linking-types';
|
|
3
|
-
import type { DatasourceTypeWithOnlyValues } from '../types';
|
|
4
|
-
export declare const InlineEditUFOExperience = "inline-edit-rendered";
|
|
5
|
-
interface InlineEditProps {
|
|
6
|
-
ari: string;
|
|
7
|
-
columnKey: string;
|
|
8
|
-
columnTitle: string;
|
|
9
|
-
datasourceTypeWithValues: DatasourceTypeWithOnlyValues;
|
|
10
|
-
execute: (value: string | number) => Promise<AtomicActionExecuteResponse>;
|
|
11
|
-
executeFetch?: <E>(inputs: any) => Promise<E>;
|
|
12
|
-
readView: React.ReactNode;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @returns String of the new field value, or ID of status transition / atlassian user ID / priority ID.
|
|
16
|
-
* @throws Error if the value is not supplied.
|
|
17
|
-
*/
|
|
18
|
-
export declare const newGetBackendUpdateValue: (typedNewValue: DatasourceTypeWithOnlyValues) => string;
|
|
19
|
-
export declare const InlineEdit: ({ ari, execute, executeFetch, readView, columnKey, columnTitle, datasourceTypeWithValues, }: InlineEditProps) => React.JSX.Element;
|
|
20
|
-
export {};
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { type Ref } from 'react';
|
|
2
|
-
import type { DatasourceDataResponseItem, DatasourceResponseSchemaProperty, DatasourceTableStatusType, DatasourceType } from '@atlaskit/linking-types';
|
|
3
|
-
import type { NextPageType } from '../../hooks/useDatasourceTableState';
|
|
4
|
-
export type DatasourceTypeWithOnlyValues = {
|
|
5
|
-
[K in DatasourceType['type']]: {
|
|
6
|
-
type: K;
|
|
7
|
-
values: Extract<DatasourceType, {
|
|
8
|
-
type: K;
|
|
9
|
-
}>['value'][];
|
|
10
|
-
};
|
|
11
|
-
}[DatasourceType['type']];
|
|
12
|
-
/** Object typing a list of data objects for type K */
|
|
13
|
-
export type DatasourceTypeWithOnlyTypeValues<K> = {
|
|
14
|
-
type: K;
|
|
15
|
-
values: Extract<DatasourceType, {
|
|
16
|
-
type: K;
|
|
17
|
-
}>['value'][];
|
|
18
|
-
};
|
|
19
|
-
export type DatasourceTypeValueType<K> = Extract<DatasourceType, {
|
|
20
|
-
type: K;
|
|
21
|
-
}>['value'];
|
|
22
|
-
export type TableViewPropsRenderType = (item: DatasourceTypeWithOnlyValues) => React.ReactNode;
|
|
23
|
-
export interface ColumnSizesMap {
|
|
24
|
-
[key: string]: number;
|
|
25
|
-
}
|
|
26
|
-
export type DatasourceTableSortDirection = 'ASC' | 'DESC';
|
|
27
|
-
export type DatasourceTableSortState = {
|
|
28
|
-
direction: DatasourceTableSortDirection;
|
|
29
|
-
key: string;
|
|
30
|
-
};
|
|
31
|
-
export interface IssueLikeDataTableViewProps {
|
|
32
|
-
/**
|
|
33
|
-
* Map of column key to custom column width
|
|
34
|
-
*/
|
|
35
|
-
columnCustomSizes?: ColumnSizesMap;
|
|
36
|
-
/**
|
|
37
|
-
* All available columns/properties.
|
|
38
|
-
* Consumer should not reorder these columns to align with `visibleColumnKeys`.
|
|
39
|
-
* UI will display them according to `visibleColumnKeys`
|
|
40
|
-
*/
|
|
41
|
-
columns: DatasourceResponseSchemaProperty[];
|
|
42
|
-
/**
|
|
43
|
-
* Datasource extension key. Optional as value may not have been returned yet
|
|
44
|
-
*/
|
|
45
|
-
extensionKey?: string | null;
|
|
46
|
-
hasNextPage: boolean;
|
|
47
|
-
itemIds: string[];
|
|
48
|
-
items: DatasourceDataResponseItem[];
|
|
49
|
-
onColumnResize?: (key: string, width: number) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Callback to be invoked whenever a user sorts a datasource table by a column.
|
|
52
|
-
*/
|
|
53
|
-
onColumnSort?: (key: string) => void;
|
|
54
|
-
onLoadDatasourceDetails: () => Promise<void>;
|
|
55
|
-
onNextPage: NextPageType;
|
|
56
|
-
/**
|
|
57
|
-
* Callback to be invoked whenever a user changes the visible columns in a datasource table
|
|
58
|
-
* either by selecting/unselecting or reordering (drag and drop)
|
|
59
|
-
*
|
|
60
|
-
* @param visibleColumnKeys the array of keys for all of the selected columns
|
|
61
|
-
*/
|
|
62
|
-
onVisibleColumnKeysChange?: (visibleColumnKeys: string[]) => void;
|
|
63
|
-
/**
|
|
64
|
-
* Callback to be invoked whenever user changes wrap attribute of the column.
|
|
65
|
-
*
|
|
66
|
-
* @param key Column key
|
|
67
|
-
* @param shouldWrap Whenever column should wrap
|
|
68
|
-
*/
|
|
69
|
-
onWrappedColumnChange?: (key: string, shouldWrap: boolean) => void;
|
|
70
|
-
/**
|
|
71
|
-
* A function to define new or override existing render components.
|
|
72
|
-
* eg:
|
|
73
|
-
* const renderItem: TableViewPropsRenderType = item => {
|
|
74
|
-
* if (item.type === 'icon') {
|
|
75
|
-
* return (
|
|
76
|
-
* <IconRenderType label={item.label} source={item.source} />
|
|
77
|
-
* );
|
|
78
|
-
* }
|
|
79
|
-
* return fallbackRenderType(item);
|
|
80
|
-
* };
|
|
81
|
-
*/
|
|
82
|
-
renderItem?: TableViewPropsRenderType;
|
|
83
|
-
/**
|
|
84
|
-
* If this number is set it will restrict (max-height) maximum size of the component AND make main container a scrollable container.
|
|
85
|
-
* It this number is 0 it will not restrict height and not make container scrollable.
|
|
86
|
-
*/
|
|
87
|
-
scrollableContainerHeight?: number;
|
|
88
|
-
sortState?: DatasourceTableSortState;
|
|
89
|
-
status: DatasourceTableStatusType;
|
|
90
|
-
testId?: string;
|
|
91
|
-
/**
|
|
92
|
-
* List of properties/column keys that are visible/selected
|
|
93
|
-
*/
|
|
94
|
-
visibleColumnKeys: string[];
|
|
95
|
-
/**
|
|
96
|
-
* List of column keys that needs to be shown without truncation (content will wrap to a new line)
|
|
97
|
-
*/
|
|
98
|
-
wrappedColumnKeys?: string[];
|
|
99
|
-
}
|
|
100
|
-
export interface HeaderRowCellType {
|
|
101
|
-
content?: React.ReactNode | string;
|
|
102
|
-
key: string;
|
|
103
|
-
shouldTruncate?: boolean;
|
|
104
|
-
width?: number;
|
|
105
|
-
}
|
|
106
|
-
export interface RowType {
|
|
107
|
-
cells: Array<RowCellType>;
|
|
108
|
-
key?: string;
|
|
109
|
-
ref?: Ref<HTMLTableRowElement>;
|
|
110
|
-
}
|
|
111
|
-
export interface RowCellType {
|
|
112
|
-
content?: React.ReactNode | string;
|
|
113
|
-
key: string;
|
|
114
|
-
shouldTruncate?: boolean;
|
|
115
|
-
type?: DatasourceType['type'];
|
|
116
|
-
width?: number;
|
|
117
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useIsOnScreen: (el: HTMLElement | null) => boolean;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { FormEvent } from 'react';
|
|
2
|
-
import { type FieldProps } from '@atlaskit/form';
|
|
3
|
-
import { DatasourceAction } from '../../analytics/types';
|
|
4
|
-
export declare const COLUMN_BASE_WIDTH = 8;
|
|
5
|
-
export type GetWidthCss = (arg: {
|
|
6
|
-
shouldUseWidth: boolean;
|
|
7
|
-
width?: number;
|
|
8
|
-
}) => React.CSSProperties;
|
|
9
|
-
export declare const getColumnMinWidth: (key: string) => number;
|
|
10
|
-
/**
|
|
11
|
-
* Generate width related portion of css for table cell.
|
|
12
|
-
*
|
|
13
|
-
* @param shouldUseWidth boolean argument defines if a given width is user defined / baked in value
|
|
14
|
-
* or rather default width that should be treated as a maximum width. When table inserted initially
|
|
15
|
-
* and no user custom width defined we set this value to `false`. As soon as user changes any of the
|
|
16
|
-
* column widths we treat all width as custom hardcoded widths.
|
|
17
|
-
* @param width Sometimes set to undefined for last column to make it occupy remainder of the table width
|
|
18
|
-
*/
|
|
19
|
-
export declare const getWidthCss: GetWidthCss;
|
|
20
|
-
/**
|
|
21
|
-
* This method should be called when one atomic action is performed on columns: adding new item, removing one item, changing items order.
|
|
22
|
-
* The assumption is that since only one action is changed at each time, we don't have to verify the actual contents of the lists.
|
|
23
|
-
*/
|
|
24
|
-
export declare const getColumnAction: (oldVisibleColumnKeys: string[], newVisibleColumnKeys: string[]) => DatasourceAction;
|
|
25
|
-
/**
|
|
26
|
-
* Remove deprecated `aria-labelledby` prop from select component props.
|
|
27
|
-
*/
|
|
28
|
-
export declare const getCleanedSelectProps: (props: Omit<FieldProps<string>, "value">) => {
|
|
29
|
-
name: string;
|
|
30
|
-
id: string;
|
|
31
|
-
"aria-describedby"?: string | undefined;
|
|
32
|
-
"aria-invalid": "true" | "false";
|
|
33
|
-
onFocus: () => void;
|
|
34
|
-
onBlur: () => void;
|
|
35
|
-
onChange: (value: string | FormEvent<HTMLInputElement>) => void;
|
|
36
|
-
isRequired: boolean;
|
|
37
|
-
isDisabled: boolean;
|
|
38
|
-
isInvalid: boolean;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Create id for table header to be used as aria-labelledby on form fields.
|
|
42
|
-
*/
|
|
43
|
-
export declare const getFieldLabelById: (fieldId: string) => string;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { type IntlShape } from 'react-intl';
|
|
2
|
-
import type { Site } from '../../../../common/types';
|
|
3
|
-
import { type AvatarLabelOption, type SelectOption } from '../../../common/modal/popup-select/types';
|
|
4
|
-
import { type BasicFilterFieldType } from '../types';
|
|
5
|
-
interface FilterOptionsProps {
|
|
6
|
-
filterType: BasicFilterFieldType;
|
|
7
|
-
site?: Site;
|
|
8
|
-
}
|
|
9
|
-
export interface FetchFilterOptionsProps {
|
|
10
|
-
pageCursor?: string;
|
|
11
|
-
searchString?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface FilterOptionsState {
|
|
14
|
-
errors: unknown[];
|
|
15
|
-
fetchFilterOptions: (prop?: FetchFilterOptionsProps) => Promise<void>;
|
|
16
|
-
filterOptions: SelectOption[];
|
|
17
|
-
pageCursor?: string;
|
|
18
|
-
reset: () => void;
|
|
19
|
-
status: 'empty' | 'loading' | 'resolved' | 'rejected' | 'loadingMore';
|
|
20
|
-
totalCount: number;
|
|
21
|
-
}
|
|
22
|
-
export declare const getAssigneeUnassignedFilterOption: (formatMessage: IntlShape["formatMessage"]) => AvatarLabelOption;
|
|
23
|
-
export declare const useFilterOptions: ({ filterType, site }: FilterOptionsProps) => FilterOptionsState;
|
|
24
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { type CommonBasicFilterHookState } from '../../../common/modal/popup-select/types';
|
|
2
|
-
import { type SelectedOptionsMap } from '../types';
|
|
3
|
-
export interface HydrateJqlState extends CommonBasicFilterHookState {
|
|
4
|
-
fetchHydratedJqlOptions: () => Promise<void>;
|
|
5
|
-
hydratedOptions: SelectedOptionsMap & {
|
|
6
|
-
basicInputTextValue?: string;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export declare const useHydrateJqlQuery: (cloudId: string, jql: string) => HydrateJqlState;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BasicFilters } from './ui';
|