@crab-dev/wake 0.1.15 → 0.1.16
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 +9 -0
- package/internal/components-runtime.d.ts +52 -0
- package/internal/components-runtime.mjs +53 -0
- package/package.json +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.16
|
|
4
|
+
|
|
5
|
+
- Automatically loaded Crab UI component CSS from package identity across `node_modules`, workspaces, and Yarn PnP virtual, unplugged, and zip layouts without runtime CSS imports.
|
|
6
|
+
- Added issuer-scoped Yarn PnP dependency fallbacks for Components workbenches while preserving aliases, package-owned dependency versions, exports errors, and ambiguous virtual-locator rejection.
|
|
7
|
+
- Preserved configured Demo accent colors independently from the neutral workbench theme.
|
|
8
|
+
- Added a Yarn 4.16 Plug'n'Play release gate that packs all six local npm packages and verifies the Components runtime, hashed CSS link, and direct and transitive component styles.
|
|
9
|
+
- Preserved ESM default and re-exported bindings in minified code-split builds while retaining correct CommonJS default and namespace interop.
|
|
10
|
+
- Made dev-server startup wait for file-watcher registration and canonicalized project paths, eliminating missed immediate edits across Windows short/long path aliases while surfacing watcher initialization failures to API callers.
|
|
11
|
+
|
|
3
12
|
## 0.1.15
|
|
4
13
|
|
|
5
14
|
- Preserved explicitly unset component Props, non-default Args, selected demos, and viewport state across copied URLs, refreshes, and browser navigation.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { ComponentType, Key, ReactNode } from 'react'
|
|
2
|
+
|
|
3
|
+
export { default as Alert } from '@crab-dev/rc-alert'
|
|
4
|
+
export { default as Button } from '@crab-dev/rc-button'
|
|
5
|
+
export { default as Dialog } from '@crab-dev/rc-dialog'
|
|
6
|
+
export { default as Drawer } from '@crab-dev/rc-drawer'
|
|
7
|
+
export { default as Empty } from '@crab-dev/rc-empty'
|
|
8
|
+
export { default as LineEdit } from '@crab-dev/rc-line-edit'
|
|
9
|
+
export { default as NumberEdit } from '@crab-dev/rc-number-edit'
|
|
10
|
+
export { default as Segmented } from '@crab-dev/rc-segmented'
|
|
11
|
+
export { default as Select } from '@crab-dev/rc-select'
|
|
12
|
+
export { default as Switch } from '@crab-dev/rc-switch'
|
|
13
|
+
export { default as Tag } from '@crab-dev/rc-tag'
|
|
14
|
+
export { default as TextEdit } from '@crab-dev/rc-text-edit'
|
|
15
|
+
export { default as Tooltip } from '@crab-dev/rc-tooltip'
|
|
16
|
+
|
|
17
|
+
export declare enum NodeType {
|
|
18
|
+
FOLDER = 0,
|
|
19
|
+
FILE = 1,
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export declare enum LoadStateType {
|
|
23
|
+
UNLOADED = 0,
|
|
24
|
+
LOADING = 1,
|
|
25
|
+
LOADING_COMPLETED = 2,
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface TreeNode {
|
|
29
|
+
parent: TreeNode | null
|
|
30
|
+
loadState: LoadStateType
|
|
31
|
+
type: NodeType
|
|
32
|
+
title: ReactNode
|
|
33
|
+
id: Key
|
|
34
|
+
disabled?: boolean
|
|
35
|
+
icon?: ReactNode
|
|
36
|
+
height?: number
|
|
37
|
+
priority?: number
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export declare const Tree: ComponentType<any>
|
|
41
|
+
|
|
42
|
+
export {
|
|
43
|
+
Check,
|
|
44
|
+
Code2,
|
|
45
|
+
Copy,
|
|
46
|
+
Menu,
|
|
47
|
+
Monitor,
|
|
48
|
+
Moon,
|
|
49
|
+
RotateCcw,
|
|
50
|
+
SlidersHorizontal,
|
|
51
|
+
Sun,
|
|
52
|
+
} from 'lucide-react'
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import Alert from '@crab-dev/rc-alert'
|
|
2
|
+
import Button from '@crab-dev/rc-button'
|
|
3
|
+
import Dialog from '@crab-dev/rc-dialog'
|
|
4
|
+
import Drawer from '@crab-dev/rc-drawer'
|
|
5
|
+
import Empty from '@crab-dev/rc-empty'
|
|
6
|
+
import LineEdit from '@crab-dev/rc-line-edit'
|
|
7
|
+
import NumberEdit from '@crab-dev/rc-number-edit'
|
|
8
|
+
import Segmented from '@crab-dev/rc-segmented'
|
|
9
|
+
import Select from '@crab-dev/rc-select'
|
|
10
|
+
import Switch from '@crab-dev/rc-switch'
|
|
11
|
+
import Tag from '@crab-dev/rc-tag'
|
|
12
|
+
import TextEdit from '@crab-dev/rc-text-edit'
|
|
13
|
+
import Tooltip from '@crab-dev/rc-tooltip'
|
|
14
|
+
import Tree, { LoadStateType, NodeType } from '@crab-dev/rc-tree'
|
|
15
|
+
import {
|
|
16
|
+
Check,
|
|
17
|
+
Code2,
|
|
18
|
+
Copy,
|
|
19
|
+
Menu,
|
|
20
|
+
Monitor,
|
|
21
|
+
Moon,
|
|
22
|
+
RotateCcw,
|
|
23
|
+
SlidersHorizontal,
|
|
24
|
+
Sun,
|
|
25
|
+
} from 'lucide-react'
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
Alert,
|
|
29
|
+
Button,
|
|
30
|
+
Check,
|
|
31
|
+
Code2,
|
|
32
|
+
Copy,
|
|
33
|
+
Dialog,
|
|
34
|
+
Drawer,
|
|
35
|
+
Empty,
|
|
36
|
+
LineEdit,
|
|
37
|
+
LoadStateType,
|
|
38
|
+
Menu,
|
|
39
|
+
Monitor,
|
|
40
|
+
Moon,
|
|
41
|
+
NodeType,
|
|
42
|
+
NumberEdit,
|
|
43
|
+
RotateCcw,
|
|
44
|
+
Segmented,
|
|
45
|
+
Select,
|
|
46
|
+
SlidersHorizontal,
|
|
47
|
+
Sun,
|
|
48
|
+
Switch,
|
|
49
|
+
Tag,
|
|
50
|
+
TextEdit,
|
|
51
|
+
Tooltip,
|
|
52
|
+
Tree,
|
|
53
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crab-dev/wake",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.16",
|
|
4
4
|
"description": "Wake native web build tools for Node.js",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -22,6 +22,10 @@
|
|
|
22
22
|
"import": "./experimental.mjs",
|
|
23
23
|
"require": "./experimental.cjs"
|
|
24
24
|
},
|
|
25
|
+
"./internal/components-runtime": {
|
|
26
|
+
"types": "./internal/components-runtime.d.ts",
|
|
27
|
+
"import": "./internal/components-runtime.mjs"
|
|
28
|
+
},
|
|
25
29
|
"./package.json": "./package.json"
|
|
26
30
|
},
|
|
27
31
|
"bin": {
|
|
@@ -32,6 +36,7 @@
|
|
|
32
36
|
},
|
|
33
37
|
"files": [
|
|
34
38
|
"bin",
|
|
39
|
+
"internal",
|
|
35
40
|
"*.cjs",
|
|
36
41
|
"*.mjs",
|
|
37
42
|
"index.d.ts",
|
|
@@ -67,11 +72,11 @@
|
|
|
67
72
|
"react-dom": "^19.2.8"
|
|
68
73
|
},
|
|
69
74
|
"optionalDependencies": {
|
|
70
|
-
"@crab-dev/wake-darwin-arm64": "0.1.
|
|
71
|
-
"@crab-dev/wake-darwin-x64": "0.1.
|
|
72
|
-
"@crab-dev/wake-linux-arm64-gnu": "0.1.
|
|
73
|
-
"@crab-dev/wake-linux-x64-gnu": "0.1.
|
|
74
|
-
"@crab-dev/wake-win32-x64-msvc": "0.1.
|
|
75
|
+
"@crab-dev/wake-darwin-arm64": "0.1.16",
|
|
76
|
+
"@crab-dev/wake-darwin-x64": "0.1.16",
|
|
77
|
+
"@crab-dev/wake-linux-arm64-gnu": "0.1.16",
|
|
78
|
+
"@crab-dev/wake-linux-x64-gnu": "0.1.16",
|
|
79
|
+
"@crab-dev/wake-win32-x64-msvc": "0.1.16"
|
|
75
80
|
},
|
|
76
81
|
"publishConfig": {
|
|
77
82
|
"access": "public",
|