@spark-ui/components 10.17.12 → 10.18.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,70 +41435,26 @@
41435
41435
  }
41436
41436
  }
41437
41437
  },
41438
- "Stepper": {
41438
+ "Stepper.DecrementButton": {
41439
41439
  "tags": {},
41440
41440
  "description": "",
41441
- "displayName": "Stepper",
41441
+ "displayName": "Stepper.DecrementButton",
41442
41442
  "methods": [],
41443
41443
  "props": {
41444
- "ref": {
41445
- "defaultValue": null,
41446
- "description": "",
41447
- "name": "ref",
41448
- "parent": {
41449
- "fileName": "src/input/InputGroup.tsx",
41450
- "name": "InputGroupProps"
41451
- },
41452
- "declarations": [
41453
- {
41454
- "fileName": "src/input/InputGroup.tsx",
41455
- "name": "InputGroupProps"
41456
- },
41457
- {
41458
- "fileName": "components/src/stepper/types.ts",
41459
- "name": "TypeLiteral"
41460
- }
41461
- ],
41462
- "required": false,
41463
- "type": {
41464
- "name": "Ref<HTMLDivElement>"
41465
- }
41466
- },
41467
- "value": {
41468
- "defaultValue": null,
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"
41444
+ "asChild": {
41445
+ "defaultValue": {
41446
+ "value": false
41474
41447
  },
41475
- "declarations": [
41476
- {
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"
41483
- }
41484
- ],
41485
- "required": false,
41486
- "type": {
41487
- "name": "number"
41488
- }
41489
- },
41490
- "disabled": {
41491
- "defaultValue": null,
41492
- "description": "Sets the component as interactive or not.\nWhen `true`, prevents the user from interacting.",
41493
- "name": "disabled",
41448
+ "description": "",
41449
+ "name": "asChild",
41494
41450
  "parent": {
41495
- "fileName": "components/src/stepper/types.ts",
41496
- "name": "UseStepperArgs"
41451
+ "fileName": "src/stepper/Buttons.tsx",
41452
+ "name": "DecrementProps"
41497
41453
  },
41498
41454
  "declarations": [
41499
41455
  {
41500
- "fileName": "components/src/stepper/types.ts",
41501
- "name": "UseStepperArgs"
41456
+ "fileName": "src/stepper/Buttons.tsx",
41457
+ "name": "DecrementProps"
41502
41458
  }
41503
41459
  ],
41504
41460
  "required": false,
@@ -41506,91 +41462,64 @@
41506
41462
  "name": "boolean"
41507
41463
  }
41508
41464
  },
41509
- "step": {
41465
+ "className": {
41510
41466
  "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"
41516
- },
41467
+ "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41468
+ "name": "className",
41517
41469
  "declarations": [
41518
41470
  {
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"
41471
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41472
+ "name": "TypeLiteral"
41525
41473
  }
41526
41474
  ],
41527
41475
  "required": false,
41528
41476
  "type": {
41529
- "name": "number"
41477
+ "name": "string | ((state: State) => string)"
41530
41478
  }
41531
41479
  },
41532
- "required": {
41533
- "defaultValue": null,
41534
- "description": "Sets the component as mandatory for form validation.",
41535
- "name": "required",
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",
41536
41486
  "parent": {
41537
- "fileName": "components/src/stepper/types.ts",
41538
- "name": "UseStepperArgs"
41487
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41488
+ "name": "NativeButtonProps"
41539
41489
  },
41540
41490
  "declarations": [
41541
41491
  {
41542
- "fileName": "components/src/stepper/types.ts",
41543
- "name": "UseStepperArgs"
41492
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41493
+ "name": "NativeButtonProps"
41544
41494
  }
41545
41495
  ],
41546
41496
  "required": false,
41547
41497
  "type": {
41548
41498
  "name": "boolean"
41549
41499
  }
41550
- },
41551
- "state": {
41552
- "defaultValue": null,
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"
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
41558
41512
  },
41559
- "declarations": [
41560
- {
41561
- "fileName": "src/input/InputGroup.tsx",
41562
- "name": "InputGroupProps"
41563
- }
41564
- ],
41565
- "required": false,
41566
- "type": {
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
- ]
41580
- }
41581
- },
41582
- "readOnly": {
41583
- "defaultValue": null,
41584
- "description": "Sets the component as editable or not.\nSets the component as interactive or not.",
41585
- "name": "readOnly",
41513
+ "description": "",
41514
+ "name": "asChild",
41586
41515
  "parent": {
41587
- "fileName": "components/src/stepper/types.ts",
41588
- "name": "UseStepperArgs"
41516
+ "fileName": "src/stepper/Buttons.tsx",
41517
+ "name": "IncrementProps"
41589
41518
  },
41590
41519
  "declarations": [
41591
41520
  {
41592
- "fileName": "components/src/stepper/types.ts",
41593
- "name": "UseStepperArgs"
41521
+ "fileName": "src/stepper/Buttons.tsx",
41522
+ "name": "IncrementProps"
41594
41523
  }
41595
41524
  ],
41596
41525
  "required": false,
@@ -41598,814 +41527,268 @@
41598
41527
  "name": "boolean"
41599
41528
  }
41600
41529
  },
41601
- "placeholder": {
41530
+ "className": {
41602
41531
  "defaultValue": null,
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
- },
41532
+ "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41533
+ "name": "className",
41609
41534
  "declarations": [
41610
41535
  {
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"
41536
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41537
+ "name": "TypeLiteral"
41617
41538
  }
41618
41539
  ],
41619
41540
  "required": false,
41620
41541
  "type": {
41621
- "name": "string"
41542
+ "name": "string | ((state: State) => string)"
41622
41543
  }
41623
41544
  },
41624
- "locale": {
41545
+ "nativeButton": {
41625
41546
  "defaultValue": {
41626
- "value": "'fr'"
41627
- },
41628
- "description": "The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.",
41629
- "name": "locale",
41630
- "parent": {
41631
- "fileName": "components/src/stepper/types.ts",
41632
- "name": "UseStepperArgs"
41547
+ "value": "true"
41633
41548
  },
41634
- "declarations": [
41635
- {
41636
- "fileName": "components/src/stepper/types.ts",
41637
- "name": "UseStepperArgs"
41638
- }
41639
- ],
41640
- "required": false,
41641
- "type": {
41642
- "name": "string"
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",
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",
41649
41551
  "parent": {
41650
- "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
41651
- "name": "NumberFieldProps"
41552
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41553
+ "name": "NativeButtonProps"
41652
41554
  },
41653
41555
  "declarations": [
41654
41556
  {
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"
41557
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41558
+ "name": "NativeButtonProps"
41661
41559
  }
41662
41560
  ],
41663
41561
  "required": false,
41664
41562
  "type": {
41665
- "name": "NumberFormatOptions"
41563
+ "name": "boolean"
41666
41564
  }
41667
- },
41668
- "onFocusChange": {
41565
+ }
41566
+ }
41567
+ },
41568
+ "Stepper.InputButton": {
41569
+ "tags": {},
41570
+ "description": "",
41571
+ "displayName": "Stepper.InputButton",
41572
+ "methods": [],
41573
+ "props": {
41574
+ "className": {
41669
41575
  "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
- },
41576
+ "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41577
+ "name": "className",
41676
41578
  "declarations": [
41677
41579
  {
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"
41580
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
41581
+ "name": "TypeLiteral"
41684
41582
  }
41685
41583
  ],
41686
41584
  "required": false,
41687
41585
  "type": {
41688
- "name": "(isFocused: boolean) => void"
41586
+ "name": "string | ((state: State) => string)"
41689
41587
  }
41690
41588
  },
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"
41589
+ "aria-roledescription": {
41590
+ "defaultValue": {
41591
+ "value": "'Number field'"
41698
41592
  },
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",
41593
+ "description": "A string value that provides a user-friendly name for the role of the input.",
41594
+ "name": "aria-roledescription",
41718
41595
  "parent": {
41719
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
41720
- "name": "RangeInputBase"
41596
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/input/NumberFieldInput.d.ts",
41597
+ "name": "Props"
41721
41598
  },
41722
41599
  "declarations": [
41723
41600
  {
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"
41601
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/input/NumberFieldInput.d.ts",
41602
+ "name": "Props"
41745
41603
  }
41746
41604
  ],
41747
41605
  "required": false,
41748
41606
  "type": {
41749
- "name": "(e: number) => void"
41607
+ "name": "string"
41750
41608
  }
41751
41609
  }
41752
41610
  }
41753
41611
  },
41754
- "StepperIncrementButton": {
41612
+ "Stepper": {
41755
41613
  "tags": {},
41756
41614
  "description": "",
41757
- "displayName": "StepperIncrementButton",
41758
- "methods": [],
41759
- "props": {
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": {
41615
+ "displayName": "Stepper",
41616
+ "methods": [],
41617
+ "props": {
41618
+ "state": {
42204
41619
  "defaultValue": null,
42205
- "description": "Handler that is called when a press interaction starts.",
42206
- "name": "onPressStart",
41620
+ "description": "Assign a specific state to the group, either `error`, `alert` or `success`. The outline styles will be updated.",
41621
+ "name": "state",
42207
41622
  "parent": {
42208
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42209
- "name": "PressEvents"
41623
+ "fileName": "components/src/stepper/types.ts",
41624
+ "name": "StepperProps"
42210
41625
  },
42211
41626
  "declarations": [
42212
41627
  {
42213
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42214
- "name": "PressEvents"
41628
+ "fileName": "components/src/stepper/types.ts",
41629
+ "name": "StepperProps"
42215
41630
  }
42216
41631
  ],
42217
41632
  "required": false,
42218
41633
  "type": {
42219
- "name": "(e: PressEvent) => void"
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
+ ]
42220
41647
  }
42221
41648
  },
42222
- "onPressEnd": {
41649
+ "minValue": {
42223
41650
  "defaultValue": null,
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",
41651
+ "description": "The minimum value of the input element.",
41652
+ "name": "minValue",
42226
41653
  "parent": {
42227
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42228
- "name": "PressEvents"
41654
+ "fileName": "components/src/stepper/types.ts",
41655
+ "name": "StepperProps"
42229
41656
  },
42230
41657
  "declarations": [
42231
41658
  {
42232
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42233
- "name": "PressEvents"
41659
+ "fileName": "components/src/stepper/types.ts",
41660
+ "name": "StepperProps"
42234
41661
  }
42235
41662
  ],
42236
41663
  "required": false,
42237
41664
  "type": {
42238
- "name": "(e: PressEvent) => void"
41665
+ "name": "number"
42239
41666
  }
42240
41667
  },
42241
- "onPressChange": {
41668
+ "maxValue": {
42242
41669
  "defaultValue": null,
42243
- "description": "Handler that is called when the press state changes.",
42244
- "name": "onPressChange",
41670
+ "description": "The maximum value of the input element.",
41671
+ "name": "maxValue",
42245
41672
  "parent": {
42246
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42247
- "name": "PressEvents"
41673
+ "fileName": "components/src/stepper/types.ts",
41674
+ "name": "StepperProps"
42248
41675
  },
42249
41676
  "declarations": [
42250
41677
  {
42251
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42252
- "name": "PressEvents"
41678
+ "fileName": "components/src/stepper/types.ts",
41679
+ "name": "StepperProps"
42253
41680
  }
42254
41681
  ],
42255
41682
  "required": false,
42256
41683
  "type": {
42257
- "name": "(isPressed: boolean) => void"
41684
+ "name": "number"
42258
41685
  }
42259
41686
  },
42260
- "onPressUp": {
41687
+ "formatOptions": {
42261
41688
  "defaultValue": null,
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",
41689
+ "description": "Options to format the input value.",
41690
+ "name": "formatOptions",
42264
41691
  "parent": {
42265
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42266
- "name": "PressEvents"
41692
+ "fileName": "components/src/stepper/types.ts",
41693
+ "name": "StepperProps"
42267
41694
  },
42268
41695
  "declarations": [
42269
41696
  {
42270
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42271
- "name": "PressEvents"
41697
+ "fileName": "components/src/stepper/types.ts",
41698
+ "name": "StepperProps"
42272
41699
  }
42273
41700
  ],
42274
41701
  "required": false,
42275
41702
  "type": {
42276
- "name": "(e: PressEvent) => void"
41703
+ "name": "NumberFormatOptions"
42277
41704
  }
42278
41705
  },
42279
- "disabled": {
41706
+ "className": {
42280
41707
  "defaultValue": null,
42281
- "description": "",
42282
- "name": "disabled",
41708
+ "description": "CSS class applied to the element, or a function that\nreturns a class based on the component’s state.",
41709
+ "name": "className",
42283
41710
  "declarations": [
42284
41711
  {
42285
- "fileName": "components/src/stepper/types.ts",
41712
+ "fileName": "spark-web/node_modules/@base-ui-components/react/utils/types.d.ts",
42286
41713
  "name": "TypeLiteral"
42287
41714
  }
42288
41715
  ],
42289
41716
  "required": false,
42290
41717
  "type": {
42291
- "name": "boolean"
41718
+ "name": "string | ((state: State) => string)"
42292
41719
  }
42293
- }
42294
- }
42295
- },
42296
- "Stepper.Input": {
42297
- "tags": {},
42298
- "description": "",
42299
- "displayName": "Stepper.Input",
42300
- "methods": [],
42301
- "props": {
42302
- "ref": {
41720
+ },
41721
+ "defaultValue": {
42303
41722
  "defaultValue": null,
42304
- "description": "",
42305
- "name": "ref",
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",
42306
41725
  "parent": {
42307
- "fileName": "src/input/Input.tsx",
42308
- "name": "InputProps"
41726
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41727
+ "name": "Props"
42309
41728
  },
42310
41729
  "declarations": [
42311
41730
  {
42312
- "fileName": "src/input/Input.tsx",
42313
- "name": "InputProps"
42314
- },
42315
- {
42316
- "fileName": "components/src/stepper/types.ts",
42317
- "name": "TypeLiteral"
41731
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41732
+ "name": "Props"
42318
41733
  }
42319
41734
  ],
42320
41735
  "required": false,
42321
41736
  "type": {
42322
- "name": "Ref<HTMLInputElement>"
41737
+ "name": "number"
42323
41738
  }
42324
41739
  },
42325
- "onValueChange": {
41740
+ "id": {
42326
41741
  "defaultValue": null,
42327
- "description": "",
42328
- "name": "onValueChange",
41742
+ "description": "The id of the input element.",
41743
+ "name": "id",
42329
41744
  "parent": {
42330
- "fileName": "src/input/Input.tsx",
42331
- "name": "InputProps"
41745
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41746
+ "name": "Props"
42332
41747
  },
42333
41748
  "declarations": [
42334
41749
  {
42335
- "fileName": "src/input/Input.tsx",
42336
- "name": "InputProps"
41750
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41751
+ "name": "Props"
42337
41752
  }
42338
41753
  ],
42339
41754
  "required": false,
42340
41755
  "type": {
42341
- "name": "(value: string) => void"
42342
- }
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": {
42360
- "defaultValue": null,
42361
- "description": "",
42362
- "name": "inputRef",
42363
- "parent": {
42364
- "fileName": "components/src/stepper/types.ts",
42365
- "name": "UseStepperArgs"
42366
- },
42367
- "declarations": [
42368
- {
42369
- "fileName": "components/src/stepper/types.ts",
42370
- "name": "UseStepperArgs"
42371
- }
42372
- ],
42373
- "required": true,
42374
- "type": {
42375
- "name": "RefObject<HTMLInputElement>"
41756
+ "name": "string"
42376
41757
  }
42377
41758
  },
42378
- "disabled": {
41759
+ "value": {
42379
41760
  "defaultValue": null,
42380
- "description": "Sets the component as interactive or not.",
42381
- "name": "disabled",
41761
+ "description": "The raw numeric value of the field.",
41762
+ "name": "value",
42382
41763
  "parent": {
42383
- "fileName": "components/src/stepper/types.ts",
42384
- "name": "UseStepperArgs"
41764
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41765
+ "name": "Props"
42385
41766
  },
42386
41767
  "declarations": [
42387
41768
  {
42388
- "fileName": "components/src/stepper/types.ts",
42389
- "name": "UseStepperArgs"
41769
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41770
+ "name": "Props"
42390
41771
  }
42391
41772
  ],
42392
41773
  "required": false,
42393
41774
  "type": {
42394
- "name": "boolean"
41775
+ "name": "number"
42395
41776
  }
42396
41777
  },
42397
- "readOnly": {
42398
- "defaultValue": null,
42399
- "description": "Sets the component as editable or not.",
42400
- "name": "readOnly",
41778
+ "disabled": {
41779
+ "defaultValue": {
41780
+ "value": "false"
41781
+ },
41782
+ "description": "Whether the component should ignore user interaction.",
41783
+ "name": "disabled",
42401
41784
  "parent": {
42402
- "fileName": "components/src/stepper/types.ts",
42403
- "name": "UseStepperArgs"
41785
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41786
+ "name": "Props"
42404
41787
  },
42405
41788
  "declarations": [
42406
41789
  {
42407
- "fileName": "components/src/stepper/types.ts",
42408
- "name": "UseStepperArgs"
41790
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41791
+ "name": "Props"
42409
41792
  }
42410
41793
  ],
42411
41794
  "required": false,
@@ -42413,58 +41796,58 @@
42413
41796
  "name": "boolean"
42414
41797
  }
42415
41798
  },
42416
- "required": {
41799
+ "onValueChange": {
42417
41800
  "defaultValue": null,
42418
- "description": "Sets the component as mandatory for form validation.",
42419
- "name": "required",
41801
+ "description": "Callback fired when the number value changes.",
41802
+ "name": "onValueChange",
42420
41803
  "parent": {
42421
- "fileName": "components/src/stepper/types.ts",
42422
- "name": "UseStepperArgs"
41804
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41805
+ "name": "Props"
42423
41806
  },
42424
41807
  "declarations": [
42425
41808
  {
42426
- "fileName": "components/src/stepper/types.ts",
42427
- "name": "UseStepperArgs"
41809
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41810
+ "name": "Props"
42428
41811
  }
42429
41812
  ],
42430
41813
  "required": false,
42431
41814
  "type": {
42432
- "name": "boolean"
41815
+ "name": "(value: number, eventDetails: { reason: \"none\"; event: Event; cancel: () => void; allowPropagation: () => void; isCanceled: boolean; isPropagationAllowed: boolean; }) => void"
42433
41816
  }
42434
41817
  },
42435
- "locale": {
41818
+ "step": {
42436
41819
  "defaultValue": {
42437
- "value": "fr"
41820
+ "value": "1"
42438
41821
  },
42439
- "description": "The [BCP47](https://www.ietf.org/rfc/bcp/bcp47.txt) language code for the locale.",
42440
- "name": "locale",
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",
42441
41824
  "parent": {
42442
- "fileName": "components/src/stepper/types.ts",
42443
- "name": "UseStepperArgs"
41825
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41826
+ "name": "Props"
42444
41827
  },
42445
41828
  "declarations": [
42446
41829
  {
42447
- "fileName": "components/src/stepper/types.ts",
42448
- "name": "UseStepperArgs"
41830
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41831
+ "name": "Props"
42449
41832
  }
42450
41833
  ],
42451
41834
  "required": false,
42452
41835
  "type": {
42453
- "name": "string"
41836
+ "name": "number"
42454
41837
  }
42455
41838
  },
42456
- "aria-label": {
41839
+ "name": {
42457
41840
  "defaultValue": null,
42458
- "description": "Defines a string value that labels the current element.",
42459
- "name": "aria-label",
41841
+ "description": "Identifies the field when a form is submitted.",
41842
+ "name": "name",
42460
41843
  "parent": {
42461
- "fileName": "spark-web/node_modules/@react-types/shared/src/dom.d.ts",
42462
- "name": "AriaLabelingProps"
41844
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41845
+ "name": "Props"
42463
41846
  },
42464
41847
  "declarations": [
42465
41848
  {
42466
- "fileName": "spark-web/node_modules/@react-types/shared/src/dom.d.ts",
42467
- "name": "AriaLabelingProps"
41849
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41850
+ "name": "Props"
42468
41851
  }
42469
41852
  ],
42470
41853
  "required": false,
@@ -42472,68 +41855,62 @@
42472
41855
  "name": "string"
42473
41856
  }
42474
41857
  },
42475
- "onChange": {
42476
- "defaultValue": null,
42477
- "description": "Handler that is called when the value changes.",
42478
- "name": "onChange",
41858
+ "required": {
41859
+ "defaultValue": {
41860
+ "value": "false"
41861
+ },
41862
+ "description": "Whether the user must enter a value before submitting a form.",
41863
+ "name": "required",
42479
41864
  "parent": {
42480
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42481
- "name": "ValueBase"
41865
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41866
+ "name": "Props"
42482
41867
  },
42483
41868
  "declarations": [
42484
41869
  {
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"
41870
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41871
+ "name": "Props"
42491
41872
  }
42492
41873
  ],
42493
41874
  "required": false,
42494
41875
  "type": {
42495
- "name": "(value: number) => void"
41876
+ "name": "boolean"
42496
41877
  }
42497
41878
  },
42498
- "value": {
42499
- "defaultValue": null,
42500
- "description": "The current value (controlled).",
42501
- "name": "value",
41879
+ "readOnly": {
41880
+ "defaultValue": {
41881
+ "value": "false"
41882
+ },
41883
+ "description": "Whether the user should be unable to change the field value.",
41884
+ "name": "readOnly",
42502
41885
  "parent": {
42503
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42504
- "name": "ValueBase"
41886
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41887
+ "name": "Props"
42505
41888
  },
42506
41889
  "declarations": [
42507
41890
  {
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"
41891
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41892
+ "name": "Props"
42514
41893
  }
42515
41894
  ],
42516
41895
  "required": false,
42517
41896
  "type": {
42518
- "name": "number"
41897
+ "name": "boolean"
42519
41898
  }
42520
41899
  },
42521
- "step": {
42522
- "defaultValue": null,
42523
- "description": "The amount that the input value changes with each increment or decrement \"tick\".",
42524
- "name": "step",
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",
42525
41906
  "parent": {
42526
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42527
- "name": "RangeInputBase"
41907
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41908
+ "name": "Props"
42528
41909
  },
42529
41910
  "declarations": [
42530
41911
  {
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"
41912
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41913
+ "name": "Props"
42537
41914
  }
42538
41915
  ],
42539
41916
  "required": false,
@@ -42541,123 +41918,116 @@
42541
41918
  "name": "number"
42542
41919
  }
42543
41920
  },
42544
- "placeholder": {
42545
- "defaultValue": null,
42546
- "description": "Temporary text that occupies the text input when it is empty.",
42547
- "name": "placeholder",
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",
42548
41927
  "parent": {
42549
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42550
- "name": "TextInputBase"
41928
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41929
+ "name": "Props"
42551
41930
  },
42552
41931
  "declarations": [
42553
41932
  {
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"
41933
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41934
+ "name": "Props"
42560
41935
  }
42561
41936
  ],
42562
41937
  "required": false,
42563
41938
  "type": {
42564
- "name": "string"
41939
+ "name": "number"
42565
41940
  }
42566
41941
  },
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",
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",
42571
41948
  "parent": {
42572
- "fileName": "spark-web/node_modules/@react-types/numberfield/src/index.d.ts",
42573
- "name": "NumberFieldProps"
41949
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41950
+ "name": "Props"
42574
41951
  },
42575
41952
  "declarations": [
42576
41953
  {
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"
41954
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41955
+ "name": "Props"
42583
41956
  }
42584
41957
  ],
42585
41958
  "required": false,
42586
41959
  "type": {
42587
- "name": "NumberFormatOptions"
41960
+ "name": "boolean"
42588
41961
  }
42589
41962
  },
42590
- "onFocusChange": {
42591
- "defaultValue": null,
42592
- "description": "Handler that is called when the element's focus status changes.",
42593
- "name": "onFocusChange",
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",
42594
41969
  "parent": {
42595
- "fileName": "spark-web/node_modules/@react-types/shared/src/events.d.ts",
42596
- "name": "FocusEvents"
41970
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41971
+ "name": "Props"
42597
41972
  },
42598
41973
  "declarations": [
42599
41974
  {
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"
41975
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41976
+ "name": "Props"
42606
41977
  }
42607
41978
  ],
42608
41979
  "required": false,
42609
41980
  "type": {
42610
- "name": "(isFocused: boolean) => void"
41981
+ "name": "boolean"
42611
41982
  }
42612
41983
  },
42613
- "minValue": {
41984
+ "locale": {
42614
41985
  "defaultValue": null,
42615
- "description": "The smallest value allowed for the input.",
42616
- "name": "minValue",
41986
+ "description": "The locale of the input element.\nDefaults to the user's runtime locale.",
41987
+ "name": "locale",
42617
41988
  "parent": {
42618
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42619
- "name": "RangeInputBase"
41989
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41990
+ "name": "Props"
42620
41991
  },
42621
41992
  "declarations": [
42622
41993
  {
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"
41994
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
41995
+ "name": "Props"
42629
41996
  }
42630
41997
  ],
42631
41998
  "required": false,
42632
41999
  "type": {
42633
- "name": "number"
42000
+ "name": "LocalesArgument"
42634
42001
  }
42635
42002
  },
42636
- "maxValue": {
42003
+ "inputRef": {
42637
42004
  "defaultValue": null,
42638
- "description": "The largest value allowed for the input.",
42639
- "name": "maxValue",
42005
+ "description": "A ref to access the hidden input element.",
42006
+ "name": "inputRef",
42640
42007
  "parent": {
42641
- "fileName": "spark-web/node_modules/@react-types/shared/src/inputs.d.ts",
42642
- "name": "RangeInputBase"
42008
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
42009
+ "name": "Props"
42643
42010
  },
42644
42011
  "declarations": [
42645
42012
  {
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"
42013
+ "fileName": "spark-web/node_modules/@base-ui-components/react/number-field/root/NumberFieldRoot.d.ts",
42014
+ "name": "Props"
42652
42015
  }
42653
42016
  ],
42654
42017
  "required": false,
42655
42018
  "type": {
42656
- "name": "number"
42019
+ "name": "Ref<HTMLInputElement>"
42657
42020
  }
42658
42021
  }
42659
42022
  }
42660
42023
  },
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
+ },
42661
42031
  "Switch": {
42662
42032
  "tags": {},
42663
42033
  "description": "",