@@ -357,20 +357,21 @@ export interface Options {
357357 * 'en': {
358358 * title: {
359359 * title: 'Reading Mode',
360- * titleAriaLabel: 'Reading Mode',
361- * },
360+ * titleAriaLabel: 'Reading Mode',
362361 * },
363362 * 'zh-CN': {
364363 * title: {
365364 * title: '阅读模式',
366365 * titleAriaLabel: '阅读模式',
367- * },
368366 * },
369367 * }
370368 * }
371369 * ```
372370 */
373371 locales? : Record <string , Locale >
372+ /**
373+ * Layout switch configuration
374+ */
374375 layoutSwitch? : {
375376 /**
376377 * Disable layout switch help tooltip
@@ -381,10 +382,47 @@ export interface Options {
381382 /**
382383 * Default mode for layout switch
383384 *
384- * @default LayoutMode.FitContentWidth (3) Fit content width
385+ * @default LayoutMode.FitContentWidth (3)
385386 */
386387 defaultMode? : LayoutMode
388+ /**
389+ * Content layout max width slider configuration
390+ */
391+ contentLayoutMaxWidth? : {
392+ /**
393+ * Disable content layout max width help tooltip
394+ *
395+ * @default false
396+ */
397+ disableHelp? : boolean
398+ /**
399+ * Default percentage of content layout max width
400+ *
401+ * @default 100 (100%)
402+ */
403+ defaultMaxWidth? : number
404+ }
405+ /**
406+ * Page layout max width slider configuration
407+ */
408+ pageLayoutMaxWidth? : {
409+ /**
410+ * Disable page layout max width help tooltip
411+ *
412+ * @default false
413+ */
414+ disableHelp? : boolean
415+ /**
416+ * Default percentage of page layout max width
417+ *
418+ * @default 800 (80%)
419+ */
420+ defaultMaxWidth? : number
421+ }
387422 }
423+ /**
424+ * Spotlight configuration
425+ */
388426 spotlight? : {
389427 /**
390428 * Disable spotlight help tooltip
@@ -393,7 +431,7 @@ export interface Options {
393431 */
394432 disableHelp? : boolean
395433 /**
396- * Spotlight block color
434+ * Spotlight hover block color
397435 *
398436 * @default ' rgb(240 197 52 / 10%)'
399437 */
@@ -504,41 +542,102 @@ export interface Locale {
504542 */
505543 titleScreenNavWarningMessage? : string
506544 /**
507- * Option: Expand all text
545+ * Expand all option text
508546 */
509547 optionFullWidth? : string
510548 /**
511- * Option: Expand all aria-label
549+ * Expand all option aria-label
512550 */
513551 optionFullWidthAriaLabel? : string
514552 /**
515- * Option: Expand all help message
553+ * Expand all option help message
516554 */
517555 optionFullWidthHelpMessage? : string
518556 /**
519- * Option: Expand only sidebar text
557+ * Sidebar adjustable only option text
520558 */
521- optionOnlySidebarFullWidth ? : string
559+ optionSidebarWidthAdjustableOnly ? : string
522560 /**
523- * Option: Expand only sidebar aria-label
561+ * Sidebar adjustable only option aria-label
524562 */
525- optionOnlySidebarFullWidthAriaLabel ? : string
563+ optionSidebarWidthAdjustableOnlyAriaLabel ? : string
526564 /**
527- * Option: Expand only sidebar help message
565+ * Sidebar adjustable only option help message
528566 */
529- optionOnlySidebarFullWidthHelpMessage ? : string
567+ optionSidebarWidthAdjustableOnlyHelpMessage ? : string
530568 /**
531- * Option: Fit content width text
569+ * Both width adjustable option text
532570 */
533- optionFitContentWidth? : string
571+ optionBothWidthAdjustable? : string
572+ /**
573+ * Both width adjustable option aria-label
574+ */
575+ optionBothWidthAdjustableAriaLabel? : string
576+ /**
577+ * Both width adjustable option help message
578+ */
579+ optionBothWidthAdjustableHelpMessage? : string
580+ /**
581+ * Original option
582+ */
583+ optionOriginalWidth? : string
584+ /**
585+ * Original option aria-label
586+ */
587+ optionOriginalWidthAriaLabel? : string
588+ /**
589+ * Original option help message
590+ */
591+ optionOriginalWidthHelpMessage? : string
592+
534593 /**
535- * Option: Fit content width aria-label
594+ * Content layout max width slider configuration
536595 */
537- optionFitContentWidthAriaLabel? : string
596+ contentLayoutMaxWidth? : {
597+ /**
598+ * Title text
599+ */
600+ title? : string
601+ /**
602+ * Title aria-label
603+ */
604+ titleAriaLabel? : string
605+ /**
606+ * Title help message
607+ */
608+ titleHelpMessage? : string
609+ /**
610+ * Title warning message for navigation menu in small screen
611+ */
612+ titleScreenNavWarningMessage? : string
613+ slider? : string
614+ sliderAriaLabel? : string
615+ sliderHelpMessage? : string
616+ }
538617 /**
539- * Option: Fit content width help message
618+ * Page layout max width slider configuration
540619 */
541- optionFitContentWidthHelpMessage? : string
620+ pageLayoutMaxWidth? : {
621+ /**
622+ * Title text
623+ */
624+ title? : string
625+ /**
626+ * Title aria-label
627+ */
628+ titleAriaLabel? : string
629+ /**
630+ * Title help message
631+ */
632+ titleHelpMessage? : string
633+ /**
634+ * Title warning message for navigation menu in small screen
635+ */
636+ titleScreenNavWarningMessage? : string
637+ slider? : string
638+ sliderAriaLabel? : string
639+ sliderHelpMessage? : string
640+ }
542641 }
543642 /**
544643 * Spotlight configuration
0 commit comments