@nulogy/components 10.1.1 → 10.1.2
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/main.js +17 -23
- package/dist/main.module.js +17 -23
- package/dist/src/Type/Headings.d.ts +4 -1060
- package/dist/src/Type/Headings.story.d.ts +1 -24
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -8724,20 +8724,13 @@
|
|
|
8724
8724
|
}
|
|
8725
8725
|
}));
|
|
8726
8726
|
|
|
8727
|
-
var
|
|
8728
|
-
return inline ? {
|
|
8729
|
-
as: "span"
|
|
8730
|
-
} : null;
|
|
8731
|
-
};
|
|
8732
|
-
|
|
8733
|
-
var Text = styled__default["default"].p.attrs(function (props) {
|
|
8734
|
-
return getAttrs(props.inline);
|
|
8735
|
-
}).withConfig({
|
|
8727
|
+
var Text = styled__default["default"].p.withConfig({
|
|
8736
8728
|
displayName: "Text",
|
|
8737
8729
|
componentId: "sc-15glbbx-0"
|
|
8738
8730
|
})(function (_ref) {
|
|
8739
8731
|
var disabled = _ref.disabled,
|
|
8740
8732
|
textTransform = _ref.textTransform,
|
|
8733
|
+
inline = _ref.inline,
|
|
8741
8734
|
theme = _ref.theme;
|
|
8742
8735
|
return {
|
|
8743
8736
|
textTransform: textTransform,
|
|
@@ -8746,7 +8739,8 @@
|
|
|
8746
8739
|
marginBottom: 0,
|
|
8747
8740
|
fontSize: theme.fontSizes.medium,
|
|
8748
8741
|
lineHeight: theme.lineHeights.base,
|
|
8749
|
-
opacity: disabled ? "0.7" : undefined
|
|
8742
|
+
opacity: disabled ? "0.7" : undefined,
|
|
8743
|
+
display: inline ? "inline" : undefined
|
|
8750
8744
|
};
|
|
8751
8745
|
}, addStyledProps);
|
|
8752
8746
|
Text.defaultProps = {
|
|
@@ -8754,10 +8748,10 @@
|
|
|
8754
8748
|
disabled: false
|
|
8755
8749
|
};
|
|
8756
8750
|
|
|
8757
|
-
var Heading1 = styled__default["default"](Text).attrs(function (
|
|
8758
|
-
return
|
|
8751
|
+
var Heading1 = styled__default["default"](Text).attrs(function () {
|
|
8752
|
+
return {
|
|
8759
8753
|
as: "h1"
|
|
8760
|
-
}
|
|
8754
|
+
};
|
|
8761
8755
|
}).withConfig({
|
|
8762
8756
|
displayName: "Headings__Heading1",
|
|
8763
8757
|
componentId: "sc-7kwh7g-0"
|
|
@@ -8771,10 +8765,10 @@
|
|
|
8771
8765
|
marginBottom: theme.space.x6
|
|
8772
8766
|
};
|
|
8773
8767
|
}, addStyledProps);
|
|
8774
|
-
var Heading2 = styled__default["default"](Text).attrs(function (
|
|
8775
|
-
return
|
|
8768
|
+
var Heading2 = styled__default["default"](Text).attrs(function () {
|
|
8769
|
+
return {
|
|
8776
8770
|
as: "h2"
|
|
8777
|
-
}
|
|
8771
|
+
};
|
|
8778
8772
|
}).withConfig({
|
|
8779
8773
|
displayName: "Headings__Heading2",
|
|
8780
8774
|
componentId: "sc-7kwh7g-1"
|
|
@@ -8788,10 +8782,10 @@
|
|
|
8788
8782
|
marginBottom: theme.space.x2
|
|
8789
8783
|
};
|
|
8790
8784
|
}, addStyledProps);
|
|
8791
|
-
var Heading3 = styled__default["default"](Text).attrs(function (
|
|
8792
|
-
return
|
|
8793
|
-
as: "
|
|
8794
|
-
}
|
|
8785
|
+
var Heading3 = styled__default["default"](Text).attrs(function () {
|
|
8786
|
+
return {
|
|
8787
|
+
as: "h4"
|
|
8788
|
+
};
|
|
8795
8789
|
}).withConfig({
|
|
8796
8790
|
displayName: "Headings__Heading3",
|
|
8797
8791
|
componentId: "sc-7kwh7g-2"
|
|
@@ -8805,10 +8799,10 @@
|
|
|
8805
8799
|
marginBottom: theme.space.x1
|
|
8806
8800
|
};
|
|
8807
8801
|
}, addStyledProps);
|
|
8808
|
-
var Heading4 = styled__default["default"](Text).attrs(function (
|
|
8809
|
-
return
|
|
8802
|
+
var Heading4 = styled__default["default"](Text).attrs(function () {
|
|
8803
|
+
return {
|
|
8810
8804
|
as: "h4"
|
|
8811
|
-
}
|
|
8805
|
+
};
|
|
8812
8806
|
}).withConfig({
|
|
8813
8807
|
displayName: "Headings__Heading4",
|
|
8814
8808
|
componentId: "sc-7kwh7g-3"
|
package/dist/main.module.js
CHANGED
|
@@ -8707,20 +8707,13 @@ var Flex = styled(Box).withConfig({
|
|
|
8707
8707
|
}
|
|
8708
8708
|
}));
|
|
8709
8709
|
|
|
8710
|
-
var
|
|
8711
|
-
return inline ? {
|
|
8712
|
-
as: "span"
|
|
8713
|
-
} : null;
|
|
8714
|
-
};
|
|
8715
|
-
|
|
8716
|
-
var Text = styled.p.attrs(function (props) {
|
|
8717
|
-
return getAttrs(props.inline);
|
|
8718
|
-
}).withConfig({
|
|
8710
|
+
var Text = styled.p.withConfig({
|
|
8719
8711
|
displayName: "Text",
|
|
8720
8712
|
componentId: "sc-15glbbx-0"
|
|
8721
8713
|
})(function (_ref) {
|
|
8722
8714
|
var disabled = _ref.disabled,
|
|
8723
8715
|
textTransform = _ref.textTransform,
|
|
8716
|
+
inline = _ref.inline,
|
|
8724
8717
|
theme = _ref.theme;
|
|
8725
8718
|
return {
|
|
8726
8719
|
textTransform: textTransform,
|
|
@@ -8729,7 +8722,8 @@ var Text = styled.p.attrs(function (props) {
|
|
|
8729
8722
|
marginBottom: 0,
|
|
8730
8723
|
fontSize: theme.fontSizes.medium,
|
|
8731
8724
|
lineHeight: theme.lineHeights.base,
|
|
8732
|
-
opacity: disabled ? "0.7" : undefined
|
|
8725
|
+
opacity: disabled ? "0.7" : undefined,
|
|
8726
|
+
display: inline ? "inline" : undefined
|
|
8733
8727
|
};
|
|
8734
8728
|
}, addStyledProps);
|
|
8735
8729
|
Text.defaultProps = {
|
|
@@ -8737,10 +8731,10 @@ Text.defaultProps = {
|
|
|
8737
8731
|
disabled: false
|
|
8738
8732
|
};
|
|
8739
8733
|
|
|
8740
|
-
var Heading1 = styled(Text).attrs(function (
|
|
8741
|
-
return
|
|
8734
|
+
var Heading1 = styled(Text).attrs(function () {
|
|
8735
|
+
return {
|
|
8742
8736
|
as: "h1"
|
|
8743
|
-
}
|
|
8737
|
+
};
|
|
8744
8738
|
}).withConfig({
|
|
8745
8739
|
displayName: "Headings__Heading1",
|
|
8746
8740
|
componentId: "sc-7kwh7g-0"
|
|
@@ -8754,10 +8748,10 @@ var Heading1 = styled(Text).attrs(function (props) {
|
|
|
8754
8748
|
marginBottom: theme.space.x6
|
|
8755
8749
|
};
|
|
8756
8750
|
}, addStyledProps);
|
|
8757
|
-
var Heading2 = styled(Text).attrs(function (
|
|
8758
|
-
return
|
|
8751
|
+
var Heading2 = styled(Text).attrs(function () {
|
|
8752
|
+
return {
|
|
8759
8753
|
as: "h2"
|
|
8760
|
-
}
|
|
8754
|
+
};
|
|
8761
8755
|
}).withConfig({
|
|
8762
8756
|
displayName: "Headings__Heading2",
|
|
8763
8757
|
componentId: "sc-7kwh7g-1"
|
|
@@ -8771,10 +8765,10 @@ var Heading2 = styled(Text).attrs(function (props) {
|
|
|
8771
8765
|
marginBottom: theme.space.x2
|
|
8772
8766
|
};
|
|
8773
8767
|
}, addStyledProps);
|
|
8774
|
-
var Heading3 = styled(Text).attrs(function (
|
|
8775
|
-
return
|
|
8776
|
-
as: "
|
|
8777
|
-
}
|
|
8768
|
+
var Heading3 = styled(Text).attrs(function () {
|
|
8769
|
+
return {
|
|
8770
|
+
as: "h4"
|
|
8771
|
+
};
|
|
8778
8772
|
}).withConfig({
|
|
8779
8773
|
displayName: "Headings__Heading3",
|
|
8780
8774
|
componentId: "sc-7kwh7g-2"
|
|
@@ -8788,10 +8782,10 @@ var Heading3 = styled(Text).attrs(function (props) {
|
|
|
8788
8782
|
marginBottom: theme.space.x1
|
|
8789
8783
|
};
|
|
8790
8784
|
}, addStyledProps);
|
|
8791
|
-
var Heading4 = styled(Text).attrs(function (
|
|
8792
|
-
return
|
|
8785
|
+
var Heading4 = styled(Text).attrs(function () {
|
|
8786
|
+
return {
|
|
8793
8787
|
as: "h4"
|
|
8794
|
-
}
|
|
8788
|
+
};
|
|
8795
8789
|
}).withConfig({
|
|
8796
8790
|
displayName: "Headings__Heading4",
|
|
8797
8791
|
componentId: "sc-7kwh7g-3"
|