-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(extensions, i18n, icons): rewrite extensions for a new look, new…
…s i18n for links, fix icons
- Loading branch information
1 parent
7ac50f3
commit 42cdc13
Showing
38 changed files
with
467 additions
and
289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
export const enum VuetifyIconsGropus { | ||
export const enum VuetifyIconsGroups { | ||
// default icons in vuetify (official material design icons) | ||
md = 'md', | ||
mdi = 'mdi', | ||
fa = 'fa' | ||
} | ||
|
||
export default { | ||
defaultIconsGroup: VuetifyIconsGropus.md | ||
defaultIconsGroup: VuetifyIconsGroups.md | ||
} | ||
|
||
export const faIconsSize = 'fa-sm' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 6 additions & 4 deletions
10
src/extensions/actions/renders/btn/ExtensionActionRenderBtnOptionsInterface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
import I18nText from '~/i18n/I18nText' | ||
import { VuetifyIconsGropus } from '~/configs/theme' | ||
import { VuetifyIconsGroups } from '~/configs/theme' | ||
import IconInterface from '~/extensions/nativeExtensions/icons/IconInterface' | ||
|
||
export default interface ExtensionActionRenderBtnOptionsInterface { | ||
tooltip: I18nText | ((context, options) => I18nText) | ||
icons: { | ||
[VuetifyIconsGropus.md]: IconInterface | ||
[VuetifyIconsGropus.fa]: IconInterface | ||
[VuetifyIconsGropus.mdi]: IconInterface | ||
[VuetifyIconsGroups.md]: IconInterface | ||
[VuetifyIconsGroups.fa]: IconInterface | ||
[VuetifyIconsGroups.mdi]: IconInterface | ||
} | ||
onClick: ({ context, editor }) => any | ||
onClickOptions?: { [key: string]: any } | ||
isActive: (...arg: any) => boolean | ||
isActiveOptions?: { [key: string]: any } | ||
nativeExtensionName?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.