@streamoid/settings 0.12.0 → 0.12.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.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +12 -1
- package/dist/index.mjs +13 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1341,8 +1341,9 @@ interface SettingsContentProps {
|
|
|
1341
1341
|
onClose?: () => void;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* @deprecated Ignored. Settings no longer renders a Back control: it is a
|
|
1344
|
-
* top-level destination with one header row
|
|
1345
|
-
*
|
|
1344
|
+
* top-level destination with one header row. To give users a way out, pass
|
|
1345
|
+
* `onClose`, which renders a close (×) button and handles Escape. Kept so
|
|
1346
|
+
* hosts that pass it keep compiling.
|
|
1346
1347
|
*/
|
|
1347
1348
|
onBack?: (() => void) | null;
|
|
1348
1349
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1341,8 +1341,9 @@ interface SettingsContentProps {
|
|
|
1341
1341
|
onClose?: () => void;
|
|
1342
1342
|
/**
|
|
1343
1343
|
* @deprecated Ignored. Settings no longer renders a Back control: it is a
|
|
1344
|
-
* top-level destination with one header row
|
|
1345
|
-
*
|
|
1344
|
+
* top-level destination with one header row. To give users a way out, pass
|
|
1345
|
+
* `onClose`, which renders a close (×) button and handles Escape. Kept so
|
|
1346
|
+
* hosts that pass it keep compiling.
|
|
1346
1347
|
*/
|
|
1347
1348
|
onBack?: (() => void) | null;
|
|
1348
1349
|
}
|
package/dist/index.js
CHANGED
|
@@ -15268,7 +15268,18 @@ function SettingsContentInner({
|
|
|
15268
15268
|
)
|
|
15269
15269
|
}
|
|
15270
15270
|
)
|
|
15271
|
-
] })
|
|
15271
|
+
] }),
|
|
15272
|
+
onClose && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(SettingsTooltip, { content: "Close settings", placement: "bottom", inline: true, children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
15273
|
+
import_ui22.ScButton,
|
|
15274
|
+
{
|
|
15275
|
+
styleVariant: "icon-only",
|
|
15276
|
+
variant: "outline",
|
|
15277
|
+
size: "md",
|
|
15278
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(import_icons17.SiconClose, { className: "w-5 h-5", color: PRIMARY_COLOR3 }),
|
|
15279
|
+
"aria-label": "Close settings",
|
|
15280
|
+
onClick: onClose
|
|
15281
|
+
}
|
|
15282
|
+
) })
|
|
15272
15283
|
]
|
|
15273
15284
|
}
|
|
15274
15285
|
),
|
package/dist/index.mjs
CHANGED
|
@@ -402,6 +402,7 @@ import {
|
|
|
402
402
|
SiconBookOpen,
|
|
403
403
|
SiconExternalLink as SiconExternalLink2,
|
|
404
404
|
SiconUserAdd as SiconUserAdd2,
|
|
405
|
+
SiconClose as SiconClose11,
|
|
405
406
|
SiconLock,
|
|
406
407
|
SiconDown as SiconDown2
|
|
407
408
|
} from "@streamoid/icons";
|
|
@@ -15216,7 +15217,18 @@ function SettingsContentInner({
|
|
|
15216
15217
|
)
|
|
15217
15218
|
}
|
|
15218
15219
|
)
|
|
15219
|
-
] })
|
|
15220
|
+
] }),
|
|
15221
|
+
onClose && /* @__PURE__ */ jsx31(SettingsTooltip, { content: "Close settings", placement: "bottom", inline: true, children: /* @__PURE__ */ jsx31(
|
|
15222
|
+
ScButton17,
|
|
15223
|
+
{
|
|
15224
|
+
styleVariant: "icon-only",
|
|
15225
|
+
variant: "outline",
|
|
15226
|
+
size: "md",
|
|
15227
|
+
icon: /* @__PURE__ */ jsx31(SiconClose11, { className: "w-5 h-5", color: PRIMARY_COLOR3 }),
|
|
15228
|
+
"aria-label": "Close settings",
|
|
15229
|
+
onClick: onClose
|
|
15230
|
+
}
|
|
15231
|
+
) })
|
|
15220
15232
|
]
|
|
15221
15233
|
}
|
|
15222
15234
|
),
|