diff --git a/components/lib/icons/blank/index.d.ts b/components/lib/icons/blank/index.d.ts new file mode 100644 index 000000000..29ac9263b --- /dev/null +++ b/components/lib/icons/blank/index.d.ts @@ -0,0 +1,12 @@ +import { Icon } from '../../icons/index'; +import { GlobalComponentConstructor } from '../../ts-helpers'; + +declare class BlankIcon extends Icon {} + +declare module '@vue/runtime-core' { + interface GlobalComponents { + BlankIcon: GlobalComponentConstructor; + } +} + +export default BlankIcon; diff --git a/components/lib/icons/blank/index.vue b/components/lib/icons/blank/index.vue new file mode 100644 index 000000000..95d12e2ee --- /dev/null +++ b/components/lib/icons/blank/index.vue @@ -0,0 +1,13 @@ + + diff --git a/components/lib/icons/blank/package.json b/components/lib/icons/blank/package.json new file mode 100644 index 000000000..2ec76c38f --- /dev/null +++ b/components/lib/icons/blank/package.json @@ -0,0 +1,9 @@ +{ + "main": "./index.cjs.js", + "module": "./index.esm.js", + "unpkg": "./index.min.js", + "types": "./index.d.ts", + "browser": { + "./sfc": "./index.vue" + } +} diff --git a/nuxt-vite.config.js b/nuxt-vite.config.js index 8b9ee4e3e..94f6b5d2e 100644 --- a/nuxt-vite.config.js +++ b/nuxt-vite.config.js @@ -121,6 +121,7 @@ const ICON_ALIAS = { 'primevue/icons/arrowup': path.resolve(__dirname, './components/lib/icons/arrowup/index.vue'), 'primevue/icons/ban': path.resolve(__dirname, './components/lib/icons/ban/index.vue'), 'primevue/icons/bars': path.resolve(__dirname, './components/lib/icons/bars/index.vue'), + 'primevue/icons/blank': path.resolve(__dirname, './components/lib/icons/blank/index.vue'), 'primevue/icons/calendar': path.resolve(__dirname, './components/lib/icons/calendar/index.vue'), 'primevue/icons/check': path.resolve(__dirname, './components/lib/icons/check/index.vue'), 'primevue/icons/chevrondown': path.resolve(__dirname, './components/lib/icons/chevrondown/index.vue'), diff --git a/rollup.config.js b/rollup.config.js index 26b2e0e16..38ddd8895 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -26,6 +26,7 @@ const CORE_ICON_DEPENDENCIES = { 'primevue/icons/arrowup': 'primevue.icons.arrowup', 'primevue/icons/ban': 'primevue.icons.ban', 'primevue/icons/bars': 'primevue.icons.bars', + 'primevue/icons/blank': 'primevue.icons.blank', 'primevue/icons/calendar': 'primevue.icons.calendar', 'primevue/icons/check': 'primevue.icons.check', 'primevue/icons/chevrondown': 'primevue.icons.chevrondown',