@nimbus-ds/components 2.10.0-rc.7 → 2.10.0-rc.8

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 CHANGED
@@ -8,7 +8,7 @@ This package is intended for internal use in generating builds of each design sy
8
8
 
9
9
  - Added `fontSize`, `fontWeight` and `lineHeight` properties to `Title` component API. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
10
10
  - Changed `cursor` property default value to `inherit` on `Icon` component. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
11
- - Added `zIndex`, `minHeight` and `minWidth` property to `Box` component API. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
11
+ - Added `zIndex`, `minHeight`, `minWidth`, `flexGrow`, `order` and `alignSelf` property to `Box` component API. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
12
12
  - Added `"border-box"` as default value for `boxSizing` property on `Box` component. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
13
13
  - Added `backgroundImage`, `backgroundPosition`, `backgroundBlendMode`, `backgroundRepeat`, `backgroundSize`, `color`, `minWidth` and `minHeight` properties to `Box` component API. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
14
14
  - Changed `fontSize` default value to `base` on `Text` component. ([#106](https://github.com/TiendaNube/nimbus-design-system/pull/106) by [@juanchigallego](https://github.com/juanchigallego))
package/dist/index.d.ts CHANGED
@@ -70,6 +70,7 @@ export type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";
70
70
  export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse";
71
71
  export type JustifyContent = "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
72
72
  export type AlignItems = "stretch" | "flex-start" | "flex-end" | "center" | "baseline";
73
+ export type AlignSelf = "auto" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
73
74
  export type TextAlign = "left" | "right" | "center" | "justify";
74
75
  export type TextDecoration = "none" | "underline";
75
76
  export type Position = "absolute" | "fixed" | "relative" | "static" | "sticky";
@@ -116,6 +117,7 @@ declare const propertiesBox: {
116
117
  flexWrap: FlexWrap[];
117
118
  justifyContent: JustifyContent[];
118
119
  alignItems: AlignItems[];
120
+ alignSelf: AlignSelf[];
119
121
  pointerEvents: PointerEvents[];
120
122
  backgroundColor: {
121
123
  "primary.interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -268,6 +270,8 @@ export interface BoxSprinkle {
268
270
  top?: string | BoxConditions<string>;
269
271
  flex?: string | BoxConditions<string>;
270
272
  flexShrink?: string | BoxConditions<string>;
273
+ flexGrow?: string | BoxConditions<string>;
274
+ order?: string | BoxConditions<string>;
271
275
  gridTemplateColumns?: string | BoxConditions<string>;
272
276
  gridTemplateAreas?: string | BoxConditions<string>;
273
277
  gridTemplateRows?: string | BoxConditions<string>;
@@ -277,6 +281,7 @@ export interface BoxSprinkle {
277
281
  justifyContent?: JustifyContent | BoxConditions<JustifyContent>;
278
282
  flexDirection?: FlexDirection | BoxConditions<FlexDirection>;
279
283
  alignItems?: AlignItems | BoxConditions<AlignItems>;
284
+ alignSelf?: AlignSelf | BoxConditions<AlignSelf>;
280
285
  gap?: BoxGapProperties | BoxConditions<BoxGapProperties>;
281
286
  gridGap?: BoxGridGapProperties | BoxConditions<BoxGridGapProperties>;
282
287
  pointerEvents?: PointerEvents | BoxConditions<PointerEvents>;