@sparkvault/sdk-js 16.1.0 → 16.1.1

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.cjs CHANGED
@@ -4401,7 +4401,10 @@ class LoadingView {
4401
4401
  *
4402
4402
  * Bare outline glyphs per the SparkVault design system: stroke `currentColor`
4403
4403
  * so the stylesheet drives color, no tinted container backgrounds, round
4404
- * caps/joins. Uses proper DOM element creation for security.
4404
+ * caps/joins. The sign-in providers' marks are the one exception: each is its
4405
+ * owner's filled logo, in the owner's colors, or in `currentColor` where the
4406
+ * owner's mark is one-color (Apple, GitHub). Uses proper DOM element creation
4407
+ * for security.
4405
4408
  */
4406
4409
  function createSvgElement(viewBox, width = 16, height = 16) {
4407
4410
  const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
@@ -4671,9 +4674,10 @@ function createGithubIcon() {
4671
4674
  svg.appendChild(createPath('M10 0C4.48 0 0 4.48 0 10c0 4.42 2.86 8.17 6.84 9.49.5.09.68-.22.68-.48 0-.24-.01-1.02-.01-1.86-2.51.46-3.16-.61-3.36-1.18-.11-.29-.6-1.18-1.02-1.41-.35-.19-.85-.65-.01-.66.79-.01 1.35.72 1.54 1.02.9 1.51 2.34 1.09 2.91.83.09-.65.35-1.09.64-1.34-2.22-.25-4.55-1.11-4.55-4.94 0-1.09.39-1.99 1.02-2.69-.1-.25-.45-1.27.1-2.65 0 0 .84-.27 2.75 1.02.8-.22 1.65-.33 2.5-.33s1.7.11 2.5.33c1.91-1.3 2.75-1.02 2.75-1.02.55 1.38.2 2.4.1 2.65.64.7 1.02 1.59 1.02 2.69 0 3.84-2.34 4.69-4.57 4.94.36.31.67.91.67 1.85 0 1.34-.01 2.41-.01 2.75 0 .27.18.58.69.48C17.14 18.16 20 14.42 20 10c0-5.52-4.48-10-10-10z'));
4672
4675
  return svg;
4673
4676
  }
4677
+ /** Facebook's mark and blue as Simple Icons (CC0-1.0) draws them, in its own 24-unit box. */
4674
4678
  function createFacebookIcon() {
4675
- const svg = createSvgElement('0 0 20 20', 20, 20);
4676
- svg.appendChild(createPath('M20 10.06c0-5.52-4.48-10-10-10S0 4.53 0 10.06c0 4.99 3.66 9.13 8.44 9.88v-6.99H5.9v-2.89h2.54V7.85c0-2.51 1.49-3.89 3.78-3.89 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56v1.88h2.77l-.44 2.89h-2.33v6.99c4.78-.75 8.44-4.89 8.44-9.88z', { fill: '#1877F2' }));
4679
+ const svg = createSvgElement('0 0 24 24', 20, 20);
4680
+ svg.appendChild(createPath('M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z', { fill: '#0866FF' }));
4677
4681
  return svg;
4678
4682
  }
4679
4683
  function createLinkedinIcon() {
@@ -29454,7 +29458,7 @@ class SparkVault {
29454
29458
  }
29455
29459
  /** Get the SDK version */
29456
29460
  static get version() {
29457
- return '16.1.0';
29461
+ return '16.1.1';
29458
29462
  }
29459
29463
  }
29460
29464
  if (typeof window !== 'undefined') {