react-magma-dom 4.9.0 → 4.9.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.
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import { AlignedPlacement } from '@floating-ui/react-dom';
3
+ export declare function useMagmaFloating(placement?: AlignedPlacement): {
4
+ placement: {
5
+ [x: string]: any;
6
+ };
7
+ strategy: import("@floating-ui/utils").Strategy;
8
+ middlewareData: import("@floating-ui/core").MiddlewareData;
9
+ x: number;
10
+ y: number;
11
+ isPositioned: boolean;
12
+ update: () => void;
13
+ floatingStyles: import("react").CSSProperties;
14
+ refs: {
15
+ reference: import("react").MutableRefObject<import("@floating-ui/react-dom").ReferenceType>;
16
+ floating: import("react").MutableRefObject<HTMLElement>;
17
+ setReference: (node: import("@floating-ui/react-dom").ReferenceType) => void;
18
+ setFloating: (node: HTMLElement) => void;
19
+ };
20
+ elements: {
21
+ reference: import("@floating-ui/react-dom").ReferenceType;
22
+ floating: HTMLElement;
23
+ };
24
+ };
@@ -396,22 +396,22 @@
396
396
  "types": [
397
397
  {
398
398
  "type": "reference",
399
- "id": 7145,
399
+ "id": 7132,
400
400
  "name": "AccordionMultipleProps"
401
401
  },
402
402
  {
403
403
  "type": "reference",
404
- "id": 7420,
404
+ "id": 7407,
405
405
  "name": "AccordionSingleProps"
406
406
  },
407
407
  {
408
408
  "type": "reference",
409
- "id": 7694,
409
+ "id": 7681,
410
410
  "name": "AccordionMultipleControlledProps"
411
411
  },
412
412
  {
413
413
  "type": "reference",
414
- "id": 7968,
414
+ "id": 7955,
415
415
  "name": "AccordionSingleControlledProps"
416
416
  }
417
417
  ]
@@ -716,7 +716,7 @@
716
716
  "type": "query",
717
717
  "queryType": {
718
718
  "type": "reference",
719
- "id": 6847,
719
+ "id": 6834,
720
720
  "name": "useAccordion"
721
721
  }
722
722
  }
@@ -763,7 +763,7 @@
763
763
  "type": "query",
764
764
  "queryType": {
765
765
  "type": "reference",
766
- "id": 8856,
766
+ "id": 8843,
767
767
  "name": "useAccordionButton"
768
768
  }
769
769
  }
@@ -866,7 +866,7 @@
866
866
  "type": "query",
867
867
  "queryType": {
868
868
  "type": "reference",
869
- "id": 8271,
869
+ "id": 8258,
870
870
  "name": "useAccordionItem"
871
871
  }
872
872
  }
@@ -2704,7 +2704,7 @@
2704
2704
  "flags": {},
2705
2705
  "typeParameter": [
2706
2706
  {
2707
- "id": 4713,
2707
+ "id": 4709,
2708
2708
  "name": "T",
2709
2709
  "kind": 131072,
2710
2710
  "kindString": "Type parameter",
@@ -2904,7 +2904,7 @@
2904
2904
  },
2905
2905
  "typeParameter": [
2906
2906
  {
2907
- "id": 4824,
2907
+ "id": 4820,
2908
2908
  "name": "T",
2909
2909
  "kind": 131072,
2910
2910
  "kindString": "Type parameter",
@@ -2913,7 +2913,7 @@
2913
2913
  },
2914
2914
  "type": {
2915
2915
  "type": "reference",
2916
- "id": 4632,
2916
+ "id": 4628,
2917
2917
  "name": "SelectOptions"
2918
2918
  }
2919
2919
  }
@@ -2954,7 +2954,7 @@
2954
2954
  "type": {
2955
2955
  "name": "Generic[]"
2956
2956
  },
2957
- "description": "Default selectable options. Allows for uncontrolled component and internal creation of items. Can be an array of strings or objects",
2957
+ "description": "Default selectable options. Allows for an uncontrolled component and internal creation of items. Can be an array of strings or objects",
2958
2958
  "deprecated": false
2959
2959
  },
2960
2960
  "disableCreateItem": {
@@ -3250,7 +3250,7 @@
3250
3250
  },
3251
3251
  "typeParameter": [
3252
3252
  {
3253
- "id": 4904,
3253
+ "id": 4891,
3254
3254
  "name": "T",
3255
3255
  "kind": 131072,
3256
3256
  "kindString": "Type parameter",
@@ -3259,7 +3259,7 @@
3259
3259
  },
3260
3260
  "type": {
3261
3261
  "type": "reference",
3262
- "id": 4632,
3262
+ "id": 4628,
3263
3263
  "name": "SelectOptions"
3264
3264
  }
3265
3265
  }
@@ -3417,7 +3417,7 @@
3417
3417
  },
3418
3418
  "typeParameter": [
3419
3419
  {
3420
- "id": 4951,
3420
+ "id": 4938,
3421
3421
  "name": "T",
3422
3422
  "kind": 131072,
3423
3423
  "kindString": "Type parameter",
@@ -3431,7 +3431,7 @@
3431
3431
  "typeArguments": [
3432
3432
  {
3433
3433
  "type": "reference",
3434
- "id": 4823,
3434
+ "id": 4819,
3435
3435
  "typeArguments": [
3436
3436
  {
3437
3437
  "type": "typeParameter",
@@ -3442,7 +3442,7 @@
3442
3442
  },
3443
3443
  {
3444
3444
  "type": "reference",
3445
- "id": 4903,
3445
+ "id": 4890,
3446
3446
  "typeArguments": [
3447
3447
  {
3448
3448
  "type": "typeParameter",
@@ -3934,7 +3934,7 @@
3934
3934
  },
3935
3935
  "indexSignature": [
3936
3936
  {
3937
- "id": 25373,
3937
+ "id": 25360,
3938
3938
  "name": "__index",
3939
3939
  "kind": 8192,
3940
3940
  "kindString": "Index signature",
@@ -3946,7 +3946,7 @@
3946
3946
  },
3947
3947
  "parameters": [
3948
3948
  {
3949
- "id": 25374,
3949
+ "id": 25361,
3950
3950
  "name": "key",
3951
3951
  "kind": 32768,
3952
3952
  "kindString": "Parameter",
@@ -4036,12 +4036,12 @@
4036
4036
  "types": [
4037
4037
  {
4038
4038
  "type": "reference",
4039
- "id": 25379,
4039
+ "id": 25366,
4040
4040
  "name": "BaseDatagridProps"
4041
4041
  },
4042
4042
  {
4043
4043
  "type": "reference",
4044
- "id": 25682,
4044
+ "id": 25669,
4045
4045
  "name": "DatagridSelectedRowsProps"
4046
4046
  }
4047
4047
  ]
@@ -4260,12 +4260,12 @@
4260
4260
  "typeArguments": [
4261
4261
  {
4262
4262
  "type": "reference",
4263
- "id": 25678,
4263
+ "id": 25665,
4264
4264
  "name": "ControlledSelectedRowsProps"
4265
4265
  },
4266
4266
  {
4267
4267
  "type": "reference",
4268
- "id": 25680,
4268
+ "id": 25667,
4269
4269
  "name": "UncontrolledSelectedRowsProps"
4270
4270
  }
4271
4271
  ],
@@ -5381,12 +5381,12 @@
5381
5381
  "typeArguments": [
5382
5382
  {
5383
5383
  "type": "reference",
5384
- "id": 5334,
5384
+ "id": 5321,
5385
5385
  "name": "IconOnlyDropdownButtonProps"
5386
5386
  },
5387
5387
  {
5388
5388
  "type": "reference",
5389
- "id": 5338,
5389
+ "id": 5325,
5390
5390
  "name": "IconTextDropdownButtonProps"
5391
5391
  }
5392
5392
  ],
@@ -5639,7 +5639,7 @@
5639
5639
  },
5640
5640
  "type": {
5641
5641
  "type": "reference",
5642
- "id": 9295,
5642
+ "id": 9282,
5643
5643
  "name": "AccordionPanelProps"
5644
5644
  },
5645
5645
  "id": "DropdownExpandableMenuPanelProps",
@@ -9541,12 +9541,12 @@
9541
9541
  "typeArguments": [
9542
9542
  {
9543
9543
  "type": "reference",
9544
- "id": 16778,
9544
+ "id": 16765,
9545
9545
  "name": "NavTabChildrenProps"
9546
9546
  },
9547
9547
  {
9548
9548
  "type": "reference",
9549
- "id": 17052,
9549
+ "id": 17039,
9550
9550
  "name": "NavTabComponentProps"
9551
9551
  }
9552
9552
  ],
@@ -9648,7 +9648,7 @@
9648
9648
  "typeArguments": [
9649
9649
  {
9650
9650
  "type": "reference",
9651
- "id": 14983,
9651
+ "id": 14970,
9652
9652
  "name": "TabsProps"
9653
9653
  },
9654
9654
  {
@@ -10003,12 +10003,12 @@
10003
10003
  "types": [
10004
10004
  {
10005
10005
  "type": "reference",
10006
- "id": 28528,
10006
+ "id": 28515,
10007
10007
  "name": "ControlledPaginationProps"
10008
10008
  },
10009
10009
  {
10010
10010
  "type": "reference",
10011
- "id": 28811,
10011
+ "id": 28798,
10012
10012
  "name": "UncontrolledPaginationProps"
10013
10013
  }
10014
10014
  ]
@@ -10982,12 +10982,12 @@
10982
10982
  "typeArguments": [
10983
10983
  {
10984
10984
  "type": "reference",
10985
- "id": 32544,
10985
+ "id": 32531,
10986
10986
  "name": "IconOnlyPopoverTriggerProps"
10987
10987
  },
10988
10988
  {
10989
10989
  "type": "reference",
10990
- "id": 32549,
10990
+ "id": 32536,
10991
10991
  "name": "IconTextPopoverTriggerProps"
10992
10992
  }
10993
10993
  ],
@@ -12569,7 +12569,7 @@
12569
12569
  },
12570
12570
  "typeParameter": [
12571
12571
  {
12572
- "id": 4471,
12572
+ "id": 4476,
12573
12573
  "name": "T",
12574
12574
  "kind": 131072,
12575
12575
  "kindString": "Type parameter",
@@ -12601,7 +12601,7 @@
12601
12601
  },
12602
12602
  "typeParameter": [
12603
12603
  {
12604
- "id": 4450,
12604
+ "id": 4455,
12605
12605
  "name": "T",
12606
12606
  "kind": 131072,
12607
12607
  "kindString": "Type parameter",
@@ -12795,7 +12795,7 @@
12795
12795
  },
12796
12796
  "typeParameter": [
12797
12797
  {
12798
- "id": 4589,
12798
+ "id": 4585,
12799
12799
  "name": "T",
12800
12800
  "kind": 131072,
12801
12801
  "kindString": "Type parameter",
@@ -12804,7 +12804,7 @@
12804
12804
  },
12805
12805
  "type": {
12806
12806
  "type": "reference",
12807
- "id": 4632,
12807
+ "id": 4628,
12808
12808
  "name": "SelectOptions"
12809
12809
  }
12810
12810
  }
@@ -12952,7 +12952,7 @@
12952
12952
  },
12953
12953
  "typeParameter": [
12954
12954
  {
12955
- "id": 4477,
12955
+ "id": 4482,
12956
12956
  "name": "T",
12957
12957
  "kind": 131072,
12958
12958
  "kindString": "Type parameter",
@@ -12961,7 +12961,7 @@
12961
12961
  },
12962
12962
  "type": {
12963
12963
  "type": "reference",
12964
- "id": 4632,
12964
+ "id": 4628,
12965
12965
  "name": "SelectOptions"
12966
12966
  }
12967
12967
  }
@@ -13430,7 +13430,7 @@
13430
13430
  {
13431
13431
  "type": "reflection",
13432
13432
  "declaration": {
13433
- "id": 4633,
13433
+ "id": 4629,
13434
13434
  "name": "__type",
13435
13435
  "kind": 65536,
13436
13436
  "kindString": "Type literal",
@@ -13439,7 +13439,7 @@
13439
13439
  },
13440
13440
  "indexSignature": [
13441
13441
  {
13442
- "id": 4636,
13442
+ "id": 4632,
13443
13443
  "name": "__index",
13444
13444
  "kind": 8192,
13445
13445
  "kindString": "Index signature",
@@ -13448,7 +13448,7 @@
13448
13448
  },
13449
13449
  "parameters": [
13450
13450
  {
13451
- "id": 4637,
13451
+ "id": 4633,
13452
13452
  "name": "key",
13453
13453
  "kind": 32768,
13454
13454
  "kindString": "Parameter",
@@ -13469,7 +13469,7 @@
13469
13469
  ],
13470
13470
  "children": [
13471
13471
  {
13472
- "id": 4638,
13472
+ "id": 4634,
13473
13473
  "name": "disabled",
13474
13474
  "kind": 32,
13475
13475
  "kindString": "Variable",
@@ -13480,7 +13480,7 @@
13480
13480
  "sources": [
13481
13481
  {
13482
13482
  "fileName": "packages/react-magma-dom/src/components/Select/index.tsx",
13483
- "line": 26,
13483
+ "line": 19,
13484
13484
  "character": 64
13485
13485
  }
13486
13486
  ],
@@ -13490,7 +13490,7 @@
13490
13490
  }
13491
13491
  },
13492
13492
  {
13493
- "id": 4635,
13493
+ "id": 4631,
13494
13494
  "name": "label",
13495
13495
  "kind": 32,
13496
13496
  "kindString": "Variable",
@@ -13500,7 +13500,7 @@
13500
13500
  "sources": [
13501
13501
  {
13502
13502
  "fileName": "packages/react-magma-dom/src/components/Select/index.tsx",
13503
- "line": 26,
13503
+ "line": 19,
13504
13504
  "character": 26
13505
13505
  }
13506
13506
  ],
@@ -13510,7 +13510,7 @@
13510
13510
  }
13511
13511
  },
13512
13512
  {
13513
- "id": 4634,
13513
+ "id": 4630,
13514
13514
  "name": "value",
13515
13515
  "kind": 32,
13516
13516
  "kindString": "Variable",
@@ -13520,7 +13520,7 @@
13520
13520
  "sources": [
13521
13521
  {
13522
13522
  "fileName": "packages/react-magma-dom/src/components/Select/index.tsx",
13523
- "line": 26,
13523
+ "line": 19,
13524
13524
  "character": 11
13525
13525
  }
13526
13526
  ],
@@ -13535,16 +13535,16 @@
13535
13535
  "title": "Variables",
13536
13536
  "kind": 32,
13537
13537
  "children": [
13538
- 4638,
13539
- 4635,
13540
- 4634
13538
+ 4634,
13539
+ 4631,
13540
+ 4630
13541
13541
  ]
13542
13542
  }
13543
13543
  ],
13544
13544
  "sources": [
13545
13545
  {
13546
13546
  "fileName": "packages/react-magma-dom/src/components/Select/index.tsx",
13547
- "line": 26,
13547
+ "line": 19,
13548
13548
  "character": 3
13549
13549
  }
13550
13550
  ]
@@ -13569,7 +13569,7 @@
13569
13569
  },
13570
13570
  "typeParameter": [
13571
13571
  {
13572
- "id": 4666,
13572
+ "id": 4662,
13573
13573
  "name": "T",
13574
13574
  "kind": 131072,
13575
13575
  "kindString": "Type parameter",
@@ -13583,7 +13583,7 @@
13583
13583
  "typeArguments": [
13584
13584
  {
13585
13585
  "type": "reference",
13586
- "id": 4476,
13586
+ "id": 4481,
13587
13587
  "typeArguments": [
13588
13588
  {
13589
13589
  "type": "typeParameter",
@@ -13594,7 +13594,7 @@
13594
13594
  },
13595
13595
  {
13596
13596
  "type": "reference",
13597
- "id": 4588,
13597
+ "id": 4584,
13598
13598
  "typeArguments": [
13599
13599
  {
13600
13600
  "type": "typeParameter",
@@ -14824,12 +14824,12 @@
14824
14824
  "typeArguments": [
14825
14825
  {
14826
14826
  "type": "reference",
14827
- "id": 24687,
14827
+ "id": 24674,
14828
14828
  "name": "ControlledPageProps"
14829
14829
  },
14830
14830
  {
14831
14831
  "type": "reference",
14832
- "id": 24689,
14832
+ "id": 24676,
14833
14833
  "name": "UncontrolledPageProps"
14834
14834
  }
14835
14835
  ],
@@ -14851,12 +14851,12 @@
14851
14851
  "typeArguments": [
14852
14852
  {
14853
14853
  "type": "reference",
14854
- "id": 24691,
14854
+ "id": 24678,
14855
14855
  "name": "ControlledRowsPerPageProps"
14856
14856
  },
14857
14857
  {
14858
14858
  "type": "reference",
14859
- "id": 24693,
14859
+ "id": 24680,
14860
14860
  "name": "UncontrolledRowsPerPageProps"
14861
14861
  }
14862
14862
  ],
@@ -14878,17 +14878,17 @@
14878
14878
  "types": [
14879
14879
  {
14880
14880
  "type": "reference",
14881
- "id": 24408,
14881
+ "id": 24395,
14882
14882
  "name": "BaseTablePaginationProps"
14883
14883
  },
14884
14884
  {
14885
14885
  "type": "reference",
14886
- "id": 24703,
14886
+ "id": 24690,
14887
14887
  "name": "PagePaginationProps"
14888
14888
  },
14889
14889
  {
14890
14890
  "type": "reference",
14891
- "id": 24704,
14891
+ "id": 24691,
14892
14892
  "name": "RowsPaginationProps"
14893
14893
  }
14894
14894
  ]
@@ -15504,12 +15504,12 @@
15504
15504
  "types": [
15505
15505
  {
15506
15506
  "type": "reference",
15507
- "id": 14980,
15507
+ "id": 14967,
15508
15508
  "name": "HorizontalTabsProps"
15509
15509
  },
15510
15510
  {
15511
15511
  "type": "reference",
15512
- "id": 14977,
15512
+ "id": 14964,
15513
15513
  "name": "VerticalTabsProps"
15514
15514
  }
15515
15515
  ]
@@ -15987,12 +15987,12 @@
15987
15987
  "typeArguments": [
15988
15988
  {
15989
15989
  "type": "reference",
15990
- "id": 30807,
15990
+ "id": 30794,
15991
15991
  "name": "DeletableTagProps"
15992
15992
  },
15993
15993
  {
15994
15994
  "type": "reference",
15995
- "id": 30820,
15995
+ "id": 30807,
15996
15996
  "name": "ClickableTagProps"
15997
15997
  }
15998
15998
  ],
@@ -16237,7 +16237,7 @@
16237
16237
  "type": "query",
16238
16238
  "queryType": {
16239
16239
  "type": "reference",
16240
- "id": 32148,
16240
+ "id": 32135,
16241
16241
  "name": "useTimePicker"
16242
16242
  }
16243
16243
  }
@@ -16932,12 +16932,12 @@
16932
16932
  "typeArguments": [
16933
16933
  {
16934
16934
  "type": "reference",
16935
- "id": 34882,
16935
+ "id": 34869,
16936
16936
  "name": "ToggleButtonTextProps"
16937
16937
  },
16938
16938
  {
16939
16939
  "type": "reference",
16940
- "id": 35166,
16940
+ "id": 35153,
16941
16941
  "name": "ToggleButtonIconProps"
16942
16942
  }
16943
16943
  ],
@@ -17539,7 +17539,7 @@
17539
17539
  },
17540
17540
  "type": {
17541
17541
  "type": "reference",
17542
- "id": 34153,
17542
+ "id": 34140,
17543
17543
  "name": "UseTreeItemProps"
17544
17544
  },
17545
17545
  "id": "TreeItemProps",
@@ -18278,7 +18278,7 @@
18278
18278
  "type": "query",
18279
18279
  "queryType": {
18280
18280
  "type": "reference",
18281
- "id": 33927,
18281
+ "id": 33914,
18282
18282
  "name": "useTreeView"
18283
18283
  }
18284
18284
  }
@@ -18475,7 +18475,7 @@
18475
18475
  },
18476
18476
  "typeParameter": [
18477
18477
  {
18478
- "id": 22548,
18478
+ "id": 22535,
18479
18479
  "name": "PaginatedItem",
18480
18480
  "kind": 131072,
18481
18481
  "kindString": "Type parameter",
@@ -18535,7 +18535,7 @@
18535
18535
  },
18536
18536
  "typeParameter": [
18537
18537
  {
18538
- "id": 22557,
18538
+ "id": 22544,
18539
18539
  "name": "PaginatedItem",
18540
18540
  "kind": 131072,
18541
18541
  "kindString": "Type parameter",