Skip to content

Commit

Permalink
flag-icons 6.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Nov 7, 2023
1 parent c3f1dd7 commit b80c875
Show file tree
Hide file tree
Showing 17 changed files with 2,356 additions and 132 deletions.
2 changes: 1 addition & 1 deletion functions/enqueues.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function doliconnect_enqueues() {
//wp_enqueue_script( 'doliconnect-dolicart' );
wp_register_style( 'bootstrap-social', plugins_url( 'doliconnect/includes/custom/css/bootstrap-social.css' ), array(), $version );
wp_enqueue_style( 'bootstrap-social');
wp_register_style( 'flag-icons', plugins_url( 'doliconnect/includes/flag-icons/css/flag-icons.css' ), array(), '6.12.0' );
wp_register_style( 'flag-icons', plugins_url( 'doliconnect/includes/flag-icons/css/flag-icons.css' ), array(), '6.14.0' );
wp_enqueue_style( 'flag-icons');
}

Expand Down
13 changes: 13 additions & 0 deletions includes/flag-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 6.14.0

- Build with SASS instead of Less the generated CSS (#1172)

# 6.13.2

- Fix paths for sh-ta
- Action for pubishing to npm

# 6.13.0

- Saint Helena, Ascension and Tristan da Cunha updates (#1169)

# 6.12.0

- Add flag for Pacific Community (#1165)
Expand Down
6 changes: 3 additions & 3 deletions includes/flag-icons/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ or use CDN:
```html
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/lipis/flag-icons@6.11.0/css/flag-icons.min.css"
href="https://cdn.jsdelivr.net/gh/lipis/flag-icons@6.14.0/css/flag-icons.min.css"
/>
```

Expand All @@ -49,7 +49,7 @@ Which means that the flag is just going to appear in the middle of an element, s

Run the `yarn` to install the dependencies after cloning the project and you'll be able to:

To build `*.less` files
To build `*.scss` files

```bash
$ yarn build
Expand All @@ -61,7 +61,7 @@ To serve it on `localhost:8000`
$ yarn start
```

To have only specific countries in the css file, remove the ones that you don't need from the [`flag-icons-list.less`](less/flag-icons-list.less) file and build it again.
To have only specific countries in the css file, remove the ones that you don't need from the [`_flag-icons-list.scss`](sass/_flag-icons-list.scss) file and build it again.

## Credits

Expand Down
23 changes: 17 additions & 6 deletions includes/flag-icons/country.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@
},
{
"capital": "Georgetown",
"code": "ac",
"code": "sh-ac",
"continent": "Africa",
"flag_1x1": "flags/1x1/ac.svg",
"flag_4x3": "flags/4x3/ac.svg",
"flag_1x1": "flags/1x1/sh-ac.svg",
"flag_4x3": "flags/4x3/sh-ac.svg",
"iso": false,
"name": "Ascension Island"
},
Expand Down Expand Up @@ -1762,6 +1762,15 @@
"iso": true,
"name": "Saint Barthélemy"
},
{
"capital": "Jamestown",
"code": "sh-hl",
"continent": "Africa",
"flag_1x1": "flags/1x1/sh-hl.svg",
"flag_4x3": "flags/4x3/sh-hl.svg",
"iso": false,
"name": "Saint Helena"
},
{
"capital": "Jamestown",
"code": "sh",
Expand Down Expand Up @@ -2150,9 +2159,11 @@
"name": "Trinidad and Tobago"
},
{
"code": "ta",
"flag_1x1": "flags/1x1/ta.svg",
"flag_4x3": "flags/4x3/ta.svg",
"capital": "Edinburgh of the Seven Seas",
"code": "sh-ta",
"continent": "Africa",
"flag_1x1": "flags/1x1/sh-ta.svg",
"flag_4x3": "flags/4x3/sh-ta.svg",
"iso": false,
"name": "Tristan da Cunha"
},
Expand Down
Loading

0 comments on commit b80c875

Please sign in to comment.