@stll/workspace-ui 0.0.1-placeholder.0 → 0.2.0
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/README.md +59 -0
- package/dist/calculation-format.d.ts +54 -0
- package/dist/calculation-format.js +72 -0
- package/dist/calculation-selection.d.ts +15 -0
- package/dist/calculation-selection.js +14 -0
- package/dist/calculations.d.ts +67 -0
- package/dist/calculations.js +108 -0
- package/dist/colors.d.ts +2 -0
- package/dist/colors.js +2 -0
- package/dist/conditions/builder.d.ts +98 -0
- package/dist/conditions/builder.js +447 -0
- package/dist/conditions/index.d.ts +3 -0
- package/dist/conditions/index.js +3 -0
- package/dist/conditions/logic.d.ts +70 -0
- package/dist/conditions/logic.js +248 -0
- package/dist/field-value-logic.d.ts +7 -0
- package/dist/field-value-logic.js +8 -0
- package/dist/field-value.d.ts +30 -0
- package/dist/field-value.js +308 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +15 -0
- package/dist/property-icon.d.ts +12 -0
- package/dist/property-icon.js +56 -0
- package/dist/sorts.d.ts +41 -0
- package/dist/sorts.js +99 -0
- package/dist/table-skeleton-rows.d.ts +18 -0
- package/dist/table-skeleton-rows.js +34 -0
- package/dist/types.d.ts +89 -0
- package/dist/types.js +17 -0
- package/dist/view-switcher.d.ts +33 -0
- package/dist/view-switcher.js +159 -0
- package/dist/view-switcher.logic.d.ts +14 -0
- package/dist/view-switcher.logic.js +14 -0
- package/package.json +135 -3
package/package.json
CHANGED
|
@@ -1,6 +1,138 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stll/workspace-ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Reusable workspace presentation components and view helpers for Stella.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"calculations",
|
|
7
|
+
"filters",
|
|
8
|
+
"react",
|
|
9
|
+
"tables",
|
|
10
|
+
"ui",
|
|
11
|
+
"workspace"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/stella/stella/tree/main/packages/workspace-ui",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/stella/stella/issues"
|
|
16
|
+
},
|
|
17
|
+
"license": "Apache-2.0",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "https://github.com/stella/stella.git",
|
|
21
|
+
"directory": "packages/workspace-ui"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"README.md"
|
|
26
|
+
],
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"exports": {
|
|
30
|
+
".": {
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
32
|
+
"import": "./dist/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./calculations": {
|
|
35
|
+
"types": "./dist/calculations.d.ts",
|
|
36
|
+
"import": "./dist/calculations.js"
|
|
37
|
+
},
|
|
38
|
+
"./calculation-format": {
|
|
39
|
+
"types": "./dist/calculation-format.d.ts",
|
|
40
|
+
"import": "./dist/calculation-format.js"
|
|
41
|
+
},
|
|
42
|
+
"./calculation-selection": {
|
|
43
|
+
"types": "./dist/calculation-selection.d.ts",
|
|
44
|
+
"import": "./dist/calculation-selection.js"
|
|
45
|
+
},
|
|
46
|
+
"./colors": {
|
|
47
|
+
"types": "./dist/colors.d.ts",
|
|
48
|
+
"import": "./dist/colors.js"
|
|
49
|
+
},
|
|
50
|
+
"./conditions": {
|
|
51
|
+
"types": "./dist/conditions/index.d.ts",
|
|
52
|
+
"import": "./dist/conditions/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./field-value": {
|
|
55
|
+
"types": "./dist/field-value.d.ts",
|
|
56
|
+
"import": "./dist/field-value.js"
|
|
57
|
+
},
|
|
58
|
+
"./field-value-logic": {
|
|
59
|
+
"types": "./dist/field-value-logic.d.ts",
|
|
60
|
+
"import": "./dist/field-value-logic.js"
|
|
61
|
+
},
|
|
62
|
+
"./property-icon": {
|
|
63
|
+
"types": "./dist/property-icon.d.ts",
|
|
64
|
+
"import": "./dist/property-icon.js"
|
|
65
|
+
},
|
|
66
|
+
"./sorts": {
|
|
67
|
+
"types": "./dist/sorts.d.ts",
|
|
68
|
+
"import": "./dist/sorts.js"
|
|
69
|
+
},
|
|
70
|
+
"./table-skeleton-rows": {
|
|
71
|
+
"types": "./dist/table-skeleton-rows.d.ts",
|
|
72
|
+
"import": "./dist/table-skeleton-rows.js"
|
|
73
|
+
},
|
|
74
|
+
"./types": {
|
|
75
|
+
"types": "./dist/types.d.ts",
|
|
76
|
+
"import": "./dist/types.js"
|
|
77
|
+
},
|
|
78
|
+
"./view-switcher": {
|
|
79
|
+
"types": "./dist/view-switcher.d.ts",
|
|
80
|
+
"import": "./dist/view-switcher.js"
|
|
81
|
+
},
|
|
82
|
+
"./view-switcher-logic": {
|
|
83
|
+
"types": "./dist/view-switcher.logic.d.ts",
|
|
84
|
+
"import": "./dist/view-switcher.logic.js"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"publishConfig": {
|
|
88
|
+
"access": "public"
|
|
89
|
+
},
|
|
90
|
+
"scripts": {
|
|
91
|
+
"clean": "git clean -xdf dist .cache .turbo node_modules",
|
|
92
|
+
"build": "tsdown",
|
|
93
|
+
"pack:dry-run": "bun pm pack --dry-run",
|
|
94
|
+
"test": "bun test src",
|
|
95
|
+
"typecheck": "bun ../../packages/scripts/src/tsc-native.ts --noEmit",
|
|
96
|
+
"lint": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --report-unused-disable-directives-severity=error --deny-warnings --type-aware packages/workspace-ui",
|
|
97
|
+
"lint:fix": "cd ../.. && bun --bun oxlint -c oxlint.config.ts --type-aware --fix packages/workspace-ui",
|
|
98
|
+
"format": "oxfmt .",
|
|
99
|
+
"prepack": "bun run build",
|
|
100
|
+
"test:property": "bun test $(grep -rlF 'fc.assert' src --include='*.test.ts')"
|
|
101
|
+
},
|
|
102
|
+
"dependencies": {
|
|
103
|
+
"@stll/calculations": "^0.1.0",
|
|
104
|
+
"@stll/conditions": "^0.2.0",
|
|
105
|
+
"@stll/money": "^0.1.0",
|
|
106
|
+
"@stll/ui": "^0.4.0",
|
|
107
|
+
"better-result": "3.0.0",
|
|
108
|
+
"lucide-react": "1.30.0",
|
|
109
|
+
"use-intl": "4.13.5"
|
|
110
|
+
},
|
|
111
|
+
"devDependencies": {
|
|
112
|
+
"@atlaskit/pragmatic-drag-and-drop": "^3.0.0",
|
|
113
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.1",
|
|
114
|
+
"@base-ui/react": "1.7.0",
|
|
115
|
+
"@stll/property-testing": "0.0.0",
|
|
116
|
+
"@stll/typescript-config": "0.0.0",
|
|
117
|
+
"@tanstack/react-table": "9.1.2",
|
|
118
|
+
"@types/react": "^19.2.17",
|
|
119
|
+
"@types/react-dom": "^19.2.3",
|
|
120
|
+
"bun-types": "1.4.0",
|
|
121
|
+
"fast-check": "^4.9.0",
|
|
122
|
+
"react": "^19.2.8",
|
|
123
|
+
"react-dom": "^19.2.8",
|
|
124
|
+
"tailwindcss": "4.3.3",
|
|
125
|
+
"tsdown": "0.22.14"
|
|
126
|
+
},
|
|
127
|
+
"peerDependencies": {
|
|
128
|
+
"@atlaskit/pragmatic-drag-and-drop": "^3.0.0",
|
|
129
|
+
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.0.1",
|
|
130
|
+
"@base-ui/react": "^1.7.0",
|
|
131
|
+
"@tanstack/react-table": "^9.1.2",
|
|
132
|
+
"react": ">=19",
|
|
133
|
+
"react-dom": ">=19",
|
|
134
|
+
"tailwindcss": "^4.3.0"
|
|
135
|
+
},
|
|
136
|
+
"main": "./dist/index.js",
|
|
137
|
+
"types": "./dist/index.d.ts"
|
|
6
138
|
}
|