@app-studio/components 0.11.0 → 0.11.2

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/web.esm.js CHANGED
@@ -13605,7 +13605,7 @@ const Wp = () => {
13605
13605
  return /* @__PURE__ */ C(
13606
13606
  ve,
13607
13607
  {
13608
- role: "avatar",
13608
+ "data-role": "avatar",
13609
13609
  width: s,
13610
13610
  height: s,
13611
13611
  ...yt.container,
@@ -13616,7 +13616,7 @@ const Wp = () => {
13616
13616
  !a && e ? /* @__PURE__ */ n(
13617
13617
  Ge,
13618
13618
  {
13619
- alt: "IM",
13619
+ alt: "",
13620
13620
  src: e,
13621
13621
  style: d,
13622
13622
  width: s,
@@ -13931,12 +13931,12 @@ const Wp = () => {
13931
13931
  p == null ? void 0 : p.container
13932
13932
  ]);
13933
13933
  let E = "currentColor";
13934
- return typeof t == "string" ? t in w ? E = w[t].indicator.backgroundColor : E = t : t === !0 && (E = "color-green-500", s === "filled" && (E = "color-white")), /* @__PURE__ */ C(ve, { role: "badge", ...D, ...g, children: [
13935
- r && /* @__PURE__ */ n(x, { role: "badge-icon", ...p == null ? void 0 : p.icon, children: r }),
13934
+ return typeof t == "string" ? t in w ? E = w[t].indicator.backgroundColor : E = t : t === !0 && (E = "color-green-500", s === "filled" && (E = "color-white")), /* @__PURE__ */ C(ve, { "data-role": "badge", ...D, ...g, children: [
13935
+ r && /* @__PURE__ */ n(x, { "data-role": "badge-icon", ...p == null ? void 0 : p.icon, children: r }),
13936
13936
  S && /* @__PURE__ */ n(
13937
13937
  F,
13938
13938
  {
13939
- role: "badge-pastil-content",
13939
+ "data-role": "badge-pastil-content",
13940
13940
  backgroundColor: "color-gray-900",
13941
13941
  borderRadius: "9999px",
13942
13942
  color: "color-white",
@@ -13952,7 +13952,7 @@ const Wp = () => {
13952
13952
  t && /* @__PURE__ */ n(
13953
13953
  x,
13954
13954
  {
13955
- role: "badge-pastil",
13955
+ "data-role": "badge-pastil",
13956
13956
  width: "6px",
13957
13957
  height: "6px",
13958
13958
  borderRadius: "50%",
@@ -13963,7 +13963,7 @@ const Wp = () => {
13963
13963
  I && /* @__PURE__ */ n(
13964
13964
  F,
13965
13965
  {
13966
- role: "badgeText",
13966
+ "data-role": "badge-text",
13967
13967
  color: f ? "color-gray-900" : D.color,
13968
13968
  fontWeight: f ? "700" : "600",
13969
13969
  textAlign: "center",
@@ -13977,7 +13977,7 @@ const Wp = () => {
13977
13977
  v && /* @__PURE__ */ n(
13978
13978
  F,
13979
13979
  {
13980
- role: "badge-action",
13980
+ "data-role": "badge-action",
13981
13981
  color: "color-gray-400",
13982
13982
  fontWeight: "500",
13983
13983
  letterSpacing: 0,
@@ -17731,7 +17731,6 @@ const Yu = {
17731
17731
  letterSpacing: "-0.01em",
17732
17732
  whiteSpace: "nowrap",
17733
17733
  fontWeight: 500,
17734
- opacity: r ? 1 : 0.72,
17735
17734
  color: r ? "color-red-500" : "inherit",
17736
17735
  transition: "color 0.2s ease",
17737
17736
  ...a.label,
@@ -37748,14 +37747,15 @@ const ty = (e, o, r) => {
37748
37747
  {
37749
37748
  alignItems: "center",
37750
37749
  gap: 8,
37751
- role: "status-indicator",
37750
+ role: "status",
37752
37751
  ...r == null ? void 0 : r.container,
37753
37752
  ...a,
37754
37753
  children: [
37755
37754
  /* @__PURE__ */ n(
37756
37755
  x,
37757
37756
  {
37758
- role: "status-dot",
37757
+ "data-role": "status-dot",
37758
+ "aria-hidden": "true",
37759
37759
  width: "8px",
37760
37760
  height: "8px",
37761
37761
  borderRadius: "50%",
@@ -37766,7 +37766,7 @@ const ty = (e, o, r) => {
37766
37766
  e && /* @__PURE__ */ n(
37767
37767
  F,
37768
37768
  {
37769
- role: "status-label",
37769
+ "data-role": "status-label",
37770
37770
  fontSize: "14px",
37771
37771
  lineHeight: "20px",
37772
37772
  ...i[o].label,