diff --git a/.backstage/component-einride-ui-dates.yaml b/.backstage/component-einride-ui-dates.yaml deleted file mode 100644 index 85e256a22..000000000 --- a/.backstage/component-einride-ui-dates.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: backstage.io/v1alpha1 -kind: Component -metadata: - name: einride-ui-dates - title: Einride UI dates - description: Date components that adhere to Einride's design system. - annotations: - backstage.io/source-location: url:https://github.com/einride/einride-ui/tree/main - github.com/project-slug: einride/ui - github.com/team-slug: einride/team-divops -spec: - type: library - system: einride-ui - owner: team-divops - lifecycle: production diff --git a/.backstage/component-einride-ui-labs.yaml b/.backstage/component-einride-ui-labs.yaml deleted file mode 100644 index e11df2707..000000000 --- a/.backstage/component-einride-ui-labs.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: backstage.io/v1alpha1 -kind: Component -metadata: - name: einride-ui-labs - title: Einride UI labs - description: Experimental new components that are not yet included in the core package. - annotations: - backstage.io/source-location: url:https://github.com/einride/einride-ui/tree/main - github.com/project-slug: einride/ui - github.com/team-slug: einride/team-divops -spec: - type: library - system: einride-ui - owner: team-divops - lifecycle: experimental diff --git a/.backstage/component-einride-ui-maps.yaml b/.backstage/component-einride-ui-maps.yaml deleted file mode 100644 index 20d3ba1de..000000000 --- a/.backstage/component-einride-ui-maps.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: backstage.io/v1alpha1 -kind: Component -metadata: - name: einride-ui-maps - title: Einride UI maps - description: Map components that adhere to Einride's design system. - annotations: - backstage.io/source-location: url:https://github.com/einride/einride-ui/tree/main - github.com/project-slug: einride/ui - github.com/team-slug: einride/team-divops -spec: - type: library - system: einride-ui - owner: team-divops - lifecycle: production diff --git a/.backstage/component-einride-ui.yaml b/.backstage/component-einride-ui.yaml index f4a84d155..62545e66c 100644 --- a/.backstage/component-einride-ui.yaml +++ b/.backstage/component-einride-ui.yaml @@ -7,9 +7,9 @@ metadata: annotations: backstage.io/source-location: url:https://github.com/einride/einride-ui/tree/main github.com/project-slug: einride/ui - github.com/team-slug: einride/team-divops + github.com/team-slug: einride/platform-engineering spec: type: library system: einride-ui - owner: team-divops + owner: platform-engineering lifecycle: production diff --git a/.backstage/system.yaml b/.backstage/system.yaml index 2b08bcfaf..2927de352 100644 --- a/.backstage/system.yaml +++ b/.backstage/system.yaml @@ -5,5 +5,5 @@ metadata: title: Einride UI description: Einride's UI framework. spec: - owner: team-divops + owner: platform-engineering domain: developer-platform diff --git a/.storybook/main.ts b/.storybook/main.ts index e8158cc07..471fae304 100644 --- a/.storybook/main.ts +++ b/.storybook/main.ts @@ -3,30 +3,7 @@ import { mergeConfig } from "vite" import turbosnap from "vite-plugin-turbosnap" export default { - stories: [ - "../packages/einride-ui/src/docs", - "../packages/einride-ui/src/components", - { - directory: "../packages/einride-ui-dates/src/components", - titlePrefix: "dates", - }, - { - directory: "../packages/einride-ui-maps/src/assets", - titlePrefix: "maps", - }, - { - directory: "../packages/einride-ui-maps/src/components", - titlePrefix: "maps", - }, - { - directory: "../packages/einride-ui-maps/src/hooks", - titlePrefix: "maps", - }, - { - directory: "../packages/einride-ui-labs/src/components", - titlePrefix: "labs", - }, - ], + stories: ["../src/docs", "../src/components"], addons: [ "@storybook/addon-essentials", "@storybook/addon-styling", diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx index 4b44a7097..ffcd5b176 100644 --- a/.storybook/preview.tsx +++ b/.storybook/preview.tsx @@ -5,11 +5,11 @@ import { DocsContainer } from "@storybook/blocks" import { Preview, StoryContext, StoryFn } from "@storybook/react" import { themes } from "@storybook/theming" import React, { CSSProperties } from "react" -import { EinrideProvider } from "../packages/einride-ui/src/contexts/EinrideProvider" -import { GlobalStyles } from "../packages/einride-ui/src/lib/GlobalStyles" -import { einrideTheme } from "../packages/einride-ui/src/lib/theme/einride" -import { themes as einrideThemes } from "../packages/einride-ui/src/lib/theme/theme" -import { color } from "../packages/einride-ui/src/primitives/color" +import { EinrideProvider } from "../src/contexts/EinrideProvider" +import { GlobalStyles } from "../src/lib/GlobalStyles" +import { einrideTheme } from "../src/lib/theme/einride" +import { themes as einrideThemes } from "../src/lib/theme/theme" +import { color } from "../src/primitives/color" const customViewports = { small: { diff --git a/packages/einride-ui/CHANGELOG.md b/CHANGELOG.md similarity index 100% rename from packages/einride-ui/CHANGELOG.md rename to CHANGELOG.md diff --git a/package.json b/package.json index c17f3741a..6452c5b1c 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,9 @@ { - "name": "@einride/ui-monorepo", - "private": true, - "workspaces": [ - "packages/*" - ], + "name": "@einride/ui", + "version": "7.69.0", + "description": "Core components that adhere to Einride's design system", "scripts": { - "build": "yarn build:einride-ui", - "build:einride-ui": "yarn workspace @einride/ui build", + "build": "rollup --config", "build-storybook": "storybook build", "review": "concurrently --kill-others-on-fail 'yarn commitlint' 'yarn format-check' 'yarn lint' 'yarn test' 'yarn typecheck' 'yarn build'", "storybook": "storybook dev -p 6006", @@ -15,12 +12,29 @@ "commitlint": "commitlint --from origin/main --to HEAD", "format": "prettier --write .", "format-check": "prettier --check .", - "lint": "eslint --ext ts,tsx packages", + "lint": "eslint --ext ts,tsx .", "release": "yarn build && yarn changeset publish", "test": "vitest run", "test-watch": "vitest", "typecheck": "tsc" }, + "dependencies": { + "@einride/hooks": "1.7.9", + "@emotion/is-prop-valid": "1.2.2", + "@mantine/core": "7.1.1", + "@mantine/dates": "7.1.1", + "@mantine/hooks": "7.1.1", + "@radix-ui/react-alert-dialog": "1.0.5", + "@radix-ui/react-dialog": "1.0.5", + "@radix-ui/react-dropdown-menu": "2.0.6", + "@radix-ui/react-radio-group": "1.1.3", + "@radix-ui/react-slider": "1.1.2", + "@radix-ui/react-switch": "1.0.3", + "@radix-ui/react-tabs": "1.0.4", + "@radix-ui/react-tooltip": "1.0.7", + "dayjs": "1.11.10", + "lodash.merge": "4.6.2" + }, "devDependencies": { "@changesets/cli": "2.27.1", "@commitlint/cli": "19.0.3", @@ -28,6 +42,11 @@ "@einride/eslint-plugin": "7.9.0", "@einride/prettier-config": "2.1.0", "@einride/tsconfig": "2.1.0", + "@emotion/react": "11.11.4", + "@emotion/styled": "11.11.0", + "@faker-js/faker": "8.4.1", + "@rollup/plugin-image": "3.0.3", + "@rollup/plugin-typescript": "11.1.2", "@storybook/addon-a11y": "7.6.17", "@storybook/addon-actions": "7.6.17", "@storybook/addon-coverage": "1.0.1", @@ -47,12 +66,21 @@ "@testing-library/jest-dom": "6.4.2", "@testing-library/react": "14.2.1", "@testing-library/user-event": "14.5.2", + "@types/lodash.merge": "4.6.9", + "@types/luxon": "3.4.2", + "@types/react": "18.2.61", + "@types/react-dom": "18.2.19", + "@vitejs/plugin-react": "4.2.1", + "chromatic": "11.0.0", "concurrently": "8.2.2", "eslint": "8.57.0", "eslint-plugin-storybook": "0.8.0", + "framer-motion": "11.0.8", + "luxon": "3.4.4", "prettier": "3.2.5", "react": "18.2.0", "react-dom": "18.2.0", + "rollup": "4.12.0", "storybook": "7.6.17", "tslib": "2.6.2", "typescript": "5.3.3", @@ -61,5 +89,46 @@ "vite-tsconfig-paths": "4.3.1", "vitest": "1.3.1" }, + "peerDependencies": { + "@emotion/react": "^11.4.1", + "@emotion/styled": "^11.3.0", + "framer-motion": ">=6.2.8", + "react": "^18.0.0" + }, + "files": [ + "dist" + ], + "types": "./dist/index.d.ts", + "main": "./dist/main.cjs.js", + "module": "./dist/main.esm.js", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/main.esm.js", + "require": "./dist/main.cjs.js" + } + }, + "keywords": [ + "react", + "typescript", + "ui", + "components", + "library" + ], + "homepage": "https://github.com/einride/ui", + "repository": { + "type": "git", + "url": "https://github.com/einride/ui.git" + }, + "bugs": { + "email": "open-source@einride.tech", + "url": "https://github.com/einride/ui/issues" + }, + "license": "MIT", + "author": "Filip TammergÄrd https://github.com/filiptammergard", + "publishConfig": { + "access": "public", + "provenance": true + }, "packageManager": "yarn@3.4.1" } diff --git a/packages/einride-ui/README.md b/packages/einride-ui/README.md deleted file mode 100644 index b4ca2cd4e..000000000 --- a/packages/einride-ui/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# @einride/ui - -[![license](https://img.shields.io/npm/l/@einride/ui.svg)](https://github.com/einride/ui/blob/main/LICENSE) -[![npm version](https://img.shields.io/npm/v/@einride/ui.svg)](https://www.npmjs.com/package/@einride/ui) -[![total npm downloads](https://img.shields.io/npm/dt/@einride/ui.svg)](https://www.npmjs.com/package/@einride/ui) - -Core UI components. diff --git a/packages/einride-ui/package.json b/packages/einride-ui/package.json deleted file mode 100644 index b79c7075c..000000000 --- a/packages/einride-ui/package.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "name": "@einride/ui", - "version": "7.69.0", - "description": "Core components that adhere to Einride's design system", - "scripts": { - "build": "rollup --config" - }, - "dependencies": { - "@einride/hooks": "1.7.9", - "@emotion/is-prop-valid": "1.2.2", - "@mantine/core": "7.1.1", - "@mantine/dates": "7.1.1", - "@mantine/hooks": "7.1.1", - "@radix-ui/react-alert-dialog": "1.0.5", - "@radix-ui/react-dialog": "1.0.5", - "@radix-ui/react-dropdown-menu": "2.0.6", - "@radix-ui/react-radio-group": "1.1.3", - "@radix-ui/react-slider": "1.1.2", - "@radix-ui/react-switch": "1.0.3", - "@radix-ui/react-tabs": "1.0.4", - "@radix-ui/react-tooltip": "1.0.7", - "dayjs": "1.11.10", - "lodash.merge": "4.6.2" - }, - "devDependencies": { - "@emotion/react": "11.11.4", - "@emotion/styled": "11.11.0", - "@faker-js/faker": "8.4.1", - "@rollup/plugin-image": "3.0.3", - "@rollup/plugin-typescript": "11.1.2", - "@storybook/jest": "0.2.3", - "@storybook/react": "7.6.17", - "@storybook/testing-library": "0.2.2", - "@types/lodash.merge": "4.6.9", - "@types/luxon": "3.4.2", - "@types/react": "18.2.61", - "@types/react-dom": "18.2.19", - "@vitejs/plugin-react": "4.2.1", - "chromatic": "11.0.0", - "concurrently": "8.2.2", - "framer-motion": "11.0.8", - "luxon": "3.4.4", - "react": "18.2.0", - "react-dom": "18.2.0", - "rollup": "4.12.0", - "typescript": "5.3.3", - "vite": "5.1.4" - }, - "peerDependencies": { - "@emotion/react": "^11.4.1", - "@emotion/styled": "^11.3.0", - "framer-motion": ">=6.2.8", - "react": "^18.0.0" - }, - "files": [ - "dist" - ], - "types": "./dist/index.d.ts", - "main": "./dist/main.cjs.js", - "module": "./dist/main.esm.js", - "exports": { - ".": { - "types": "./dist/index.d.ts", - "import": "./dist/main.esm.js", - "require": "./dist/main.cjs.js" - } - }, - "keywords": [ - "react", - "typescript", - "ui", - "components", - "library" - ], - "homepage": "https://github.com/einride/ui", - "repository": { - "type": "git", - "url": "https://github.com/einride/ui.git", - "directory": "packages/einride-ui" - }, - "bugs": { - "email": "open-source@einride.tech", - "url": "https://github.com/einride/ui/issues" - }, - "license": "MIT", - "author": "Filip TammergÄrd https://github.com/filiptammergard", - "publishConfig": { - "access": "public", - "provenance": true - }, - "packageManager": "yarn@3.4.1" -} diff --git a/packages/einride-ui/tsconfig.json b/packages/einride-ui/tsconfig.json deleted file mode 100644 index 9c5bf81aa..000000000 --- a/packages/einride-ui/tsconfig.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "extends": "../../tsconfig.json", - "compilerOptions": { - "baseUrl": "./", - "composite": true, - "moduleResolution": "node", - "rootDir": "./src" - } -} diff --git a/packages/einride-ui/rollup.config.mjs b/rollup.config.mjs similarity index 100% rename from packages/einride-ui/rollup.config.mjs rename to rollup.config.mjs diff --git a/packages/einride-ui/src/components/cards/Card/Card.mdx b/src/components/cards/Card/Card.mdx similarity index 100% rename from packages/einride-ui/src/components/cards/Card/Card.mdx rename to src/components/cards/Card/Card.mdx diff --git a/packages/einride-ui/src/components/cards/Card/Card.stories.tsx b/src/components/cards/Card/Card.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/cards/Card/Card.stories.tsx rename to src/components/cards/Card/Card.stories.tsx diff --git a/packages/einride-ui/src/components/cards/Card/Card.tsx b/src/components/cards/Card/Card.tsx similarity index 100% rename from packages/einride-ui/src/components/cards/Card/Card.tsx rename to src/components/cards/Card/Card.tsx diff --git a/packages/einride-ui/src/components/charts/LinearGauge/LinearGauge.mdx b/src/components/charts/LinearGauge/LinearGauge.mdx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearGauge/LinearGauge.mdx rename to src/components/charts/LinearGauge/LinearGauge.mdx diff --git a/packages/einride-ui/src/components/charts/LinearGauge/LinearGauge.stories.tsx b/src/components/charts/LinearGauge/LinearGauge.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearGauge/LinearGauge.stories.tsx rename to src/components/charts/LinearGauge/LinearGauge.stories.tsx diff --git a/packages/einride-ui/src/components/charts/LinearGauge/LinearGauge.tsx b/src/components/charts/LinearGauge/LinearGauge.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearGauge/LinearGauge.tsx rename to src/components/charts/LinearGauge/LinearGauge.tsx diff --git a/packages/einride-ui/src/components/charts/LinearGauge/LinearGaugeProgress.tsx b/src/components/charts/LinearGauge/LinearGaugeProgress.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearGauge/LinearGaugeProgress.tsx rename to src/components/charts/LinearGauge/LinearGaugeProgress.tsx diff --git a/packages/einride-ui/src/components/charts/LinearProgress/LinearProgress.mdx b/src/components/charts/LinearProgress/LinearProgress.mdx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearProgress/LinearProgress.mdx rename to src/components/charts/LinearProgress/LinearProgress.mdx diff --git a/packages/einride-ui/src/components/charts/LinearProgress/LinearProgress.stories.tsx b/src/components/charts/LinearProgress/LinearProgress.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearProgress/LinearProgress.stories.tsx rename to src/components/charts/LinearProgress/LinearProgress.stories.tsx diff --git a/packages/einride-ui/src/components/charts/LinearProgress/LinearProgress.tsx b/src/components/charts/LinearProgress/LinearProgress.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearProgress/LinearProgress.tsx rename to src/components/charts/LinearProgress/LinearProgress.tsx diff --git a/packages/einride-ui/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.mdx b/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.mdx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.mdx rename to src/components/charts/LinearVerticalProgress/LinearVerticalProgress.mdx diff --git a/packages/einride-ui/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.stories.tsx b/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.stories.tsx rename to src/components/charts/LinearVerticalProgress/LinearVerticalProgress.stories.tsx diff --git a/packages/einride-ui/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.tsx b/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/LinearVerticalProgress/LinearVerticalProgress.tsx rename to src/components/charts/LinearVerticalProgress/LinearVerticalProgress.tsx diff --git a/packages/einride-ui/src/components/charts/StepGauge/PointerIcon.tsx b/src/components/charts/StepGauge/PointerIcon.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepGauge/PointerIcon.tsx rename to src/components/charts/StepGauge/PointerIcon.tsx diff --git a/packages/einride-ui/src/components/charts/StepGauge/StepGauge.mdx b/src/components/charts/StepGauge/StepGauge.mdx similarity index 100% rename from packages/einride-ui/src/components/charts/StepGauge/StepGauge.mdx rename to src/components/charts/StepGauge/StepGauge.mdx diff --git a/packages/einride-ui/src/components/charts/StepGauge/StepGauge.stories.tsx b/src/components/charts/StepGauge/StepGauge.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepGauge/StepGauge.stories.tsx rename to src/components/charts/StepGauge/StepGauge.stories.tsx diff --git a/packages/einride-ui/src/components/charts/StepGauge/StepGauge.tsx b/src/components/charts/StepGauge/StepGauge.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepGauge/StepGauge.tsx rename to src/components/charts/StepGauge/StepGauge.tsx diff --git a/packages/einride-ui/src/components/charts/StepGauge/StepGaugeStep.tsx b/src/components/charts/StepGauge/StepGaugeStep.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepGauge/StepGaugeStep.tsx rename to src/components/charts/StepGauge/StepGaugeStep.tsx diff --git a/packages/einride-ui/src/components/charts/StepProgress/StepProgress.mdx b/src/components/charts/StepProgress/StepProgress.mdx similarity index 100% rename from packages/einride-ui/src/components/charts/StepProgress/StepProgress.mdx rename to src/components/charts/StepProgress/StepProgress.mdx diff --git a/packages/einride-ui/src/components/charts/StepProgress/StepProgress.stories.tsx b/src/components/charts/StepProgress/StepProgress.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepProgress/StepProgress.stories.tsx rename to src/components/charts/StepProgress/StepProgress.stories.tsx diff --git a/packages/einride-ui/src/components/charts/StepProgress/StepProgress.tsx b/src/components/charts/StepProgress/StepProgress.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepProgress/StepProgress.tsx rename to src/components/charts/StepProgress/StepProgress.tsx diff --git a/packages/einride-ui/src/components/charts/StepVerticalProgress/StepVerticalProgress.mdx b/src/components/charts/StepVerticalProgress/StepVerticalProgress.mdx similarity index 100% rename from packages/einride-ui/src/components/charts/StepVerticalProgress/StepVerticalProgress.mdx rename to src/components/charts/StepVerticalProgress/StepVerticalProgress.mdx diff --git a/packages/einride-ui/src/components/charts/StepVerticalProgress/StepVerticalProgress.stories.tsx b/src/components/charts/StepVerticalProgress/StepVerticalProgress.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepVerticalProgress/StepVerticalProgress.stories.tsx rename to src/components/charts/StepVerticalProgress/StepVerticalProgress.stories.tsx diff --git a/packages/einride-ui/src/components/charts/StepVerticalProgress/StepVerticalProgress.tsx b/src/components/charts/StepVerticalProgress/StepVerticalProgress.tsx similarity index 100% rename from packages/einride-ui/src/components/charts/StepVerticalProgress/StepVerticalProgress.tsx rename to src/components/charts/StepVerticalProgress/StepVerticalProgress.tsx diff --git a/packages/einride-ui/src/components/content/Avatar/Avatar.mdx b/src/components/content/Avatar/Avatar.mdx similarity index 100% rename from packages/einride-ui/src/components/content/Avatar/Avatar.mdx rename to src/components/content/Avatar/Avatar.mdx diff --git a/packages/einride-ui/src/components/content/Avatar/Avatar.stories.tsx b/src/components/content/Avatar/Avatar.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Avatar/Avatar.stories.tsx rename to src/components/content/Avatar/Avatar.stories.tsx diff --git a/packages/einride-ui/src/components/content/Avatar/Avatar.tsx b/src/components/content/Avatar/Avatar.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Avatar/Avatar.tsx rename to src/components/content/Avatar/Avatar.tsx diff --git a/packages/einride-ui/src/components/content/Avatar/getInitials.test.ts b/src/components/content/Avatar/getInitials.test.ts similarity index 100% rename from packages/einride-ui/src/components/content/Avatar/getInitials.test.ts rename to src/components/content/Avatar/getInitials.test.ts diff --git a/packages/einride-ui/src/components/content/Avatar/getInitials.ts b/src/components/content/Avatar/getInitials.ts similarity index 100% rename from packages/einride-ui/src/components/content/Avatar/getInitials.ts rename to src/components/content/Avatar/getInitials.ts diff --git a/packages/einride-ui/src/components/content/Banner/Banner.mdx b/src/components/content/Banner/Banner.mdx similarity index 100% rename from packages/einride-ui/src/components/content/Banner/Banner.mdx rename to src/components/content/Banner/Banner.mdx diff --git a/packages/einride-ui/src/components/content/Banner/Banner.stories.tsx b/src/components/content/Banner/Banner.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Banner/Banner.stories.tsx rename to src/components/content/Banner/Banner.stories.tsx diff --git a/packages/einride-ui/src/components/content/Banner/Banner.tsx b/src/components/content/Banner/Banner.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Banner/Banner.tsx rename to src/components/content/Banner/Banner.tsx diff --git a/packages/einride-ui/src/components/content/Icon/Icon.mdx b/src/components/content/Icon/Icon.mdx similarity index 100% rename from packages/einride-ui/src/components/content/Icon/Icon.mdx rename to src/components/content/Icon/Icon.mdx diff --git a/packages/einride-ui/src/components/content/Icon/Icon.stories.tsx b/src/components/content/Icon/Icon.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Icon/Icon.stories.tsx rename to src/components/content/Icon/Icon.stories.tsx diff --git a/packages/einride-ui/src/components/content/Icon/Icon.tsx b/src/components/content/Icon/Icon.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Icon/Icon.tsx rename to src/components/content/Icon/Icon.tsx diff --git a/packages/einride-ui/src/components/content/Logo/Logo.mdx b/src/components/content/Logo/Logo.mdx similarity index 100% rename from packages/einride-ui/src/components/content/Logo/Logo.mdx rename to src/components/content/Logo/Logo.mdx diff --git a/packages/einride-ui/src/components/content/Logo/Logo.stories.tsx b/src/components/content/Logo/Logo.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Logo/Logo.stories.tsx rename to src/components/content/Logo/Logo.stories.tsx diff --git a/packages/einride-ui/src/components/content/Logo/Logo.tsx b/src/components/content/Logo/Logo.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Logo/Logo.tsx rename to src/components/content/Logo/Logo.tsx diff --git a/packages/einride-ui/src/components/content/Logo/variants/LogoLarge.tsx b/src/components/content/Logo/variants/LogoLarge.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Logo/variants/LogoLarge.tsx rename to src/components/content/Logo/variants/LogoLarge.tsx diff --git a/packages/einride-ui/src/components/content/Logo/variants/LogoSmall.tsx b/src/components/content/Logo/variants/LogoSmall.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Logo/variants/LogoSmall.tsx rename to src/components/content/Logo/variants/LogoSmall.tsx diff --git a/packages/einride-ui/src/components/content/Tooltip/Tooltip.mdx b/src/components/content/Tooltip/Tooltip.mdx similarity index 100% rename from packages/einride-ui/src/components/content/Tooltip/Tooltip.mdx rename to src/components/content/Tooltip/Tooltip.mdx diff --git a/packages/einride-ui/src/components/content/Tooltip/Tooltip.stories.tsx b/src/components/content/Tooltip/Tooltip.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Tooltip/Tooltip.stories.tsx rename to src/components/content/Tooltip/Tooltip.stories.tsx diff --git a/packages/einride-ui/src/components/content/Tooltip/Tooltip.tsx b/src/components/content/Tooltip/Tooltip.tsx similarity index 100% rename from packages/einride-ui/src/components/content/Tooltip/Tooltip.tsx rename to src/components/content/Tooltip/Tooltip.tsx diff --git a/packages/einride-ui/src/components/content/UserAccessPoint/UserAccessPoint.mdx b/src/components/content/UserAccessPoint/UserAccessPoint.mdx similarity index 100% rename from packages/einride-ui/src/components/content/UserAccessPoint/UserAccessPoint.mdx rename to src/components/content/UserAccessPoint/UserAccessPoint.mdx diff --git a/packages/einride-ui/src/components/content/UserAccessPoint/UserAccessPoint.stories.tsx b/src/components/content/UserAccessPoint/UserAccessPoint.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/content/UserAccessPoint/UserAccessPoint.stories.tsx rename to src/components/content/UserAccessPoint/UserAccessPoint.stories.tsx diff --git a/packages/einride-ui/src/components/content/UserAccessPoint/UserAccessPoint.tsx b/src/components/content/UserAccessPoint/UserAccessPoint.tsx similarity index 100% rename from packages/einride-ui/src/components/content/UserAccessPoint/UserAccessPoint.tsx rename to src/components/content/UserAccessPoint/UserAccessPoint.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/BaseButton/BaseButton.tsx b/src/components/controls/buttons/BaseButton/BaseButton.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/BaseButton/BaseButton.tsx rename to src/components/controls/buttons/BaseButton/BaseButton.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/BaseButton/BaseButtonIcon.tsx b/src/components/controls/buttons/BaseButton/BaseButtonIcon.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/BaseButton/BaseButtonIcon.tsx rename to src/components/controls/buttons/BaseButton/BaseButtonIcon.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/IconButton/IconButton.mdx b/src/components/controls/buttons/IconButton/IconButton.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/IconButton/IconButton.mdx rename to src/components/controls/buttons/IconButton/IconButton.mdx diff --git a/packages/einride-ui/src/components/controls/buttons/IconButton/IconButton.stories.tsx b/src/components/controls/buttons/IconButton/IconButton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/IconButton/IconButton.stories.tsx rename to src/components/controls/buttons/IconButton/IconButton.stories.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/IconButton/IconButton.tsx b/src/components/controls/buttons/IconButton/IconButton.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/IconButton/IconButton.tsx rename to src/components/controls/buttons/IconButton/IconButton.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/LinkButton/LinkButton.mdx b/src/components/controls/buttons/LinkButton/LinkButton.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/LinkButton/LinkButton.mdx rename to src/components/controls/buttons/LinkButton/LinkButton.mdx diff --git a/packages/einride-ui/src/components/controls/buttons/LinkButton/LinkButton.stories.tsx b/src/components/controls/buttons/LinkButton/LinkButton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/LinkButton/LinkButton.stories.tsx rename to src/components/controls/buttons/LinkButton/LinkButton.stories.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/LinkButton/LinkButton.tsx b/src/components/controls/buttons/LinkButton/LinkButton.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/LinkButton/LinkButton.tsx rename to src/components/controls/buttons/LinkButton/LinkButton.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/PrimaryButton/PrimaryButton.mdx b/src/components/controls/buttons/PrimaryButton/PrimaryButton.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/PrimaryButton/PrimaryButton.mdx rename to src/components/controls/buttons/PrimaryButton/PrimaryButton.mdx diff --git a/packages/einride-ui/src/components/controls/buttons/PrimaryButton/PrimaryButton.stories.tsx b/src/components/controls/buttons/PrimaryButton/PrimaryButton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/PrimaryButton/PrimaryButton.stories.tsx rename to src/components/controls/buttons/PrimaryButton/PrimaryButton.stories.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/PrimaryButton/PrimaryButton.tsx b/src/components/controls/buttons/PrimaryButton/PrimaryButton.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/PrimaryButton/PrimaryButton.tsx rename to src/components/controls/buttons/PrimaryButton/PrimaryButton.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/SecondaryButton/SecondaryButton.mdx b/src/components/controls/buttons/SecondaryButton/SecondaryButton.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/SecondaryButton/SecondaryButton.mdx rename to src/components/controls/buttons/SecondaryButton/SecondaryButton.mdx diff --git a/packages/einride-ui/src/components/controls/buttons/SecondaryButton/SecondaryButton.stories.tsx b/src/components/controls/buttons/SecondaryButton/SecondaryButton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/SecondaryButton/SecondaryButton.stories.tsx rename to src/components/controls/buttons/SecondaryButton/SecondaryButton.stories.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/SecondaryButton/SecondaryButton.tsx b/src/components/controls/buttons/SecondaryButton/SecondaryButton.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/SecondaryButton/SecondaryButton.tsx rename to src/components/controls/buttons/SecondaryButton/SecondaryButton.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/TertiaryButton/TertiaryButton.mdx b/src/components/controls/buttons/TertiaryButton/TertiaryButton.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/TertiaryButton/TertiaryButton.mdx rename to src/components/controls/buttons/TertiaryButton/TertiaryButton.mdx diff --git a/packages/einride-ui/src/components/controls/buttons/TertiaryButton/TertiaryButton.stories.tsx b/src/components/controls/buttons/TertiaryButton/TertiaryButton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/TertiaryButton/TertiaryButton.stories.tsx rename to src/components/controls/buttons/TertiaryButton/TertiaryButton.stories.tsx diff --git a/packages/einride-ui/src/components/controls/buttons/TertiaryButton/TertiaryButton.tsx b/src/components/controls/buttons/TertiaryButton/TertiaryButton.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/buttons/TertiaryButton/TertiaryButton.tsx rename to src/components/controls/buttons/TertiaryButton/TertiaryButton.tsx diff --git a/packages/einride-ui/src/components/controls/checkboxes/Checkbox/Checkbox.mdx b/src/components/controls/checkboxes/Checkbox/Checkbox.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/checkboxes/Checkbox/Checkbox.mdx rename to src/components/controls/checkboxes/Checkbox/Checkbox.mdx diff --git a/packages/einride-ui/src/components/controls/checkboxes/Checkbox/Checkbox.stories.tsx b/src/components/controls/checkboxes/Checkbox/Checkbox.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/checkboxes/Checkbox/Checkbox.stories.tsx rename to src/components/controls/checkboxes/Checkbox/Checkbox.stories.tsx diff --git a/packages/einride-ui/src/components/controls/checkboxes/Checkbox/Checkbox.tsx b/src/components/controls/checkboxes/Checkbox/Checkbox.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/checkboxes/Checkbox/Checkbox.tsx rename to src/components/controls/checkboxes/Checkbox/Checkbox.tsx diff --git a/packages/einride-ui/src/components/controls/dates/Calendar/Calendar.mdx b/src/components/controls/dates/Calendar/Calendar.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/Calendar/Calendar.mdx rename to src/components/controls/dates/Calendar/Calendar.mdx diff --git a/packages/einride-ui/src/components/controls/dates/Calendar/Calendar.stories.tsx b/src/components/controls/dates/Calendar/Calendar.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/Calendar/Calendar.stories.tsx rename to src/components/controls/dates/Calendar/Calendar.stories.tsx diff --git a/packages/einride-ui/src/components/controls/dates/Calendar/Calendar.tsx b/src/components/controls/dates/Calendar/Calendar.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/Calendar/Calendar.tsx rename to src/components/controls/dates/Calendar/Calendar.tsx diff --git a/packages/einride-ui/src/components/controls/dates/DatePicker/DatePicker.mdx b/src/components/controls/dates/DatePicker/DatePicker.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/DatePicker/DatePicker.mdx rename to src/components/controls/dates/DatePicker/DatePicker.mdx diff --git a/packages/einride-ui/src/components/controls/dates/DatePicker/DatePicker.stories.tsx b/src/components/controls/dates/DatePicker/DatePicker.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/DatePicker/DatePicker.stories.tsx rename to src/components/controls/dates/DatePicker/DatePicker.stories.tsx diff --git a/packages/einride-ui/src/components/controls/dates/DatePicker/DatePicker.tsx b/src/components/controls/dates/DatePicker/DatePicker.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/DatePicker/DatePicker.tsx rename to src/components/controls/dates/DatePicker/DatePicker.tsx diff --git a/packages/einride-ui/src/components/controls/dates/DateRangePicker/DateRangePicker.mdx b/src/components/controls/dates/DateRangePicker/DateRangePicker.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/DateRangePicker/DateRangePicker.mdx rename to src/components/controls/dates/DateRangePicker/DateRangePicker.mdx diff --git a/packages/einride-ui/src/components/controls/dates/DateRangePicker/DateRangePicker.stories.tsx b/src/components/controls/dates/DateRangePicker/DateRangePicker.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/DateRangePicker/DateRangePicker.stories.tsx rename to src/components/controls/dates/DateRangePicker/DateRangePicker.stories.tsx diff --git a/packages/einride-ui/src/components/controls/dates/DateRangePicker/DateRangePicker.tsx b/src/components/controls/dates/DateRangePicker/DateRangePicker.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/DateRangePicker/DateRangePicker.tsx rename to src/components/controls/dates/DateRangePicker/DateRangePicker.tsx diff --git a/packages/einride-ui/src/components/controls/dates/RangeCalendar/RangeCalendar.mdx b/src/components/controls/dates/RangeCalendar/RangeCalendar.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/RangeCalendar/RangeCalendar.mdx rename to src/components/controls/dates/RangeCalendar/RangeCalendar.mdx diff --git a/packages/einride-ui/src/components/controls/dates/RangeCalendar/RangeCalendar.stories.tsx b/src/components/controls/dates/RangeCalendar/RangeCalendar.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/RangeCalendar/RangeCalendar.stories.tsx rename to src/components/controls/dates/RangeCalendar/RangeCalendar.stories.tsx diff --git a/packages/einride-ui/src/components/controls/dates/RangeCalendar/RangeCalendar.tsx b/src/components/controls/dates/RangeCalendar/RangeCalendar.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/dates/RangeCalendar/RangeCalendar.tsx rename to src/components/controls/dates/RangeCalendar/RangeCalendar.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/BaseInput/BaseInput.tsx b/src/components/controls/inputs/BaseInput/BaseInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/BaseInput/BaseInput.tsx rename to src/components/controls/inputs/BaseInput/BaseInput.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/NumberInput/NumberInput.mdx b/src/components/controls/inputs/NumberInput/NumberInput.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/NumberInput/NumberInput.mdx rename to src/components/controls/inputs/NumberInput/NumberInput.mdx diff --git a/packages/einride-ui/src/components/controls/inputs/NumberInput/NumberInput.stories.tsx b/src/components/controls/inputs/NumberInput/NumberInput.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/NumberInput/NumberInput.stories.tsx rename to src/components/controls/inputs/NumberInput/NumberInput.stories.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/NumberInput/NumberInput.tsx b/src/components/controls/inputs/NumberInput/NumberInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/NumberInput/NumberInput.tsx rename to src/components/controls/inputs/NumberInput/NumberInput.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/SearchInput/SearchInput.mdx b/src/components/controls/inputs/SearchInput/SearchInput.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/SearchInput/SearchInput.mdx rename to src/components/controls/inputs/SearchInput/SearchInput.mdx diff --git a/packages/einride-ui/src/components/controls/inputs/SearchInput/SearchInput.stories.tsx b/src/components/controls/inputs/SearchInput/SearchInput.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/SearchInput/SearchInput.stories.tsx rename to src/components/controls/inputs/SearchInput/SearchInput.stories.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/SearchInput/SearchInput.tsx b/src/components/controls/inputs/SearchInput/SearchInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/SearchInput/SearchInput.tsx rename to src/components/controls/inputs/SearchInput/SearchInput.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/TextInput/TextInput.mdx b/src/components/controls/inputs/TextInput/TextInput.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TextInput/TextInput.mdx rename to src/components/controls/inputs/TextInput/TextInput.mdx diff --git a/packages/einride-ui/src/components/controls/inputs/TextInput/TextInput.stories.tsx b/src/components/controls/inputs/TextInput/TextInput.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TextInput/TextInput.stories.tsx rename to src/components/controls/inputs/TextInput/TextInput.stories.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/TextInput/TextInput.tsx b/src/components/controls/inputs/TextInput/TextInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TextInput/TextInput.tsx rename to src/components/controls/inputs/TextInput/TextInput.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/TimeInput/TimeInput.mdx b/src/components/controls/inputs/TimeInput/TimeInput.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TimeInput/TimeInput.mdx rename to src/components/controls/inputs/TimeInput/TimeInput.mdx diff --git a/packages/einride-ui/src/components/controls/inputs/TimeInput/TimeInput.stories.tsx b/src/components/controls/inputs/TimeInput/TimeInput.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TimeInput/TimeInput.stories.tsx rename to src/components/controls/inputs/TimeInput/TimeInput.stories.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/TimeInput/TimeInput.tsx b/src/components/controls/inputs/TimeInput/TimeInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TimeInput/TimeInput.tsx rename to src/components/controls/inputs/TimeInput/TimeInput.tsx diff --git a/packages/einride-ui/src/components/controls/inputs/TimeInput/useRangeTimeInput.ts b/src/components/controls/inputs/TimeInput/useRangeTimeInput.ts similarity index 100% rename from packages/einride-ui/src/components/controls/inputs/TimeInput/useRangeTimeInput.ts rename to src/components/controls/inputs/TimeInput/useRangeTimeInput.ts diff --git a/packages/einride-ui/src/components/controls/radios/Radio/Radio.mdx b/src/components/controls/radios/Radio/Radio.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/radios/Radio/Radio.mdx rename to src/components/controls/radios/Radio/Radio.mdx diff --git a/packages/einride-ui/src/components/controls/radios/Radio/Radio.stories.tsx b/src/components/controls/radios/Radio/Radio.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/radios/Radio/Radio.stories.tsx rename to src/components/controls/radios/Radio/Radio.stories.tsx diff --git a/packages/einride-ui/src/components/controls/radios/Radio/Radio.tsx b/src/components/controls/radios/Radio/Radio.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/radios/Radio/Radio.tsx rename to src/components/controls/radios/Radio/Radio.tsx diff --git a/packages/einride-ui/src/components/controls/segments/Segments.mdx b/src/components/controls/segments/Segments.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/segments/Segments.mdx rename to src/components/controls/segments/Segments.mdx diff --git a/packages/einride-ui/src/components/controls/segments/Segments.stories.tsx b/src/components/controls/segments/Segments.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/segments/Segments.stories.tsx rename to src/components/controls/segments/Segments.stories.tsx diff --git a/packages/einride-ui/src/components/controls/segments/Segments.tsx b/src/components/controls/segments/Segments.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/segments/Segments.tsx rename to src/components/controls/segments/Segments.tsx diff --git a/packages/einride-ui/src/components/controls/segments/SegmentsItem.tsx b/src/components/controls/segments/SegmentsItem.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/segments/SegmentsItem.tsx rename to src/components/controls/segments/SegmentsItem.tsx diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.mdx b/src/components/controls/selects/MultiSelect/MultiSelect.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.mdx rename to src/components/controls/selects/MultiSelect/MultiSelect.mdx diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.mocks.tsx b/src/components/controls/selects/MultiSelect/MultiSelect.mocks.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.mocks.tsx rename to src/components/controls/selects/MultiSelect/MultiSelect.mocks.tsx diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.stories.tsx b/src/components/controls/selects/MultiSelect/MultiSelect.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.stories.tsx rename to src/components/controls/selects/MultiSelect/MultiSelect.stories.tsx diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.tsx b/src/components/controls/selects/MultiSelect/MultiSelect.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelect.tsx rename to src/components/controls/selects/MultiSelect/MultiSelect.tsx diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelectInput.tsx b/src/components/controls/selects/MultiSelect/MultiSelectInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/MultiSelectInput.tsx rename to src/components/controls/selects/MultiSelect/MultiSelectInput.tsx diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/hooks/useUpdateInputSize.ts b/src/components/controls/selects/MultiSelect/hooks/useUpdateInputSize.ts similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/hooks/useUpdateInputSize.ts rename to src/components/controls/selects/MultiSelect/hooks/useUpdateInputSize.ts diff --git a/packages/einride-ui/src/components/controls/selects/MultiSelect/types.ts b/src/components/controls/selects/MultiSelect/types.ts similarity index 100% rename from packages/einride-ui/src/components/controls/selects/MultiSelect/types.ts rename to src/components/controls/selects/MultiSelect/types.ts diff --git a/packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelect.mdx b/src/components/controls/selects/SearchSelect/SearchSelect.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelect.mdx rename to src/components/controls/selects/SearchSelect/SearchSelect.mdx diff --git a/packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelect.stories.tsx b/src/components/controls/selects/SearchSelect/SearchSelect.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelect.stories.tsx rename to src/components/controls/selects/SearchSelect/SearchSelect.stories.tsx diff --git a/packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelect.tsx b/src/components/controls/selects/SearchSelect/SearchSelect.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelect.tsx rename to src/components/controls/selects/SearchSelect/SearchSelect.tsx diff --git a/packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelectInput.tsx b/src/components/controls/selects/SearchSelect/SearchSelectInput.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/SearchSelect/SearchSelectInput.tsx rename to src/components/controls/selects/SearchSelect/SearchSelectInput.tsx diff --git a/packages/einride-ui/src/components/controls/selects/SearchSelect/filterOptions.ts b/src/components/controls/selects/SearchSelect/filterOptions.ts similarity index 100% rename from packages/einride-ui/src/components/controls/selects/SearchSelect/filterOptions.ts rename to src/components/controls/selects/SearchSelect/filterOptions.ts diff --git a/packages/einride-ui/src/components/controls/selects/SearchSelect/types.ts b/src/components/controls/selects/SearchSelect/types.ts similarity index 100% rename from packages/einride-ui/src/components/controls/selects/SearchSelect/types.ts rename to src/components/controls/selects/SearchSelect/types.ts diff --git a/packages/einride-ui/src/components/controls/selects/Select/Select.mdx b/src/components/controls/selects/Select/Select.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/Select/Select.mdx rename to src/components/controls/selects/Select/Select.mdx diff --git a/packages/einride-ui/src/components/controls/selects/Select/Select.stories.tsx b/src/components/controls/selects/Select/Select.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/Select/Select.stories.tsx rename to src/components/controls/selects/Select/Select.stories.tsx diff --git a/packages/einride-ui/src/components/controls/selects/Select/Select.tsx b/src/components/controls/selects/Select/Select.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/selects/Select/Select.tsx rename to src/components/controls/selects/Select/Select.tsx diff --git a/packages/einride-ui/src/components/controls/sliders/Slider/Slider.mdx b/src/components/controls/sliders/Slider/Slider.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/sliders/Slider/Slider.mdx rename to src/components/controls/sliders/Slider/Slider.mdx diff --git a/packages/einride-ui/src/components/controls/sliders/Slider/Slider.stories.tsx b/src/components/controls/sliders/Slider/Slider.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/sliders/Slider/Slider.stories.tsx rename to src/components/controls/sliders/Slider/Slider.stories.tsx diff --git a/packages/einride-ui/src/components/controls/sliders/Slider/Slider.tsx b/src/components/controls/sliders/Slider/Slider.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/sliders/Slider/Slider.tsx rename to src/components/controls/sliders/Slider/Slider.tsx diff --git a/packages/einride-ui/src/components/controls/switches/Switch/Switch.mdx b/src/components/controls/switches/Switch/Switch.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/switches/Switch/Switch.mdx rename to src/components/controls/switches/Switch/Switch.mdx diff --git a/packages/einride-ui/src/components/controls/switches/Switch/Switch.stories.tsx b/src/components/controls/switches/Switch/Switch.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/switches/Switch/Switch.stories.tsx rename to src/components/controls/switches/Switch/Switch.stories.tsx diff --git a/packages/einride-ui/src/components/controls/switches/Switch/Switch.tsx b/src/components/controls/switches/Switch/Switch.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/switches/Switch/Switch.tsx rename to src/components/controls/switches/Switch/Switch.tsx diff --git a/packages/einride-ui/src/components/controls/tabs/Tabs.mdx b/src/components/controls/tabs/Tabs.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/tabs/Tabs.mdx rename to src/components/controls/tabs/Tabs.mdx diff --git a/packages/einride-ui/src/components/controls/tabs/Tabs.stories.tsx b/src/components/controls/tabs/Tabs.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/tabs/Tabs.stories.tsx rename to src/components/controls/tabs/Tabs.stories.tsx diff --git a/packages/einride-ui/src/components/controls/tabs/Tabs.tsx b/src/components/controls/tabs/Tabs.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/tabs/Tabs.tsx rename to src/components/controls/tabs/Tabs.tsx diff --git a/packages/einride-ui/src/components/controls/tabs/TabsContent.tsx b/src/components/controls/tabs/TabsContent.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/tabs/TabsContent.tsx rename to src/components/controls/tabs/TabsContent.tsx diff --git a/packages/einride-ui/src/components/controls/tabs/TabsList.tsx b/src/components/controls/tabs/TabsList.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/tabs/TabsList.tsx rename to src/components/controls/tabs/TabsList.tsx diff --git a/packages/einride-ui/src/components/controls/tabs/TabsTrigger.tsx b/src/components/controls/tabs/TabsTrigger.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/tabs/TabsTrigger.tsx rename to src/components/controls/tabs/TabsTrigger.tsx diff --git a/packages/einride-ui/src/components/controls/textareas/Textarea/Textarea.mdx b/src/components/controls/textareas/Textarea/Textarea.mdx similarity index 100% rename from packages/einride-ui/src/components/controls/textareas/Textarea/Textarea.mdx rename to src/components/controls/textareas/Textarea/Textarea.mdx diff --git a/packages/einride-ui/src/components/controls/textareas/Textarea/Textarea.stories.tsx b/src/components/controls/textareas/Textarea/Textarea.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/textareas/Textarea/Textarea.stories.tsx rename to src/components/controls/textareas/Textarea/Textarea.stories.tsx diff --git a/packages/einride-ui/src/components/controls/textareas/Textarea/Textarea.tsx b/src/components/controls/textareas/Textarea/Textarea.tsx similarity index 100% rename from packages/einride-ui/src/components/controls/textareas/Textarea/Textarea.tsx rename to src/components/controls/textareas/Textarea/Textarea.tsx diff --git a/packages/einride-ui/src/components/feedback/Loader/Loader.mdx b/src/components/feedback/Loader/Loader.mdx similarity index 100% rename from packages/einride-ui/src/components/feedback/Loader/Loader.mdx rename to src/components/feedback/Loader/Loader.mdx diff --git a/packages/einride-ui/src/components/feedback/Loader/Loader.stories.tsx b/src/components/feedback/Loader/Loader.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/Loader/Loader.stories.tsx rename to src/components/feedback/Loader/Loader.stories.tsx diff --git a/packages/einride-ui/src/components/feedback/Loader/Loader.tsx b/src/components/feedback/Loader/Loader.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/Loader/Loader.tsx rename to src/components/feedback/Loader/Loader.tsx diff --git a/packages/einride-ui/src/components/feedback/PageLoader/PageLoader.mdx b/src/components/feedback/PageLoader/PageLoader.mdx similarity index 100% rename from packages/einride-ui/src/components/feedback/PageLoader/PageLoader.mdx rename to src/components/feedback/PageLoader/PageLoader.mdx diff --git a/packages/einride-ui/src/components/feedback/PageLoader/PageLoader.stories.tsx b/src/components/feedback/PageLoader/PageLoader.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/PageLoader/PageLoader.stories.tsx rename to src/components/feedback/PageLoader/PageLoader.stories.tsx diff --git a/packages/einride-ui/src/components/feedback/PageLoader/PageLoader.tsx b/src/components/feedback/PageLoader/PageLoader.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/PageLoader/PageLoader.tsx rename to src/components/feedback/PageLoader/PageLoader.tsx diff --git a/packages/einride-ui/src/components/feedback/Skeleton/Skeleton.mdx b/src/components/feedback/Skeleton/Skeleton.mdx similarity index 100% rename from packages/einride-ui/src/components/feedback/Skeleton/Skeleton.mdx rename to src/components/feedback/Skeleton/Skeleton.mdx diff --git a/packages/einride-ui/src/components/feedback/Skeleton/Skeleton.stories.tsx b/src/components/feedback/Skeleton/Skeleton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/Skeleton/Skeleton.stories.tsx rename to src/components/feedback/Skeleton/Skeleton.stories.tsx diff --git a/packages/einride-ui/src/components/feedback/Skeleton/Skeleton.tsx b/src/components/feedback/Skeleton/Skeleton.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/Skeleton/Skeleton.tsx rename to src/components/feedback/Skeleton/Skeleton.tsx diff --git a/packages/einride-ui/src/components/feedback/TableSkeleton/TableSkeleton.mdx b/src/components/feedback/TableSkeleton/TableSkeleton.mdx similarity index 100% rename from packages/einride-ui/src/components/feedback/TableSkeleton/TableSkeleton.mdx rename to src/components/feedback/TableSkeleton/TableSkeleton.mdx diff --git a/packages/einride-ui/src/components/feedback/TableSkeleton/TableSkeleton.stories.tsx b/src/components/feedback/TableSkeleton/TableSkeleton.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/TableSkeleton/TableSkeleton.stories.tsx rename to src/components/feedback/TableSkeleton/TableSkeleton.stories.tsx diff --git a/packages/einride-ui/src/components/feedback/TableSkeleton/TableSkeleton.tsx b/src/components/feedback/TableSkeleton/TableSkeleton.tsx similarity index 100% rename from packages/einride-ui/src/components/feedback/TableSkeleton/TableSkeleton.tsx rename to src/components/feedback/TableSkeleton/TableSkeleton.tsx diff --git a/packages/einride-ui/src/components/format/Length/constants.ts b/src/components/format/Length/constants.ts similarity index 100% rename from packages/einride-ui/src/components/format/Length/constants.ts rename to src/components/format/Length/constants.ts diff --git a/packages/einride-ui/src/components/format/Weight/Weight.mdx b/src/components/format/Weight/Weight.mdx similarity index 100% rename from packages/einride-ui/src/components/format/Weight/Weight.mdx rename to src/components/format/Weight/Weight.mdx diff --git a/packages/einride-ui/src/components/format/Weight/Weight.stories.tsx b/src/components/format/Weight/Weight.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/format/Weight/Weight.stories.tsx rename to src/components/format/Weight/Weight.stories.tsx diff --git a/packages/einride-ui/src/components/format/Weight/Weight.tsx b/src/components/format/Weight/Weight.tsx similarity index 100% rename from packages/einride-ui/src/components/format/Weight/Weight.tsx rename to src/components/format/Weight/Weight.tsx diff --git a/packages/einride-ui/src/components/format/Weight/constants.ts b/src/components/format/Weight/constants.ts similarity index 100% rename from packages/einride-ui/src/components/format/Weight/constants.ts rename to src/components/format/Weight/constants.ts diff --git a/packages/einride-ui/src/components/format/WeightUnit/WeightUnit.mdx b/src/components/format/WeightUnit/WeightUnit.mdx similarity index 100% rename from packages/einride-ui/src/components/format/WeightUnit/WeightUnit.mdx rename to src/components/format/WeightUnit/WeightUnit.mdx diff --git a/packages/einride-ui/src/components/format/WeightUnit/WeightUnit.stories.tsx b/src/components/format/WeightUnit/WeightUnit.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/format/WeightUnit/WeightUnit.stories.tsx rename to src/components/format/WeightUnit/WeightUnit.stories.tsx diff --git a/packages/einride-ui/src/components/format/WeightUnit/WeightUnit.tsx b/src/components/format/WeightUnit/WeightUnit.tsx similarity index 100% rename from packages/einride-ui/src/components/format/WeightUnit/WeightUnit.tsx rename to src/components/format/WeightUnit/WeightUnit.tsx diff --git a/packages/einride-ui/src/components/information/Label/Label.mdx b/src/components/information/Label/Label.mdx similarity index 100% rename from packages/einride-ui/src/components/information/Label/Label.mdx rename to src/components/information/Label/Label.mdx diff --git a/packages/einride-ui/src/components/information/Label/Label.stories.tsx b/src/components/information/Label/Label.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/information/Label/Label.stories.tsx rename to src/components/information/Label/Label.stories.tsx diff --git a/packages/einride-ui/src/components/information/Label/Label.tsx b/src/components/information/Label/Label.tsx similarity index 100% rename from packages/einride-ui/src/components/information/Label/Label.tsx rename to src/components/information/Label/Label.tsx diff --git a/packages/einride-ui/src/components/layout/Box/Box.mdx b/src/components/layout/Box/Box.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/Box/Box.mdx rename to src/components/layout/Box/Box.mdx diff --git a/packages/einride-ui/src/components/layout/Box/Box.stories.tsx b/src/components/layout/Box/Box.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/Box/Box.stories.tsx rename to src/components/layout/Box/Box.stories.tsx diff --git a/packages/einride-ui/src/components/layout/Box/Box.tsx b/src/components/layout/Box/Box.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/Box/Box.tsx rename to src/components/layout/Box/Box.tsx diff --git a/packages/einride-ui/src/components/layout/Group/Group.mdx b/src/components/layout/Group/Group.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/Group/Group.mdx rename to src/components/layout/Group/Group.mdx diff --git a/packages/einride-ui/src/components/layout/Group/Group.stories.tsx b/src/components/layout/Group/Group.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/Group/Group.stories.tsx rename to src/components/layout/Group/Group.stories.tsx diff --git a/packages/einride-ui/src/components/layout/Group/Group.tsx b/src/components/layout/Group/Group.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/Group/Group.tsx rename to src/components/layout/Group/Group.tsx diff --git a/packages/einride-ui/src/components/layout/HorizontalLayout/HorizontalLayout.mdx b/src/components/layout/HorizontalLayout/HorizontalLayout.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/HorizontalLayout/HorizontalLayout.mdx rename to src/components/layout/HorizontalLayout/HorizontalLayout.mdx diff --git a/packages/einride-ui/src/components/layout/HorizontalLayout/HorizontalLayout.stories.tsx b/src/components/layout/HorizontalLayout/HorizontalLayout.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/HorizontalLayout/HorizontalLayout.stories.tsx rename to src/components/layout/HorizontalLayout/HorizontalLayout.stories.tsx diff --git a/packages/einride-ui/src/components/layout/HorizontalLayout/HorizontalLayout.tsx b/src/components/layout/HorizontalLayout/HorizontalLayout.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/HorizontalLayout/HorizontalLayout.tsx rename to src/components/layout/HorizontalLayout/HorizontalLayout.tsx diff --git a/packages/einride-ui/src/components/layout/HorizontalSpacing/HorizontalSpacing.mdx b/src/components/layout/HorizontalSpacing/HorizontalSpacing.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/HorizontalSpacing/HorizontalSpacing.mdx rename to src/components/layout/HorizontalSpacing/HorizontalSpacing.mdx diff --git a/packages/einride-ui/src/components/layout/HorizontalSpacing/HorizontalSpacing.stories.tsx b/src/components/layout/HorizontalSpacing/HorizontalSpacing.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/HorizontalSpacing/HorizontalSpacing.stories.tsx rename to src/components/layout/HorizontalSpacing/HorizontalSpacing.stories.tsx diff --git a/packages/einride-ui/src/components/layout/HorizontalSpacing/HorizontalSpacing.tsx b/src/components/layout/HorizontalSpacing/HorizontalSpacing.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/HorizontalSpacing/HorizontalSpacing.tsx rename to src/components/layout/HorizontalSpacing/HorizontalSpacing.tsx diff --git a/packages/einride-ui/src/components/layout/Stack/Stack.mdx b/src/components/layout/Stack/Stack.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/Stack/Stack.mdx rename to src/components/layout/Stack/Stack.mdx diff --git a/packages/einride-ui/src/components/layout/Stack/Stack.stories.tsx b/src/components/layout/Stack/Stack.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/Stack/Stack.stories.tsx rename to src/components/layout/Stack/Stack.stories.tsx diff --git a/packages/einride-ui/src/components/layout/Stack/Stack.tsx b/src/components/layout/Stack/Stack.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/Stack/Stack.tsx rename to src/components/layout/Stack/Stack.tsx diff --git a/packages/einride-ui/src/components/layout/VerticalLayout/VerticalLayout.mdx b/src/components/layout/VerticalLayout/VerticalLayout.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/VerticalLayout/VerticalLayout.mdx rename to src/components/layout/VerticalLayout/VerticalLayout.mdx diff --git a/packages/einride-ui/src/components/layout/VerticalLayout/VerticalLayout.stories.tsx b/src/components/layout/VerticalLayout/VerticalLayout.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/VerticalLayout/VerticalLayout.stories.tsx rename to src/components/layout/VerticalLayout/VerticalLayout.stories.tsx diff --git a/packages/einride-ui/src/components/layout/VerticalLayout/VerticalLayout.tsx b/src/components/layout/VerticalLayout/VerticalLayout.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/VerticalLayout/VerticalLayout.tsx rename to src/components/layout/VerticalLayout/VerticalLayout.tsx diff --git a/packages/einride-ui/src/components/layout/VerticalSpacing/VerticalSpacing.mdx b/src/components/layout/VerticalSpacing/VerticalSpacing.mdx similarity index 100% rename from packages/einride-ui/src/components/layout/VerticalSpacing/VerticalSpacing.mdx rename to src/components/layout/VerticalSpacing/VerticalSpacing.mdx diff --git a/packages/einride-ui/src/components/layout/VerticalSpacing/VerticalSpacing.stories.tsx b/src/components/layout/VerticalSpacing/VerticalSpacing.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/VerticalSpacing/VerticalSpacing.stories.tsx rename to src/components/layout/VerticalSpacing/VerticalSpacing.stories.tsx diff --git a/packages/einride-ui/src/components/layout/VerticalSpacing/VerticalSpacing.tsx b/src/components/layout/VerticalSpacing/VerticalSpacing.tsx similarity index 100% rename from packages/einride-ui/src/components/layout/VerticalSpacing/VerticalSpacing.tsx rename to src/components/layout/VerticalSpacing/VerticalSpacing.tsx diff --git a/packages/einride-ui/src/components/menus/Menu/Menu.mdx b/src/components/menus/Menu/Menu.mdx similarity index 100% rename from packages/einride-ui/src/components/menus/Menu/Menu.mdx rename to src/components/menus/Menu/Menu.mdx diff --git a/packages/einride-ui/src/components/menus/Menu/Menu.stories.tsx b/src/components/menus/Menu/Menu.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Menu/Menu.stories.tsx rename to src/components/menus/Menu/Menu.stories.tsx diff --git a/packages/einride-ui/src/components/menus/Menu/Menu.tsx b/src/components/menus/Menu/Menu.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Menu/Menu.tsx rename to src/components/menus/Menu/Menu.tsx diff --git a/packages/einride-ui/src/components/menus/Menu/MenuContent.tsx b/src/components/menus/Menu/MenuContent.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Menu/MenuContent.tsx rename to src/components/menus/Menu/MenuContent.tsx diff --git a/packages/einride-ui/src/components/menus/Menu/MenuItem.tsx b/src/components/menus/Menu/MenuItem.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Menu/MenuItem.tsx rename to src/components/menus/Menu/MenuItem.tsx diff --git a/packages/einride-ui/src/components/menus/Menu/MenuTrigger.tsx b/src/components/menus/Menu/MenuTrigger.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Menu/MenuTrigger.tsx rename to src/components/menus/Menu/MenuTrigger.tsx diff --git a/packages/einride-ui/src/components/menus/Option/Option.mdx b/src/components/menus/Option/Option.mdx similarity index 100% rename from packages/einride-ui/src/components/menus/Option/Option.mdx rename to src/components/menus/Option/Option.mdx diff --git a/packages/einride-ui/src/components/menus/Option/Option.stories.tsx b/src/components/menus/Option/Option.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Option/Option.stories.tsx rename to src/components/menus/Option/Option.stories.tsx diff --git a/packages/einride-ui/src/components/menus/Option/Option.tsx b/src/components/menus/Option/Option.tsx similarity index 100% rename from packages/einride-ui/src/components/menus/Option/Option.tsx rename to src/components/menus/Option/Option.tsx diff --git a/packages/einride-ui/src/components/table/Table.mdx b/src/components/table/Table.mdx similarity index 100% rename from packages/einride-ui/src/components/table/Table.mdx rename to src/components/table/Table.mdx diff --git a/packages/einride-ui/src/components/table/Table.stories.tsx b/src/components/table/Table.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Table.stories.tsx rename to src/components/table/Table.stories.tsx diff --git a/packages/einride-ui/src/components/table/Table/Table.tsx b/src/components/table/Table/Table.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Table/Table.tsx rename to src/components/table/Table/Table.tsx diff --git a/packages/einride-ui/src/components/table/Tbody/Tbody.tsx b/src/components/table/Tbody/Tbody.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Tbody/Tbody.tsx rename to src/components/table/Tbody/Tbody.tsx diff --git a/packages/einride-ui/src/components/table/Td/Td.tsx b/src/components/table/Td/Td.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Td/Td.tsx rename to src/components/table/Td/Td.tsx diff --git a/packages/einride-ui/src/components/table/Th/Th.tsx b/src/components/table/Th/Th.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Th/Th.tsx rename to src/components/table/Th/Th.tsx diff --git a/packages/einride-ui/src/components/table/Thead/Thead.tsx b/src/components/table/Thead/Thead.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Thead/Thead.tsx rename to src/components/table/Thead/Thead.tsx diff --git a/packages/einride-ui/src/components/table/Tr/Tr.tsx b/src/components/table/Tr/Tr.tsx similarity index 100% rename from packages/einride-ui/src/components/table/Tr/Tr.tsx rename to src/components/table/Tr/Tr.tsx diff --git a/packages/einride-ui/src/components/typography/Caption/Caption.mdx b/src/components/typography/Caption/Caption.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Caption/Caption.mdx rename to src/components/typography/Caption/Caption.mdx diff --git a/packages/einride-ui/src/components/typography/Caption/Caption.stories.tsx b/src/components/typography/Caption/Caption.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Caption/Caption.stories.tsx rename to src/components/typography/Caption/Caption.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Caption/Caption.tsx b/src/components/typography/Caption/Caption.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Caption/Caption.tsx rename to src/components/typography/Caption/Caption.tsx diff --git a/packages/einride-ui/src/components/typography/Link/Link.mdx b/src/components/typography/Link/Link.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Link/Link.mdx rename to src/components/typography/Link/Link.mdx diff --git a/packages/einride-ui/src/components/typography/Link/Link.stories.tsx b/src/components/typography/Link/Link.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Link/Link.stories.tsx rename to src/components/typography/Link/Link.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Link/Link.tsx b/src/components/typography/Link/Link.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Link/Link.tsx rename to src/components/typography/Link/Link.tsx diff --git a/packages/einride-ui/src/components/typography/MegaTitle/MegaTitle.mdx b/src/components/typography/MegaTitle/MegaTitle.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/MegaTitle/MegaTitle.mdx rename to src/components/typography/MegaTitle/MegaTitle.mdx diff --git a/packages/einride-ui/src/components/typography/MegaTitle/MegaTitle.stories.tsx b/src/components/typography/MegaTitle/MegaTitle.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/MegaTitle/MegaTitle.stories.tsx rename to src/components/typography/MegaTitle/MegaTitle.stories.tsx diff --git a/packages/einride-ui/src/components/typography/MegaTitle/MegaTitle.tsx b/src/components/typography/MegaTitle/MegaTitle.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/MegaTitle/MegaTitle.tsx rename to src/components/typography/MegaTitle/MegaTitle.tsx diff --git a/packages/einride-ui/src/components/typography/Paragraph/Paragraph.mdx b/src/components/typography/Paragraph/Paragraph.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Paragraph/Paragraph.mdx rename to src/components/typography/Paragraph/Paragraph.mdx diff --git a/packages/einride-ui/src/components/typography/Paragraph/Paragraph.stories.tsx b/src/components/typography/Paragraph/Paragraph.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Paragraph/Paragraph.stories.tsx rename to src/components/typography/Paragraph/Paragraph.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Paragraph/Paragraph.tsx b/src/components/typography/Paragraph/Paragraph.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Paragraph/Paragraph.tsx rename to src/components/typography/Paragraph/Paragraph.tsx diff --git a/packages/einride-ui/src/components/typography/Text/Text.mdx b/src/components/typography/Text/Text.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Text/Text.mdx rename to src/components/typography/Text/Text.mdx diff --git a/packages/einride-ui/src/components/typography/Text/Text.stories.tsx b/src/components/typography/Text/Text.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Text/Text.stories.tsx rename to src/components/typography/Text/Text.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Text/Text.tsx b/src/components/typography/Text/Text.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Text/Text.tsx rename to src/components/typography/Text/Text.tsx diff --git a/packages/einride-ui/src/components/typography/Title1/Title1.mdx b/src/components/typography/Title1/Title1.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Title1/Title1.mdx rename to src/components/typography/Title1/Title1.mdx diff --git a/packages/einride-ui/src/components/typography/Title1/Title1.stories.tsx b/src/components/typography/Title1/Title1.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Title1/Title1.stories.tsx rename to src/components/typography/Title1/Title1.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Title1/Title1.tsx b/src/components/typography/Title1/Title1.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Title1/Title1.tsx rename to src/components/typography/Title1/Title1.tsx diff --git a/packages/einride-ui/src/components/typography/Title2/Title2.mdx b/src/components/typography/Title2/Title2.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Title2/Title2.mdx rename to src/components/typography/Title2/Title2.mdx diff --git a/packages/einride-ui/src/components/typography/Title2/Title2.stories.tsx b/src/components/typography/Title2/Title2.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Title2/Title2.stories.tsx rename to src/components/typography/Title2/Title2.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Title2/Title2.tsx b/src/components/typography/Title2/Title2.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Title2/Title2.tsx rename to src/components/typography/Title2/Title2.tsx diff --git a/packages/einride-ui/src/components/typography/Title3/Title3.mdx b/src/components/typography/Title3/Title3.mdx similarity index 100% rename from packages/einride-ui/src/components/typography/Title3/Title3.mdx rename to src/components/typography/Title3/Title3.mdx diff --git a/packages/einride-ui/src/components/typography/Title3/Title3.stories.tsx b/src/components/typography/Title3/Title3.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Title3/Title3.stories.tsx rename to src/components/typography/Title3/Title3.stories.tsx diff --git a/packages/einride-ui/src/components/typography/Title3/Title3.tsx b/src/components/typography/Title3/Title3.tsx similarity index 100% rename from packages/einride-ui/src/components/typography/Title3/Title3.tsx rename to src/components/typography/Title3/Title3.tsx diff --git a/packages/einride-ui/src/components/views/Alert/Alert.mdx b/src/components/views/Alert/Alert.mdx similarity index 100% rename from packages/einride-ui/src/components/views/Alert/Alert.mdx rename to src/components/views/Alert/Alert.mdx diff --git a/packages/einride-ui/src/components/views/Alert/Alert.stories.tsx b/src/components/views/Alert/Alert.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/views/Alert/Alert.stories.tsx rename to src/components/views/Alert/Alert.stories.tsx diff --git a/packages/einride-ui/src/components/views/Alert/Alert.tsx b/src/components/views/Alert/Alert.tsx similarity index 100% rename from packages/einride-ui/src/components/views/Alert/Alert.tsx rename to src/components/views/Alert/Alert.tsx diff --git a/packages/einride-ui/src/components/views/Sheets/Sheets.mdx b/src/components/views/Sheets/Sheets.mdx similarity index 100% rename from packages/einride-ui/src/components/views/Sheets/Sheets.mdx rename to src/components/views/Sheets/Sheets.mdx diff --git a/packages/einride-ui/src/components/views/Sheets/Sheets.stories.tsx b/src/components/views/Sheets/Sheets.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/views/Sheets/Sheets.stories.tsx rename to src/components/views/Sheets/Sheets.stories.tsx diff --git a/packages/einride-ui/src/components/views/Sheets/Sheets.tsx b/src/components/views/Sheets/Sheets.tsx similarity index 100% rename from packages/einride-ui/src/components/views/Sheets/Sheets.tsx rename to src/components/views/Sheets/Sheets.tsx diff --git a/packages/einride-ui/src/components/visually-hidden/VisuallyHidden.mdx b/src/components/visually-hidden/VisuallyHidden.mdx similarity index 100% rename from packages/einride-ui/src/components/visually-hidden/VisuallyHidden.mdx rename to src/components/visually-hidden/VisuallyHidden.mdx diff --git a/packages/einride-ui/src/components/visually-hidden/VisuallyHidden.stories.tsx b/src/components/visually-hidden/VisuallyHidden.stories.tsx similarity index 100% rename from packages/einride-ui/src/components/visually-hidden/VisuallyHidden.stories.tsx rename to src/components/visually-hidden/VisuallyHidden.stories.tsx diff --git a/packages/einride-ui/src/components/visually-hidden/VisuallyHidden.tsx b/src/components/visually-hidden/VisuallyHidden.tsx similarity index 100% rename from packages/einride-ui/src/components/visually-hidden/VisuallyHidden.tsx rename to src/components/visually-hidden/VisuallyHidden.tsx diff --git a/packages/einride-ui/src/contexts/ColorSchemeProvider.tsx b/src/contexts/ColorSchemeProvider.tsx similarity index 100% rename from packages/einride-ui/src/contexts/ColorSchemeProvider.tsx rename to src/contexts/ColorSchemeProvider.tsx diff --git a/packages/einride-ui/src/contexts/EinrideProvider.tsx b/src/contexts/EinrideProvider.tsx similarity index 100% rename from packages/einride-ui/src/contexts/EinrideProvider.tsx rename to src/contexts/EinrideProvider.tsx diff --git a/packages/einride-ui/src/contexts/EinrideThemeProvider.tsx b/src/contexts/EinrideThemeProvider.tsx similarity index 100% rename from packages/einride-ui/src/contexts/EinrideThemeProvider.tsx rename to src/contexts/EinrideThemeProvider.tsx diff --git a/packages/einride-ui/src/docs/Overview.mdx b/src/docs/Overview.mdx similarity index 100% rename from packages/einride-ui/src/docs/Overview.mdx rename to src/docs/Overview.mdx diff --git a/packages/einride-ui/src/docs/primitives/Colors.mdx b/src/docs/primitives/Colors.mdx similarity index 100% rename from packages/einride-ui/src/docs/primitives/Colors.mdx rename to src/docs/primitives/Colors.mdx diff --git a/packages/einride-ui/src/docs/primitives/Colors.tsx b/src/docs/primitives/Colors.tsx similarity index 100% rename from packages/einride-ui/src/docs/primitives/Colors.tsx rename to src/docs/primitives/Colors.tsx diff --git a/packages/einride-ui/src/docs/primitives/Spacing.mdx b/src/docs/primitives/Spacing.mdx similarity index 100% rename from packages/einride-ui/src/docs/primitives/Spacing.mdx rename to src/docs/primitives/Spacing.mdx diff --git a/packages/einride-ui/src/docs/primitives/Spacing.tsx b/src/docs/primitives/Spacing.tsx similarity index 100% rename from packages/einride-ui/src/docs/primitives/Spacing.tsx rename to src/docs/primitives/Spacing.tsx diff --git a/packages/einride-ui/src/hooks/useScrollIntoView.ts b/src/hooks/useScrollIntoView.ts similarity index 100% rename from packages/einride-ui/src/hooks/useScrollIntoView.ts rename to src/hooks/useScrollIntoView.ts diff --git a/packages/einride-ui/src/hooks/useTheme.ts b/src/hooks/useTheme.ts similarity index 100% rename from packages/einride-ui/src/hooks/useTheme.ts rename to src/hooks/useTheme.ts diff --git a/packages/einride-ui/src/index.ts b/src/index.ts similarity index 100% rename from packages/einride-ui/src/index.ts rename to src/index.ts diff --git a/packages/einride-ui/src/lib/CSSReset.tsx b/src/lib/CSSReset.tsx similarity index 100% rename from packages/einride-ui/src/lib/CSSReset.tsx rename to src/lib/CSSReset.tsx diff --git a/packages/einride-ui/src/lib/GlobalStyles.tsx b/src/lib/GlobalStyles.tsx similarity index 100% rename from packages/einride-ui/src/lib/GlobalStyles.tsx rename to src/lib/GlobalStyles.tsx diff --git a/packages/einride-ui/src/lib/storybook/SnapshotWrapper.tsx b/src/lib/storybook/SnapshotWrapper.tsx similarity index 100% rename from packages/einride-ui/src/lib/storybook/SnapshotWrapper.tsx rename to src/lib/storybook/SnapshotWrapper.tsx diff --git a/packages/einride-ui/src/lib/theme/common.ts b/src/lib/theme/common.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/common.ts rename to src/lib/theme/common.ts diff --git a/packages/einride-ui/src/lib/theme/dark.ts b/src/lib/theme/dark.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/dark.ts rename to src/lib/theme/dark.ts diff --git a/packages/einride-ui/src/lib/theme/deep-partial.ts b/src/lib/theme/deep-partial.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/deep-partial.ts rename to src/lib/theme/deep-partial.ts diff --git a/packages/einride-ui/src/lib/theme/einride.ts b/src/lib/theme/einride.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/einride.ts rename to src/lib/theme/einride.ts diff --git a/packages/einride-ui/src/lib/theme/guard.ts b/src/lib/theme/guard.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/guard.ts rename to src/lib/theme/guard.ts diff --git a/packages/einride-ui/src/lib/theme/light.ts b/src/lib/theme/light.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/light.ts rename to src/lib/theme/light.ts diff --git a/packages/einride-ui/src/lib/theme/prop-system.test.ts b/src/lib/theme/prop-system.test.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/prop-system.test.ts rename to src/lib/theme/prop-system.test.ts diff --git a/packages/einride-ui/src/lib/theme/prop-system.ts b/src/lib/theme/prop-system.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/prop-system.ts rename to src/lib/theme/prop-system.ts diff --git a/packages/einride-ui/src/lib/theme/props.ts b/src/lib/theme/props.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/props.ts rename to src/lib/theme/props.ts diff --git a/packages/einride-ui/src/lib/theme/theme.ts b/src/lib/theme/theme.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/theme.ts rename to src/lib/theme/theme.ts diff --git a/packages/einride-ui/src/lib/theme/types.ts b/src/lib/theme/types.ts similarity index 100% rename from packages/einride-ui/src/lib/theme/types.ts rename to src/lib/theme/types.ts diff --git a/packages/einride-ui/src/lib/zIndex.ts b/src/lib/zIndex.ts similarity index 100% rename from packages/einride-ui/src/lib/zIndex.ts rename to src/lib/zIndex.ts diff --git a/packages/einride-ui/src/primitives/color.ts b/src/primitives/color.ts similarity index 100% rename from packages/einride-ui/src/primitives/color.ts rename to src/primitives/color.ts diff --git a/packages/einride-ui/src/primitives/primitives.ts b/src/primitives/primitives.ts similarity index 100% rename from packages/einride-ui/src/primitives/primitives.ts rename to src/primitives/primitives.ts diff --git a/packages/einride-ui/src/templates/SheetView.stories.tsx b/src/templates/SheetView.stories.tsx similarity index 100% rename from packages/einride-ui/src/templates/SheetView.stories.tsx rename to src/templates/SheetView.stories.tsx diff --git a/packages/einride-ui/src/templates/TableView.stories.tsx b/src/templates/TableView.stories.tsx similarity index 100% rename from packages/einride-ui/src/templates/TableView.stories.tsx rename to src/templates/TableView.stories.tsx diff --git a/packages/einride-ui/src/templates/components/Navbar.stories.tsx b/src/templates/components/Navbar.stories.tsx similarity index 100% rename from packages/einride-ui/src/templates/components/Navbar.stories.tsx rename to src/templates/components/Navbar.stories.tsx diff --git a/packages/einride-ui/src/templates/components/UserTable.stories.tsx b/src/templates/components/UserTable.stories.tsx similarity index 100% rename from packages/einride-ui/src/templates/components/UserTable.stories.tsx rename to src/templates/components/UserTable.stories.tsx diff --git a/packages/einride-ui/src/types/emotion.d.ts b/src/types/emotion.d.ts similarity index 100% rename from packages/einride-ui/src/types/emotion.d.ts rename to src/types/emotion.d.ts diff --git a/packages/einride-ui/src/types/svg.d.ts b/src/types/svg.d.ts similarity index 100% rename from packages/einride-ui/src/types/svg.d.ts rename to src/types/svg.d.ts diff --git a/packages/einride-ui/tsconfig.build.json b/tsconfig.build.json similarity index 100% rename from packages/einride-ui/tsconfig.build.json rename to tsconfig.build.json diff --git a/tsconfig.json b/tsconfig.json index 7e8950180..7aee9587e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,3 @@ { - "extends": "@einride/tsconfig", - "compilerOptions": { - "baseUrl": "./", - "paths": { - "@einride/ui": ["./packages/einride-ui/src"] - } - } + "extends": "@einride/tsconfig" } diff --git a/yarn.lock b/yarn.lock index 0d1c0aa4a..3590f585a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1981,56 +1981,17 @@ __metadata: languageName: node linkType: hard -"@einride/ui-monorepo@workspace:.": +"@einride/ui@workspace:.": version: 0.0.0-use.local - resolution: "@einride/ui-monorepo@workspace:." + resolution: "@einride/ui@workspace:." dependencies: "@changesets/cli": 2.27.1 "@commitlint/cli": 19.0.3 "@commitlint/config-conventional": 19.0.3 "@einride/eslint-plugin": 7.9.0 + "@einride/hooks": 1.7.9 "@einride/prettier-config": 2.1.0 "@einride/tsconfig": 2.1.0 - "@storybook/addon-a11y": 7.6.17 - "@storybook/addon-actions": 7.6.17 - "@storybook/addon-coverage": 1.0.1 - "@storybook/addon-essentials": 7.6.17 - "@storybook/addon-interactions": 7.6.17 - "@storybook/addon-links": 7.6.17 - "@storybook/addon-mdx-gfm": 7.6.17 - "@storybook/addon-styling": 1.3.7 - "@storybook/addons": 7.6.17 - "@storybook/jest": 0.2.3 - "@storybook/node-logger": 7.6.17 - "@storybook/react": 7.6.17 - "@storybook/react-vite": 7.6.17 - "@storybook/test-runner": 0.16.0 - "@storybook/testing-library": 0.2.2 - "@storybook/theming": 7.6.17 - "@testing-library/jest-dom": 6.4.2 - "@testing-library/react": 14.2.1 - "@testing-library/user-event": 14.5.2 - concurrently: 8.2.2 - eslint: 8.57.0 - eslint-plugin-storybook: 0.8.0 - prettier: 3.2.5 - react: 18.2.0 - react-dom: 18.2.0 - storybook: 7.6.17 - tslib: 2.6.2 - typescript: 5.3.3 - vite: 5.1.4 - vite-plugin-turbosnap: 1.0.3 - vite-tsconfig-paths: 4.3.1 - vitest: 1.3.1 - languageName: unknown - linkType: soft - -"@einride/ui@workspace:packages/einride-ui": - version: 0.0.0-use.local - resolution: "@einride/ui@workspace:packages/einride-ui" - dependencies: - "@einride/hooks": 1.7.9 "@emotion/is-prop-valid": 1.2.2 "@emotion/react": 11.11.4 "@emotion/styled": 11.11.0 @@ -2048,9 +2009,25 @@ __metadata: "@radix-ui/react-tooltip": 1.0.7 "@rollup/plugin-image": 3.0.3 "@rollup/plugin-typescript": 11.1.2 + "@storybook/addon-a11y": 7.6.17 + "@storybook/addon-actions": 7.6.17 + "@storybook/addon-coverage": 1.0.1 + "@storybook/addon-essentials": 7.6.17 + "@storybook/addon-interactions": 7.6.17 + "@storybook/addon-links": 7.6.17 + "@storybook/addon-mdx-gfm": 7.6.17 + "@storybook/addon-styling": 1.3.7 + "@storybook/addons": 7.6.17 "@storybook/jest": 0.2.3 + "@storybook/node-logger": 7.6.17 "@storybook/react": 7.6.17 + "@storybook/react-vite": 7.6.17 + "@storybook/test-runner": 0.16.0 "@storybook/testing-library": 0.2.2 + "@storybook/theming": 7.6.17 + "@testing-library/jest-dom": 6.4.2 + "@testing-library/react": 14.2.1 + "@testing-library/user-event": 14.5.2 "@types/lodash.merge": 4.6.9 "@types/luxon": 3.4.2 "@types/react": 18.2.61 @@ -2059,14 +2036,22 @@ __metadata: chromatic: 11.0.0 concurrently: 8.2.2 dayjs: 1.11.10 + eslint: 8.57.0 + eslint-plugin-storybook: 0.8.0 framer-motion: 11.0.8 lodash.merge: 4.6.2 luxon: 3.4.4 + prettier: 3.2.5 react: 18.2.0 react-dom: 18.2.0 rollup: 4.12.0 + storybook: 7.6.17 + tslib: 2.6.2 typescript: 5.3.3 vite: 5.1.4 + vite-plugin-turbosnap: 1.0.3 + vite-tsconfig-paths: 4.3.1 + vitest: 1.3.1 peerDependencies: "@emotion/react": ^11.4.1 "@emotion/styled": ^11.3.0