@giro-ds/react 7.0.0 → 8.0.0
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.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +3 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2556,7 +2556,7 @@ const Calendar = ({ selected, currentDate, defaultMonth, startMonth, endMonth, o
|
|
|
2556
2556
|
|
|
2557
2557
|
var styles$n = {"container":"Callout-module__container___dggFW","withTitle":"Callout-module__withTitle___e-HEg","brand":"Callout-module__brand___YHDPQ","success":"Callout-module__success___RPS0Q","alert":"Callout-module__alert___LVlJM","content":"Callout-module__content___g44Qz","icon":"Callout-module__icon___4CBkz","subcontent":"Callout-module__subcontent___5hz-f","title":"Callout-module__title___IPSdE","text":"Callout-module__text___0Ys48","dismiss":"Callout-module__dismiss___ZaycS"};
|
|
2558
2558
|
|
|
2559
|
-
const Callout = ({ variant = 'neutral', title, text, icon, onDismiss, dismiss, backgroundColor, textColor, className, id, ...rest }) => {
|
|
2559
|
+
const Callout = ({ variant = 'neutral', title, text, icon, onDismiss, dismiss, backgroundColor, textColor, className, id, style, ...rest }) => {
|
|
2560
2560
|
if (process.env.NODE_ENV !== 'production' && (text === '' || (typeof text === 'string' && !text.trim()))) {
|
|
2561
2561
|
console.warn('[Callout] A prop `text` não pode ser uma string vazia.');
|
|
2562
2562
|
}
|
|
@@ -2566,6 +2566,7 @@ const Callout = ({ variant = 'neutral', title, text, icon, onDismiss, dismiss, b
|
|
|
2566
2566
|
const isAlert = variant === 'alert';
|
|
2567
2567
|
const containerClass = clsx(styles$n.container, styles$n[variant], { [styles$n.withTitle]: title }, className);
|
|
2568
2568
|
const customStyle = {
|
|
2569
|
+
...style,
|
|
2569
2570
|
...(backgroundColor && { '--callout-bg': `var(--${backgroundColor})` }),
|
|
2570
2571
|
...(textColor && { '--callout-text': `var(--${textColor})` }),
|
|
2571
2572
|
};
|
|
@@ -5225,6 +5226,10 @@ function useInfiniteScroll({ status, page, lastPage, onLoadMore, threshold = 0.1
|
|
|
5225
5226
|
};
|
|
5226
5227
|
}
|
|
5227
5228
|
|
|
5229
|
+
Object.defineProperty(exports, "createTableColumnHelper", {
|
|
5230
|
+
enumerable: true,
|
|
5231
|
+
get: function () { return reactTable.createColumnHelper; }
|
|
5232
|
+
});
|
|
5228
5233
|
exports.Avatar = Avatar;
|
|
5229
5234
|
exports.Badge = Badge;
|
|
5230
5235
|
exports.Button = Button;
|