@djangocfg/nextjs 2.1.308 → 2.1.309

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.
@@ -1,4 +1,4 @@
1
- import * as next_navigation from 'next/navigation';
1
+ import * as next_dist_client_components_redirect_error from 'next/dist/client/components/redirect-error';
2
2
  import * as next_dist_shared_lib_app_router_context_shared_runtime from 'next/dist/shared/lib/app-router-context.shared-runtime';
3
3
  import * as next_intl_navigation from 'next-intl/navigation';
4
4
  import * as url from 'url';
@@ -28,8 +28,6 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
28
28
  style?: react.CSSProperties | undefined;
29
29
  title?: string | undefined | undefined;
30
30
  locale?: next_intl.Locale | undefined;
31
- onError?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
32
- children?: react.ReactNode;
33
31
  ref?: react.Ref<HTMLAnchorElement> | undefined;
34
32
  prefix?: string | undefined | undefined;
35
33
  key?: react.Key | null | undefined;
@@ -39,12 +37,10 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
39
37
  passHref?: boolean | undefined;
40
38
  prefetch?: boolean | "auto" | null | undefined;
41
39
  legacyBehavior?: boolean | undefined;
42
- onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
43
- onTouchStart?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
44
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
45
40
  onNavigate?: ((event: {
46
41
  preventDefault: () => void;
47
42
  }) => void) | undefined;
43
+ transitionTypes?: string[] | undefined;
48
44
  download?: any;
49
45
  hrefLang?: string | undefined | undefined;
50
46
  media?: string | undefined | undefined;
@@ -101,7 +97,6 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
101
97
  is?: string | undefined | undefined;
102
98
  exportparts?: string | undefined | undefined;
103
99
  part?: string | undefined | undefined;
104
- tw?: string | undefined;
105
100
  "aria-activedescendant"?: string | undefined | undefined;
106
101
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
107
102
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -155,6 +150,8 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
155
150
  "aria-valuemin"?: number | undefined | undefined;
156
151
  "aria-valuenow"?: number | undefined | undefined;
157
152
  "aria-valuetext"?: string | undefined | undefined;
153
+ href: string | url.UrlObject;
154
+ children?: react.ReactNode;
158
155
  dangerouslySetInnerHTML?: {
159
156
  __html: string | TrustedHTML;
160
157
  } | undefined | undefined;
@@ -174,20 +171,21 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
174
171
  onFocusCapture?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
175
172
  onBlur?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
176
173
  onBlurCapture?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
177
- onChange?: react.FormEventHandler<HTMLAnchorElement> | undefined;
178
- onChangeCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
174
+ onChange?: react.ChangeEventHandler<HTMLAnchorElement, Element> | undefined;
175
+ onChangeCapture?: react.ChangeEventHandler<HTMLAnchorElement, Element> | undefined;
179
176
  onBeforeInput?: react.InputEventHandler<HTMLAnchorElement> | undefined;
180
- onBeforeInputCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
181
- onInput?: react.FormEventHandler<HTMLAnchorElement> | undefined;
182
- onInputCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
183
- onReset?: react.FormEventHandler<HTMLAnchorElement> | undefined;
184
- onResetCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
185
- onSubmit?: react.FormEventHandler<HTMLAnchorElement> | undefined;
186
- onSubmitCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
187
- onInvalid?: react.FormEventHandler<HTMLAnchorElement> | undefined;
188
- onInvalidCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
177
+ onBeforeInputCapture?: react.InputEventHandler<HTMLAnchorElement> | undefined;
178
+ onInput?: react.InputEventHandler<HTMLAnchorElement> | undefined;
179
+ onInputCapture?: react.InputEventHandler<HTMLAnchorElement> | undefined;
180
+ onReset?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
181
+ onResetCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
182
+ onSubmit?: react.SubmitEventHandler<HTMLAnchorElement> | undefined;
183
+ onSubmitCapture?: react.SubmitEventHandler<HTMLAnchorElement> | undefined;
184
+ onInvalid?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
185
+ onInvalidCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
189
186
  onLoad?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
190
187
  onLoadCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
188
+ onError?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
191
189
  onErrorCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
192
190
  onKeyDown?: react.KeyboardEventHandler<HTMLAnchorElement> | undefined;
193
191
  onKeyDownCapture?: react.KeyboardEventHandler<HTMLAnchorElement> | undefined;
@@ -241,6 +239,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
241
239
  onWaitingCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
242
240
  onAuxClick?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
243
241
  onAuxClickCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
242
+ onClick?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
244
243
  onClickCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
245
244
  onContextMenu?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
246
245
  onContextMenuCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
@@ -264,6 +263,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
264
263
  onDropCapture?: react.DragEventHandler<HTMLAnchorElement> | undefined;
265
264
  onMouseDown?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
266
265
  onMouseDownCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
266
+ onMouseEnter?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
267
267
  onMouseLeave?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
268
268
  onMouseMove?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
269
269
  onMouseMoveCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
@@ -281,6 +281,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
281
281
  onTouchEndCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
282
282
  onTouchMove?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
283
283
  onTouchMoveCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
284
+ onTouchStart?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
284
285
  onTouchStartCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
285
286
  onPointerDown?: react.PointerEventHandler<HTMLAnchorElement> | undefined;
286
287
  onPointerDownCapture?: react.PointerEventHandler<HTMLAnchorElement> | undefined;
@@ -322,7 +323,6 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
322
323
  onTransitionRunCapture?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
323
324
  onTransitionStart?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
324
325
  onTransitionStartCapture?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
325
- href: string | url.UrlObject;
326
326
  }, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
327
327
  usePathname: () => string;
328
328
  useRouter: () => {
@@ -347,6 +347,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
347
347
  back(): void;
348
348
  forward(): void;
349
349
  refresh(): void;
350
+ experimental_gesturePush?(href: string, options?: next_dist_shared_lib_app_router_context_shared_runtime.NavigateOptions): void;
350
351
  };
351
352
  getPathname: (args: {
352
353
  href: string | {
@@ -363,7 +364,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
363
364
  };
364
365
  locale: next_intl.Locale;
365
366
  forcePrefix?: boolean;
366
- }, type?: next_navigation.RedirectType | undefined) => never;
367
+ }, type?: next_dist_client_components_redirect_error.RedirectType | undefined) => never;
367
368
  permanentRedirect: (args: {
368
369
  href: string | {
369
370
  pathname: string;
@@ -371,7 +372,7 @@ declare function createNavigation(routingConfig?: ReturnType<typeof createRoutin
371
372
  };
372
373
  locale: next_intl.Locale;
373
374
  forcePrefix?: boolean;
374
- }, type?: next_navigation.RedirectType | undefined) => never;
375
+ }, type?: next_dist_client_components_redirect_error.RedirectType | undefined) => never;
375
376
  };
376
377
  /**
377
378
  * Create navigation from config options
@@ -385,8 +386,6 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
385
386
  style?: react.CSSProperties | undefined;
386
387
  title?: string | undefined | undefined;
387
388
  locale?: next_intl.Locale | undefined;
388
- onError?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
389
- children?: react.ReactNode;
390
389
  ref?: react.Ref<HTMLAnchorElement> | undefined;
391
390
  prefix?: string | undefined | undefined;
392
391
  key?: react.Key | null | undefined;
@@ -396,12 +395,10 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
396
395
  passHref?: boolean | undefined;
397
396
  prefetch?: boolean | "auto" | null | undefined;
398
397
  legacyBehavior?: boolean | undefined;
399
- onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
400
- onTouchStart?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
401
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
402
398
  onNavigate?: ((event: {
403
399
  preventDefault: () => void;
404
400
  }) => void) | undefined;
401
+ transitionTypes?: string[] | undefined;
405
402
  download?: any;
406
403
  hrefLang?: string | undefined | undefined;
407
404
  media?: string | undefined | undefined;
@@ -458,7 +455,6 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
458
455
  is?: string | undefined | undefined;
459
456
  exportparts?: string | undefined | undefined;
460
457
  part?: string | undefined | undefined;
461
- tw?: string | undefined;
462
458
  "aria-activedescendant"?: string | undefined | undefined;
463
459
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
464
460
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -512,6 +508,8 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
512
508
  "aria-valuemin"?: number | undefined | undefined;
513
509
  "aria-valuenow"?: number | undefined | undefined;
514
510
  "aria-valuetext"?: string | undefined | undefined;
511
+ href: string | url.UrlObject;
512
+ children?: react.ReactNode;
515
513
  dangerouslySetInnerHTML?: {
516
514
  __html: string | TrustedHTML;
517
515
  } | undefined | undefined;
@@ -531,20 +529,21 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
531
529
  onFocusCapture?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
532
530
  onBlur?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
533
531
  onBlurCapture?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
534
- onChange?: react.FormEventHandler<HTMLAnchorElement> | undefined;
535
- onChangeCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
532
+ onChange?: react.ChangeEventHandler<HTMLAnchorElement, Element> | undefined;
533
+ onChangeCapture?: react.ChangeEventHandler<HTMLAnchorElement, Element> | undefined;
536
534
  onBeforeInput?: react.InputEventHandler<HTMLAnchorElement> | undefined;
537
- onBeforeInputCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
538
- onInput?: react.FormEventHandler<HTMLAnchorElement> | undefined;
539
- onInputCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
540
- onReset?: react.FormEventHandler<HTMLAnchorElement> | undefined;
541
- onResetCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
542
- onSubmit?: react.FormEventHandler<HTMLAnchorElement> | undefined;
543
- onSubmitCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
544
- onInvalid?: react.FormEventHandler<HTMLAnchorElement> | undefined;
545
- onInvalidCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
535
+ onBeforeInputCapture?: react.InputEventHandler<HTMLAnchorElement> | undefined;
536
+ onInput?: react.InputEventHandler<HTMLAnchorElement> | undefined;
537
+ onInputCapture?: react.InputEventHandler<HTMLAnchorElement> | undefined;
538
+ onReset?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
539
+ onResetCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
540
+ onSubmit?: react.SubmitEventHandler<HTMLAnchorElement> | undefined;
541
+ onSubmitCapture?: react.SubmitEventHandler<HTMLAnchorElement> | undefined;
542
+ onInvalid?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
543
+ onInvalidCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
546
544
  onLoad?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
547
545
  onLoadCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
546
+ onError?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
548
547
  onErrorCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
549
548
  onKeyDown?: react.KeyboardEventHandler<HTMLAnchorElement> | undefined;
550
549
  onKeyDownCapture?: react.KeyboardEventHandler<HTMLAnchorElement> | undefined;
@@ -598,6 +597,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
598
597
  onWaitingCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
599
598
  onAuxClick?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
600
599
  onAuxClickCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
600
+ onClick?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
601
601
  onClickCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
602
602
  onContextMenu?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
603
603
  onContextMenuCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
@@ -621,6 +621,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
621
621
  onDropCapture?: react.DragEventHandler<HTMLAnchorElement> | undefined;
622
622
  onMouseDown?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
623
623
  onMouseDownCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
624
+ onMouseEnter?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
624
625
  onMouseLeave?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
625
626
  onMouseMove?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
626
627
  onMouseMoveCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
@@ -638,6 +639,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
638
639
  onTouchEndCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
639
640
  onTouchMove?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
640
641
  onTouchMoveCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
642
+ onTouchStart?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
641
643
  onTouchStartCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
642
644
  onPointerDown?: react.PointerEventHandler<HTMLAnchorElement> | undefined;
643
645
  onPointerDownCapture?: react.PointerEventHandler<HTMLAnchorElement> | undefined;
@@ -679,7 +681,6 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
679
681
  onTransitionRunCapture?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
680
682
  onTransitionStart?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
681
683
  onTransitionStartCapture?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
682
- href: string | url.UrlObject;
683
684
  }, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
684
685
  usePathname: () => string;
685
686
  useRouter: () => {
@@ -704,6 +705,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
704
705
  back(): void;
705
706
  forward(): void;
706
707
  refresh(): void;
708
+ experimental_gesturePush?(href: string, options?: next_dist_shared_lib_app_router_context_shared_runtime.NavigateOptions): void;
707
709
  };
708
710
  getPathname: (args: {
709
711
  href: string | {
@@ -720,7 +722,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
720
722
  };
721
723
  locale: next_intl.Locale;
722
724
  forcePrefix?: boolean;
723
- }, type?: next_navigation.RedirectType | undefined) => never;
725
+ }, type?: next_dist_client_components_redirect_error.RedirectType | undefined) => never;
724
726
  permanentRedirect: (args: {
725
727
  href: string | {
726
728
  pathname: string;
@@ -728,7 +730,7 @@ declare function createNavigationFromConfig(config: Partial<I18nConfig>): {
728
730
  };
729
731
  locale: next_intl.Locale;
730
732
  forcePrefix?: boolean;
731
- }, type?: next_navigation.RedirectType | undefined) => never;
733
+ }, type?: next_dist_client_components_redirect_error.RedirectType | undefined) => never;
732
734
  };
733
735
  /**
734
736
  * Default navigation utilities
@@ -742,8 +744,6 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
742
744
  style?: react.CSSProperties | undefined;
743
745
  title?: string | undefined | undefined;
744
746
  locale?: next_intl.Locale | undefined;
745
- onError?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
746
- children?: react.ReactNode;
747
747
  ref?: react.Ref<HTMLAnchorElement> | undefined;
748
748
  prefix?: string | undefined | undefined;
749
749
  key?: react.Key | null | undefined;
@@ -753,12 +753,10 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
753
753
  passHref?: boolean | undefined;
754
754
  prefetch?: boolean | "auto" | null | undefined;
755
755
  legacyBehavior?: boolean | undefined;
756
- onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
757
- onTouchStart?: React.TouchEventHandler<HTMLAnchorElement> | undefined;
758
- onClick?: React.MouseEventHandler<HTMLAnchorElement> | undefined;
759
756
  onNavigate?: ((event: {
760
757
  preventDefault: () => void;
761
758
  }) => void) | undefined;
759
+ transitionTypes?: string[] | undefined;
762
760
  download?: any;
763
761
  hrefLang?: string | undefined | undefined;
764
762
  media?: string | undefined | undefined;
@@ -815,7 +813,6 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
815
813
  is?: string | undefined | undefined;
816
814
  exportparts?: string | undefined | undefined;
817
815
  part?: string | undefined | undefined;
818
- tw?: string | undefined;
819
816
  "aria-activedescendant"?: string | undefined | undefined;
820
817
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
821
818
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -869,6 +866,8 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
869
866
  "aria-valuemin"?: number | undefined | undefined;
870
867
  "aria-valuenow"?: number | undefined | undefined;
871
868
  "aria-valuetext"?: string | undefined | undefined;
869
+ href: string | url.UrlObject;
870
+ children?: react.ReactNode;
872
871
  dangerouslySetInnerHTML?: {
873
872
  __html: string | TrustedHTML;
874
873
  } | undefined | undefined;
@@ -888,20 +887,21 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
888
887
  onFocusCapture?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
889
888
  onBlur?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
890
889
  onBlurCapture?: react.FocusEventHandler<HTMLAnchorElement> | undefined;
891
- onChange?: react.FormEventHandler<HTMLAnchorElement> | undefined;
892
- onChangeCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
890
+ onChange?: react.ChangeEventHandler<HTMLAnchorElement, Element> | undefined;
891
+ onChangeCapture?: react.ChangeEventHandler<HTMLAnchorElement, Element> | undefined;
893
892
  onBeforeInput?: react.InputEventHandler<HTMLAnchorElement> | undefined;
894
- onBeforeInputCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
895
- onInput?: react.FormEventHandler<HTMLAnchorElement> | undefined;
896
- onInputCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
897
- onReset?: react.FormEventHandler<HTMLAnchorElement> | undefined;
898
- onResetCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
899
- onSubmit?: react.FormEventHandler<HTMLAnchorElement> | undefined;
900
- onSubmitCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
901
- onInvalid?: react.FormEventHandler<HTMLAnchorElement> | undefined;
902
- onInvalidCapture?: react.FormEventHandler<HTMLAnchorElement> | undefined;
893
+ onBeforeInputCapture?: react.InputEventHandler<HTMLAnchorElement> | undefined;
894
+ onInput?: react.InputEventHandler<HTMLAnchorElement> | undefined;
895
+ onInputCapture?: react.InputEventHandler<HTMLAnchorElement> | undefined;
896
+ onReset?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
897
+ onResetCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
898
+ onSubmit?: react.SubmitEventHandler<HTMLAnchorElement> | undefined;
899
+ onSubmitCapture?: react.SubmitEventHandler<HTMLAnchorElement> | undefined;
900
+ onInvalid?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
901
+ onInvalidCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
903
902
  onLoad?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
904
903
  onLoadCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
904
+ onError?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
905
905
  onErrorCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
906
906
  onKeyDown?: react.KeyboardEventHandler<HTMLAnchorElement> | undefined;
907
907
  onKeyDownCapture?: react.KeyboardEventHandler<HTMLAnchorElement> | undefined;
@@ -955,6 +955,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
955
955
  onWaitingCapture?: react.ReactEventHandler<HTMLAnchorElement> | undefined;
956
956
  onAuxClick?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
957
957
  onAuxClickCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
958
+ onClick?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
958
959
  onClickCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
959
960
  onContextMenu?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
960
961
  onContextMenuCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
@@ -978,6 +979,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
978
979
  onDropCapture?: react.DragEventHandler<HTMLAnchorElement> | undefined;
979
980
  onMouseDown?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
980
981
  onMouseDownCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
982
+ onMouseEnter?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
981
983
  onMouseLeave?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
982
984
  onMouseMove?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
983
985
  onMouseMoveCapture?: react.MouseEventHandler<HTMLAnchorElement> | undefined;
@@ -995,6 +997,7 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
995
997
  onTouchEndCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
996
998
  onTouchMove?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
997
999
  onTouchMoveCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
1000
+ onTouchStart?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
998
1001
  onTouchStartCapture?: react.TouchEventHandler<HTMLAnchorElement> | undefined;
999
1002
  onPointerDown?: react.PointerEventHandler<HTMLAnchorElement> | undefined;
1000
1003
  onPointerDownCapture?: react.PointerEventHandler<HTMLAnchorElement> | undefined;
@@ -1036,7 +1039,6 @@ declare const Link: react.ForwardRefExoticComponent<Omit<{
1036
1039
  onTransitionRunCapture?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
1037
1040
  onTransitionStart?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
1038
1041
  onTransitionStartCapture?: react.TransitionEventHandler<HTMLAnchorElement> | undefined;
1039
- href: string | url.UrlObject;
1040
1042
  }, "ref"> & react.RefAttributes<HTMLAnchorElement>>;
1041
1043
  declare const redirect: (args: {
1042
1044
  href: string | {
@@ -1045,7 +1047,7 @@ declare const redirect: (args: {
1045
1047
  };
1046
1048
  locale: next_intl.Locale;
1047
1049
  forcePrefix?: boolean;
1048
- }, type?: next_navigation.RedirectType | undefined) => never;
1050
+ }, type?: next_dist_client_components_redirect_error.RedirectType | undefined) => never;
1049
1051
  declare const usePathname: () => string;
1050
1052
  declare const useRouter: () => {
1051
1053
  push: (href: string | {
@@ -1069,6 +1071,7 @@ declare const useRouter: () => {
1069
1071
  back(): void;
1070
1072
  forward(): void;
1071
1073
  refresh(): void;
1074
+ experimental_gesturePush?(href: string, options?: next_dist_shared_lib_app_router_context_shared_runtime.NavigateOptions): void;
1072
1075
  };
1073
1076
  declare const getPathname: (args: {
1074
1077
  href: string | {
@@ -24,7 +24,6 @@ declare function createRouting(config?: Partial<I18nConfig>): {
24
24
  localePrefix?: next_intl_routing.LocalePrefix<string[], "always" | "as-needed" | "never">;
25
25
  domains?: never;
26
26
  localeCookie?: boolean | {
27
- name?: string;
28
27
  maxAge?: number | undefined;
29
28
  priority?: "low" | "medium" | "high" | undefined;
30
29
  domain?: string | undefined;
@@ -32,6 +31,7 @@ declare function createRouting(config?: Partial<I18nConfig>): {
32
31
  secure?: boolean | undefined;
33
32
  sameSite?: true | false | "lax" | "strict" | "none" | undefined;
34
33
  partitioned?: boolean | undefined;
34
+ name?: string;
35
35
  };
36
36
  alternateLinks?: boolean;
37
37
  localeDetection?: boolean;
@@ -46,7 +46,6 @@ declare const routing: {
46
46
  localePrefix?: next_intl_routing.LocalePrefix<string[], "always" | "as-needed" | "never">;
47
47
  domains?: never;
48
48
  localeCookie?: boolean | {
49
- name?: string;
50
49
  maxAge?: number | undefined;
51
50
  priority?: "low" | "medium" | "high" | undefined;
52
51
  domain?: string | undefined;
@@ -54,6 +53,7 @@ declare const routing: {
54
53
  secure?: boolean | undefined;
55
54
  sameSite?: true | false | "lax" | "strict" | "none" | undefined;
56
55
  partitioned?: boolean | undefined;
56
+ name?: string;
57
57
  };
58
58
  alternateLinks?: boolean;
59
59
  localeDetection?: boolean;
package/dist/index.mjs CHANGED
@@ -14,7 +14,7 @@ var require_package = __commonJS({
14
14
  "package.json"(exports, module) {
15
15
  module.exports = {
16
16
  name: "@djangocfg/nextjs",
17
- version: "2.1.308",
17
+ version: "2.1.309",
18
18
  description: "Next.js server utilities: sitemap, health, OG images, contact forms, navigation, config",
19
19
  keywords: [
20
20
  "nextjs",
@@ -176,7 +176,7 @@ var require_package = __commonJS({
176
176
  chalk: "^5.3.0",
177
177
  conf: "^15.0.2",
178
178
  consola: "^3.4.2",
179
- "next-intl": "^4.8.3",
179
+ "next-intl": "^4.9.1",
180
180
  semver: "^7.7.3",
181
181
  serwist: "^9.2.3"
182
182
  },