@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.
- package/dist/index.d.ts +13 -15
- 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
|
|
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?:
|
|
155
|
-
marginBottom?:
|
|
156
|
-
marginLeft?:
|
|
157
|
-
marginRight?:
|
|
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?:
|
|
168
|
-
marginY?:
|
|
167
|
+
marginX?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
168
|
+
marginY?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
169
169
|
m?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
170
|
-
mr?:
|
|
171
|
-
ml?:
|
|
172
|
-
mt?:
|
|
173
|
-
mb?:
|
|
174
|
-
mx?:
|
|
175
|
-
my?:
|
|
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
|
|
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
|
}
|