@nimbus-ds/components 2.5.0-rc.1 → 2.5.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 +12 -14
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -186,10 +186,10 @@ export interface BoxSprinkle {
|
|
|
186
186
|
paddingLeft?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
187
187
|
paddingRight?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
188
188
|
margin?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
189
|
-
marginTop?:
|
|
190
|
-
marginBottom?:
|
|
191
|
-
marginLeft?:
|
|
192
|
-
marginRight?:
|
|
189
|
+
marginTop?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
190
|
+
marginBottom?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
191
|
+
marginLeft?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
192
|
+
marginRight?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
193
193
|
paddingX?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
194
194
|
paddingY?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
195
195
|
p?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
@@ -199,15 +199,15 @@ export interface BoxSprinkle {
|
|
|
199
199
|
pb?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
200
200
|
px?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
201
201
|
py?: BoxSpaceProperties | Conditions<BoxSpaceProperties>;
|
|
202
|
-
marginX?:
|
|
203
|
-
marginY?:
|
|
202
|
+
marginX?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
203
|
+
marginY?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
204
204
|
m?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
205
|
-
mr?:
|
|
206
|
-
ml?:
|
|
207
|
-
mt?:
|
|
208
|
-
mb?:
|
|
209
|
-
mx?:
|
|
210
|
-
my?:
|
|
205
|
+
mr?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
206
|
+
ml?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
207
|
+
mt?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
208
|
+
mb?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
209
|
+
mx?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
210
|
+
my?: BoxMarginProperties | Conditions<BoxMarginProperties>;
|
|
211
211
|
}
|
|
212
212
|
declare const fileUploader: {
|
|
213
213
|
sprinkle: ((props: {
|
|
@@ -943,8 +943,6 @@ export interface BoxProps extends BoxSprinkle {
|
|
|
943
943
|
style?: CSSProperties;
|
|
944
944
|
/** Element to be rendered inside the Box component */
|
|
945
945
|
children?: ReactNode;
|
|
946
|
-
/** The underlying element to render — either a HTML element name or a React component. */
|
|
947
|
-
as?: any;
|
|
948
946
|
}
|
|
949
947
|
export declare const Box: PolymorphicForwardRefComponent<"div", BoxProps>;
|
|
950
948
|
export type ButtonSkeletonProps = Partial<Pick<SkeletonProps, "width">> & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimbus-ds/components",
|
|
3
|
-
"version": "2.5.0
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -31,6 +31,5 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"webpack": "^5.75.0"
|
|
34
|
-
}
|
|
35
|
-
"stableVersion": "2.4.0"
|
|
34
|
+
}
|
|
36
35
|
}
|