@stratakit/structures 0.1.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/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ # Changelog
package/LICENSE.md ADDED
@@ -0,0 +1,9 @@
1
+ # MIT License
2
+
3
+ Copyright © 2025 Bentley Systems, Incorporated. All rights reserved.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @stratakit/structures
2
+
3
+ Medium-sized component structures built on top of `@stratakit/bricks`.
4
+
5
+ ## Installation
6
+
7
+ Using your package manager of choice, install the latest version of [`@stratakit/structures`](https://www.npmjs.com/package/@stratakit/structures?activeTab=versions).
8
+
9
+ ```console
10
+ npm add @stratakit/structures
11
+ ```
@@ -0,0 +1,8 @@
1
+ // inline-css:/home/runner/work/design-system/design-system/packages/structures/src/styles.css
2
+ var styles_default = String.raw``;
3
+
4
+ // src/styles.css.ts
5
+ var styles_css_default = styles_default;
6
+ export {
7
+ styles_css_default as default
8
+ };
@@ -0,0 +1,2 @@
1
+ import rawStyles from "./styles.css?inline";
2
+ export default rawStyles;
@@ -0,0 +1,8 @@
1
+ // inline-css:/home/runner/work/design-system/design-system/packages/structures/src/styles.css
2
+ var styles_default = String.raw``;
3
+
4
+ // src/styles.css.ts
5
+ var styles_css_default = styles_default;
6
+ export {
7
+ styles_css_default as default
8
+ };
package/package.json ADDED
@@ -0,0 +1,123 @@
1
+ {
2
+ "name": "@stratakit/structures",
3
+ "type": "module",
4
+ "version": "0.1.0",
5
+ "license": "MIT",
6
+ "sideEffects": false,
7
+ "exports": {
8
+ ".": {
9
+ "@stratakit/source": "./src/index.ts",
10
+ "types": "./dist/index.d.ts",
11
+ "development": "./dist/DEV/index.js",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "CHANGELOG.md",
19
+ "LICENSE.md"
20
+ ],
21
+ "description": "Medium-sized component structures for the Strata design system",
22
+ "author": "Bentley Systems",
23
+ "homepage": "https://github.com/iTwin/design-system",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/iTwin/design-system.git",
27
+ "directory": "packages/structures"
28
+ },
29
+ "keywords": [
30
+ "component",
31
+ "components",
32
+ "design-system",
33
+ "design",
34
+ "frontend",
35
+ "itwin",
36
+ "itwinui",
37
+ "strata",
38
+ "stratakit",
39
+ "react",
40
+ "ui"
41
+ ],
42
+ "dependencies": {
43
+ "@ariakit/react": "^0.4.17",
44
+ "@stratakit/bricks": "^0.1.2",
45
+ "classnames": "^2.5.1"
46
+ },
47
+ "devDependencies": {
48
+ "@types/node": "^22.14.1",
49
+ "@types/react": "^19.1.2",
50
+ "@types/react-dom": "^19.1.2",
51
+ "esbuild": "^0.25.3",
52
+ "react": "^19.1.0",
53
+ "react-dom": "^19.1.0",
54
+ "typescript": "~5.8.3",
55
+ "@stratakit/foundations": "0.1.2"
56
+ },
57
+ "peerDependencies": {
58
+ "@stratakit/foundations": "^0.1.2",
59
+ "react": ">=18.0.0",
60
+ "react-dom": ">=18.0.0"
61
+ },
62
+ "wireit": {
63
+ "build": {
64
+ "dependencies": [
65
+ "../foundations:build",
66
+ "../bricks:build",
67
+ "build:js",
68
+ "build:DEV",
69
+ "build:types"
70
+ ]
71
+ },
72
+ "build:js": {
73
+ "command": "node scripts/build.js",
74
+ "files": [
75
+ "src",
76
+ "scripts",
77
+ "../../internal"
78
+ ],
79
+ "output": [
80
+ "dist/**/*.js",
81
+ "!dist/DEV"
82
+ ]
83
+ },
84
+ "build:DEV": {
85
+ "command": "node scripts/build.js",
86
+ "files": [
87
+ "src",
88
+ "scripts",
89
+ "../../internal"
90
+ ],
91
+ "output": [
92
+ "dist/DEV/**/*.js"
93
+ ],
94
+ "env": {
95
+ "NODE_ENV": "development"
96
+ }
97
+ },
98
+ "build:types": {
99
+ "command": "tsc --outDir dist",
100
+ "dependencies": [
101
+ "../foundations:build:types",
102
+ "../bricks:build:types"
103
+ ],
104
+ "files": [
105
+ "src"
106
+ ],
107
+ "output": [
108
+ "dist/**/*.d.ts"
109
+ ]
110
+ },
111
+ "dev": {
112
+ "command": "tsc --watch --outDir dist",
113
+ "files": [
114
+ "src"
115
+ ],
116
+ "service": true
117
+ }
118
+ },
119
+ "scripts": {
120
+ "build": "wireit",
121
+ "dev": "wireit"
122
+ }
123
+ }