@deframe-sdk/components 0.1.27 → 0.1.28

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.mjs CHANGED
@@ -7021,14 +7021,24 @@ function ChooseNetworkAndAssetViewSimple({
7021
7021
  "data-test-id": "sheet-header",
7022
7022
  className: "flex items-center justify-between pt-[var(--deframe-widget-size-padding-y-xs)].5 pr-[var(--deframe-widget-size-padding-x-md)] pb-[var(--deframe-widget-size-padding-y-sm)].5 pl-[var(--deframe-widget-size-padding-x-md)] flex-shrink-0",
7023
7023
  children: [
7024
- /* @__PURE__ */ jsx(
7025
- "span",
7026
- {
7027
- "data-test-id": "sheet-title",
7028
- className: "text-[16px] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[var(--deframe-widget-font-family)]",
7029
- children: labels.title
7030
- }
7031
- ),
7024
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
7025
+ /* @__PURE__ */ jsx(
7026
+ "span",
7027
+ {
7028
+ "data-test-id": "sheet-title",
7029
+ className: "text-[16px] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[var(--deframe-widget-font-family)]",
7030
+ children: labels.title
7031
+ }
7032
+ ),
7033
+ labels.subtitle && /* @__PURE__ */ jsx(
7034
+ "span",
7035
+ {
7036
+ "data-test-id": "sheet-subtitle",
7037
+ className: "text-[13px] text-[color:var(--deframe-widget-color-text-secondary)] font-[var(--deframe-widget-font-family)] mt-[2px]",
7038
+ children: labels.subtitle
7039
+ }
7040
+ )
7041
+ ] }),
7032
7042
  /* @__PURE__ */ jsx(CloseButtonInline, { onClick: onClose, ariaLabel: labels.closeAriaLabel })
7033
7043
  ]
7034
7044
  }
@@ -7129,14 +7139,24 @@ function ChooseNetworkAndAssetViewSimple({
7129
7139
  "data-test-id": "modal-header",
7130
7140
  className: "flex items-center justify-between pt-[var(--deframe-widget-size-padding-y-md)] pr-[var(--deframe-widget-size-padding-x-md)] pb-[14px] pl-[var(--deframe-widget-size-padding-x-md)] border-b border-[color:var(--deframe-widget-color-border-secondary)] flex-shrink-0",
7131
7141
  children: [
7132
- /* @__PURE__ */ jsx(
7133
- "span",
7134
- {
7135
- "data-test-id": "modal-title",
7136
- className: "text-[16px] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[var(--deframe-widget-font-family)]",
7137
- children: labels.title
7138
- }
7139
- ),
7142
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
7143
+ /* @__PURE__ */ jsx(
7144
+ "span",
7145
+ {
7146
+ "data-test-id": "modal-title",
7147
+ className: "text-[16px] [font-weight:var(--deframe-widget-font-weight-semibold)] text-[color:var(--deframe-widget-color-text-primary)] font-[var(--deframe-widget-font-family)]",
7148
+ children: labels.title
7149
+ }
7150
+ ),
7151
+ labels.subtitle && /* @__PURE__ */ jsx(
7152
+ "span",
7153
+ {
7154
+ "data-test-id": "modal-subtitle",
7155
+ className: "text-[13px] text-[color:var(--deframe-widget-color-text-secondary)] font-[var(--deframe-widget-font-family)] mt-[2px]",
7156
+ children: labels.subtitle
7157
+ }
7158
+ )
7159
+ ] }),
7140
7160
  /* @__PURE__ */ jsx(CloseButtonInline, { onClick: onClose, ariaLabel: labels.closeAriaLabel })
7141
7161
  ]
7142
7162
  }