@tesouro/embedded-components-react 0.11.5 → 0.11.8

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.css CHANGED
@@ -5215,6 +5215,9 @@
5215
5215
  .ttw\:group-data-\[orientation\=horizontal\]\/tabs\:h-9:is(:where(.ttw\:group\/tabs)[data-orientation="horizontal"] *) {
5216
5216
  height: calc(var(--ttw-spacing) * 9);
5217
5217
  }
5218
+ .ttw\:group-data-\[orientation\=horizontal\]\/tabs\:min-h-8:is(:where(.ttw\:group\/tabs)[data-orientation="horizontal"] *) {
5219
+ min-height: calc(var(--ttw-spacing) * 8);
5220
+ }
5218
5221
  .ttw\:group-data-\[orientation\=vertical\]\/tabs\:h-fit:is(:where(.ttw\:group\/tabs)[data-orientation="vertical"] *) {
5219
5222
  height: fit-content;
5220
5223
  }
@@ -5269,6 +5272,9 @@
5269
5272
  font-size: var(--ttw-text-xs);
5270
5273
  line-height: var(--tw-leading, var(--ttw-text-xs--line-height));
5271
5274
  }
5275
+ .ttw\:group-data-\[state\=active\]\/tabs-trigger\:bg-muted:is(:where(.ttw\:group\/tabs-trigger)[data-state="active"] *) {
5276
+ background-color: var(--ttw-muted);
5277
+ }
5272
5278
  .ttw\:group-data-\[state\=active\]\/tabs-trigger\:bg-primary:is(:where(.ttw\:group\/tabs-trigger)[data-state="active"] *) {
5273
5279
  background-color: var(--ttw-primary);
5274
5280
  }
@@ -6359,15 +6365,15 @@
6359
6365
  :is(.ttw\:\*\:data-\[slot\=select-value\]\:gap-2 > *)[data-slot="select-value"] {
6360
6366
  gap: calc(var(--ttw-spacing) * 2);
6361
6367
  }
6368
+ .ttw\:data-\[state\=active\]\:bg-background[data-state="active"] {
6369
+ background-color: var(--ttw-background);
6370
+ }
6362
6371
  .ttw\:data-\[state\=active\]\:bg-primary\/10[data-state="active"] {
6363
6372
  background-color: var(--ttw-primary);
6364
6373
  @supports (color: color-mix(in lab, red, red)) {
6365
6374
  background-color: color-mix(in oklab, var(--ttw-primary) 10%, transparent);
6366
6375
  }
6367
6376
  }
6368
- .ttw\:data-\[state\=active\]\:bg-secondary[data-state="active"] {
6369
- background-color: var(--ttw-secondary);
6370
- }
6371
6377
  .ttw\:data-\[state\=active\]\:font-medium[data-state="active"] {
6372
6378
  --tw-font-weight: var(--ttw-font-weight-medium);
6373
6379
  font-weight: var(--ttw-font-weight-medium);
@@ -6378,8 +6384,9 @@
6378
6384
  .ttw\:data-\[state\=active\]\:text-primary[data-state="active"] {
6379
6385
  color: var(--ttw-primary);
6380
6386
  }
6381
- .ttw\:data-\[state\=active\]\:text-secondary-foreground[data-state="active"] {
6382
- color: var(--ttw-secondary-foreground);
6387
+ .ttw\:data-\[state\=active\]\:shadow-sm[data-state="active"] {
6388
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
6389
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
6383
6390
  }
6384
6391
  .ttw\:data-\[state\=active\]\:after\:opacity-100[data-state="active"]::after {
6385
6392
  content: var(--tw-content);
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.5", n = "0795140eeff33203a4d7c2b6af99e1f36f5cfc5b", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.8", n = "31849eca1f0bf1bc0350bbacd1c8d07dce0ca943", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -10460,7 +10460,7 @@ var Jx = Wv([
10460
10460
  ], {
10461
10461
  variants: { variant: {
10462
10462
  underline: "ttw:gap-4 ttw:group-data-[orientation=horizontal]/tabs:h-9 ttw:group-data-[orientation=vertical]/tabs:gap-1",
10463
- pills: "ttw:gap-2"
10463
+ pills: "ttw:gap-2 ttw:rounded-lg ttw:bg-muted ttw:p-1 ttw:group-data-[orientation=horizontal]/tabs:min-h-8"
10464
10464
  } },
10465
10465
  defaultVariants: { variant: "underline" }
10466
10466
  }), Yx = e.createContext("underline");
@@ -10491,15 +10491,14 @@ var Zx = Wv([
10491
10491
  "ttw:group-data-[orientation=vertical]/tabs:after:inset-y-0 ttw:group-data-[orientation=vertical]/tabs:after:left-0 ttw:group-data-[orientation=vertical]/tabs:after:w-0.5",
10492
10492
  "ttw:group-data-[orientation=vertical]/tabs:py-1.5 ttw:group-data-[orientation=vertical]/tabs:pl-3"
10493
10493
  ],
10494
- pills: [
10495
- "ttw:h-8 ttw:rounded-full ttw:px-3",
10496
- "ttw:hover:bg-accent ttw:hover:text-accent-foreground",
10497
- "ttw:data-[state=active]:bg-secondary ttw:data-[state=active]:text-secondary-foreground"
10498
- ]
10494
+ pills: ["ttw:h-6 ttw:rounded-md ttw:px-2 ttw:hover:text-foreground", "ttw:data-[state=active]:bg-background ttw:data-[state=active]:text-foreground ttw:data-[state=active]:shadow-sm"]
10499
10495
  } },
10500
10496
  defaultVariants: { variant: "underline" }
10501
10497
  }), Qx = "ttw:inline-flex ttw:h-5 ttw:min-w-5 ttw:items-center ttw:justify-center ttw:rounded-full ttw:px-1.5 ttw:text-xs ttw:font-medium ttw:tabular-nums", $x = {
10502
- default: ["ttw:bg-muted ttw:text-muted-foreground", "ttw:group-data-[state=active]/tabs-trigger:bg-primary ttw:group-data-[state=active]/tabs-trigger:text-primary-foreground"],
10498
+ default: {
10499
+ underline: ["ttw:bg-muted ttw:text-muted-foreground", "ttw:group-data-[state=active]/tabs-trigger:bg-primary ttw:group-data-[state=active]/tabs-trigger:text-primary-foreground"],
10500
+ pills: ["ttw:bg-background ttw:text-muted-foreground", "ttw:group-data-[state=active]/tabs-trigger:bg-muted"]
10501
+ },
10503
10502
  warning: ["ttw:bg-warning-subtle ttw:text-warning-foreground"]
10504
10503
  };
10505
10504
  function eS({ className: t, count: n, countTone: r, children: i, ...a }) {
@@ -10510,7 +10509,7 @@ function eS({ className: t, count: n, countTone: r, children: i, ...a }) {
10510
10509
  ...a,
10511
10510
  children: [i, n ? /* @__PURE__ */ v(g, { children: [" ", /* @__PURE__ */ _("span", {
10512
10511
  "data-slot": "tabs-count",
10513
- className: Y(Qx, $x[r ?? "default"]),
10512
+ className: Y(Qx, r ? $x[r] : $x.default[o]),
10514
10513
  children: n
10515
10514
  })] }) : null]
10516
10515
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.11.5",
3
+ "version": "0.11.8",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [