mirror of
https://ghproxy.net/https://github.com/elementor/one-click-accessibility.git
synced 2026-07-21 12:16:59 +08:00
* add: preview images for bulk-alt-text * add: bulk alt text banner * fix: padding * add: bulk alt text banner component * add: icons * add: support for aborting the fetch request * add: bulk alt text manager * update: husky * fix: optimized images * update: memoize images * fix: imports * add: focustrap * add: mixpanel events * update: add logic to save alt text when editing manually * fix: abort controller reference and cleanup * fix: improve key stability in image grid rendering * refactor: add PropTypes validation and memoization to ImageCard component * feat: add error handling for ImageCard component using ErrorBoundary * fix: auto selection logic for card with bulk generation * add: loading and generation states * refactor: restructure bulk alt text components and enhance progress handling and decentralized logic * refactor: extract logic from progress bar to hook * add: quota exceeded alert * add: promotional banner for generate button * update: Generate button for selection mode * fix: button alignment * update: hide banner for 2 or less images * fix: box shadow * add: mixpanel events * update: rename variable * add: bulk upgrade url * update: link handling for upgrade * fix: box shadow * add: border radius to dialog * update: improved accessibility notifications * fix: height and padding for banner * update: add more context to image card * add: ARIA labels * add: focus on card * add: decode URI component * fix: accessibility issues * add: encoding for file names * fix: styled components * update: made progress bar sticky * update: add logic to disable button on bulk generation * fix: style * fix: closing the dialog while generating * add: error handling * fix: mark prop as not required * Fix: Prevent MUI from adding aria-hidden to dialog parent elements [APP-2261] * add: error handling for quota api error * fix: prop requirement * add: close handler to dialog * fix: ui * fix: icons * fix: width of dialog * fix: width of bulk dialog --------- Co-authored-by: Kniazevych <pavlok@elementor.red>
28 lines
2.9 KiB
JavaScript
28 lines
2.9 KiB
JavaScript
import SvgIcon from '@elementor/ui/SvgIcon';
|
|
|
|
const WandIcon = (props, { size = 'tiny' }) => {
|
|
return (
|
|
<SvgIcon viewBox="0 0 15 15" fontSize={size} {...props}>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M5.0625 0C5.37316 0 5.625 0.25184 5.625 0.5625C5.625 0.81114 5.72377 1.0496 5.89959 1.22541C6.0754 1.40123 6.31386 1.5 6.5625 1.5C6.87316 1.5 7.125 1.75184 7.125 2.0625C7.125 2.37316 6.87316 2.625 6.5625 2.625C6.31386 2.625 6.0754 2.72377 5.89959 2.89959C5.72377 3.0754 5.625 3.31386 5.625 3.5625C5.625 3.87316 5.37316 4.125 5.0625 4.125C4.75184 4.125 4.5 3.87316 4.5 3.5625C4.5 3.31386 4.40123 3.0754 4.22541 2.89959C4.0496 2.72377 3.81114 2.625 3.5625 2.625C3.25184 2.625 3 2.37316 3 2.0625C3 1.75184 3.25184 1.5 3.5625 1.5C3.81114 1.5 4.0496 1.40123 4.22541 1.22541C4.40123 1.0496 4.5 0.81114 4.5 0.5625C4.5 0.25184 4.75184 0 5.0625 0ZM5.0625 1.9781C5.04886 1.99255 5.035 2.00682 5.02091 2.02091C5.00682 2.035 4.99255 2.04886 4.9781 2.0625C4.99255 2.07614 5.00682 2.09 5.02091 2.10409C5.035 2.11818 5.04886 2.13245 5.0625 2.1469C5.07614 2.13245 5.09 2.11818 5.10409 2.10409C5.11818 2.09 5.13245 2.07614 5.1469 2.0625C5.13245 2.04886 5.11818 2.035 5.10409 2.02091C5.09 2.00682 5.07614 1.99255 5.0625 1.9781Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M12.2102 0.164752C11.9906 -0.0549174 11.6344 -0.0549174 11.4148 0.164752L0.164752 11.4148C-0.0549175 11.6344 -0.0549175 11.9906 0.164752 12.2102L2.41475 14.4602C2.63442 14.6799 2.99058 14.6799 3.21025 14.4602L14.4602 3.21025C14.6799 2.99058 14.6799 2.63442 14.4602 2.41475L12.2102 0.164752ZM11.8125 4.267L13.267 2.8125L11.8125 1.35799L10.358 2.8125L11.8125 4.267ZM9.5625 3.60799L11.017 5.0625L2.8125 13.267L1.35799 11.8125L9.5625 3.60799Z"
|
|
fill="currentColor"
|
|
/>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M13.125 8.0625C13.125 7.75184 12.8732 7.5 12.5625 7.5C12.2518 7.5 12 7.75184 12 8.0625C12 8.31114 11.9012 8.5496 11.7254 8.72541C11.5496 8.90123 11.3111 9 11.0625 9C10.7518 9 10.5 9.25184 10.5 9.5625C10.5 9.87316 10.7518 10.125 11.0625 10.125C11.3111 10.125 11.5496 10.2238 11.7254 10.3996C11.9012 10.5754 12 10.8139 12 11.0625C12 11.3732 12.2518 11.625 12.5625 11.625C12.8732 11.625 13.125 11.3732 13.125 11.0625C13.125 10.8139 13.2238 10.5754 13.3996 10.3996C13.5754 10.2238 13.8139 10.125 14.0625 10.125C14.3732 10.125 14.625 9.87316 14.625 9.5625C14.625 9.25184 14.3732 9 14.0625 9C13.8139 9 13.5754 8.90123 13.3996 8.72541C13.2238 8.5496 13.125 8.31114 13.125 8.0625ZM12.5209 9.52091C12.535 9.50682 12.5489 9.49255 12.5625 9.47809C12.5761 9.49255 12.59 9.50682 12.6041 9.52091C12.6182 9.535 12.6325 9.54886 12.6469 9.5625C12.6325 9.57614 12.6182 9.59 12.6041 9.60409C12.59 9.61818 12.5761 9.63245 12.5625 9.64691C12.5489 9.63245 12.535 9.61818 12.5209 9.60409C12.5068 9.59 12.4925 9.57614 12.4781 9.5625C12.4925 9.54886 12.5068 9.535 12.5209 9.52091Z"
|
|
fill="currentColor"
|
|
/>
|
|
</SvgIcon>
|
|
);
|
|
};
|
|
|
|
export default WandIcon;
|