@blueprintjs/labs 6.2.2 → 6.2.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueprintjs/labs",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.3",
|
|
4
4
|
"description": "Incubator for unstable and in-development Blueprint components",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"classnames": "^2.3.1",
|
|
12
12
|
"tslib": "~2.6.2",
|
|
13
|
-
"@blueprintjs/colors": "^5.1.
|
|
14
|
-
"@blueprintjs/core": "^6.
|
|
13
|
+
"@blueprintjs/colors": "^5.1.15",
|
|
14
|
+
"@blueprintjs/core": "^6.10.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"@types/react": "18",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"react-dom": "^18.3.1",
|
|
36
36
|
"typescript": "~5.3.3",
|
|
37
37
|
"vitest": "4.0.7",
|
|
38
|
-
"@blueprintjs/
|
|
39
|
-
"@blueprintjs/
|
|
40
|
-
"@blueprintjs/
|
|
41
|
-
"@blueprintjs/
|
|
38
|
+
"@blueprintjs/stylelint-plugin": "^5.2.1",
|
|
39
|
+
"@blueprintjs/node-build-scripts": "^9.3.2",
|
|
40
|
+
"@blueprintjs/webpack-build-scripts": "^6.2.16",
|
|
41
|
+
"@blueprintjs/test-commons": "^4.0.4"
|
|
42
42
|
},
|
|
43
43
|
"repository": {
|
|
44
44
|
"type": "git",
|
|
@@ -29,12 +29,12 @@ This is useful for applying layout to existing components without adding an extr
|
|
|
29
29
|
|
|
30
30
|
Box supports a wide range of layout props that map to CSS properties:
|
|
31
31
|
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
32
|
+
- **Spacing**: `margin`, `padding` and their logical variants
|
|
33
|
+
- **Positioning**: `position`, `inset` and their logical variants
|
|
34
|
+
- **Sizing**: `width`, `height`
|
|
35
|
+
- **Flexbox**: `display`, `flex`, `flexGrow`, `flexShrink`, `flexBasis`, `flexDirection`, `flexWrap`, `gap`
|
|
36
|
+
- **Alignment**: `alignItems`, `alignContent`, `alignSelf`, `justifyContent`, `justifyItems`, `justifySelf`
|
|
37
|
+
- **Overflow**: `overflow`, `overflowX`, `overflowY`
|
|
38
38
|
|
|
39
39
|
Each prop accepts Blueprint token values to enforce consistent spacing and sizing.
|
|
40
40
|
|
|
@@ -20,10 +20,10 @@ Use **Flex** to create flexbox layouts with alignment, direction, and spacing pr
|
|
|
20
20
|
|
|
21
21
|
Flex supports all Box props except `display`, with common flexbox patterns:
|
|
22
22
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
23
|
+
- **Direction & Wrap**: `flexDirection`, `flexWrap`
|
|
24
|
+
- **Alignment**: `alignItems`, `alignContent`, `justifyContent`
|
|
25
|
+
- **Gap**: `gap` for spacing between items
|
|
26
|
+
- **Child control**: `flex` shorthand, or individual `flexGrow`, `flexShrink`, `flexBasis`
|
|
27
27
|
|
|
28
28
|
Each prop accepts Blueprint token values for consistent spacing and sizing.
|
|
29
29
|
|