@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 +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/products/identity/views/icons.d.ts +4 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4397,7 +4397,10 @@ class LoadingView {
|
|
|
4397
4397
|
*
|
|
4398
4398
|
* Bare outline glyphs per the SparkVault design system: stroke `currentColor`
|
|
4399
4399
|
* so the stylesheet drives color, no tinted container backgrounds, round
|
|
4400
|
-
* caps/joins.
|
|
4400
|
+
* caps/joins. The sign-in providers' marks are the one exception: each is its
|
|
4401
|
+
* owner's filled logo, in the owner's colors, or in `currentColor` where the
|
|
4402
|
+
* owner's mark is one-color (Apple, GitHub). Uses proper DOM element creation
|
|
4403
|
+
* for security.
|
|
4401
4404
|
*/
|
|
4402
4405
|
function createSvgElement(viewBox, width = 16, height = 16) {
|
|
4403
4406
|
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
@@ -4667,9 +4670,10 @@ function createGithubIcon() {
|
|
|
4667
4670
|
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'));
|
|
4668
4671
|
return svg;
|
|
4669
4672
|
}
|
|
4673
|
+
/** Facebook's mark and blue as Simple Icons (CC0-1.0) draws them, in its own 24-unit box. */
|
|
4670
4674
|
function createFacebookIcon() {
|
|
4671
|
-
const svg = createSvgElement('0 0
|
|
4672
|
-
svg.appendChild(createPath('
|
|
4675
|
+
const svg = createSvgElement('0 0 24 24', 20, 20);
|
|
4676
|
+
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' }));
|
|
4673
4677
|
return svg;
|
|
4674
4678
|
}
|
|
4675
4679
|
function createLinkedinIcon() {
|
|
@@ -29450,7 +29454,7 @@ class SparkVault {
|
|
|
29450
29454
|
}
|
|
29451
29455
|
/** Get the SDK version */
|
|
29452
29456
|
static get version() {
|
|
29453
|
-
return '16.1.
|
|
29457
|
+
return '16.1.1';
|
|
29454
29458
|
}
|
|
29455
29459
|
}
|
|
29456
29460
|
if (typeof window !== 'undefined') {
|