File tree Expand file tree Collapse file tree 3 files changed +17
-5
lines changed
src/Shared/Components/Plugin Expand file tree Collapse file tree 3 files changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ const PluginCard = ({
23
23
24
24
return (
25
25
< div
26
- className = { `p-12 flexbox dc__gap-16 dc__tab-focus dc__visible-hover dc__visible-hover--parent ${ showCardBorder ? 'dc__border br-4 dc__hover-n50' : '' } ` }
26
+ className = { `p-12 flexbox dc__gap-16 dc__tab-focus plugin-card dc__visible-hover dc__visible-hover--parent ${ showCardBorder ? 'dc__border br-4 dc__hover-n50' : '' } ` }
27
27
role = "button"
28
28
tabIndex = { 0 }
29
29
onClick = { handleSelection }
@@ -61,7 +61,7 @@ const PluginCard = ({
61
61
< div className = "flexbox-col dc__gap-8" >
62
62
< div className = "flexbox-col dc__gap-4" >
63
63
< div className = "flexbox dc__gap-4" >
64
- < h4 className = "m-0 dc__truncate cn-9 fs-13 fw-6 lh-20" > { name } </ h4 >
64
+ < h4 className = "m-0 dc__truncate cn-9 fs-13 fw-6 lh-20 plugin-card__title " > { name } </ h4 >
65
65
{ ! isSelectable && (
66
66
< span className = "dc__truncate cn-7 fs-12 fw-4 lh-20" > ({ pluginVersion } )</ span >
67
67
) }
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { APIResponseHandler } from '../APIResponseHandler'
4
4
import PluginTagSelect from './PluginTagSelect'
5
5
import PluginList from './PluginList'
6
6
import { FilterChips } from '../FilterChips'
7
+ import PluginCardSkeletonList from './PluginCardSkeletonList'
7
8
import { SearchBar , useAsync } from '../../../Common'
8
9
import { getAvailablePluginTags , getPluginStoreData } from './service'
9
10
import {
@@ -16,7 +17,7 @@ import {
16
17
import { DEFAULT_PLUGIN_LIST_FILTERS } from './constants'
17
18
import { ReactComponent as ICCross } from '../../../Assets/Icon/ic-cross.svg'
18
19
import { ReactComponent as ICVisibility } from '../../../Assets/Icon/ic-visibility-on.svg'
19
- import PluginCardSkeletonList from './PluginCardSkeletonList '
20
+ import './pluginListContainer.scss '
20
21
21
22
const PluginListContainer = ( {
22
23
availableTags,
@@ -35,8 +36,8 @@ const PluginListContainer = ({
35
36
handleParentTotalCount,
36
37
parentFilters,
37
38
handleUpdateParentFilters,
38
- rootClassName,
39
- showCardBorder,
39
+ rootClassName = '' ,
40
+ showCardBorder = false ,
40
41
} : Readonly < PluginListContainerProps > ) => {
41
42
const { appId } = useParams < PluginListParamsType > ( )
42
43
Original file line number Diff line number Diff line change
1
+ .pre-build-plugin-list-container {
2
+ .plugin-card {
3
+ & :hover {
4
+ box-shadow : 0 0 4px 1px var (--N200 );
5
+
6
+ .plugin-card__title {
7
+ color : var (--B500 );
8
+ }
9
+ }
10
+ }
11
+ }
You can’t perform that action at this time.
0 commit comments