@nimbus-ds/components 2.2.0-rc.2 → 2.2.0-rc.4

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,6 +8,7 @@ This package is intended for internal use in generating builds of each design sy
8
8
 
9
9
  - Added new options to `appearance` property on `Popover` component. ([#76](https://github.com/TiendaNube/nimbus-design-system/pull/76) by [@juanchigallego](https://github.com/juanchigallego))
10
10
  - Added new options to `appearance` property on `Link` component. ([#76](https://github.com/TiendaNube/nimbus-design-system/pull/76) by [@juanchigallego](https://github.com/juanchigallego))
11
+ - Added new properties to `Box` component. ([#76](https://github.com/TiendaNube/nimbus-design-system/pull/76) by [@juanchigallego](https://github.com/juanchigallego))
11
12
 
12
13
  ## 2023-01-09 `2.1.0`
13
14
 
package/dist/index.d.ts CHANGED
@@ -45,6 +45,8 @@ 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 TextAlign = "left" | "right" | "center" | "justify";
47
47
  export type TextDecoration = "none" | "underline";
48
+ export type Position = "absolute" | "fixed" | "relative" | "static" | "sticky";
49
+ export type Overflow = "visible" | "hidden" | "scroll" | "auto";
48
50
  declare const propertiesBox: {
49
51
  backgroundColor: {
50
52
  "primary.interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
@@ -105,6 +107,10 @@ declare const propertiesBox: {
105
107
  "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
106
108
  "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
107
109
  };
110
+ position: Position[];
111
+ overflow: Overflow[];
112
+ overflowX: Overflow[];
113
+ overflowY: Overflow[];
108
114
  };
109
115
  export type BoxBorderColorProperties = keyof typeof propertiesBox.borderColor;
110
116
  export type BoxBackgroundColorProperties = keyof typeof propertiesBox.backgroundColor;
@@ -112,6 +118,16 @@ export type BoxSpaceProperties = keyof typeof propertiesBox.space;
112
118
  export interface BoxSprinkle {
113
119
  width?: string | Conditions<string>;
114
120
  height?: string | Conditions<string>;
121
+ maxWidth?: string | Conditions<string>;
122
+ maxHeight?: string | Conditions<string>;
123
+ bottom?: string | Conditions<string>;
124
+ left?: string | Conditions<string>;
125
+ right?: string | Conditions<string>;
126
+ top?: string | Conditions<string>;
127
+ position?: Position | Conditions<Position>;
128
+ overflow?: Overflow | Conditions<Overflow>;
129
+ overflowX?: Overflow | Conditions<Overflow>;
130
+ overflowY?: Overflow | Conditions<Overflow>;
115
131
  cursor?: Cursor | Conditions<Cursor>;
116
132
  backgroundColor?: BoxBackgroundColorProperties | Conditions<BoxBackgroundColorProperties>;
117
133
  borderRadius?: string | Conditions<string>;
@@ -479,6 +495,7 @@ export interface StackSprinkle {
479
495
  gridTemplateColumns?: string | Conditions<string>;
480
496
  gridTemplateAreas?: string | Conditions<string>;
481
497
  gridTemplateRows?: string | Conditions<string>;
498
+ gridArea?: string | Conditions<string>;
482
499
  display?: Display | Conditions<Display>;
483
500
  flexWrap?: FlexWrap | Conditions<FlexWrap>;
484
501
  justifyContent?: JustifyContent | Conditions<JustifyContent>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/components",
3
- "version": "2.2.0-rc.2",
3
+ "version": "2.2.0-rc.4",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [