plataforma-fundacao-componentes 2.25.2 → 2.25.4
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/components/title/Title.d.ts +6 -2
- package/dist/components/title/Title.stories.d.ts +44 -22
- package/dist/index.css +40 -29
- package/dist/index.js +7 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +7 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/libraries/EtiquetasThemes.d.ts +2 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -7914,6 +7914,7 @@ var EtiquetasStyle;
|
|
|
7914
7914
|
EtiquetasStyle["OutlineDark"] = "outline-dark";
|
|
7915
7915
|
EtiquetasStyle["OutlineBlue"] = "outline-blue";
|
|
7916
7916
|
EtiquetasStyle["OutlineWarningDark"] = "outline-warning-dark";
|
|
7917
|
+
EtiquetasStyle["Yellow"] = "yellow";
|
|
7917
7918
|
})(EtiquetasStyle || (EtiquetasStyle = {}));
|
|
7918
7919
|
|
|
7919
7920
|
var rootClassName$21 = 'component-etiqueta';
|
|
@@ -11620,7 +11621,11 @@ TextEditor.defaultProps = {
|
|
|
11620
11621
|
var rootClassName$2F = 'component-title';
|
|
11621
11622
|
function Title(props) {
|
|
11622
11623
|
return React$1.createElement("div", {
|
|
11623
|
-
className: rootClassName$2F
|
|
11624
|
+
className: getMergedClassNames([rootClassName$2F, props.hideRightElementXS ? 'hide-right-xs' : '']),
|
|
11625
|
+
style: {
|
|
11626
|
+
alignItems: props.align,
|
|
11627
|
+
flexWrap: props.flexWrap
|
|
11628
|
+
}
|
|
11624
11629
|
}, React$1.createElement("div", {
|
|
11625
11630
|
className: rootClassName$2F + "-wrapper"
|
|
11626
11631
|
}, props.showBackButton ? React$1.createElement("div", {
|
|
@@ -11629,7 +11634,7 @@ function Title(props) {
|
|
|
11629
11634
|
icon: React$1.createElement(ArrowLeftIcon, null),
|
|
11630
11635
|
onClick: props.onBackClick
|
|
11631
11636
|
})) : undefined, React$1.createElement("div", {
|
|
11632
|
-
className: getMergedClassNames([rootClassName$2F + "-text", props.
|
|
11637
|
+
className: getMergedClassNames([rootClassName$2F + "-text", props.oneLineTitle ? 'one-line-title' : ''])
|
|
11633
11638
|
}, props.children)), props.rightElement ? React$1.createElement("div", {
|
|
11634
11639
|
className: rootClassName$2F + "-right-element"
|
|
11635
11640
|
}, props.rightElement) : undefined);
|