@nimbus-ds/box 2.2.0-rc.1 → 2.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +13 -15
  2. package/package.json +2 -3
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by dts-bundle-generator v7.1.0
2
2
 
3
- import * as React from 'react';
3
+ import React from 'react';
4
4
  import { CSSProperties, ReactNode } from 'react';
5
5
 
6
6
  export type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
@@ -151,10 +151,10 @@ export interface BoxSprinkle {
151
151
  paddingLeft?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
152
152
  paddingRight?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
153
153
  margin?: BoxMarginProperties | Conditions<BoxMarginProperties>;
154
- marginTop?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
155
- marginBottom?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
156
- marginLeft?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
157
- marginRight?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
154
+ marginTop?: BoxMarginProperties | Conditions<BoxMarginProperties>;
155
+ marginBottom?: BoxMarginProperties | Conditions<BoxMarginProperties>;
156
+ marginLeft?: BoxMarginProperties | Conditions<BoxMarginProperties>;
157
+ marginRight?: BoxMarginProperties | Conditions<BoxMarginProperties>;
158
158
  paddingX?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
159
159
  paddingY?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
160
160
  p?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
@@ -164,23 +164,21 @@ export interface BoxSprinkle {
164
164
  pb?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
165
165
  px?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
166
166
  py?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
167
- marginX?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
168
- marginY?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
167
+ marginX?: BoxMarginProperties | Conditions<BoxMarginProperties>;
168
+ marginY?: BoxMarginProperties | Conditions<BoxMarginProperties>;
169
169
  m?: BoxMarginProperties | Conditions<BoxMarginProperties>;
170
- mr?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
171
- ml?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
172
- mt?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
173
- mb?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
174
- mx?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
175
- my?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
170
+ mr?: BoxMarginProperties | Conditions<BoxMarginProperties>;
171
+ ml?: BoxMarginProperties | Conditions<BoxMarginProperties>;
172
+ mt?: BoxMarginProperties | Conditions<BoxMarginProperties>;
173
+ mb?: BoxMarginProperties | Conditions<BoxMarginProperties>;
174
+ mx?: BoxMarginProperties | Conditions<BoxMarginProperties>;
175
+ my?: BoxMarginProperties | Conditions<BoxMarginProperties>;
176
176
  }
177
177
  export interface BoxProps extends BoxSprinkle {
178
178
  className?: string;
179
179
  style?: CSSProperties;
180
180
  /** Element to be rendered inside the Box component */
181
181
  children?: ReactNode;
182
- /** The underlying element to render — either a HTML element name or a React component. */
183
- as?: any;
184
182
  }
185
183
  export declare const Box: PolymorphicForwardRefComponent<"div", BoxProps>;
186
184
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimbus-ds/box",
3
- "version": "2.2.0-rc.1",
3
+ "version": "2.2.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -28,6 +28,5 @@
28
28
  "devDependencies": {
29
29
  "@vanilla-extract/dynamic": "^2.0.2",
30
30
  "webpack": "^5.74.0"
31
- },
32
- "stableVersion": "2.1.0"
31
+ }
33
32
  }