Skip to content

Commit

Permalink
chore: consolidate icon packs
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterCarl committed Oct 1, 2024
1 parent 7ea4ee0 commit a6dede8
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 30 deletions.
22 changes: 0 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
"@digitalservice4germany/style-dictionary": "~2.0.0",
"@eslint/compat": "~1.1.1",
"@eslint/js": "~9.9.0",
"@iconify-json/gravity-ui": "^1.2.1",
"@iconify-json/ic": "~1.1.18",
"@iconify-json/mdi": "^1.2.0",
"@iconify-json/material-symbols": "^1.2.1",
"@iconify/vue": "^4.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/primevue/button/button.stories.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Meta, StoryObj } from "@storybook/vue3";
import PrimevueButton from "primevue/button";
import IconCheck from "~icons/ic/baseline-check";
import IconCheck from "~icons/material-symbols/check";
import { html } from "@/lib/tags.ts";

// Imported as PrimevueButton because somehow formatting sometimes changes
Expand Down
6 changes: 3 additions & 3 deletions src/primevue/confirmDialog/confirmDialog.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Meta, StoryObj } from "@storybook/vue3";
import PrimevueButton from "primevue/button";
import ConfirmDialog from "primevue/confirmdialog";
import { useConfirm } from "primevue/useconfirm";
import IcBaselineErrorOutline from "~icons/ic/baseline-error-outline";
import ErrorOutline from "~icons/material-symbols/error-outline";

const meta: Meta<typeof ConfirmDialog> = {
component: ConfirmDialog,
Expand All @@ -16,7 +16,7 @@ type Story = StoryObj<typeof meta>;

export const Default: Story = {
render: (args) => ({
components: { ConfirmDialog, PrimevueButton, IcBaselineErrorOutline },
components: { ConfirmDialog, PrimevueButton, ErrorOutline },
setup() {
const confirm = useConfirm();

Expand Down Expand Up @@ -45,7 +45,7 @@ export const Default: Story = {
template: html`
<ConfirmDialog v-bind="args">
<template #icon>
<IcBaselineErrorOutline class="text-red-800" />
<ErrorOutline class="text-red-800" />
</template>
</ConfirmDialog>
Expand Down
2 changes: 1 addition & 1 deletion src/primevue/inputText/inputText.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { html } from "@/lib/tags";
import { Meta, StoryObj } from "@storybook/vue3";
import Fluid from "primevue/fluid";
import InputText from "primevue/inputtext";
import ErrorOutline from "~icons/ic/error-outline";
import ErrorOutline from "~icons/material-symbols/error-outline";

const meta: Meta<typeof InputText> = {
component: InputText,
Expand Down
2 changes: 1 addition & 1 deletion src/primevue/textarea/textarea.stories.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { html } from "@/lib/tags";
import { Meta, StoryObj } from "@storybook/vue3";
import PrimevueTextarea from "primevue/textarea";
import ErrorOutline from "~icons/ic/error-outline";
import ErrorOutline from "~icons/material-symbols/error-outline";

// Imported as Btn because somehow formatting sometimes changes
// "PrimevueTextarea" to "PrimevueTextarea", breaking the stories
Expand Down

0 comments on commit a6dede8

Please sign in to comment.