@kentico/xperience-admin-base 29.7.2 → 30.0.0

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/entry.d.ts CHANGED
@@ -262,6 +262,10 @@ declare interface ConfirmationConfiguration {
262
262
  * Represents a customized form name for the dialog.
263
263
  */
264
264
  readonly formName?: string;
265
+ /**
266
+ * Represents a command name used to change the form items.
267
+ */
268
+ readonly changeCommandName?: string;
265
269
  }
266
270
 
267
271
  declare interface DialogAction extends Omit<DialogFooterActionProps, 'color'> {}
@@ -347,452 +351,24 @@ declare interface FroalaEditorConfigurator {
347
351
 
348
352
  declare type HTMLButtonProps = Pick<React.ButtonHTMLAttributes<HTMLButtonElement>, 'title' | 'onClick'>;
349
353
 
350
- declare type IconName = keyof typeof Icons;
354
+ declare type IconName = IconNameMap[keyof typeof KXIconSets];
351
355
 
352
- declare const Icons = {
353
- 'xp-a-lowercase': aLowercase,
354
- 'xp-accordion': accordion,
355
- 'xp-add-module': addModule,
356
- 'xp-android': android,
357
- 'xp-apple': apple,
358
- 'xp-arrow-crooked-left': arrowCrookedLeft,
359
- 'xp-arrow-crooked-right': arrowCrookedRight,
360
- 'xp-arrow-curved-left': arrowCurvedLeft,
361
- 'xp-arrow-curved-right': arrowCurvedRight,
362
- 'xp-arrow-double-left': arrowDoubleLeft,
363
- 'xp-arrow-double-right': arrowDoubleRight,
364
- 'xp-arrow-down-circle': arrowDownCircle,
365
- 'xp-arrow-down-line': arrowDownLine,
366
- 'xp-arrow-down': arrowDown,
367
- 'xp-arrow-enter-square': arrowEnterSquare,
368
- 'xp-arrow-leave-square': arrowLeaveSquare,
369
- 'xp-arrow-left-circle': arrowLeftCircle,
370
- 'xp-arrow-left-rect': arrowLeftRect,
371
- 'xp-arrow-left': arrowLeft,
372
- 'xp-arrow-right-circle': arrowRightCircle,
373
- 'xp-arrow-right-rect': arrowRightRect,
374
- 'xp-arrow-right-top-square': arrowRightTopSquare,
375
- 'xp-arrow-right': arrowRight,
376
- 'xp-arrow-send': arrowSend,
377
- 'xp-arrow-u-left': arrowULeft,
378
- 'xp-arrow-u-right': arrowURight,
379
- 'xp-arrow-up-circle': arrowUpCircle,
380
- 'xp-arrow-up-line': arrowUpLine,
381
- 'xp-arrow-up': arrowUp,
382
- 'xp-arrows-crooked': arrowsCrooked,
383
- 'xp-arrows-h': arrowsH,
384
- 'xp-arrows-v': arrowsV,
385
- 'xp-arrows': arrows,
386
- 'xp-b': b,
387
- 'xp-badge': badge,
388
- 'xp-ban-sign': banSign,
389
- 'xp-bell': bell,
390
- 'xp-bezier-scheme': bezierScheme,
391
- 'xp-bin': bin,
392
- 'xp-binder': binder,
393
- 'xp-book-opened': bookOpened,
394
- 'xp-box-cart': boxCart,
395
- 'xp-box-cogwheel': boxCogwheel,
396
- 'xp-box': box,
397
- 'xp-boxes': boxes,
398
- 'xp-braces-octothorpe': bracesOctothorpe,
399
- 'xp-braces': braces,
400
- 'xp-brand-bing': brandBing,
401
- 'xp-brand-facebook': brandFacebook,
402
- 'xp-brand-google-plus': brandGooglePlus,
403
- 'xp-brand-google': brandGoogle,
404
- 'xp-brand-instagram': brandInstagram,
405
- 'xp-brand-linkedin': brandLinkedin,
406
- 'xp-brand-mstranslator': brandMstranslator,
407
- 'xp-brand-open-id': brandOpenId,
408
- 'xp-brand-pinterest': brandPinterest,
409
- 'xp-brand-sharepoint': brandSharepoint,
410
- 'xp-brand-twitter': brandTwitter,
411
- 'xp-brand-youtube': brandYoutube,
412
- 'xp-breadcrumb': breadcrumb,
413
- 'xp-briefcase': briefcase,
414
- 'xp-broom': broom,
415
- 'xp-brush-slashed': brushSlashed,
416
- 'xp-brush': brush,
417
- 'xp-bubble-censored': bubbleCensored,
418
- 'xp-bubble-check': bubbleCheck,
419
- 'xp-bubble-hide': bubbleHide,
420
- 'xp-bubble-inverted': bubbleInverted,
421
- 'xp-bubble-pencil': bubblePencil,
422
- 'xp-bubble-show': bubbleShow,
423
- 'xp-bubble-times': bubbleTimes,
424
- 'xp-bubble-with-lines': bubbleWithLines,
425
- 'xp-bubble': bubble,
426
- 'xp-bubbles': bubbles,
427
- 'xp-bucket-shovel': bucketShovel,
428
- 'xp-bug': bug,
429
- 'xp-building-block': buildingBlock,
430
- 'xp-building': building,
431
- 'xp-bullseye': bullseye,
432
- 'xp-c-sharp': cSharp,
433
- 'xp-calendar-number': calendarNumber,
434
- 'xp-calendar': calendar,
435
- 'xp-camera': camera,
436
- 'xp-cancel': cancel,
437
- 'xp-caret-down': caretDown,
438
- 'xp-caret-left-aligned-right': caretLeftAlignedRight,
439
- 'xp-caret-left': caretLeft,
440
- 'xp-caret-right-aligned-left': caretRightAlignedLeft,
441
- 'xp-caret-right-down': caretRightDown,
442
- 'xp-caret-right': caretRight,
443
- 'xp-caret-up': caretUp,
444
- 'xp-carousel': carousel,
445
- 'xp-cb-check-disabled': cbCheckDisabled,
446
- 'xp-cb-check-inverted': cbCheckInverted,
447
- 'xp-cb-check-minus': cbCheckMinus,
448
- 'xp-cb-check-preview': cbCheckPreview,
449
- 'xp-cb-check-sign': cbCheckSign,
450
- 'xp-cb-check': cbCheck,
451
- 'xp-cb-uncheck': cbUncheck,
452
- 'xp-chain-broken': chainBroken,
453
- 'xp-chain-slash': chainSlash,
454
- 'xp-chain': chain,
455
- 'xp-check-circle-inverted': checkCircleInverted,
456
- 'xp-check-circle': checkCircle,
457
- 'xp-check': check,
458
- 'xp-checklist': checklist,
459
- 'xp-chevron-double-down': chevronDoubleDown,
460
- 'xp-chevron-double-left': chevronDoubleLeft,
461
- 'xp-chevron-double-right': chevronDoubleRight,
462
- 'xp-chevron-double-up': chevronDoubleUp,
463
- 'xp-chevron-down-circle': chevronDownCircle,
464
- 'xp-chevron-down-line': chevronDownLine,
465
- 'xp-chevron-down-square': chevronDownSquare,
466
- 'xp-chevron-down': chevronDown,
467
- 'xp-chevron-left-circle': chevronLeftCircle,
468
- 'xp-chevron-left-line': chevronLeftLine,
469
- 'xp-chevron-left-square': chevronLeftSquare,
470
- 'xp-chevron-left': chevronLeft,
471
- 'xp-chevron-right-circle': chevronRightCircle,
472
- 'xp-chevron-right-line': chevronRightLine,
473
- 'xp-chevron-right-square': chevronRightSquare,
474
- 'xp-chevron-right': chevronRight,
475
- 'xp-chevron-up-circle': chevronUpCircle,
476
- 'xp-chevron-up-line': chevronUpLine,
477
- 'xp-chevron-up-square': chevronUpSquare,
478
- 'xp-chevron-up': chevronUp,
479
- 'xp-choice-multi-scheme': choiceMultiScheme,
480
- 'xp-choice-single-scheme': choiceSingleScheme,
481
- 'xp-choice-user-scheme': choiceUserScheme,
482
- 'xp-chrome': chrome,
483
- 'xp-circle-dashed': circleDashed,
484
- 'xp-circle-inverted': circleInverted,
485
- 'xp-circle-slashed': circleSlashed,
486
- 'xp-circle-square': circleSquare,
487
- 'xp-circle': circle,
488
- 'xp-clapperboard': clapperboard,
489
- 'xp-clipboard-checklist': clipboardChecklist,
490
- 'xp-clipboard-list': clipboardList,
491
- 'xp-clock': clock,
492
- 'xp-cloud': cloud,
493
- 'xp-cogwheel-square': cogwheelSquare,
494
- 'xp-cogwheel': cogwheel,
495
- 'xp-cogwheels': cogwheels,
496
- 'xp-collapse-scheme': collapseScheme,
497
- 'xp-collapse': collapse,
498
- 'xp-compass': compass,
499
- 'xp-convert': convert,
500
- 'xp-cookie': cookie,
501
- 'xp-crosshair-f': crosshairF,
502
- 'xp-crosshair-o': crosshairO,
503
- 'xp-cup': cup,
504
- 'xp-custom-element': customElement,
505
- 'xp-database': database,
506
- 'xp-desktop': desktop,
507
- 'xp-dialog-window-cogwheel': dialogWindowCogwheel,
508
- 'xp-dialog-window': dialogWindow,
509
- 'xp-diamond': diamond,
510
- 'xp-doc-arrows': docArrows,
511
- 'xp-doc-ban-sign': docBanSign,
512
- 'xp-doc-copy': docCopy,
513
- 'xp-doc-inverted': docInverted,
514
- 'xp-doc-move': docMove,
515
- 'xp-doc-paste': docPaste,
516
- 'xp-doc-plus': docPlus,
517
- 'xp-doc-torn': docTorn,
518
- 'xp-doc-user': docUser,
519
- 'xp-doc': doc,
520
- 'xp-dollar-sign': dollarSign,
521
- 'xp-dots-vertical': dotsVertical,
522
- 'xp-down-dir': downDir,
523
- 'xp-drawers': drawers,
524
- 'xp-e-book': eBook,
525
- 'xp-earth': earth,
526
- 'xp-earth-micro': earthMicro,
527
- 'xp-edge': edge,
528
- 'xp-edit': edit,
529
- 'xp-ekg-line': ekgLine,
530
- 'xp-ellipsis': ellipsis,
531
- 'xp-engage-users': engageUsers,
532
- 'xp-exclamation-triangle-inverted': exclamationTriangleInverted,
533
- 'xp-exclamation-triangle': exclamationTriangle,
534
- 'xp-expand': expand,
535
- 'xp-eye-slash': eyeSlash,
536
- 'xp-eye': eye,
537
- 'xp-f': f,
538
- 'xp-factory': factory,
539
- 'xp-file-pdf': filePdf,
540
- 'xp-file': file,
541
- 'xp-filter-1': filter1,
542
- 'xp-firefox': firefox,
543
- 'xp-flag': flag,
544
- 'xp-folder-belt': folderBelt,
545
- 'xp-folder-clock': folderClock,
546
- 'xp-folder-cogwheel': folderCogwheel,
547
- 'xp-folder-inverted': folderInverted,
548
- 'xp-folder-move': folderMove,
549
- 'xp-folder-opened': folderOpened,
550
- 'xp-folder': folder,
551
- 'xp-form': form,
552
- 'xp-funnel': funnel,
553
- 'xp-gauge': gauge,
554
- 'xp-gift': gift,
555
- 'xp-graduate-cap': graduateCap,
556
- 'xp-graph': graph,
557
- 'xp-h-1': h1,
558
- 'xp-h-2': h2,
559
- 'xp-h-3': h3,
560
- 'xp-h-4': h4,
561
- 'xp-half-arrows-right-left': halfArrowsRightLeft,
562
- 'xp-hat-moustache': hatMoustache,
563
- 'xp-headless': headless,
564
- 'xp-headless-micro': headlessMicro,
565
- 'xp-heart': heart,
566
- 'xp-heartshake': heartshake,
567
- 'xp-highlighter': highlighter,
568
- 'xp-home': home,
569
- 'xp-i-circle': iCircle,
570
- 'xp-i': i,
571
- 'xp-id-card': idCard,
572
- 'xp-id-cards': idCards,
573
- 'xp-indent': indent,
574
- 'xp-integration-scheme': integrationScheme,
575
- 'xp-intercom': intercom,
576
- 'xp-internet-explorer': internetExplorer,
577
- 'xp-invoice': invoice,
578
- 'xp-kentico': kentico,
579
- 'xp-key': key,
580
- 'xp-l-article-map': lArticleMap,
581
- 'xp-l-calendar-number-article': lCalendarNumberArticle,
582
- 'xp-l-cols-2': lCols2,
583
- 'xp-l-cols-20-60-20': lCols206020,
584
- 'xp-l-cols-20-80': lCols2080,
585
- 'xp-l-cols-25-50-25': lCols255025,
586
- 'xp-l-cols-3': lCols3,
587
- 'xp-l-cols-30-70': lCols3070,
588
- 'xp-l-cols-4': lCols4,
589
- 'xp-l-cols-70-30': lCols7030,
590
- 'xp-l-cols-80-20': lCols8020,
591
- 'xp-l-forms-2': lForms2,
592
- 'xp-l-grid-2-2': lGrid22,
593
- 'xp-l-grid-3-2': lGrid32,
594
- 'xp-l-header-cols-2-footer': lHeaderCols2Footer,
595
- 'xp-l-header-cols-3-footer': lHeaderCols3Footer,
596
- 'xp-l-header-list-img': lHeaderListImg,
597
- 'xp-l-header-menu-text': lHeaderMenuText,
598
- 'xp-l-header-text': lHeaderText,
599
- 'xp-l-img-2-cols-3': lImg2Cols3,
600
- 'xp-l-img-3-cols-3': lImg3Cols3,
601
- 'xp-l-lightbox': lLightbox,
602
- 'xp-l-list-article-col': lListArticleCol,
603
- 'xp-l-list-article': lListArticle,
604
- 'xp-l-list-img-article': lListImgArticle,
605
- 'xp-l-list-title': lListTitle,
606
- 'xp-l-logotype-menu-col-footer': lLogotypeMenuColFooter,
607
- 'xp-l-logotype-menu-h-col': lLogotypeMenuHCol,
608
- 'xp-l-logotype-menu-v-col': lLogotypeMenuVCol,
609
- 'xp-l-menu-cols-2': lMenuCols2,
610
- 'xp-l-menu-cols-3': lMenuCols3,
611
- 'xp-l-menu-list-img-col': lMenuListImgCol,
612
- 'xp-l-menu-list-img': lMenuListImg,
613
- 'xp-l-menu-list': lMenuList,
614
- 'xp-l-menu-text-col-bottom': lMenuTextColBottom,
615
- 'xp-l-menu-text-col': lMenuTextCol,
616
- 'xp-l-menu-text': lMenuText,
617
- 'xp-l-rows-2': lRows2,
618
- 'xp-l-rows-3': lRows3,
619
- 'xp-l-rows-4': lRows4,
620
- 'xp-l-text-col': lTextCol,
621
- 'xp-l-text': lText,
622
- 'xp-laptop': laptop,
623
- 'xp-layout': layout,
624
- 'xp-layouts': layouts,
625
- 'xp-life-belt': lifeBelt,
626
- 'xp-light-bulb': lightBulb,
627
- 'xp-lines-rectangle': linesRectangle,
628
- 'xp-linux': linux,
629
- 'xp-list-bullets': listBullets,
630
- 'xp-list-numbers': listNumbers,
631
- 'xp-list': list,
632
- 'xp-lock-unlocked': lockUnlocked,
633
- 'xp-lock': lock,
634
- 'xp-loop': loop,
635
- 'xp-magic-edit': magicEdit,
636
- 'xp-magnifier-minus': magnifierMinus,
637
- 'xp-magnifier-plus': magnifierPlus,
638
- 'xp-magnifier': magnifier,
639
- 'xp-map-marker': mapMarker,
640
- 'xp-map': map,
641
- 'xp-market': market,
642
- 'xp-mask': mask,
643
- 'xp-media-player': mediaPlayer,
644
- 'xp-menu': menu,
645
- 'xp-merge': merge,
646
- 'xp-message': message,
647
- 'xp-message-micro': messageMicro,
648
- 'xp-messages': messages,
649
- 'xp-microphone': microphone,
650
- 'xp-minus-circle': minusCircle,
651
- 'xp-minus-square': minusSquare,
652
- 'xp-minus': minus,
653
- 'xp-mobile': mobile,
654
- 'xp-modal-close': modalClose,
655
- 'xp-modal-maximize': modalMaximize,
656
- 'xp-modal-minimize': modalMinimize,
657
- 'xp-modal-question': modalQuestion,
658
- 'xp-money-bill': moneyBill,
659
- 'xp-monitor-broken': monitorBroken,
660
- 'xp-monitor-smartphone': monitorSmartphone,
661
- 'xp-monitor': monitor,
662
- 'xp-mug': mug,
663
- 'xp-multi-channel': multiChannel,
664
- 'xp-newspaper': newspaper,
665
- 'xp-note': note,
666
- 'xp-notebook': notebook,
667
- 'xp-octothorpe': octothorpe,
668
- 'xp-one': one,
669
- 'xp-opera': opera,
670
- 'xp-organisational-scheme': organisationalScheme,
671
- 'xp-outdent': outdent,
672
- 'xp-palette': palette,
673
- 'xp-pants': pants,
674
- 'xp-paper-plane': paperPlane,
675
- 'xp-paperclip': paperclip,
676
- 'xp-paragraph-center': paragraphCenter,
677
- 'xp-paragraph-short': paragraphShort,
678
- 'xp-paragraph': paragraph,
679
- 'xp-parent-child-scheme-inverted': parentChildSchemeInverted,
680
- 'xp-parent-child-scheme': parentChildScheme,
681
- 'xp-parent-children-scheme-2': parentChildrenScheme2,
682
- 'xp-parent-children-scheme-3': parentChildrenScheme3,
683
- 'xp-pause': pause,
684
- 'xp-pc': pc,
685
- 'xp-pda': pda,
686
- 'xp-percent-sign': percentSign,
687
- 'xp-perfume': perfume,
688
- 'xp-permission-list': permissionList,
689
- 'xp-personalisation-variants': personalisationVariants,
690
- 'xp-personalisation': personalisation,
691
- 'xp-picture': picture,
692
- 'xp-pictures': pictures,
693
- 'xp-piechart-lines': piechartLines,
694
- 'xp-piechart': piechart,
695
- 'xp-pilcrow': pilcrow,
696
- 'xp-pin-inverted': pinInverted,
697
- 'xp-pin': pin,
698
- 'xp-placeholder': placeholder,
699
- 'xp-plus-circle': plusCircle,
700
- 'xp-plus-square': plusSquare,
701
- 'xp-plus': plus,
702
- 'xp-printer': printer,
703
- 'xp-process-scheme': processScheme,
704
- 'xp-project-scheme': projectScheme,
705
- 'xp-puzzle': puzzle,
706
- 'xp-qr-code': qrCode,
707
- 'xp-question-circle': questionCircle,
708
- 'xp-rb-check-sign': rbCheckSign,
709
- 'xp-rb-check': rbCheck,
710
- 'xp-rb-uncheck': rbUncheck,
711
- 'xp-recaptcha': recaptcha,
712
- 'xp-rectangle-a-inverted': rectangleAInverted,
713
- 'xp-rectangle-a': rectangleA,
714
- 'xp-rectangle-h': rectangleH,
715
- 'xp-rectangle-paragraph': rectangleParagraph,
716
- 'xp-rectangle-v': rectangleV,
717
- 'xp-resize': resize,
718
- 'xp-restriction-list': restrictionList,
719
- 'xp-ribbon': ribbon,
720
- 'xp-right-double-quotation-mark': rightDoubleQuotationMark,
721
- 'xp-rotate-double-right': rotateDoubleRight,
722
- 'xp-rotate-left': rotateLeft,
723
- 'xp-rotate-right': rotateRight,
724
- 'xp-rss': rss,
725
- 'xp-s': s,
726
- 'xp-safari': safari,
727
- 'xp-scheme-circles-triangle': schemeCirclesTriangle,
728
- 'xp-scheme-connected-circles': schemeConnectedCircles,
729
- 'xp-scheme-path-circles-flipped': schemePathCirclesFlipped,
730
- 'xp-scheme-path-circles': schemePathCircles,
731
- 'xp-scissors': scissors,
732
- 'xp-separate': separate,
733
- 'xp-share-apple': shareApple,
734
- 'xp-share-google': shareGoogle,
735
- 'xp-shoe-women': shoeWomen,
736
- 'xp-shopping-cart': shoppingCart,
737
- 'xp-small-dot-centered': smallDotCentered,
738
- 'xp-smartphone': smartphone,
739
- 'xp-software-package': softwarePackage,
740
- 'xp-spinner': spinner,
741
- 'xp-square-dashed-line': squareDashedLine,
742
- 'xp-square-dashed': squareDashed,
743
- 'xp-square': square,
744
- 'xp-staging-scheme': stagingScheme,
745
- 'xp-star-empty': starEmpty,
746
- 'xp-star-full': starFull,
747
- 'xp-star-semi': starSemi,
748
- 'xp-stop': stop,
749
- 'xp-subscript': subscript,
750
- 'xp-superscript': superscript,
751
- 'xp-t-f': tF,
752
- 'xp-t-shirt': tShirt,
753
- 'xp-t-with-cross': tWithCross,
754
- 'xp-t': t,
755
- 'xp-tab-vertical': tabVertical,
756
- 'xp-tab': tab,
757
- 'xp-table': table,
758
- 'xp-tablet': tablet,
759
- 'xp-tag': tag,
760
- 'xp-tags': tags,
761
- 'xp-three-dots-vertical': threeDotsVertical,
762
- 'xp-timed-box': timedBox,
763
- 'xp-times-circle': timesCircle,
764
- 'xp-times': times,
765
- 'xp-translate': translate,
766
- 'xp-tree-structure': treeStructure,
767
- 'xp-triangle-right': triangleRight,
768
- 'xp-trophy': trophy,
769
- 'xp-truck': truck,
770
- 'xp-truck-moving': truckMoving,
771
- 'xp-two-rectangles-h': twoRectanglesH,
772
- 'xp-two-rectangles-stacked-times': twoRectanglesStackedTimes,
773
- 'xp-two-rectangles-stacked': twoRectanglesStacked,
774
- 'xp-two-rectangles-v': twoRectanglesV,
775
- 'xp-two-squares-line': twoSquaresLine,
776
- 'xp-two-squares-with-lines': twoSquaresWithLines,
777
- 'xp-u': u,
778
- 'xp-up-dir': upDir,
779
- 'xp-user-checkbox': userCheckbox,
780
- 'xp-user-frame': userFrame,
781
- 'xp-user': user,
782
- 'xp-users': users,
783
- 'xp-vb': vb,
784
- 'xp-watch': watch,
785
- 'xp-windows': windows,
786
- 'xp-wizard-stick': wizardStick,
787
- 'xp-x': x,
788
- 'xp-xml-tag': xmlTag
356
+ declare type IconNameMap = {
357
+ [K in IconSet]: keyof (typeof KXIconSets)[K];
789
358
  };
790
359
 
360
+ declare type IconSet = keyof typeof KXIconSets;
361
+
791
362
  declare interface InjectedProps {
792
363
  readonly classes: string;
793
364
  readonly children: React.ReactNode;
794
365
  }
795
366
 
367
+ declare const KXIconSets = {
368
+ 'xp-default-icon-set': Icons,
369
+ 'xp-flags-icon-set': Flags
370
+ };
371
+
796
372
  declare interface LinkParameters {
797
373
  /**
798
374
  * Opens a link using window.open().