Skip to content

Commit

Permalink
fix: Add Icons in Aquarium (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabyzif authored Sep 10, 2024
1 parent 74a43d0 commit d554ed5
Show file tree
Hide file tree
Showing 16 changed files with 143 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_act_lt_delete.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_act_lt_dropdown-close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_act_lt_dropdown-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_annotation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_cohort.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_funnel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_privileges.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_refresh-frequency.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_info_lt_text-widget.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_pm_lt_account.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_pm_lt_dashboard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_pm_lt_journey-analysis.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/assets/svg/mp_pm_lt_organization.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions src/components/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,19 @@ import ActiveIcon from 'src/assets/svg/mp_info_lt_active.svg?react'
import LinkIcon from 'src/assets/svg/mp_info_link.svg?react'
import InfoIcon from 'src/assets/svg/mp_info_lt_info.svg?react'
import Placeholder from 'src/assets/svg/mp_info_lt_placeholder.svg?react'
import Organization from 'src/assets/svg/mp_pm_lt_organization.svg?react'
import JourneyAnalysis from 'src/assets/svg/mp_pm_lt_journey-analysis.svg?react'
import Dashboard from 'src/assets/svg/mp_pm_lt_dashboard.svg?react'
import Account from 'src/assets/svg/mp_pm_lt_account.svg?react'
import TextWidget from 'src/assets/svg/mp_info_lt_text-widget.svg?react'
import RefreshFrequency from 'src/assets/svg/mp_info_lt_refresh-frequency.svg?react'
import Privileges from 'src/assets/svg/mp_info_lt_privileges.svg?react'
import Funnel from 'src/assets/svg/mp_info_lt_funnel.svg?react'
import Cohort from 'src/assets/svg/mp_info_lt_cohort.svg?react'
import Annotation from 'src/assets/svg/mp_info_lt_annotation.svg?react'
import Delete from 'src/assets/svg/mp_act_lt_delete.svg?react'
import DropdownClose from 'src/assets/svg/mp_act_lt_dropdown-close.svg?react'
import DropdownOpen from 'src/assets/svg/mp_act_lt_dropdown-open.svg?react'

export {
AddIcon,
Expand Down Expand Up @@ -136,4 +149,17 @@ export {
ActiveIcon,
InfoIcon,
Placeholder,
Organization,
JourneyAnalysis,
Dashboard,
Account,
TextWidget,
RefreshFrequency,
Privileges,
Funnel,
Cohort,
Annotation,
Delete,
DropdownClose,
DropdownOpen,
}
65 changes: 65 additions & 0 deletions src/constants/Icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,19 @@ import {
LinkIcon,
InfoIcon,
Placeholder,
Organization,
JourneyAnalysis,
Dashboard,
Account,
TextWidget,
RefreshFrequency,
Privileges,
Funnel,
Cohort,
Annotation,
Delete,
DropdownOpen,
DropdownClose,
} from 'src/components/icons'

export const Icons: Record<IconNames, IconOptions> = {
Expand Down Expand Up @@ -435,4 +448,56 @@ export const Icons: Record<IconNames, IconOptions> = {
light: Placeholder,
default: 'light',
},
organization: {
light: Organization,
default: 'light',
},
journeyAnalysis: {
light: JourneyAnalysis,
default: 'light',
},
dashboard: {
light: Dashboard,
default: 'light',
},
account: {
light: Account,
default: 'light',
},
textWidget: {
light: TextWidget,
default: 'light',
},
refreshFrequency: {
light: RefreshFrequency,
default: 'light',
},
privileges: {
light: Privileges,
default: 'light',
},
funnel: {
light: Funnel,
default: 'light',
},
cohort: {
light: Cohort,
default: 'light',
},
annotation: {
light: Annotation,
default: 'light',
},
delete: {
light: Delete,
default: 'light',
},
dropdownClose: {
light: DropdownClose,
default: 'light',
},
dropdownOpen: {
light: DropdownOpen,
default: 'light',
},
} as const
13 changes: 13 additions & 0 deletions src/types/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,16 @@ export type IconNames =
| 'link'
| 'info'
| 'placeholder'
| 'organization'
| 'journeyAnalysis'
| 'dashboard'
| 'account'
| 'textWidget'
| 'refreshFrequency'
| 'privileges'
| 'funnel'
| 'cohort'
| 'annotation'
| 'delete'
| 'dropdownClose'
| 'dropdownOpen'

0 comments on commit d554ed5

Please sign in to comment.