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>
21 lines
911 B
JavaScript
21 lines
911 B
JavaScript
import SvgIcon from '@elementor/ui/SvgIcon';
|
|
|
|
const PencilTickIcon = (props, { size = 'tiny' }) => {
|
|
return (
|
|
<SvgIcon viewBox="0 0 20 20" fontSize={size} {...props}>
|
|
<g clipPath="url(#a)">
|
|
<path
|
|
fill="currentColor"
|
|
d="M17.116 13.783a.543.543 0 0 1 .767.767l-3.333 3.333a.54.54 0 0 1-.767 0l-1.667-1.666a.543.543 0 0 1 .767-.767l1.284 1.283zM13.75 3.352A2.9 2.9 0 0 1 15.8 8.3l-8.75 8.75a.54.54 0 0 1-.383.159H3.333a.543.543 0 0 1-.542-.542v-3.334c0-.143.058-.28.16-.382l7.906-7.908.01-.01.009-.009.824-.823a2.9 2.9 0 0 1 2.05-.85M3.875 13.558v2.567h2.567l7.374-7.375-2.567-2.567zm9.875-9.122c-.238 0-.475.045-.695.136s-.42.226-.588.395l-.45.449 2.566 2.567.45-.449a1.82 1.82 0 0 0 .394-1.978 1.82 1.82 0 0 0-1.677-1.12"
|
|
/>
|
|
</g>
|
|
<defs>
|
|
<clipPath id="a">
|
|
<path fill="#fff" d="M0 0h20v20H0z" />
|
|
</clipPath>
|
|
</defs>
|
|
</SvgIcon>
|
|
);
|
|
};
|
|
|
|
export default PencilTickIcon;
|