@trackunit/react-components 0.0.183 → 0.0.185
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.
|
@@ -38,6 +38,10 @@ export interface ButtonProps extends ButtonCommonProps {
|
|
|
38
38
|
* The Id of the form to submit, for button type submit
|
|
39
39
|
*/
|
|
40
40
|
form?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the button
|
|
43
|
+
*/
|
|
44
|
+
name?: string;
|
|
41
45
|
}
|
|
42
46
|
/**
|
|
43
47
|
* Buttons allow users to perform an action when triggered.
|
package/index.js
CHANGED
|
@@ -3276,10 +3276,12 @@ const SkeletonLines = memo(({
|
|
|
3276
3276
|
style: {
|
|
3277
3277
|
height: getHeight(i),
|
|
3278
3278
|
width: getWidth(i),
|
|
3279
|
-
margin: margin
|
|
3279
|
+
margin: lines > 1 ? margin : ""
|
|
3280
3280
|
}
|
|
3281
3281
|
}, {
|
|
3282
|
-
children:
|
|
3282
|
+
children: lines > 1 && jsx(Fragment, {
|
|
3283
|
+
children: "\u00A0"
|
|
3284
|
+
})
|
|
3283
3285
|
}), i));
|
|
3284
3286
|
} // eslint-disable-next-line react/jsx-no-useless-fragment
|
|
3285
3287
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.185",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@trackunit/css-core": "0.0.
|
|
7
|
+
"@trackunit/css-core": "0.0.60",
|
|
8
8
|
"@trackunit/tailwind-styled-components": "0.0.48",
|
|
9
9
|
"react": "17.0.2",
|
|
10
10
|
"@trackunit/ui-design-tokens": "0.0.49",
|