@spteck/react-controls-v2 2.4.3 → 2.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.
Files changed (222) hide show
  1. package/dist/{LocalizationProvider-CvSHuk0e.js → LocalizationProvider-CBc0PcyH.js} +140 -48
  2. package/dist/LocalizationProvider-CJ2mjvH-.cjs +2 -0
  3. package/dist/{ar-BPzd6WER.js → ar-D78_ioot.js} +93 -1
  4. package/dist/{ar-CBSdRr5Q.cjs → ar-DbkaJtO2.cjs} +2 -2
  5. package/dist/{az-DoZjCfF0.cjs → az-Cf7y5UC1.cjs} +2 -2
  6. package/dist/{az-MWX-WDgc.js → az-OomGCL5f.js} +93 -1
  7. package/dist/{bg-CvRGS4sF.js → bg-OQDPULfM.js} +93 -1
  8. package/dist/{bg-DI8UD_HF.cjs → bg-nghgX11u.cjs} +2 -2
  9. package/dist/{bs-aXQgChJT.js → bs-BYdzDqQ_.js} +93 -1
  10. package/dist/{bs-DQhZlEEo.cjs → bs-CMdfvb33.cjs} +2 -2
  11. package/dist/{ca-BCXCXzgh.js → ca-9lGrM-T0.js} +93 -1
  12. package/dist/{ca-DSC32tOX.cjs → ca-C8cBXf9y.cjs} +2 -2
  13. package/dist/components/BackgroundImage/BackgroundImage.d.ts +4 -0
  14. package/dist/components/BackgroundImage/IBackgroundImageProps.d.ts +14 -0
  15. package/dist/components/BackgroundImage/index.d.ts +3 -0
  16. package/dist/components/BackgroundImage/useBackgroundImageStyles.d.ts +4 -0
  17. package/dist/components/Blockquote/Blockquote.d.ts +4 -0
  18. package/dist/components/Blockquote/IBlockquoteProps.d.ts +21 -0
  19. package/dist/components/Blockquote/index.d.ts +4 -0
  20. package/dist/components/Blockquote/useBlockquoteStyles.d.ts +6 -0
  21. package/dist/components/ColorPicker/ColorPicker.d.ts +51 -0
  22. package/dist/components/ColorPicker/ColorPickerAlpha.d.ts +4 -0
  23. package/dist/components/ColorPicker/ColorPickerBlock.d.ts +4 -0
  24. package/dist/components/ColorPicker/ColorPickerChrome.d.ts +4 -0
  25. package/dist/components/ColorPicker/ColorPickerCircle.d.ts +4 -0
  26. package/dist/components/ColorPicker/ColorPickerColorful.d.ts +4 -0
  27. package/dist/components/ColorPicker/ColorPickerCompact.d.ts +4 -0
  28. package/dist/components/ColorPicker/ColorPickerEditableInput.d.ts +4 -0
  29. package/dist/components/ColorPicker/ColorPickerEditableInputHSLA.d.ts +4 -0
  30. package/dist/components/ColorPicker/ColorPickerEditableInputRGBA.d.ts +4 -0
  31. package/dist/components/ColorPicker/ColorPickerHue.d.ts +4 -0
  32. package/dist/components/ColorPicker/ColorPickerInteractive.d.ts +6 -0
  33. package/dist/components/ColorPicker/ColorPickerSaturation.d.ts +4 -0
  34. package/dist/components/ColorPicker/ColorPickerShadeSlider.d.ts +4 -0
  35. package/dist/components/ColorPicker/ColorPickerSketch.d.ts +4 -0
  36. package/dist/components/ColorPicker/ColorPickerSlider.d.ts +4 -0
  37. package/dist/components/ColorPicker/ColorPickerSwatch.d.ts +4 -0
  38. package/dist/components/ColorPicker/ColorPickerTheme.d.ts +4 -0
  39. package/dist/components/ColorPicker/ColorPickerWheel.d.ts +4 -0
  40. package/dist/components/ColorPicker/IColorPickerProps.d.ts +297 -0
  41. package/dist/components/ColorPicker/colorConvert.d.ts +72 -0
  42. package/dist/components/ColorPicker/index.d.ts +25 -0
  43. package/dist/components/ColorPicker/useColorPickerStyles.d.ts +30 -0
  44. package/dist/components/CompactCalendar/CalendarGrid.d.ts +4 -0
  45. package/dist/components/CompactCalendar/CalendarHeader.d.ts +4 -0
  46. package/dist/components/CompactCalendar/CompactCalendar.d.ts +4 -0
  47. package/dist/components/CompactCalendar/EventsList.d.ts +4 -0
  48. package/dist/components/CompactCalendar/ICalendarGridProps.d.ts +32 -0
  49. package/dist/components/CompactCalendar/ICalendarHeaderProps.d.ts +15 -0
  50. package/dist/components/CompactCalendar/ICompactCalendarProps.d.ts +54 -0
  51. package/dist/components/CompactCalendar/IEventsListProps.d.ts +21 -0
  52. package/dist/components/CompactCalendar/index.d.ts +12 -0
  53. package/dist/components/CompactCalendar/resolveLocale.d.ts +12 -0
  54. package/dist/components/CompactCalendar/useCompactCalendarEvents.d.ts +12 -0
  55. package/dist/components/CompactCalendar/useCompactCalendarStyles.d.ts +26 -0
  56. package/dist/components/Dropzone/Dropzone.d.ts +31 -0
  57. package/dist/components/Dropzone/DropzoneContext.d.ts +20 -0
  58. package/dist/components/Dropzone/DropzoneFullScreen.d.ts +19 -0
  59. package/dist/components/Dropzone/DropzoneStatus.d.ts +9 -0
  60. package/dist/components/Dropzone/IDropzoneProps.d.ts +102 -0
  61. package/dist/components/Dropzone/index.d.ts +8 -0
  62. package/dist/components/Dropzone/mime-types.d.ts +39 -0
  63. package/dist/components/Dropzone/useDropzoneStyles.d.ts +12 -0
  64. package/dist/components/InlineSVG/IInlineSVGProps.d.ts +40 -0
  65. package/dist/components/InlineSVG/InlineSVG.d.ts +4 -0
  66. package/dist/components/InlineSVG/index.d.ts +5 -0
  67. package/dist/components/InlineSVG/useInlineSVG.d.ts +30 -0
  68. package/dist/components/InlineSVG/useInlineSVGStyles.d.ts +4 -0
  69. package/dist/components/Marquee/IMarqueeProps.d.ts +28 -0
  70. package/dist/components/Marquee/Marquee.d.ts +4 -0
  71. package/dist/components/Marquee/index.d.ts +4 -0
  72. package/dist/components/Marquee/useMarqueeStyles.d.ts +6 -0
  73. package/dist/components/OTPField/IOTPFieldProps.d.ts +49 -0
  74. package/dist/components/OTPField/OTPField.d.ts +8 -0
  75. package/dist/components/OTPField/index.d.ts +3 -0
  76. package/dist/components/OTPField/useOTPField.d.ts +25 -0
  77. package/dist/components/OTPField/useOTPFieldStyles.d.ts +23 -0
  78. package/dist/components/RichTextEditor/IRichTextEditorProps.d.ts +230 -0
  79. package/dist/components/RichTextEditor/Icons.d.ts +43 -0
  80. package/dist/components/RichTextEditor/RichTextEditor.d.ts +163 -0
  81. package/dist/components/RichTextEditor/RichTextEditorColorControl.d.ts +4 -0
  82. package/dist/components/RichTextEditor/RichTextEditorColorPickerControl.d.ts +4 -0
  83. package/dist/components/RichTextEditor/RichTextEditorContent.d.ts +4 -0
  84. package/dist/components/RichTextEditor/RichTextEditorContext.d.ts +20 -0
  85. package/dist/components/RichTextEditor/RichTextEditorControl.d.ts +22 -0
  86. package/dist/components/RichTextEditor/RichTextEditorControlsGroup.d.ts +4 -0
  87. package/dist/components/RichTextEditor/RichTextEditorFontFamilyControl.d.ts +4 -0
  88. package/dist/components/RichTextEditor/RichTextEditorLinkControl.d.ts +4 -0
  89. package/dist/components/RichTextEditor/RichTextEditorSourceCodeControl.d.ts +6 -0
  90. package/dist/components/RichTextEditor/RichTextEditorToolbar.d.ts +4 -0
  91. package/dist/components/RichTextEditor/controls.d.ts +125 -0
  92. package/dist/components/RichTextEditor/extensions.d.ts +12 -0
  93. package/dist/components/RichTextEditor/index.d.ts +15 -0
  94. package/dist/components/RichTextEditor/useRichTextEditorStyles.d.ts +28 -0
  95. package/dist/components/Skeleton/ISkeletonLoaderProps.d.ts +102 -0
  96. package/dist/components/Skeleton/SkeletonLoader.d.ts +4 -0
  97. package/dist/components/Skeleton/index.d.ts +5 -0
  98. package/dist/components/Skeleton/useSkeletonExtract.d.ts +4 -0
  99. package/dist/components/Skeleton/useSkeletonLoaderStyles.d.ts +11 -0
  100. package/dist/components/Skeleton/useSkeletonShared.d.ts +25 -0
  101. package/dist/components/Spoiler/ISpoilerProps.d.ts +30 -0
  102. package/dist/components/Spoiler/Spoiler.d.ts +4 -0
  103. package/dist/components/Spoiler/index.d.ts +3 -0
  104. package/dist/components/Spoiler/useSpoilerStyles.d.ts +13 -0
  105. package/dist/components/Spotlight/ISpotlightProps.d.ts +181 -0
  106. package/dist/components/Spotlight/Spotlight.d.ts +27 -0
  107. package/dist/components/Spotlight/SpotlightAction.d.ts +5 -0
  108. package/dist/components/Spotlight/SpotlightActionsGroup.d.ts +5 -0
  109. package/dist/components/Spotlight/SpotlightActionsList.d.ts +5 -0
  110. package/dist/components/Spotlight/SpotlightEmpty.d.ts +5 -0
  111. package/dist/components/Spotlight/SpotlightFooter.d.ts +5 -0
  112. package/dist/components/Spotlight/SpotlightRoot.d.ts +5 -0
  113. package/dist/components/Spotlight/SpotlightSearch.d.ts +5 -0
  114. package/dist/components/Spotlight/defaultSpotlightFilter.d.ts +9 -0
  115. package/dist/components/Spotlight/index.d.ts +12 -0
  116. package/dist/components/Spotlight/useSpotlight.d.ts +59 -0
  117. package/dist/components/Spotlight/useSpotlightStyles.d.ts +17 -0
  118. package/dist/components/Stepper/IStepperProps.d.ts +54 -0
  119. package/dist/components/Stepper/Stepper.d.ts +9 -0
  120. package/dist/components/Stepper/StepperCompleted.d.ts +9 -0
  121. package/dist/components/Stepper/StepperStep.d.ts +20 -0
  122. package/dist/components/Stepper/index.d.ts +3 -0
  123. package/dist/components/Stepper/useStepperStepStyles.d.ts +21 -0
  124. package/dist/components/Stepper/useStepperStyles.d.ts +11 -0
  125. package/dist/components/Timeline/ITimelineProps.d.ts +42 -0
  126. package/dist/components/Timeline/Timeline.d.ts +6 -0
  127. package/dist/components/Timeline/TimelineItem.d.ts +15 -0
  128. package/dist/components/Timeline/index.d.ts +3 -0
  129. package/dist/components/Timeline/useTimelineItemStyles.d.ts +19 -0
  130. package/dist/components/Timeline/useTimelineStyles.d.ts +9 -0
  131. package/dist/components/calendarControl/models/IAttendee.d.ts +5 -0
  132. package/dist/components/calendarControl/models/IEvents.d.ts +21 -0
  133. package/dist/{cs-B0C33FJt.cjs → cs-B_90ZpDL.cjs} +2 -2
  134. package/dist/{cs-VHWnqXwJ.js → cs-nVY__F1s.js} +93 -1
  135. package/dist/{cy-qF-aNCW-.js → cy-DcW2RMnM.js} +93 -1
  136. package/dist/{cy-BNabORao.cjs → cy-YdAkRgN7.cjs} +2 -2
  137. package/dist/{da-BmgXTEXm.cjs → da-3S6dCKx6.cjs} +2 -2
  138. package/dist/{da-rR5TnSBw.js → da-DlZaxKzd.js} +93 -1
  139. package/dist/{de-DbeDjRNp.js → de-DMQCCsxB.js} +93 -1
  140. package/dist/{de-B4w38-0d.cjs → de-cBD6cQjC.cjs} +2 -2
  141. package/dist/{el-Cgk6VsxL.cjs → el-C861pBjb.cjs} +2 -2
  142. package/dist/{el-DDeD6FiX.js → el-DWGl8fc0.js} +93 -1
  143. package/dist/{es-dvKffn6Q.js → es--B6susjn.js} +93 -1
  144. package/dist/{es-3ugMIZuA.cjs → es-7wJEQTAK.cjs} +2 -2
  145. package/dist/{et-CIIzxbat.cjs → et-BDQwGJeu.cjs} +2 -2
  146. package/dist/{et-DgZFBtK7.js → et-CNiq2LnL.js} +93 -1
  147. package/dist/{eu-C6r1_PRy.js → eu-B4UCvLGV.js} +93 -1
  148. package/dist/{eu-BUNUOJ7E.cjs → eu-Bis1mMYp.cjs} +2 -2
  149. package/dist/{fi-q6BFPHtt.cjs → fi-Bish9bFy.cjs} +2 -2
  150. package/dist/{fi-CzOKgmjK.js → fi-C1YgTvJp.js} +93 -1
  151. package/dist/{fr-D0cDkdbn.js → fr-Dn0f3XKj.js} +93 -1
  152. package/dist/{fr-BEnCZ733.cjs → fr-mNj_7F7p.cjs} +2 -2
  153. package/dist/{ga-BXyKTnJr.cjs → ga-DHGpUClX.cjs} +2 -2
  154. package/dist/{ga-0A7ndSzw.js → ga-lrKtfvqw.js} +93 -1
  155. package/dist/{gl-DR1C-hSi.cjs → gl-BaGwE_dH.cjs} +2 -2
  156. package/dist/{gl-BNwj4XAu.js → gl-Bcp6x2zx.js} +93 -1
  157. package/dist/{he-BPiZ6D5h.js → he-6cRlkGst.js} +93 -1
  158. package/dist/{he-OD1Ex2Fw.cjs → he-CyBuj0mX.cjs} +2 -2
  159. package/dist/{hi-Dt9FvBmh.cjs → hi-C9Y--qfd.cjs} +2 -2
  160. package/dist/{hi-CSgtp9Yg.js → hi-sWnw2IKq.js} +93 -1
  161. package/dist/hooks/useLocalizationStrings.d.ts +10 -0
  162. package/dist/{hr-CDSSj52Q.js → hr-DVYuTFrR.js} +93 -1
  163. package/dist/{hr-DMzwNhar.cjs → hr-_DB2jbdD.cjs} +2 -2
  164. package/dist/{hu-Bc-rChfV.cjs → hu-B6P_13vr.cjs} +2 -2
  165. package/dist/{hu-TDJYiDOB.js → hu-Ds35ELag.js} +93 -1
  166. package/dist/{id-CwndN9HH.cjs → id-CD6_OeAS.cjs} +2 -2
  167. package/dist/{id-B3IF5pnh.js → id-D3-zrJWX.js} +93 -1
  168. package/dist/index.cjs +48 -33
  169. package/dist/index.d.ts +14 -0
  170. package/dist/index.js +10631 -4137
  171. package/dist/{it-BLET318M.js → it-7v9Dp1d5.js} +93 -1
  172. package/dist/{it-DaYS5Vil.cjs → it-BqWJuJRG.cjs} +2 -2
  173. package/dist/{ja-NxwXLaKV.js → ja-HEhZtJlu.js} +93 -1
  174. package/dist/{ja-BYA2LXHy.cjs → ja-_IB67CHC.cjs} +2 -2
  175. package/dist/{kk-Ctrvuqlz.cjs → kk-1zP-M5hA.cjs} +2 -2
  176. package/dist/{kk-CceJcjtl.js → kk-vjMXRcfC.js} +93 -1
  177. package/dist/{ko-evIcpTG8.cjs → ko-Bh_npcwe.cjs} +2 -2
  178. package/dist/{ko-cS_OE967.js → ko-k4Pa7puV.js} +93 -1
  179. package/dist/localization/ILibraryStrings.d.ts +132 -0
  180. package/dist/localization/index.d.ts +2 -2
  181. package/dist/{lt-CYTLGgh6.cjs → lt-Bcs_RvUC.cjs} +2 -2
  182. package/dist/{lt-CZ-kk_5b.js → lt-DiJ0TBtG.js} +93 -1
  183. package/dist/{lv-COjitD3w.cjs → lv-DXbttzfD.cjs} +2 -2
  184. package/dist/{lv-BTvPpEjc.js → lv-Dsam0ieq.js} +93 -1
  185. package/dist/{mk-CSSyI3El.js → mk-6gVlhUMj.js} +93 -1
  186. package/dist/{mk-B-LF5gVL.cjs → mk-CwexdV8N.cjs} +2 -2
  187. package/dist/{ms-CzEvkib0.cjs → ms-DbohV4fa.cjs} +2 -2
  188. package/dist/{ms-Dz5JnKJ1.js → ms-LR8UEBWu.js} +93 -1
  189. package/dist/{nb-DkgTg1et.js → nb-BCuhLUFv.js} +93 -1
  190. package/dist/{nb-B1KWSX94.cjs → nb-XSnogBcy.cjs} +2 -2
  191. package/dist/{nl-knWqo2aX.cjs → nl-C3fB4nMe.cjs} +2 -2
  192. package/dist/{nl-CQ5eoxw2.js → nl-Cjbk_uDE.js} +93 -1
  193. package/dist/{pl-BQJfOizT.js → pl-3SZu8o4v.js} +93 -1
  194. package/dist/{pl-Ce6dq53t.cjs → pl-BJHabrpe.cjs} +2 -2
  195. package/dist/providers.cjs +1 -1
  196. package/dist/providers.js +1 -1
  197. package/dist/{pt-b0p7DoD0.js → pt-BRvCnjwa.js} +93 -1
  198. package/dist/{pt-BVqTnGkF.cjs → pt-BqRRasV7.cjs} +2 -2
  199. package/dist/{ro-sbBtUVJV.js → ro-B051tdWj.js} +93 -1
  200. package/dist/{ro-DqJMfhmX.cjs → ro-BCq9yIk8.cjs} +2 -2
  201. package/dist/{ru-Dm2NAQyK.cjs → ru-B-TiRA2D.cjs} +2 -2
  202. package/dist/{ru-ofzbka6D.js → ru-wGNmtZwA.js} +93 -1
  203. package/dist/{sk-BtpdNCPC.js → sk-BEUsTaCT.js} +93 -1
  204. package/dist/{sk-BNe6CHG-.cjs → sk-Btf7EoeH.cjs} +2 -2
  205. package/dist/{sl-BKmEUGyu.cjs → sl-Cs0S-Rru.cjs} +2 -2
  206. package/dist/{sl-B4GsKLu6.js → sl-Dt-Wix4R.js} +93 -1
  207. package/dist/{sr-C76YVpkQ.js → sr-Cj6FjoPV.js} +93 -1
  208. package/dist/{sr-Dwya5lwF.cjs → sr-Jxn52mZC.cjs} +2 -2
  209. package/dist/{sv-PesX57cX.js → sv-C5PBTvZZ.js} +93 -1
  210. package/dist/{sv-BGL2G9Vm.cjs → sv-DqwVwzYH.cjs} +2 -2
  211. package/dist/{th-DEv6shFI.cjs → th-CnqYsyp5.cjs} +2 -2
  212. package/dist/{th-CbCNOBnR.js → th-DEMLnNto.js} +93 -1
  213. package/dist/{tr-B0TPxXKS.js → tr-7wlGJ97W.js} +93 -1
  214. package/dist/{tr-BB-QonGE.cjs → tr-BiSE3U_v.cjs} +2 -2
  215. package/dist/{uk-_9cNoBNe.js → uk-B2JY5Ka3.js} +93 -1
  216. package/dist/{uk-B-3fLKpR.cjs → uk-YsR97h-O.cjs} +2 -2
  217. package/dist/{vi-Dx6pJ0ir.cjs → vi-BqlBS0CX.cjs} +2 -2
  218. package/dist/{vi-B8SfqLW6.js → vi-By1JUTa6.js} +93 -1
  219. package/dist/{zh-DD0ml2HG.cjs → zh-C3amwoRq.cjs} +2 -2
  220. package/dist/{zh-DqHnbp6B.js → zh-SZ0W4ZGV.js} +93 -1
  221. package/package.json +20 -1
  222. package/dist/LocalizationProvider-BbfcY9z3.cjs +0 -2
@@ -0,0 +1,31 @@
1
+ import { IDropzoneProps } from './IDropzoneProps';
2
+ import * as React from 'react';
3
+ /**
4
+ * Dropzone component for drag-and-drop file uploads.
5
+ *
6
+ * Built on top of `react-dropzone` and styled with Fluent UI 9 tokens.
7
+ * Supports file type filtering, max size/count validation, loading/disabled states,
8
+ * and conditional rendering via `Dropzone.Accept`, `Dropzone.Reject`, and `Dropzone.Idle`.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <Dropzone onDrop={(files) => console.log(files)} accept={IMAGE_MIME_TYPE}>
13
+ * <Dropzone.Accept>
14
+ * <Text>Drop images here</Text>
15
+ * </Dropzone.Accept>
16
+ * <Dropzone.Reject>
17
+ * <Text>File type not accepted</Text>
18
+ * </Dropzone.Reject>
19
+ * <Dropzone.Idle>
20
+ * <Text>Drag images here or click to select</Text>
21
+ * </Dropzone.Idle>
22
+ * </Dropzone>
23
+ * ```
24
+ */
25
+ export declare const Dropzone: React.ForwardRefExoticComponent<IDropzoneProps & React.RefAttributes<HTMLDivElement>> & {
26
+ Accept: React.FC<import('./IDropzoneProps').IDropzoneStatusProps>;
27
+ Reject: React.FC<import('./IDropzoneProps').IDropzoneStatusProps>;
28
+ Idle: React.FC<import('./IDropzoneProps').IDropzoneStatusProps>;
29
+ displayName: string;
30
+ };
31
+ //# sourceMappingURL=Dropzone.d.ts.map
@@ -0,0 +1,20 @@
1
+ export interface IDropzoneContextValue {
2
+ /** Whether the drag contains accepted file types */
3
+ accept: boolean;
4
+ /** Whether the drag contains rejected file types */
5
+ reject: boolean;
6
+ /** Whether the dropzone is in its idle state (no active drag) */
7
+ idle: boolean;
8
+ }
9
+ /**
10
+ * Provider for Dropzone drag state.
11
+ * Used internally by the Dropzone component to share state with
12
+ * DropzoneAccept, DropzoneReject, and DropzoneIdle sub-components.
13
+ */
14
+ export declare const DropzoneProvider: import('react').Provider<IDropzoneContextValue | null>;
15
+ /**
16
+ * Hook to access the current Dropzone drag state.
17
+ * Must be used within a Dropzone component.
18
+ */
19
+ export declare const useDropzoneContext: () => IDropzoneContextValue;
20
+ //# sourceMappingURL=DropzoneContext.d.ts.map
@@ -0,0 +1,19 @@
1
+ import { IDropzoneFullScreenProps } from './IDropzoneProps';
2
+ import * as React from 'react';
3
+ /**
4
+ * DropzoneFullScreen component.
5
+ *
6
+ * Listens for document-level drag events and shows a full-screen overlay
7
+ * when files are dragged into the browser window. Uses a counter to correctly
8
+ * handle nested element dragenter/dragleave events.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <DropzoneFullScreen
13
+ * onDrop={(files) => console.log(files)}
14
+ * accept={IMAGE_MIME_TYPE}
15
+ * />
16
+ * ```
17
+ */
18
+ export declare const DropzoneFullScreen: React.ForwardRefExoticComponent<IDropzoneFullScreenProps & React.RefAttributes<HTMLDivElement>>;
19
+ //# sourceMappingURL=DropzoneFullScreen.d.ts.map
@@ -0,0 +1,9 @@
1
+ import { IDropzoneStatusProps } from './IDropzoneProps';
2
+ import * as React from 'react';
3
+ /** Renders children only when files being dragged are accepted */
4
+ export declare const DropzoneAccept: React.FC<IDropzoneStatusProps>;
5
+ /** Renders children only when files being dragged are rejected */
6
+ export declare const DropzoneReject: React.FC<IDropzoneStatusProps>;
7
+ /** Renders children only when no files are being dragged (idle state) */
8
+ export declare const DropzoneIdle: React.FC<IDropzoneStatusProps>;
9
+ //# sourceMappingURL=DropzoneStatus.d.ts.map
@@ -0,0 +1,102 @@
1
+ import { Accept, DropEvent, FileError, FileRejection, FileWithPath } from 'react-dropzone';
2
+ import { SpinnerProps } from '@fluentui/react-components';
3
+ import { IBaseProps } from '../baseComponentProps/IBaseProps';
4
+ /**
5
+ * Visual appearance of the Dropzone
6
+ */
7
+ export type DropzoneAppearance = 'outline' | 'filled';
8
+ /**
9
+ * Props for the Dropzone component
10
+ */
11
+ export interface IDropzoneProps extends IBaseProps {
12
+ /** Called when valid files are dropped or selected */
13
+ onDrop: (files: FileWithPath[]) => void;
14
+ /** Called when any files are dropped (both accepted and rejected) */
15
+ onDropAny?: (files: FileWithPath[], fileRejections: FileRejection[]) => void;
16
+ /** Called when dropped files do not meet file restrictions */
17
+ onReject?: (fileRejections: FileRejection[]) => void;
18
+ /**
19
+ * Mime types of the files that the dropzone accepts.
20
+ * By default, the dropzone accepts all file types.
21
+ *
22
+ * @example
23
+ * // Using Accept object
24
+ * accept={{ 'image/*': ['.png', '.jpg'] }}
25
+ *
26
+ * @example
27
+ * // Using string array
28
+ * accept={['image/png', 'image/jpeg']}
29
+ */
30
+ accept?: Accept | string[];
31
+ /** Whether multiple files can be dropped or selected @default true */
32
+ multiple?: boolean;
33
+ /** Maximum file size in bytes @default Infinity */
34
+ maxSize?: number;
35
+ /** Maximum number of files that can be picked at once */
36
+ maxFiles?: number;
37
+ /** Name of the form control, submitted with the form as a name/value pair */
38
+ name?: string;
39
+ /** Whether the dropzone is disabled @default false */
40
+ disabled?: boolean;
41
+ /** Whether a loading overlay should be displayed @default false */
42
+ loading?: boolean;
43
+ /** A ref function which when called opens the file system file picker */
44
+ openRef?: React.RefObject<(() => void) | undefined>;
45
+ /** Whether clicking on the dropzone opens the file selection dialog @default true */
46
+ activateOnClick?: boolean;
47
+ /** Whether drag-and-drop is enabled @default true */
48
+ activateOnDrag?: boolean;
49
+ /** Whether Space/Enter opens the file selection dialog @default true */
50
+ activateOnKeyboard?: boolean;
51
+ /** Whether drag event propagation to parents is stopped @default true */
52
+ dragEventsBubbling?: boolean;
53
+ /** Called when the dragenter event occurs */
54
+ onDragEnter?: (event: React.DragEvent<HTMLElement>) => void;
55
+ /** Called when the dragleave event occurs */
56
+ onDragLeave?: (event: React.DragEvent<HTMLElement>) => void;
57
+ /** Called when the dragover event occurs */
58
+ onDragOver?: (event: React.DragEvent<HTMLElement>) => void;
59
+ /** Called when user closes the file selection dialog with no selection */
60
+ onFileDialogCancel?: () => void;
61
+ /** Called when user opens the file selection dialog */
62
+ onFileDialogOpen?: () => void;
63
+ /** Whether to prevent dropped items from taking over the browser window @default true */
64
+ preventDropOnDocument?: boolean;
65
+ /** Whether to use the File System Access API @default true */
66
+ useFsAccessApi?: boolean;
67
+ /** Custom file aggregator */
68
+ getFilesFromEvent?: (event: DropEvent) => Promise<Array<File | DataTransferItem>>;
69
+ /** Custom validation function. Return null if no errors. */
70
+ validator?: <T extends File>(file: T) => FileError | FileError[] | null;
71
+ /** Whether pointer events should be enabled on inner content @default false */
72
+ enablePointerEvents?: boolean;
73
+ /** Props passed down to the Fluent UI Spinner shown during loading */
74
+ spinnerProps?: Partial<SpinnerProps>;
75
+ /** Props passed down to the internal input element */
76
+ inputProps?: React.InputHTMLAttributes<HTMLInputElement>;
77
+ /** Visual appearance of the dropzone @default 'outline' */
78
+ appearance?: DropzoneAppearance;
79
+ /** Border radius of the dropzone */
80
+ borderRadius?: string;
81
+ /** Accessible label for the dropzone */
82
+ 'aria-label'?: string;
83
+ /** Children to render inside the dropzone */
84
+ children?: React.ReactNode;
85
+ }
86
+ /**
87
+ * Props for the DropzoneFullScreen component
88
+ */
89
+ export interface IDropzoneFullScreenProps extends Omit<IDropzoneProps, 'activateOnClick'> {
90
+ /** Whether the full-screen dropzone is active @default true */
91
+ active?: boolean;
92
+ /** Z-index of the full-screen overlay @default 9999 */
93
+ zIndex?: React.CSSProperties['zIndex'];
94
+ }
95
+ export type { Accept, FileError, FileRejection, FileWithPath, DropEvent };
96
+ /**
97
+ * Props for the DropzoneAccept, DropzoneReject, and DropzoneIdle sub-components
98
+ */
99
+ export interface IDropzoneStatusProps {
100
+ children: React.ReactNode;
101
+ }
102
+ //# sourceMappingURL=IDropzoneProps.d.ts.map
@@ -0,0 +1,8 @@
1
+ export * from './Dropzone';
2
+ export * from './DropzoneFullScreen';
3
+ export * from './DropzoneStatus';
4
+ export * from './IDropzoneProps';
5
+ export * from './mime-types';
6
+ export * from './DropzoneContext';
7
+ export * from './useDropzoneStyles';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Common MIME type constants for use with the Dropzone `accept` prop.
3
+ */
4
+ export declare const MIME_TYPES: {
5
+ readonly png: "image/png";
6
+ readonly gif: "image/gif";
7
+ readonly jpeg: "image/jpeg";
8
+ readonly svg: "image/svg+xml";
9
+ readonly webp: "image/webp";
10
+ readonly avif: "image/avif";
11
+ readonly heic: "image/heic";
12
+ readonly heif: "image/heif";
13
+ readonly mp4: "video/mp4";
14
+ readonly zip: "application/zip";
15
+ readonly rar: "application/x-rar";
16
+ readonly '7z': "application/x-7z-compressed";
17
+ readonly csv: "text/csv";
18
+ readonly pdf: "application/pdf";
19
+ readonly doc: "application/msword";
20
+ readonly docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
21
+ readonly xls: "application/vnd.ms-excel";
22
+ readonly xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
23
+ readonly ppt: "application/vnd.ms-powerpoint";
24
+ readonly pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
25
+ readonly exe: "application/vnd.microsoft.portable-executable";
26
+ };
27
+ /** All image MIME types */
28
+ export declare const IMAGE_MIME_TYPE: ("image/png" | "image/gif" | "image/jpeg" | "image/svg+xml" | "image/webp" | "image/avif" | "image/heic" | "image/heif")[];
29
+ /** PDF MIME type */
30
+ export declare const PDF_MIME_TYPE: "application/pdf"[];
31
+ /** Microsoft Word MIME types */
32
+ export declare const MS_WORD_MIME_TYPE: ("application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document")[];
33
+ /** Microsoft Excel MIME types */
34
+ export declare const MS_EXCEL_MIME_TYPE: ("application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")[];
35
+ /** Microsoft PowerPoint MIME types */
36
+ export declare const MS_POWERPOINT_MIME_TYPE: ("application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation")[];
37
+ /** Executable MIME type */
38
+ export declare const EXE_MIME_TYPE: "application/vnd.microsoft.portable-executable"[];
39
+ //# sourceMappingURL=mime-types.d.ts.map
@@ -0,0 +1,12 @@
1
+ import { DropzoneAppearance } from './IDropzoneProps';
2
+ export interface IDropzoneStyles {
3
+ root: string;
4
+ rootAccept: string;
5
+ rootReject: string;
6
+ rootDisabled: string;
7
+ inner: string;
8
+ loadingOverlay: string;
9
+ fullScreen: string;
10
+ }
11
+ export declare const useDropzoneStyles: (appearance?: DropzoneAppearance, borderRadius?: string) => IDropzoneStyles;
12
+ //# sourceMappingURL=useDropzoneStyles.d.ts.map
@@ -0,0 +1,40 @@
1
+ import { default as React } from 'react';
2
+ export interface IInlineSVGProps {
3
+ /** The SVG source — URL, data URI (base64 or URL-encoded), or raw SVG string */
4
+ src: string;
5
+ /** Cache remote SVG requests in memory @default true */
6
+ cacheRequests?: boolean;
7
+ /** Title for the SVG — overrides existing <title> tag, pass null to remove */
8
+ title?: string | null;
9
+ /** Description for the SVG — overrides existing <desc> tag */
10
+ description?: string;
11
+ /** Create unique IDs to prevent collisions when rendering the same SVG multiple times @default false */
12
+ uniquifyIDs?: boolean;
13
+ /** Custom hash string for uniquifyIDs @default random 8-char string */
14
+ uniqueHash?: string;
15
+ /** Base URL to prepend to url() references when using uniquifyIDs */
16
+ baseURL?: string;
17
+ /** Pre-process the SVG string before parsing — must return a string */
18
+ preProcessor?: (code: string) => string;
19
+ /** Custom options for the fetch request */
20
+ fetchOptions?: RequestInit;
21
+ /** Content shown while the SVG is loading */
22
+ loader?: React.ReactNode;
23
+ /** Fallback content on fetch error or unsupported browser */
24
+ children?: React.ReactNode;
25
+ /** Ref to the rendered SVG element — not available on initial render */
26
+ innerRef?: React.Ref<SVGSVGElement | null>;
27
+ /** Called when the SVG loads successfully */
28
+ onLoad?: (src: string, isCached: boolean) => void;
29
+ /** Called when loading the SVG fails */
30
+ onError?: (error: Error) => void;
31
+ /** SVG width — overrides the SVG's width attribute */
32
+ width?: number | string;
33
+ /** SVG height — overrides the SVG's height attribute */
34
+ height?: number | string;
35
+ /** Additional CSS class */
36
+ className?: string;
37
+ /** Inline style overrides */
38
+ style?: React.CSSProperties;
39
+ }
40
+ //# sourceMappingURL=IInlineSVGProps.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { IInlineSVGProps } from './IInlineSVGProps';
3
+ export declare const InlineSVG: React.FC<IInlineSVGProps>;
4
+ //# sourceMappingURL=InlineSVG.d.ts.map
@@ -0,0 +1,5 @@
1
+ export { InlineSVG } from './InlineSVG';
2
+ export type { IInlineSVGProps } from './IInlineSVGProps';
3
+ export { clearInlineSVGCache } from './useInlineSVG';
4
+ export type { InlineSVGStatus } from './useInlineSVG';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,30 @@
1
+ export type InlineSVGStatus = 'idle' | 'loading' | 'loaded' | 'failed' | 'unsupported';
2
+ interface InlineSVGState {
3
+ content: string;
4
+ isCached: boolean;
5
+ status: InlineSVGStatus;
6
+ }
7
+ /** Clear the in-memory SVG cache */
8
+ export declare const clearInlineSVGCache: () => void;
9
+ export interface UseInlineSVGOptions {
10
+ src: string;
11
+ cacheRequests: boolean;
12
+ fetchOptions?: RequestInit;
13
+ onError?: (error: Error) => void;
14
+ }
15
+ export declare const useInlineSVG: ({ src, cacheRequests, fetchOptions, onError }: UseInlineSVGOptions) => InlineSVGState;
16
+ export interface ProcessSVGOptions {
17
+ content: string;
18
+ preProcessor?: (code: string) => string;
19
+ title?: string | null;
20
+ description?: string;
21
+ uniquifyIDs?: boolean;
22
+ uniqueHash?: string;
23
+ baseURL?: string;
24
+ width?: number | string;
25
+ height?: number | string;
26
+ }
27
+ /** Parse, sanitize, and transform SVG content — returns serialized SVG string or null */
28
+ export declare const processSVG: (options: ProcessSVGOptions) => string | null;
29
+ export {};
30
+ //# sourceMappingURL=useInlineSVG.d.ts.map
@@ -0,0 +1,4 @@
1
+ export declare const useInlineSVGStyles: () => {
2
+ root: string;
3
+ };
4
+ //# sourceMappingURL=useInlineSVGStyles.d.ts.map
@@ -0,0 +1,28 @@
1
+ import { default as React } from 'react';
2
+ export interface IMarqueeProps {
3
+ /** Content to scroll */
4
+ children: React.ReactNode;
5
+ /** Scroll orientation @default 'horizontal' */
6
+ orientation?: 'horizontal' | 'vertical';
7
+ /** Reverse the animation direction @default false */
8
+ reverse?: boolean;
9
+ /** Pause animation on hover @default false */
10
+ pauseOnHover?: boolean;
11
+ /** Number of times children are repeated for seamless looping @default 4 */
12
+ repeat?: number;
13
+ /** Full-cycle animation duration in ms @default 100000 */
14
+ duration?: number;
15
+ /** Gap between repeated groups — Fluent spacing token key or CSS value @default 'spacingHorizontalM' */
16
+ gap?: string;
17
+ /** Show gradient fade on edges @default true */
18
+ fadeEdges?: boolean;
19
+ /** Color of the fade gradient (any CSS color) @default tokens.colorNeutralBackground1 */
20
+ fadeEdgeColor?: string;
21
+ /** Size of the fade gradient @default '5%' */
22
+ fadeEdgeSize?: string;
23
+ /** Additional CSS class */
24
+ className?: string;
25
+ /** Inline style overrides */
26
+ style?: React.CSSProperties;
27
+ }
28
+ //# sourceMappingURL=IMarqueeProps.d.ts.map
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ import { IMarqueeProps } from './IMarqueeProps';
3
+ export declare const Marquee: React.FC<IMarqueeProps>;
4
+ //# sourceMappingURL=Marquee.d.ts.map
@@ -0,0 +1,4 @@
1
+ export { Marquee } from './Marquee';
2
+ export type { IMarqueeProps } from './IMarqueeProps';
3
+ export { useMarqueeStyles } from './useMarqueeStyles';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,6 @@
1
+ export declare const useMarqueeStyles: (orientation: "horizontal" | "vertical", reverse: boolean, pauseOnHover: boolean, repeat: number, duration: number, gap: string, fadeEdges: boolean, fadeEdgeColor: string, fadeEdgeSize: string) => {
2
+ root: string;
3
+ content: string;
4
+ group: string;
5
+ };
6
+ //# sourceMappingURL=useMarqueeStyles.d.ts.map
@@ -0,0 +1,49 @@
1
+ /** Validation type determines which characters are accepted */
2
+ export type OTPValidationType = 'numeric' | 'alpha' | 'alphanumeric' | 'none';
3
+ export interface IOTPFieldProps {
4
+ /** Number of OTP input slots */
5
+ length: number;
6
+ /** Current OTP value (controlled) */
7
+ value?: string;
8
+ /** Default OTP value (uncontrolled) */
9
+ defaultValue?: string;
10
+ /** Called when the OTP value changes */
11
+ onChange?: (value: string) => void;
12
+ /** Called when all slots are filled */
13
+ onComplete?: (value: string) => void;
14
+ /** Validation type — restricts accepted characters (default 'numeric') */
15
+ validationType?: OTPValidationType;
16
+ /** Custom sanitize function when validationType is 'none' */
17
+ sanitizeValue?: (value: string) => string;
18
+ /** Whether to mask entered characters like a password (default false) */
19
+ mask?: boolean;
20
+ /** Autocomplete attribute for the first input (default 'one-time-code') */
21
+ autoComplete?: string;
22
+ /** Whether the field is disabled */
23
+ disabled?: boolean;
24
+ /** Whether the field is read-only */
25
+ readOnly?: boolean;
26
+ /** Label displayed above the field */
27
+ label?: string;
28
+ /** Validation message displayed below the field */
29
+ message?: string;
30
+ /** Validation message type */
31
+ messageType?: 'error' | 'info' | 'warning' | 'success';
32
+ /** Whether the field is required */
33
+ required?: boolean;
34
+ /** Size of each input slot (default 'medium') */
35
+ size?: 'small' | 'medium' | 'large';
36
+ /** Gap between input slots in px (default 8) */
37
+ gap?: number;
38
+ /** Separator rendered between groups (e.g. after 3 of 6 digits) */
39
+ separatorAfter?: number[];
40
+ /** Character or element used as separator (default '–') */
41
+ separator?: React.ReactNode;
42
+ /** Placeholder character for empty slots (default '') */
43
+ placeholder?: string;
44
+ /** Additional CSS class for the root element */
45
+ className?: string;
46
+ /** Inline style overrides for the root element */
47
+ style?: React.CSSProperties;
48
+ }
49
+ //# sourceMappingURL=IOTPFieldProps.d.ts.map
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ import { IOTPFieldProps } from './IOTPFieldProps';
3
+ /**
4
+ * One-time-password input — renders a group of single-character inputs
5
+ * with automatic focus management, paste support, and keyboard navigation.
6
+ */
7
+ export declare const OTPField: React.FC<IOTPFieldProps>;
8
+ //# sourceMappingURL=OTPField.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { OTPField } from './OTPField';
2
+ export type { IOTPFieldProps, OTPValidationType } from './IOTPFieldProps';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,25 @@
1
+ import { OTPValidationType } from './IOTPFieldProps';
2
+ export interface UseOTPFieldOptions {
3
+ length: number;
4
+ value?: string;
5
+ defaultValue?: string;
6
+ validationType: OTPValidationType;
7
+ sanitizeValue?: (value: string) => string;
8
+ onChange?: (value: string) => void;
9
+ onComplete?: (value: string) => void;
10
+ disabled?: boolean;
11
+ readOnly?: boolean;
12
+ }
13
+ export declare const useOTPField: (options: UseOTPFieldOptions) => {
14
+ value: string;
15
+ focusedIndex: number;
16
+ inputRefs: import('react').MutableRefObject<(HTMLInputElement | null)[]>;
17
+ inputMode: "text" | "numeric";
18
+ handleChange: (index: number, event: React.ChangeEvent<HTMLInputElement>) => void;
19
+ handleKeyDown: (index: number, event: React.KeyboardEvent<HTMLInputElement>) => void;
20
+ handlePaste: (index: number, event: React.ClipboardEvent<HTMLInputElement>) => void;
21
+ handleFocus: (index: number) => void;
22
+ handleBlur: () => void;
23
+ focusSlot: (index: number) => void;
24
+ };
25
+ //# sourceMappingURL=useOTPField.d.ts.map
@@ -0,0 +1,23 @@
1
+ export interface IOTPFieldStyles {
2
+ root: string;
3
+ inputGroup: string;
4
+ input: string;
5
+ inputSmall: string;
6
+ inputMedium: string;
7
+ inputLarge: string;
8
+ inputFilled: string;
9
+ inputActive: string;
10
+ inputDisabled: string;
11
+ inputError: string;
12
+ inputSuccess: string;
13
+ inputWarning: string;
14
+ separator: string;
15
+ label: string;
16
+ message: string;
17
+ messageError: string;
18
+ messageWarning: string;
19
+ messageInfo: string;
20
+ messageSuccess: string;
21
+ }
22
+ export declare const useOTPFieldStyles: (gap: number) => IOTPFieldStyles;
23
+ //# sourceMappingURL=useOTPFieldStyles.d.ts.map