@trops/dash-react 1.0.10 → 1.0.11
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.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1377,7 +1377,7 @@ function Paragraph(_ref) {
|
|
|
1377
1377
|
var _ref$text = _ref.text,
|
|
1378
1378
|
text = _ref$text === void 0 ? null : _ref$text,
|
|
1379
1379
|
_ref$padding = _ref.padding,
|
|
1380
|
-
padding = _ref$padding === void 0 ? "
|
|
1380
|
+
padding = _ref$padding === void 0 ? "py-2" : _ref$padding,
|
|
1381
1381
|
_ref$onClick = _ref.onClick,
|
|
1382
1382
|
onClick = _ref$onClick === void 0 ? null : _ref$onClick,
|
|
1383
1383
|
_ref$scrollable = _ref.scrollable,
|
|
@@ -1460,7 +1460,7 @@ function Paragraph2(_ref2) {
|
|
|
1460
1460
|
function Paragraph3(_ref3) {
|
|
1461
1461
|
var text = _ref3.text,
|
|
1462
1462
|
_ref3$padding = _ref3.padding,
|
|
1463
|
-
padding = _ref3$padding === void 0 ?
|
|
1463
|
+
padding = _ref3$padding === void 0 ? "py-1" : _ref3$padding,
|
|
1464
1464
|
_ref3$onClick = _ref3.onClick,
|
|
1465
1465
|
onClick = _ref3$onClick === void 0 ? null : _ref3$onClick,
|
|
1466
1466
|
_ref3$scrollable = _ref3.scrollable,
|
|
@@ -1667,7 +1667,7 @@ function Heading(_ref) {
|
|
|
1667
1667
|
as = _ref$as === void 0 ? null : _ref$as;
|
|
1668
1668
|
var _useContext = useContext(ThemeContext),
|
|
1669
1669
|
currentTheme = _useContext.currentTheme;
|
|
1670
|
-
var paddingStyles = padding === true ? "
|
|
1670
|
+
var paddingStyles = padding === true ? "py-3 2xl:py-4" : "p-0";
|
|
1671
1671
|
var styles = getStylesForItem(themeObjects.HEADING, currentTheme, {
|
|
1672
1672
|
textColor: textColor,
|
|
1673
1673
|
backgroundColor: backgroundColor,
|
|
@@ -1696,7 +1696,7 @@ function Heading2(_ref2) {
|
|
|
1696
1696
|
as = _ref2$as === void 0 ? null : _ref2$as;
|
|
1697
1697
|
var _useContext2 = useContext(ThemeContext),
|
|
1698
1698
|
currentTheme = _useContext2.currentTheme;
|
|
1699
|
-
var paddingStyles = padding === true ? "
|
|
1699
|
+
var paddingStyles = padding === true ? "py-2.5 2xl:py-3" : "p-0";
|
|
1700
1700
|
var styles = getStylesForItem(themeObjects.HEADING_2, currentTheme, {
|
|
1701
1701
|
textColor: textColor,
|
|
1702
1702
|
backgroundColor: backgroundColor,
|
|
@@ -1725,7 +1725,7 @@ function Heading3(_ref3) {
|
|
|
1725
1725
|
as = _ref3$as === void 0 ? null : _ref3$as;
|
|
1726
1726
|
var _useContext3 = useContext(ThemeContext),
|
|
1727
1727
|
currentTheme = _useContext3.currentTheme;
|
|
1728
|
-
var paddingStyles = padding === true ? "
|
|
1728
|
+
var paddingStyles = padding === true ? "py-2 2xl:py-3" : "p-0";
|
|
1729
1729
|
var styles = getStylesForItem(themeObjects.HEADING_3, currentTheme, {
|
|
1730
1730
|
textColor: textColor,
|
|
1731
1731
|
backgroundColor: backgroundColor,
|
|
@@ -1754,7 +1754,7 @@ function SubHeading(_ref4) {
|
|
|
1754
1754
|
as = _ref4$as === void 0 ? null : _ref4$as;
|
|
1755
1755
|
var _useContext4 = useContext(ThemeContext),
|
|
1756
1756
|
currentTheme = _useContext4.currentTheme;
|
|
1757
|
-
var paddingStyles = padding === true ? "
|
|
1757
|
+
var paddingStyles = padding === true ? "py-2 2xl:py-3" : "p-0";
|
|
1758
1758
|
var styles = getStylesForItem(themeObjects.SUBHEADING, currentTheme, {
|
|
1759
1759
|
textColor: textColor,
|
|
1760
1760
|
backgroundColor: backgroundColor,
|
|
@@ -1783,7 +1783,7 @@ function SubHeading2(_ref5) {
|
|
|
1783
1783
|
as = _ref5$as === void 0 ? null : _ref5$as;
|
|
1784
1784
|
var _useContext5 = useContext(ThemeContext),
|
|
1785
1785
|
currentTheme = _useContext5.currentTheme;
|
|
1786
|
-
var paddingStyles = padding === true ? "
|
|
1786
|
+
var paddingStyles = padding === true ? "py-1.5 2xl:py-2" : "p-0";
|
|
1787
1787
|
var styles = getStylesForItem(themeObjects.SUBHEADING_2, currentTheme, {
|
|
1788
1788
|
textColor: textColor,
|
|
1789
1789
|
backgroundColor: backgroundColor,
|
|
@@ -1812,7 +1812,7 @@ function SubHeading3(_ref6) {
|
|
|
1812
1812
|
as = _ref6$as === void 0 ? null : _ref6$as;
|
|
1813
1813
|
var _useContext6 = useContext(ThemeContext),
|
|
1814
1814
|
currentTheme = _useContext6.currentTheme;
|
|
1815
|
-
var paddingStyles = padding === true ? "
|
|
1815
|
+
var paddingStyles = padding === true ? "py-1 2xl:py-2" : "p-0";
|
|
1816
1816
|
var styles = getStylesForItem(themeObjects.SUBHEADING_3, currentTheme, {
|
|
1817
1817
|
textColor: textColor,
|
|
1818
1818
|
backgroundColor: backgroundColor,
|