@cypress-design/icon-registry 1.0.0 → 1.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/compileIcon.d.ts +1 -1
- package/dist/icons.d.ts +41 -3
- package/dist/icons.d.ts.map +1 -1
- package/dist/index.es.mjs +29 -3
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +30 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -10,6 +10,22 @@
|
|
|
10
10
|
*/
|
|
11
11
|
const ICON_COLOR_PROP_NAMES = ["focusWithinFillColor", "focus-within-fill-color", "focusWithinStrokeColor", "focus-within-stroke-color", "focusWithinSecondaryFillColor", "focus-within-secondary-fill-color", "focusWithinSecondaryStrokeColor", "focus-within-secondary-stroke-color", "hoverFillColor", "hover-fill-color", "hoverStrokeColor", "hover-stroke-color", "hoverSecondaryFillColor", "hover-secondary-fill-color", "hoverSecondaryStrokeColor", "hover-secondary-stroke-color", "focusFillColor", "focus-fill-color", "focusStrokeColor", "focus-stroke-color", "focusSecondaryFillColor", "focus-secondary-fill-color", "focusSecondaryStrokeColor", "focus-secondary-stroke-color", "hocusFillColor", "hocus-fill-color", "hocusStrokeColor", "hocus-stroke-color", "hocusSecondaryFillColor", "hocus-secondary-fill-color", "hocusSecondaryStrokeColor", "hocus-secondary-stroke-color", "fillColor", "fill-color", "strokeColor", "stroke-color", "secondaryFillColor", "secondary-fill-color", "secondaryStrokeColor", "secondary-stroke-color"];
|
|
12
12
|
const iconsMetadata = {
|
|
13
|
+
'action-add-circle-large': {
|
|
14
|
+
availableSizes: ['16'],
|
|
15
|
+
hasStrokeColor: ["16"],
|
|
16
|
+
hasFillColor: ["16"],
|
|
17
|
+
hasSecondaryStrokeColor: false,
|
|
18
|
+
hasSecondaryFillColor: false,
|
|
19
|
+
defs: {}
|
|
20
|
+
},
|
|
21
|
+
'action-add-circle-small': {
|
|
22
|
+
availableSizes: ['16'],
|
|
23
|
+
hasStrokeColor: ["16"],
|
|
24
|
+
hasFillColor: ["16"],
|
|
25
|
+
hasSecondaryStrokeColor: false,
|
|
26
|
+
hasSecondaryFillColor: false,
|
|
27
|
+
defs: {}
|
|
28
|
+
},
|
|
13
29
|
'action-add-large': {
|
|
14
30
|
availableSizes: ['16'],
|
|
15
31
|
hasStrokeColor: ["16"],
|
|
@@ -1987,6 +2003,14 @@
|
|
|
1987
2003
|
defs: {}
|
|
1988
2004
|
}
|
|
1989
2005
|
};
|
|
2006
|
+
const cyActionAddCircleLargeX16 = {
|
|
2007
|
+
name: 'actionAddCircleLargeX16',
|
|
2008
|
+
data: `<circle cx="8" cy="8" r="8" fill="currentColor" class="icon-light"/><path d="M4 8h8M8 4v8" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"/>`,
|
|
2009
|
+
};
|
|
2010
|
+
const cyActionAddCircleSmallX16 = {
|
|
2011
|
+
name: 'actionAddCircleSmallX16',
|
|
2012
|
+
data: `<circle cx="8" cy="8" r="7" fill="currentColor" class="icon-light"/><path d="M5 8h6M8 5v6" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"/>`,
|
|
2013
|
+
};
|
|
1990
2014
|
const cyActionAddLargeX16 = {
|
|
1991
2015
|
name: 'actionAddLargeX16',
|
|
1992
2016
|
data: `<path d="M2 8h6m6 0H8m0 0V2m0 6v6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"/>`,
|
|
@@ -2121,7 +2145,7 @@
|
|
|
2121
2145
|
};
|
|
2122
2146
|
const cyActionTestReplayX16 = {
|
|
2123
2147
|
name: 'actionTestReplayX16',
|
|
2124
|
-
data: `<path fill
|
|
2148
|
+
data: `<path d="M7 10.25v-4.5L10.5 8 7 10.25Z" fill="currentColor" class="icon-dark"/><path d="M3.101 13A7 7 0 1 0 1 8h2m4-2.25v4.5L10.5 8 7 5.75Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"/>`,
|
|
2125
2149
|
};
|
|
2126
2150
|
const cyArrowBottomRightX16 = {
|
|
2127
2151
|
name: 'arrowBottomRightX16',
|
|
@@ -3383,7 +3407,9 @@
|
|
|
3383
3407
|
name: 'windowCodeEditorX24',
|
|
3384
3408
|
data: `<path fill-rule="evenodd" clip-rule="evenodd" class="icon-light" d="M21 6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2h18V6Z" fill="#D0D2E0"/><path d="M3 8v10a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V8M3 8V6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v2M3 8h18m-7 4 2 2-2 2m-4-4-2 1.929 2 1.928" stroke="currentColor" class="icon-dark" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>`,
|
|
3385
3409
|
};
|
|
3386
|
-
const iconSet = [
|
|
3410
|
+
const iconSet = [cyActionAddCircleLargeX16,
|
|
3411
|
+
cyActionAddCircleSmallX16,
|
|
3412
|
+
cyActionAddLargeX16,
|
|
3387
3413
|
cyActionAddMediumX16,
|
|
3388
3414
|
cyActionAddSmallX16,
|
|
3389
3415
|
cyActionAddXsmallX16,
|
|
@@ -4847,6 +4873,8 @@
|
|
|
4847
4873
|
|
|
4848
4874
|
exports.ICON_COLOR_PROP_NAMES = ICON_COLOR_PROP_NAMES;
|
|
4849
4875
|
exports.compileIcon = compileIcon;
|
|
4876
|
+
exports.cyActionAddCircleLargeX16 = cyActionAddCircleLargeX16;
|
|
4877
|
+
exports.cyActionAddCircleSmallX16 = cyActionAddCircleSmallX16;
|
|
4850
4878
|
exports.cyActionAddLargeX16 = cyActionAddLargeX16;
|
|
4851
4879
|
exports.cyActionAddMediumX16 = cyActionAddMediumX16;
|
|
4852
4880
|
exports.cyActionAddSmallX16 = cyActionAddSmallX16;
|