@databiosphere/findable-ui 25.0.0 → 26.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/.release-please-manifest.json +1 -1
- package/CHANGELOG.md +56 -0
- package/lib/common/entities.d.ts +25 -0
- package/lib/components/DataDictionary/common/utils.js +10 -8
- package/lib/components/DataDictionary/components/Entities/entities.d.ts +1 -1
- package/lib/components/DataDictionary/components/Entities/entities.js +2 -2
- package/lib/components/DataDictionary/components/Entities/types.d.ts +3 -1
- package/lib/components/DataDictionary/components/Entity/entity.d.ts +1 -1
- package/lib/components/DataDictionary/components/Entity/entity.js +2 -2
- package/lib/components/DataDictionary/components/Entity/types.d.ts +3 -1
- package/lib/components/DataDictionary/components/Table/components/BasicCell/types.d.ts +1 -2
- package/lib/components/DataDictionary/components/Table/hook.d.ts +2 -2
- package/lib/components/DataDictionary/components/Table/hook.js +2 -3
- package/lib/components/DataDictionary/dataDictionary.js +2 -2
- package/lib/components/DataDictionary/hooks/UseDataDictionary/hook.js +7 -2
- package/lib/components/DataDictionary/hooks/UseDataDictionary/types.d.ts +3 -1
- package/lib/components/Detail/components/Table/stories/args.d.ts +27 -0
- package/lib/components/Detail/components/Table/stories/args.js +100 -0
- package/lib/components/Detail/components/Table/stories/constants.d.ts +4 -0
- package/lib/components/Detail/components/Table/stories/constants.js +11 -0
- package/lib/components/Detail/components/Table/stories/filter/args.d.ts +5 -0
- package/lib/components/Detail/components/Table/stories/filter/args.js +50 -0
- package/lib/components/Detail/components/Table/stories/filter/filter.stories.d.ts +11 -0
- package/lib/components/Detail/components/Table/stories/filter/filter.stories.js +78 -0
- package/lib/components/Detail/components/Table/stories/table.stories.d.ts +6 -0
- package/lib/components/Detail/components/Table/stories/table.stories.js +19 -0
- package/lib/components/Detail/components/Table/table.js +2 -0
- package/lib/components/Export/components/ExportMethod/exportMethod.d.ts +2 -2
- package/lib/components/Export/components/ExportMethod/exportMethod.styles.js +1 -1
- package/lib/components/Filter/components/ClearAllFilters/clearAllFilters.js +2 -1
- package/lib/components/Filter/components/Filter/filter.js +2 -1
- package/lib/components/Filter/components/FilterRange/constants.d.ts +8 -0
- package/lib/components/Filter/components/FilterRange/constants.js +27 -0
- package/lib/components/Filter/components/FilterRange/filterRange.d.ts +2 -0
- package/lib/components/Filter/components/FilterRange/filterRange.js +26 -0
- package/lib/components/Filter/components/FilterRange/filterRange.styles.d.ts +4 -0
- package/lib/components/Filter/components/FilterRange/filterRange.styles.js +66 -0
- package/lib/components/Filter/components/FilterRange/hooks/UseFilterRange/hook.d.ts +2 -0
- package/lib/components/Filter/components/FilterRange/hooks/UseFilterRange/hook.js +14 -0
- package/lib/components/Filter/components/FilterRange/hooks/UseFilterRange/types.d.ts +8 -0
- package/lib/components/Filter/components/FilterRange/stories/filterRange.stories.d.ts +6 -0
- package/lib/components/Filter/components/FilterRange/stories/filterRange.stories.js +9 -0
- package/lib/components/Filter/components/FilterRange/types.d.ts +8 -0
- package/lib/components/Filter/components/FilterRange/types.js +6 -0
- package/lib/components/Filter/components/Filters/filters.js +2 -1
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.d.ts +3 -2
- package/lib/components/Filter/components/HighlightedLabel/highlightedLabel.js +2 -2
- package/lib/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.js +3 -2
- package/lib/components/Filter/components/SearchAllFilters/searchAllFilters.js +2 -1
- package/lib/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.js +1 -2
- package/lib/components/Filter/components/VariableSizeListItem/variableSizeListItem.js +3 -2
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.d.ts +1 -1
- package/lib/components/Index/components/EntitiesView/components/ChartView/chartView.js +5 -2
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/constants.d.ts +2 -1
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/constants.js +2 -1
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/plot.js +10 -7
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/utils.d.ts +6 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/utils.js +4 -4
- package/lib/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/chart.stories.js +1 -2
- package/lib/components/Index/components/EntitiesView/components/ChartView/stories/args.js +1 -0
- package/lib/components/Index/components/EntitiesView/components/ChartView/stories/chartView.stories.js +0 -1
- package/lib/components/Index/components/EntitiesView/components/ChartView/types.d.ts +2 -0
- package/lib/components/Index/components/EntitiesView/entitiesView.d.ts +1 -1
- package/lib/components/Index/components/EntitiesView/entitiesView.js +3 -2
- package/lib/components/Index/components/EntitiesView/types.d.ts +2 -2
- package/lib/components/Index/components/Hero/components/ExportButton/exportButton.js +2 -1
- package/lib/components/Layout/components/Header/components/Content/components/Slogan/slogan.styles.d.ts +1 -1
- package/lib/components/Layout/components/Outline/outline.styles.js +1 -2
- package/lib/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.js +2 -1
- package/lib/components/Layout/components/Sidebar/sidebar.js +4 -1
- package/lib/components/Loading/loading.styles.js +2 -1
- package/lib/components/Login/components/Button/constants.js +2 -3
- package/lib/components/Login/components/Button/types.d.ts +1 -1
- package/lib/components/Login/components/Buttons/types.d.ts +1 -1
- package/lib/components/Support/components/SupportRequest/components/Dialog/dialog.styles.js +4 -4
- package/lib/components/Support/components/ViewSupport/viewSupport.styles.js +2 -2
- package/lib/components/Table/columnDef/columnFilters/filterFn.d.ts +13 -0
- package/lib/components/Table/columnDef/columnFilters/filterFn.js +22 -0
- package/lib/components/Table/common/columnDef.js +2 -0
- package/lib/components/Table/common/utils.d.ts +1 -13
- package/lib/components/Table/common/utils.js +1 -23
- package/lib/components/Table/components/Pagination/pagination.js +3 -2
- package/lib/components/Table/components/PaginationSummary/paginationSummary.js +2 -1
- package/lib/components/Table/components/TableRows/tableRows.js +7 -3
- package/lib/components/Table/table.js +3 -1
- package/lib/components/TableCreator/tableCreator.js +12 -3
- package/lib/components/common/Button/components/ButtonOutline/buttonOutline.styles.js +7 -7
- package/lib/components/common/Button/constants.d.ts +2 -0
- package/lib/components/common/Button/constants.js +21 -0
- package/lib/components/common/LoginDialog/loginDialog.styles.js +2 -3
- package/lib/components/types.d.ts +3 -0
- package/lib/config/entities.d.ts +3 -3
- package/lib/config/utils.js +1 -1
- package/lib/hooks/useEntityList.js +2 -1
- package/lib/hooks/useEntityService.js +1 -1
- package/lib/hooks/useExploreMode/types.d.ts +6 -0
- package/lib/hooks/useExploreMode/types.js +6 -0
- package/lib/hooks/{useExploreMode.d.ts → useExploreMode/useExploreMode.d.ts} +1 -6
- package/lib/hooks/{useExploreMode.js → useExploreMode/useExploreMode.js} +1 -7
- package/lib/hooks/useFetchEntity.js +2 -1
- package/lib/styles/common/constants/colorMixes.d.ts +18 -0
- package/lib/styles/common/constants/colorMixes.js +19 -0
- package/lib/styles/common/constants/shadows.d.ts +5 -0
- package/lib/styles/common/constants/shadows.js +5 -0
- package/lib/styles/common/mui/button.d.ts +10 -2
- package/lib/styles/common/mui/button.js +12 -2
- package/lib/tests/mui/constants.d.ts +1 -0
- package/lib/tests/mui/constants.js +1 -0
- package/lib/tests/testIds.d.ts +19 -0
- package/lib/tests/testIds.js +19 -0
- package/lib/theme/common/components.d.ts +2 -3
- package/lib/theme/common/components.js +47 -51
- package/lib/theme/common/palette.d.ts +0 -44
- package/lib/theme/common/palette.js +27 -82
- package/lib/theme/common/shadows.d.ts +2 -28
- package/lib/theme/common/shadows.js +27 -32
- package/lib/theme/components/muiAlert.js +5 -5
- package/lib/theme/theme.js +7 -7
- package/lib/views/ExploreView/exploreView.js +4 -3
- package/package.json +4 -4
- package/src/common/entities.ts +30 -0
- package/src/components/DataDictionary/common/utils.ts +12 -8
- package/src/components/DataDictionary/components/Entities/entities.tsx +11 -2
- package/src/components/DataDictionary/components/Entities/types.ts +3 -1
- package/src/components/DataDictionary/components/Entity/entity.tsx +2 -1
- package/src/components/DataDictionary/components/Entity/types.ts +3 -1
- package/src/components/DataDictionary/components/Table/components/BasicCell/types.ts +1 -2
- package/src/components/DataDictionary/components/Table/hook.ts +6 -4
- package/src/components/DataDictionary/dataDictionary.tsx +2 -2
- package/src/components/DataDictionary/hooks/UseDataDictionary/hook.ts +8 -2
- package/src/components/DataDictionary/hooks/UseDataDictionary/types.ts +3 -1
- package/src/components/Detail/components/Table/stories/args.ts +104 -0
- package/src/components/Detail/components/Table/stories/constants.ts +15 -0
- package/src/components/Detail/components/Table/stories/filter/args.ts +54 -0
- package/src/components/Detail/components/Table/stories/filter/filter.stories.tsx +90 -0
- package/src/components/Detail/components/Table/stories/table.stories.tsx +32 -0
- package/src/components/Detail/components/Table/table.tsx +2 -0
- package/src/components/Export/components/ExportMethod/exportMethod.styles.ts +1 -1
- package/src/components/Export/components/ExportMethod/exportMethod.tsx +3 -2
- package/src/components/Filter/components/ClearAllFilters/clearAllFilters.tsx +7 -1
- package/src/components/Filter/components/Filter/filter.tsx +2 -0
- package/src/components/Filter/components/FilterRange/constants.ts +41 -0
- package/src/components/Filter/components/FilterRange/filterRange.styles.ts +71 -0
- package/src/components/Filter/components/FilterRange/filterRange.tsx +71 -0
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/hook.ts +20 -0
- package/src/components/Filter/components/FilterRange/hooks/UseFilterRange/types.ts +9 -0
- package/src/components/Filter/components/FilterRange/stories/filterRange.stories.tsx +15 -0
- package/src/components/Filter/components/FilterRange/types.ts +9 -0
- package/src/components/Filter/components/Filters/filters.tsx +7 -1
- package/src/components/Filter/components/HighlightedLabel/highlightedLabel.tsx +4 -2
- package/src/components/Filter/components/SearchAllFilters/components/VariableSizeListItem/variableSizeListItem.tsx +14 -2
- package/src/components/Filter/components/SearchAllFilters/searchAllFilters.tsx +2 -0
- package/src/components/Filter/components/SearchAllFiltersSearch/searchAllFiltersSearch.styles.ts +1 -2
- package/src/components/Filter/components/VariableSizeListItem/variableSizeListItem.tsx +14 -2
- package/src/components/Index/components/EntitiesView/components/ChartView/chartView.tsx +2 -1
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/constants.ts +3 -1
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/plot.ts +10 -7
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/barX/utils.ts +10 -4
- package/src/components/Index/components/EntitiesView/components/ChartView/components/Chart/stories/chart.stories.tsx +1 -2
- package/src/components/Index/components/EntitiesView/components/ChartView/stories/args.ts +1 -0
- package/src/components/Index/components/EntitiesView/components/ChartView/stories/chartView.stories.tsx +0 -1
- package/src/components/Index/components/EntitiesView/components/ChartView/types.ts +2 -0
- package/src/components/Index/components/EntitiesView/entitiesView.tsx +2 -2
- package/src/components/Index/components/EntitiesView/types.ts +2 -2
- package/src/components/Index/components/Hero/components/ExportButton/exportButton.tsx +2 -0
- package/src/components/Layout/components/Outline/outline.styles.ts +1 -2
- package/src/components/Layout/components/Sidebar/components/SidebarDrawer/sidebarDrawer.tsx +2 -0
- package/src/components/Layout/components/Sidebar/sidebar.tsx +4 -1
- package/src/components/Loading/loading.styles.ts +2 -1
- package/src/components/Login/components/Button/constants.ts +2 -3
- package/src/components/Login/components/Button/types.ts +1 -1
- package/src/components/Login/components/Buttons/types.ts +1 -1
- package/src/components/Support/components/SupportRequest/components/Dialog/dialog.styles.ts +4 -4
- package/src/components/Support/components/ViewSupport/viewSupport.styles.ts +2 -2
- package/src/components/Table/columnDef/columnFilters/filterFn.ts +27 -0
- package/src/components/Table/common/columnDef.ts +2 -0
- package/src/components/Table/common/utils.ts +1 -27
- package/src/components/Table/components/Pagination/pagination.tsx +3 -2
- package/src/components/Table/components/PaginationSummary/paginationSummary.tsx +2 -1
- package/src/components/Table/components/TableRows/tableRows.tsx +10 -3
- package/src/components/Table/table.tsx +3 -1
- package/src/components/TableCreator/tableCreator.tsx +17 -3
- package/src/components/common/Button/components/ButtonOutline/buttonOutline.styles.ts +7 -7
- package/src/components/common/Button/constants.ts +23 -0
- package/src/components/common/LoginDialog/loginDialog.styles.ts +2 -3
- package/src/components/types.ts +4 -0
- package/src/config/entities.ts +3 -3
- package/src/config/utils.ts +1 -1
- package/src/hooks/useEntityList.ts +2 -1
- package/src/hooks/useEntityService.ts +1 -1
- package/src/hooks/useExploreMode/types.ts +7 -0
- package/src/hooks/{useExploreMode.ts → useExploreMode/useExploreMode.ts} +2 -9
- package/src/hooks/useFetchEntity.tsx +2 -1
- package/src/styles/common/constants/colorMixes.ts +20 -0
- package/src/styles/common/constants/shadows.ts +5 -0
- package/src/styles/common/mui/button.ts +20 -2
- package/src/tests/mui/constants.ts +1 -0
- package/src/tests/testIds.ts +19 -0
- package/src/theme/common/components.ts +47 -59
- package/src/theme/common/palette.ts +27 -86
- package/src/theme/common/shadows.ts +28 -33
- package/src/theme/components/muiAlert.ts +5 -5
- package/src/theme/theme.ts +50 -51
- package/src/views/ExploreView/exploreView.tsx +8 -3
- package/tests/chart.test.tsx +113 -22
- package/tests/chartView.test.tsx +12 -0
- package/tests/entitiesView.test.tsx +7 -11
- package/tests/filterRange.test.tsx +87 -0
- package/tests/filterRangeMock.test.tsx +38 -0
- package/tests/tableFilter.test.tsx +90 -0
- package/lib/components/DataDictionary/components/Table/columns/columnDef.d.ts +0 -6
- package/lib/components/DataDictionary/components/Table/columns/columnDef.js +0 -33
- package/lib/components/DataDictionary/components/Table/columns/columnIdentifier.d.ts +0 -5
- package/lib/components/DataDictionary/components/Table/columns/columnIdentifier.js +0 -5
- package/lib/components/DataDictionary/components/Table/columns/types.d.ts +0 -2
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.d.ts +0 -8
- package/lib/components/Detail/components/Table/components/TableHead/tableHead.js +0 -36
- package/lib/components/Index/components/Cell/cell.d.ts +0 -7
- package/lib/components/Index/components/Cell/cell.js +0 -10
- package/lib/components/Index/components/EntitiesView/constants.d.ts +0 -1
- package/lib/components/Index/components/EntitiesView/constants.js +0 -1
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.d.ts +0 -8
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.js +0 -57
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.d.ts +0 -4
- package/lib/components/Index/components/NTag/components/Tooltip/tooltip.styles.js +0 -10
- package/lib/components/Index/components/NTag/nTag.d.ts +0 -10
- package/lib/components/Index/components/NTag/nTag.js +0 -8
- package/lib/components/Index/components/NTagCell/nTagCell.d.ts +0 -11
- package/lib/components/Index/components/NTagCell/nTagCell.js +0 -29
- package/lib/components/Index/components/NTagCell/nTagCell.stories.d.ts +0 -5
- package/lib/components/Index/components/NTagCell/nTagCell.stories.js +0 -16
- package/lib/components/Index/components/TitleCell/titleCell.d.ts +0 -6
- package/lib/components/Index/components/TitleCell/titleCell.js +0 -10
- package/lib/components/Index/components/TitleCell/titleCell.styles.d.ts +0 -3
- package/lib/components/Index/components/TitleCell/titleCell.styles.js +0 -6
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.d.ts +0 -6
- package/lib/components/Layout/components/BackPage/components/BackPageHero/backPageHero.stories.js +0 -10
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.d.ts +0 -5
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/AuthenticationMenu/authenticationMenu.stories.js +0 -29
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.d.ts +0 -6
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.js +0 -13
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.d.ts +0 -36
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Authentication/components/RequestAuthentication/requestAuthentication.styles.js +0 -9
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.d.ts +0 -5
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.js +0 -10
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.d.ts +0 -36
- package/lib/components/Layout/components/Header/components/Content/components/Actions/components/Search/components/SearchButton/searchButton.styles.js +0 -9
- package/lib/components/Layout/components/Header/hooks/useMeasureHeader.d.ts +0 -5
- package/lib/components/Layout/components/Header/hooks/useMeasureHeader.js +0 -19
- package/lib/components/Layout/components/Outline/common/constants.d.ts +0 -2
- package/lib/components/Layout/components/Outline/common/constants.js +0 -1
- package/lib/components/Login/login.stories.d.ts +0 -6
- package/lib/components/Login/login.stories.js +0 -31
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.d.ts +0 -16
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.js +0 -28
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.d.ts +0 -5
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.stories.js +0 -46
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.d.ts +0 -3
- package/lib/components/Table/components/CheckboxMenu/checkboxMenu.styles.js +0 -21
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.d.ts +0 -2
- package/lib/components/Table/components/EntityViewToggle/entityViewToggle.js +0 -37
- package/lib/components/TableCreator/common/constants.d.ts +0 -6
- package/lib/components/TableCreator/common/constants.js +0 -19
- package/lib/components/TableCreator/common/entities.d.ts +0 -5
- package/lib/components/TableCreator/common/entities.js +0 -1
- package/lib/components/TableCreator/tableCreator.styles.d.ts +0 -4
- package/lib/components/TableCreator/tableCreator.styles.js +0 -4
- package/lib/components/common/Alert/alert.stories.d.ts +0 -6
- package/lib/components/common/Alert/alert.stories.js +0 -36
- package/lib/components/common/Alert/components/AlertText/alertText.styles.d.ts +0 -4
- package/lib/components/common/Alert/components/AlertText/alertText.styles.js +0 -19
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.d.ts +0 -7
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.js +0 -5
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.d.ts +0 -3
- package/lib/components/common/Banner/components/BannerPrimary/bannerPrimary.styles.js +0 -19
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.d.ts +0 -10
- package/lib/components/common/Banner/components/DismissibleBanner/dismissibleBanner.js +0 -16
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.d.ts +0 -3
- package/lib/components/common/Banner/components/SessionTimeout/sessionTimeout.styles.js +0 -21
- package/lib/components/common/Button/components/LoginButton/loginButton.d.ts +0 -3
- package/lib/components/common/Button/components/LoginButton/loginButton.js +0 -6
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.d.ts +0 -7
- package/lib/components/common/Button/components/LoginButton/loginButton.styles.js +0 -11
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.d.ts +0 -5
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.js +0 -10
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.d.ts +0 -3
- package/lib/components/common/IconButton/components/LoadingIconButton/loadingIconButton.stories.js +0 -9
- package/lib/hooks/useAuthentication/common/constants.d.ts +0 -4
- package/lib/hooks/useAuthentication/common/constants.js +0 -19
- package/lib/hooks/useAuthentication/common/entities.d.ts +0 -25
- package/lib/hooks/useAuthentication/common/entities.js +0 -11
- package/lib/hooks/useAuthentication/common/utils.d.ts +0 -15
- package/lib/hooks/useAuthentication/common/utils.js +0 -25
- package/lib/hooks/useAuthentication/useAuthentication.d.ts +0 -6
- package/lib/hooks/useAuthentication/useAuthentication.js +0 -9
- package/lib/hooks/useAuthentication/useAuthenticationComplete.d.ts +0 -6
- package/lib/hooks/useAuthentication/useAuthenticationComplete.js +0 -55
- package/lib/hooks/useAuthentication/useAuthenticationForm.d.ts +0 -20
- package/lib/hooks/useAuthentication/useAuthenticationForm.js +0 -88
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.d.ts +0 -18
- package/lib/hooks/useAuthentication/useAuthenticationNIHExpiry.js +0 -50
- package/lib/hooks/useAuthentication/useAuthenticationStatus.d.ts +0 -20
- package/lib/hooks/useAuthentication/useAuthenticationStatus.js +0 -32
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.d.ts +0 -21
- package/lib/hooks/useAuthentication/useFetchGoogleProfile.js +0 -41
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.d.ts +0 -18
- package/lib/hooks/useAuthentication/useFetchTerraNIHProfile.js +0 -62
- package/lib/hooks/useAuthentication/useFetchTerraProfile.d.ts +0 -24
- package/lib/hooks/useAuthentication/useFetchTerraProfile.js +0 -62
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.d.ts +0 -15
- package/lib/hooks/useAuthentication/useFetchTerraTermsOfService.js +0 -62
- package/lib/hooks/useAuthentication/useTokenClient.d.ts +0 -11
- package/lib/hooks/useAuthentication/useTokenClient.js +0 -29
- package/lib/hooks/useAuthenticationConfig.d.ts +0 -6
- package/lib/hooks/useAuthenticationConfig.js +0 -14
- package/lib/hooks/useCategoryConfigs.d.ts +0 -6
- package/lib/hooks/useCategoryConfigs.js +0 -17
- package/lib/hooks/useEntityListRelatedView.d.ts +0 -15
- package/lib/hooks/useEntityListRelatedView.js +0 -62
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.d.ts +0 -15
- package/lib/hooks/useFileManifest/common/buildFileManifestRequestURL.js +0 -27
- package/lib/hooks/useFileManifest/useFileManifestURL.d.ts +0 -5
- package/lib/hooks/useFileManifest/useFileManifestURL.js +0 -11
- package/lib/hooks/useFileManifest/useRequestFileManifest.d.ts +0 -9
- package/lib/hooks/useFileManifest/useRequestFileManifest.js +0 -37
- package/lib/hooks/useLayoutState.d.ts +0 -6
- package/lib/hooks/useLayoutState.js +0 -9
- package/lib/hooks/useMenu.d.ts +0 -10
- package/lib/hooks/useMenu.js +0 -17
- package/lib/hooks/useMenuWithPosition.d.ts +0 -14
- package/lib/hooks/useMenuWithPosition.js +0 -33
- package/lib/hooks/useSessionTimeout.d.ts +0 -11
- package/lib/hooks/useSessionTimeout.js +0 -28
- package/lib/providers/authentication.d.ts +0 -51
- package/lib/providers/authentication.js +0 -110
- package/lib/providers/layoutState.d.ts +0 -40
- package/lib/providers/layoutState.js +0 -47
- package/lib/styles/common/mixins/shadows.d.ts +0 -3
- package/lib/styles/common/mixins/shadows.js +0 -4
- package/lib/theme/common/entities.d.ts +0 -6
- package/lib/theme/common/entities.js +0 -1
- package/src/components/DataDictionary/components/Table/columns/columnDef.ts +0 -47
- package/src/components/DataDictionary/components/Table/columns/columnIdentifier.ts +0 -5
- package/src/components/DataDictionary/components/Table/columns/types.ts +0 -3
- package/src/components/Index/components/EntitiesView/constants.ts +0 -1
- package/src/styles/common/mixins/shadows.ts +0 -7
- package/src/theme/common/entities.ts +0 -7
- /package/lib/components/{DataDictionary/components/Table/columns → Filter/components/FilterRange/hooks/UseFilterRange}/types.js +0 -0
- /package/lib/styles/common/{mui → constants}/palette.d.ts +0 -0
- /package/lib/styles/common/{mui → constants}/palette.js +0 -0
- /package/src/styles/common/{mui → constants}/palette.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const COLOR = {
|
|
2
2
|
ERROR: "error",
|
|
3
3
|
INFO: "info",
|
|
4
4
|
INHERIT: "inherit",
|
|
@@ -7,7 +7,12 @@ export const COLOR = {
|
|
|
7
7
|
SUCCESS: "success",
|
|
8
8
|
WARNING: "warning",
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
const SIZE = {
|
|
11
|
+
LARGE: "large",
|
|
12
|
+
MEDIUM: "medium",
|
|
13
|
+
SMALL: "small",
|
|
14
|
+
};
|
|
15
|
+
const VARIANT = {
|
|
11
16
|
ACTIVE_NAV: "activeNav",
|
|
12
17
|
BACK_NAV: "backNav",
|
|
13
18
|
CONTAINED: "contained",
|
|
@@ -15,3 +20,8 @@ export const VARIANT = {
|
|
|
15
20
|
OUTLINED: "outlined",
|
|
16
21
|
TEXT: "text",
|
|
17
22
|
};
|
|
23
|
+
export const BUTTON_PROPS = {
|
|
24
|
+
COLOR,
|
|
25
|
+
SIZE,
|
|
26
|
+
VARIANT,
|
|
27
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const TEST_IDS: {
|
|
2
|
+
CLEAR_ALL_FILTERS: string;
|
|
3
|
+
ENTITIES_VIEW: string;
|
|
4
|
+
EXPORT_BUTTON: string;
|
|
5
|
+
FILTERS: string;
|
|
6
|
+
FILTER_CONTROLS: string;
|
|
7
|
+
FILTER_COUNT: string;
|
|
8
|
+
FILTER_ITEM: string;
|
|
9
|
+
FILTER_POPOVER: string;
|
|
10
|
+
FILTER_RANGE: string;
|
|
11
|
+
FILTER_TERM: string;
|
|
12
|
+
SEARCH_ALL_FILTERS: string;
|
|
13
|
+
SIDEBAR: string;
|
|
14
|
+
SIDEBAR_DRAWER: string;
|
|
15
|
+
TABLE_FIRST_CELL: string;
|
|
16
|
+
TABLE_PAGINATION: string;
|
|
17
|
+
TABLE_PAGINATION_PAGE: string;
|
|
18
|
+
TABLE_PAGINATION_RESULTS: string;
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const TEST_IDS = {
|
|
2
|
+
CLEAR_ALL_FILTERS: "clear-all-filters",
|
|
3
|
+
ENTITIES_VIEW: "entities-view",
|
|
4
|
+
EXPORT_BUTTON: "export-button",
|
|
5
|
+
FILTERS: "filters",
|
|
6
|
+
FILTER_CONTROLS: "filter-controls",
|
|
7
|
+
FILTER_COUNT: "filter-count",
|
|
8
|
+
FILTER_ITEM: "filter-item",
|
|
9
|
+
FILTER_POPOVER: "filter-popover",
|
|
10
|
+
FILTER_RANGE: "filter-range",
|
|
11
|
+
FILTER_TERM: "filter-term",
|
|
12
|
+
SEARCH_ALL_FILTERS: "search-all-filters",
|
|
13
|
+
SIDEBAR: "sidebar",
|
|
14
|
+
SIDEBAR_DRAWER: "sidebar-drawer",
|
|
15
|
+
TABLE_FIRST_CELL: "table-first-cell",
|
|
16
|
+
TABLE_PAGINATION: "table-pagination",
|
|
17
|
+
TABLE_PAGINATION_PAGE: "table-pagination-page",
|
|
18
|
+
TABLE_PAGINATION_RESULTS: "table-pagination-results",
|
|
19
|
+
};
|
|
@@ -19,10 +19,9 @@ export declare const MuiAccordionSummary: Components["MuiAccordionSummary"];
|
|
|
19
19
|
export declare const MuiAppBar: Components["MuiAppBar"];
|
|
20
20
|
/**
|
|
21
21
|
* MuiBackdrop Component
|
|
22
|
-
* @param theme - Theme.
|
|
23
22
|
* @returns MuiBackdrop component theme styles.
|
|
24
23
|
*/
|
|
25
|
-
export declare const MuiBackdrop:
|
|
24
|
+
export declare const MuiBackdrop: Components["MuiBackdrop"];
|
|
26
25
|
/**
|
|
27
26
|
* MuiBreadcrumbs Component
|
|
28
27
|
* @param theme - Theme.
|
|
@@ -80,7 +79,7 @@ export declare const MuiCssBaseline: (theme: Theme) => Components["MuiCssBaselin
|
|
|
80
79
|
* @param theme - Theme.
|
|
81
80
|
* @returns MuiDialog component theme styles.
|
|
82
81
|
*/
|
|
83
|
-
export declare const MuiDialog:
|
|
82
|
+
export declare const MuiDialog: Components["MuiDialog"];
|
|
84
83
|
/**
|
|
85
84
|
* MuiDialogActions Component
|
|
86
85
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { DropDownIcon } from "../../components/common/Form/components/Select/components/DropDownIcon/dropDownIcon";
|
|
2
|
+
import { COLOR_MIXES } from "../../styles/common/constants/colorMixes";
|
|
3
|
+
import { PALETTE } from "../../styles/common/constants/palette";
|
|
4
|
+
import { SHADOWS } from "../../styles/common/constants/shadows";
|
|
2
5
|
import { CHIP_PROPS } from "../../styles/common/mui/chip";
|
|
3
6
|
import { desktopUp, mobileUp, tabletUp } from "./breakpoints";
|
|
4
|
-
import { alpha32, alpha60, alpha64, alpha80, black04, black08, white, } from "./palette";
|
|
5
|
-
import { strokeBottom, strokeTop } from "./shadows";
|
|
6
7
|
import { TEXT_BODY_400, TEXT_BODY_400_2_LINES, TEXT_BODY_500, TEXT_BODY_SMALL_400, TEXT_BODY_SMALL_500, TEXT_HEADING, TEXT_HEADING_SMALL, } from "./typography";
|
|
7
8
|
// Constants
|
|
8
9
|
const FLEX_START = "flex-start";
|
|
@@ -21,13 +22,13 @@ export const MuiAccordion = (theme) => {
|
|
|
21
22
|
styleOverrides: {
|
|
22
23
|
root: {
|
|
23
24
|
backgroundColor: "transparent",
|
|
24
|
-
boxShadow:
|
|
25
|
+
boxShadow: `inset 0 1px 0 0 ${theme.palette.smoke.main}, inset 0 -1px 0 0 ${theme.palette.smoke.main}`,
|
|
25
26
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
26
27
|
"&:before": {
|
|
27
28
|
display: "none",
|
|
28
29
|
},
|
|
29
30
|
"&:nth-of-type(n+2)": {
|
|
30
|
-
boxShadow:
|
|
31
|
+
boxShadow: `inset 0 -1px 0 0 ${theme.palette.smoke.main}`,
|
|
31
32
|
},
|
|
32
33
|
},
|
|
33
34
|
},
|
|
@@ -70,26 +71,23 @@ export const MuiAppBar = {
|
|
|
70
71
|
},
|
|
71
72
|
styleOverrides: {
|
|
72
73
|
colorDefault: {
|
|
73
|
-
backgroundColor:
|
|
74
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
74
75
|
},
|
|
75
76
|
},
|
|
76
77
|
};
|
|
77
78
|
/**
|
|
78
79
|
* MuiBackdrop Component
|
|
79
|
-
* @param theme - Theme.
|
|
80
80
|
* @returns MuiBackdrop component theme styles.
|
|
81
81
|
*/
|
|
82
|
-
export const MuiBackdrop =
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
backgroundColor: "transparent",
|
|
87
|
-
},
|
|
88
|
-
root: {
|
|
89
|
-
backgroundColor: `${theme.palette.ink.main}${alpha80}`,
|
|
90
|
-
},
|
|
82
|
+
export const MuiBackdrop = {
|
|
83
|
+
styleOverrides: {
|
|
84
|
+
invisible: {
|
|
85
|
+
backgroundColor: "transparent",
|
|
91
86
|
},
|
|
92
|
-
|
|
87
|
+
root: {
|
|
88
|
+
backgroundColor: COLOR_MIXES.INK_MAIN_80,
|
|
89
|
+
},
|
|
90
|
+
},
|
|
93
91
|
};
|
|
94
92
|
/**
|
|
95
93
|
* MuiBreadcrumbs Component
|
|
@@ -159,17 +157,17 @@ export const MuiButton = (theme) => {
|
|
|
159
157
|
},
|
|
160
158
|
containedSecondary: {
|
|
161
159
|
backgroundColor: theme.palette.common.white,
|
|
162
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
160
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}`,
|
|
163
161
|
color: theme.palette.ink.main,
|
|
164
162
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
165
163
|
"&.Mui-focusVisible": {
|
|
166
164
|
backgroundColor: theme.palette.common.white,
|
|
167
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
165
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}`,
|
|
168
166
|
},
|
|
169
167
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
170
168
|
"&:hover": {
|
|
171
169
|
backgroundColor: theme.palette.smoke.lightest,
|
|
172
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
170
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}`,
|
|
173
171
|
},
|
|
174
172
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
175
173
|
"&:active": {
|
|
@@ -178,7 +176,7 @@ export const MuiButton = (theme) => {
|
|
|
178
176
|
},
|
|
179
177
|
"&:disabled": {
|
|
180
178
|
backgroundColor: theme.palette.common.white,
|
|
181
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
179
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}`,
|
|
182
180
|
color: theme.palette.ink.main,
|
|
183
181
|
opacity: 0.5,
|
|
184
182
|
},
|
|
@@ -189,19 +187,19 @@ export const MuiButton = (theme) => {
|
|
|
189
187
|
outlinedSecondary: {
|
|
190
188
|
backgroundColor: "transparent",
|
|
191
189
|
border: "none",
|
|
192
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
190
|
+
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_32}`,
|
|
193
191
|
color: theme.palette.ink.main,
|
|
194
192
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
195
193
|
"&:hover": {
|
|
196
194
|
backgroundColor: "transparent",
|
|
197
195
|
border: "none",
|
|
198
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
196
|
+
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_64}`,
|
|
199
197
|
},
|
|
200
198
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
201
199
|
"&:disabled": {
|
|
202
200
|
backgroundColor: "transparent",
|
|
203
201
|
border: "none",
|
|
204
|
-
boxShadow: `inset 0 0 0 1px ${
|
|
202
|
+
boxShadow: `inset 0 0 0 1px ${COLOR_MIXES.INK_MAIN_32}`,
|
|
205
203
|
color: theme.palette.ink.main,
|
|
206
204
|
opacity: 0.5,
|
|
207
205
|
},
|
|
@@ -460,7 +458,7 @@ export const MuiChip = (theme) => {
|
|
|
460
458
|
style: {
|
|
461
459
|
...theme.typography[TEXT_BODY_SMALL_400],
|
|
462
460
|
backgroundColor: theme.palette.smoke.main,
|
|
463
|
-
boxShadow: `0 0 0 2px ${
|
|
461
|
+
boxShadow: `0 0 0 2px ${PALETTE.COMMON_WHITE}`,
|
|
464
462
|
height: 24,
|
|
465
463
|
justifySelf: FLEX_START,
|
|
466
464
|
minWidth: 0,
|
|
@@ -470,7 +468,7 @@ export const MuiChip = (theme) => {
|
|
|
470
468
|
props: { variant: "status" },
|
|
471
469
|
style: {
|
|
472
470
|
...theme.typography[TEXT_BODY_SMALL_500],
|
|
473
|
-
boxShadow: `0 0 0 2px ${
|
|
471
|
+
boxShadow: `0 0 0 2px ${PALETTE.COMMON_WHITE}`,
|
|
474
472
|
height: 20,
|
|
475
473
|
maxWidth: "fit-content",
|
|
476
474
|
minWidth: 0,
|
|
@@ -553,20 +551,18 @@ export const MuiCssBaseline = (theme) => {
|
|
|
553
551
|
* @param theme - Theme.
|
|
554
552
|
* @returns MuiDialog component theme styles.
|
|
555
553
|
*/
|
|
556
|
-
export const MuiDialog =
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
backgroundColor: `${theme.palette.ink.main}${alpha60}`,
|
|
566
|
-
},
|
|
554
|
+
export const MuiDialog = {
|
|
555
|
+
styleOverrides: {
|
|
556
|
+
paper: {
|
|
557
|
+
boxShadow: SHADOWS["02"],
|
|
558
|
+
},
|
|
559
|
+
root: {
|
|
560
|
+
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
561
|
+
"& .MuiBackdrop-root": {
|
|
562
|
+
backgroundColor: COLOR_MIXES.INK_MAIN_60,
|
|
567
563
|
},
|
|
568
564
|
},
|
|
569
|
-
}
|
|
565
|
+
},
|
|
570
566
|
};
|
|
571
567
|
/**
|
|
572
568
|
* MuiDialogActions Component
|
|
@@ -721,7 +717,7 @@ export const MuiIconButton = (theme) => {
|
|
|
721
717
|
},
|
|
722
718
|
colorSecondary: {
|
|
723
719
|
backgroundColor: theme.palette.common.white,
|
|
724
|
-
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${
|
|
720
|
+
boxShadow: `inset 0 0 0 1px ${theme.palette.smoke.dark}, 0 1px 0 0 ${COLOR_MIXES.COMMON_BLACK_08}`,
|
|
725
721
|
color: theme.palette.ink.main,
|
|
726
722
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
727
723
|
"&.Mui-disabled": {
|
|
@@ -956,8 +952,8 @@ export const MuiOutlinedInput = (theme) => {
|
|
|
956
952
|
borderColor: theme.palette.smoke.dark,
|
|
957
953
|
},
|
|
958
954
|
root: {
|
|
959
|
-
backgroundColor:
|
|
960
|
-
boxShadow: `inset 0 2px 0 0 ${
|
|
955
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
956
|
+
boxShadow: `inset 0 2px 0 0 ${COLOR_MIXES.COMMON_BLACK_04}`,
|
|
961
957
|
paddingLeft: 12,
|
|
962
958
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
963
959
|
"& .MuiSvgIcon-root": {
|
|
@@ -1011,20 +1007,20 @@ export const MuiPaper = (theme) => {
|
|
|
1011
1007
|
{
|
|
1012
1008
|
props: { elevation: 1 },
|
|
1013
1009
|
style: {
|
|
1014
|
-
boxShadow:
|
|
1010
|
+
boxShadow: SHADOWS["01"],
|
|
1015
1011
|
},
|
|
1016
1012
|
},
|
|
1017
1013
|
{
|
|
1018
1014
|
props: { elevation: 2 },
|
|
1019
1015
|
style: {
|
|
1020
|
-
boxShadow:
|
|
1016
|
+
boxShadow: SHADOWS["02"],
|
|
1021
1017
|
},
|
|
1022
1018
|
},
|
|
1023
1019
|
{
|
|
1024
1020
|
props: { variant: "footer" },
|
|
1025
1021
|
style: {
|
|
1026
1022
|
backgroundColor: theme.palette.smoke.light,
|
|
1027
|
-
boxShadow:
|
|
1023
|
+
boxShadow: `inset 0 1px 0 0 ${theme.palette.smoke.main}, inset 0 -1px 0 0 ${theme.palette.smoke.main}`,
|
|
1028
1024
|
},
|
|
1029
1025
|
},
|
|
1030
1026
|
{
|
|
@@ -1034,7 +1030,7 @@ export const MuiPaper = (theme) => {
|
|
|
1034
1030
|
borderRadius: 8,
|
|
1035
1031
|
borderStyle: "solid",
|
|
1036
1032
|
borderWidth: 1,
|
|
1037
|
-
boxShadow:
|
|
1033
|
+
boxShadow: SHADOWS["02"],
|
|
1038
1034
|
},
|
|
1039
1035
|
},
|
|
1040
1036
|
{
|
|
@@ -1043,7 +1039,7 @@ export const MuiPaper = (theme) => {
|
|
|
1043
1039
|
borderColor: theme.palette.smoke.main,
|
|
1044
1040
|
borderStyle: "solid",
|
|
1045
1041
|
borderWidth: 1,
|
|
1046
|
-
boxShadow:
|
|
1042
|
+
boxShadow: SHADOWS["01"],
|
|
1047
1043
|
},
|
|
1048
1044
|
},
|
|
1049
1045
|
{
|
|
@@ -1054,7 +1050,7 @@ export const MuiPaper = (theme) => {
|
|
|
1054
1050
|
borderRadius: 0,
|
|
1055
1051
|
borderStyle: "solid",
|
|
1056
1052
|
borderWidth: "0 0 1px 0",
|
|
1057
|
-
boxShadow:
|
|
1053
|
+
boxShadow: SHADOWS["01"],
|
|
1058
1054
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1059
1055
|
"&.MuiDialog-paper": {
|
|
1060
1056
|
marginLeft: 0,
|
|
@@ -1070,7 +1066,7 @@ export const MuiPaper = (theme) => {
|
|
|
1070
1066
|
borderColor: theme.palette.smoke.main,
|
|
1071
1067
|
borderStyle: "solid",
|
|
1072
1068
|
borderWidth: 1,
|
|
1073
|
-
boxShadow:
|
|
1069
|
+
boxShadow: SHADOWS["01"],
|
|
1074
1070
|
},
|
|
1075
1071
|
},
|
|
1076
1072
|
],
|
|
@@ -1314,7 +1310,7 @@ export const MuiTabs = (theme) => {
|
|
|
1314
1310
|
height: 3,
|
|
1315
1311
|
},
|
|
1316
1312
|
root: {
|
|
1317
|
-
boxShadow:
|
|
1313
|
+
boxShadow: `inset 0 -1px 0 0 ${theme.palette.smoke.main}`,
|
|
1318
1314
|
minHeight: "unset",
|
|
1319
1315
|
position: "relative", // Positions scroll fuzz.
|
|
1320
1316
|
},
|
|
@@ -1351,10 +1347,10 @@ export const MuiToggleButton = (theme) => {
|
|
|
1351
1347
|
},
|
|
1352
1348
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1353
1349
|
"&.Mui-selected": {
|
|
1354
|
-
backgroundColor:
|
|
1350
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
1355
1351
|
// eslint-disable-next-line sort-keys -- disabling key order for readability
|
|
1356
1352
|
"&:hover": {
|
|
1357
|
-
backgroundColor:
|
|
1353
|
+
backgroundColor: PALETTE.COMMON_WHITE,
|
|
1358
1354
|
},
|
|
1359
1355
|
},
|
|
1360
1356
|
},
|
|
@@ -1427,7 +1423,7 @@ export const MuiTooltip = (theme) => {
|
|
|
1427
1423
|
tooltip: {
|
|
1428
1424
|
...theme.typography[TEXT_BODY_SMALL_400],
|
|
1429
1425
|
backgroundColor: theme.palette.ink.main,
|
|
1430
|
-
boxShadow:
|
|
1426
|
+
boxShadow: SHADOWS["02"],
|
|
1431
1427
|
boxSizing: "content-box",
|
|
1432
1428
|
padding: "8px 12px",
|
|
1433
1429
|
},
|
|
@@ -1,49 +1,5 @@
|
|
|
1
1
|
import { PaletteColorOptions } from "@mui/material";
|
|
2
2
|
import { CommonColors, TypeBackground, TypeText } from "@mui/material/styles";
|
|
3
|
-
/**
|
|
4
|
-
* Color constants
|
|
5
|
-
*/
|
|
6
|
-
export declare const alertLight: string;
|
|
7
|
-
export declare const alertLightest: string;
|
|
8
|
-
export declare const alertMain: string;
|
|
9
|
-
export declare const backgroundDefault: string;
|
|
10
|
-
export declare const infoContrastText: string;
|
|
11
|
-
export declare const infoLight: string;
|
|
12
|
-
export declare const infoLightest: string;
|
|
13
|
-
export declare const infoMain: string;
|
|
14
|
-
export declare const inkLight: string;
|
|
15
|
-
export declare const inkMain: string;
|
|
16
|
-
export declare const primaryDark: string;
|
|
17
|
-
export declare const primaryLightest: string;
|
|
18
|
-
export declare const primaryMain: string;
|
|
19
|
-
export declare const smokeDark: string;
|
|
20
|
-
export declare const smokeLight: string;
|
|
21
|
-
export declare const smokeLightest: string;
|
|
22
|
-
export declare const smokeMain: string;
|
|
23
|
-
export declare const successLight: string;
|
|
24
|
-
export declare const successLightest: string;
|
|
25
|
-
export declare const successMain: string;
|
|
26
|
-
export declare const textPrimary: string;
|
|
27
|
-
export declare const warningContrastText: string;
|
|
28
|
-
export declare const warningLight: string;
|
|
29
|
-
export declare const warningLightest: string;
|
|
30
|
-
export declare const warningMain: string;
|
|
31
|
-
export declare const black: string;
|
|
32
|
-
export declare const white: string;
|
|
33
|
-
/**
|
|
34
|
-
* Color alpha constants
|
|
35
|
-
*/
|
|
36
|
-
export declare const alpha04: string;
|
|
37
|
-
export declare const alpha08: string;
|
|
38
|
-
export declare const alpha32: string;
|
|
39
|
-
export declare const alpha60: string;
|
|
40
|
-
export declare const alpha64: string;
|
|
41
|
-
export declare const alpha80: string;
|
|
42
|
-
/**
|
|
43
|
-
* Shades
|
|
44
|
-
*/
|
|
45
|
-
export declare const black04: string;
|
|
46
|
-
export declare const black08: string;
|
|
47
3
|
/**
|
|
48
4
|
* Palette Option "Alert"
|
|
49
5
|
*/
|
|
@@ -80,135 +80,80 @@ const BLACK = {
|
|
|
80
80
|
const WHITE = {
|
|
81
81
|
DEFAULT: "#ffffff",
|
|
82
82
|
};
|
|
83
|
-
/**
|
|
84
|
-
* Color alpha
|
|
85
|
-
*/
|
|
86
|
-
const ALPHA = {
|
|
87
|
-
A04: "0a",
|
|
88
|
-
A08: "14",
|
|
89
|
-
A32: "52",
|
|
90
|
-
A60: "99",
|
|
91
|
-
A64: "a3",
|
|
92
|
-
A80: "cc",
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Color constants
|
|
96
|
-
*/
|
|
97
|
-
export const alertLight = ALERT.LIGHT;
|
|
98
|
-
export const alertLightest = ALERT.LIGHTEST;
|
|
99
|
-
export const alertMain = ALERT.MAIN;
|
|
100
|
-
export const backgroundDefault = BACKGROUND.DEFAULT;
|
|
101
|
-
export const infoContrastText = INFO.CONTRAST_TEXT;
|
|
102
|
-
export const infoLight = INFO.LIGHT;
|
|
103
|
-
export const infoLightest = INFO.LIGHTEST;
|
|
104
|
-
export const infoMain = INFO.MAIN;
|
|
105
|
-
export const inkLight = INK.LIGHT;
|
|
106
|
-
export const inkMain = INK.MAIN;
|
|
107
|
-
export const primaryDark = PRIMARY.DARK;
|
|
108
|
-
export const primaryLightest = PRIMARY.LIGHTEST;
|
|
109
|
-
export const primaryMain = PRIMARY.MAIN;
|
|
110
|
-
export const smokeDark = SMOKE.DARK;
|
|
111
|
-
export const smokeLight = SMOKE.LIGHT;
|
|
112
|
-
export const smokeLightest = SMOKE.LIGHTEST;
|
|
113
|
-
export const smokeMain = SMOKE.MAIN;
|
|
114
|
-
export const successLight = SUCCESS.LIGHT;
|
|
115
|
-
export const successLightest = SUCCESS.LIGHTEST;
|
|
116
|
-
export const successMain = SUCCESS.MAIN;
|
|
117
|
-
export const textPrimary = TEXT.PRIMARY;
|
|
118
|
-
export const warningContrastText = WARNING.CONTRAST_TEXT;
|
|
119
|
-
export const warningLight = WARNING.LIGHT;
|
|
120
|
-
export const warningLightest = WARNING.LIGHTEST;
|
|
121
|
-
export const warningMain = WARNING.MAIN;
|
|
122
|
-
export const black = BLACK.DEFAULT;
|
|
123
|
-
export const white = WHITE.DEFAULT;
|
|
124
|
-
/**
|
|
125
|
-
* Color alpha constants
|
|
126
|
-
*/
|
|
127
|
-
export const alpha04 = ALPHA.A04;
|
|
128
|
-
export const alpha08 = ALPHA.A08;
|
|
129
|
-
export const alpha32 = ALPHA.A32;
|
|
130
|
-
export const alpha60 = ALPHA.A60;
|
|
131
|
-
export const alpha64 = ALPHA.A64;
|
|
132
|
-
export const alpha80 = ALPHA.A80;
|
|
133
|
-
/**
|
|
134
|
-
* Shades
|
|
135
|
-
*/
|
|
136
|
-
export const black04 = `${black}${alpha04}`;
|
|
137
|
-
export const black08 = `${black}${alpha08}`;
|
|
138
83
|
/**
|
|
139
84
|
* Palette Option "Alert"
|
|
140
85
|
*/
|
|
141
86
|
export const alert = {
|
|
142
|
-
light:
|
|
143
|
-
lightest:
|
|
144
|
-
main:
|
|
87
|
+
light: ALERT.LIGHT,
|
|
88
|
+
lightest: ALERT.LIGHTEST,
|
|
89
|
+
main: ALERT.MAIN,
|
|
145
90
|
};
|
|
146
91
|
/**
|
|
147
92
|
* Palette Option "Background"
|
|
148
93
|
*/
|
|
149
94
|
export const background = {
|
|
150
|
-
default:
|
|
95
|
+
default: BACKGROUND.DEFAULT,
|
|
151
96
|
};
|
|
152
97
|
/**
|
|
153
98
|
* Palette Option "Common"
|
|
154
99
|
*/
|
|
155
100
|
export const common = {
|
|
156
|
-
black:
|
|
157
|
-
white:
|
|
101
|
+
black: BLACK.DEFAULT,
|
|
102
|
+
white: WHITE.DEFAULT,
|
|
158
103
|
};
|
|
159
104
|
/**
|
|
160
105
|
* Palette Option "Info"
|
|
161
106
|
*/
|
|
162
107
|
export const info = {
|
|
163
|
-
contrastText:
|
|
164
|
-
light:
|
|
165
|
-
lightest:
|
|
166
|
-
main:
|
|
108
|
+
contrastText: INFO.CONTRAST_TEXT,
|
|
109
|
+
light: INFO.LIGHT,
|
|
110
|
+
lightest: INFO.LIGHTEST,
|
|
111
|
+
main: INFO.MAIN,
|
|
167
112
|
};
|
|
168
113
|
/**
|
|
169
114
|
* Palette Option "Ink"
|
|
170
115
|
*/
|
|
171
116
|
export const ink = {
|
|
172
|
-
light:
|
|
173
|
-
main:
|
|
117
|
+
light: INK.LIGHT,
|
|
118
|
+
main: INK.MAIN,
|
|
174
119
|
};
|
|
175
120
|
/**
|
|
176
121
|
* Palette Option "Primary"
|
|
177
122
|
*/
|
|
178
123
|
export const primary = {
|
|
179
|
-
dark:
|
|
180
|
-
lightest:
|
|
181
|
-
main:
|
|
124
|
+
dark: PRIMARY.DARK,
|
|
125
|
+
lightest: PRIMARY.LIGHTEST,
|
|
126
|
+
main: PRIMARY.MAIN,
|
|
182
127
|
};
|
|
183
128
|
/**
|
|
184
129
|
* Palette Option "Smoke"
|
|
185
130
|
*/
|
|
186
131
|
export const smoke = {
|
|
187
|
-
dark:
|
|
188
|
-
light:
|
|
189
|
-
lightest:
|
|
190
|
-
main:
|
|
132
|
+
dark: SMOKE.DARK,
|
|
133
|
+
light: SMOKE.LIGHT,
|
|
134
|
+
lightest: SMOKE.LIGHTEST,
|
|
135
|
+
main: SMOKE.MAIN,
|
|
191
136
|
};
|
|
192
137
|
/**
|
|
193
138
|
* Palette Option "Success"
|
|
194
139
|
*/
|
|
195
140
|
export const success = {
|
|
196
|
-
light:
|
|
197
|
-
lightest:
|
|
198
|
-
main:
|
|
141
|
+
light: SUCCESS.LIGHT,
|
|
142
|
+
lightest: SUCCESS.LIGHTEST,
|
|
143
|
+
main: SUCCESS.MAIN,
|
|
199
144
|
};
|
|
200
145
|
/**
|
|
201
146
|
* Palette Option "Text"
|
|
202
147
|
*/
|
|
203
148
|
export const text = {
|
|
204
|
-
primary:
|
|
149
|
+
primary: TEXT.PRIMARY,
|
|
205
150
|
};
|
|
206
151
|
/**
|
|
207
152
|
* Palette Option "Warning"
|
|
208
153
|
*/
|
|
209
154
|
export const warning = {
|
|
210
|
-
contrastText:
|
|
211
|
-
light:
|
|
212
|
-
lightest:
|
|
213
|
-
main:
|
|
155
|
+
contrastText: WARNING.CONTRAST_TEXT,
|
|
156
|
+
light: WARNING.LIGHT,
|
|
157
|
+
lightest: WARNING.LIGHTEST,
|
|
158
|
+
main: WARNING.MAIN,
|
|
214
159
|
};
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
E01 = "0 1px 4px 0 #00000012",
|
|
4
|
-
E02 = "0 8px 8px -4px #10182808, 0 20px 24px -4px #10182814"
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Stroke
|
|
8
|
-
*/
|
|
9
|
-
declare enum STROKE {
|
|
10
|
-
BOTTOM = "inset 0 -1px 0 0",
|
|
11
|
-
TOP = "inset 0 1px 0 0"
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Elevation constants
|
|
15
|
-
*/
|
|
16
|
-
export declare const elevation00 = ELEVATION.E00;
|
|
17
|
-
export declare const elevation01 = ELEVATION.E01;
|
|
18
|
-
export declare const elevation02 = ELEVATION.E02;
|
|
19
|
-
/**
|
|
20
|
-
* Shadows constants
|
|
21
|
-
*/
|
|
22
|
-
export declare const shadows: ELEVATION[];
|
|
23
|
-
/**
|
|
24
|
-
* Stroke constants
|
|
25
|
-
*/
|
|
26
|
-
export declare const strokeBottom = STROKE.BOTTOM;
|
|
27
|
-
export declare const strokeTop = STROKE.TOP;
|
|
28
|
-
export {};
|
|
1
|
+
import { Shadows } from "@mui/material";
|
|
2
|
+
export declare const shadows: Shadows;
|