diff --git a/packages/nc-gui/assets/style.scss b/packages/nc-gui/assets/style.scss index 1a65ac5e13..87c00840fe 100644 --- a/packages/nc-gui/assets/style.scss +++ b/packages/nc-gui/assets/style.scss @@ -86,6 +86,11 @@ a { @apply relative after:(absolute top-[-2px] right-[-2px] w-[8px] h-[8px] rounded-full bg-primary content-[''] !z-20); } +// badge with count +.nc-count-badge { + @apply absolute flex items-center top-[-6px] right-[-6px] px-1 min-w-[14px] h-[14px] rounded-full bg-primary bg-opacity-100 text-white !text-[9px] !z-21; +} + // for highlighting toolbar menu item .nc-active-btn > .ant-btn { @apply bg-primary bg-opacity-20 hover:(bg-primary bg-opacity-20); diff --git a/packages/nc-gui/components.d.ts b/packages/nc-gui/components.d.ts index 3307595f19..60d82c18a7 100644 --- a/packages/nc-gui/components.d.ts +++ b/packages/nc-gui/components.d.ts @@ -168,6 +168,7 @@ declare module '@vue/runtime-core' { MdiFileEyeOutline: typeof import('~icons/mdi/file-eye-outline')['default'] MdiFileImageBox: typeof import('~icons/mdi/file-image-box')['default'] MdiFilePlusOutline: typeof import('~icons/mdi/file-plus-outline')['default'] + MdiFileReplaceOutline: typeof import('~icons/mdi/file-replace-outline')['default'] MdiFileUploadOutline: typeof import('~icons/mdi/file-upload-outline')['default'] MdiFilterOutline: typeof import('~icons/mdi/filter-outline')['default'] MdiFlag: typeof import('~icons/mdi/flag')['default'] @@ -210,11 +211,15 @@ declare module '@vue/runtime-core' { MdiShieldKeyOutline: typeof import('~icons/mdi/shield-key-outline')['default'] MdiSlack: typeof import('~icons/mdi/slack')['default'] MdiSort: typeof import('~icons/mdi/sort')['default'] + MdiSortAscending: typeof import('~icons/mdi/sort-ascending')['default'] + MdiSortDescending: typeof import('~icons/mdi/sort-descending')['default'] MdiStar: typeof import('~icons/mdi/star')['default'] MdiStarOutline: typeof import('~icons/mdi/star-outline')['default'] MdiStorefrontOutline: typeof import('~icons/mdi/storefront-outline')['default'] MdiTable: typeof import('~icons/mdi/table')['default'] MdiTableArrowRight: typeof import('~icons/mdi/table-arrow-right')['default'] + MdiTableColumnPlusAfter: typeof import('~icons/mdi/table-column-plus-after')['default'] + MdiTableColumnPlusBefore: typeof import('~icons/mdi/table-column-plus-before')['default'] MdiTableLarge: typeof import('~icons/mdi/table-large')['default'] MdiText: typeof import('~icons/mdi/text')['default'] MdiThumbUp: typeof import('~icons/mdi/thumb-up')['default'] diff --git a/packages/nc-gui/components/account/SignupSettings.vue b/packages/nc-gui/components/account/SignupSettings.vue index 7311679a76..b9d2559d47 100644 --- a/packages/nc-gui/components/account/SignupSettings.vue +++ b/packages/nc-gui/components/account/SignupSettings.vue @@ -51,6 +51,6 @@ loadSettings() diff --git a/packages/nc-gui/components/smartsheet/Grid.vue b/packages/nc-gui/components/smartsheet/Grid.vue index 43726b0b8b..7ea3785453 100644 --- a/packages/nc-gui/components/smartsheet/Grid.vue +++ b/packages/nc-gui/components/smartsheet/Grid.vue @@ -1,5 +1,5 @@