@pareto-engineering/design-system 4.0.0-alpha.51 → 4.0.0-alpha.53
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.
|
@@ -43,7 +43,7 @@ const ThemeSelector = _ref => {
|
|
|
43
43
|
style: style
|
|
44
44
|
}, /*#__PURE__*/React.createElement("span", {
|
|
45
45
|
className: "c-x x-paragraph"
|
|
46
|
-
},
|
|
46
|
+
}, userTheme && userTheme[0].toUpperCase() + userTheme.slice(1), ' ', "Theme"), /*#__PURE__*/React.createElement("button", {
|
|
47
47
|
type: "button",
|
|
48
48
|
onClick: loopThemes
|
|
49
49
|
}, /*#__PURE__*/React.createElement("input", {
|
|
@@ -36,7 +36,7 @@ const ThemeSelector = ({
|
|
|
36
36
|
style: style
|
|
37
37
|
}, /*#__PURE__*/React.createElement("span", {
|
|
38
38
|
className: "c-x x-paragraph"
|
|
39
|
-
},
|
|
39
|
+
}, userTheme && userTheme[0].toUpperCase() + userTheme.slice(1), ' ', "Theme"), /*#__PURE__*/React.createElement("button", {
|
|
40
40
|
type: "button",
|
|
41
41
|
onClick: loopThemes
|
|
42
42
|
}, /*#__PURE__*/React.createElement("input", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pareto-engineering/design-system",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.53",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@lexical/react": "^0.11.3",
|
|
54
|
-
"@pareto-engineering/assets": "^4.0.0-alpha.
|
|
54
|
+
"@pareto-engineering/assets": "^4.0.0-alpha.53",
|
|
55
55
|
"@pareto-engineering/bem": "^4.0.0-alpha.20",
|
|
56
|
-
"@pareto-engineering/styles": "^4.0.0-alpha.
|
|
56
|
+
"@pareto-engineering/styles": "^4.0.0-alpha.53",
|
|
57
57
|
"@pareto-engineering/utils": "^4.0.0-alpha.46",
|
|
58
58
|
"date-fns": "^2.29.3",
|
|
59
59
|
"downshift": "^6.1.12",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"relay-test-utils": "^15.0.0"
|
|
71
71
|
},
|
|
72
72
|
"browserslist": "> 2%",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "dd638af3ed6de8926b0478713faf38678e1e6e44"
|
|
74
74
|
}
|
|
@@ -13933,8 +13933,8 @@ exports[`Storyshots b/ThemeSelector Base 1`] = `
|
|
|
13933
13933
|
<span
|
|
13934
13934
|
className="c-x x-paragraph"
|
|
13935
13935
|
>
|
|
13936
|
-
Theme:
|
|
13937
13936
|
|
|
13937
|
+
Theme
|
|
13938
13938
|
</span>
|
|
13939
13939
|
<button
|
|
13940
13940
|
onClick={[Function]}
|