From 2b619085727fdf7bf4a627f3e933ee212b2fd6b9 Mon Sep 17 00:00:00 2001
From: toshusai <35446607+toshusai@users.noreply.github.com>
Date: Tue, 17 Sep 2024 17:44:42 +0900
Subject: [PATCH] feat: remove css package
---
README.md | 4 +-
packages/core/package.json | 10 ++++-
.../index.css => core/src/css/Button.css} | 0
.../index.css => core/src/css/CanvasView.css} | 0
.../index.css => core/src/css/Checkbox.css} | 0
.../Chip/index.css => core/src/css/Chip.css} | 0
.../index.css => core/src/css/Circle.css} | 0
.../index.css => core/src/css/ColorLoupe.css} | 0
.../index.css => core/src/css/Drawer.css} | 0
.../index.css => core/src/css/FloatBox.css} | 0
.../Grid/index.css => core/src/css/Grid.css} | 0
.../index.css => core/src/css/IconButton.css} | 0
.../index.css => core/src/css/ListItem.css} | 0
.../index.css => core/src/css/Loading.css} | 0
.../src/css/MenuBarButton.css} | 0
.../index.css => core/src/css/MenuList.css} | 0
.../index.css => core/src/css/Modal.css} | 0
.../index.css => core/src/css/Radio.css} | 0
.../index.css => core/src/css/RectGizmo.css} | 0
.../index.css => core/src/css/SVPicker.css} | 0
.../index.css => core/src/css/Select.css} | 0
.../index.css => core/src/css/Skelton.css} | 0
.../index.css => core/src/css/Slider.css} | 0
.../index.css => core/src/css/Switch.css} | 0
.../index.css => core/src/css/TextInput.css} | 0
.../index.css => core/src/css/Toast.css} | 0
.../index.css => core/src/css/Tooltip.css} | 0
.../index.css => core/src/css/TreeView.css} | 0
.../src/css}/alpha-checker-board.css | 0
packages/{css/src => core/src/css}/global.css | 0
.../src/css}/horizontal-cursor.css | 0
packages/core/src/css/index.ts | 29 ++++++++++++
packages/core/src/index.ts | 3 +-
packages/core/vite.config.js | 2 -
packages/core/vite.config.split.js | 45 +++++++++++++++++++
packages/css/package.json | 24 ----------
packages/css/src/index.ts | 29 ------------
packages/css/tsconfig.json | 25 -----------
packages/css/tsup.config.ts | 9 ----
packages/react/.storybook/preview.tsx | 2 +-
packages/react/package.json | 1 -
packages/vue/.storybook/preview.ts | 2 +-
packages/vue/package.json | 3 +-
.../src/components/CRectGizmo/CRectGizmo.vue | 11 ++++-
.../src/components/CSelect/CSelect.spec.ts | 2 +-
...torySubMenuPopoverExample2.browser.test.ts | 2 +-
pnpm-lock.yaml | 15 -------
47 files changed, 100 insertions(+), 118 deletions(-)
rename packages/{css/src/Button/index.css => core/src/css/Button.css} (100%)
rename packages/{css/src/CanvasView/index.css => core/src/css/CanvasView.css} (100%)
rename packages/{css/src/Checkbox/index.css => core/src/css/Checkbox.css} (100%)
rename packages/{css/src/Chip/index.css => core/src/css/Chip.css} (100%)
rename packages/{css/src/Circle/index.css => core/src/css/Circle.css} (100%)
rename packages/{css/src/ColorLoupe/index.css => core/src/css/ColorLoupe.css} (100%)
rename packages/{css/src/Drawer/index.css => core/src/css/Drawer.css} (100%)
rename packages/{css/src/FloatBox/index.css => core/src/css/FloatBox.css} (100%)
rename packages/{css/src/Grid/index.css => core/src/css/Grid.css} (100%)
rename packages/{css/src/IconButton/index.css => core/src/css/IconButton.css} (100%)
rename packages/{css/src/ListItem/index.css => core/src/css/ListItem.css} (100%)
rename packages/{css/src/Loading/index.css => core/src/css/Loading.css} (100%)
rename packages/{css/src/MenuBarButton/index.css => core/src/css/MenuBarButton.css} (100%)
rename packages/{css/src/MenuList/index.css => core/src/css/MenuList.css} (100%)
rename packages/{css/src/Modal/index.css => core/src/css/Modal.css} (100%)
rename packages/{css/src/Radio/index.css => core/src/css/Radio.css} (100%)
rename packages/{css/src/RectGizmo/index.css => core/src/css/RectGizmo.css} (100%)
rename packages/{css/src/SVPicker/index.css => core/src/css/SVPicker.css} (100%)
rename packages/{css/src/Select/index.css => core/src/css/Select.css} (100%)
rename packages/{css/src/Skelton/index.css => core/src/css/Skelton.css} (100%)
rename packages/{css/src/Slider/index.css => core/src/css/Slider.css} (100%)
rename packages/{css/src/Switch/index.css => core/src/css/Switch.css} (100%)
rename packages/{css/src/TextInput/index.css => core/src/css/TextInput.css} (100%)
rename packages/{css/src/Toast/index.css => core/src/css/Toast.css} (100%)
rename packages/{css/src/Tooltip/index.css => core/src/css/Tooltip.css} (100%)
rename packages/{css/src/TreeView/index.css => core/src/css/TreeView.css} (100%)
rename packages/{css/src => core/src/css}/alpha-checker-board.css (100%)
rename packages/{css/src => core/src/css}/global.css (100%)
rename packages/{css/src/RectGizmo => core/src/css}/horizontal-cursor.css (100%)
create mode 100644 packages/core/src/css/index.ts
create mode 100644 packages/core/vite.config.split.js
delete mode 100644 packages/css/package.json
delete mode 100644 packages/css/src/index.ts
delete mode 100644 packages/css/tsconfig.json
delete mode 100644 packages/css/tsup.config.ts
diff --git a/README.md b/README.md
index 528f1bd..42bb0b3 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,6 @@ CmpUI is a component library designed for creating complex GUI applications in w
| package name | framework | NPM |
| -------------------- | --------- | --------------------------------------------------------------------------------------------------------------------- |
-| @toshusai/cmpui-css | CSS | [![NPM Version](https://img.shields.io/npm/v/%40toshusai%2Fcmpui)](https://www.npmjs.com/package/@toshusai/cmpui-css) |
| @toshusai/cmpui | React | [![NPM Version](https://img.shields.io/npm/v/%40toshusai%2Fcmpui)](https://www.npmjs.com/package/@toshusai/cmpui) |
| @toshusai/cmpui-vue | Vue | WIP |
| @toshusai/cmpui-core | Vanilla | WIP |
@@ -31,8 +30,7 @@ npm install @toshusai/cmpui
```tsx
import { Button } from "@toshusai/cmpui";
-import "@toshusai/cmpui/dist/index.css";
-import "@toshusai/cmpui-css/dist/index.css";
+import "@toshusai/cmpui-core/dist/style.css";
export default function App() {
return ;
diff --git a/packages/core/package.json b/packages/core/package.json
index f05c018..7a9b9ca 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -9,12 +9,18 @@
".": {
"import": {
"default": "./dist/index.es.js",
- "types": "./types/index.d.ts"
+ "types": "./types/index.d.ts",
+ "style.css": "./dist/style.css"
},
"require": {
"default": "./dist/index.umd.js",
- "types": "./types/index.d.ts"
+ "types": "./types/index.d.ts",
+ "dist/*": "./dist/*"
}
+ },
+ "./dist/*": {
+ "import": "./dist/*",
+ "require": "./dist/*"
}
},
"files": [
diff --git a/packages/css/src/Button/index.css b/packages/core/src/css/Button.css
similarity index 100%
rename from packages/css/src/Button/index.css
rename to packages/core/src/css/Button.css
diff --git a/packages/css/src/CanvasView/index.css b/packages/core/src/css/CanvasView.css
similarity index 100%
rename from packages/css/src/CanvasView/index.css
rename to packages/core/src/css/CanvasView.css
diff --git a/packages/css/src/Checkbox/index.css b/packages/core/src/css/Checkbox.css
similarity index 100%
rename from packages/css/src/Checkbox/index.css
rename to packages/core/src/css/Checkbox.css
diff --git a/packages/css/src/Chip/index.css b/packages/core/src/css/Chip.css
similarity index 100%
rename from packages/css/src/Chip/index.css
rename to packages/core/src/css/Chip.css
diff --git a/packages/css/src/Circle/index.css b/packages/core/src/css/Circle.css
similarity index 100%
rename from packages/css/src/Circle/index.css
rename to packages/core/src/css/Circle.css
diff --git a/packages/css/src/ColorLoupe/index.css b/packages/core/src/css/ColorLoupe.css
similarity index 100%
rename from packages/css/src/ColorLoupe/index.css
rename to packages/core/src/css/ColorLoupe.css
diff --git a/packages/css/src/Drawer/index.css b/packages/core/src/css/Drawer.css
similarity index 100%
rename from packages/css/src/Drawer/index.css
rename to packages/core/src/css/Drawer.css
diff --git a/packages/css/src/FloatBox/index.css b/packages/core/src/css/FloatBox.css
similarity index 100%
rename from packages/css/src/FloatBox/index.css
rename to packages/core/src/css/FloatBox.css
diff --git a/packages/css/src/Grid/index.css b/packages/core/src/css/Grid.css
similarity index 100%
rename from packages/css/src/Grid/index.css
rename to packages/core/src/css/Grid.css
diff --git a/packages/css/src/IconButton/index.css b/packages/core/src/css/IconButton.css
similarity index 100%
rename from packages/css/src/IconButton/index.css
rename to packages/core/src/css/IconButton.css
diff --git a/packages/css/src/ListItem/index.css b/packages/core/src/css/ListItem.css
similarity index 100%
rename from packages/css/src/ListItem/index.css
rename to packages/core/src/css/ListItem.css
diff --git a/packages/css/src/Loading/index.css b/packages/core/src/css/Loading.css
similarity index 100%
rename from packages/css/src/Loading/index.css
rename to packages/core/src/css/Loading.css
diff --git a/packages/css/src/MenuBarButton/index.css b/packages/core/src/css/MenuBarButton.css
similarity index 100%
rename from packages/css/src/MenuBarButton/index.css
rename to packages/core/src/css/MenuBarButton.css
diff --git a/packages/css/src/MenuList/index.css b/packages/core/src/css/MenuList.css
similarity index 100%
rename from packages/css/src/MenuList/index.css
rename to packages/core/src/css/MenuList.css
diff --git a/packages/css/src/Modal/index.css b/packages/core/src/css/Modal.css
similarity index 100%
rename from packages/css/src/Modal/index.css
rename to packages/core/src/css/Modal.css
diff --git a/packages/css/src/Radio/index.css b/packages/core/src/css/Radio.css
similarity index 100%
rename from packages/css/src/Radio/index.css
rename to packages/core/src/css/Radio.css
diff --git a/packages/css/src/RectGizmo/index.css b/packages/core/src/css/RectGizmo.css
similarity index 100%
rename from packages/css/src/RectGizmo/index.css
rename to packages/core/src/css/RectGizmo.css
diff --git a/packages/css/src/SVPicker/index.css b/packages/core/src/css/SVPicker.css
similarity index 100%
rename from packages/css/src/SVPicker/index.css
rename to packages/core/src/css/SVPicker.css
diff --git a/packages/css/src/Select/index.css b/packages/core/src/css/Select.css
similarity index 100%
rename from packages/css/src/Select/index.css
rename to packages/core/src/css/Select.css
diff --git a/packages/css/src/Skelton/index.css b/packages/core/src/css/Skelton.css
similarity index 100%
rename from packages/css/src/Skelton/index.css
rename to packages/core/src/css/Skelton.css
diff --git a/packages/css/src/Slider/index.css b/packages/core/src/css/Slider.css
similarity index 100%
rename from packages/css/src/Slider/index.css
rename to packages/core/src/css/Slider.css
diff --git a/packages/css/src/Switch/index.css b/packages/core/src/css/Switch.css
similarity index 100%
rename from packages/css/src/Switch/index.css
rename to packages/core/src/css/Switch.css
diff --git a/packages/css/src/TextInput/index.css b/packages/core/src/css/TextInput.css
similarity index 100%
rename from packages/css/src/TextInput/index.css
rename to packages/core/src/css/TextInput.css
diff --git a/packages/css/src/Toast/index.css b/packages/core/src/css/Toast.css
similarity index 100%
rename from packages/css/src/Toast/index.css
rename to packages/core/src/css/Toast.css
diff --git a/packages/css/src/Tooltip/index.css b/packages/core/src/css/Tooltip.css
similarity index 100%
rename from packages/css/src/Tooltip/index.css
rename to packages/core/src/css/Tooltip.css
diff --git a/packages/css/src/TreeView/index.css b/packages/core/src/css/TreeView.css
similarity index 100%
rename from packages/css/src/TreeView/index.css
rename to packages/core/src/css/TreeView.css
diff --git a/packages/css/src/alpha-checker-board.css b/packages/core/src/css/alpha-checker-board.css
similarity index 100%
rename from packages/css/src/alpha-checker-board.css
rename to packages/core/src/css/alpha-checker-board.css
diff --git a/packages/css/src/global.css b/packages/core/src/css/global.css
similarity index 100%
rename from packages/css/src/global.css
rename to packages/core/src/css/global.css
diff --git a/packages/css/src/RectGizmo/horizontal-cursor.css b/packages/core/src/css/horizontal-cursor.css
similarity index 100%
rename from packages/css/src/RectGizmo/horizontal-cursor.css
rename to packages/core/src/css/horizontal-cursor.css
diff --git a/packages/core/src/css/index.ts b/packages/core/src/css/index.ts
new file mode 100644
index 0000000..fd6db05
--- /dev/null
+++ b/packages/core/src/css/index.ts
@@ -0,0 +1,29 @@
+
+import "./alpha-checker-board.css";
+import "./Button.css";
+import "./CanvasView.css";
+import "./Checkbox.css";
+import "./Chip.css";
+import "./Circle.css";
+import "./Drawer.css";
+import "./FloatBox.css";
+import "./global.css";
+import "./Grid.css";
+import "./horizontal-cursor.css";
+import "./IconButton.css";
+import "./ListItem.css";
+import "./Loading.css";
+import "./MenuBarButton.css";
+import "./MenuList.css";
+import "./Modal.css";
+import "./Radio.css";
+import "./RectGizmo.css";
+import "./Select.css";
+import "./Skelton.css";
+import "./Slider.css";
+import "./SVPicker.css";
+import "./Switch.css";
+import "./TextInput.css";
+import "./Toast.css";
+import "./Tooltip.css";
+import "./TreeView.css";
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index ed836e1..9156e56 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -1,4 +1,3 @@
-
export * from "./Button";
export * from "./CanvasView/createPanDragHandler";
export * from "./CanvasView/handleWheelZoom";
@@ -21,3 +20,5 @@ export * from "./interactions/createDragHandler";
export * from "./interactions/KeyboardKey";
export * from "./styles/matrixToCss";
export * from "./styles/px";
+
+import "./css/index"
diff --git a/packages/core/vite.config.js b/packages/core/vite.config.js
index 8151e70..02c1540 100644
--- a/packages/core/vite.config.js
+++ b/packages/core/vite.config.js
@@ -2,7 +2,6 @@ import { defineConfig } from "vite";
import path from "path";
export default defineConfig({
- plugins: [],
build: {
lib: {
entry: path.resolve(__dirname, "src/index.ts"),
@@ -10,6 +9,5 @@ export default defineConfig({
fileName: (format) => `index.${format}.js`,
},
outDir: path.resolve(__dirname, "dist"),
- rollupOptions: {},
},
});
diff --git a/packages/core/vite.config.split.js b/packages/core/vite.config.split.js
new file mode 100644
index 0000000..fabbfe5
--- /dev/null
+++ b/packages/core/vite.config.split.js
@@ -0,0 +1,45 @@
+import { defineConfig } from "vite";
+import path from "path";
+import { readdirSync, unlinkSync, writeFileSync } from "fs";
+
+function getCssFileNames() {
+ const dir = path.resolve(__dirname, "src/css");
+ return readdirSync(dir).filter(
+ (file) => file.endsWith(".css") && file !== "index.ts"
+ );
+}
+
+export default defineConfig({
+ plugins: [
+ {
+ buildStart: () => {
+ const dir = path.resolve(__dirname, "src/css");
+ getCssFileNames().forEach((cssFileName) => {
+ writeFileSync(
+ `${dir}/${cssFileName}.ts`,
+ `import "./${cssFileName}"`
+ );
+ });
+ },
+ closeBundle: () => {
+ const dir = path.resolve(__dirname, "src/css");
+ getCssFileNames().forEach((cssFileName) => {
+ unlinkSync(`${dir}/${cssFileName}.ts`);
+ });
+ },
+ },
+ ],
+ build: {
+ outDir: path.resolve(__dirname, "dist/split"),
+ rollupOptions: {
+ input: [
+ "src/index.ts",
+ ...getCssFileNames().map((file) => `src/css/${file}.ts`),
+ ],
+ output: {
+ assetFileNames: "[name][extname]",
+ entryFileNames: "[name].js",
+ },
+ },
+ },
+});
diff --git a/packages/css/package.json b/packages/css/package.json
deleted file mode 100644
index 1fc01a1..0000000
--- a/packages/css/package.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "name": "@toshusai/cmpui-css",
- "version": "1.0.0-alpha.13",
- "description": "CmpUI is a component library designed for creating complex GUI applications in web browsers.",
- "main": "dist/index.mjs",
- "types": "dist/index.d.mts",
- "scripts": {
- "build": "tsup",
- "dev": "tsup --watch"
- },
- "devDependencies": {
- "tsup": "^8.0.1"
- },
- "publishConfig": {
- "access": "public"
- },
- "keywords": [
- "components",
- "ui",
- "gui"
- ],
- "author": "toshusai",
- "license": "MIT"
-}
diff --git a/packages/css/src/index.ts b/packages/css/src/index.ts
deleted file mode 100644
index 2d5df9a..0000000
--- a/packages/css/src/index.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-
-import "./alpha-checker-board.css";
-import "./Button/index.css";
-import "./CanvasView/index.css";
-import "./Checkbox/index.css";
-import "./Chip/index.css";
-import "./Circle/index.css";
-import "./Drawer/index.css";
-import "./FloatBox/index.css";
-import "./global.css";
-import "./Grid/index.css";
-import "./IconButton/index.css";
-import "./ListItem/index.css";
-import "./Loading/index.css";
-import "./MenuBarButton/index.css";
-import "./MenuList/index.css";
-import "./Modal/index.css";
-import "./Radio/index.css";
-import "./RectGizmo/horizontal-cursor.css";
-import "./RectGizmo/index.css";
-import "./Select/index.css";
-import "./Skelton/index.css";
-import "./Slider/index.css";
-import "./SVPicker/index.css";
-import "./Switch/index.css";
-import "./TextInput/index.css";
-import "./Toast/index.css";
-import "./Tooltip/index.css";
-import "./TreeView/index.css";
diff --git a/packages/css/tsconfig.json b/packages/css/tsconfig.json
deleted file mode 100644
index b7e830d..0000000
--- a/packages/css/tsconfig.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "compilerOptions": {
- "target": "ES2020",
- "useDefineForClassFields": true,
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
- "module": "ESNext",
- "skipLibCheck": true,
-
- "moduleResolution": "bundler",
- "allowImportingTsExtensions": true,
- "emitDeclarationOnly": true,
- "declaration": true,
- "resolveJsonModule": true,
- "isolatedModules": true,
- "jsx": "react-jsx",
- "outDir": "dist",
-
- "strict": true,
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "noFallthroughCasesInSwitch": true,
- "typeRoots": ["node_modules/@types", ".storybook/@types"]
- },
- "include": ["src"]
-}
diff --git a/packages/css/tsup.config.ts b/packages/css/tsup.config.ts
deleted file mode 100644
index 4c4a452..0000000
--- a/packages/css/tsup.config.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-import { defineConfig } from "tsup";
-
-export default defineConfig({
- entry: ["src/index.ts"],
- entryPoints: ["src/index.ts"],
- format: "esm",
- target: "esnext",
- dts: true,
-});
diff --git a/packages/react/.storybook/preview.tsx b/packages/react/.storybook/preview.tsx
index 911975a..9f508c0 100644
--- a/packages/react/.storybook/preview.tsx
+++ b/packages/react/.storybook/preview.tsx
@@ -4,7 +4,7 @@ import type { Decorator, Preview } from "@storybook/react";
import DocumentationTemplate from "./DocumentationTemplate.mdx";
-import "@toshusai/cmpui-css/dist/index.css";
+import "@toshusai/cmpui-core/dist/style.css";
import "./storybook.css";
const preview: Preview = {
diff --git a/packages/react/package.json b/packages/react/package.json
index 42bb777..d358aa6 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -23,7 +23,6 @@
"dependencies": {
"@floating-ui/dom": "^1.6.10",
"@toshusai/cmpui-core": "link:../core",
- "@toshusai/cmpui-css": "link:../css",
"react-transition-group": "^4.4.5"
},
"peerDependencies": {
diff --git a/packages/vue/.storybook/preview.ts b/packages/vue/.storybook/preview.ts
index 1d8ebec..b3b2a51 100644
--- a/packages/vue/.storybook/preview.ts
+++ b/packages/vue/.storybook/preview.ts
@@ -1,6 +1,6 @@
import type { Decorator, Preview } from "@storybook/vue3";
-import "@toshusai/cmpui-css/dist/index.css";
+import "@toshusai/cmpui-core/dist/style.css"
const preview: Preview = {
parameters: {
diff --git a/packages/vue/package.json b/packages/vue/package.json
index 529bb02..785b95e 100644
--- a/packages/vue/package.json
+++ b/packages/vue/package.json
@@ -38,8 +38,7 @@
},
"dependencies": {
"@floating-ui/dom": "^1.6.10",
- "@toshusai/cmpui-core": "link:../core",
- "@toshusai/cmpui-css": "link:../css"
+ "@toshusai/cmpui-core": "link:../core"
},
"peerDependencies": {
"vue": "^3.4.38"
diff --git a/packages/vue/src/components/CRectGizmo/CRectGizmo.vue b/packages/vue/src/components/CRectGizmo/CRectGizmo.vue
index a3bb032..b033588 100644
--- a/packages/vue/src/components/CRectGizmo/CRectGizmo.vue
+++ b/packages/vue/src/components/CRectGizmo/CRectGizmo.vue
@@ -5,17 +5,26 @@ import {
px,
radToDeg,
createResizeHandler,
+ Vector2,
} from "@toshusai/cmpui-core";
import { computed, ref } from "vue";
import { corners } from "@toshusai/cmpui-core";
import CCircle from "../CCircle/CCircle.vue";
-import { RectGizmoProps } from "@toshusai/cmpui-core";
import { createEdgeHandler, createEdgeStyle } from "@toshusai/cmpui-core";
import { createStepped } from "@toshusai/cmpui-core";
import { createRotateHandler, createRotateStyle } from "@toshusai/cmpui-core";
import { whIndexToCornerName } from "@toshusai/cmpui-core";
+export type RectGizmoProps = {
+ width: number;
+ height: number;
+ scale: Vector2;
+ rotation: number;
+ position: Vector2;
+ origin: Vector2;
+};
+
const props = defineProps();
const emit = defineEmits<{
diff --git a/packages/vue/src/components/CSelect/CSelect.spec.ts b/packages/vue/src/components/CSelect/CSelect.spec.ts
index 3f96e18..5d01b47 100644
--- a/packages/vue/src/components/CSelect/CSelect.spec.ts
+++ b/packages/vue/src/components/CSelect/CSelect.spec.ts
@@ -3,7 +3,7 @@ import { test, expect } from "vitest";
import CSelect from "./CSelect.vue";
import { defineComponent, h, nextTick, ref } from "vue";
-import "@toshusai/cmpui-css/dist/index.css";
+import "@toshusai/cmpui-core/dist/style.css";
const waitNextTick = () => new Promise((resolve) => nextTick(resolve));
diff --git a/packages/vue/src/components/CSubMenuPopover/stories/StorySubMenuPopoverExample2/StorySubMenuPopoverExample2.browser.test.ts b/packages/vue/src/components/CSubMenuPopover/stories/StorySubMenuPopoverExample2/StorySubMenuPopoverExample2.browser.test.ts
index 122b758..9e4f17f 100644
--- a/packages/vue/src/components/CSubMenuPopover/stories/StorySubMenuPopoverExample2/StorySubMenuPopoverExample2.browser.test.ts
+++ b/packages/vue/src/components/CSubMenuPopover/stories/StorySubMenuPopoverExample2/StorySubMenuPopoverExample2.browser.test.ts
@@ -5,7 +5,7 @@ import { userEvent } from "@vitest/browser/context";
import { asyncNextTick } from "../../../../test/asyncNextTick";
import { asyncSetTimeout } from "../../../../test/asyncSetTimeout";
-import "@toshusai/cmpui-css/dist/index.css";
+import "@toshusai/cmpui-core/dist/style.css";
import "../../../../test/test.css";
beforeEach(cleanup);
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 33852d6..97482e9 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -28,12 +28,6 @@ importers:
specifier: ^5.4.1
version: 5.4.3
- packages/css:
- devDependencies:
- tsup:
- specifier: ^8.0.1
- version: 8.2.4(@swc/core@1.7.23)(typescript@5.5.4)
-
packages/docs:
dependencies:
'@nuxt/content':
@@ -45,9 +39,6 @@ importers:
'@tabler/icons-vue':
specifier: ^3.12.0
version: 3.14.0(vue@3.5.0)
- '@toshusai/cmpui-core':
- specifier: link:../core
- version: link:../core
'@toshusai/cmpui-vue':
specifier: link:../vue
version: link:../vue
@@ -66,9 +57,6 @@ importers:
'@toshusai/cmpui-core':
specifier: link:../core
version: link:../core
- '@toshusai/cmpui-css':
- specifier: link:../css
- version: link:../css
react-transition-group:
specifier: ^4.4.5
version: 4.4.5(react-dom@18.3.1)(react@18.3.1)
@@ -169,9 +157,6 @@ importers:
'@toshusai/cmpui-core':
specifier: link:../core
version: link:../core
- '@toshusai/cmpui-css':
- specifier: link:../css
- version: link:../css
devDependencies:
'@chromatic-com/storybook':
specifier: ^1.7.0