@dnanpm/styleguide 4.0.5 → 4.0.6
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.
|
@@ -121,7 +121,7 @@ const Element = styledComponents.styled.button `
|
|
|
121
121
|
/** @visibleName Button */
|
|
122
122
|
const Button = (_a) => {
|
|
123
123
|
var _b;
|
|
124
|
-
var { type = '
|
|
124
|
+
var { type = 'button', 'data-testid': dataTestId, 'data-track-value': dataTrackValue, 'aria-label': ariaLabel } = _a, props = tslib.__rest(_a, ["type", 'data-testid', 'data-track-value', 'aria-label']);
|
|
125
125
|
const isDisabledAnchor = props.disabled && props.href;
|
|
126
126
|
const handleClick = (event) => {
|
|
127
127
|
if (isDisabledAnchor) {
|
|
@@ -113,7 +113,7 @@ const Element = styled.button `
|
|
|
113
113
|
/** @visibleName Button */
|
|
114
114
|
const Button = (_a) => {
|
|
115
115
|
var _b;
|
|
116
|
-
var { type = '
|
|
116
|
+
var { type = 'button', 'data-testid': dataTestId, 'data-track-value': dataTrackValue, 'aria-label': ariaLabel } = _a, props = __rest(_a, ["type", 'data-testid', 'data-track-value', 'aria-label']);
|
|
117
117
|
const isDisabledAnchor = props.disabled && props.href;
|
|
118
118
|
const handleClick = (event) => {
|
|
119
119
|
if (isDisabledAnchor) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnanpm/styleguide",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "v4.0.
|
|
4
|
+
"version": "v4.0.6",
|
|
5
5
|
"main": "build/cjs/index.js",
|
|
6
6
|
"module": "build/es/index.js",
|
|
7
7
|
"jsnext:main": "build/es/index.js",
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
"@testing-library/react": "^16.3.1",
|
|
60
60
|
"@testing-library/user-event": "^14.5.2",
|
|
61
61
|
"@types/jest": "^30.0.0",
|
|
62
|
-
"@types/node": "^25.0.
|
|
62
|
+
"@types/node": "^25.0.6",
|
|
63
63
|
"@types/ramda": "^0.31.1",
|
|
64
64
|
"@types/react": "^18.3.11",
|
|
65
65
|
"@types/react-dom": "^18.3.1",
|
|
66
66
|
"@types/react-modal": "^3.13.1",
|
|
67
67
|
"@types/resize-observer-browser": "^0.1.8",
|
|
68
68
|
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
|
69
|
-
"@typescript-eslint/parser": "^8.
|
|
69
|
+
"@typescript-eslint/parser": "^8.52.0",
|
|
70
70
|
"babel-loader": "^9.2.1",
|
|
71
71
|
"cross-env": "^10.0.0",
|
|
72
72
|
"css-loader": "^6.11.0",
|
|
73
73
|
"eslint": "^9.39.1",
|
|
74
74
|
"eslint-config-prettier": "^10.1.8",
|
|
75
75
|
"eslint-plugin-import": "^2.32.0",
|
|
76
|
-
"eslint-plugin-jsdoc": "^61.
|
|
76
|
+
"eslint-plugin-jsdoc": "^61.5.0",
|
|
77
77
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
78
78
|
"eslint-plugin-react": "^7.37.5",
|
|
79
79
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"dependencies": {
|
|
102
102
|
"date-fns-tz": "^3.2.0",
|
|
103
103
|
"ramda": "^0.32.0",
|
|
104
|
-
"react-datepicker": "9.
|
|
104
|
+
"react-datepicker": "9.1.0",
|
|
105
105
|
"react-modal": "^3.16.1",
|
|
106
106
|
"react-select": "^5.8.1",
|
|
107
107
|
"react-spring": "^8.0.27",
|