@pine-ds/icons 2.0.2 → 2.1.0
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/cheatsheet.html +20 -4
- package/dist/collection/components/pds-icon/pds-icon.js.map +1 -1
- package/dist/collection/components/pds-icon/request.js.map +1 -1
- package/dist/collection/components/pds-icon/svg/blog-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/flash-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/flash.svg +1 -0
- package/dist/collection/components/pds-icon/svg/form-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/mail-filled.svg +1 -0
- package/dist/collection/components/pds-icon/svg/map.svg +1 -0
- package/dist/collection/components/pds-icon/svg/publish.svg +1 -0
- package/dist/collection/components/pds-icon/svg/wrench.svg +1 -0
- package/dist/collection/components/pds-icon/test/pds-icon.e2e.js.map +1 -1
- package/dist/collection/components/pds-icon/test/pds-icon.spec.js.map +1 -1
- package/dist/collection/components/pds-icon/utils.js.map +1 -1
- package/dist/collection/components/pds-icon/validate.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/docs.json +1 -1
- package/dist/pds-icons.json +61 -1
- package/dist/pds-icons.symbols.svg +9 -1
- package/dist/svg/blog-filled.svg +1 -0
- package/dist/svg/flash-filled.svg +1 -0
- package/dist/svg/flash.svg +1 -0
- package/dist/svg/form-filled.svg +1 -0
- package/dist/svg/mail-filled.svg +1 -0
- package/dist/svg/map.svg +1 -0
- package/dist/svg/publish.svg +1 -0
- package/dist/svg/wrench.svg +1 -0
- package/icons/index.d.ts +9 -1
- package/icons/index.js +9 -1
- package/icons/index.mjs +9 -1
- package/icons/package.json +1 -1
- package/package.json +1 -1
- package/dist/scripts/collection-copy.js +0 -28
- package/dist/scripts/collection-copy.js.map +0 -1
- package/dist/scripts/figma_icons/figma-icon-export.js +0 -666
- package/dist/scripts/figma_icons/figma-icon-export.js.map +0 -1
- package/dist/scripts/figma_icons/types.js +0 -2
- package/dist/scripts/figma_icons/types.js.map +0 -1
- package/dist/scripts/helpers.js +0 -51
- package/dist/scripts/helpers.js.map +0 -1
- package/dist/scripts/optimize-svgs.js +0 -352
- package/dist/scripts/optimize-svgs.js.map +0 -1
- package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/collection-copy.d.ts +0 -1
- package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/figma_icons/figma-icon-export.d.ts +0 -1
- package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/figma_icons/types.d.ts +0 -112
- package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/helpers.d.ts +0 -55
- package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/optimize-svgs.d.ts +0 -7
package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/figma_icons/types.d.ts
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export interface FigmaIconConfig {
|
|
2
|
-
/**
|
|
3
|
-
* Branch that is located in the
|
|
4
|
-
* Figma file
|
|
5
|
-
* @example spike-branch
|
|
6
|
-
*/
|
|
7
|
-
branchName: string;
|
|
8
|
-
/**
|
|
9
|
-
* The Personal Acecss Token created
|
|
10
|
-
* from your Figma Account
|
|
11
|
-
* @see {@link https://www.figma.com/developers/api#intro:~:text=Access-,tokens,-A%20personal%20access|Figma API}
|
|
12
|
-
*/
|
|
13
|
-
figmaAccessToken: string;
|
|
14
|
-
/**
|
|
15
|
-
* File id
|
|
16
|
-
* can be located in the url
|
|
17
|
-
* @example
|
|
18
|
-
* ```
|
|
19
|
-
* https://www.figma.com/file/some-unique-id
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
figmaFileId: string;
|
|
23
|
-
/**
|
|
24
|
-
* Frames that will be ignored when
|
|
25
|
-
* extracting icons
|
|
26
|
-
* @example
|
|
27
|
-
* ```json
|
|
28
|
-
* ignoreFrames: 'Docs'
|
|
29
|
-
* ```
|
|
30
|
-
* or
|
|
31
|
-
* @example
|
|
32
|
-
* ```json
|
|
33
|
-
* ignoreFrames: ['Docs', 'Navigation']
|
|
34
|
-
*/
|
|
35
|
-
ignoreFrames: string[];
|
|
36
|
-
/**
|
|
37
|
-
* Path to save the downloaded SVGs
|
|
38
|
-
*/
|
|
39
|
-
downloadPath: string;
|
|
40
|
-
/**
|
|
41
|
-
* Page that contains the icons
|
|
42
|
-
*/
|
|
43
|
-
pageName: string;
|
|
44
|
-
}
|
|
45
|
-
export type FigmaIcon = {
|
|
46
|
-
/**
|
|
47
|
-
* The unique identifier in Figma
|
|
48
|
-
*/
|
|
49
|
-
id: string;
|
|
50
|
-
/**
|
|
51
|
-
* The name of the file stored on disk
|
|
52
|
-
*/
|
|
53
|
-
filename?: string;
|
|
54
|
-
/**
|
|
55
|
-
* The name of the file stored on disk
|
|
56
|
-
*/
|
|
57
|
-
filesize?: number;
|
|
58
|
-
/**
|
|
59
|
-
* The frame the icon is located inside
|
|
60
|
-
* of Figma
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
frame?: string;
|
|
64
|
-
/**
|
|
65
|
-
* Name of the component
|
|
66
|
-
*/
|
|
67
|
-
name: string;
|
|
68
|
-
/**
|
|
69
|
-
* Url to download the icon
|
|
70
|
-
*/
|
|
71
|
-
url?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Tags
|
|
74
|
-
*/
|
|
75
|
-
tags?: string;
|
|
76
|
-
};
|
|
77
|
-
export type IconFileDetail = {
|
|
78
|
-
/**
|
|
79
|
-
* The name of the svg file
|
|
80
|
-
*/
|
|
81
|
-
name: string;
|
|
82
|
-
/**
|
|
83
|
-
* The numeric size of the file in kB
|
|
84
|
-
*/
|
|
85
|
-
size: number;
|
|
86
|
-
};
|
|
87
|
-
export interface SvgDiffResult {
|
|
88
|
-
/**
|
|
89
|
-
* The name of the Previous file
|
|
90
|
-
*/
|
|
91
|
-
previousFileName?: string;
|
|
92
|
-
/**
|
|
93
|
-
* The name of the file
|
|
94
|
-
*/
|
|
95
|
-
filename: string;
|
|
96
|
-
/**
|
|
97
|
-
* Git status provided from SimpleGit
|
|
98
|
-
* Will be 'D', 'M', or ''.
|
|
99
|
-
* D: Deleted
|
|
100
|
-
* M: Modified
|
|
101
|
-
* '': Added
|
|
102
|
-
*/
|
|
103
|
-
status: string;
|
|
104
|
-
/**
|
|
105
|
-
* What the svg content looked like before it was modified or deleted
|
|
106
|
-
*/
|
|
107
|
-
before: string | null;
|
|
108
|
-
/**
|
|
109
|
-
* What the svg content looked like AFTER it was modified or deleted
|
|
110
|
-
*/
|
|
111
|
-
after: string | null;
|
|
112
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export interface SvgData {
|
|
2
|
-
/**
|
|
3
|
-
* /dist/svg/airplane-outline.svg
|
|
4
|
-
*/
|
|
5
|
-
distSvgFilePath: string;
|
|
6
|
-
/**
|
|
7
|
-
* airplaneOutline
|
|
8
|
-
*/
|
|
9
|
-
exportName: string;
|
|
10
|
-
/**
|
|
11
|
-
* airplane-outline.svg
|
|
12
|
-
*/
|
|
13
|
-
fileName: string;
|
|
14
|
-
/**
|
|
15
|
-
* airplane-outline.js
|
|
16
|
-
*/
|
|
17
|
-
fileNameCjs: string;
|
|
18
|
-
/**
|
|
19
|
-
* airplane-outline.mjs
|
|
20
|
-
*/
|
|
21
|
-
fileNameMjs: string;
|
|
22
|
-
/**
|
|
23
|
-
* airplane-outline
|
|
24
|
-
*/
|
|
25
|
-
iconName: string;
|
|
26
|
-
/**
|
|
27
|
-
* /dist/pds-icons/svg/airplane-outline.svg
|
|
28
|
-
*/
|
|
29
|
-
optimizedFilePath: string;
|
|
30
|
-
/**
|
|
31
|
-
* The path to the save the optimized SVG within the Repo
|
|
32
|
-
*/
|
|
33
|
-
optimizedLocalSvgFilePath: string;
|
|
34
|
-
/**
|
|
35
|
-
* Optimized svg content data generated from
|
|
36
|
-
* SVGO
|
|
37
|
-
*/
|
|
38
|
-
optimizedSvgContent: string;
|
|
39
|
-
/**
|
|
40
|
-
* /tmp/svg/airplane-outline.svg
|
|
41
|
-
*/
|
|
42
|
-
srcFilePath: string;
|
|
43
|
-
/**
|
|
44
|
-
* airplane
|
|
45
|
-
*/
|
|
46
|
-
title: string;
|
|
47
|
-
}
|
|
48
|
-
export interface JsonData {
|
|
49
|
-
icons: {
|
|
50
|
-
name: string;
|
|
51
|
-
tags?: string[];
|
|
52
|
-
}[];
|
|
53
|
-
version?: string;
|
|
54
|
-
}
|
|
55
|
-
export declare const reservedKeywords: Set<string>;
|
package/dist/types/Users/julian.skinner/kajabi/pine-icons/.stencil/scripts/optimize-svgs.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Builds the icons for distribution
|
|
3
|
-
*
|
|
4
|
-
* @param rootDir - The source directory
|
|
5
|
-
* @param optimizeeFiles - Flag to indicate if we have files to optimize in `tmp/svg` folder.
|
|
6
|
-
*/
|
|
7
|
-
export declare const run: (rootDir: string, optimizeFiles?: boolean) => Promise<void>;
|