@cypress-design/icon-registry 0.42.1 → 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/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"],
@@ -1410,6 +1426,14 @@
1410
1426
  hasSecondaryFillColor: false,
1411
1427
  defs: {}
1412
1428
  },
1429
+ 'social-twitter-x-solid': {
1430
+ availableSizes: ['16'],
1431
+ hasStrokeColor: ["16"],
1432
+ hasFillColor: false,
1433
+ hasSecondaryStrokeColor: false,
1434
+ hasSecondaryFillColor: false,
1435
+ defs: {}
1436
+ },
1413
1437
  'social-youtube-solid': {
1414
1438
  availableSizes: ['16'],
1415
1439
  hasStrokeColor: ["16"],
@@ -1979,6 +2003,14 @@
1979
2003
  defs: {}
1980
2004
  }
1981
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
+ };
1982
2014
  const cyActionAddLargeX16 = {
1983
2015
  name: 'actionAddLargeX16',
1984
2016
  data: `<path d="M2 8h6m6 0H8m0 0V2m0 6v6" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon-dark"/>`,
@@ -2113,7 +2145,7 @@
2113
2145
  };
2114
2146
  const cyActionTestReplayX16 = {
2115
2147
  name: 'actionTestReplayX16',
2116
- data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M3.8 3.714A6 6 0 1 1 2.083 9h.918a1 1 0 0 0 0-2H1a1 1 0 0 0-1 1 8 8 0 1 0 2.401-5.714 1 1 0 1 0 1.4 1.428Zm3.366 7.509 3.898-2.599a.75.75 0 0 0 0-1.248L7.166 4.777A.75.75 0 0 0 6 5.401V10.6a.75.75 0 0 0 1.166.624Z" fill="currentColor" class="icon-dark"/>`,
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"/>`,
2117
2149
  };
2118
2150
  const cyArrowBottomRightX16 = {
2119
2151
  name: 'arrowBottomRightX16',
@@ -2883,6 +2915,10 @@
2883
2915
  name: 'socialTwitterSolidX16',
2884
2916
  data: `<path d="M14.355 4.741c.01.142.01.284.01.427 0 4.335-3.299 9.33-9.33 9.33A9.266 9.266 0 0 1 0 13.024c.264.03.518.041.792.041a6.567 6.567 0 0 0 4.07-1.401 3.285 3.285 0 0 1-3.065-2.274c.203.03.406.05.62.05.294 0 .588-.04.862-.111A3.28 3.28 0 0 1 .65 6.112v-.04c.437.243.945.395 1.483.415A3.277 3.277 0 0 1 .67 3.757c0-.61.162-1.168.447-1.655a9.32 9.32 0 0 0 6.761 3.431 3.702 3.702 0 0 1-.081-.751 3.278 3.278 0 0 1 3.28-3.28c.943 0 1.796.397 2.395 1.036a6.457 6.457 0 0 0 2.081-.792 3.27 3.27 0 0 1-1.441 1.807c.66-.07 1.3-.253 1.888-.507a7.048 7.048 0 0 1-1.645 1.695Z" fill="currentColor" class="icon-dark"/>`,
2885
2917
  };
2918
+ const cySocialTwitterXSolidX16 = {
2919
+ name: 'socialTwitterXSolidX16',
2920
+ data: `<path fill="currentColor" d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865z" class="icon-dark"/>`,
2921
+ };
2886
2922
  const cySocialYoutubeSolidX16 = {
2887
2923
  name: 'socialYoutubeSolidX16',
2888
2924
  data: `<path fill-rule="evenodd" clip-rule="evenodd" d="M14.25 2.575c.69.184 1.231.725 1.415 1.414C16 5.237 16 7.84 16 7.84s0 2.604-.335 3.852a2.004 2.004 0 0 1-1.414 1.414c-1.247.335-6.251.335-6.251.335s-5.004 0-6.25-.335a2.004 2.004 0 0 1-1.415-1.414C0 10.444 0 7.84 0 7.84s0-2.603.335-3.85a2.004 2.004 0 0 1 1.414-1.415C2.996 2.24 8 2.24 8 2.24s5.004 0 6.25.335ZM10.556 7.84l-4.157 2.4v-4.8l4.157 2.4Z" fill="currentColor" class="icon-dark"/>`,
@@ -3371,7 +3407,9 @@
3371
3407
  name: 'windowCodeEditorX24',
3372
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"/>`,
3373
3409
  };
3374
- const iconSet = [cyActionAddLargeX16,
3410
+ const iconSet = [cyActionAddCircleLargeX16,
3411
+ cyActionAddCircleSmallX16,
3412
+ cyActionAddLargeX16,
3375
3413
  cyActionAddMediumX16,
3376
3414
  cyActionAddSmallX16,
3377
3415
  cyActionAddXsmallX16,
@@ -3597,6 +3635,7 @@
3597
3635
  cySocialGithubSolidX16,
3598
3636
  cySocialLinkedinSolidX16,
3599
3637
  cySocialTwitterSolidX16,
3638
+ cySocialTwitterXSolidX16,
3600
3639
  cySocialYoutubeSolidX16,
3601
3640
  cyStatusCancelledOutlineX16,
3602
3641
  cyStatusCancelledOutlineX24,
@@ -4320,10 +4359,6 @@
4320
4359
  function arrayReduce(array, iteratee, accumulator, initAccum) {
4321
4360
  var index = -1,
4322
4361
  length = array == null ? 0 : array.length;
4323
-
4324
- if (initAccum && length) {
4325
- accumulator = array[++index];
4326
- }
4327
4362
  while (++index < length) {
4328
4363
  accumulator = iteratee(accumulator, array[index], index, array);
4329
4364
  }
@@ -4411,8 +4446,6 @@
4411
4446
  */
4412
4447
  var deburrLetter = basePropertyOf(deburredLetters);
4413
4448
 
4414
- var deburrLetter$1 = deburrLetter;
4415
-
4416
4449
  /** Used to match Latin Unicode letters (excluding mathematical operators). */
4417
4450
  var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
4418
4451
 
@@ -4451,7 +4484,7 @@
4451
4484
  */
4452
4485
  function deburr(string) {
4453
4486
  string = toString(string);
4454
- return string && string.replace(reLatin, deburrLetter$1).replace(reComboMark, '');
4487
+ return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');
4455
4488
  }
4456
4489
 
4457
4490
  /** Used to match words composed of alphanumeric characters. */
@@ -4571,7 +4604,7 @@
4571
4604
  */
4572
4605
  function words(string, pattern, guard) {
4573
4606
  string = toString(string);
4574
- pattern = guard ? undefined : pattern;
4607
+ pattern = pattern;
4575
4608
 
4576
4609
  if (pattern === undefined) {
4577
4610
  return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
@@ -4840,6 +4873,8 @@
4840
4873
 
4841
4874
  exports.ICON_COLOR_PROP_NAMES = ICON_COLOR_PROP_NAMES;
4842
4875
  exports.compileIcon = compileIcon;
4876
+ exports.cyActionAddCircleLargeX16 = cyActionAddCircleLargeX16;
4877
+ exports.cyActionAddCircleSmallX16 = cyActionAddCircleSmallX16;
4843
4878
  exports.cyActionAddLargeX16 = cyActionAddLargeX16;
4844
4879
  exports.cyActionAddMediumX16 = cyActionAddMediumX16;
4845
4880
  exports.cyActionAddSmallX16 = cyActionAddSmallX16;
@@ -5066,6 +5101,7 @@
5066
5101
  exports.cySocialGithubSolidX16 = cySocialGithubSolidX16;
5067
5102
  exports.cySocialLinkedinSolidX16 = cySocialLinkedinSolidX16;
5068
5103
  exports.cySocialTwitterSolidX16 = cySocialTwitterSolidX16;
5104
+ exports.cySocialTwitterXSolidX16 = cySocialTwitterXSolidX16;
5069
5105
  exports.cySocialYoutubeSolidX16 = cySocialYoutubeSolidX16;
5070
5106
  exports.cyStatusCancelledOutlineX16 = cyStatusCancelledOutlineX16;
5071
5107
  exports.cyStatusCancelledOutlineX24 = cyStatusCancelledOutlineX24;