@mindly/ui-components 8.5.0 → 8.5.1

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.
@@ -16,4 +16,6 @@ export type SpecialistCardWithScheduleWidgetProps = {
16
16
  onScheduleSlotChange?: (slot: ScheduleSlot | null) => void;
17
17
  onScheduleShowAll?: () => void;
18
18
  };
19
+ shouldAnimateNotice?: boolean;
20
+ isNoticeReady?: boolean;
19
21
  };
package/dist/index.d.ts CHANGED
@@ -4335,6 +4335,8 @@ type SpecialistCardWithScheduleWidgetProps = {
4335
4335
  onScheduleSlotChange?: (slot: ScheduleSlot | null) => void;
4336
4336
  onScheduleShowAll?: () => void;
4337
4337
  };
4338
+ shouldAnimateNotice?: boolean;
4339
+ isNoticeReady?: boolean;
4338
4340
  };
4339
4341
 
4340
4342
  declare const _default$q: React__default.NamedExoticComponent<SpecialistCardWithScheduleWidgetProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "8.5.0",
3
+ "version": "8.5.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "clean": "rimraf dist",
@@ -93,3 +93,26 @@
93
93
  .PhotoView-Portal.PhotoView-Portal .PhotoView-Slider__BannerWrap .PhotoView-Slider__Counter {
94
94
  display: none;
95
95
  }
96
+
97
+ @keyframes notice-bounce {
98
+ 0% {
99
+ transform: translateY(-100%);
100
+ }
101
+
102
+ 60% {
103
+ transform: translateY(-16px);
104
+ }
105
+
106
+ 80% {
107
+ transform: translateY(-30%);
108
+ }
109
+
110
+ 100% {
111
+ transform: translateY(-16px);
112
+ }
113
+ }
114
+
115
+ .notice-animate {
116
+ animation: notice-bounce 500ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
117
+ animation-delay: 300ms;
118
+ }