Skip to content

Commit

Permalink
Merge pull request #214 from citizennet/AS-2079/add-ad-set-campaign-i…
Browse files Browse the repository at this point in the history
…cons

AS-2079 Add Ad Set and Campaign Icons
  • Loading branch information
boygao1992 authored Jan 25, 2022
2 parents 9d668ce + df52a59 commit 2e2924d
Show file tree
Hide file tree
Showing 22 changed files with 72 additions and 13 deletions.
12 changes: 8 additions & 4 deletions css/src/icons.css

Large diffs are not rendered by default.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 10 additions & 0 deletions css/svg/12-util-adset.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions css/svg/13-util-campaign.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions dist/cn-tailwind.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cn-tailwind.min.css

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions dist/cn-tailwind.scoped.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/cn-tailwind.scoped.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "purescript-ocelot",
"version": "0.33.0",
"version": "0.33.1",
"private": true,
"scripts": {
"build-all": "make build",
Expand Down
12 changes: 12 additions & 0 deletions src/Blocks/Icon.purs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ icon className iprops =
[]
]

adSet :: p i. Array (HH.IProp HTMLspan i) -> HH.HTML p i
adSet = icon "icon-adset"

adSet_ :: p i. HH.HTML p i
adSet_ = adSet []

add :: p i. Array (HH.IProp HTMLspan i) -> HH.HTML p i
add = icon "icon-add"

Expand Down Expand Up @@ -74,6 +80,12 @@ back = icon "icon-back"
back_ :: p i. HH.HTML p i
back_ = back []

campaign :: p i. Array (HH.IProp HTMLspan i) -> HH.HTML p i
campaign = icon "icon-campaign"

campaign_ :: p i. HH.HTML p i
campaign_ = campaign []

caratDown :: p i. Array (HH.IProp HTMLspan i) -> HH.HTML p i
caratDown = icon "icon-carat-down"

Expand Down
2 changes: 2 additions & 0 deletions ui-guide/Components/Icons.purs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ component =
, Tuple "Navigate" Icon.navigate_
, Tuple "Data Sources" Icon.dataSources_
, Tuple "Demographics" Icon.demographics_
, Tuple "Ad Set" Icon.adSet_
, Tuple "Campaign" Icon.campaign_
]
)
]
Expand Down

0 comments on commit 2e2924d

Please sign in to comment.