@sparkvault/sdk-js 1.27.0 → 1.27.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/sparkvault.cjs.js +45 -32
- package/dist/sparkvault.cjs.js.map +1 -1
- package/dist/sparkvault.esm.js +45 -32
- package/dist/sparkvault.esm.js.map +1 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
package/dist/sparkvault.cjs.js
CHANGED
|
@@ -2726,7 +2726,7 @@ function getStyles(options) {
|
|
|
2726
2726
|
|
|
2727
2727
|
.sv-not-activated-badge-svg {
|
|
2728
2728
|
display: block;
|
|
2729
|
-
filter: drop-shadow(0
|
|
2729
|
+
filter: drop-shadow(0 8px 18px rgba(15, 23, 42, 0.08));
|
|
2730
2730
|
}
|
|
2731
2731
|
|
|
2732
2732
|
.sv-not-activated-title {
|
|
@@ -5053,41 +5053,54 @@ const ACTIVATION_URL = 'https://app.sparkvault.com/products/identity';
|
|
|
5053
5053
|
function createBadge() {
|
|
5054
5054
|
const badge = div('sv-not-activated-badge');
|
|
5055
5055
|
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
|
|
5056
|
-
svg.setAttribute('viewBox', '0 0
|
|
5056
|
+
svg.setAttribute('viewBox', '0 0 64 64');
|
|
5057
5057
|
svg.setAttribute('width', '72');
|
|
5058
5058
|
svg.setAttribute('height', '72');
|
|
5059
5059
|
svg.setAttribute('fill', 'none');
|
|
5060
|
+
svg.setAttribute('aria-hidden', 'true');
|
|
5060
5061
|
svg.classList.add('sv-not-activated-badge-svg');
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5062
|
+
const surface = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
|
|
5063
|
+
surface.setAttribute('cx', '32');
|
|
5064
|
+
surface.setAttribute('cy', '32');
|
|
5065
|
+
surface.setAttribute('r', '29.5');
|
|
5066
|
+
surface.setAttribute('fill', '#F8FAFC');
|
|
5067
|
+
surface.setAttribute('stroke', '#E2E8F0');
|
|
5068
|
+
surface.setAttribute('stroke-width', '1');
|
|
5069
|
+
svg.appendChild(surface);
|
|
5070
|
+
const panel = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
|
|
5071
|
+
panel.setAttribute('x', '18.5');
|
|
5072
|
+
panel.setAttribute('y', '18.5');
|
|
5073
|
+
panel.setAttribute('width', '27');
|
|
5074
|
+
panel.setAttribute('height', '27');
|
|
5075
|
+
panel.setAttribute('rx', '7');
|
|
5076
|
+
panel.setAttribute('fill', '#FFFFFF');
|
|
5077
|
+
panel.setAttribute('stroke', '#CBD5E1');
|
|
5078
|
+
panel.setAttribute('stroke-width', '1');
|
|
5079
|
+
svg.appendChild(panel);
|
|
5080
|
+
const createLine = (y, x2) => {
|
|
5081
|
+
const line = document.createElementNS('http://www.w3.org/2000/svg', 'path');
|
|
5082
|
+
line.setAttribute('d', `M24 ${y}H${x2}`);
|
|
5083
|
+
line.setAttribute('stroke', '#475569');
|
|
5084
|
+
line.setAttribute('stroke-width', '2');
|
|
5085
|
+
line.setAttribute('stroke-linecap', 'round');
|
|
5086
|
+
svg.appendChild(line);
|
|
5087
|
+
};
|
|
5088
|
+
createLine('26', '40');
|
|
5089
|
+
createLine('32', '40');
|
|
5090
|
+
createLine('38', '35');
|
|
5091
|
+
const createKnob = (cx, cy) => {
|
|
5092
|
+
const knob = document.createElementNS('http://www.w3.org/2000/svg', 'circle');
|
|
5093
|
+
knob.setAttribute('cx', cx);
|
|
5094
|
+
knob.setAttribute('cy', cy);
|
|
5095
|
+
knob.setAttribute('r', '2.5');
|
|
5096
|
+
knob.setAttribute('fill', '#4F46E5');
|
|
5097
|
+
knob.setAttribute('stroke', '#FFFFFF');
|
|
5098
|
+
knob.setAttribute('stroke-width', '1.5');
|
|
5099
|
+
svg.appendChild(knob);
|
|
5100
|
+
};
|
|
5101
|
+
createKnob('30', '26');
|
|
5102
|
+
createKnob('36', '32');
|
|
5103
|
+
createKnob('28', '38');
|
|
5091
5104
|
badge.appendChild(svg);
|
|
5092
5105
|
return badge;
|
|
5093
5106
|
}
|