@app-studio/web 0.9.70 → 0.9.71
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/components/Title/Title/Title.type.d.ts +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/web.cjs.development.js +17 -114
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +17 -114
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +17 -114
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -488,9 +488,9 @@
|
|
|
488
488
|
if (defaultProps === void 0) {
|
|
489
489
|
defaultProps = {};
|
|
490
490
|
}
|
|
491
|
-
var IconComponent = props => /*#__PURE__*/React__default.createElement(Icon, Object.assign({
|
|
491
|
+
var IconComponent = props => (/*#__PURE__*/React__default.createElement(Icon, Object.assign({
|
|
492
492
|
name: name
|
|
493
|
-
}, defaultProps, props));
|
|
493
|
+
}, defaultProps, props)));
|
|
494
494
|
IconComponent.displayName = name + "Icon";
|
|
495
495
|
return IconComponent;
|
|
496
496
|
};
|
|
@@ -669,9 +669,9 @@
|
|
|
669
669
|
});
|
|
670
670
|
// Restored icons
|
|
671
671
|
var CheckIcon = TickIcon;
|
|
672
|
-
var BackIcon = props => /*#__PURE__*/React__default.createElement(ChevronIcon, Object.assign({
|
|
672
|
+
var BackIcon = props => (/*#__PURE__*/React__default.createElement(ChevronIcon, Object.assign({
|
|
673
673
|
orientation: "left"
|
|
674
|
-
}, props));
|
|
674
|
+
}, props)));
|
|
675
675
|
var ZoomOutIcon = /*#__PURE__*/createIcon('zoom-out', {
|
|
676
676
|
filled: false
|
|
677
677
|
});
|
|
@@ -776,106 +776,6 @@
|
|
|
776
776
|
filled: false
|
|
777
777
|
});
|
|
778
778
|
|
|
779
|
-
var Icon$1 = {
|
|
780
|
-
__proto__: null,
|
|
781
|
-
Icon: Icon,
|
|
782
|
-
UserIcon: UserIcon,
|
|
783
|
-
HelpIcon: HelpIcon,
|
|
784
|
-
FolderIcon: FolderIcon,
|
|
785
|
-
ChevronIcon: ChevronIcon,
|
|
786
|
-
DragHandleIcon: DragHandleIcon,
|
|
787
|
-
FileIcon: FileIcon,
|
|
788
|
-
VideoIcon: VideoIcon,
|
|
789
|
-
ImageIcon: ImageIcon,
|
|
790
|
-
AudioIcon: AudioIcon,
|
|
791
|
-
TwitterIcon: TwitterIcon,
|
|
792
|
-
XIcon: XIcon,
|
|
793
|
-
TwitchIcon: TwitchIcon,
|
|
794
|
-
CloseIcon: CloseIcon,
|
|
795
|
-
InstagramIcon: InstagramIcon,
|
|
796
|
-
YoutubeIcon: YoutubeIcon,
|
|
797
|
-
FacebookIcon: FacebookIcon,
|
|
798
|
-
LinkedinIcon: LinkedinIcon,
|
|
799
|
-
ThreadsIcon: ThreadsIcon,
|
|
800
|
-
MinusIcon: MinusIcon,
|
|
801
|
-
InfoIcon: InfoIcon,
|
|
802
|
-
PlayIcon: PlayIcon,
|
|
803
|
-
PauseIcon: PauseIcon,
|
|
804
|
-
HeartIcon: HeartIcon,
|
|
805
|
-
StarIcon: StarIcon,
|
|
806
|
-
SaveIcon: SaveIcon,
|
|
807
|
-
WarningIcon: WarningIcon,
|
|
808
|
-
BatteryIcon: BatteryIcon,
|
|
809
|
-
BookmarkIcon: BookmarkIcon,
|
|
810
|
-
CloudIcon: CloudIcon,
|
|
811
|
-
CopyIcon: CopyIcon,
|
|
812
|
-
DustBinIcon: DustBinIcon,
|
|
813
|
-
DeleteIcon: DeleteIcon,
|
|
814
|
-
EditIcon: EditIcon,
|
|
815
|
-
MicrophoneIcon: MicrophoneIcon,
|
|
816
|
-
StopIcon: StopIcon,
|
|
817
|
-
SendIcon: SendIcon,
|
|
818
|
-
LoadingSpinnerIcon: LoadingSpinnerIcon,
|
|
819
|
-
AttachmentIcon: AttachmentIcon,
|
|
820
|
-
SearchIcon: SearchIcon,
|
|
821
|
-
HomeIcon: HomeIcon,
|
|
822
|
-
SettingsIcon: SettingsIcon,
|
|
823
|
-
DownloadIcon: DownloadIcon,
|
|
824
|
-
ShareIcon: ShareIcon,
|
|
825
|
-
TickIcon: TickIcon,
|
|
826
|
-
PlusIcon: PlusIcon,
|
|
827
|
-
CloseEyeIcon: CloseEyeIcon,
|
|
828
|
-
OpenEyeIcon: OpenEyeIcon,
|
|
829
|
-
LockIcon: LockIcon,
|
|
830
|
-
ProfileIcon: ProfileIcon,
|
|
831
|
-
ExternalLinkIcon: ExternalLinkIcon,
|
|
832
|
-
SuccessIcon: SuccessIcon,
|
|
833
|
-
ErrorIcon: ErrorIcon,
|
|
834
|
-
NotificationIcon: NotificationIcon,
|
|
835
|
-
DocumentIcon: DocumentIcon,
|
|
836
|
-
ChartIcon: ChartIcon,
|
|
837
|
-
MoonIcon: MoonIcon,
|
|
838
|
-
PanelIcon: PanelIcon,
|
|
839
|
-
UploadIcon: UploadIcon,
|
|
840
|
-
CheckIcon: CheckIcon,
|
|
841
|
-
BackIcon: BackIcon,
|
|
842
|
-
ZoomOutIcon: ZoomOutIcon,
|
|
843
|
-
TextIcon: TextIcon,
|
|
844
|
-
ShapeIcon: ShapeIcon,
|
|
845
|
-
RotateIcon: RotateIcon,
|
|
846
|
-
GiftIcon: GiftIcon,
|
|
847
|
-
ShieldIcon: ShieldIcon,
|
|
848
|
-
LogoutIcon: LogoutIcon,
|
|
849
|
-
PowerOffIcon: PowerOffIcon,
|
|
850
|
-
LinkIcon: LinkIcon,
|
|
851
|
-
LayoutIcon: LayoutIcon,
|
|
852
|
-
ZapIcon: ZapIcon,
|
|
853
|
-
CreditCardIcon: CreditCardIcon,
|
|
854
|
-
MoreIcon: MoreIcon,
|
|
855
|
-
TrashIcon: TrashIcon,
|
|
856
|
-
FilterIcon: FilterIcon,
|
|
857
|
-
CalendarIcon: CalendarIcon,
|
|
858
|
-
ClockIcon: ClockIcon,
|
|
859
|
-
MapPinIcon: MapPinIcon,
|
|
860
|
-
MenuIcon: MenuIcon,
|
|
861
|
-
RefreshIcon: RefreshIcon,
|
|
862
|
-
PrintIcon: PrintIcon,
|
|
863
|
-
MagicWandIcon: MagicWandIcon,
|
|
864
|
-
UnLikeIcon: UnLikeIcon,
|
|
865
|
-
LikeIcon: LikeIcon,
|
|
866
|
-
CameraIcon: CameraIcon,
|
|
867
|
-
BluetoothIcon: BluetoothIcon,
|
|
868
|
-
UnlockIcon: UnlockIcon,
|
|
869
|
-
WifiIcon: WifiIcon,
|
|
870
|
-
BoldArrowIcon: BoldArrowIcon,
|
|
871
|
-
ArrowIcon: ArrowIcon,
|
|
872
|
-
SpinnerIcon: SpinnerIcon,
|
|
873
|
-
SliderIcon: SliderIcon,
|
|
874
|
-
CropIcon: CropIcon,
|
|
875
|
-
ZoomInIcon: ZoomInIcon,
|
|
876
|
-
DragHandleLinesIcon: DragHandleLinesIcon
|
|
877
|
-
};
|
|
878
|
-
|
|
879
779
|
/**
|
|
880
780
|
* Alert Styles
|
|
881
781
|
*
|
|
@@ -17234,7 +17134,8 @@
|
|
|
17234
17134
|
glow: color => ({
|
|
17235
17135
|
color: color,
|
|
17236
17136
|
textShadow: "0 0 10px " + color + "80, 0 0 20px " + color + "40, 0 0 30px " + color + "20"
|
|
17237
|
-
})
|
|
17137
|
+
}),
|
|
17138
|
+
default: () => ({})
|
|
17238
17139
|
};
|
|
17239
17140
|
|
|
17240
17141
|
var _excluded$Z = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "textComponent", "as"];
|
|
@@ -17506,7 +17407,7 @@
|
|
|
17506
17407
|
var {
|
|
17507
17408
|
children,
|
|
17508
17409
|
highlightText,
|
|
17509
|
-
highlightStyle = '
|
|
17410
|
+
highlightStyle = 'default',
|
|
17510
17411
|
highlightColor = 'theme.primary',
|
|
17511
17412
|
highlightSecondaryColor,
|
|
17512
17413
|
size = 'lg',
|
|
@@ -17603,9 +17504,9 @@
|
|
|
17603
17504
|
// Common container props
|
|
17604
17505
|
var containerProps = Object.assign({
|
|
17605
17506
|
ref,
|
|
17606
|
-
as: 'h1',
|
|
17607
17507
|
animate: inView ? controlledAnimate : undefined
|
|
17608
17508
|
}, !textComponent && {
|
|
17509
|
+
as: 'h1',
|
|
17609
17510
|
fontSize: useResponsive ? undefined : fontSize,
|
|
17610
17511
|
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
17611
17512
|
letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
|
|
@@ -17661,25 +17562,27 @@
|
|
|
17661
17562
|
lastIndex = match.index + match[0].length;
|
|
17662
17563
|
}
|
|
17663
17564
|
if (lastIndex < text.length) parts.push(text.substring(lastIndex));
|
|
17664
|
-
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
17565
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
17566
|
+
fontSize: useResponsive ? undefined : fontSize
|
|
17567
|
+
}, containerProps, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? part : (/*#__PURE__*/React__default.createElement(TextComponent, Object.assign({
|
|
17665
17568
|
key: "highlight-" + idx,
|
|
17666
17569
|
as: "span",
|
|
17667
17570
|
display: "inline",
|
|
17668
|
-
animate: inView ? controlledHighlightAnimate : undefined
|
|
17669
|
-
fontSize: useResponsive ? undefined : fontSize
|
|
17571
|
+
animate: inView ? controlledHighlightAnimate : undefined
|
|
17670
17572
|
}, !highlightSlide ? highlightProps : {}, views == null ? void 0 : views.highlight), renderHighlightedContent(part.text)))));
|
|
17671
17573
|
}
|
|
17672
17574
|
// Case 2: Has highlight style but no highlight target - apply style to entire title
|
|
17673
17575
|
if (highlightStyle && !activeHighlightTarget) {
|
|
17674
|
-
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
17576
|
+
return /*#__PURE__*/React__default.createElement(appStudio.Element, Object.assign({
|
|
17577
|
+
fontSize: fontSize
|
|
17578
|
+
}, containerProps, props, views == null ? void 0 : views.container), /*#__PURE__*/React__default.createElement(TextComponent, Object.assign({
|
|
17675
17579
|
as: "span",
|
|
17676
|
-
fontSize: fontSize,
|
|
17677
17580
|
display: "inline",
|
|
17678
17581
|
animate: inView ? controlledHighlightAnimate : undefined
|
|
17679
17582
|
}, !highlightSlide ? highlightProps : {}, views == null ? void 0 : views.highlight), renderHighlightedContent(text)));
|
|
17680
17583
|
}
|
|
17681
17584
|
// Case 3: Default - no highlighting
|
|
17682
|
-
return /*#__PURE__*/React__default.createElement(TextComponent, Object.assign({}, containerProps, views == null ? void 0 : views.container
|
|
17585
|
+
return /*#__PURE__*/React__default.createElement(TextComponent, Object.assign({}, containerProps, props, views == null ? void 0 : views.container), text);
|
|
17683
17586
|
};
|
|
17684
17587
|
|
|
17685
17588
|
/**
|
|
@@ -26480,7 +26383,7 @@
|
|
|
26480
26383
|
exports.HelpIcon = HelpIcon;
|
|
26481
26384
|
exports.HomeIcon = HomeIcon;
|
|
26482
26385
|
exports.HoverCard = HoverCard;
|
|
26483
|
-
exports.Icon = Icon
|
|
26386
|
+
exports.Icon = Icon;
|
|
26484
26387
|
exports.ImageIcon = ImageIcon;
|
|
26485
26388
|
exports.InfoIcon = InfoIcon;
|
|
26486
26389
|
exports.InstagramIcon = InstagramIcon;
|