@outbook/webcomponents-clip-flag 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -13,14 +13,14 @@ npm install @outbook/webcomponents-clip-flag
13
13
  ### As a Lit Element
14
14
 
15
15
  ```javascript
16
- import { html } from 'lit';
17
- import { ClipFlag } from '@outbook/webcomponents-clip-flag';
16
+ import {html} from 'lit';
17
+ import {ClipFlag} from '@outbook/webcomponents-clip-flag';
18
18
 
19
19
  function render() {
20
20
  return html`
21
21
  ${ClipFlag({
22
- code: 'es'
23
- })}
22
+ code: 'es'
23
+ })}
24
24
  `;
25
25
  }
26
26
  ```
@@ -1,10 +1,5 @@
1
1
  import { svg } from 'lit';
2
2
 
3
- const vn = svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333">
4
- <path fill="#d80027" d="M196.641 85.337H0v341.326h512V85.337z"/>
5
- <path fill="#ffda44" d="m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"/>
6
- </svg>`;
7
-
8
3
  export const flags = {
9
4
  es: svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 22.5 15">
10
5
  <path fill="#d03433" d="M0 0h22.5v4H0zm0 11h22.5v4H0z"/>
@@ -21,6 +16,8 @@ export const flags = {
21
16
  <path d="M311.7 230 513 341.3v-31.5L369.3 230zm-168 0L0 309.9v31.5L200.3 230zm56.6-118.7L0 0v31.5l143.7 79.8zm168 0L513 31.5V0L311.7 111.3z"/>
22
17
  </g>
23
18
  </svg>`,
24
- vi: vn,
25
- vn
26
- };
19
+ vn: svg`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 85.333 512 341.333">
20
+ <path fill="#d80027" d="M196.641 85.337H0v341.326h512V85.337z"/>
21
+ <path fill="#ffda44" d="m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"/>
22
+ </svg>`
23
+ };
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
1
  {
2
2
  "name": "@outbook/webcomponents-clip-flag",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "main": "clip-flag.js",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "scripts": {},
8
8
  "bugs": {
9
- "url": "https://gitlab.com/arr2019/web-components/issues"
9
+ "url": "https://gitlab.com/arr2019/outbook-toolkit/issues"
10
10
  },
11
- "homepage": "https://gitlab.com/arr2019/web-components/pkg/clip-flag#readme",
11
+ "homepage": "https://gitlab.com/arr2019/outbook-toolkit/pkg/web-components/clip-flag#readme",
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://gitlab.com/arr2019/web-components.git",
15
- "folder": "pkg/clip-flag"
14
+ "url": "git+https://gitlab.com/arr2019/outbook-toolkit.git",
15
+ "folder": "pkg/web-components/clip-flag"
16
16
  },
17
17
  "publishConfig": {
18
- "registry": "https://registry.npmjs.org/"
18
+ "registry": "https://registry.npmjs.com/"
19
19
  },
20
20
  "author": "Antonio Rodríguez",
21
21
  "license": "Apache-2.0",
22
22
  "description": "Web components clip-flag",
23
23
  "devDependencies": {
24
- "@outbook/colorful": ">=1.1.2",
25
- "@outbook/design-decisions": ">=1.1.4"
24
+ "@outbook/colorful": ">=1.1.4",
25
+ "@outbook/design-decisions": ">=1.1.7"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "sass": "^1.97.2",