mirror of
https://ghproxy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-07-21 12:16:59 +08:00
* [APP-0000] add elementor one * [APP-0000] add elementor one * [APP-2207] add dashboard widget * [APP-2207] add dashboard widget * [APP-2207] add dashboard widget * [APP-2207] add dashboard widget * [APP-0000] Add slug to the connect config * [APP-0000] Update connect config * [APP-0000] Update connect config * [APP-0000] Update connect config * [APP-0000] Update connect config * [APP-0000] Update connect config * Hide sidebar footer if Elementor One is connected * fix: import errors on opening the scanner * [APP-0000] Update connect config * Update modules/settings/module.php Co-authored-by: Rami Yushuvaev <92088692+rami-elementor@users.noreply.github.com> * [APP-2270] Top bar implementation (#458) * [APP-2270] Top bar implementation * Update top bar title * Update packages * fix: env for top bar * update: ally menu location * Fix pointer * Update * Update * Update * Update * Update * Fix design saving * Add missing pro icon to sidebar menu * Sidebar icons sizes * Fix link to "Manage subscription" * fix: header name * Update logo icon in the sidebar * Remove logos from modal/dialog headers * Update button colors * Make the "Get started" modal dismissible * Update crown icon * Update * Role attribute * Update logo icon * Update list item padding * [APP-0000] Update connect config * [ACD-7909] Enable Pro features on One * Update menu order * [ACD-7909] Enable Pro features on One * [ACD-7909] Enable Pro features on One * Hide pointers from Elementor One users * [ACD-7909] Enable Pro features on One * fix: don't show notices in some cases (#466) * [ACD-7794] Fix subitem color and spacing, info and pro icon size (#464) * fix: subitem color and spacing, info and pro icon size * chore: update elementor-one-assets package to 0.4.16 * fix: PLG margin and button style issue (#463) --------- Co-authored-by: Nirbhay Singh <nirbhayr@elementor.com> Co-authored-by: vasyldinets <vasyld@elementor.red> Co-authored-by: Nirbhay Singh <121793120+nirbhayel@users.noreply.github.com> --------- Co-authored-by: Rami Yushuvaev <ramiy@elementor.com> Co-authored-by: Nirbhay Singh <nirbhayr@elementor.com> Co-authored-by: Rami Yushuvaev <92088692+rami-elementor@users.noreply.github.com> Co-authored-by: Nirbhay Singh <121793120+nirbhayel@users.noreply.github.com>
76 lines
1.8 KiB
JavaScript
76 lines
1.8 KiB
JavaScript
import PagesIcon from '@elementor/icons/PagesIcon';
|
|
import SearchResultsTemplateIcon from '@elementor/icons/SearchResultsTemplateIcon';
|
|
import { WidgetIcon } from '@ea11y/icons';
|
|
import {
|
|
AccessibilityAssistant,
|
|
AccessibilityStatement,
|
|
Analytics,
|
|
IconSettings,
|
|
Menu,
|
|
} from '@ea11y/pages';
|
|
import { __ } from '@wordpress/i18n';
|
|
import { AccessibilityAssistantContextProvider } from '../../contexts/accessibility-assistant-context';
|
|
import AccessibilityStatementTooltip from './tooltips/accessibility-statement';
|
|
import AnalyticsTooltip from './tooltips/analytics';
|
|
|
|
export const MenuItems = {
|
|
scans: {
|
|
key: 'scan-overview',
|
|
name: __('Accessibility scans', 'pojo-accessibility'),
|
|
icon: (
|
|
<SearchResultsTemplateIcon
|
|
aria-hidden={true}
|
|
sx={{ color: 'common.black' }}
|
|
fontSize="small"
|
|
/>
|
|
),
|
|
page: (
|
|
<AccessibilityAssistantContextProvider>
|
|
<AccessibilityAssistant />
|
|
</AccessibilityAssistantContextProvider>
|
|
),
|
|
},
|
|
widget: {
|
|
key: 'widget',
|
|
name: __('Widget', 'pojo-accessibility'),
|
|
icon: (
|
|
<WidgetIcon
|
|
aria-hidden={true}
|
|
sx={{ color: 'common.black' }}
|
|
fontSize="small"
|
|
/>
|
|
),
|
|
children: {
|
|
design: {
|
|
key: 'design',
|
|
name: __('Design', 'pojo-accessibility'),
|
|
page: <IconSettings />,
|
|
},
|
|
capabilities: {
|
|
key: 'capabilities',
|
|
name: __('Capabilities', 'pojo-accessibility'),
|
|
page: <Menu />,
|
|
},
|
|
analytics: {
|
|
key: 'analytics',
|
|
name: __('Analytics', 'pojo-accessibility'),
|
|
proIcon: 'analytics',
|
|
infotip: <AnalyticsTooltip />,
|
|
page: <Analytics />,
|
|
},
|
|
},
|
|
},
|
|
accessibilityStatement: {
|
|
key: 'accessibility-statement',
|
|
name: __('Statement', 'pojo-accessibility'),
|
|
icon: (
|
|
<PagesIcon
|
|
aria-hidden={true}
|
|
sx={{ color: 'common.black' }}
|
|
fontSize="small"
|
|
/>
|
|
),
|
|
infotip: <AccessibilityStatementTooltip />,
|
|
page: <AccessibilityStatement />,
|
|
},
|
|
};
|