@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
package/dist/web.esm.js
CHANGED
|
@@ -520,9 +520,9 @@ var createIcon = function createIcon(name, defaultProps) {
|
|
|
520
520
|
if (defaultProps === void 0) {
|
|
521
521
|
defaultProps = {};
|
|
522
522
|
}
|
|
523
|
-
var IconComponent = props => /*#__PURE__*/React.createElement(Icon, Object.assign({
|
|
523
|
+
var IconComponent = props => (/*#__PURE__*/React.createElement(Icon, Object.assign({
|
|
524
524
|
name: name
|
|
525
|
-
}, defaultProps, props));
|
|
525
|
+
}, defaultProps, props)));
|
|
526
526
|
IconComponent.displayName = name + "Icon";
|
|
527
527
|
return IconComponent;
|
|
528
528
|
};
|
|
@@ -701,9 +701,9 @@ var UploadIcon = /*#__PURE__*/createIcon('upload', {
|
|
|
701
701
|
});
|
|
702
702
|
// Restored icons
|
|
703
703
|
var CheckIcon = TickIcon;
|
|
704
|
-
var BackIcon = props => /*#__PURE__*/React.createElement(ChevronIcon, Object.assign({
|
|
704
|
+
var BackIcon = props => (/*#__PURE__*/React.createElement(ChevronIcon, Object.assign({
|
|
705
705
|
orientation: "left"
|
|
706
|
-
}, props));
|
|
706
|
+
}, props)));
|
|
707
707
|
var ZoomOutIcon = /*#__PURE__*/createIcon('zoom-out', {
|
|
708
708
|
filled: false
|
|
709
709
|
});
|
|
@@ -808,106 +808,6 @@ var DragHandleLinesIcon = /*#__PURE__*/createIcon('grip-horizontal', {
|
|
|
808
808
|
filled: false
|
|
809
809
|
});
|
|
810
810
|
|
|
811
|
-
var Icon$1 = {
|
|
812
|
-
__proto__: null,
|
|
813
|
-
Icon: Icon,
|
|
814
|
-
UserIcon: UserIcon,
|
|
815
|
-
HelpIcon: HelpIcon,
|
|
816
|
-
FolderIcon: FolderIcon,
|
|
817
|
-
ChevronIcon: ChevronIcon,
|
|
818
|
-
DragHandleIcon: DragHandleIcon,
|
|
819
|
-
FileIcon: FileIcon,
|
|
820
|
-
VideoIcon: VideoIcon,
|
|
821
|
-
ImageIcon: ImageIcon,
|
|
822
|
-
AudioIcon: AudioIcon,
|
|
823
|
-
TwitterIcon: TwitterIcon,
|
|
824
|
-
XIcon: XIcon,
|
|
825
|
-
TwitchIcon: TwitchIcon,
|
|
826
|
-
CloseIcon: CloseIcon,
|
|
827
|
-
InstagramIcon: InstagramIcon,
|
|
828
|
-
YoutubeIcon: YoutubeIcon,
|
|
829
|
-
FacebookIcon: FacebookIcon,
|
|
830
|
-
LinkedinIcon: LinkedinIcon,
|
|
831
|
-
ThreadsIcon: ThreadsIcon,
|
|
832
|
-
MinusIcon: MinusIcon,
|
|
833
|
-
InfoIcon: InfoIcon,
|
|
834
|
-
PlayIcon: PlayIcon,
|
|
835
|
-
PauseIcon: PauseIcon,
|
|
836
|
-
HeartIcon: HeartIcon,
|
|
837
|
-
StarIcon: StarIcon,
|
|
838
|
-
SaveIcon: SaveIcon,
|
|
839
|
-
WarningIcon: WarningIcon,
|
|
840
|
-
BatteryIcon: BatteryIcon,
|
|
841
|
-
BookmarkIcon: BookmarkIcon,
|
|
842
|
-
CloudIcon: CloudIcon,
|
|
843
|
-
CopyIcon: CopyIcon,
|
|
844
|
-
DustBinIcon: DustBinIcon,
|
|
845
|
-
DeleteIcon: DeleteIcon,
|
|
846
|
-
EditIcon: EditIcon,
|
|
847
|
-
MicrophoneIcon: MicrophoneIcon,
|
|
848
|
-
StopIcon: StopIcon,
|
|
849
|
-
SendIcon: SendIcon,
|
|
850
|
-
LoadingSpinnerIcon: LoadingSpinnerIcon,
|
|
851
|
-
AttachmentIcon: AttachmentIcon,
|
|
852
|
-
SearchIcon: SearchIcon,
|
|
853
|
-
HomeIcon: HomeIcon,
|
|
854
|
-
SettingsIcon: SettingsIcon,
|
|
855
|
-
DownloadIcon: DownloadIcon,
|
|
856
|
-
ShareIcon: ShareIcon,
|
|
857
|
-
TickIcon: TickIcon,
|
|
858
|
-
PlusIcon: PlusIcon,
|
|
859
|
-
CloseEyeIcon: CloseEyeIcon,
|
|
860
|
-
OpenEyeIcon: OpenEyeIcon,
|
|
861
|
-
LockIcon: LockIcon,
|
|
862
|
-
ProfileIcon: ProfileIcon,
|
|
863
|
-
ExternalLinkIcon: ExternalLinkIcon,
|
|
864
|
-
SuccessIcon: SuccessIcon,
|
|
865
|
-
ErrorIcon: ErrorIcon,
|
|
866
|
-
NotificationIcon: NotificationIcon,
|
|
867
|
-
DocumentIcon: DocumentIcon,
|
|
868
|
-
ChartIcon: ChartIcon,
|
|
869
|
-
MoonIcon: MoonIcon,
|
|
870
|
-
PanelIcon: PanelIcon,
|
|
871
|
-
UploadIcon: UploadIcon,
|
|
872
|
-
CheckIcon: CheckIcon,
|
|
873
|
-
BackIcon: BackIcon,
|
|
874
|
-
ZoomOutIcon: ZoomOutIcon,
|
|
875
|
-
TextIcon: TextIcon,
|
|
876
|
-
ShapeIcon: ShapeIcon,
|
|
877
|
-
RotateIcon: RotateIcon,
|
|
878
|
-
GiftIcon: GiftIcon,
|
|
879
|
-
ShieldIcon: ShieldIcon,
|
|
880
|
-
LogoutIcon: LogoutIcon,
|
|
881
|
-
PowerOffIcon: PowerOffIcon,
|
|
882
|
-
LinkIcon: LinkIcon,
|
|
883
|
-
LayoutIcon: LayoutIcon,
|
|
884
|
-
ZapIcon: ZapIcon,
|
|
885
|
-
CreditCardIcon: CreditCardIcon,
|
|
886
|
-
MoreIcon: MoreIcon,
|
|
887
|
-
TrashIcon: TrashIcon,
|
|
888
|
-
FilterIcon: FilterIcon,
|
|
889
|
-
CalendarIcon: CalendarIcon,
|
|
890
|
-
ClockIcon: ClockIcon,
|
|
891
|
-
MapPinIcon: MapPinIcon,
|
|
892
|
-
MenuIcon: MenuIcon,
|
|
893
|
-
RefreshIcon: RefreshIcon,
|
|
894
|
-
PrintIcon: PrintIcon,
|
|
895
|
-
MagicWandIcon: MagicWandIcon,
|
|
896
|
-
UnLikeIcon: UnLikeIcon,
|
|
897
|
-
LikeIcon: LikeIcon,
|
|
898
|
-
CameraIcon: CameraIcon,
|
|
899
|
-
BluetoothIcon: BluetoothIcon,
|
|
900
|
-
UnlockIcon: UnlockIcon,
|
|
901
|
-
WifiIcon: WifiIcon,
|
|
902
|
-
BoldArrowIcon: BoldArrowIcon,
|
|
903
|
-
ArrowIcon: ArrowIcon,
|
|
904
|
-
SpinnerIcon: SpinnerIcon,
|
|
905
|
-
SliderIcon: SliderIcon,
|
|
906
|
-
CropIcon: CropIcon,
|
|
907
|
-
ZoomInIcon: ZoomInIcon,
|
|
908
|
-
DragHandleLinesIcon: DragHandleLinesIcon
|
|
909
|
-
};
|
|
910
|
-
|
|
911
811
|
/**
|
|
912
812
|
* Alert Styles
|
|
913
813
|
*
|
|
@@ -17266,7 +17166,8 @@ var HighlightStyles = {
|
|
|
17266
17166
|
glow: color => ({
|
|
17267
17167
|
color: color,
|
|
17268
17168
|
textShadow: "0 0 10px " + color + "80, 0 0 20px " + color + "40, 0 0 30px " + color + "20"
|
|
17269
|
-
})
|
|
17169
|
+
}),
|
|
17170
|
+
default: () => ({})
|
|
17270
17171
|
};
|
|
17271
17172
|
|
|
17272
17173
|
var _excluded$Z = ["text", "typingSpeed", "pauseTime", "onComplete", "showCursor", "cursorColor", "textStyle", "textComponent", "as"];
|
|
@@ -17538,7 +17439,7 @@ var TitleView = _ref => {
|
|
|
17538
17439
|
var {
|
|
17539
17440
|
children,
|
|
17540
17441
|
highlightText,
|
|
17541
|
-
highlightStyle = '
|
|
17442
|
+
highlightStyle = 'default',
|
|
17542
17443
|
highlightColor = 'theme.primary',
|
|
17543
17444
|
highlightSecondaryColor,
|
|
17544
17445
|
size = 'lg',
|
|
@@ -17635,9 +17536,9 @@ var TitleView = _ref => {
|
|
|
17635
17536
|
// Common container props
|
|
17636
17537
|
var containerProps = Object.assign({
|
|
17637
17538
|
ref,
|
|
17638
|
-
as: 'h1',
|
|
17639
17539
|
animate: inView ? controlledAnimate : undefined
|
|
17640
17540
|
}, !textComponent && {
|
|
17541
|
+
as: 'h1',
|
|
17641
17542
|
fontSize: useResponsive ? undefined : fontSize,
|
|
17642
17543
|
fontWeight: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.fontWeight : 'bold',
|
|
17643
17544
|
letterSpacing: useResponsive ? responsiveStyles == null ? void 0 : responsiveStyles.letterSpacing : undefined,
|
|
@@ -17693,25 +17594,27 @@ var TitleView = _ref => {
|
|
|
17693
17594
|
lastIndex = match.index + match[0].length;
|
|
17694
17595
|
}
|
|
17695
17596
|
if (lastIndex < text.length) parts.push(text.substring(lastIndex));
|
|
17696
|
-
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
17597
|
+
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
17598
|
+
fontSize: useResponsive ? undefined : fontSize
|
|
17599
|
+
}, containerProps, views == null ? void 0 : views.container, props), parts.map((part, idx) => typeof part === 'string' ? part : (/*#__PURE__*/React.createElement(TextComponent, Object.assign({
|
|
17697
17600
|
key: "highlight-" + idx,
|
|
17698
17601
|
as: "span",
|
|
17699
17602
|
display: "inline",
|
|
17700
|
-
animate: inView ? controlledHighlightAnimate : undefined
|
|
17701
|
-
fontSize: useResponsive ? undefined : fontSize
|
|
17603
|
+
animate: inView ? controlledHighlightAnimate : undefined
|
|
17702
17604
|
}, !highlightSlide ? highlightProps : {}, views == null ? void 0 : views.highlight), renderHighlightedContent(part.text)))));
|
|
17703
17605
|
}
|
|
17704
17606
|
// Case 2: Has highlight style but no highlight target - apply style to entire title
|
|
17705
17607
|
if (highlightStyle && !activeHighlightTarget) {
|
|
17706
|
-
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
17608
|
+
return /*#__PURE__*/React.createElement(Element, Object.assign({
|
|
17609
|
+
fontSize: fontSize
|
|
17610
|
+
}, containerProps, props, views == null ? void 0 : views.container), /*#__PURE__*/React.createElement(TextComponent, Object.assign({
|
|
17707
17611
|
as: "span",
|
|
17708
|
-
fontSize: fontSize,
|
|
17709
17612
|
display: "inline",
|
|
17710
17613
|
animate: inView ? controlledHighlightAnimate : undefined
|
|
17711
17614
|
}, !highlightSlide ? highlightProps : {}, views == null ? void 0 : views.highlight), renderHighlightedContent(text)));
|
|
17712
17615
|
}
|
|
17713
17616
|
// Case 3: Default - no highlighting
|
|
17714
|
-
return /*#__PURE__*/React.createElement(TextComponent, Object.assign({}, containerProps, views == null ? void 0 : views.container
|
|
17617
|
+
return /*#__PURE__*/React.createElement(TextComponent, Object.assign({}, containerProps, props, views == null ? void 0 : views.container), text);
|
|
17715
17618
|
};
|
|
17716
17619
|
|
|
17717
17620
|
/**
|
|
@@ -26426,5 +26329,5 @@ var Background = /*#__PURE__*/Object.assign(BackgroundComponent, {
|
|
|
26426
26329
|
});
|
|
26427
26330
|
Background.displayName = 'Background';
|
|
26428
26331
|
|
|
26429
|
-
export { Accordion, Alert, ArrowIcon, AspectRatio, AttachmentIcon, AttachmentPreview, AudioIcon, AudioInput, AudioWaveform, Avatar, BackIcon, Background, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, ChatInput, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ColorInput, ColorPicker, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CreditCardIcon, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DragHandleLinesIcon, Drawer, DropdownMenu, DustBinIcon, EditIcon, EmojiPicker, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FolderIcon, FormikChatInput, FormikCheckbox, FormikColorInput, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSelector, FormikSlider, FormikSwitch, FormikTagInput, FormikTextArea, FormikTextField, FormikUploader, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon
|
|
26332
|
+
export { Accordion, Alert, ArrowIcon, AspectRatio, AttachmentIcon, AttachmentPreview, AudioIcon, AudioInput, AudioWaveform, Avatar, BackIcon, Background, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, ChatInput, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ColorInput, ColorPicker, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CreditCardIcon, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DragHandleLinesIcon, Drawer, DropdownMenu, DustBinIcon, EditIcon, EmojiPicker, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, FolderIcon, FormikChatInput, FormikCheckbox, FormikColorInput, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSelector, FormikSlider, FormikSwitch, FormikTagInput, FormikTextArea, FormikTextField, FormikUploader, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LayoutIcon, LikeIcon, Link, LinkIcon, LinkedinIcon, Loader, LoadingSpinnerIcon, LockIcon, LogoutIcon, MagicWandIcon, MapPinIcon, MediaPreview, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, MoreIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PowerOffIcon, PrintIcon, ProfileIcon, ProgressBar, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, Selector, SendIcon, Separator, SettingsIcon, ShapeIcon, ShareButton, ShareIcon, ShieldIcon, Sidebar, Slider, SliderIcon, SpinnerIcon, StarIcon, StatusIndicator, StopIcon, SuccessIcon, Switch, Table, Tabs, TagInput, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Title, Toast, Toggle, ToggleGroup, Tooltip, TrashIcon, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, showToast, useMessageStore, useModalStore, useToast$1 as useToast };
|
|
26430
26333
|
//# sourceMappingURL=web.esm.js.map
|