@useinsider/guido 3.18.2-beta.9be830c → 3.18.2-beta.a39b494
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/@types/config/schemas.js +13 -15
- package/dist/components/Guido.vue.js +7 -7
- package/dist/components/Guido.vue2.js +2 -2
- package/dist/components/organisms/AutoSaveController.vue2.js +8 -10
- package/dist/components/organisms/header/AutoSaveToggle.vue.js +22 -0
- package/dist/components/organisms/header/AutoSaveToggle.vue2.js +19 -0
- package/dist/components/organisms/header/EditorActions.vue.js +13 -13
- package/dist/components/organisms/header/EditorActions.vue2.js +52 -36
- package/dist/components/organisms/header/HeaderWrapper.vue.js +6 -6
- package/dist/components/organisms/header/HeaderWrapper.vue2.js +17 -9
- package/dist/components/organisms/header/LeftSlot.vue.js +5 -5
- package/dist/components/organisms/header/LeftSlot.vue2.js +23 -28
- package/dist/components/organisms/header/MiddleSlot.vue.js +4 -4
- package/dist/components/organisms/header/MiddleSlot.vue2.js +7 -8
- package/dist/components/organisms/header/RightSlot.vue.js +8 -9
- package/dist/components/organisms/header/RightSlot.vue2.js +18 -13
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue.js +12 -12
- package/dist/components/organisms/onboarding/OnboardingWrapper.vue2.js +36 -54
- package/dist/composables/useCustomInterfaceAppearance.js +28 -31
- package/dist/config/i18n/en/labels.json.js +4 -36
- package/dist/config/i18n/en/tooltips.json.js +1 -2
- package/dist/guido.css +1 -1
- package/dist/node_modules/@vueuse/shared/index.js +28 -40
- package/dist/package.json.js +1 -1
- package/dist/sprite.svg +0 -6
- package/dist/src/@types/config/schemas.d.ts +0 -4
- package/dist/src/components/organisms/AutoSaveController.vue.d.ts +1 -3
- package/dist/src/components/organisms/header/HeaderWrapper.vue.d.ts +3 -1
- package/dist/src/components/organisms/header/RightSlot.vue.d.ts +3 -1
- package/dist/src/composables/useActionsApi.d.ts +2 -2
- package/dist/src/composables/useConfig.d.ts +0 -2
- package/dist/src/stores/config.d.ts +0 -18
- package/dist/src/stores/editor.d.ts +0 -107
- package/dist/src/stores/onboarding.d.ts +1 -552
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +0 -10
- package/dist/static/styles/variables.css.js +0 -2
- package/dist/stores/editor.js +4 -13
- package/dist/stores/onboarding.js +18 -39
- package/dist/utils/timeUtil.js +17 -7
- package/package.json +6 -6
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +0 -17
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +0 -27
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +0 -20
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +0 -48
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue.js +0 -18
- package/dist/components/organisms/header/accessibility/AccessibilityToolbar.vue2.js +0 -37
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue.js +0 -24
- package/dist/components/organisms/header/accessibility/ColorVisionSelect.vue2.js +0 -48
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue.js +0 -19
- package/dist/components/organisms/onboarding/EditorTabBarOnboarding.vue2.js +0 -82
- package/dist/composables/useAccessibilityApi.js +0 -35
- package/dist/node_modules/@vueuse/core/index.js +0 -102
- package/dist/src/components/organisms/header/EditorActionsMenu.vue.d.ts +0 -2
- package/dist/src/components/organisms/header/accessibility/AccessibilityToolbar.vue.d.ts +0 -2
- package/dist/src/components/organisms/header/accessibility/ColorVisionSelect.vue.d.ts +0 -2
- package/dist/src/components/organisms/onboarding/EditorTabBarOnboarding.vue.d.ts +0 -2
- package/dist/src/composables/useAccessibilityApi.d.ts +0 -15
- package/dist/static/styles/components/accessibility.css.js +0 -282
- /package/dist/src/components/organisms/header/{AutoSaveStatus.vue.d.ts → AutoSaveToggle.vue.d.ts} +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { useEditorStore as r } from "../stores/editor.js";
|
|
2
|
-
const A = () => {
|
|
3
|
-
const e = r(), i = () => window.StripoEditorApi.accessibilityApi, s = () => {
|
|
4
|
-
i().openAccessibilityTestingMode(), e.isAccessibilityTestingOpen = !0;
|
|
5
|
-
}, o = () => {
|
|
6
|
-
try {
|
|
7
|
-
i().closeAccessibilityTestingMode();
|
|
8
|
-
} finally {
|
|
9
|
-
e.isAccessibilityTestingOpen = !1, e.imagesHidden = !1, e.colorVisionDeficiency = "";
|
|
10
|
-
}
|
|
11
|
-
}, l = () => e.isAccessibilityTestingOpen ? o() : s(), g = () => i().isAccessibilityTestingModeOpen(), t = () => {
|
|
12
|
-
i().showImages(), e.imagesHidden = !1;
|
|
13
|
-
}, c = () => {
|
|
14
|
-
i().hideImages(), e.imagesHidden = !0;
|
|
15
|
-
};
|
|
16
|
-
return {
|
|
17
|
-
openAccessibilityTestingMode: s,
|
|
18
|
-
closeAccessibilityTestingMode: o,
|
|
19
|
-
toggleAccessibilityTestingMode: l,
|
|
20
|
-
isAccessibilityTestingModeOpen: g,
|
|
21
|
-
showImages: t,
|
|
22
|
-
hideImages: c,
|
|
23
|
-
toggleImages: () => e.imagesHidden ? t() : c(),
|
|
24
|
-
setColorVisionDeficiency: (n) => {
|
|
25
|
-
i().setColorVisionDeficiency(n), e.colorVisionDeficiency = n;
|
|
26
|
-
},
|
|
27
|
-
getColorVisionDeficiency: () => i().getColorVisionDeficiency(),
|
|
28
|
-
switchToDesktopPreview: () => i().switchToDesktopPreview(),
|
|
29
|
-
switchToMobilePreview: () => i().switchToMobilePreview(),
|
|
30
|
-
toggleCodeEditor: () => i().emitToggleCodeEditor()
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
export {
|
|
34
|
-
A as useAccessibilityApi
|
|
35
|
-
};
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { noop as b, isIOS as F, isClient as O, toValue as h, isObject as T, tryOnScopeDispose as C } from "../shared/index.js";
|
|
2
|
-
import { createFilterWrapper as x, debounceFilter as D, useDebounceFn as j } from "../shared/index.js";
|
|
3
|
-
import "../../vue-demi/lib/index.js";
|
|
4
|
-
import { watch as I } from "vue";
|
|
5
|
-
const P = O ? window : void 0;
|
|
6
|
-
function p(n) {
|
|
7
|
-
var i;
|
|
8
|
-
const o = h(n);
|
|
9
|
-
return (i = o == null ? void 0 : o.$el) != null ? i : o;
|
|
10
|
-
}
|
|
11
|
-
function k(...n) {
|
|
12
|
-
let i, o, r, d;
|
|
13
|
-
if (typeof n[0] == "string" || Array.isArray(n[0]) ? ([o, r, d] = n, i = P) : [i, o, r, d] = n, !i)
|
|
14
|
-
return b;
|
|
15
|
-
Array.isArray(o) || (o = [o]), Array.isArray(r) || (r = [r]);
|
|
16
|
-
const m = [], y = () => {
|
|
17
|
-
m.forEach((c) => c()), m.length = 0;
|
|
18
|
-
}, a = (c, l, u, f) => (c.addEventListener(l, u, f), () => c.removeEventListener(l, u, f)), E = I(
|
|
19
|
-
() => [p(i), h(d)],
|
|
20
|
-
([c, l]) => {
|
|
21
|
-
if (y(), !c)
|
|
22
|
-
return;
|
|
23
|
-
const u = T(l) ? { ...l } : l;
|
|
24
|
-
m.push(
|
|
25
|
-
...o.flatMap((f) => r.map((w) => a(c, f, w, u)))
|
|
26
|
-
);
|
|
27
|
-
},
|
|
28
|
-
{ immediate: !0, flush: "post" }
|
|
29
|
-
), A = () => {
|
|
30
|
-
E(), y();
|
|
31
|
-
};
|
|
32
|
-
return C(A), A;
|
|
33
|
-
}
|
|
34
|
-
let L = !1;
|
|
35
|
-
function $(n, i, o = {}) {
|
|
36
|
-
const { window: r = P, ignore: d = [], capture: m = !0, detectIframe: y = !1 } = o;
|
|
37
|
-
if (!r)
|
|
38
|
-
return b;
|
|
39
|
-
F && !L && (L = !0, Array.from(r.document.body.children).forEach((e) => e.addEventListener("click", b)), r.document.documentElement.addEventListener("click", b));
|
|
40
|
-
let a = !0;
|
|
41
|
-
const E = (e) => h(d).some((t) => {
|
|
42
|
-
if (typeof t == "string")
|
|
43
|
-
return Array.from(r.document.querySelectorAll(t)).some((s) => s === e.target || e.composedPath().includes(s));
|
|
44
|
-
{
|
|
45
|
-
const s = p(t);
|
|
46
|
-
return s && (e.target === s || e.composedPath().includes(s));
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
function A(e) {
|
|
50
|
-
const t = h(e);
|
|
51
|
-
return t && t.$.subTree.shapeFlag === 16;
|
|
52
|
-
}
|
|
53
|
-
function c(e, t) {
|
|
54
|
-
const s = h(e), v = s.$.subTree && s.$.subTree.children;
|
|
55
|
-
return v == null || !Array.isArray(v) ? !1 : v.some((g) => g.el === t.target || t.composedPath().includes(g.el));
|
|
56
|
-
}
|
|
57
|
-
const l = (e) => {
|
|
58
|
-
const t = p(n);
|
|
59
|
-
if (e.target != null && !(!(t instanceof Element) && A(n) && c(n, e)) && !(!t || t === e.target || e.composedPath().includes(t))) {
|
|
60
|
-
if (e.detail === 0 && (a = !E(e)), !a) {
|
|
61
|
-
a = !0;
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
i(e);
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
let u = !1;
|
|
68
|
-
const f = [
|
|
69
|
-
k(r, "click", (e) => {
|
|
70
|
-
u || (u = !0, setTimeout(() => {
|
|
71
|
-
u = !1;
|
|
72
|
-
}, 0), l(e));
|
|
73
|
-
}, { passive: !0, capture: m }),
|
|
74
|
-
k(r, "pointerdown", (e) => {
|
|
75
|
-
const t = p(n);
|
|
76
|
-
a = !E(e) && !!(t && !e.composedPath().includes(t));
|
|
77
|
-
}, { passive: !0 }),
|
|
78
|
-
y && k(r, "blur", (e) => {
|
|
79
|
-
setTimeout(() => {
|
|
80
|
-
var t;
|
|
81
|
-
const s = p(n);
|
|
82
|
-
((t = r.document.activeElement) == null ? void 0 : t.tagName) === "IFRAME" && !(s != null && s.contains(r.document.activeElement)) && i(e);
|
|
83
|
-
}, 0);
|
|
84
|
-
})
|
|
85
|
-
].filter(Boolean);
|
|
86
|
-
return () => f.forEach((e) => e());
|
|
87
|
-
}
|
|
88
|
-
export {
|
|
89
|
-
x as createFilterWrapper,
|
|
90
|
-
D as debounceFilter,
|
|
91
|
-
P as defaultWindow,
|
|
92
|
-
O as isClient,
|
|
93
|
-
F as isIOS,
|
|
94
|
-
T as isObject,
|
|
95
|
-
b as noop,
|
|
96
|
-
$ as onClickOutside,
|
|
97
|
-
h as toValue,
|
|
98
|
-
C as tryOnScopeDispose,
|
|
99
|
-
p as unrefElement,
|
|
100
|
-
j as useDebounceFn,
|
|
101
|
-
k as useEventListener
|
|
102
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ColorVisionDeficiency } from '@@/Types/api/accessibility-api';
|
|
2
|
-
export declare const useAccessibilityApi: () => {
|
|
3
|
-
openAccessibilityTestingMode: () => void;
|
|
4
|
-
closeAccessibilityTestingMode: () => void;
|
|
5
|
-
toggleAccessibilityTestingMode: () => void;
|
|
6
|
-
isAccessibilityTestingModeOpen: () => boolean;
|
|
7
|
-
showImages: () => void;
|
|
8
|
-
hideImages: () => void;
|
|
9
|
-
toggleImages: () => void;
|
|
10
|
-
setColorVisionDeficiency: (type: ColorVisionDeficiency) => void;
|
|
11
|
-
getColorVisionDeficiency: () => ColorVisionDeficiency;
|
|
12
|
-
switchToDesktopPreview: () => void;
|
|
13
|
-
switchToMobilePreview: () => void;
|
|
14
|
-
toggleCodeEditor: () => void;
|
|
15
|
-
};
|
|
@@ -1,282 +0,0 @@
|
|
|
1
|
-
const e = `/* Stripo Accessibility Checker panel (ue-accessibility-panel).
|
|
2
|
-
Stripo's defaults derive icon/button/outline colors from --ue-primary-color,
|
|
3
|
-
whose stock hue is green (129) — Figma DT-33912 wants Insider blue. */
|
|
4
|
-
|
|
5
|
-
/* Stripo sizes the panel to its content (max-height: 100%), so short tabs (Ignored, empty
|
|
6
|
-
states) end mid-page; the design keeps it full height in every state. */
|
|
7
|
-
ue-ui-simple-panel.accessibility-panel,
|
|
8
|
-
ue-accessibility-panel {
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* The refresh button only renders once results land; reserve its 50x50 slot so the
|
|
13
|
-
header keeps the same height and title width while the check is loading. */
|
|
14
|
-
ue-accessibility-panel .header-control-panel-right {
|
|
15
|
-
min-width: 50px;
|
|
16
|
-
min-height: 50px;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/* Failed / Passed / Ignored count chips. Stripo paints them as filled
|
|
20
|
-
red/green/blue pills via .accent.error / .accent.success. */
|
|
21
|
-
ue-accessibility-panel .tabs-header .accent {
|
|
22
|
-
min-width: 21px;
|
|
23
|
-
margin-left: 8px;
|
|
24
|
-
padding: 3px 5px;
|
|
25
|
-
border: 1px solid var(--guido-color-gray-300);
|
|
26
|
-
border-radius: 4px;
|
|
27
|
-
background-color: var(--guido-color-white);
|
|
28
|
-
color: var(--guido-color-gray-800);
|
|
29
|
-
font-size: 13px;
|
|
30
|
-
font-weight: 400;
|
|
31
|
-
line-height: 16px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
ue-accessibility-panel .tabs-header button.checked .accent {
|
|
35
|
-
border-color: var(--guido-color-primary-500);
|
|
36
|
-
color: var(--guido-color-primary-500);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Issue card */
|
|
40
|
-
ue-accessibility-panel .issue-card-surface {
|
|
41
|
-
border-radius: 8px;
|
|
42
|
-
outline: 1px solid var(--guido-color-gray-300);
|
|
43
|
-
outline-offset: -1px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
ue-accessibility-panel .issue-card-surface--active {
|
|
47
|
-
outline-color: var(--guido-color-primary-500);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
ue-accessibility-panel .issue-card-title {
|
|
51
|
-
color: var(--guido-color-gray-800);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/* Per-issue help "?" icon: 14x14 glyph centered in a 24x24 hit area. Stripo
|
|
55
|
-
renders the ue-icon svg at width/height 100%, so it fills the whole box —
|
|
56
|
-
pin the svg to 14px and center it. */
|
|
57
|
-
ue-accessibility-panel .issue-card-header-row .icon-help {
|
|
58
|
-
display: inline-flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
width: 24px;
|
|
62
|
-
height: 24px;
|
|
63
|
-
color: var(--guido-color-gray-600);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
ue-accessibility-panel .issue-card-header-row .icon-help svg {
|
|
67
|
-
width: 14px;
|
|
68
|
-
height: 14px;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* Severity icons: Critical (cross-circle), Serious (warning), Moderate (info) */
|
|
72
|
-
ue-accessibility-panel .issue-card-header-row ue-icon-component.danger {
|
|
73
|
-
color: var(--guido-color-danger-500);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
ue-accessibility-panel .issue-card-header-row ue-icon-component.warning {
|
|
77
|
-
color: var(--guido-color-warning-500);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
ue-accessibility-panel .issue-card-header-row ue-icon-component.info {
|
|
81
|
-
color: var(--guido-color-primary-500);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
/* Passed tab is read-only. Stripo already blocks pointer events on these controls but only
|
|
85
|
-
styles the alt-text input as disabled; give the selects and color inputs the same look. */
|
|
86
|
-
ue-accessibility-passed-tab input,
|
|
87
|
-
ue-accessibility-passed-tab ue-select .toggle-select-button {
|
|
88
|
-
opacity: 0.6;
|
|
89
|
-
cursor: not-allowed;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/* Contrast card rows (Figma 4522:11243): a 10px section inset holding 50px rows with 16px
|
|
93
|
-
side padding, so labels and swatches sit 26px in while the action buttons stay at 10px. */
|
|
94
|
-
ue-accessibility-panel .controls-separator-line:has(.fit-to-color) {
|
|
95
|
-
padding: 10px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/* Passed cards pin a 24px instance-count badge 8px off the bottom-right corner, where the
|
|
99
|
-
right-aligned ratio now ends; keep the last row clear of it. */
|
|
100
|
-
ue-accessibility-passed-tab .controls-separator-line:has(.fit-to-color) {
|
|
101
|
-
padding-bottom: 34px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
ue-accessibility-panel .controls-separator-line:has(.fit-to-color) .sub-container.two-columns {
|
|
105
|
-
box-sizing: border-box;
|
|
106
|
-
min-height: 50px;
|
|
107
|
-
padding: 5px 16px;
|
|
108
|
-
align-items: center;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/* Ratio value: Stripo left-aligns it in a swatch-wide box; the design ends it at the
|
|
112
|
-
swatches' right edge, behind a 16px glyph in a 24px icon box. */
|
|
113
|
-
ue-accessibility-panel .controls-list.fit-to-color {
|
|
114
|
-
justify-content: flex-end;
|
|
115
|
-
align-items: center;
|
|
116
|
-
gap: 0;
|
|
117
|
-
font-size: 13px;
|
|
118
|
-
line-height: 16px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
ue-accessibility-panel .controls-list.fit-to-color ue-icon-component {
|
|
122
|
-
align-items: center;
|
|
123
|
-
justify-content: center;
|
|
124
|
-
width: 24px;
|
|
125
|
-
height: 24px;
|
|
126
|
-
margin: 0;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
ue-accessibility-panel .controls-list.fit-to-color ue-icon-component svg {
|
|
130
|
-
width: 16px;
|
|
131
|
-
height: 16px;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
ue-accessibility-panel .controls-list.fit-to-color ue-icon-component.warning {
|
|
135
|
-
color: var(--guido-color-warning-500);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
/* Empty states (Figma 5122:17577, DS InNoData): the DS "no-personalization" art above a
|
|
139
|
-
title and description, centered in the tab. Failed/Ignored text comes from localePatch as
|
|
140
|
-
"Title\\nDescription" and ::first-line styles the title; Passed renders nothing when empty,
|
|
141
|
-
so it gets the same box from generated content. */
|
|
142
|
-
ue-accessibility-panel {
|
|
143
|
-
--ue-accessibility-image-width: 240px;
|
|
144
|
-
--ue-accessibility-image-height: 240px;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
/* The scroll area only grows to its content (max-height: 100%); stretch it to the panel
|
|
148
|
-
bottom so the empty state can center in the space below the tabs. */
|
|
149
|
-
ue-accessibility-panel ue-scrollable-container:has(.accessibility-list-empty, ue-accessibility-passed-tab:empty) {
|
|
150
|
-
flex-grow: 1;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
ue-accessibility-panel ue-scrollable-container:has(.accessibility-list-empty, ue-accessibility-passed-tab:empty) .ue-scrollable {
|
|
154
|
-
height: 100%;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
ue-accessibility-panel .ue-scrollable-content:has(.accessibility-list-empty, ue-accessibility-passed-tab:empty) {
|
|
158
|
-
display: flex;
|
|
159
|
-
flex-direction: column;
|
|
160
|
-
justify-content: center;
|
|
161
|
-
min-height: 100%;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
ue-accessibility-panel .accessibility-list-empty.light-theme.failed-list,
|
|
165
|
-
ue-accessibility-panel .accessibility-list-empty.light-theme.ignored-list,
|
|
166
|
-
ue-accessibility-passed-tab:empty::before {
|
|
167
|
-
display: block;
|
|
168
|
-
height: auto;
|
|
169
|
-
margin: 0;
|
|
170
|
-
padding: 248px 16px 0;
|
|
171
|
-
background: url("https://image.useinsider.com/insider-design-system/img/speacial/no-personalization.svg") no-repeat center top / 240px 240px;
|
|
172
|
-
color: var(--guido-color-neutral-500);
|
|
173
|
-
font-size: 15px;
|
|
174
|
-
line-height: 24px;
|
|
175
|
-
text-align: center;
|
|
176
|
-
white-space: pre-line;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/* Stripo renders nothing at all for an empty Passed tab, so this copy cannot come from the
|
|
180
|
-
localePatch like its Failed/Ignored siblings in src/config/i18n/en/labels.json — keep the
|
|
181
|
-
three wordings in step by hand. \`display: block\` makes the host a block container so
|
|
182
|
-
::first-line below can reach the title inside the generated content. */
|
|
183
|
-
ue-accessibility-passed-tab:empty {
|
|
184
|
-
display: block;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
ue-accessibility-passed-tab:empty::before {
|
|
188
|
-
content: "No Passed Items\\A You have no passed items.";
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/* Title is 18/24 with InNoData's 8px gap below it; a 40px line box gives both, and its
|
|
192
|
-
extra 8px on top is why the padding above is 248px, not 240 + 16. */
|
|
193
|
-
ue-accessibility-panel .accessibility-list-empty::first-line,
|
|
194
|
-
ue-accessibility-passed-tab:empty::first-line {
|
|
195
|
-
color: var(--guido-color-neutral-700);
|
|
196
|
-
font-size: 18px;
|
|
197
|
-
line-height: 40px;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
/* Card actions: Ignore / Un-ignore / Auto-tune are neutral, Apply is primary */
|
|
201
|
-
ue-accessibility-panel .e2e-ignore-button > .button,
|
|
202
|
-
ue-accessibility-panel .e2e-unignore-button > .button,
|
|
203
|
-
ue-accessibility-panel .e2e-auto-tune-button > .button {
|
|
204
|
-
border: none;
|
|
205
|
-
background-color: var(--guido-color-neutral-200);
|
|
206
|
-
color: var(--guido-color-neutral-800);
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
ue-accessibility-panel .e2e-ignore-button > .button .icon-button,
|
|
210
|
-
ue-accessibility-panel .e2e-unignore-button > .button .icon-button,
|
|
211
|
-
ue-accessibility-panel .e2e-auto-tune-button > .button .icon-button {
|
|
212
|
-
color: var(--guido-color-neutral-800);
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
ue-accessibility-panel .e2e-ignore-button > .button:hover:not(:disabled,.disabled),
|
|
216
|
-
ue-accessibility-panel .e2e-unignore-button > .button:hover:not(:disabled,.disabled),
|
|
217
|
-
ue-accessibility-panel .e2e-auto-tune-button > .button:hover:not(:disabled,.disabled) {
|
|
218
|
-
background-color: var(--guido-color-neutral-100);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
ue-accessibility-panel .e2e-apply-button > .button {
|
|
222
|
-
border: none;
|
|
223
|
-
background-color: var(--guido-color-primary-100);
|
|
224
|
-
color: var(--guido-color-primary-500);
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
ue-accessibility-panel .e2e-apply-button > .button .icon-button {
|
|
228
|
-
color: var(--guido-color-primary-500);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
ue-accessibility-panel .e2e-apply-button > .button:hover:not(:disabled,.disabled) {
|
|
232
|
-
background-color: var(--guido-color-primary-0);
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
/* Re-run check button (header control). Stripo tints the rotate icon with
|
|
236
|
-
--ue-primary-color; Figma DT-33912 wants Insider primary. Not inside
|
|
237
|
-
ue-accessibility-panel, so scoped by its own e2e class. */
|
|
238
|
-
.e2e-accessibility-refresh .icon-button {
|
|
239
|
-
color: var(--guido-color-primary-500);
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/* Help-icon hint. The popover is portalled outside the panel, so it cannot be
|
|
243
|
-
scoped to ue-accessibility-panel. Stripo tints the link with --ue-primary-color. */
|
|
244
|
-
.ue-popover.dark,
|
|
245
|
-
.ue-popover.dark-tiny {
|
|
246
|
-
border-radius: 4px;
|
|
247
|
-
background: var(--guido-color-gray-800);
|
|
248
|
-
box-shadow: 0 15px 17.5px rgb(0 0 0 / 10%), 0 8px 5px rgb(0 0 0 / 10%);
|
|
249
|
-
color: var(--guido-color-white);
|
|
250
|
-
font-size: 13px;
|
|
251
|
-
line-height: 16px;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
.ue-popover.dark .popup-pointer ue-icon-component svg,
|
|
255
|
-
.ue-popover.dark-tiny .popup-pointer ue-icon-component svg {
|
|
256
|
-
fill: var(--guido-color-gray-800);
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
/* Any anchor in the hint, not just the ue-description wrapper: the accessibility
|
|
260
|
-
checker's "Read more … ACT Rules Community Group forum." link renders outside it
|
|
261
|
-
and would otherwise keep Stripo's primary tint, unreadable on the dark surface.
|
|
262
|
-
The ue-description forms match Stripo's own \`.ue-popover.dark-tiny ue-description a\`
|
|
263
|
-
specificity; this file is appended last, so the tie goes to Figma's white link. */
|
|
264
|
-
.ue-popover.dark a,
|
|
265
|
-
.ue-popover.dark-tiny a,
|
|
266
|
-
.ue-popover.dark ue-description a,
|
|
267
|
-
.ue-popover.dark-tiny ue-description a {
|
|
268
|
-
color: var(--guido-color-white);
|
|
269
|
-
text-decoration: underline;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
/* Stripo ships \`ue-description a { display: none }\`, which hides the per-rule "Read more"
|
|
273
|
-
link even though it already carries the right ACT/Deque URL. Re-show only those links,
|
|
274
|
-
keyed by host, so no other editor hint starts showing links Stripo meant to hide. */
|
|
275
|
-
.ue-popover ue-description a[href^="https://act-rules.github.io/"],
|
|
276
|
-
.ue-popover ue-description a[href^="https://dequeuniversity.com/"] {
|
|
277
|
-
display: inline;
|
|
278
|
-
}
|
|
279
|
-
`;
|
|
280
|
-
export {
|
|
281
|
-
e as default
|
|
282
|
-
};
|
/package/dist/src/components/organisms/header/{AutoSaveStatus.vue.d.ts → AutoSaveToggle.vue.d.ts}
RENAMED
|
File without changes
|