diff --git a/.changeset/pre.json b/.changeset/pre.json index eae5283386..8673befd6e 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -2,8 +2,8 @@ "mode": "pre", "tag": "alpha", "initialVersions": { - "@temp-nui/nui": "0.0.0", - "@temp-nui/storybook-utils": "0.0.0" + "sit-onyx": "0.0.0", + "@sit-onyx/storybook-utils": "0.0.0" }, "changesets": [] } diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 2a90f4b501..c7c972088b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -1,5 +1,5 @@ name: Report a bug 🐞 -description: You found a bug in NUI? You can report it with the form below. +description: You found a bug in Onyx? You can report it with the form below. title: "[Bug]: " labels: - bug diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index fb015ad4ea..dacaa23be2 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: Questions & Discussions - url: https://github.com/schwarzit/nui/discussions/categories/q-a + url: https://github.com/schwarzit/onyx/discussions/categories/q-a about: You have a question that might already be answered by the community? Take a look at the GitHub discussions! diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index dfb3602cdb..6d3aafc994 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -1,6 +1,6 @@ name: Request a new feature 🚀 description: >- - Do you want to request a new feature to be added to NUI? You can request it + Do you want to request a new feature to be added to Onyx? You can request it with the form below. title: "[Feature request]: " labels: diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2e29871362..dd516c902d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -29,11 +29,11 @@ jobs: - name: 🛠️ Build run: pnpm run build - working-directory: packages/nui + working-directory: packages/sit-onyx - name: 🛠️ Build Storybook run: pnpm run build:storybook - working-directory: packages/nui + working-directory: packages/sit-onyx - name: 🛠️ Build documentation run: pnpm run build @@ -41,17 +41,17 @@ jobs: - name: 🚨 Run unit tests run: pnpm run test:unit:coverage - working-directory: packages/nui + working-directory: packages/sit-onyx # install system dependencies for Playwright # see: https://playwright.dev/python/docs/browsers#install-system-dependencies - name: 📦 Install Playwright system dependencies run: pnpm exec playwright install-deps - working-directory: packages/nui + working-directory: packages/sit-onyx - name: 🚨 Run component tests run: pnpm run test:components - working-directory: packages/nui + working-directory: packages/sit-onyx - name: Run publint run: pnpm run publint @@ -66,15 +66,15 @@ jobs: with: name: test-results path: | - packages/nui/coverage - packages/nui/playwright-report - packages/nui/test-results + packages/sit-onyx/coverage + packages/sit-onyx/playwright-report + packages/sit-onyx/test-results - name: Upload Storybook artifact uses: actions/upload-artifact@v3 with: name: storybook-static - path: packages/nui/storybook-static + path: packages/sit-onyx/storybook-static - name: Upload documentation artifact uses: actions/upload-artifact@v3 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e57e53a09d..6481572657 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,7 +4,7 @@ on: branches: - main paths: - - "packages/nui/**" + - "packages/sit-onyx/**" workflow_dispatch: inputs: stage: @@ -35,7 +35,7 @@ jobs: - name: 🛠️ Build Storybook run: pnpm run build:storybook - working-directory: packages/nui + working-directory: packages/sit-onyx - name: 🛠️ Build documentation run: pnpm run build @@ -45,7 +45,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: storybook-static - path: packages/nui/storybook-static + path: packages/sit-onyx/storybook-static - name: Upload documentation artifact uses: actions/upload-artifact@v3 @@ -64,7 +64,7 @@ jobs: uses: actions/download-artifact@v3 with: name: storybook-static - path: packages/nui/.cloud-foundry/storybook-static + path: packages/sit-onyx/.cloud-foundry/storybook-static - name: Deploy to Cloud Foundry uses: ./.github/templates/cf-push @@ -77,7 +77,7 @@ jobs: # is only assigned when the workflow is triggered manually. When triggered e.g. on push # the input will be unset so a fallback is needed here cf-space: ${{ inputs.stage || 'dev' }} - working-directory: packages/nui/.cloud-foundry + working-directory: packages/sit-onyx/.cloud-foundry deploy_documentation: name: Deploy documentation diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index f30f6024b9..b1da68fbd3 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -21,7 +21,7 @@ jobs: node-version-file: .node-version cache: pnpm registry-url: "https://registry.npmjs.org/" - scope: temp-nui + scope: sit-onyx env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d496ec4dd7..30b35f2e00 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -# NUI Contributing Guide +# Onyx Contributing Guide ## Prerequisites / Technical setup @@ -26,9 +26,9 @@ TypeScript cannot handle type information for `.vue` imports by default. In VS C Pull Requests are very welcome! -1. You will need to [create a fork](https://github.com/larsrickert/temp-nui/fork) to commit and push your changes to. +1. You will need to [create a fork](https://github.com/SchwarzIT/onyx/fork) to commit and push your changes to. 2. When your changes affect the user you need to [add a changeset](./.changeset/README.md). -3. Then [create a PR](https://github.com/larsrickert/temp-nui/compare) to merge your changes back into our repository. +3. Then [create a PR](https://github.com/SchwarzIT/onyx/compare) to merge your changes back into our repository. ## Scripts @@ -56,9 +56,9 @@ pnpm run format
-### NUI +### Onyx -The following scripts are available inside [`packages/nui`](packages/nui): +The following scripts are available inside [`packages/sit-onyx`](packages/sit-onyx): #### Type-Check, Compile and Minify for Production diff --git a/README.md b/README.md index 5c6da7c70e..e75f8f5fa0 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@

-# NUI +# Onyx -A Vue.js UI component library and Design System created by [Schwarz IT](https://it.schwarz). +A design system and Vue.js component library created by [Schwarz IT](https://it.schwarz). -> **Work in progress**: This library is currently in early / active development.
**Working title**: The name `NUI` is only a working title and will be changed in the future. +> **Work in progress**: This library is currently in early / active development.

diff --git a/apps/docs/.cloud-foundry/manifest-dev.yml b/apps/docs/.cloud-foundry/manifest-dev.yml index 2cf70d8299..9149d620f7 100644 --- a/apps/docs/.cloud-foundry/manifest-dev.yml +++ b/apps/docs/.cloud-foundry/manifest-dev.yml @@ -1,5 +1,5 @@ --- applications: - - name: nui-documentation-dev + - name: onyx-documentation-dev memory: 64M buildpack: https://github.com/cloudfoundry/staticfile-buildpack diff --git a/apps/docs/src/.vitepress/config.ts b/apps/docs/src/.vitepress/config.ts index 6c2ac6c382..289f04fa4e 100644 --- a/apps/docs/src/.vitepress/config.ts +++ b/apps/docs/src/.vitepress/config.ts @@ -1,10 +1,10 @@ import { defineConfig } from "vitepress"; -import packageJson from "../../../../packages/nui/package.json"; +import packageJson from "../../../../packages/sit-onyx/package.json"; import { getComponents } from "./utils"; // https://vitepress.dev/reference/site-config export default defineConfig({ - title: "NUI", + title: "Onyx", description: "Vue.js component library and design system", themeConfig: { externalLinkIcon: true, @@ -26,7 +26,7 @@ export default defineConfig({ nav: [ { text: "Getting Started", link: "/getting-started" }, { text: "Report a bug", link: packageJson.bugs.url }, - { text: "Q&A", link: "https://github.com/schwarzit/nui/discussions/categories/q-a" }, + { text: "Q&A", link: "https://github.com/schwarzit/onyx/discussions/categories/q-a" }, ], socialLinks: [{ icon: "github", link: packageJson.repository.url }], sidebar: [ diff --git a/apps/docs/src/.vitepress/env.ts b/apps/docs/src/.vitepress/env.ts index 3799e5d0c4..398c2f2422 100644 --- a/apps/docs/src/.vitepress/env.ts +++ b/apps/docs/src/.vitepress/env.ts @@ -1,5 +1,5 @@ export const vitepressEnv = { storybookHost: import.meta.env.VITE_STORYBOOK_HOST || - "https://nui-storybook-dev.apps.01.cf.eu01.stackit.cloud", + "https://onyx-storybook-dev.apps.01.cf.eu01.stackit.cloud", } as const; diff --git a/apps/docs/src/.vitepress/utils.ts b/apps/docs/src/.vitepress/utils.ts index 75d474bcba..7a17ffd610 100644 --- a/apps/docs/src/.vitepress/utils.ts +++ b/apps/docs/src/.vitepress/utils.ts @@ -2,9 +2,11 @@ import fs from "node:fs"; import { fileURLToPath } from "node:url"; /** - * Gets a list of all available NUI component names. + * Gets a list of all available Onyx component names. */ export const getComponents = () => { - const path = fileURLToPath(new URL("../../../../packages/nui/src/components", import.meta.url)); + const path = fileURLToPath( + new URL("../../../../packages/sit-onyx/src/components", import.meta.url), + ); return fs.readdirSync(path); }; diff --git a/apps/docs/src/getting-started.md b/apps/docs/src/getting-started.md index 486256afaa..e85a99b8a5 100644 --- a/apps/docs/src/getting-started.md +++ b/apps/docs/src/getting-started.md @@ -2,14 +2,13 @@ ::: warning Work in progress / Active development This library is currently in early / active development. -The name `NUI` is only a working title and will be changed in the future. ::: ## Installation Install the npm package with your corresponding package manager: @@ -17,15 +16,15 @@ Install the npm package with your corresponding package manager: ::: code-group ```sh [pnpm] -pnpm add nui +pnpm add sit-onyx ``` ```sh [npm] -npm install nui +npm install sit-onyx ``` ```sh [yarn] -yarn install nui +yarn install sit-onyx ``` ::: @@ -35,9 +34,9 @@ After that, import the global CSS file: ::: code-group ```ts [main.ts] -import "nui/style.css"; -// if you override some NUI styles (e.g. CSS variables), -// make sure to import your custom CSS file after the default "nui/style.css" +import "sit-onyx/style.css"; +// if you override some Onyx styles (e.g. CSS variables), +// make sure to import your custom CSS file after the default "sit-onyx/style.css" ``` ::: @@ -46,10 +45,10 @@ Components are now ready to be used, e.g.: ```vue ``` diff --git a/apps/docs/src/index.md b/apps/docs/src/index.md index edbd5ecdb0..4455ac7bd6 100644 --- a/apps/docs/src/index.md +++ b/apps/docs/src/index.md @@ -3,9 +3,9 @@ layout: home hero: - name: NUI + name: Onyx text: Design system - tagline: A Vue.js component library and design system created by Schwarz IT. + tagline: A design system and Vue.js component library created by Schwarz IT. image: src: /schwarz-group.svg alt: Logo of the Schwarz Group @@ -16,21 +16,21 @@ hero: features: - title: Powerful - details: NUIs advanced components are designed for enterprise grade applications. Including everything you need to build your next enterprise or even personal project. + details: Onyx's advanced components are designed for enterprise grade applications. Including everything you need to build your next enterprise or even personal project. icon: 🚀 - title: Flexible and modular - details: You can build a whole application with NUI or only use a few of our customizable components into an existing application. + details: You can build a whole application with Onyx or only use a few of our customizable components into an existing application. icon: 📦 - title: Themeable details: We provide a well crafted theme out-of-the-box. Feel free to customize it to perfectly fit your look and feel. icon: 🎨 - title: First class DX - details: Developer Experience is our top priority. NUI is fully written in TypeScript with great type support and generically typed components. + details: Developer Experience is our top priority. Onyx is fully written in TypeScript with great type support and generically typed components. icon: src: /icons/typescript.svg alt: TypeScript logo - title: Figma library - details: NUI also offers a Figma library for design purposes. Connecting Design and Development. + details: Onyx also offers a Figma library for design purposes. Connecting Design and Development. icon: src: /icons/figma.svg alt: Figma logo diff --git a/apps/docs/src/team.md b/apps/docs/src/team.md index a553e76661..79ad61dd32 100644 --- a/apps/docs/src/team.md +++ b/apps/docs/src/team.md @@ -56,11 +56,9 @@ const members = [ # Meet the team 👋 -NUI is maintained by [Schwarz IT](https://it.schwarz). Below you will find the members of our Core Team. +Onyx is maintained by [Schwarz IT](https://it.schwarz). Below you will find the members of our Core Team. -Are you looking for a bug report or feature request? Then please use our [GitHub issues](https://github.com/schwarzit/nui/issues). -For general Q&A, announcements and polls feel free to visit our community space via [GitHub discussions](https://github.com/schwarzit/nui/discussions/categories/q-a). - -For business requests you can [contact Martin Hofmann](mailto:martin.hofmann@mail.schwarz). +Are you looking for a bug report or feature request? Then please use our [GitHub issues](https://github.com/schwarzit/onyx/issues). +For general Q&A, announcements and polls feel free to visit our community space via [GitHub discussions](https://github.com/schwarzit/onyx/discussions/categories/q-a). diff --git a/packages/nui/.cloud-foundry/Staticfile b/packages/sit-onyx/.cloud-foundry/Staticfile similarity index 100% rename from packages/nui/.cloud-foundry/Staticfile rename to packages/sit-onyx/.cloud-foundry/Staticfile diff --git a/packages/nui/.cloud-foundry/manifest-dev.yml b/packages/sit-onyx/.cloud-foundry/manifest-dev.yml similarity index 77% rename from packages/nui/.cloud-foundry/manifest-dev.yml rename to packages/sit-onyx/.cloud-foundry/manifest-dev.yml index a99a95390d..d2c9d63d52 100644 --- a/packages/nui/.cloud-foundry/manifest-dev.yml +++ b/packages/sit-onyx/.cloud-foundry/manifest-dev.yml @@ -1,5 +1,5 @@ --- applications: - - name: nui-storybook-dev + - name: onyx-storybook-dev memory: 64M buildpack: https://github.com/cloudfoundry/staticfile-buildpack diff --git a/packages/nui/.eslintrc.cjs b/packages/sit-onyx/.eslintrc.cjs similarity index 100% rename from packages/nui/.eslintrc.cjs rename to packages/sit-onyx/.eslintrc.cjs diff --git a/packages/nui/.storybook/docs-template.mdx b/packages/sit-onyx/.storybook/docs-template.mdx similarity index 100% rename from packages/nui/.storybook/docs-template.mdx rename to packages/sit-onyx/.storybook/docs-template.mdx diff --git a/packages/nui/.storybook/docs-template.scss b/packages/sit-onyx/.storybook/docs-template.scss similarity index 100% rename from packages/nui/.storybook/docs-template.scss rename to packages/sit-onyx/.storybook/docs-template.scss diff --git a/packages/nui/.storybook/main.ts b/packages/sit-onyx/.storybook/main.ts similarity index 100% rename from packages/nui/.storybook/main.ts rename to packages/sit-onyx/.storybook/main.ts diff --git a/packages/nui/.storybook/mdx.d.ts b/packages/sit-onyx/.storybook/mdx.d.ts similarity index 100% rename from packages/nui/.storybook/mdx.d.ts rename to packages/sit-onyx/.storybook/mdx.d.ts diff --git a/packages/nui/.storybook/preview.ts b/packages/sit-onyx/.storybook/preview.ts similarity index 91% rename from packages/nui/.storybook/preview.ts rename to packages/sit-onyx/.storybook/preview.ts index 05f74f18bd..fb379e3cd3 100644 --- a/packages/nui/.storybook/preview.ts +++ b/packages/sit-onyx/.storybook/preview.ts @@ -1,4 +1,4 @@ -import { createPreview } from "@temp-nui/storybook-utils"; +import { createPreview } from "@sit-onyx/storybook-utils"; import docsTemplate from "./docs-template.mdx"; import "@/styles/index.scss"; diff --git a/packages/nui/README.md b/packages/sit-onyx/README.md similarity index 55% rename from packages/nui/README.md rename to packages/sit-onyx/README.md index 88308cdd3c..dbd2af69a3 100644 --- a/packages/nui/README.md +++ b/packages/sit-onyx/README.md @@ -6,11 +6,11 @@

-# NUI +# Onyx -A Vue.js UI component library and Design System created by [Schwarz IT](https://it.schwarz). +A design system and Vue.js component library created by [Schwarz IT](https://it.schwarz). -> **Work in progress**: This library is currently in early / active development.
**Working title**: The name `NUI` is only a working title and will be changed in the future. +> **Work in progress**: This library is currently in early / active development.
@@ -21,38 +21,38 @@ Install the npm package with your corresponding package manager: ### pnpm ```sh -pnpm add nui +pnpm add sit-onyx ``` ### npm ```sh -npm install nui +npm install sit-onyx ``` ### yarn ```sh -yarn install nui +yarn install sit-onyx ``` After that, import the global CSS file in your `main.ts` file: ```ts -import "nui/style.css"; -// if you override some NUI styles (e.g. CSS variables), -// make sure to import your custom CSS file after the default "nui/style.css" +import "sit-onyx/style.css"; +// if you override some Onyx styles (e.g. CSS variables), +// make sure to import your custom CSS file after the default "sit-onyx/style.css" ``` Components are now ready to be used, e.g.: ```vue ``` diff --git a/packages/nui/env.d.ts b/packages/sit-onyx/env.d.ts similarity index 100% rename from packages/nui/env.d.ts rename to packages/sit-onyx/env.d.ts diff --git a/packages/nui/package.json b/packages/sit-onyx/package.json similarity index 80% rename from packages/nui/package.json rename to packages/sit-onyx/package.json index 6409d5b44a..1f858905fe 100644 --- a/packages/nui/package.json +++ b/packages/sit-onyx/package.json @@ -1,6 +1,6 @@ { - "name": "@temp-nui/nui", - "description": "A Vue.js UI component library and Design System created by Schwarz IT", + "name": "sit-onyx", + "description": "A design system and Vue.js component library created by Schwarz IT", "version": "0.0.0", "type": "module", "license": "Apache-2.0", @@ -17,11 +17,11 @@ }, "repository": { "type": "git", - "url": "https://github.com/schwarzit/nui", - "directory": "packages/nui" + "url": "https://github.com/schwarzit/onyx", + "directory": "packages/sit-onyx" }, "bugs": { - "url": "https://github.com/schwarzit/nui/issues" + "url": "https://github.com/schwarzit/onyx/issues" }, "scripts": { "dev": "storybook dev -p 6006 --no-open", @@ -38,7 +38,7 @@ "vue": ">= 3" }, "devDependencies": { - "@temp-nui/storybook-utils": "workspace:^", + "@sit-onyx/storybook-utils": "workspace:^", "@playwright/experimental-ct-vue": "^1.40.1", "@playwright/test": "^1.40.1", "@storybook/addon-essentials": "^7.6.4", diff --git a/packages/nui/playwright.config.ts b/packages/sit-onyx/playwright.config.ts similarity index 100% rename from packages/nui/playwright.config.ts rename to packages/sit-onyx/playwright.config.ts diff --git a/packages/nui/playwright/index.html b/packages/sit-onyx/playwright/index.html similarity index 100% rename from packages/nui/playwright/index.html rename to packages/sit-onyx/playwright/index.html diff --git a/packages/nui/playwright/index.ts b/packages/sit-onyx/playwright/index.ts similarity index 100% rename from packages/nui/playwright/index.ts rename to packages/sit-onyx/playwright/index.ts diff --git a/packages/nui/src/components/TestInput/TestInput.spec.tsx b/packages/sit-onyx/src/components/TestInput/TestInput.spec.tsx similarity index 100% rename from packages/nui/src/components/TestInput/TestInput.spec.tsx rename to packages/sit-onyx/src/components/TestInput/TestInput.spec.tsx diff --git a/packages/nui/src/components/TestInput/TestInput.stories.ts b/packages/sit-onyx/src/components/TestInput/TestInput.stories.ts similarity index 91% rename from packages/nui/src/components/TestInput/TestInput.stories.ts rename to packages/sit-onyx/src/components/TestInput/TestInput.stories.ts index 348f2687e9..04fc674be7 100644 --- a/packages/nui/src/components/TestInput/TestInput.stories.ts +++ b/packages/sit-onyx/src/components/TestInput/TestInput.stories.ts @@ -1,4 +1,4 @@ -import { defineStorybookActionsAndVModels } from "@temp-nui/storybook-utils"; +import { defineStorybookActionsAndVModels } from "@sit-onyx/storybook-utils"; import type { Meta, StoryObj } from "@storybook/vue3"; import TestInput from "./TestInput.vue"; diff --git a/packages/nui/src/components/TestInput/TestInput.vue b/packages/sit-onyx/src/components/TestInput/TestInput.vue similarity index 100% rename from packages/nui/src/components/TestInput/TestInput.vue rename to packages/sit-onyx/src/components/TestInput/TestInput.vue diff --git a/packages/nui/src/index.ts b/packages/sit-onyx/src/index.ts similarity index 100% rename from packages/nui/src/index.ts rename to packages/sit-onyx/src/index.ts diff --git a/packages/nui/src/styles/index.scss b/packages/sit-onyx/src/styles/index.scss similarity index 100% rename from packages/nui/src/styles/index.scss rename to packages/sit-onyx/src/styles/index.scss diff --git a/packages/nui/tsconfig.app.json b/packages/sit-onyx/tsconfig.app.json similarity index 100% rename from packages/nui/tsconfig.app.json rename to packages/sit-onyx/tsconfig.app.json diff --git a/packages/nui/tsconfig.json b/packages/sit-onyx/tsconfig.json similarity index 100% rename from packages/nui/tsconfig.json rename to packages/sit-onyx/tsconfig.json diff --git a/packages/nui/tsconfig.node.json b/packages/sit-onyx/tsconfig.node.json similarity index 100% rename from packages/nui/tsconfig.node.json rename to packages/sit-onyx/tsconfig.node.json diff --git a/packages/nui/tsconfig.vitest.json b/packages/sit-onyx/tsconfig.vitest.json similarity index 100% rename from packages/nui/tsconfig.vitest.json rename to packages/sit-onyx/tsconfig.vitest.json diff --git a/packages/nui/vite.config.ts b/packages/sit-onyx/vite.config.ts similarity index 100% rename from packages/nui/vite.config.ts rename to packages/sit-onyx/vite.config.ts diff --git a/packages/storybook-utils/package.json b/packages/storybook-utils/package.json index 5f875eb185..55387a2ee2 100644 --- a/packages/storybook-utils/package.json +++ b/packages/storybook-utils/package.json @@ -1,5 +1,5 @@ { - "name": "@temp-nui/storybook-utils", + "name": "@sit-onyx/storybook-utils", "description": "Storybook utilities for Vue", "version": "0.0.0", "type": "module", diff --git a/packages/storybook-utils/src/actions.ts b/packages/storybook-utils/src/actions.ts index d092f5b25b..d951664f46 100644 --- a/packages/storybook-utils/src/actions.ts +++ b/packages/storybook-utils/src/actions.ts @@ -11,7 +11,7 @@ import type { DefineStorybookActionsAndVModelsOptions, ExtractVueEventNames } fr * @example * ```ts * // Input.stories.ts - * import { defineStorybookActionsAndVModels } from '@temp-nui/storybook-utils'; + * import { defineStorybookActionsAndVModels } from '@sit-onyx/storybook-utils'; * import type { Meta } from '@storybook/vue3'; * import Input from './Input.vue'; * diff --git a/packages/storybook-utils/src/preview.ts b/packages/storybook-utils/src/preview.ts index 5ba1f0be78..323268e30b 100644 --- a/packages/storybook-utils/src/preview.ts +++ b/packages/storybook-utils/src/preview.ts @@ -6,7 +6,7 @@ import { deepmerge } from "deepmerge-ts"; import { DARK_MODE_EVENT_NAME } from "storybook-dark-mode"; /** - * Creates a default Storybook preview configuration for NUI with the following features: + * Creates a default Storybook preview configuration for 'Onyx' with the following features: * - Improved controls (sorting and expanded controls so descriptions etc. are also shown in a single story) * - Improved Vue-specific code highlighting (e.g. using `@` instead of `v-on:`) * - Setup for dark mode (including docs page). Requires addon `storybook-dark-mode` to be enabled in .storybook/main.ts file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d167b65e37..a03860dd26 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,7 +87,7 @@ importers: specifier: ^1.0.0-rc.31 version: 1.0.0-rc.31(@algolia/client-search@4.21.0)(@types/node@20.10.4)(sass@1.69.5)(search-insights@2.13.0)(typescript@5.3.3) - packages/nui: + packages/sit-onyx: dependencies: vue: specifier: '>= 3' @@ -111,7 +111,7 @@ importers: '@storybook/vue3-vite': specifier: ^7.6.4 version: 7.6.4(@vue/compiler-core@3.3.11)(typescript@5.3.3)(vite@5.0.7)(vue@3.3.11) - '@temp-nui/storybook-utils': + '@sit-onyx/storybook-utils': specifier: workspace:^ version: link:../storybook-utils '@vue/compiler-dom':