@financinha/ui 0.13.0 → 0.13.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/index.cjs +8 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3500,9 +3500,9 @@ var import_cn37 = require("cn");
|
|
|
3500
3500
|
var import_lucide_react13 = require("lucide-react");
|
|
3501
3501
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
3502
3502
|
var ICON_TONE2 = {
|
|
3503
|
-
success: "bg-success-
|
|
3504
|
-
warning: "bg-warning-
|
|
3505
|
-
tip: "bg-primary-
|
|
3503
|
+
success: "bg-success-100 text-success-500 dark:bg-success-800/60 dark:text-success-300",
|
|
3504
|
+
warning: "bg-warning-200 text-warning-500 dark:bg-warning-800/60 dark:text-warning-300",
|
|
3505
|
+
tip: "bg-primary-200 text-primary-500 dark:bg-primary-800/60 dark:text-primary-300"
|
|
3506
3506
|
};
|
|
3507
3507
|
var TITLE_TONE = {
|
|
3508
3508
|
success: "text-success-500 dark:text-success-300",
|
|
@@ -3568,7 +3568,11 @@ function InsightCard({
|
|
|
3568
3568
|
"div",
|
|
3569
3569
|
{
|
|
3570
3570
|
"data-slot": "insight-card-content",
|
|
3571
|
-
className:
|
|
3571
|
+
className: (0, import_cn37.cn)(
|
|
3572
|
+
"flex flex-col px-(--card-spacing) text-sm leading-relaxed text-neutral-600 dark:text-neutral-300",
|
|
3573
|
+
// sm sem linhas: 20 px entre os insights, porque só o espaço os separa. Com linhas, 12 px de cada lado da linha.
|
|
3574
|
+
sm && !divided ? "gap-5" : "gap-3"
|
|
3575
|
+
),
|
|
3572
3576
|
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(InsightCardContext.Provider, { value: contexto, children })
|
|
3573
3577
|
}
|
|
3574
3578
|
)
|