@streamoid/ui 0.4.4 → 0.4.5
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 +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -390,6 +390,9 @@ interface IScGuideProps {
|
|
|
390
390
|
skipLabel?: ReactNode;
|
|
391
391
|
/** Label for the right-hand primary action. Defaults to "Next". */
|
|
392
392
|
nextLabel?: ReactNode;
|
|
393
|
+
/** Icon rendered after the Next label. Defaults to a right-chevron.
|
|
394
|
+
* Use for terminal steps where the action is "Done" + checkmark, etc. */
|
|
395
|
+
nextIcon?: ReactNode;
|
|
393
396
|
/** Click handler for the Skip action. */
|
|
394
397
|
onSkip?: () => void;
|
|
395
398
|
/** Click handler for the Next action. */
|
|
@@ -403,7 +406,7 @@ interface IScGuideProps {
|
|
|
403
406
|
className?: string;
|
|
404
407
|
style?: CSSProperties;
|
|
405
408
|
}
|
|
406
|
-
declare const ScGuide: ({ title, description, skipLabel, nextLabel, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
|
|
409
|
+
declare const ScGuide: ({ title, description, skipLabel, nextLabel, nextIcon, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
|
|
407
410
|
|
|
408
411
|
interface IScSideBarLogoUnitProps {
|
|
409
412
|
/** "expanded" renders the wordmark chip + switcher. "collapsed" renders a
|
package/dist/index.d.ts
CHANGED
|
@@ -390,6 +390,9 @@ interface IScGuideProps {
|
|
|
390
390
|
skipLabel?: ReactNode;
|
|
391
391
|
/** Label for the right-hand primary action. Defaults to "Next". */
|
|
392
392
|
nextLabel?: ReactNode;
|
|
393
|
+
/** Icon rendered after the Next label. Defaults to a right-chevron.
|
|
394
|
+
* Use for terminal steps where the action is "Done" + checkmark, etc. */
|
|
395
|
+
nextIcon?: ReactNode;
|
|
393
396
|
/** Click handler for the Skip action. */
|
|
394
397
|
onSkip?: () => void;
|
|
395
398
|
/** Click handler for the Next action. */
|
|
@@ -403,7 +406,7 @@ interface IScGuideProps {
|
|
|
403
406
|
className?: string;
|
|
404
407
|
style?: CSSProperties;
|
|
405
408
|
}
|
|
406
|
-
declare const ScGuide: ({ title, description, skipLabel, nextLabel, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
|
|
409
|
+
declare const ScGuide: ({ title, description, skipLabel, nextLabel, nextIcon, onSkip, onNext, hideSkip, hideNext, disabled, className, style, }: IScGuideProps) => JSX.Element;
|
|
407
410
|
|
|
408
411
|
interface IScSideBarLogoUnitProps {
|
|
409
412
|
/** "expanded" renders the wordmark chip + switcher. "collapsed" renders a
|
package/dist/index.js
CHANGED
|
@@ -3671,6 +3671,7 @@ var ScGuide = ({
|
|
|
3671
3671
|
description = "Description",
|
|
3672
3672
|
skipLabel = "Skip",
|
|
3673
3673
|
nextLabel = "Next",
|
|
3674
|
+
nextIcon,
|
|
3674
3675
|
onSkip,
|
|
3675
3676
|
onNext,
|
|
3676
3677
|
hideSkip = false,
|
|
@@ -3710,7 +3711,7 @@ var ScGuide = ({
|
|
|
3710
3711
|
disabled,
|
|
3711
3712
|
children: [
|
|
3712
3713
|
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
3713
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.nextIcon, children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons36.SiconRight, { size: 16, strokeWidth: 1.5 }) })
|
|
3714
|
+
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_icons36.SiconRight, { size: 16, strokeWidth: 1.5 }) })
|
|
3714
3715
|
]
|
|
3715
3716
|
}
|
|
3716
3717
|
)
|
package/dist/index.mjs
CHANGED
|
@@ -3570,6 +3570,7 @@ var ScGuide = ({
|
|
|
3570
3570
|
description = "Description",
|
|
3571
3571
|
skipLabel = "Skip",
|
|
3572
3572
|
nextLabel = "Next",
|
|
3573
|
+
nextIcon,
|
|
3573
3574
|
onSkip,
|
|
3574
3575
|
onNext,
|
|
3575
3576
|
hideSkip = false,
|
|
@@ -3609,7 +3610,7 @@ var ScGuide = ({
|
|
|
3609
3610
|
disabled,
|
|
3610
3611
|
children: [
|
|
3611
3612
|
/* @__PURE__ */ jsx42("span", { className: ScGuide_default.nextLabel, children: nextLabel }),
|
|
3612
|
-
/* @__PURE__ */ jsx42("span", { className: ScGuide_default.nextIcon, children: /* @__PURE__ */ jsx42(SiconRight2, { size: 16, strokeWidth: 1.5 }) })
|
|
3613
|
+
/* @__PURE__ */ jsx42("span", { className: ScGuide_default.nextIcon, children: nextIcon ?? /* @__PURE__ */ jsx42(SiconRight2, { size: 16, strokeWidth: 1.5 }) })
|
|
3613
3614
|
]
|
|
3614
3615
|
}
|
|
3615
3616
|
)
|