@spark-ui/components 10.19.3 → 10.20.0

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/docgen.json CHANGED
@@ -41435,91 +41435,112 @@
41435
41435
  }
41436
41436
  }
41437
41437
  },
41438
- "Stepper.DecrementButton": {
41438
+ "Stepper": {
41439
41439
  "tags": {},
41440
41440
  "description": "",
41441
- "displayName": "Stepper.DecrementButton",
41441
+ "displayName": "Stepper",
41442
41442
  "methods": [],
41443
41443
  "props": {
41444
- "asChild": {
41445
- "defaultValue": {
41446
- "value": false
41447
- },
41444
+ "ref": {
41445
+ "defaultValue": null,
41448
41446
  "description": "",
41449
- "name": "asChild",
41447
+ "name": "ref",
41450
41448
  "parent": {
41451
- "fileName": "src/stepper/Buttons.tsx",
41452
- "name": "DecrementProps"
41449
+ "fileName": "src/input/InputGroup.tsx",
41450
+ "name": "InputGroupProps"
41453
41451
  },
41454
41452
  "declarations": [
41455
41453
  {
41456
- "fileName": "src/stepper/Buttons.tsx",
41457
- "name": "DecrementProps"
41454
+ "fileName": "src/input/InputGroup.tsx",
41455
+ "name": "InputGroupProps"
41456
+ },
41457
+ {
41458
+ "fileName": "components/src/stepper/types.ts",
41459
+ "name": "TypeLiteral"
41458
41460
  }
41459
41461
  ],
41460
41462
  "required": false,
41461
41463
  "type": {
41462
- "name": "boolean"
41464
+ "name": "Ref<HTMLDivElement>"
41463
41465
  }
41464
41466
  },
41465
- "className": {
41467
+ "value": {
41466
41468
  "defaultValue": null,
41467
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41468
- "name": "className",
41469
+ "description": "The current value (controlled).",
41470
+ "name": "value",
41471
+ "parent": {
41472
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41473
+ "name": "ValueBase"
41474
+ },
41469
41475
  "declarations": [
41470
41476
  {
41471
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41472
- "name": "TypeLiteral"
41477
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41478
+ "name": "ValueBase"
41479
+ },
41480
+ {
41481
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41482
+ "name": "ValueBase"
41473
41483
  }
41474
41484
  ],
41475
41485
  "required": false,
41476
41486
  "type": {
41477
- "name": "string | ((state: State) => string)"
41487
+ "name": "number"
41478
41488
  }
41479
41489
  },
41480
- "nativeButton": {
41481
- "defaultValue": {
41482
- "value": "true"
41483
- },
41484
- "description": "Whether the component renders a native `<button>` element when replacing it\nvia the `render` prop.\nSet to `false` if the rendered element is not a button (e.g. `<div>`).",
41485
- "name": "nativeButton",
41490
+ "disabled": {
41491
+ "defaultValue": null,
41492
+ "description": "Sets the component as interactive or not.\nWhen `true`, prevents the user from interacting.",
41493
+ "name": "disabled",
41486
41494
  "parent": {
41487
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41488
- "name": "NativeButtonProps"
41495
+ "fileName": "components/src/stepper/types.ts",
41496
+ "name": "UseStepperArgs"
41489
41497
  },
41490
41498
  "declarations": [
41491
41499
  {
41492
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41493
- "name": "NativeButtonProps"
41500
+ "fileName": "components/src/stepper/types.ts",
41501
+ "name": "UseStepperArgs"
41494
41502
  }
41495
41503
  ],
41496
41504
  "required": false,
41497
41505
  "type": {
41498
41506
  "name": "boolean"
41499
41507
  }
41500
- }
41501
- }
41502
- },
41503
- "Stepper.IncrementButton": {
41504
- "tags": {},
41505
- "description": "",
41506
- "displayName": "Stepper.IncrementButton",
41507
- "methods": [],
41508
- "props": {
41509
- "asChild": {
41510
- "defaultValue": {
41511
- "value": false
41508
+ },
41509
+ "step": {
41510
+ "defaultValue": null,
41511
+ "description": "The amount that the input value changes with each increment or decrement \"tick\".",
41512
+ "name": "step",
41513
+ "parent": {
41514
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41515
+ "name": "RangeInputBase"
41512
41516
  },
41513
- "description": "",
41514
- "name": "asChild",
41517
+ "declarations": [
41518
+ {
41519
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41520
+ "name": "RangeInputBase"
41521
+ },
41522
+ {
41523
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41524
+ "name": "RangeInputBase"
41525
+ }
41526
+ ],
41527
+ "required": false,
41528
+ "type": {
41529
+ "name": "number"
41530
+ }
41531
+ },
41532
+ "required": {
41533
+ "defaultValue": null,
41534
+ "description": "Sets the component as mandatory for form validation.",
41535
+ "name": "required",
41515
41536
  "parent": {
41516
- "fileName": "src/stepper/Buttons.tsx",
41517
- "name": "IncrementProps"
41537
+ "fileName": "components/src/stepper/types.ts",
41538
+ "name": "UseStepperArgs"
41518
41539
  },
41519
41540
  "declarations": [
41520
41541
  {
41521
- "fileName": "src/stepper/Buttons.tsx",
41522
- "name": "IncrementProps"
41542
+ "fileName": "components/src/stepper/types.ts",
41543
+ "name": "UseStepperArgs"
41523
41544
  }
41524
41545
  ],
41525
41546
  "required": false,
@@ -41527,268 +41548,845 @@
41527
41548
  "name": "boolean"
41528
41549
  }
41529
41550
  },
41530
- "className": {
41551
+ "state": {
41531
41552
  "defaultValue": null,
41532
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41533
- "name": "className",
41553
+ "description": "Use `state` prop to assign a specific state to the group, choosing from: `error`, `alert` and `success`. By doing so, the outline styles will be updated.",
41554
+ "name": "state",
41555
+ "parent": {
41556
+ "fileName": "src/input/InputGroup.tsx",
41557
+ "name": "InputGroupProps"
41558
+ },
41534
41559
  "declarations": [
41535
41560
  {
41536
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41537
- "name": "TypeLiteral"
41561
+ "fileName": "src/input/InputGroup.tsx",
41562
+ "name": "InputGroupProps"
41538
41563
  }
41539
41564
  ],
41540
41565
  "required": false,
41541
41566
  "type": {
41542
- "name": "string | ((state: State) => string)"
41567
+ "name": "enum",
41568
+ "raw": "\"alert\" | \"success\" | \"error\"",
41569
+ "value": [
41570
+ {
41571
+ "value": "\"alert\""
41572
+ },
41573
+ {
41574
+ "value": "\"success\""
41575
+ },
41576
+ {
41577
+ "value": "\"error\""
41578
+ }
41579
+ ]
41543
41580
  }
41544
41581
  },
41545
- "nativeButton": {
41546
- "defaultValue": {
41547
- "value": "true"
41548
- },
41549
- "description": "Whether the component renders a native `<button>` element when replacing it\nvia the `render` prop.\nSet to `false` if the rendered element is not a button (e.g. `<div>`).",
41550
- "name": "nativeButton",
41582
+ "readOnly": {
41583
+ "defaultValue": null,
41584
+ "description": "Sets the component as editable or not.\nSets the component as interactive or not.",
41585
+ "name": "readOnly",
41551
41586
  "parent": {
41552
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41553
- "name": "NativeButtonProps"
41587
+ "fileName": "components/src/stepper/types.ts",
41588
+ "name": "UseStepperArgs"
41554
41589
  },
41555
41590
  "declarations": [
41556
41591
  {
41557
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41558
- "name": "NativeButtonProps"
41592
+ "fileName": "components/src/stepper/types.ts",
41593
+ "name": "UseStepperArgs"
41559
41594
  }
41560
41595
  ],
41561
41596
  "required": false,
41562
41597
  "type": {
41563
41598
  "name": "boolean"
41564
41599
  }
41565
- }
41566
- }
41567
- },
41568
- "Stepper.InputButton": {
41569
- "tags": {},
41570
- "description": "",
41571
- "displayName": "Stepper.InputButton",
41572
- "methods": [],
41573
- "props": {
41574
- "className": {
41600
+ },
41601
+ "placeholder": {
41575
41602
  "defaultValue": null,
41576
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41577
- "name": "className",
41603
+ "description": "Temporary text that occupies the text input when it is empty.",
41604
+ "name": "placeholder",
41605
+ "parent": {
41606
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41607
+ "name": "TextInputBase"
41608
+ },
41578
41609
  "declarations": [
41579
41610
  {
41580
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41581
- "name": "TypeLiteral"
41611
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41612
+ "name": "TextInputBase"
41613
+ },
41614
+ {
41615
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41616
+ "name": "TextInputBase"
41582
41617
  }
41583
41618
  ],
41584
41619
  "required": false,
41585
41620
  "type": {
41586
- "name": "string | ((state: State) => string)"
41621
+ "name": "string"
41587
41622
  }
41588
41623
  },
41589
- "aria-roledescription": {
41624
+ "locale": {
41590
41625
  "defaultValue": {
41591
- "value": "'Number field'"
41626
+ "value": "'fr'"
41592
41627
  },
41593
- "description": "A string value that provides a user-friendly name for the role of the input.",
41594
- "name": "aria-roledescription",
41628
+ "description": "The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.",
41629
+ "name": "locale",
41595
41630
  "parent": {
41596
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/input/NumberFieldInput.d.ts",
41597
- "name": "Props"
41631
+ "fileName": "components/src/stepper/types.ts",
41632
+ "name": "UseStepperArgs"
41598
41633
  },
41599
41634
  "declarations": [
41600
41635
  {
41601
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/input/NumberFieldInput.d.ts",
41602
- "name": "Props"
41636
+ "fileName": "components/src/stepper/types.ts",
41637
+ "name": "UseStepperArgs"
41603
41638
  }
41604
41639
  ],
41605
41640
  "required": false,
41606
41641
  "type": {
41607
41642
  "name": "string"
41608
41643
  }
41644
+ },
41645
+ "formatOptions": {
41646
+ "defaultValue": null,
41647
+ "description": "Formatting options for the value displayed in the number field.\nThis also affects what characters are allowed to be typed by the user.",
41648
+ "name": "formatOptions",
41649
+ "parent": {
41650
+ "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
41651
+ "name": "NumberFieldProps"
41652
+ },
41653
+ "declarations": [
41654
+ {
41655
+ "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
41656
+ "name": "NumberFieldProps"
41657
+ },
41658
+ {
41659
+ "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
41660
+ "name": "NumberFieldProps"
41661
+ }
41662
+ ],
41663
+ "required": false,
41664
+ "type": {
41665
+ "name": "NumberFormatOptions"
41666
+ }
41667
+ },
41668
+ "onFocusChange": {
41669
+ "defaultValue": null,
41670
+ "description": "Handler that is called when the element's focus status changes.",
41671
+ "name": "onFocusChange",
41672
+ "parent": {
41673
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41674
+ "name": "FocusEvents"
41675
+ },
41676
+ "declarations": [
41677
+ {
41678
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41679
+ "name": "FocusEvents"
41680
+ },
41681
+ {
41682
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41683
+ "name": "FocusEvents"
41684
+ }
41685
+ ],
41686
+ "required": false,
41687
+ "type": {
41688
+ "name": "(isFocused: boolean) => void"
41689
+ }
41690
+ },
41691
+ "minValue": {
41692
+ "defaultValue": null,
41693
+ "description": "The smallest value allowed for the input.",
41694
+ "name": "minValue",
41695
+ "parent": {
41696
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41697
+ "name": "RangeInputBase"
41698
+ },
41699
+ "declarations": [
41700
+ {
41701
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41702
+ "name": "RangeInputBase"
41703
+ },
41704
+ {
41705
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41706
+ "name": "RangeInputBase"
41707
+ }
41708
+ ],
41709
+ "required": false,
41710
+ "type": {
41711
+ "name": "number"
41712
+ }
41713
+ },
41714
+ "maxValue": {
41715
+ "defaultValue": null,
41716
+ "description": "The largest value allowed for the input.",
41717
+ "name": "maxValue",
41718
+ "parent": {
41719
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41720
+ "name": "RangeInputBase"
41721
+ },
41722
+ "declarations": [
41723
+ {
41724
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41725
+ "name": "RangeInputBase"
41726
+ },
41727
+ {
41728
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41729
+ "name": "RangeInputBase"
41730
+ }
41731
+ ],
41732
+ "required": false,
41733
+ "type": {
41734
+ "name": "number"
41735
+ }
41736
+ },
41737
+ "onValueChange": {
41738
+ "defaultValue": null,
41739
+ "description": "",
41740
+ "name": "onValueChange",
41741
+ "declarations": [
41742
+ {
41743
+ "fileName": "components/src/stepper/types.ts",
41744
+ "name": "TypeLiteral"
41745
+ }
41746
+ ],
41747
+ "required": false,
41748
+ "type": {
41749
+ "name": "(e: number) => void"
41750
+ }
41609
41751
  }
41610
41752
  }
41611
41753
  },
41612
- "Stepper": {
41754
+ "StepperIncrementButton": {
41613
41755
  "tags": {},
41614
41756
  "description": "",
41615
- "displayName": "Stepper",
41757
+ "displayName": "StepperIncrementButton",
41616
41758
  "methods": [],
41617
41759
  "props": {
41618
- "state": {
41760
+ "ref": {
41761
+ "defaultValue": null,
41762
+ "description": "",
41763
+ "name": "ref",
41764
+ "parent": {
41765
+ "fileName": "components/src/icon-button/IconButton.tsx",
41766
+ "name": "IconButtonProps"
41767
+ },
41768
+ "declarations": [
41769
+ {
41770
+ "fileName": "components/src/icon-button/IconButton.tsx",
41771
+ "name": "IconButtonProps"
41772
+ },
41773
+ {
41774
+ "fileName": "components/src/stepper/types.ts",
41775
+ "name": "TypeLiteral"
41776
+ }
41777
+ ],
41778
+ "required": false,
41779
+ "type": {
41780
+ "name": "Ref<HTMLButtonElement>"
41781
+ }
41782
+ },
41783
+ "aria-label": {
41784
+ "defaultValue": null,
41785
+ "description": "Defines a string value that labels the current element.",
41786
+ "name": "aria-label",
41787
+ "parent": {
41788
+ "fileName": "components/src/icon-button/IconButton.tsx",
41789
+ "name": "IconButtonProps"
41790
+ },
41791
+ "declarations": [
41792
+ {
41793
+ "fileName": "components/src/icon-button/IconButton.tsx",
41794
+ "name": "IconButtonProps"
41795
+ }
41796
+ ],
41797
+ "required": true,
41798
+ "type": {
41799
+ "name": "string"
41800
+ }
41801
+ },
41802
+ "design": {
41803
+ "defaultValue": {
41804
+ "value": "ghost"
41805
+ },
41806
+ "description": "Main style of the button.\n\n- `filled`: Button will be plain.\n\n- `outlined`: Button will be transparent with an outline.\n\n- `tinted`: Button will be filled but using a lighter color scheme.\n\n- `ghost`: Button will look like a link. No borders, plain text.\n\n- `contrast`: Button will be surface filled. No borders, plain text.",
41807
+ "name": "design",
41808
+ "declarations": [],
41809
+ "required": false,
41810
+ "type": {
41811
+ "name": "enum",
41812
+ "raw": "\"filled\" | \"outlined\" | \"tinted\" | \"ghost\" | \"contrast\"",
41813
+ "value": [
41814
+ {
41815
+ "value": "\"filled\""
41816
+ },
41817
+ {
41818
+ "value": "\"outlined\""
41819
+ },
41820
+ {
41821
+ "value": "\"tinted\""
41822
+ },
41823
+ {
41824
+ "value": "\"ghost\""
41825
+ },
41826
+ {
41827
+ "value": "\"contrast\""
41828
+ }
41829
+ ]
41830
+ }
41831
+ },
41832
+ "intent": {
41833
+ "defaultValue": {
41834
+ "value": "neutral"
41835
+ },
41836
+ "description": "Color scheme of the button.",
41837
+ "name": "intent",
41838
+ "declarations": [],
41839
+ "required": false,
41840
+ "type": {
41841
+ "name": "enum",
41842
+ "raw": "\"main\" | \"alert\" | \"support\" | \"accent\" | \"success\" | \"danger\" | \"info\" | \"neutral\" | \"surface\" | \"basic\" | \"surfaceInverse\"",
41843
+ "value": [
41844
+ {
41845
+ "value": "\"main\""
41846
+ },
41847
+ {
41848
+ "value": "\"alert\""
41849
+ },
41850
+ {
41851
+ "value": "\"support\""
41852
+ },
41853
+ {
41854
+ "value": "\"accent\""
41855
+ },
41856
+ {
41857
+ "value": "\"success\""
41858
+ },
41859
+ {
41860
+ "value": "\"danger\""
41861
+ },
41862
+ {
41863
+ "value": "\"info\""
41864
+ },
41865
+ {
41866
+ "value": "\"neutral\""
41867
+ },
41868
+ {
41869
+ "value": "\"surface\""
41870
+ },
41871
+ {
41872
+ "value": "\"basic\""
41873
+ },
41874
+ {
41875
+ "value": "\"surfaceInverse\""
41876
+ }
41877
+ ]
41878
+ }
41879
+ },
41880
+ "underline": {
41881
+ "defaultValue": null,
41882
+ "description": "",
41883
+ "name": "underline",
41884
+ "declarations": [],
41885
+ "required": false,
41886
+ "type": {
41887
+ "name": "boolean"
41888
+ }
41889
+ },
41890
+ "onFocusChange": {
41891
+ "defaultValue": null,
41892
+ "description": "Handler that is called when the element's focus status changes.",
41893
+ "name": "onFocusChange",
41894
+ "parent": {
41895
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41896
+ "name": "FocusEvents"
41897
+ },
41898
+ "declarations": [
41899
+ {
41900
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41901
+ "name": "FocusEvents"
41902
+ },
41903
+ {
41904
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41905
+ "name": "FocusEvents"
41906
+ }
41907
+ ],
41908
+ "required": false,
41909
+ "type": {
41910
+ "name": "(isFocused: boolean) => void"
41911
+ }
41912
+ },
41913
+ "onPress": {
41914
+ "defaultValue": null,
41915
+ "description": "Handler that is called when the press is released over the target.",
41916
+ "name": "onPress",
41917
+ "parent": {
41918
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41919
+ "name": "PressEvents"
41920
+ },
41921
+ "declarations": [
41922
+ {
41923
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41924
+ "name": "PressEvents"
41925
+ }
41926
+ ],
41927
+ "required": false,
41928
+ "type": {
41929
+ "name": "(e: PressEvent) => void"
41930
+ }
41931
+ },
41932
+ "onPressStart": {
41933
+ "defaultValue": null,
41934
+ "description": "Handler that is called when a press interaction starts.",
41935
+ "name": "onPressStart",
41936
+ "parent": {
41937
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41938
+ "name": "PressEvents"
41939
+ },
41940
+ "declarations": [
41941
+ {
41942
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41943
+ "name": "PressEvents"
41944
+ }
41945
+ ],
41946
+ "required": false,
41947
+ "type": {
41948
+ "name": "(e: PressEvent) => void"
41949
+ }
41950
+ },
41951
+ "onPressEnd": {
41952
+ "defaultValue": null,
41953
+ "description": "Handler that is called when a press interaction ends, either\nover the target or when the pointer leaves the target.",
41954
+ "name": "onPressEnd",
41955
+ "parent": {
41956
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41957
+ "name": "PressEvents"
41958
+ },
41959
+ "declarations": [
41960
+ {
41961
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41962
+ "name": "PressEvents"
41963
+ }
41964
+ ],
41965
+ "required": false,
41966
+ "type": {
41967
+ "name": "(e: PressEvent) => void"
41968
+ }
41969
+ },
41970
+ "onPressChange": {
41971
+ "defaultValue": null,
41972
+ "description": "Handler that is called when the press state changes.",
41973
+ "name": "onPressChange",
41974
+ "parent": {
41975
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41976
+ "name": "PressEvents"
41977
+ },
41978
+ "declarations": [
41979
+ {
41980
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41981
+ "name": "PressEvents"
41982
+ }
41983
+ ],
41984
+ "required": false,
41985
+ "type": {
41986
+ "name": "(isPressed: boolean) => void"
41987
+ }
41988
+ },
41989
+ "onPressUp": {
41990
+ "defaultValue": null,
41991
+ "description": "Handler that is called when a press is released over the target, regardless of\nwhether it started on the target or not.",
41992
+ "name": "onPressUp",
41993
+ "parent": {
41994
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
41995
+ "name": "PressEvents"
41996
+ },
41997
+ "declarations": [
41998
+ {
41999
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42000
+ "name": "PressEvents"
42001
+ }
42002
+ ],
42003
+ "required": false,
42004
+ "type": {
42005
+ "name": "(e: PressEvent) => void"
42006
+ }
42007
+ },
42008
+ "disabled": {
42009
+ "defaultValue": null,
42010
+ "description": "",
42011
+ "name": "disabled",
42012
+ "declarations": [
42013
+ {
42014
+ "fileName": "components/src/stepper/types.ts",
42015
+ "name": "TypeLiteral"
42016
+ }
42017
+ ],
42018
+ "required": false,
42019
+ "type": {
42020
+ "name": "boolean"
42021
+ }
42022
+ }
42023
+ }
42024
+ },
42025
+ "Stepper.DecrementButton": {
42026
+ "tags": {},
42027
+ "description": "",
42028
+ "displayName": "Stepper.DecrementButton",
42029
+ "methods": [],
42030
+ "props": {
42031
+ "ref": {
42032
+ "defaultValue": null,
42033
+ "description": "",
42034
+ "name": "ref",
42035
+ "parent": {
42036
+ "fileName": "components/src/icon-button/IconButton.tsx",
42037
+ "name": "IconButtonProps"
42038
+ },
42039
+ "declarations": [
42040
+ {
42041
+ "fileName": "components/src/icon-button/IconButton.tsx",
42042
+ "name": "IconButtonProps"
42043
+ },
42044
+ {
42045
+ "fileName": "components/src/stepper/types.ts",
42046
+ "name": "TypeLiteral"
42047
+ }
42048
+ ],
42049
+ "required": false,
42050
+ "type": {
42051
+ "name": "Ref<HTMLButtonElement>"
42052
+ }
42053
+ },
42054
+ "aria-label": {
42055
+ "defaultValue": null,
42056
+ "description": "Defines a string value that labels the current element.",
42057
+ "name": "aria-label",
42058
+ "parent": {
42059
+ "fileName": "components/src/icon-button/IconButton.tsx",
42060
+ "name": "IconButtonProps"
42061
+ },
42062
+ "declarations": [
42063
+ {
42064
+ "fileName": "components/src/icon-button/IconButton.tsx",
42065
+ "name": "IconButtonProps"
42066
+ }
42067
+ ],
42068
+ "required": true,
42069
+ "type": {
42070
+ "name": "string"
42071
+ }
42072
+ },
42073
+ "design": {
42074
+ "defaultValue": {
42075
+ "value": "ghost"
42076
+ },
42077
+ "description": "Main style of the button.\n\n- `filled`: Button will be plain.\n\n- `outlined`: Button will be transparent with an outline.\n\n- `tinted`: Button will be filled but using a lighter color scheme.\n\n- `ghost`: Button will look like a link. No borders, plain text.\n\n- `contrast`: Button will be surface filled. No borders, plain text.",
42078
+ "name": "design",
42079
+ "declarations": [],
42080
+ "required": false,
42081
+ "type": {
42082
+ "name": "enum",
42083
+ "raw": "\"filled\" | \"outlined\" | \"tinted\" | \"ghost\" | \"contrast\"",
42084
+ "value": [
42085
+ {
42086
+ "value": "\"filled\""
42087
+ },
42088
+ {
42089
+ "value": "\"outlined\""
42090
+ },
42091
+ {
42092
+ "value": "\"tinted\""
42093
+ },
42094
+ {
42095
+ "value": "\"ghost\""
42096
+ },
42097
+ {
42098
+ "value": "\"contrast\""
42099
+ }
42100
+ ]
42101
+ }
42102
+ },
42103
+ "intent": {
42104
+ "defaultValue": {
42105
+ "value": "neutral"
42106
+ },
42107
+ "description": "Color scheme of the button.",
42108
+ "name": "intent",
42109
+ "declarations": [],
42110
+ "required": false,
42111
+ "type": {
42112
+ "name": "enum",
42113
+ "raw": "\"main\" | \"alert\" | \"support\" | \"accent\" | \"success\" | \"danger\" | \"info\" | \"neutral\" | \"surface\" | \"basic\" | \"surfaceInverse\"",
42114
+ "value": [
42115
+ {
42116
+ "value": "\"main\""
42117
+ },
42118
+ {
42119
+ "value": "\"alert\""
42120
+ },
42121
+ {
42122
+ "value": "\"support\""
42123
+ },
42124
+ {
42125
+ "value": "\"accent\""
42126
+ },
42127
+ {
42128
+ "value": "\"success\""
42129
+ },
42130
+ {
42131
+ "value": "\"danger\""
42132
+ },
42133
+ {
42134
+ "value": "\"info\""
42135
+ },
42136
+ {
42137
+ "value": "\"neutral\""
42138
+ },
42139
+ {
42140
+ "value": "\"surface\""
42141
+ },
42142
+ {
42143
+ "value": "\"basic\""
42144
+ },
42145
+ {
42146
+ "value": "\"surfaceInverse\""
42147
+ }
42148
+ ]
42149
+ }
42150
+ },
42151
+ "underline": {
42152
+ "defaultValue": null,
42153
+ "description": "",
42154
+ "name": "underline",
42155
+ "declarations": [],
42156
+ "required": false,
42157
+ "type": {
42158
+ "name": "boolean"
42159
+ }
42160
+ },
42161
+ "onFocusChange": {
42162
+ "defaultValue": null,
42163
+ "description": "Handler that is called when the element's focus status changes.",
42164
+ "name": "onFocusChange",
42165
+ "parent": {
42166
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42167
+ "name": "FocusEvents"
42168
+ },
42169
+ "declarations": [
42170
+ {
42171
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42172
+ "name": "FocusEvents"
42173
+ },
42174
+ {
42175
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42176
+ "name": "FocusEvents"
42177
+ }
42178
+ ],
42179
+ "required": false,
42180
+ "type": {
42181
+ "name": "(isFocused: boolean) => void"
42182
+ }
42183
+ },
42184
+ "onPress": {
42185
+ "defaultValue": null,
42186
+ "description": "Handler that is called when the press is released over the target.",
42187
+ "name": "onPress",
42188
+ "parent": {
42189
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42190
+ "name": "PressEvents"
42191
+ },
42192
+ "declarations": [
42193
+ {
42194
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42195
+ "name": "PressEvents"
42196
+ }
42197
+ ],
42198
+ "required": false,
42199
+ "type": {
42200
+ "name": "(e: PressEvent) => void"
42201
+ }
42202
+ },
42203
+ "onPressStart": {
41619
42204
  "defaultValue": null,
41620
- "description": "Assign a specific state to the group, either `error`, `alert` or `success`. The outline styles will be updated.",
41621
- "name": "state",
42205
+ "description": "Handler that is called when a press interaction starts.",
42206
+ "name": "onPressStart",
41622
42207
  "parent": {
41623
- "fileName": "components/src/stepper/types.ts",
41624
- "name": "StepperProps"
42208
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42209
+ "name": "PressEvents"
41625
42210
  },
41626
42211
  "declarations": [
41627
42212
  {
41628
- "fileName": "components/src/stepper/types.ts",
41629
- "name": "StepperProps"
42213
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42214
+ "name": "PressEvents"
41630
42215
  }
41631
42216
  ],
41632
42217
  "required": false,
41633
42218
  "type": {
41634
- "name": "enum",
41635
- "raw": "\"alert\" | \"success\" | \"error\"",
41636
- "value": [
41637
- {
41638
- "value": "\"alert\""
41639
- },
41640
- {
41641
- "value": "\"success\""
41642
- },
41643
- {
41644
- "value": "\"error\""
41645
- }
41646
- ]
42219
+ "name": "(e: PressEvent) => void"
41647
42220
  }
41648
42221
  },
41649
- "minValue": {
42222
+ "onPressEnd": {
41650
42223
  "defaultValue": null,
41651
- "description": "The minimum value of the input element.",
41652
- "name": "minValue",
42224
+ "description": "Handler that is called when a press interaction ends, either\nover the target or when the pointer leaves the target.",
42225
+ "name": "onPressEnd",
41653
42226
  "parent": {
41654
- "fileName": "components/src/stepper/types.ts",
41655
- "name": "StepperProps"
42227
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42228
+ "name": "PressEvents"
41656
42229
  },
41657
42230
  "declarations": [
41658
42231
  {
41659
- "fileName": "components/src/stepper/types.ts",
41660
- "name": "StepperProps"
42232
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42233
+ "name": "PressEvents"
41661
42234
  }
41662
42235
  ],
41663
42236
  "required": false,
41664
42237
  "type": {
41665
- "name": "number"
42238
+ "name": "(e: PressEvent) => void"
41666
42239
  }
41667
42240
  },
41668
- "maxValue": {
42241
+ "onPressChange": {
41669
42242
  "defaultValue": null,
41670
- "description": "The maximum value of the input element.",
41671
- "name": "maxValue",
42243
+ "description": "Handler that is called when the press state changes.",
42244
+ "name": "onPressChange",
41672
42245
  "parent": {
41673
- "fileName": "components/src/stepper/types.ts",
41674
- "name": "StepperProps"
42246
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42247
+ "name": "PressEvents"
41675
42248
  },
41676
42249
  "declarations": [
41677
42250
  {
41678
- "fileName": "components/src/stepper/types.ts",
41679
- "name": "StepperProps"
42251
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42252
+ "name": "PressEvents"
41680
42253
  }
41681
42254
  ],
41682
42255
  "required": false,
41683
42256
  "type": {
41684
- "name": "number"
42257
+ "name": "(isPressed: boolean) => void"
41685
42258
  }
41686
42259
  },
41687
- "formatOptions": {
42260
+ "onPressUp": {
41688
42261
  "defaultValue": null,
41689
- "description": "Options to format the input value.",
41690
- "name": "formatOptions",
42262
+ "description": "Handler that is called when a press is released over the target, regardless of\nwhether it started on the target or not.",
42263
+ "name": "onPressUp",
41691
42264
  "parent": {
41692
- "fileName": "components/src/stepper/types.ts",
41693
- "name": "StepperProps"
42265
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42266
+ "name": "PressEvents"
41694
42267
  },
41695
42268
  "declarations": [
41696
42269
  {
41697
- "fileName": "components/src/stepper/types.ts",
41698
- "name": "StepperProps"
42270
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42271
+ "name": "PressEvents"
41699
42272
  }
41700
42273
  ],
41701
42274
  "required": false,
41702
42275
  "type": {
41703
- "name": "NumberFormatOptions"
42276
+ "name": "(e: PressEvent) => void"
41704
42277
  }
41705
42278
  },
41706
- "className": {
42279
+ "disabled": {
41707
42280
  "defaultValue": null,
41708
- "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41709
- "name": "className",
42281
+ "description": "",
42282
+ "name": "disabled",
41710
42283
  "declarations": [
41711
42284
  {
41712
- "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
42285
+ "fileName": "components/src/stepper/types.ts",
41713
42286
  "name": "TypeLiteral"
41714
42287
  }
41715
42288
  ],
41716
42289
  "required": false,
41717
42290
  "type": {
41718
- "name": "string | ((state: State) => string)"
42291
+ "name": "boolean"
41719
42292
  }
41720
- },
41721
- "defaultValue": {
42293
+ }
42294
+ }
42295
+ },
42296
+ "Stepper.Input": {
42297
+ "tags": {},
42298
+ "description": "",
42299
+ "displayName": "Stepper.Input",
42300
+ "methods": [],
42301
+ "props": {
42302
+ "ref": {
41722
42303
  "defaultValue": null,
41723
- "description": "The uncontrolled value of the field when it’s initially rendered.\n\nTo render a controlled number field, use the `value` prop instead.",
41724
- "name": "defaultValue",
42304
+ "description": "",
42305
+ "name": "ref",
41725
42306
  "parent": {
41726
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41727
- "name": "Props"
42307
+ "fileName": "src/input/Input.tsx",
42308
+ "name": "InputProps"
41728
42309
  },
41729
42310
  "declarations": [
41730
42311
  {
41731
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41732
- "name": "Props"
42312
+ "fileName": "src/input/Input.tsx",
42313
+ "name": "InputProps"
42314
+ },
42315
+ {
42316
+ "fileName": "components/src/stepper/types.ts",
42317
+ "name": "TypeLiteral"
41733
42318
  }
41734
42319
  ],
41735
42320
  "required": false,
41736
42321
  "type": {
41737
- "name": "number"
42322
+ "name": "Ref<HTMLInputElement>"
41738
42323
  }
41739
42324
  },
41740
- "id": {
42325
+ "onValueChange": {
41741
42326
  "defaultValue": null,
41742
- "description": "The id of the input element.",
41743
- "name": "id",
42327
+ "description": "",
42328
+ "name": "onValueChange",
41744
42329
  "parent": {
41745
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41746
- "name": "Props"
42330
+ "fileName": "src/input/Input.tsx",
42331
+ "name": "InputProps"
41747
42332
  },
41748
42333
  "declarations": [
41749
42334
  {
41750
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41751
- "name": "Props"
42335
+ "fileName": "src/input/Input.tsx",
42336
+ "name": "InputProps"
41752
42337
  }
41753
42338
  ],
41754
42339
  "required": false,
41755
42340
  "type": {
41756
- "name": "string"
42341
+ "name": "(value: string) => void"
41757
42342
  }
41758
- },
41759
- "value": {
42343
+ }
42344
+ }
42345
+ },
42346
+ "StepperButtonProps": {
42347
+ "tags": {},
42348
+ "description": "As we're using React Spectrum library to build this component, we also want\nto build our typing uppon theirs.\nStill, we have to adapt it to avoid exposing useless props.",
42349
+ "displayName": "StepperButtonProps",
42350
+ "methods": [],
42351
+ "props": {}
42352
+ },
42353
+ "useStepper": {
42354
+ "tags": {},
42355
+ "description": "",
42356
+ "displayName": "useStepper",
42357
+ "methods": [],
42358
+ "props": {
42359
+ "inputRef": {
41760
42360
  "defaultValue": null,
41761
- "description": "The raw numeric value of the field.",
41762
- "name": "value",
42361
+ "description": "",
42362
+ "name": "inputRef",
41763
42363
  "parent": {
41764
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41765
- "name": "Props"
42364
+ "fileName": "components/src/stepper/types.ts",
42365
+ "name": "UseStepperArgs"
41766
42366
  },
41767
42367
  "declarations": [
41768
42368
  {
41769
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41770
- "name": "Props"
42369
+ "fileName": "components/src/stepper/types.ts",
42370
+ "name": "UseStepperArgs"
41771
42371
  }
41772
42372
  ],
41773
- "required": false,
42373
+ "required": true,
41774
42374
  "type": {
41775
- "name": "number"
42375
+ "name": "RefObject<HTMLInputElement>"
41776
42376
  }
41777
42377
  },
41778
42378
  "disabled": {
41779
- "defaultValue": {
41780
- "value": "false"
41781
- },
41782
- "description": "Whether the component should ignore user interaction.",
42379
+ "defaultValue": null,
42380
+ "description": "Sets the component as interactive or not.",
41783
42381
  "name": "disabled",
41784
42382
  "parent": {
41785
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41786
- "name": "Props"
42383
+ "fileName": "components/src/stepper/types.ts",
42384
+ "name": "UseStepperArgs"
41787
42385
  },
41788
42386
  "declarations": [
41789
42387
  {
41790
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41791
- "name": "Props"
42388
+ "fileName": "components/src/stepper/types.ts",
42389
+ "name": "UseStepperArgs"
41792
42390
  }
41793
42391
  ],
41794
42392
  "required": false,
@@ -41796,58 +42394,77 @@
41796
42394
  "name": "boolean"
41797
42395
  }
41798
42396
  },
41799
- "onValueChange": {
42397
+ "readOnly": {
41800
42398
  "defaultValue": null,
41801
- "description": "Callback fired when the number value changes.",
41802
- "name": "onValueChange",
42399
+ "description": "Sets the component as editable or not.",
42400
+ "name": "readOnly",
41803
42401
  "parent": {
41804
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41805
- "name": "Props"
42402
+ "fileName": "components/src/stepper/types.ts",
42403
+ "name": "UseStepperArgs"
41806
42404
  },
41807
42405
  "declarations": [
41808
42406
  {
41809
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41810
- "name": "Props"
42407
+ "fileName": "components/src/stepper/types.ts",
42408
+ "name": "UseStepperArgs"
41811
42409
  }
41812
42410
  ],
41813
42411
  "required": false,
41814
42412
  "type": {
41815
- "name": "(value: number, eventDetails: { reason: \"none\"; event: Event; cancel: () => void; allowPropagation: () => void; isCanceled: boolean; isPropagationAllowed: boolean; }) => void"
42413
+ "name": "boolean"
41816
42414
  }
41817
42415
  },
41818
- "step": {
42416
+ "required": {
42417
+ "defaultValue": null,
42418
+ "description": "Sets the component as mandatory for form validation.",
42419
+ "name": "required",
42420
+ "parent": {
42421
+ "fileName": "components/src/stepper/types.ts",
42422
+ "name": "UseStepperArgs"
42423
+ },
42424
+ "declarations": [
42425
+ {
42426
+ "fileName": "components/src/stepper/types.ts",
42427
+ "name": "UseStepperArgs"
42428
+ }
42429
+ ],
42430
+ "required": false,
42431
+ "type": {
42432
+ "name": "boolean"
42433
+ }
42434
+ },
42435
+ "locale": {
41819
42436
  "defaultValue": {
41820
- "value": "1"
42437
+ "value": "fr"
41821
42438
  },
41822
- "description": "Amount to increment and decrement with the buttons and arrow keys,\nor to scrub with pointer movement in the scrub area.",
41823
- "name": "step",
42439
+ "description": "The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.",
42440
+ "name": "locale",
41824
42441
  "parent": {
41825
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41826
- "name": "Props"
42442
+ "fileName": "components/src/stepper/types.ts",
42443
+ "name": "UseStepperArgs"
41827
42444
  },
41828
42445
  "declarations": [
41829
42446
  {
41830
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41831
- "name": "Props"
42447
+ "fileName": "components/src/stepper/types.ts",
42448
+ "name": "UseStepperArgs"
41832
42449
  }
41833
42450
  ],
41834
42451
  "required": false,
41835
42452
  "type": {
41836
- "name": "number"
42453
+ "name": "string"
41837
42454
  }
41838
42455
  },
41839
- "name": {
42456
+ "aria-label": {
41840
42457
  "defaultValue": null,
41841
- "description": "Identifies the field when a form is submitted.",
41842
- "name": "name",
42458
+ "description": "Defines a string value that labels the current element.",
42459
+ "name": "aria-label",
41843
42460
  "parent": {
41844
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41845
- "name": "Props"
42461
+ "fileName": "spark-web/node_modules/@react-types/shared/src/dom.d.ts",
42462
+ "name": "AriaLabelingProps"
41846
42463
  },
41847
42464
  "declarations": [
41848
42465
  {
41849
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41850
- "name": "Props"
42466
+ "fileName": "spark-web/node_modules/@react-types/shared/src/dom.d.ts",
42467
+ "name": "AriaLabelingProps"
41851
42468
  }
41852
42469
  ],
41853
42470
  "required": false,
@@ -41855,62 +42472,68 @@
41855
42472
  "name": "string"
41856
42473
  }
41857
42474
  },
41858
- "required": {
41859
- "defaultValue": {
41860
- "value": "false"
41861
- },
41862
- "description": "Whether the user must enter a value before submitting a form.",
41863
- "name": "required",
42475
+ "onChange": {
42476
+ "defaultValue": null,
42477
+ "description": "Handler that is called when the value changes.",
42478
+ "name": "onChange",
41864
42479
  "parent": {
41865
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41866
- "name": "Props"
42480
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42481
+ "name": "ValueBase"
41867
42482
  },
41868
42483
  "declarations": [
41869
42484
  {
41870
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41871
- "name": "Props"
42485
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42486
+ "name": "ValueBase"
42487
+ },
42488
+ {
42489
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42490
+ "name": "ValueBase"
41872
42491
  }
41873
42492
  ],
41874
42493
  "required": false,
41875
42494
  "type": {
41876
- "name": "boolean"
42495
+ "name": "(value: number) => void"
41877
42496
  }
41878
42497
  },
41879
- "readOnly": {
41880
- "defaultValue": {
41881
- "value": "false"
41882
- },
41883
- "description": "Whether the user should be unable to change the field value.",
41884
- "name": "readOnly",
42498
+ "value": {
42499
+ "defaultValue": null,
42500
+ "description": "The current value (controlled).",
42501
+ "name": "value",
41885
42502
  "parent": {
41886
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41887
- "name": "Props"
42503
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42504
+ "name": "ValueBase"
41888
42505
  },
41889
42506
  "declarations": [
41890
42507
  {
41891
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41892
- "name": "Props"
42508
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42509
+ "name": "ValueBase"
42510
+ },
42511
+ {
42512
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42513
+ "name": "ValueBase"
41893
42514
  }
41894
42515
  ],
41895
42516
  "required": false,
41896
42517
  "type": {
41897
- "name": "boolean"
42518
+ "name": "number"
41898
42519
  }
41899
42520
  },
41900
- "smallStep": {
41901
- "defaultValue": {
41902
- "value": "0.1"
41903
- },
41904
- "description": "The small step value of the input element when incrementing while the meta key is held. Snaps\nto multiples of this value.",
41905
- "name": "smallStep",
42521
+ "step": {
42522
+ "defaultValue": null,
42523
+ "description": "The amount that the input value changes with each increment or decrement \"tick\".",
42524
+ "name": "step",
41906
42525
  "parent": {
41907
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41908
- "name": "Props"
42526
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42527
+ "name": "RangeInputBase"
41909
42528
  },
41910
42529
  "declarations": [
41911
42530
  {
41912
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41913
- "name": "Props"
42531
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42532
+ "name": "RangeInputBase"
42533
+ },
42534
+ {
42535
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42536
+ "name": "RangeInputBase"
41914
42537
  }
41915
42538
  ],
41916
42539
  "required": false,
@@ -41918,116 +42541,123 @@
41918
42541
  "name": "number"
41919
42542
  }
41920
42543
  },
41921
- "largeStep": {
41922
- "defaultValue": {
41923
- "value": "10"
41924
- },
41925
- "description": "The large step value of the input element when incrementing while the shift key is held. Snaps\nto multiples of this value.",
41926
- "name": "largeStep",
42544
+ "placeholder": {
42545
+ "defaultValue": null,
42546
+ "description": "Temporary text that occupies the text input when it is empty.",
42547
+ "name": "placeholder",
41927
42548
  "parent": {
41928
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41929
- "name": "Props"
42549
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42550
+ "name": "TextInputBase"
41930
42551
  },
41931
42552
  "declarations": [
41932
42553
  {
41933
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41934
- "name": "Props"
42554
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42555
+ "name": "TextInputBase"
42556
+ },
42557
+ {
42558
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42559
+ "name": "TextInputBase"
41935
42560
  }
41936
42561
  ],
41937
42562
  "required": false,
41938
42563
  "type": {
41939
- "name": "number"
42564
+ "name": "string"
41940
42565
  }
41941
42566
  },
41942
- "allowWheelScrub": {
41943
- "defaultValue": {
41944
- "value": true
41945
- },
41946
- "description": "Whether to allow the user to scrub the input value with the mouse wheel while focused and\nhovering over the input.",
41947
- "name": "allowWheelScrub",
42567
+ "formatOptions": {
42568
+ "defaultValue": null,
42569
+ "description": "Formatting options for the value displayed in the number field.\nThis also affects what characters are allowed to be typed by the user.",
42570
+ "name": "formatOptions",
41948
42571
  "parent": {
41949
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41950
- "name": "Props"
42572
+ "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
42573
+ "name": "NumberFieldProps"
41951
42574
  },
41952
42575
  "declarations": [
41953
42576
  {
41954
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41955
- "name": "Props"
42577
+ "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
42578
+ "name": "NumberFieldProps"
42579
+ },
42580
+ {
42581
+ "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
42582
+ "name": "NumberFieldProps"
41956
42583
  }
41957
42584
  ],
41958
42585
  "required": false,
41959
42586
  "type": {
41960
- "name": "boolean"
42587
+ "name": "NumberFormatOptions"
41961
42588
  }
41962
42589
  },
41963
- "snapOnStep": {
41964
- "defaultValue": {
41965
- "value": "false"
41966
- },
41967
- "description": "Whether the value should snap to the nearest step when incrementing or decrementing.",
41968
- "name": "snapOnStep",
42590
+ "onFocusChange": {
42591
+ "defaultValue": null,
42592
+ "description": "Handler that is called when the element's focus status changes.",
42593
+ "name": "onFocusChange",
41969
42594
  "parent": {
41970
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41971
- "name": "Props"
42595
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42596
+ "name": "FocusEvents"
41972
42597
  },
41973
42598
  "declarations": [
41974
42599
  {
41975
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41976
- "name": "Props"
42600
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42601
+ "name": "FocusEvents"
42602
+ },
42603
+ {
42604
+ "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42605
+ "name": "FocusEvents"
41977
42606
  }
41978
42607
  ],
41979
42608
  "required": false,
41980
42609
  "type": {
41981
- "name": "boolean"
42610
+ "name": "(isFocused: boolean) => void"
41982
42611
  }
41983
42612
  },
41984
- "locale": {
42613
+ "minValue": {
41985
42614
  "defaultValue": null,
41986
- "description": "The locale of the input element.\nDefaults to the user's runtime locale.",
41987
- "name": "locale",
42615
+ "description": "The smallest value allowed for the input.",
42616
+ "name": "minValue",
41988
42617
  "parent": {
41989
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41990
- "name": "Props"
42618
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42619
+ "name": "RangeInputBase"
41991
42620
  },
41992
42621
  "declarations": [
41993
42622
  {
41994
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41995
- "name": "Props"
42623
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42624
+ "name": "RangeInputBase"
42625
+ },
42626
+ {
42627
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42628
+ "name": "RangeInputBase"
41996
42629
  }
41997
42630
  ],
41998
42631
  "required": false,
41999
42632
  "type": {
42000
- "name": "LocalesArgument"
42633
+ "name": "number"
42001
42634
  }
42002
42635
  },
42003
- "inputRef": {
42636
+ "maxValue": {
42004
42637
  "defaultValue": null,
42005
- "description": "A ref to access the hidden input element.",
42006
- "name": "inputRef",
42638
+ "description": "The largest value allowed for the input.",
42639
+ "name": "maxValue",
42007
42640
  "parent": {
42008
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
42009
- "name": "Props"
42641
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42642
+ "name": "RangeInputBase"
42010
42643
  },
42011
42644
  "declarations": [
42012
42645
  {
42013
- "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
42014
- "name": "Props"
42646
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42647
+ "name": "RangeInputBase"
42648
+ },
42649
+ {
42650
+ "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42651
+ "name": "RangeInputBase"
42015
42652
  }
42016
42653
  ],
42017
42654
  "required": false,
42018
42655
  "type": {
42019
- "name": "Ref<HTMLInputElement>"
42656
+ "name": "number"
42020
42657
  }
42021
42658
  }
42022
42659
  }
42023
42660
  },
42024
- "StepperButtonProps": {
42025
- "tags": {},
42026
- "description": "As we're using React Spectrum library to build this component, we also want\nto build our typing uppon theirs.\nStill, we have to adapt it to avoid exposing useless props.",
42027
- "displayName": "StepperButtonProps",
42028
- "methods": [],
42029
- "props": {}
42030
- },
42031
42661
  "Switch": {
42032
42662
  "tags": {},
42033
42663
  "description": "",