@pittorica/stack-react 0.8.2 → 0.21.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/.turbo/turbo-build.log +11 -11
- package/dist/index.cjs +12354 -19626
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +12360 -19604
- package/dist/index.js.map +1 -1
- package/dist/stack-react.css +72 -0
- package/package.json +6 -4
- package/src/index.ts +12 -2
- package/vite.config.ts +2 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
.r0kzzx0 {
|
|
2
|
+
display: flex;
|
|
3
|
+
}
|
|
4
|
+
.r0kzzx1 {
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
}
|
|
7
|
+
.r0kzzx2 {
|
|
8
|
+
flex-direction: row-reverse;
|
|
9
|
+
}
|
|
10
|
+
.r0kzzx3 {
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
.r0kzzx4 {
|
|
14
|
+
flex-direction: column-reverse;
|
|
15
|
+
}
|
|
16
|
+
.r0kzzx5 {
|
|
17
|
+
align-items: flex-start;
|
|
18
|
+
}
|
|
19
|
+
.r0kzzx6 {
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
.r0kzzx7 {
|
|
23
|
+
align-items: flex-end;
|
|
24
|
+
}
|
|
25
|
+
.r0kzzx8 {
|
|
26
|
+
align-items: stretch;
|
|
27
|
+
}
|
|
28
|
+
.r0kzzx9 {
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
}
|
|
31
|
+
.r0kzzxa {
|
|
32
|
+
justify-content: center;
|
|
33
|
+
}
|
|
34
|
+
.r0kzzxb {
|
|
35
|
+
justify-content: flex-end;
|
|
36
|
+
}
|
|
37
|
+
.r0kzzxc {
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
}
|
|
40
|
+
.r0kzzxd {
|
|
41
|
+
justify-content: space-around;
|
|
42
|
+
}
|
|
43
|
+
.r0kzzxe {
|
|
44
|
+
justify-content: space-evenly;
|
|
45
|
+
}
|
|
46
|
+
.r0kzzxf {
|
|
47
|
+
gap: 0;
|
|
48
|
+
}
|
|
49
|
+
.r0kzzxg {
|
|
50
|
+
gap: 0.25rem;
|
|
51
|
+
}
|
|
52
|
+
.r0kzzxh {
|
|
53
|
+
gap: 0.5rem;
|
|
54
|
+
}
|
|
55
|
+
.r0kzzxi {
|
|
56
|
+
gap: 1rem;
|
|
57
|
+
}
|
|
58
|
+
.r0kzzxj {
|
|
59
|
+
gap: 1.5rem;
|
|
60
|
+
}
|
|
61
|
+
.r0kzzxk {
|
|
62
|
+
gap: 2rem;
|
|
63
|
+
}
|
|
64
|
+
.r0kzzxl {
|
|
65
|
+
gap: 3rem;
|
|
66
|
+
}
|
|
67
|
+
.r0kzzxm {
|
|
68
|
+
gap: 4rem;
|
|
69
|
+
}
|
|
70
|
+
.r0kzzxn {
|
|
71
|
+
gap: 6rem;
|
|
72
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pittorica/stack-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Davide Di Criscito"
|
|
@@ -15,21 +15,23 @@
|
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist/index.js",
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@vanilla-extract/css": "^1.18.0",
|
|
18
19
|
"@vanilla-extract/recipes": "^0.5.7",
|
|
19
20
|
"clsx": "^2.1.1",
|
|
20
21
|
"react": "^19.2.3",
|
|
21
22
|
"react-dom": "^19.2.3",
|
|
22
|
-
"@pittorica/box-react": "0.
|
|
23
|
-
"@pittorica/styles": "0.
|
|
23
|
+
"@pittorica/box-react": "0.21.0",
|
|
24
|
+
"@pittorica/styles": "0.21.0"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"@types/node": "^25.0.10",
|
|
27
28
|
"@types/react": "^19.2.9",
|
|
28
29
|
"@types/react-dom": "^19.2.3",
|
|
30
|
+
"@vanilla-extract/vite-plugin": "^5.1.4",
|
|
29
31
|
"@vitejs/plugin-react": "^5.1.2",
|
|
30
32
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
31
33
|
"typescript": "~5.9.3",
|
|
32
|
-
"vite": "
|
|
34
|
+
"vite": "7.3.1",
|
|
33
35
|
"vite-plugin-dts": "^4.5.4"
|
|
34
36
|
},
|
|
35
37
|
"publishConfig": {
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
1
|
+
export type {
|
|
2
|
+
StackAlign,
|
|
3
|
+
StackDirection,
|
|
4
|
+
StackJustify,
|
|
5
|
+
StackProps,
|
|
6
|
+
} from './Stack.js';
|
|
7
|
+
export {
|
|
8
|
+
Stack,
|
|
9
|
+
STACK_ALIGNS,
|
|
10
|
+
STACK_DIRECTIONS,
|
|
11
|
+
STACK_JUSTIFIES,
|
|
12
|
+
} from './Stack.js';
|
package/vite.config.ts
CHANGED
|
@@ -2,11 +2,13 @@ import path from 'node:path';
|
|
|
2
2
|
|
|
3
3
|
import { defineConfig } from 'vite';
|
|
4
4
|
import dts from 'vite-plugin-dts';
|
|
5
|
+
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
|
|
5
6
|
import react from '@vitejs/plugin-react';
|
|
6
7
|
|
|
7
8
|
// https://vite.dev/config/
|
|
8
9
|
export default defineConfig({
|
|
9
10
|
plugins: [
|
|
11
|
+
vanillaExtractPlugin(),
|
|
10
12
|
react({
|
|
11
13
|
babel: {
|
|
12
14
|
plugins: [['babel-plugin-react-compiler']],
|