@sit-onyx/figma-utils 1.0.2 → 1.1.0-dev-20260310125656
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/dist/flags/parse.js +9 -0
- package/package.json +2 -2
package/dist/flags/parse.js
CHANGED
|
@@ -6,7 +6,16 @@ const UNKNOWN_COUNTRY_NAMES = {
|
|
|
6
6
|
"GB-ENG": "England",
|
|
7
7
|
"GB-SCT": "Scotland",
|
|
8
8
|
"GB-WLS": "Wales",
|
|
9
|
+
"GB-NIR": "Northern Ireland",
|
|
9
10
|
"US-HI": "Hawaii",
|
|
11
|
+
"ES-AR": "Aragon",
|
|
12
|
+
"ES-CE": "Ceuta",
|
|
13
|
+
"ES-GA": "Galicia",
|
|
14
|
+
"ES-IB": "Balearic Islands",
|
|
15
|
+
"ES-ML": "Melilla",
|
|
16
|
+
"ES-PV": "Basque Country",
|
|
17
|
+
"FR-20R": "Corsica",
|
|
18
|
+
"FR-BRE": "Brittany",
|
|
10
19
|
};
|
|
11
20
|
export const parseComponentsToFlags = (options) => {
|
|
12
21
|
const pageComponents = options.components.filter(({ containing_frame }) => containing_frame.pageId === options.pageId);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sit-onyx/figma-utils",
|
|
3
3
|
"description": "Utility functions and CLI for importing data from the Figma API into different formats (e.g. CSS, SCSS etc.)",
|
|
4
|
-
"version": "1.0
|
|
4
|
+
"version": "1.1.0-dev-20260310125656",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Schwarz IT KG",
|
|
7
7
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"commander": "^14.0.3"
|
|
35
35
|
},
|
|
36
36
|
"optionalDependencies": {
|
|
37
|
-
"svgo": "^4.0.
|
|
37
|
+
"svgo": "^4.0.1"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "pnpm run '/type-check|build-only/'",
|