@nulogy/components 8.15.0 → 8.15.1
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 +68 -32
- package/dist/main.module.js +68 -32
- package/dist/src/Type/Headings.d.ts +1072 -9
- package/dist/src/Type/Headings.story.d.ts +2 -6
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -8772,38 +8772,74 @@
|
|
|
8772
8772
|
disabled: false
|
|
8773
8773
|
};
|
|
8774
8774
|
|
|
8775
|
-
var Heading1 = Text.
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
}
|
|
8783
|
-
|
|
8784
|
-
|
|
8785
|
-
|
|
8786
|
-
|
|
8787
|
-
|
|
8788
|
-
|
|
8789
|
-
|
|
8790
|
-
|
|
8791
|
-
|
|
8792
|
-
|
|
8793
|
-
|
|
8794
|
-
|
|
8795
|
-
|
|
8796
|
-
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8775
|
+
var Heading1 = styled__default["default"](Text).attrs(function (props) {
|
|
8776
|
+
return Object.assign({
|
|
8777
|
+
as: "h1"
|
|
8778
|
+
}, props);
|
|
8779
|
+
}).withConfig({
|
|
8780
|
+
displayName: "Headings__Heading1",
|
|
8781
|
+
componentId: "sc-7kwh7g-0"
|
|
8782
|
+
})(function (_ref) {
|
|
8783
|
+
var theme = _ref.theme;
|
|
8784
|
+
return {
|
|
8785
|
+
fontSize: theme.fontSizes.heading1,
|
|
8786
|
+
lineHeight: theme.lineHeights.heading1,
|
|
8787
|
+
fontWeight: theme.fontWeights.light,
|
|
8788
|
+
marginTop: 0,
|
|
8789
|
+
marginBottom: theme.space.x6
|
|
8790
|
+
};
|
|
8791
|
+
}, addStyledProps);
|
|
8792
|
+
var Heading2 = styled__default["default"](Text).attrs(function (props) {
|
|
8793
|
+
return Object.assign({
|
|
8794
|
+
as: "h2"
|
|
8795
|
+
}, props);
|
|
8796
|
+
}).withConfig({
|
|
8797
|
+
displayName: "Headings__Heading2",
|
|
8798
|
+
componentId: "sc-7kwh7g-1"
|
|
8799
|
+
})(function (_ref2) {
|
|
8800
|
+
var theme = _ref2.theme;
|
|
8801
|
+
return {
|
|
8802
|
+
fontSize: theme.fontSizes.heading2,
|
|
8803
|
+
lineHeight: theme.lineHeights.heading2,
|
|
8804
|
+
fontWeight: theme.fontWeights.normal,
|
|
8805
|
+
marginTop: 0,
|
|
8806
|
+
marginBottom: theme.space.x2
|
|
8807
|
+
};
|
|
8808
|
+
}, addStyledProps);
|
|
8809
|
+
var Heading3 = styled__default["default"](Text).attrs(function (props) {
|
|
8810
|
+
return Object.assign({
|
|
8811
|
+
as: "h3"
|
|
8812
|
+
}, props);
|
|
8813
|
+
}).withConfig({
|
|
8814
|
+
displayName: "Headings__Heading3",
|
|
8815
|
+
componentId: "sc-7kwh7g-2"
|
|
8816
|
+
})(function (_ref3) {
|
|
8817
|
+
var theme = _ref3.theme;
|
|
8818
|
+
return {
|
|
8819
|
+
fontSize: theme.fontSizes.heading3,
|
|
8820
|
+
lineHeight: theme.lineHeights.heading3,
|
|
8821
|
+
fontWeight: theme.fontWeights.medium,
|
|
8822
|
+
marginTop: 0,
|
|
8823
|
+
marginBottom: theme.space.x1
|
|
8824
|
+
};
|
|
8825
|
+
}, addStyledProps);
|
|
8826
|
+
var Heading4 = styled__default["default"](Text).attrs(function (props) {
|
|
8827
|
+
return Object.assign({
|
|
8828
|
+
as: "h4"
|
|
8829
|
+
}, props);
|
|
8830
|
+
}).withConfig({
|
|
8831
|
+
displayName: "Headings__Heading4",
|
|
8832
|
+
componentId: "sc-7kwh7g-3"
|
|
8833
|
+
})(function (_ref4) {
|
|
8834
|
+
var theme = _ref4.theme;
|
|
8835
|
+
return {
|
|
8836
|
+
fontSize: theme.fontSizes.heading4,
|
|
8837
|
+
lineHeight: theme.lineHeights.heading4,
|
|
8838
|
+
fontWeight: theme.fontWeights.bold,
|
|
8839
|
+
marginTop: 0,
|
|
8840
|
+
marginBottom: theme.space.x1
|
|
8841
|
+
};
|
|
8842
|
+
}, addStyledProps);
|
|
8807
8843
|
|
|
8808
8844
|
var defaultOptions = {
|
|
8809
8845
|
bindI18n: 'languageChanged',
|
package/dist/main.module.js
CHANGED
|
@@ -8749,38 +8749,74 @@ Text.defaultProps = {
|
|
|
8749
8749
|
disabled: false
|
|
8750
8750
|
};
|
|
8751
8751
|
|
|
8752
|
-
var Heading1 = Text.
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
}
|
|
8760
|
-
var
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8765
|
-
|
|
8766
|
-
|
|
8767
|
-
};
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8771
|
-
|
|
8772
|
-
|
|
8773
|
-
|
|
8774
|
-
|
|
8775
|
-
|
|
8776
|
-
|
|
8777
|
-
|
|
8778
|
-
|
|
8779
|
-
|
|
8780
|
-
|
|
8781
|
-
|
|
8782
|
-
|
|
8783
|
-
|
|
8752
|
+
var Heading1 = styled(Text).attrs(function (props) {
|
|
8753
|
+
return Object.assign({
|
|
8754
|
+
as: "h1"
|
|
8755
|
+
}, props);
|
|
8756
|
+
}).withConfig({
|
|
8757
|
+
displayName: "Headings__Heading1",
|
|
8758
|
+
componentId: "sc-7kwh7g-0"
|
|
8759
|
+
})(function (_ref) {
|
|
8760
|
+
var theme = _ref.theme;
|
|
8761
|
+
return {
|
|
8762
|
+
fontSize: theme.fontSizes.heading1,
|
|
8763
|
+
lineHeight: theme.lineHeights.heading1,
|
|
8764
|
+
fontWeight: theme.fontWeights.light,
|
|
8765
|
+
marginTop: 0,
|
|
8766
|
+
marginBottom: theme.space.x6
|
|
8767
|
+
};
|
|
8768
|
+
}, addStyledProps);
|
|
8769
|
+
var Heading2 = styled(Text).attrs(function (props) {
|
|
8770
|
+
return Object.assign({
|
|
8771
|
+
as: "h2"
|
|
8772
|
+
}, props);
|
|
8773
|
+
}).withConfig({
|
|
8774
|
+
displayName: "Headings__Heading2",
|
|
8775
|
+
componentId: "sc-7kwh7g-1"
|
|
8776
|
+
})(function (_ref2) {
|
|
8777
|
+
var theme = _ref2.theme;
|
|
8778
|
+
return {
|
|
8779
|
+
fontSize: theme.fontSizes.heading2,
|
|
8780
|
+
lineHeight: theme.lineHeights.heading2,
|
|
8781
|
+
fontWeight: theme.fontWeights.normal,
|
|
8782
|
+
marginTop: 0,
|
|
8783
|
+
marginBottom: theme.space.x2
|
|
8784
|
+
};
|
|
8785
|
+
}, addStyledProps);
|
|
8786
|
+
var Heading3 = styled(Text).attrs(function (props) {
|
|
8787
|
+
return Object.assign({
|
|
8788
|
+
as: "h3"
|
|
8789
|
+
}, props);
|
|
8790
|
+
}).withConfig({
|
|
8791
|
+
displayName: "Headings__Heading3",
|
|
8792
|
+
componentId: "sc-7kwh7g-2"
|
|
8793
|
+
})(function (_ref3) {
|
|
8794
|
+
var theme = _ref3.theme;
|
|
8795
|
+
return {
|
|
8796
|
+
fontSize: theme.fontSizes.heading3,
|
|
8797
|
+
lineHeight: theme.lineHeights.heading3,
|
|
8798
|
+
fontWeight: theme.fontWeights.medium,
|
|
8799
|
+
marginTop: 0,
|
|
8800
|
+
marginBottom: theme.space.x1
|
|
8801
|
+
};
|
|
8802
|
+
}, addStyledProps);
|
|
8803
|
+
var Heading4 = styled(Text).attrs(function (props) {
|
|
8804
|
+
return Object.assign({
|
|
8805
|
+
as: "h4"
|
|
8806
|
+
}, props);
|
|
8807
|
+
}).withConfig({
|
|
8808
|
+
displayName: "Headings__Heading4",
|
|
8809
|
+
componentId: "sc-7kwh7g-3"
|
|
8810
|
+
})(function (_ref4) {
|
|
8811
|
+
var theme = _ref4.theme;
|
|
8812
|
+
return {
|
|
8813
|
+
fontSize: theme.fontSizes.heading4,
|
|
8814
|
+
lineHeight: theme.lineHeights.heading4,
|
|
8815
|
+
fontWeight: theme.fontWeights.bold,
|
|
8816
|
+
marginTop: 0,
|
|
8817
|
+
marginBottom: theme.space.x1
|
|
8818
|
+
};
|
|
8819
|
+
}, addStyledProps);
|
|
8784
8820
|
|
|
8785
8821
|
var defaultOptions = {
|
|
8786
8822
|
bindI18n: 'languageChanged',
|