@envive-ai/react-toolkit-v3 0.3.30 → 0.3.31
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/AnimatedText/AnimatedText.d.ts +3 -3
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.cts +2 -2
- package/dist/CSSVariablesEditor/CssVariablesEditorComponent.d.ts +2 -2
- package/dist/Carousel/Carousel.cjs +1 -1
- package/dist/Carousel/Carousel.d.cts +2 -2
- package/dist/Carousel/Carousel.d.ts +2 -2
- package/dist/Carousel/Carousel.js +1 -1
- package/dist/Carousel/components/Container.cjs +2 -2
- package/dist/Carousel/components/Container.js +2 -2
- package/dist/ChatFooter/ChatFooter.cjs +1 -1
- package/dist/ChatFooter/ChatFooter.d.cts +2 -2
- package/dist/ChatFooter/ChatFooter.d.ts +2 -2
- package/dist/ChatFooter/ChatFooter.js +1 -1
- package/dist/ChatFooter/components/Layout.cjs +2 -2
- package/dist/ChatFooter/components/Layout.js +2 -2
- package/dist/ChatFooter/components/index.d.cts +5 -5
- package/dist/ChatFooter/components/index.d.ts +5 -5
- package/dist/ChatHeader/ChatHeader.d.cts +2 -2
- package/dist/ChatHeader/ChatHeader.d.ts +2 -2
- package/dist/ChatHeader/components/Handle.cjs +2 -2
- package/dist/ChatHeader/components/Handle.js +2 -2
- package/dist/ChatHeader/components/Toggle.cjs +3 -3
- package/dist/ChatHeader/components/Toggle.js +3 -3
- package/dist/ChatPreview/ChatPreview.cjs +1 -1
- package/dist/ChatPreview/ChatPreview.d.cts +2 -2
- package/dist/ChatPreview/ChatPreview.d.ts +2 -2
- package/dist/ChatPreview/ChatPreview.js +1 -1
- package/dist/ChatPreviewComparison/ChatPreviewComparison.cjs +1 -1
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.cts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.d.ts +2 -2
- package/dist/ChatPreviewComparison/ChatPreviewComparison.js +1 -1
- package/dist/ChatPreviewComparison/components/Headline.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Headline.js +2 -2
- package/dist/ChatPreviewComparison/components/Layout.cjs +4 -4
- package/dist/ChatPreviewComparison/components/Layout.js +4 -4
- package/dist/ChatPreviewComparison/components/Message.cjs +2 -2
- package/dist/ChatPreviewComparison/components/Message.js +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.cts +2 -2
- package/dist/ChatPreviewLoading/ChatPreviewLoading.d.ts +2 -2
- package/dist/Container/Container.d.cts +175 -175
- package/dist/Container/Container.d.ts +175 -175
- package/dist/DesignTokens/DesignTokensComponent.d.cts +2 -2
- package/dist/DesignTokens/DesignTokensComponent.d.ts +2 -2
- package/dist/Disclaimer/components/Container.cjs +2 -2
- package/dist/Disclaimer/components/Container.js +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.cts +2 -2
- package/dist/DocumentRetrievalCard/DocumentRetrievalCard.d.ts +2 -2
- package/dist/DocumentRetrievalCard/components/Layout.cjs +2 -2
- package/dist/DocumentRetrievalCard/components/Layout.js +2 -2
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.cjs +1 -1
- package/dist/DocumentRetrievalCard/components/ViewArticleButton/components/Icon.js +1 -1
- package/dist/FloatingButton/FloatingButton.cjs +2 -1
- package/dist/FloatingButton/FloatingButton.d.cts +4 -3
- package/dist/FloatingButton/FloatingButton.d.ts +4 -3
- package/dist/FloatingButton/FloatingButton.js +2 -1
- package/dist/FloatingButton/components/Container.cjs +2 -1
- package/dist/FloatingButton/components/Container.js +2 -1
- package/dist/FloatingButton/types/types.d.cts +4 -0
- package/dist/FloatingButton/types/types.d.ts +4 -0
- package/dist/FloatingChat/FloatingChat.d.cts +2 -2
- package/dist/FloatingChat/FloatingChat.d.ts +2 -2
- package/dist/FloatingChat/components/ChatMessages.cjs +1 -1
- package/dist/FloatingChat/components/ChatMessages.js +1 -1
- package/dist/FloatingChat/components/Layout.cjs +3 -3
- package/dist/FloatingChat/components/Layout.js +3 -3
- package/dist/FloatingChat/components/ResultsGridView.cjs +1 -1
- package/dist/FloatingChat/components/ResultsGridView.js +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.cjs +1 -1
- package/dist/FloatingChat/components/SalesAgentBadgeContent.js +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.cjs +1 -1
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.cts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.d.ts +2 -2
- package/dist/FullPageSalesAgent/FullPageSalesAgent.js +1 -1
- package/dist/Image/Image.d.cts +2 -2
- package/dist/Image/Image.d.ts +2 -2
- package/dist/ImageGallery/ImageGallery.d.cts +2 -2
- package/dist/ImageGallery/ImageGallery.d.ts +2 -2
- package/dist/ImageGallery/components/Layout.cjs +1 -1
- package/dist/ImageGallery/components/Layout.js +1 -1
- package/dist/MarkdownProcessor/MarkdownProcessor.d.cts +2 -2
- package/dist/MarkdownProcessor/MarkdownProcessor.d.ts +2 -2
- package/dist/Message/components/LinkButton.cjs +1 -1
- package/dist/Message/components/LinkButton.js +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.cjs +1 -1
- package/dist/OrderLookupCard/OrderLookupCard.js +1 -1
- package/dist/ProductCard/ProductCard.cjs +2 -2
- package/dist/ProductCard/ProductCard.d.cts +2 -2
- package/dist/ProductCard/ProductCard.d.ts +2 -2
- package/dist/ProductCard/ProductCard.js +2 -2
- package/dist/PromptButton/PromptButton.d.cts +2 -2
- package/dist/PromptButton/PromptButton.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.cts +2 -2
- package/dist/PromptButtonCarouselWithImage/PromptButtonCarouselWithImage.d.ts +2 -2
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.cjs +1 -1
- package/dist/PromptButtonCarouselWithImage/components/PromptButtonsCarousel.js +1 -1
- package/dist/PromptCarousel/PromptCarousel.cjs +3 -3
- package/dist/PromptCarousel/PromptCarousel.d.cts +2 -2
- package/dist/PromptCarousel/PromptCarousel.d.ts +2 -2
- package/dist/PromptCarousel/PromptCarousel.js +3 -3
- package/dist/ReviewCard/ReviewCard.d.cts +2 -2
- package/dist/ReviewCard/ReviewCard.d.ts +2 -2
- package/dist/ReviewCard/components/Container.cjs +2 -2
- package/dist/ReviewCard/components/Container.js +2 -2
- package/dist/ReviewCard/components/ReadMoreButton.cjs +1 -1
- package/dist/ReviewCard/components/ReadMoreButton.js +1 -1
- package/dist/ReviewCard/components/index.d.cts +6 -6
- package/dist/ReviewCard/components/index.d.ts +6 -6
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.cts +2 -2
- package/dist/SalesAgentProductCard/SalesAgentProductCard.d.ts +2 -2
- package/dist/SalesAgentProductCard/components/Container.cjs +2 -2
- package/dist/SalesAgentProductCard/components/Container.js +2 -2
- package/dist/SalesAgentProductCard/components/index.d.cts +8 -8
- package/dist/SalesAgentProductCard/components/index.d.ts +8 -8
- package/dist/SocialProof/SocialProof.cjs +1 -1
- package/dist/SocialProof/SocialProof.d.cts +2 -2
- package/dist/SocialProof/SocialProof.d.ts +2 -2
- package/dist/SocialProof/SocialProof.js +1 -1
- package/dist/SocialProof/components/Headline.cjs +3 -3
- package/dist/SocialProof/components/Headline.js +3 -3
- package/dist/SocialProof/components/LayoutFourHorizontal.cjs +1 -1
- package/dist/SocialProof/components/LayoutFourHorizontal.js +1 -1
- package/dist/SocialProof/components/Subheadline.cjs +1 -1
- package/dist/SocialProof/components/Subheadline.js +1 -1
- package/dist/SparkleAnimation/SparkleAnimation.d.cts +2 -2
- package/dist/SparkleAnimation/SparkleAnimation.d.ts +2 -2
- package/dist/Stack/Stack.d.cts +2 -2
- package/dist/Stack/Stack.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.cjs +1 -1
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.cts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.d.ts +2 -2
- package/dist/TitledPromptCarousel/TitledPromptCarousel.js +1 -1
- package/dist/Tokens/index.cjs +1 -1
- package/dist/Tokens/index.js +1 -1
- package/dist/TypingAnimation/TypingAnimation.cjs +1 -1
- package/dist/TypingAnimation/TypingAnimation.d.cts +2 -2
- package/dist/TypingAnimation/TypingAnimation.d.ts +2 -2
- package/dist/TypingAnimation/TypingAnimation.js +1 -1
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.cjs +1 -1
- package/dist/TypingAnimation/hooks/useGetTypographyVariant.js +1 -1
- package/dist/Typography/Typography.d.cts +4 -4
- package/dist/WelcomeMessage/components/Container.cjs +2 -2
- package/dist/WelcomeMessage/components/Container.js +2 -2
- package/dist/WidgetTextField/WidgetTextField.cjs +4 -4
- package/dist/WidgetTextField/WidgetTextField.d.cts +2 -2
- package/dist/WidgetTextField/WidgetTextField.d.ts +2 -2
- package/dist/WidgetTextField/WidgetTextField.js +1 -1
- package/dist/WidgetTextField/components/Container.cjs +2 -2
- package/dist/WidgetTextField/components/Container.js +2 -2
- package/dist/WidgetTextField/components/Icon.cjs +1 -1
- package/dist/WidgetTextField/components/Icon.js +1 -1
- package/dist/WidgetWrapper/WidgetWrapper.d.cts +2 -2
- package/dist/WidgetWrapper/WidgetWrapper.d.ts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.cts +2 -2
- package/dist/WidgetWrapperWithTitle/WidgetWrapperWithTitle.d.ts +2 -2
- package/package.json +1 -1
- package/src/components/FloatingButton/FloatingButton.tsx +2 -0
- package/src/components/FloatingButton/components/Container.tsx +3 -0
- package/src/components/FloatingButton/types/types.ts +4 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContainerProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react7 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/Container/Container.d.ts
|
|
5
5
|
|
|
@@ -17,7 +17,11 @@ declare const Container: ({
|
|
|
17
17
|
fluid,
|
|
18
18
|
centerContent,
|
|
19
19
|
...props
|
|
20
|
-
}: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) =>
|
|
20
|
+
}: ContainerProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style" | "component">) => react7.DetailedReactHTMLElement<{
|
|
21
|
+
slot?: string | undefined;
|
|
22
|
+
title?: string | undefined;
|
|
23
|
+
color?: string | undefined;
|
|
24
|
+
onClick?: react7.MouseEventHandler<HTMLElement>;
|
|
21
25
|
defaultChecked?: boolean | undefined;
|
|
22
26
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
23
27
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -33,13 +37,11 @@ declare const Container: ({
|
|
|
33
37
|
hidden?: boolean | undefined;
|
|
34
38
|
lang?: string | undefined;
|
|
35
39
|
nonce?: string | undefined;
|
|
36
|
-
slot?: string | undefined;
|
|
37
40
|
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
38
41
|
tabIndex?: number | undefined;
|
|
39
|
-
title?: string | undefined;
|
|
40
42
|
translate?: "yes" | "no" | undefined;
|
|
41
43
|
radioGroup?: string | undefined;
|
|
42
|
-
role?:
|
|
44
|
+
role?: react7.AriaRole | undefined;
|
|
43
45
|
about?: string | undefined;
|
|
44
46
|
content?: string | undefined;
|
|
45
47
|
datatype?: string | undefined;
|
|
@@ -53,7 +55,6 @@ declare const Container: ({
|
|
|
53
55
|
vocab?: string | undefined;
|
|
54
56
|
autoCorrect?: string | undefined;
|
|
55
57
|
autoSave?: string | undefined;
|
|
56
|
-
color?: string | undefined;
|
|
57
58
|
itemProp?: string | undefined;
|
|
58
59
|
itemScope?: boolean | undefined;
|
|
59
60
|
itemType?: string | undefined;
|
|
@@ -126,176 +127,175 @@ declare const Container: ({
|
|
|
126
127
|
dangerouslySetInnerHTML?: {
|
|
127
128
|
__html: string | TrustedHTML;
|
|
128
129
|
} | undefined;
|
|
129
|
-
onCopy?:
|
|
130
|
-
onCopyCapture?:
|
|
131
|
-
onCut?:
|
|
132
|
-
onCutCapture?:
|
|
133
|
-
onPaste?:
|
|
134
|
-
onPasteCapture?:
|
|
135
|
-
onCompositionEnd?:
|
|
136
|
-
onCompositionEndCapture?:
|
|
137
|
-
onCompositionStart?:
|
|
138
|
-
onCompositionStartCapture?:
|
|
139
|
-
onCompositionUpdate?:
|
|
140
|
-
onCompositionUpdateCapture?:
|
|
141
|
-
onFocus?:
|
|
142
|
-
onFocusCapture?:
|
|
143
|
-
onBlur?:
|
|
144
|
-
onBlurCapture?:
|
|
145
|
-
onChange?:
|
|
146
|
-
onChangeCapture?:
|
|
147
|
-
onBeforeInput?:
|
|
148
|
-
onBeforeInputCapture?:
|
|
149
|
-
onInput?:
|
|
150
|
-
onInputCapture?:
|
|
151
|
-
onReset?:
|
|
152
|
-
onResetCapture?:
|
|
153
|
-
onSubmit?:
|
|
154
|
-
onSubmitCapture?:
|
|
155
|
-
onInvalid?:
|
|
156
|
-
onInvalidCapture?:
|
|
157
|
-
onLoad?:
|
|
158
|
-
onLoadCapture?:
|
|
159
|
-
onError?:
|
|
160
|
-
onErrorCapture?:
|
|
161
|
-
onKeyDown?:
|
|
162
|
-
onKeyDownCapture?:
|
|
163
|
-
onKeyPress?:
|
|
164
|
-
onKeyPressCapture?:
|
|
165
|
-
onKeyUp?:
|
|
166
|
-
onKeyUpCapture?:
|
|
167
|
-
onAbort?:
|
|
168
|
-
onAbortCapture?:
|
|
169
|
-
onCanPlay?:
|
|
170
|
-
onCanPlayCapture?:
|
|
171
|
-
onCanPlayThrough?:
|
|
172
|
-
onCanPlayThroughCapture?:
|
|
173
|
-
onDurationChange?:
|
|
174
|
-
onDurationChangeCapture?:
|
|
175
|
-
onEmptied?:
|
|
176
|
-
onEmptiedCapture?:
|
|
177
|
-
onEncrypted?:
|
|
178
|
-
onEncryptedCapture?:
|
|
179
|
-
onEnded?:
|
|
180
|
-
onEndedCapture?:
|
|
181
|
-
onLoadedData?:
|
|
182
|
-
onLoadedDataCapture?:
|
|
183
|
-
onLoadedMetadata?:
|
|
184
|
-
onLoadedMetadataCapture?:
|
|
185
|
-
onLoadStart?:
|
|
186
|
-
onLoadStartCapture?:
|
|
187
|
-
onPause?:
|
|
188
|
-
onPauseCapture?:
|
|
189
|
-
onPlay?:
|
|
190
|
-
onPlayCapture?:
|
|
191
|
-
onPlaying?:
|
|
192
|
-
onPlayingCapture?:
|
|
193
|
-
onProgress?:
|
|
194
|
-
onProgressCapture?:
|
|
195
|
-
onRateChange?:
|
|
196
|
-
onRateChangeCapture?:
|
|
197
|
-
onSeeked?:
|
|
198
|
-
onSeekedCapture?:
|
|
199
|
-
onSeeking?:
|
|
200
|
-
onSeekingCapture?:
|
|
201
|
-
onStalled?:
|
|
202
|
-
onStalledCapture?:
|
|
203
|
-
onSuspend?:
|
|
204
|
-
onSuspendCapture?:
|
|
205
|
-
onTimeUpdate?:
|
|
206
|
-
onTimeUpdateCapture?:
|
|
207
|
-
onVolumeChange?:
|
|
208
|
-
onVolumeChangeCapture?:
|
|
209
|
-
onWaiting?:
|
|
210
|
-
onWaitingCapture?:
|
|
211
|
-
onAuxClick?:
|
|
212
|
-
onAuxClickCapture?:
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
onTransitionStartCapture?: react13.TransitionEventHandler<HTMLElement>;
|
|
130
|
+
onCopy?: react7.ClipboardEventHandler<HTMLElement>;
|
|
131
|
+
onCopyCapture?: react7.ClipboardEventHandler<HTMLElement>;
|
|
132
|
+
onCut?: react7.ClipboardEventHandler<HTMLElement>;
|
|
133
|
+
onCutCapture?: react7.ClipboardEventHandler<HTMLElement>;
|
|
134
|
+
onPaste?: react7.ClipboardEventHandler<HTMLElement>;
|
|
135
|
+
onPasteCapture?: react7.ClipboardEventHandler<HTMLElement>;
|
|
136
|
+
onCompositionEnd?: react7.CompositionEventHandler<HTMLElement>;
|
|
137
|
+
onCompositionEndCapture?: react7.CompositionEventHandler<HTMLElement>;
|
|
138
|
+
onCompositionStart?: react7.CompositionEventHandler<HTMLElement>;
|
|
139
|
+
onCompositionStartCapture?: react7.CompositionEventHandler<HTMLElement>;
|
|
140
|
+
onCompositionUpdate?: react7.CompositionEventHandler<HTMLElement>;
|
|
141
|
+
onCompositionUpdateCapture?: react7.CompositionEventHandler<HTMLElement>;
|
|
142
|
+
onFocus?: react7.FocusEventHandler<HTMLElement>;
|
|
143
|
+
onFocusCapture?: react7.FocusEventHandler<HTMLElement>;
|
|
144
|
+
onBlur?: react7.FocusEventHandler<HTMLElement>;
|
|
145
|
+
onBlurCapture?: react7.FocusEventHandler<HTMLElement>;
|
|
146
|
+
onChange?: react7.FormEventHandler<HTMLElement>;
|
|
147
|
+
onChangeCapture?: react7.FormEventHandler<HTMLElement>;
|
|
148
|
+
onBeforeInput?: react7.InputEventHandler<HTMLElement>;
|
|
149
|
+
onBeforeInputCapture?: react7.FormEventHandler<HTMLElement>;
|
|
150
|
+
onInput?: react7.FormEventHandler<HTMLElement>;
|
|
151
|
+
onInputCapture?: react7.FormEventHandler<HTMLElement>;
|
|
152
|
+
onReset?: react7.FormEventHandler<HTMLElement>;
|
|
153
|
+
onResetCapture?: react7.FormEventHandler<HTMLElement>;
|
|
154
|
+
onSubmit?: react7.FormEventHandler<HTMLElement>;
|
|
155
|
+
onSubmitCapture?: react7.FormEventHandler<HTMLElement>;
|
|
156
|
+
onInvalid?: react7.FormEventHandler<HTMLElement>;
|
|
157
|
+
onInvalidCapture?: react7.FormEventHandler<HTMLElement>;
|
|
158
|
+
onLoad?: react7.ReactEventHandler<HTMLElement>;
|
|
159
|
+
onLoadCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
160
|
+
onError?: react7.ReactEventHandler<HTMLElement>;
|
|
161
|
+
onErrorCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
162
|
+
onKeyDown?: react7.KeyboardEventHandler<HTMLElement>;
|
|
163
|
+
onKeyDownCapture?: react7.KeyboardEventHandler<HTMLElement>;
|
|
164
|
+
onKeyPress?: react7.KeyboardEventHandler<HTMLElement>;
|
|
165
|
+
onKeyPressCapture?: react7.KeyboardEventHandler<HTMLElement>;
|
|
166
|
+
onKeyUp?: react7.KeyboardEventHandler<HTMLElement>;
|
|
167
|
+
onKeyUpCapture?: react7.KeyboardEventHandler<HTMLElement>;
|
|
168
|
+
onAbort?: react7.ReactEventHandler<HTMLElement>;
|
|
169
|
+
onAbortCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
170
|
+
onCanPlay?: react7.ReactEventHandler<HTMLElement>;
|
|
171
|
+
onCanPlayCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
172
|
+
onCanPlayThrough?: react7.ReactEventHandler<HTMLElement>;
|
|
173
|
+
onCanPlayThroughCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
174
|
+
onDurationChange?: react7.ReactEventHandler<HTMLElement>;
|
|
175
|
+
onDurationChangeCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
176
|
+
onEmptied?: react7.ReactEventHandler<HTMLElement>;
|
|
177
|
+
onEmptiedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
178
|
+
onEncrypted?: react7.ReactEventHandler<HTMLElement>;
|
|
179
|
+
onEncryptedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
180
|
+
onEnded?: react7.ReactEventHandler<HTMLElement>;
|
|
181
|
+
onEndedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
182
|
+
onLoadedData?: react7.ReactEventHandler<HTMLElement>;
|
|
183
|
+
onLoadedDataCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
184
|
+
onLoadedMetadata?: react7.ReactEventHandler<HTMLElement>;
|
|
185
|
+
onLoadedMetadataCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
186
|
+
onLoadStart?: react7.ReactEventHandler<HTMLElement>;
|
|
187
|
+
onLoadStartCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
188
|
+
onPause?: react7.ReactEventHandler<HTMLElement>;
|
|
189
|
+
onPauseCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
190
|
+
onPlay?: react7.ReactEventHandler<HTMLElement>;
|
|
191
|
+
onPlayCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
192
|
+
onPlaying?: react7.ReactEventHandler<HTMLElement>;
|
|
193
|
+
onPlayingCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
194
|
+
onProgress?: react7.ReactEventHandler<HTMLElement>;
|
|
195
|
+
onProgressCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
196
|
+
onRateChange?: react7.ReactEventHandler<HTMLElement>;
|
|
197
|
+
onRateChangeCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
198
|
+
onSeeked?: react7.ReactEventHandler<HTMLElement>;
|
|
199
|
+
onSeekedCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
200
|
+
onSeeking?: react7.ReactEventHandler<HTMLElement>;
|
|
201
|
+
onSeekingCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
202
|
+
onStalled?: react7.ReactEventHandler<HTMLElement>;
|
|
203
|
+
onStalledCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
204
|
+
onSuspend?: react7.ReactEventHandler<HTMLElement>;
|
|
205
|
+
onSuspendCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
206
|
+
onTimeUpdate?: react7.ReactEventHandler<HTMLElement>;
|
|
207
|
+
onTimeUpdateCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
208
|
+
onVolumeChange?: react7.ReactEventHandler<HTMLElement>;
|
|
209
|
+
onVolumeChangeCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
210
|
+
onWaiting?: react7.ReactEventHandler<HTMLElement>;
|
|
211
|
+
onWaitingCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
212
|
+
onAuxClick?: react7.MouseEventHandler<HTMLElement>;
|
|
213
|
+
onAuxClickCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
214
|
+
onClickCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
215
|
+
onContextMenu?: react7.MouseEventHandler<HTMLElement>;
|
|
216
|
+
onContextMenuCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
217
|
+
onDoubleClick?: react7.MouseEventHandler<HTMLElement>;
|
|
218
|
+
onDoubleClickCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
219
|
+
onDrag?: react7.DragEventHandler<HTMLElement>;
|
|
220
|
+
onDragCapture?: react7.DragEventHandler<HTMLElement>;
|
|
221
|
+
onDragEnd?: react7.DragEventHandler<HTMLElement>;
|
|
222
|
+
onDragEndCapture?: react7.DragEventHandler<HTMLElement>;
|
|
223
|
+
onDragEnter?: react7.DragEventHandler<HTMLElement>;
|
|
224
|
+
onDragEnterCapture?: react7.DragEventHandler<HTMLElement>;
|
|
225
|
+
onDragExit?: react7.DragEventHandler<HTMLElement>;
|
|
226
|
+
onDragExitCapture?: react7.DragEventHandler<HTMLElement>;
|
|
227
|
+
onDragLeave?: react7.DragEventHandler<HTMLElement>;
|
|
228
|
+
onDragLeaveCapture?: react7.DragEventHandler<HTMLElement>;
|
|
229
|
+
onDragOver?: react7.DragEventHandler<HTMLElement>;
|
|
230
|
+
onDragOverCapture?: react7.DragEventHandler<HTMLElement>;
|
|
231
|
+
onDragStart?: react7.DragEventHandler<HTMLElement>;
|
|
232
|
+
onDragStartCapture?: react7.DragEventHandler<HTMLElement>;
|
|
233
|
+
onDrop?: react7.DragEventHandler<HTMLElement>;
|
|
234
|
+
onDropCapture?: react7.DragEventHandler<HTMLElement>;
|
|
235
|
+
onMouseDown?: react7.MouseEventHandler<HTMLElement>;
|
|
236
|
+
onMouseDownCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
237
|
+
onMouseEnter?: react7.MouseEventHandler<HTMLElement>;
|
|
238
|
+
onMouseLeave?: react7.MouseEventHandler<HTMLElement>;
|
|
239
|
+
onMouseMove?: react7.MouseEventHandler<HTMLElement>;
|
|
240
|
+
onMouseMoveCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
241
|
+
onMouseOut?: react7.MouseEventHandler<HTMLElement>;
|
|
242
|
+
onMouseOutCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
243
|
+
onMouseOver?: react7.MouseEventHandler<HTMLElement>;
|
|
244
|
+
onMouseOverCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
245
|
+
onMouseUp?: react7.MouseEventHandler<HTMLElement>;
|
|
246
|
+
onMouseUpCapture?: react7.MouseEventHandler<HTMLElement>;
|
|
247
|
+
onSelect?: react7.ReactEventHandler<HTMLElement>;
|
|
248
|
+
onSelectCapture?: react7.ReactEventHandler<HTMLElement>;
|
|
249
|
+
onTouchCancel?: react7.TouchEventHandler<HTMLElement>;
|
|
250
|
+
onTouchCancelCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
251
|
+
onTouchEnd?: react7.TouchEventHandler<HTMLElement>;
|
|
252
|
+
onTouchEndCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
253
|
+
onTouchMove?: react7.TouchEventHandler<HTMLElement>;
|
|
254
|
+
onTouchMoveCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
255
|
+
onTouchStart?: react7.TouchEventHandler<HTMLElement>;
|
|
256
|
+
onTouchStartCapture?: react7.TouchEventHandler<HTMLElement>;
|
|
257
|
+
onPointerDown?: react7.PointerEventHandler<HTMLElement>;
|
|
258
|
+
onPointerDownCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
259
|
+
onPointerMove?: react7.PointerEventHandler<HTMLElement>;
|
|
260
|
+
onPointerMoveCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
261
|
+
onPointerUp?: react7.PointerEventHandler<HTMLElement>;
|
|
262
|
+
onPointerUpCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
263
|
+
onPointerCancel?: react7.PointerEventHandler<HTMLElement>;
|
|
264
|
+
onPointerCancelCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
265
|
+
onPointerEnter?: react7.PointerEventHandler<HTMLElement>;
|
|
266
|
+
onPointerLeave?: react7.PointerEventHandler<HTMLElement>;
|
|
267
|
+
onPointerOver?: react7.PointerEventHandler<HTMLElement>;
|
|
268
|
+
onPointerOverCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
269
|
+
onPointerOut?: react7.PointerEventHandler<HTMLElement>;
|
|
270
|
+
onPointerOutCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
271
|
+
onGotPointerCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
272
|
+
onGotPointerCaptureCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
273
|
+
onLostPointerCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
274
|
+
onLostPointerCaptureCapture?: react7.PointerEventHandler<HTMLElement>;
|
|
275
|
+
onScroll?: react7.UIEventHandler<HTMLElement>;
|
|
276
|
+
onScrollCapture?: react7.UIEventHandler<HTMLElement>;
|
|
277
|
+
onScrollEnd?: react7.UIEventHandler<HTMLElement>;
|
|
278
|
+
onScrollEndCapture?: react7.UIEventHandler<HTMLElement>;
|
|
279
|
+
onWheel?: react7.WheelEventHandler<HTMLElement>;
|
|
280
|
+
onWheelCapture?: react7.WheelEventHandler<HTMLElement>;
|
|
281
|
+
onAnimationStart?: react7.AnimationEventHandler<HTMLElement>;
|
|
282
|
+
onAnimationStartCapture?: react7.AnimationEventHandler<HTMLElement>;
|
|
283
|
+
onAnimationEnd?: react7.AnimationEventHandler<HTMLElement>;
|
|
284
|
+
onAnimationEndCapture?: react7.AnimationEventHandler<HTMLElement>;
|
|
285
|
+
onAnimationIteration?: react7.AnimationEventHandler<HTMLElement>;
|
|
286
|
+
onAnimationIterationCapture?: react7.AnimationEventHandler<HTMLElement>;
|
|
287
|
+
onToggle?: react7.ToggleEventHandler<HTMLElement>;
|
|
288
|
+
onBeforeToggle?: react7.ToggleEventHandler<HTMLElement>;
|
|
289
|
+
onTransitionCancel?: react7.TransitionEventHandler<HTMLElement>;
|
|
290
|
+
onTransitionCancelCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
291
|
+
onTransitionEnd?: react7.TransitionEventHandler<HTMLElement>;
|
|
292
|
+
onTransitionEndCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
293
|
+
onTransitionRun?: react7.TransitionEventHandler<HTMLElement>;
|
|
294
|
+
onTransitionRunCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
295
|
+
onTransitionStart?: react7.TransitionEventHandler<HTMLElement>;
|
|
296
|
+
onTransitionStartCapture?: react7.TransitionEventHandler<HTMLElement>;
|
|
297
297
|
className: string;
|
|
298
|
-
style:
|
|
298
|
+
style: react7.CSSProperties;
|
|
299
299
|
id: string;
|
|
300
300
|
'data-testid': string;
|
|
301
301
|
}, HTMLElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
2
2
|
import { Config } from "tailwindcss";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DesignTokens/DesignTokensComponent.d.ts
|
|
@@ -9,6 +9,6 @@ type DesignTokensProps = {
|
|
|
9
9
|
declare const DesignTokens: ({
|
|
10
10
|
selectedMerchant,
|
|
11
11
|
config
|
|
12
|
-
}: DesignTokensProps) =>
|
|
12
|
+
}: DesignTokensProps) => react_jsx_runtime27.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DesignTokens, DesignTokensProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
2
|
import { Config } from "tailwindcss";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DesignTokens/DesignTokensComponent.d.ts
|
|
@@ -9,6 +9,6 @@ type DesignTokensProps = {
|
|
|
9
9
|
declare const DesignTokens: ({
|
|
10
10
|
selectedMerchant,
|
|
11
11
|
config
|
|
12
|
-
}: DesignTokensProps) =>
|
|
12
|
+
}: DesignTokensProps) => react_jsx_runtime21.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DesignTokens, DesignTokensProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_Stack = require('../../Stack/Stack.cjs');
|
|
3
|
-
require('../../Stack/index.cjs');
|
|
4
2
|
const require_Container = require('../../Container/Container.cjs');
|
|
5
3
|
require('../../Container/index.cjs');
|
|
4
|
+
const require_Stack = require('../../Stack/Stack.cjs');
|
|
5
|
+
require('../../Stack/index.cjs');
|
|
6
6
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
7
7
|
let classnames = require("classnames");
|
|
8
8
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Stack } from "../../Stack/Stack.js";
|
|
2
|
-
import "../../Stack/index.js";
|
|
3
1
|
import { Container } from "../../Container/Container.js";
|
|
4
2
|
import "../../Container/index.js";
|
|
3
|
+
import { Stack } from "../../Stack/Stack.js";
|
|
4
|
+
import "../../Stack/index.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import classNames from "classnames";
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentRetrievalCardProps } from "./types/index.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime28 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DocumentRetrievalCard/DocumentRetrievalCard.d.ts
|
|
5
5
|
declare const DocumentRetrievalCard: ({
|
|
@@ -16,6 +16,6 @@ declare const DocumentRetrievalCard: ({
|
|
|
16
16
|
onViewArticle,
|
|
17
17
|
ariaLabel,
|
|
18
18
|
viewArticleLabel
|
|
19
|
-
}: DocumentRetrievalCardProps) =>
|
|
19
|
+
}: DocumentRetrievalCardProps) => react_jsx_runtime28.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DocumentRetrievalCard };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DocumentRetrievalCardProps } from "./types/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/DocumentRetrievalCard/DocumentRetrievalCard.d.ts
|
|
5
5
|
declare const DocumentRetrievalCard: ({
|
|
@@ -16,6 +16,6 @@ declare const DocumentRetrievalCard: ({
|
|
|
16
16
|
onViewArticle,
|
|
17
17
|
ariaLabel,
|
|
18
18
|
viewArticleLabel
|
|
19
|
-
}: DocumentRetrievalCardProps) =>
|
|
19
|
+
}: DocumentRetrievalCardProps) => react_jsx_runtime16.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { DocumentRetrievalCard };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
|
|
2
|
-
const require_Stack = require('../../Stack/Stack.cjs');
|
|
3
|
-
require('../../Stack/index.cjs');
|
|
4
2
|
const require_Container = require('../../Container/Container.cjs');
|
|
5
3
|
require('../../Container/index.cjs');
|
|
4
|
+
const require_Stack = require('../../Stack/Stack.cjs');
|
|
5
|
+
require('../../Stack/index.cjs');
|
|
6
6
|
const require_useGetThemeProperties = require('../hooks/useGetThemeProperties.cjs');
|
|
7
7
|
const require_useGetStackLayoutProperties = require('../hooks/useGetStackLayoutProperties.cjs');
|
|
8
8
|
const require_useGetCardWidthProperties = require('../hooks/useGetCardWidthProperties.cjs');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Stack } from "../../Stack/Stack.js";
|
|
2
|
-
import "../../Stack/index.js";
|
|
3
1
|
import { Container } from "../../Container/Container.js";
|
|
4
2
|
import "../../Container/index.js";
|
|
3
|
+
import { Stack } from "../../Stack/Stack.js";
|
|
4
|
+
import "../../Stack/index.js";
|
|
5
5
|
import { useGetThemeProperties } from "../hooks/useGetThemeProperties.js";
|
|
6
6
|
import { useGetStackLayoutProperties } from "../hooks/useGetStackLayoutProperties.js";
|
|
7
7
|
import { useGetCardWidthProperties } from "../hooks/useGetCardWidthProperties.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('../../../../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
const require_CustomIcon = require('../../../../utils/CustomIcon.cjs');
|
|
2
3
|
const require_Stack = require('../../../../Stack/Stack.cjs');
|
|
3
4
|
require('../../../../Stack/index.cjs');
|
|
4
|
-
const require_CustomIcon = require('../../../../utils/CustomIcon.cjs');
|
|
5
5
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
6
|
let classnames = require("classnames");
|
|
7
7
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { CustomIcon } from "../../../../utils/CustomIcon.js";
|
|
1
2
|
import { Stack } from "../../../../Stack/Stack.js";
|
|
2
3
|
import "../../../../Stack/index.js";
|
|
3
|
-
import { CustomIcon } from "../../../../utils/CustomIcon.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import classNames from "classnames";
|
|
6
6
|
import Document from "@envive-ai/react-icons/Document";
|
|
@@ -4,7 +4,7 @@ const require_index = require('./components/index.cjs');
|
|
|
4
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
5
5
|
|
|
6
6
|
//#region src/components/FloatingButton/FloatingButton.tsx
|
|
7
|
-
const FloatingButton = ({ id, testId, className, style, customIcon, variant = require_types.FloatingButtonVariant.ATTACHED, mode, show, location, backgroundColor, hasInteractionHappened, onClick, onMouseOver, ariaLabel, previewMode = false }) => {
|
|
7
|
+
const FloatingButton = ({ id, testId, className, style, customIcon, variant = require_types.FloatingButtonVariant.ATTACHED, mode, show, location, backgroundColor, hasInteractionHappened, onClick, onMouseOver, ariaLabel, previewMode = false, containerRef }) => {
|
|
8
8
|
const button = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.FloatingButtonComponents.Button, {
|
|
9
9
|
variant,
|
|
10
10
|
mode,
|
|
@@ -19,6 +19,7 @@ const FloatingButton = ({ id, testId, className, style, customIcon, variant = re
|
|
|
19
19
|
})
|
|
20
20
|
});
|
|
21
21
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.FloatingButtonComponents.Container, {
|
|
22
|
+
containerRef,
|
|
22
23
|
id,
|
|
23
24
|
testId,
|
|
24
25
|
location,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingButtonProps } from "./types/types.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingButton/FloatingButton.d.ts
|
|
5
5
|
declare const FloatingButton: ({
|
|
@@ -17,7 +17,8 @@ declare const FloatingButton: ({
|
|
|
17
17
|
onClick,
|
|
18
18
|
onMouseOver,
|
|
19
19
|
ariaLabel,
|
|
20
|
-
previewMode
|
|
21
|
-
|
|
20
|
+
previewMode,
|
|
21
|
+
containerRef
|
|
22
|
+
}: FloatingButtonProps) => react_jsx_runtime30.JSX.Element;
|
|
22
23
|
//#endregion
|
|
23
24
|
export { FloatingButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FloatingButtonProps } from "./types/types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime20 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/FloatingButton/FloatingButton.d.ts
|
|
5
5
|
declare const FloatingButton: ({
|
|
@@ -17,7 +17,8 @@ declare const FloatingButton: ({
|
|
|
17
17
|
onClick,
|
|
18
18
|
onMouseOver,
|
|
19
19
|
ariaLabel,
|
|
20
|
-
previewMode
|
|
21
|
-
|
|
20
|
+
previewMode,
|
|
21
|
+
containerRef
|
|
22
|
+
}: FloatingButtonProps) => react_jsx_runtime20.JSX.Element;
|
|
22
23
|
//#endregion
|
|
23
24
|
export { FloatingButton };
|
|
@@ -3,7 +3,7 @@ import { FloatingButtonComponents } from "./components/index.js";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/FloatingButton/FloatingButton.tsx
|
|
6
|
-
const FloatingButton = ({ id, testId, className, style, customIcon, variant = FloatingButtonVariant.ATTACHED, mode, show, location, backgroundColor, hasInteractionHappened, onClick, onMouseOver, ariaLabel, previewMode = false }) => {
|
|
6
|
+
const FloatingButton = ({ id, testId, className, style, customIcon, variant = FloatingButtonVariant.ATTACHED, mode, show, location, backgroundColor, hasInteractionHappened, onClick, onMouseOver, ariaLabel, previewMode = false, containerRef }) => {
|
|
7
7
|
const button = /* @__PURE__ */ jsx(FloatingButtonComponents.Button, {
|
|
8
8
|
variant,
|
|
9
9
|
mode,
|
|
@@ -18,6 +18,7 @@ const FloatingButton = ({ id, testId, className, style, customIcon, variant = Fl
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
return /* @__PURE__ */ jsx(FloatingButtonComponents.Container, {
|
|
21
|
+
containerRef,
|
|
21
22
|
id,
|
|
22
23
|
testId,
|
|
23
24
|
location,
|
|
@@ -6,11 +6,12 @@ let classnames = require("classnames");
|
|
|
6
6
|
classnames = require_rolldown_runtime.__toESM(classnames);
|
|
7
7
|
|
|
8
8
|
//#region src/components/FloatingButton/components/Container.tsx
|
|
9
|
-
const Container = ({ location = require_types.FloatingButtonLocation.BOTTOM_RIGHT, show = require_types.FloatingButtonShow.ALWAYS, variant = require_types.FloatingButtonVariant.ATTACHED, hasInteractionHappened = false, children, id, testId, className = "", style, previewMode = false }) => {
|
|
9
|
+
const Container = ({ location = require_types.FloatingButtonLocation.BOTTOM_RIGHT, show = require_types.FloatingButtonShow.ALWAYS, variant = require_types.FloatingButtonVariant.ATTACHED, hasInteractionHappened = false, children, id, testId, className = "", style, previewMode = false, containerRef }) => {
|
|
10
10
|
const { positionClasses, locationClasses, zIndexClass, shouldRender } = require_useGetContainerProperties.useGetContainerProperties(location, show, variant, hasInteractionHappened, previewMode);
|
|
11
11
|
if (!shouldRender) return null;
|
|
12
12
|
const allClasses = (0, classnames.default)("envive-tw-group/floatingbutton", positionClasses, locationClasses, zIndexClass, "envive-tw-transition-all", "envive-tw-duration-300", "envive-tw-ease-in-out", className);
|
|
13
13
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
14
|
+
ref: containerRef,
|
|
14
15
|
id,
|
|
15
16
|
"data-testid": testId,
|
|
16
17
|
className: allClasses,
|
|
@@ -4,11 +4,12 @@ import { jsx } from "react/jsx-runtime";
|
|
|
4
4
|
import classNames from "classnames";
|
|
5
5
|
|
|
6
6
|
//#region src/components/FloatingButton/components/Container.tsx
|
|
7
|
-
const Container = ({ location = FloatingButtonLocation.BOTTOM_RIGHT, show = FloatingButtonShow.ALWAYS, variant = FloatingButtonVariant.ATTACHED, hasInteractionHappened = false, children, id, testId, className = "", style, previewMode = false }) => {
|
|
7
|
+
const Container = ({ location = FloatingButtonLocation.BOTTOM_RIGHT, show = FloatingButtonShow.ALWAYS, variant = FloatingButtonVariant.ATTACHED, hasInteractionHappened = false, children, id, testId, className = "", style, previewMode = false, containerRef }) => {
|
|
8
8
|
const { positionClasses, locationClasses, zIndexClass, shouldRender } = useGetContainerProperties(location, show, variant, hasInteractionHappened, previewMode);
|
|
9
9
|
if (!shouldRender) return null;
|
|
10
10
|
const allClasses = classNames("envive-tw-group/floatingbutton", positionClasses, locationClasses, zIndexClass, "envive-tw-transition-all", "envive-tw-duration-300", "envive-tw-ease-in-out", className);
|
|
11
11
|
return /* @__PURE__ */ jsx("div", {
|
|
12
|
+
ref: containerRef,
|
|
12
13
|
id,
|
|
13
14
|
"data-testid": testId,
|
|
14
15
|
className: allClasses,
|