@useinsider/guido 3.19.0-beta.c604f7d → 3.19.0-beta.c8d2be8
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 +20 -21
- package/dist/components/Guido.vue.js +8 -8
- package/dist/components/Guido.vue2.js +47 -54
- 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 -32
- 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 +38 -56
- package/dist/composables/useCustomInterfaceAppearance.js +41 -42
- package/dist/composables/useHttp.js +55 -44
- 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/sprite.svg +0 -6
- package/dist/src/@types/config/schemas.d.ts +0 -2
- 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 -20
- package/dist/src/stores/editor.d.ts +0 -109
- package/dist/src/stores/onboarding.d.ts +21 -952
- package/dist/src/stores/version-history.d.ts +1 -1
- package/dist/src/utils/timeUtil.d.ts +0 -5
- package/dist/static/styles/variables.css.js +0 -2
- package/dist/stores/editor.js +4 -7
- package/dist/stores/onboarding.js +21 -43
- package/dist/utils/timeUtil.js +17 -6
- package/package.json +1 -1
- package/dist/components/organisms/header/AutoSaveStatus.vue.js +0 -17
- package/dist/components/organisms/header/AutoSaveStatus.vue2.js +0 -25
- package/dist/components/organisms/header/EditorActionsMenu.vue.js +0 -20
- package/dist/components/organisms/header/EditorActionsMenu.vue2.js +0 -98
- 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 -22
- 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 -90
- package/dist/composables/useAccessibilityApi.js +0 -35
- 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 -234
- /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,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,234 +0,0 @@
|
|
|
1
|
-
const n = `
|
|
2
|
-
ue-ui-simple-panel.accessibility-panel,
|
|
3
|
-
ue-accessibility-panel {
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
ue-accessibility-panel .header-control-panel-right {
|
|
8
|
-
min-width: 50px;
|
|
9
|
-
min-height: 50px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
ue-accessibility-panel .tabs-header .accent {
|
|
13
|
-
min-width: 21px;
|
|
14
|
-
margin-left: 8px;
|
|
15
|
-
padding: 3px 5px;
|
|
16
|
-
border: 1px solid var(--guido-color-gray-300);
|
|
17
|
-
border-radius: 4px;
|
|
18
|
-
background-color: var(--guido-color-white);
|
|
19
|
-
color: var(--guido-color-gray-800);
|
|
20
|
-
font-size: 13px;
|
|
21
|
-
font-weight: 400;
|
|
22
|
-
line-height: 16px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
ue-accessibility-panel .tabs-header button.checked .accent {
|
|
26
|
-
border-color: var(--guido-color-primary-500);
|
|
27
|
-
color: var(--guido-color-primary-500);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
ue-accessibility-panel .issue-card-surface {
|
|
31
|
-
border-radius: 8px;
|
|
32
|
-
outline: 1px solid var(--guido-color-gray-300);
|
|
33
|
-
outline-offset: -1px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
ue-accessibility-panel .issue-card-surface--active {
|
|
37
|
-
outline-color: var(--guido-color-primary-500);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
ue-accessibility-panel .issue-card-title {
|
|
41
|
-
color: var(--guido-color-gray-800);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
ue-accessibility-panel .issue-card-header-row .icon-help {
|
|
45
|
-
display: inline-flex;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
width: 24px;
|
|
49
|
-
height: 24px;
|
|
50
|
-
color: var(--guido-color-gray-600);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
ue-accessibility-panel .issue-card-header-row .icon-help svg {
|
|
54
|
-
width: 14px;
|
|
55
|
-
height: 14px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
ue-accessibility-panel .issue-card-header-row ue-icon-component.danger {
|
|
59
|
-
color: var(--guido-color-danger-500);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
ue-accessibility-panel .issue-card-header-row ue-icon-component.warning {
|
|
63
|
-
color: var(--guido-color-warning-500);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
ue-accessibility-panel .issue-card-header-row ue-icon-component.info {
|
|
67
|
-
color: var(--guido-color-primary-500);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
ue-accessibility-passed-tab input,
|
|
71
|
-
ue-accessibility-passed-tab ue-select .toggle-select-button {
|
|
72
|
-
opacity: 0.6;
|
|
73
|
-
cursor: not-allowed;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
ue-accessibility-panel .controls-separator-line:has(.fit-to-color) {
|
|
77
|
-
padding: 10px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
ue-accessibility-passed-tab .controls-separator-line:has(.fit-to-color) {
|
|
81
|
-
padding-bottom: 34px;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
ue-accessibility-panel .controls-separator-line:has(.fit-to-color) .sub-container.two-columns {
|
|
85
|
-
box-sizing: border-box;
|
|
86
|
-
min-height: 50px;
|
|
87
|
-
padding: 5px 16px;
|
|
88
|
-
align-items: center;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
ue-accessibility-panel .controls-list.fit-to-color {
|
|
92
|
-
justify-content: flex-end;
|
|
93
|
-
align-items: center;
|
|
94
|
-
gap: 0;
|
|
95
|
-
font-size: 13px;
|
|
96
|
-
line-height: 16px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
ue-accessibility-panel .controls-list.fit-to-color ue-icon-component {
|
|
100
|
-
align-items: center;
|
|
101
|
-
justify-content: center;
|
|
102
|
-
width: 24px;
|
|
103
|
-
height: 24px;
|
|
104
|
-
margin: 0;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
ue-accessibility-panel .controls-list.fit-to-color ue-icon-component svg {
|
|
108
|
-
width: 16px;
|
|
109
|
-
height: 16px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
ue-accessibility-panel .controls-list.fit-to-color ue-icon-component.warning {
|
|
113
|
-
color: var(--guido-color-warning-500);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
ue-accessibility-panel {
|
|
117
|
-
--ue-accessibility-image-width: 240px;
|
|
118
|
-
--ue-accessibility-image-height: 240px;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
ue-accessibility-panel ue-scrollable-container:has(.accessibility-list-empty, ue-accessibility-passed-tab:empty) {
|
|
122
|
-
flex-grow: 1;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
ue-accessibility-panel ue-scrollable-container:has(.accessibility-list-empty, ue-accessibility-passed-tab:empty) .ue-scrollable {
|
|
126
|
-
height: 100%;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
ue-accessibility-panel .ue-scrollable-content:has(.accessibility-list-empty, ue-accessibility-passed-tab:empty) {
|
|
130
|
-
display: flex;
|
|
131
|
-
flex-direction: column;
|
|
132
|
-
justify-content: center;
|
|
133
|
-
min-height: 100%;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
ue-accessibility-panel .accessibility-list-empty.light-theme.failed-list,
|
|
137
|
-
ue-accessibility-panel .accessibility-list-empty.light-theme.ignored-list,
|
|
138
|
-
ue-accessibility-passed-tab:empty::before {
|
|
139
|
-
display: block;
|
|
140
|
-
height: auto;
|
|
141
|
-
margin: 0;
|
|
142
|
-
padding: 248px 16px 0;
|
|
143
|
-
background: url("https://image.useinsider.com/insider-design-system/img/speacial/no-personalization.svg") no-repeat center top / 240px 240px;
|
|
144
|
-
color: var(--guido-color-neutral-500);
|
|
145
|
-
font-size: 15px;
|
|
146
|
-
line-height: 24px;
|
|
147
|
-
text-align: center;
|
|
148
|
-
white-space: pre-line;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
ue-accessibility-passed-tab:empty {
|
|
152
|
-
display: block;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
ue-accessibility-passed-tab:empty::before {
|
|
156
|
-
content: "No Passed Items\\A You have no passed items.";
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
ue-accessibility-panel .accessibility-list-empty::first-line,
|
|
160
|
-
ue-accessibility-passed-tab:empty::first-line {
|
|
161
|
-
color: var(--guido-color-neutral-700);
|
|
162
|
-
font-size: 18px;
|
|
163
|
-
line-height: 40px;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
ue-accessibility-panel .e2e-ignore-button > .button,
|
|
167
|
-
ue-accessibility-panel .e2e-unignore-button > .button,
|
|
168
|
-
ue-accessibility-panel .e2e-auto-tune-button > .button {
|
|
169
|
-
border: none;
|
|
170
|
-
background-color: var(--guido-color-neutral-200);
|
|
171
|
-
color: var(--guido-color-neutral-800);
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
ue-accessibility-panel .e2e-ignore-button > .button .icon-button,
|
|
175
|
-
ue-accessibility-panel .e2e-unignore-button > .button .icon-button,
|
|
176
|
-
ue-accessibility-panel .e2e-auto-tune-button > .button .icon-button {
|
|
177
|
-
color: var(--guido-color-neutral-800);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
ue-accessibility-panel .e2e-ignore-button > .button:hover:not(:disabled,.disabled),
|
|
181
|
-
ue-accessibility-panel .e2e-unignore-button > .button:hover:not(:disabled,.disabled),
|
|
182
|
-
ue-accessibility-panel .e2e-auto-tune-button > .button:hover:not(:disabled,.disabled) {
|
|
183
|
-
background-color: var(--guido-color-neutral-100);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
ue-accessibility-panel .e2e-apply-button > .button {
|
|
187
|
-
border: none;
|
|
188
|
-
background-color: var(--guido-color-primary-100);
|
|
189
|
-
color: var(--guido-color-primary-500);
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
ue-accessibility-panel .e2e-apply-button > .button .icon-button {
|
|
193
|
-
color: var(--guido-color-primary-500);
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
ue-accessibility-panel .e2e-apply-button > .button:hover:not(:disabled,.disabled) {
|
|
197
|
-
background-color: var(--guido-color-primary-0);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.e2e-accessibility-refresh .icon-button {
|
|
201
|
-
color: var(--guido-color-primary-500);
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.ue-popover.dark,
|
|
205
|
-
.ue-popover.dark-tiny {
|
|
206
|
-
border-radius: 4px;
|
|
207
|
-
background: var(--guido-color-gray-800);
|
|
208
|
-
box-shadow: 0 15px 17.5px rgb(0 0 0 / 10%), 0 8px 5px rgb(0 0 0 / 10%);
|
|
209
|
-
color: var(--guido-color-white);
|
|
210
|
-
font-size: 13px;
|
|
211
|
-
line-height: 16px;
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
.ue-popover.dark .popup-pointer ue-icon-component svg,
|
|
215
|
-
.ue-popover.dark-tiny .popup-pointer ue-icon-component svg {
|
|
216
|
-
fill: var(--guido-color-gray-800);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.ue-popover.dark a,
|
|
220
|
-
.ue-popover.dark-tiny a,
|
|
221
|
-
.ue-popover.dark ue-description a,
|
|
222
|
-
.ue-popover.dark-tiny ue-description a {
|
|
223
|
-
color: var(--guido-color-white);
|
|
224
|
-
text-decoration: underline;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.ue-popover ue-description a[href^="https://act-rules.github.io/"],
|
|
228
|
-
.ue-popover ue-description a[href^="https://dequeuniversity.com/"] {
|
|
229
|
-
display: inline;
|
|
230
|
-
}
|
|
231
|
-
`;
|
|
232
|
-
export {
|
|
233
|
-
n as default
|
|
234
|
-
};
|
/package/dist/src/components/organisms/header/{AutoSaveStatus.vue.d.ts → AutoSaveToggle.vue.d.ts}
RENAMED
|
File without changes
|