@carandesign/drawui 0.1.2 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +1 -0
- package/dist/components/button/DrawuiButton.types.d.ts +2 -1
- package/dist/components/card/DrawuiCard.types.d.ts +2 -1
- package/dist/components/collapse/DrawuiCollapse.types.d.ts +2 -1
- package/dist/components/divider/DrawuiDivider.types.d.ts +2 -1
- package/dist/components/iconButton/DrawuiIconButton.types.d.ts +2 -1
- package/dist/components/input/DrawuiInput.types.d.ts +2 -1
- package/dist/drawui.cjs.js +11 -11
- package/dist/drawui.es.js +1021 -983
- package/dist/theme/types.d.ts +1 -0
- package/package.json +5 -2
package/dist/theme/types.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type StrokeWeight = "thin" | "medium" | "thick";
|
|
2
2
|
export type RadiusToken = "none" | "sm" | "md" | "lg" | "full";
|
|
3
3
|
export type SizeToken = "sm" | "md" | "lg" | "xl";
|
|
4
|
+
export type FillStyles = "hachure" | "solid" | "zigzag" | "cross-hatch" | "dots" | "sunburst" | "dashed" | "zigzag-line";
|
|
4
5
|
export interface DrawuiButtonSize {
|
|
5
6
|
width: number;
|
|
6
7
|
height: number;
|
package/package.json
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carandesign/drawui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Sketch-style React UI component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/drawui.cjs.js",
|
|
7
7
|
"module": "dist/drawui.es.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"files": [
|
|
10
|
-
"dist"
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md",
|
|
12
|
+
"CHANGELOG.md"
|
|
11
13
|
],
|
|
12
14
|
"scripts": {
|
|
15
|
+
"dev": "vite",
|
|
13
16
|
"build": "vite build",
|
|
14
17
|
"prepublishOnly": "npm run build"
|
|
15
18
|
},
|