@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.js
CHANGED
|
@@ -3237,9 +3237,9 @@ import { cn as cn37 } from "cn";
|
|
|
3237
3237
|
import { SparklesIcon } from "lucide-react";
|
|
3238
3238
|
import { jsx as jsx36, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
3239
3239
|
var ICON_TONE2 = {
|
|
3240
|
-
success: "bg-success-
|
|
3241
|
-
warning: "bg-warning-
|
|
3242
|
-
tip: "bg-primary-
|
|
3240
|
+
success: "bg-success-100 text-success-500 dark:bg-success-800/60 dark:text-success-300",
|
|
3241
|
+
warning: "bg-warning-200 text-warning-500 dark:bg-warning-800/60 dark:text-warning-300",
|
|
3242
|
+
tip: "bg-primary-200 text-primary-500 dark:bg-primary-800/60 dark:text-primary-300"
|
|
3243
3243
|
};
|
|
3244
3244
|
var TITLE_TONE = {
|
|
3245
3245
|
success: "text-success-500 dark:text-success-300",
|
|
@@ -3305,7 +3305,11 @@ function InsightCard({
|
|
|
3305
3305
|
"div",
|
|
3306
3306
|
{
|
|
3307
3307
|
"data-slot": "insight-card-content",
|
|
3308
|
-
className:
|
|
3308
|
+
className: cn37(
|
|
3309
|
+
"flex flex-col px-(--card-spacing) text-sm leading-relaxed text-neutral-600 dark:text-neutral-300",
|
|
3310
|
+
// sm sem linhas: 20 px entre os insights, porque só o espaço os separa. Com linhas, 12 px de cada lado da linha.
|
|
3311
|
+
sm && !divided ? "gap-5" : "gap-3"
|
|
3312
|
+
),
|
|
3309
3313
|
children: /* @__PURE__ */ jsx36(InsightCardContext.Provider, { value: contexto, children })
|
|
3310
3314
|
}
|
|
3311
3315
|
)
|