浏览代码

docs: update changelog and readme and release 0.2.1 (#2821)

Aakansha Doshi 4 年之前
父节点
当前提交
3922ee8c11
共有 3 个文件被更改,包括 9 次插入4 次删除
  1. 8 0
      src/packages/excalidraw/CHANGELOG.md
  2. 0 3
      src/packages/excalidraw/README.md
  3. 1 1
      src/packages/excalidraw/package.json

+ 8 - 0
src/packages/excalidraw/CHANGELOG.md

@@ -12,6 +12,14 @@ The change should be grouped under one of the below section and must contain PR
 Please add the latest change on the top under the correct section.
 Please add the latest change on the top under the correct section.
 -->
 -->
 
 
+## 0.2.1
+
+## Excalidraw API
+
+### Build
+
+- Bundle css files with js [#2819](https://github.com/excalidraw/excalidraw/pull/2819). The host would not need to import css files separately.
+
 ## 0.2.0
 ## 0.2.0
 
 
 ## Excalidraw API
 ## Excalidraw API

+ 0 - 3
src/packages/excalidraw/README.md

@@ -31,9 +31,6 @@ import React, { useEffect, useState, createRef } from "react";
 import Excalidraw from "@excalidraw/excalidraw";
 import Excalidraw from "@excalidraw/excalidraw";
 import InitialData from "./initialData";
 import InitialData from "./initialData";
 
 
-import "@excalidraw/excalidraw/dist/excalidraw.min.css";
-import "@excalidraw/excalidraw/dist/fonts.min.css";
-
 import "./styles.css";
 import "./styles.css";
 
 
 export default function App() {
 export default function App() {

+ 1 - 1
src/packages/excalidraw/package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "@excalidraw/excalidraw",
   "name": "@excalidraw/excalidraw",
-  "version": "0.2.0",
+  "version": "0.2.1",
   "main": "dist/excalidraw.min.js",
   "main": "dist/excalidraw.min.js",
   "files": [
   "files": [
     "dist/*"
     "dist/*"