@nimbus-ds/box 4.2.0-rc.5 → 4.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/CHANGELOG.md +12 -0
- package/dist/CHANGELOG.md +12 -0
- package/dist/index.d.ts +10 -5
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
A low-level utility component that accepts styled system props to enable custom theme-aware styling
|
|
4
4
|
|
|
5
|
+
## 2025-03-25 `4.2.0`
|
|
6
|
+
|
|
7
|
+
### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added `line-through` option to `textDecoration` property. ([#279](https://github.com/TiendaNube/nimbus-design-system/pull/279) by [@guidobotta](https://github.com/guidobotta))
|
|
10
|
+
|
|
11
|
+
## 2025-03-18 `4.1.1`
|
|
12
|
+
|
|
13
|
+
### 💡 Others
|
|
14
|
+
|
|
15
|
+
- Rebuild after build process changes to add support for modular imports and Server Components. ([#276](https://github.com/TiendaNube/nimbus-design-system/pull/276) by [@joacotornello](https://github.com/joacotornello))
|
|
16
|
+
|
|
5
17
|
## 2023-08-04 `4.1.0`
|
|
6
18
|
|
|
7
19
|
#### 🎉 New features
|
package/dist/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
A low-level utility component that accepts styled system props to enable custom theme-aware styling
|
|
4
4
|
|
|
5
|
+
## 2025-03-25 `4.2.0`
|
|
6
|
+
|
|
7
|
+
### 🎉 New features
|
|
8
|
+
|
|
9
|
+
- Added `line-through` option to `textDecoration` property. ([#279](https://github.com/TiendaNube/nimbus-design-system/pull/279) by [@guidobotta](https://github.com/guidobotta))
|
|
10
|
+
|
|
11
|
+
## 2025-03-18 `4.1.1`
|
|
12
|
+
|
|
13
|
+
### 💡 Others
|
|
14
|
+
|
|
15
|
+
- Rebuild after build process changes to add support for modular imports and Server Components. ([#276](https://github.com/TiendaNube/nimbus-design-system/pull/276) by [@joacotornello](https://github.com/joacotornello))
|
|
16
|
+
|
|
5
17
|
## 2023-08-04 `4.1.0`
|
|
6
18
|
|
|
7
19
|
#### 🎉 New features
|
package/dist/index.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ export type JustifyContent = "flex-start" | "flex-end" | "center" | "space-betwe
|
|
|
45
45
|
export type AlignItems = "stretch" | "flex-start" | "flex-end" | "center" | "baseline";
|
|
46
46
|
export type AlignSelf = "auto" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
|
|
47
47
|
export type TextAlign = "left" | "right" | "center" | "justify";
|
|
48
|
-
export type TextDecoration = "none" | "underline";
|
|
48
|
+
export type TextDecoration = "none" | "underline" | "line-through";
|
|
49
49
|
export type Position = "absolute" | "fixed" | "relative" | "static" | "sticky";
|
|
50
50
|
export type Overflow = "visible" | "hidden" | "scroll" | "auto";
|
|
51
51
|
export type PointerEvents = "auto" | "none" | "visiblePainted" | "visibleFill" | "visibleStroke" | "visible" | "painted" | "fill" | "stroke" | "all" | "inherit";
|
|
@@ -177,7 +177,10 @@ declare const propertiesBox: {
|
|
|
177
177
|
transparent: string;
|
|
178
178
|
};
|
|
179
179
|
borderRadius: {
|
|
180
|
-
"0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
180
|
+
"0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
|
|
181
|
+
* The alignItems property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis.
|
|
182
|
+
* In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.
|
|
183
|
+
*/
|
|
181
184
|
"1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
182
185
|
"2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
183
186
|
"3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
@@ -185,6 +188,10 @@ declare const propertiesBox: {
|
|
|
185
188
|
"5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
186
189
|
"6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
187
190
|
full: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
191
|
+
/**
|
|
192
|
+
* The alignSelf property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area.
|
|
193
|
+
* In Flexbox, it aligns the item on the cross axis.
|
|
194
|
+
*/
|
|
188
195
|
base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
189
196
|
half: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
190
197
|
none: string;
|
|
@@ -277,9 +284,7 @@ declare const propertiesBox: {
|
|
|
277
284
|
"400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
278
285
|
"500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
279
286
|
"600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
280
|
-
"700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
281
|
-
* The pointerEvents property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
|
|
282
|
-
*/
|
|
287
|
+
"700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
283
288
|
"800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
284
289
|
"900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
285
290
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/box",
|
|
3
|
-
"version": "4.2.0
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -26,8 +26,7 @@
|
|
|
26
26
|
"url": "https://github.com/TiendaNube/nimbus-design-system/issues"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@nimbus-ds/webpack": "^1.5.0
|
|
29
|
+
"@nimbus-ds/webpack": "^1.5.0",
|
|
30
30
|
"@vanilla-extract/dynamic": "^2.0.3"
|
|
31
|
-
}
|
|
32
|
-
"stableVersion": "4.1.0"
|
|
31
|
+
}
|
|
33
32
|
}
|