@navikt/ds-react 4.6.1 → 4.7.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.
Files changed (113) hide show
  1. package/_docs.json +1711 -169
  2. package/cjs/chips/Chips.js +1 -2
  3. package/cjs/form/combobox/ClearButton.js +27 -0
  4. package/cjs/form/combobox/Combobox.js +78 -0
  5. package/cjs/form/combobox/ComboboxProvider.js +99 -0
  6. package/cjs/form/combobox/ComboboxWrapper.js +51 -0
  7. package/cjs/form/combobox/FilteredOptions/CheckIcon.js +11 -0
  8. package/cjs/form/combobox/FilteredOptions/FilteredOptions.js +46 -0
  9. package/cjs/form/combobox/FilteredOptions/filteredOptionsContext.js +208 -0
  10. package/cjs/form/combobox/Input/Input.js +143 -0
  11. package/cjs/form/combobox/Input/inputContext.js +86 -0
  12. package/cjs/form/combobox/SelectedOptions/SelectedOptions.js +27 -0
  13. package/cjs/form/combobox/SelectedOptions/selectedOptionsContext.js +107 -0
  14. package/cjs/form/combobox/ToggleListButton.js +36 -0
  15. package/cjs/form/combobox/customOptionsContext.js +56 -0
  16. package/cjs/form/combobox/index.js +8 -0
  17. package/cjs/form/combobox/package.json +6 -0
  18. package/cjs/form/combobox/types.js +2 -0
  19. package/cjs/form/index.js +3 -1
  20. package/cjs/timeline/AxisLabels.js +12 -12
  21. package/cjs/timeline/Timeline.js +2 -2
  22. package/cjs/util/usePrevious.js +18 -0
  23. package/esm/chips/Chips.js +1 -2
  24. package/esm/chips/Chips.js.map +1 -1
  25. package/esm/date/datepicker/TableHead.d.ts +1 -0
  26. package/esm/form/Fieldset/useFieldset.d.ts +1 -1
  27. package/esm/form/checkbox/useCheckbox.d.ts +4 -4
  28. package/esm/form/combobox/ClearButton.d.ts +7 -0
  29. package/esm/form/combobox/ClearButton.js +21 -0
  30. package/esm/form/combobox/ClearButton.js.map +1 -0
  31. package/esm/form/combobox/Combobox.d.ts +4 -0
  32. package/esm/form/combobox/Combobox.js +50 -0
  33. package/esm/form/combobox/Combobox.js.map +1 -0
  34. package/esm/form/combobox/ComboboxProvider.d.ts +26 -0
  35. package/esm/form/combobox/ComboboxProvider.js +72 -0
  36. package/esm/form/combobox/ComboboxProvider.js.map +1 -0
  37. package/esm/form/combobox/ComboboxWrapper.d.ts +14 -0
  38. package/esm/form/combobox/ComboboxWrapper.js +24 -0
  39. package/esm/form/combobox/ComboboxWrapper.js.map +1 -0
  40. package/esm/form/combobox/FilteredOptions/CheckIcon.d.ts +3 -0
  41. package/esm/form/combobox/FilteredOptions/CheckIcon.js +7 -0
  42. package/esm/form/combobox/FilteredOptions/CheckIcon.js.map +1 -0
  43. package/esm/form/combobox/FilteredOptions/FilteredOptions.d.ts +3 -0
  44. package/esm/form/combobox/FilteredOptions/FilteredOptions.js +42 -0
  45. package/esm/form/combobox/FilteredOptions/FilteredOptions.js.map +1 -0
  46. package/esm/form/combobox/FilteredOptions/filteredOptionsContext.d.ts +27 -0
  47. package/esm/form/combobox/FilteredOptions/filteredOptionsContext.js +178 -0
  48. package/esm/form/combobox/FilteredOptions/filteredOptionsContext.js.map +1 -0
  49. package/esm/form/combobox/Input/Input.d.ts +10 -0
  50. package/esm/form/combobox/Input/Input.js +116 -0
  51. package/esm/form/combobox/Input/Input.js.map +1 -0
  52. package/esm/form/combobox/Input/inputContext.d.ts +19 -0
  53. package/esm/form/combobox/Input/inputContext.js +59 -0
  54. package/esm/form/combobox/Input/inputContext.js.map +1 -0
  55. package/esm/form/combobox/SelectedOptions/SelectedOptions.d.ts +8 -0
  56. package/esm/form/combobox/SelectedOptions/SelectedOptions.js +23 -0
  57. package/esm/form/combobox/SelectedOptions/SelectedOptions.js.map +1 -0
  58. package/esm/form/combobox/SelectedOptions/selectedOptionsContext.d.ts +17 -0
  59. package/esm/form/combobox/SelectedOptions/selectedOptionsContext.js +77 -0
  60. package/esm/form/combobox/SelectedOptions/selectedOptionsContext.js.map +1 -0
  61. package/esm/form/combobox/ToggleListButton.d.ts +6 -0
  62. package/esm/form/combobox/ToggleListButton.js +11 -0
  63. package/esm/form/combobox/ToggleListButton.js.map +1 -0
  64. package/esm/form/combobox/customOptionsContext.d.ts +11 -0
  65. package/esm/form/combobox/customOptionsContext.js +29 -0
  66. package/esm/form/combobox/customOptionsContext.js.map +1 -0
  67. package/esm/form/combobox/index.d.ts +2 -0
  68. package/esm/form/combobox/index.js +2 -0
  69. package/esm/form/combobox/index.js.map +1 -0
  70. package/esm/form/combobox/types.d.ts +119 -0
  71. package/esm/form/combobox/types.js +2 -0
  72. package/esm/form/combobox/types.js.map +1 -0
  73. package/esm/form/index.d.ts +1 -0
  74. package/esm/form/index.js +1 -0
  75. package/esm/form/index.js.map +1 -1
  76. package/esm/form/radio/useRadio.d.ts +4 -4
  77. package/esm/form/useFormField.d.ts +11 -10
  78. package/esm/form/useFormField.js.map +1 -1
  79. package/esm/timeline/AxisLabels.d.ts +7 -5
  80. package/esm/timeline/AxisLabels.js +12 -12
  81. package/esm/timeline/AxisLabels.js.map +1 -1
  82. package/esm/timeline/Timeline.d.ts +6 -0
  83. package/esm/timeline/Timeline.js +2 -2
  84. package/esm/timeline/Timeline.js.map +1 -1
  85. package/esm/timeline/utils/types.external.d.ts +5 -0
  86. package/esm/util/usePrevious.d.ts +2 -0
  87. package/esm/util/usePrevious.js +17 -0
  88. package/esm/util/usePrevious.js.map +1 -0
  89. package/package.json +2 -2
  90. package/src/chips/Chips.tsx +1 -1
  91. package/src/form/combobox/ClearButton.tsx +29 -0
  92. package/src/form/combobox/Combobox.tsx +136 -0
  93. package/src/form/combobox/ComboboxProvider.tsx +99 -0
  94. package/src/form/combobox/ComboboxWrapper.tsx +63 -0
  95. package/src/form/combobox/FilteredOptions/CheckIcon.tsx +23 -0
  96. package/src/form/combobox/FilteredOptions/FilteredOptions.tsx +106 -0
  97. package/src/form/combobox/FilteredOptions/filteredOptionsContext.tsx +266 -0
  98. package/src/form/combobox/Input/Input.tsx +170 -0
  99. package/src/form/combobox/Input/inputContext.tsx +127 -0
  100. package/src/form/combobox/SelectedOptions/SelectedOptions.tsx +45 -0
  101. package/src/form/combobox/SelectedOptions/selectedOptionsContext.tsx +147 -0
  102. package/src/form/combobox/ToggleListButton.tsx +37 -0
  103. package/src/form/combobox/combobox.stories.tsx +413 -0
  104. package/src/form/combobox/combobox.test.tsx +123 -0
  105. package/src/form/combobox/customOptionsContext.tsx +57 -0
  106. package/src/form/combobox/index.ts +2 -0
  107. package/src/form/combobox/types.ts +122 -0
  108. package/src/form/index.ts +1 -0
  109. package/src/form/useFormField.ts +19 -1
  110. package/src/timeline/AxisLabels.tsx +23 -13
  111. package/src/timeline/Timeline.tsx +18 -2
  112. package/src/timeline/utils/types.external.ts +6 -0
  113. package/src/util/usePrevious.ts +19 -0
package/_docs.json CHANGED
@@ -8678,6 +8678,27 @@
8678
8678
  }
8679
8679
  }
8680
8680
  },
8681
+ {
8682
+ "filePath": "src/timeline/AxisLabels.tsx",
8683
+ "displayName": "AxisLabels",
8684
+ "props": {
8685
+ "templates": {
8686
+ "defaultValue": null,
8687
+ "description": "",
8688
+ "name": "templates",
8689
+ "declarations": [
8690
+ {
8691
+ "fileName": "src/timeline/AxisLabels.tsx",
8692
+ "name": "TypeLiteral"
8693
+ }
8694
+ ],
8695
+ "required": false,
8696
+ "type": {
8697
+ "name": "AxisLabelTemplates"
8698
+ }
8699
+ }
8700
+ }
8701
+ },
8681
8702
  {
8682
8703
  "filePath": "src/timeline/Pin.tsx",
8683
8704
  "displayName": "Pin",
@@ -8823,6 +8844,25 @@
8823
8844
  "name": "\"left\" | \"right\""
8824
8845
  }
8825
8846
  },
8847
+ "axisLabelTemplates": {
8848
+ "defaultValue": null,
8849
+ "description": "Templates for label texts. The templates are passed to the date-fns `format` function.\nDefaults to { day: \"dd.MM\", month: \"MMM yy\", year: \"yyyy\" }.",
8850
+ "name": "axisLabelTemplates",
8851
+ "parent": {
8852
+ "fileName": "src/timeline/Timeline.tsx",
8853
+ "name": "TimelineProps"
8854
+ },
8855
+ "declarations": [
8856
+ {
8857
+ "fileName": "src/timeline/Timeline.tsx",
8858
+ "name": "TimelineProps"
8859
+ }
8860
+ ],
8861
+ "required": false,
8862
+ "type": {
8863
+ "name": "AxisLabelTemplates"
8864
+ }
8865
+ },
8826
8866
  "className": {
8827
8867
  "defaultValue": null,
8828
8868
  "description": "",
@@ -13805,87 +13845,45 @@
13805
13845
  }
13806
13846
  },
13807
13847
  {
13808
- "filePath": "src/form/error-summary/ErrorSummary.tsx",
13809
- "displayName": "ErrorSummary",
13848
+ "filePath": "src/form/combobox/ClearButton.tsx",
13849
+ "displayName": "ClearButton",
13810
13850
  "props": {
13811
- "children": {
13851
+ "handleClear": {
13812
13852
  "defaultValue": null,
13813
- "description": "Collectipn of ErrorSummary.Item",
13814
- "name": "children",
13853
+ "description": "",
13854
+ "name": "handleClear",
13815
13855
  "parent": {
13816
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13817
- "name": "ErrorSummaryProps"
13856
+ "fileName": "src/form/combobox/ClearButton.tsx",
13857
+ "name": "ClearButtonProps"
13818
13858
  },
13819
13859
  "declarations": [
13820
13860
  {
13821
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13822
- "name": "ErrorSummaryProps"
13861
+ "fileName": "src/form/combobox/ClearButton.tsx",
13862
+ "name": "ClearButtonProps"
13823
13863
  }
13824
13864
  ],
13825
13865
  "required": true,
13826
13866
  "type": {
13827
- "name": "ReactNode"
13828
- }
13829
- },
13830
- "size": {
13831
- "defaultValue": {
13832
- "value": "\"medium\""
13833
- },
13834
- "description": "Changes padding and font-sizes",
13835
- "name": "size",
13836
- "parent": {
13837
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13838
- "name": "ErrorSummaryProps"
13839
- },
13840
- "declarations": [
13841
- {
13842
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13843
- "name": "ErrorSummaryProps"
13844
- }
13845
- ],
13846
- "required": false,
13847
- "type": {
13848
- "name": "\"medium\" | \"small\""
13867
+ "name": "(event: any) => void"
13849
13868
  }
13850
13869
  },
13851
- "heading": {
13870
+ "clearButtonLabel": {
13852
13871
  "defaultValue": null,
13853
- "description": "Heading above links",
13854
- "name": "heading",
13855
- "parent": {
13856
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13857
- "name": "ErrorSummaryProps"
13858
- },
13859
- "declarations": [
13860
- {
13861
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13862
- "name": "ErrorSummaryProps"
13863
- }
13864
- ],
13865
- "required": false,
13866
- "type": {
13867
- "name": "ReactNode"
13868
- }
13869
- },
13870
- "headingTag": {
13871
- "defaultValue": {
13872
- "value": "\"h2\""
13873
- },
13874
- "description": "Allows setting a different HTML h-tag",
13875
- "name": "headingTag",
13872
+ "description": "",
13873
+ "name": "clearButtonLabel",
13876
13874
  "parent": {
13877
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13878
- "name": "ErrorSummaryProps"
13875
+ "fileName": "src/form/combobox/ClearButton.tsx",
13876
+ "name": "ClearButtonProps"
13879
13877
  },
13880
13878
  "declarations": [
13881
13879
  {
13882
- "fileName": "src/form/error-summary/ErrorSummary.tsx",
13883
- "name": "ErrorSummaryProps"
13880
+ "fileName": "src/form/combobox/ClearButton.tsx",
13881
+ "name": "ClearButtonProps"
13884
13882
  }
13885
13883
  ],
13886
13884
  "required": false,
13887
13885
  "type": {
13888
- "name": "ElementType<any>"
13886
+ "name": "string"
13889
13887
  }
13890
13888
  },
13891
13889
  "className": {
@@ -13906,68 +13904,68 @@
13906
13904
  "type": {
13907
13905
  "name": "string"
13908
13906
  }
13909
- },
13910
- "ref": {
13907
+ }
13908
+ }
13909
+ },
13910
+ {
13911
+ "filePath": "src/form/combobox/Combobox.tsx",
13912
+ "displayName": "Combobox",
13913
+ "props": {
13914
+ "value": {
13911
13915
  "defaultValue": null,
13912
- "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
13913
- "name": "ref",
13916
+ "description": "Set this to override the value of the input field.\n\nThis converts the input to a controlled input, so you have to use onChange to update the value.",
13917
+ "name": "value",
13914
13918
  "parent": {
13915
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
13916
- "name": "RefAttributes"
13919
+ "fileName": "react/src/form/combobox/types.ts",
13920
+ "name": "ComboboxProps"
13917
13921
  },
13918
13922
  "declarations": [
13919
13923
  {
13920
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
13921
- "name": "RefAttributes"
13924
+ "fileName": "react/src/form/combobox/types.ts",
13925
+ "name": "ComboboxProps"
13922
13926
  }
13923
13927
  ],
13924
13928
  "required": false,
13925
13929
  "type": {
13926
- "name": "Ref<HTMLDivElement>"
13930
+ "name": "string"
13927
13931
  }
13928
- }
13929
- }
13930
- },
13931
- {
13932
- "filePath": "src/form/error-summary/ErrorSummaryItem.tsx",
13933
- "displayName": "ErrorSummaryItem",
13934
- "props": {
13935
- "children": {
13932
+ },
13933
+ "disabled": {
13936
13934
  "defaultValue": null,
13937
- "description": "Link text",
13938
- "name": "children",
13935
+ "description": "Disables element\n@note Avoid using if possible for accessibility purposes",
13936
+ "name": "disabled",
13939
13937
  "parent": {
13940
- "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
13941
- "name": "ErrorSummaryItemProps"
13938
+ "fileName": "react/src/form/useFormField.ts",
13939
+ "name": "FormFieldProps"
13942
13940
  },
13943
13941
  "declarations": [
13944
13942
  {
13945
- "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
13946
- "name": "ErrorSummaryItemProps"
13943
+ "fileName": "react/src/form/useFormField.ts",
13944
+ "name": "FormFieldProps"
13947
13945
  }
13948
13946
  ],
13949
- "required": true,
13947
+ "required": false,
13950
13948
  "type": {
13951
- "name": "ReactNode"
13949
+ "name": "boolean"
13952
13950
  }
13953
13951
  },
13954
- "href": {
13952
+ "readOnly": {
13955
13953
  "defaultValue": null,
13956
- "description": "Link to errormessage",
13957
- "name": "href",
13954
+ "description": "Read only-state",
13955
+ "name": "readOnly",
13958
13956
  "parent": {
13959
- "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
13960
- "name": "ErrorSummaryItemProps"
13957
+ "fileName": "react/src/form/useFormField.ts",
13958
+ "name": "FormFieldProps"
13961
13959
  },
13962
13960
  "declarations": [
13963
13961
  {
13964
- "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
13965
- "name": "ErrorSummaryItemProps"
13962
+ "fileName": "react/src/form/useFormField.ts",
13963
+ "name": "FormFieldProps"
13966
13964
  }
13967
13965
  ],
13968
13966
  "required": false,
13969
13967
  "type": {
13970
- "name": "string"
13968
+ "name": "boolean"
13971
13969
  }
13972
13970
  },
13973
13971
  "className": {
@@ -13989,43 +13987,37 @@
13989
13987
  "name": "string"
13990
13988
  }
13991
13989
  },
13992
- "ref": {
13990
+ "id": {
13993
13991
  "defaultValue": null,
13994
- "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
13995
- "name": "ref",
13992
+ "description": "Override internal id",
13993
+ "name": "id",
13996
13994
  "parent": {
13997
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
13998
- "name": "RefAttributes"
13995
+ "fileName": "react/src/form/useFormField.ts",
13996
+ "name": "FormFieldProps"
13999
13997
  },
14000
13998
  "declarations": [
14001
13999
  {
14002
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14003
- "name": "RefAttributes"
14000
+ "fileName": "react/src/form/useFormField.ts",
14001
+ "name": "FormFieldProps"
14004
14002
  }
14005
14003
  ],
14006
14004
  "required": false,
14007
14005
  "type": {
14008
- "name": "Ref<HTMLAnchorElement>"
14006
+ "name": "string"
14009
14007
  }
14010
- }
14011
- }
14012
- },
14013
- {
14014
- "filePath": "src/form/radio/Radio.tsx",
14015
- "displayName": "Radio",
14016
- "props": {
14017
- "children": {
14008
+ },
14009
+ "label": {
14018
14010
  "defaultValue": null,
14019
- "description": "Radio label",
14020
- "name": "children",
14011
+ "description": "Combobox label",
14012
+ "name": "label",
14021
14013
  "parent": {
14022
- "fileName": "src/form/radio/Radio.tsx",
14023
- "name": "RadioProps"
14014
+ "fileName": "react/src/form/combobox/types.ts",
14015
+ "name": "ComboboxProps"
14024
14016
  },
14025
14017
  "declarations": [
14026
14018
  {
14027
- "fileName": "src/form/radio/Radio.tsx",
14028
- "name": "RadioProps"
14019
+ "fileName": "react/src/form/combobox/types.ts",
14020
+ "name": "ComboboxProps"
14029
14021
  }
14030
14022
  ],
14031
14023
  "required": true,
@@ -14033,113 +14025,115 @@
14033
14025
  "name": "ReactNode"
14034
14026
  }
14035
14027
  },
14036
- "value": {
14028
+ "allowNewValues": {
14037
14029
  "defaultValue": null,
14038
- "description": "The value of the HTML element",
14039
- "name": "value",
14030
+ "description": "If enabled, adds an option to add the value of the input as an option whenever there are no options matching the value.",
14031
+ "name": "allowNewValues",
14040
14032
  "parent": {
14041
- "fileName": "src/form/radio/Radio.tsx",
14042
- "name": "RadioProps"
14033
+ "fileName": "react/src/form/combobox/types.ts",
14034
+ "name": "ComboboxProps"
14043
14035
  },
14044
14036
  "declarations": [
14045
14037
  {
14046
- "fileName": "src/form/radio/Radio.tsx",
14047
- "name": "RadioProps"
14038
+ "fileName": "react/src/form/combobox/types.ts",
14039
+ "name": "ComboboxProps"
14048
14040
  }
14049
14041
  ],
14050
- "required": true,
14042
+ "required": false,
14051
14043
  "type": {
14052
- "name": "any"
14044
+ "name": "boolean"
14053
14045
  }
14054
14046
  },
14055
- "description": {
14047
+ "clearButton": {
14056
14048
  "defaultValue": null,
14057
- "description": "Adds a description to extend labling of Radio",
14058
- "name": "description",
14049
+ "description": "If \"true\" adds a button to clear the value in the input field",
14050
+ "name": "clearButton",
14059
14051
  "parent": {
14060
- "fileName": "src/form/radio/Radio.tsx",
14061
- "name": "RadioProps"
14052
+ "fileName": "react/src/form/combobox/types.ts",
14053
+ "name": "ComboboxProps"
14062
14054
  },
14063
14055
  "declarations": [
14064
14056
  {
14065
- "fileName": "src/form/radio/Radio.tsx",
14066
- "name": "RadioProps"
14057
+ "fileName": "react/src/form/combobox/types.ts",
14058
+ "name": "ComboboxProps"
14067
14059
  }
14068
14060
  ],
14069
14061
  "required": false,
14070
14062
  "type": {
14071
- "name": "string"
14063
+ "name": "boolean"
14072
14064
  }
14073
14065
  },
14074
- "size": {
14075
- "defaultValue": null,
14076
- "description": "Changes font-size, padding and gaps",
14077
- "name": "size",
14066
+ "clearButtonLabel": {
14067
+ "defaultValue": {
14068
+ "value": "\"Tøm\""
14069
+ },
14070
+ "description": "Custom name for the clear button. Requires \"clearButton\" to be \"true\".",
14071
+ "name": "clearButtonLabel",
14078
14072
  "parent": {
14079
- "fileName": "react/src/form/useFormField.ts",
14080
- "name": "FormFieldProps"
14073
+ "fileName": "react/src/form/combobox/types.ts",
14074
+ "name": "ComboboxProps"
14081
14075
  },
14082
14076
  "declarations": [
14083
14077
  {
14084
- "fileName": "react/src/form/useFormField.ts",
14085
- "name": "FormFieldProps"
14078
+ "fileName": "react/src/form/combobox/types.ts",
14079
+ "name": "ComboboxProps"
14086
14080
  }
14087
14081
  ],
14088
14082
  "required": false,
14089
14083
  "type": {
14090
- "name": "\"medium\" | \"small\""
14084
+ "name": "string"
14091
14085
  }
14092
14086
  },
14093
- "disabled": {
14087
+ "filteredOptions": {
14094
14088
  "defaultValue": null,
14095
- "description": "Disables element\n@note Avoid using if possible for accessibility purposes",
14096
- "name": "disabled",
14089
+ "description": "A list of options to display in the dropdown list.\nIf provided, this overrides the internal search logic in the component.\nUseful for e.g. searching on a server or when overriding the search algorithm to search for synonyms or similar.",
14090
+ "name": "filteredOptions",
14097
14091
  "parent": {
14098
- "fileName": "react/src/form/useFormField.ts",
14099
- "name": "FormFieldProps"
14092
+ "fileName": "react/src/form/combobox/types.ts",
14093
+ "name": "ComboboxProps"
14100
14094
  },
14101
14095
  "declarations": [
14102
14096
  {
14103
- "fileName": "react/src/form/useFormField.ts",
14104
- "name": "FormFieldProps"
14097
+ "fileName": "react/src/form/combobox/types.ts",
14098
+ "name": "ComboboxProps"
14105
14099
  }
14106
14100
  ],
14107
14101
  "required": false,
14108
14102
  "type": {
14109
- "name": "boolean"
14103
+ "name": "string[]"
14110
14104
  }
14111
14105
  },
14112
- "id": {
14106
+ "hideLabel": {
14113
14107
  "defaultValue": null,
14114
- "description": "Override internal id",
14115
- "name": "id",
14108
+ "description": "Optionally hide the label visually.\nNot recommended, but can be considered for e.g. search fields in the top menu.",
14109
+ "name": "hideLabel",
14116
14110
  "parent": {
14117
- "fileName": "react/src/form/useFormField.ts",
14118
- "name": "FormFieldProps"
14111
+ "fileName": "react/src/form/combobox/types.ts",
14112
+ "name": "ComboboxProps"
14119
14113
  },
14120
14114
  "declarations": [
14121
14115
  {
14122
- "fileName": "react/src/form/useFormField.ts",
14123
- "name": "FormFieldProps"
14116
+ "fileName": "react/src/form/combobox/types.ts",
14117
+ "name": "ComboboxProps"
14124
14118
  }
14125
14119
  ],
14126
14120
  "required": false,
14127
14121
  "type": {
14128
- "name": "string"
14122
+ "name": "boolean"
14129
14123
  }
14130
14124
  },
14131
- "className": {
14125
+ "inputClassName": {
14132
14126
  "defaultValue": null,
14133
- "description": "",
14134
- "name": "className",
14127
+ "description": "Custom class name for the input field.\n\nIf used for styling, please consider using tokens instead.",
14128
+ "name": "inputClassName",
14135
14129
  "parent": {
14136
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14137
- "name": "HTMLAttributes"
14130
+ "fileName": "react/src/form/combobox/types.ts",
14131
+ "name": "ComboboxProps"
14138
14132
  },
14139
14133
  "declarations": [
14140
14134
  {
14141
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14142
- "name": "HTMLAttributes"
14135
+ "fileName": "react/src/form/combobox/types.ts",
14136
+ "name": "ComboboxProps"
14143
14137
  }
14144
14138
  ],
14145
14139
  "required": false,
@@ -14147,13 +14141,1344 @@
14147
14141
  "name": "string"
14148
14142
  }
14149
14143
  },
14150
- "ref": {
14144
+ "isListOpen": {
14151
14145
  "defaultValue": null,
14152
- "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
14153
- "name": "ref",
14146
+ "description": "Controlled open/closed state for the dropdown list",
14147
+ "name": "isListOpen",
14154
14148
  "parent": {
14155
- "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14156
- "name": "RefAttributes"
14149
+ "fileName": "react/src/form/combobox/types.ts",
14150
+ "name": "ComboboxProps"
14151
+ },
14152
+ "declarations": [
14153
+ {
14154
+ "fileName": "react/src/form/combobox/types.ts",
14155
+ "name": "ComboboxProps"
14156
+ }
14157
+ ],
14158
+ "required": false,
14159
+ "type": {
14160
+ "name": "boolean"
14161
+ }
14162
+ },
14163
+ "isLoading": {
14164
+ "defaultValue": null,
14165
+ "description": "Set to \"true\" when doing an async search and waiting for new filteredOptions.\n\nWill show a spinner in the dropdown and announce to screen readers that it is loading.",
14166
+ "name": "isLoading",
14167
+ "parent": {
14168
+ "fileName": "react/src/form/combobox/types.ts",
14169
+ "name": "ComboboxProps"
14170
+ },
14171
+ "declarations": [
14172
+ {
14173
+ "fileName": "react/src/form/combobox/types.ts",
14174
+ "name": "ComboboxProps"
14175
+ }
14176
+ ],
14177
+ "required": false,
14178
+ "type": {
14179
+ "name": "boolean"
14180
+ }
14181
+ },
14182
+ "isMultiSelect": {
14183
+ "defaultValue": null,
14184
+ "description": "Set to \"true\" to allow multiple selections\n\nThis will display selected values as a list of Chips in front of the input field, instead of a selection replacing the value of the input.",
14185
+ "name": "isMultiSelect",
14186
+ "parent": {
14187
+ "fileName": "react/src/form/combobox/types.ts",
14188
+ "name": "ComboboxProps"
14189
+ },
14190
+ "declarations": [
14191
+ {
14192
+ "fileName": "react/src/form/combobox/types.ts",
14193
+ "name": "ComboboxProps"
14194
+ }
14195
+ ],
14196
+ "required": false,
14197
+ "type": {
14198
+ "name": "boolean"
14199
+ }
14200
+ },
14201
+ "onClear": {
14202
+ "defaultValue": null,
14203
+ "description": "Callback function triggered whenever the input field is cleared\n@param event\n@returns",
14204
+ "name": "onClear",
14205
+ "parent": {
14206
+ "fileName": "react/src/form/combobox/types.ts",
14207
+ "name": "ComboboxProps"
14208
+ },
14209
+ "declarations": [
14210
+ {
14211
+ "fileName": "react/src/form/combobox/types.ts",
14212
+ "name": "ComboboxProps"
14213
+ }
14214
+ ],
14215
+ "required": false,
14216
+ "type": {
14217
+ "name": "((event: PointerEvent<Element> | KeyboardEvent<Element>) => void)"
14218
+ }
14219
+ },
14220
+ "onToggleSelected": {
14221
+ "defaultValue": null,
14222
+ "description": "Callback function triggered whenever an option is selected or de-selected\n@param option\n@param isSelected\n@returns",
14223
+ "name": "onToggleSelected",
14224
+ "parent": {
14225
+ "fileName": "react/src/form/combobox/types.ts",
14226
+ "name": "ComboboxProps"
14227
+ },
14228
+ "declarations": [
14229
+ {
14230
+ "fileName": "react/src/form/combobox/types.ts",
14231
+ "name": "ComboboxProps"
14232
+ }
14233
+ ],
14234
+ "required": false,
14235
+ "type": {
14236
+ "name": "((option: string, isSelected: boolean) => void)"
14237
+ }
14238
+ },
14239
+ "selectedOptions": {
14240
+ "defaultValue": null,
14241
+ "description": "List of selected options.\n\nUse this prop when controlling the selected state outside for the component,\ne.g. for a filter, where options can be toggled elsewhere/programmatically.",
14242
+ "name": "selectedOptions",
14243
+ "parent": {
14244
+ "fileName": "react/src/form/combobox/types.ts",
14245
+ "name": "ComboboxProps"
14246
+ },
14247
+ "declarations": [
14248
+ {
14249
+ "fileName": "react/src/form/combobox/types.ts",
14250
+ "name": "ComboboxProps"
14251
+ }
14252
+ ],
14253
+ "required": false,
14254
+ "type": {
14255
+ "name": "string[]"
14256
+ }
14257
+ },
14258
+ "shouldAutocomplete": {
14259
+ "defaultValue": {
14260
+ "value": "false"
14261
+ },
14262
+ "description": "Set to \"true\" to enable inline autocomplete.",
14263
+ "name": "shouldAutocomplete",
14264
+ "parent": {
14265
+ "fileName": "react/src/form/combobox/types.ts",
14266
+ "name": "ComboboxProps"
14267
+ },
14268
+ "declarations": [
14269
+ {
14270
+ "fileName": "react/src/form/combobox/types.ts",
14271
+ "name": "ComboboxProps"
14272
+ }
14273
+ ],
14274
+ "required": false,
14275
+ "type": {
14276
+ "name": "boolean"
14277
+ }
14278
+ },
14279
+ "shouldShowSelectedOptions": {
14280
+ "defaultValue": {
14281
+ "value": "true"
14282
+ },
14283
+ "description": "When set to \"true\" displays selected options as Chips before the input field",
14284
+ "name": "shouldShowSelectedOptions",
14285
+ "parent": {
14286
+ "fileName": "react/src/form/combobox/types.ts",
14287
+ "name": "ComboboxProps"
14288
+ },
14289
+ "declarations": [
14290
+ {
14291
+ "fileName": "react/src/form/combobox/types.ts",
14292
+ "name": "ComboboxProps"
14293
+ }
14294
+ ],
14295
+ "required": false,
14296
+ "type": {
14297
+ "name": "boolean"
14298
+ }
14299
+ },
14300
+ "toggleListButton": {
14301
+ "defaultValue": {
14302
+ "value": "true"
14303
+ },
14304
+ "description": "When set to \"true\" displays the toggle button for opening/closing the dropdown list",
14305
+ "name": "toggleListButton",
14306
+ "parent": {
14307
+ "fileName": "react/src/form/combobox/types.ts",
14308
+ "name": "ComboboxProps"
14309
+ },
14310
+ "declarations": [
14311
+ {
14312
+ "fileName": "react/src/form/combobox/types.ts",
14313
+ "name": "ComboboxProps"
14314
+ }
14315
+ ],
14316
+ "required": false,
14317
+ "type": {
14318
+ "name": "boolean"
14319
+ }
14320
+ },
14321
+ "toggleListButtonLabel": {
14322
+ "defaultValue": {
14323
+ "value": "\"Alternativer\""
14324
+ },
14325
+ "description": "Custom name for the toggle list-button. Requires \"toggleListButton\" to be \"true\".",
14326
+ "name": "toggleListButtonLabel",
14327
+ "parent": {
14328
+ "fileName": "react/src/form/combobox/types.ts",
14329
+ "name": "ComboboxProps"
14330
+ },
14331
+ "declarations": [
14332
+ {
14333
+ "fileName": "react/src/form/combobox/types.ts",
14334
+ "name": "ComboboxProps"
14335
+ }
14336
+ ],
14337
+ "required": false,
14338
+ "type": {
14339
+ "name": "string"
14340
+ }
14341
+ },
14342
+ "error": {
14343
+ "defaultValue": null,
14344
+ "description": "Error message for element",
14345
+ "name": "error",
14346
+ "parent": {
14347
+ "fileName": "react/src/form/useFormField.ts",
14348
+ "name": "FormFieldProps"
14349
+ },
14350
+ "declarations": [
14351
+ {
14352
+ "fileName": "react/src/form/useFormField.ts",
14353
+ "name": "FormFieldProps"
14354
+ }
14355
+ ],
14356
+ "required": false,
14357
+ "type": {
14358
+ "name": "ReactNode"
14359
+ }
14360
+ },
14361
+ "errorId": {
14362
+ "defaultValue": null,
14363
+ "description": "Override internal errorId",
14364
+ "name": "errorId",
14365
+ "parent": {
14366
+ "fileName": "react/src/form/useFormField.ts",
14367
+ "name": "FormFieldProps"
14368
+ },
14369
+ "declarations": [
14370
+ {
14371
+ "fileName": "react/src/form/useFormField.ts",
14372
+ "name": "FormFieldProps"
14373
+ }
14374
+ ],
14375
+ "required": false,
14376
+ "type": {
14377
+ "name": "string"
14378
+ }
14379
+ },
14380
+ "description": {
14381
+ "defaultValue": null,
14382
+ "description": "Adds a description to extend labling of a field",
14383
+ "name": "description",
14384
+ "parent": {
14385
+ "fileName": "react/src/form/useFormField.ts",
14386
+ "name": "FormFieldProps"
14387
+ },
14388
+ "declarations": [
14389
+ {
14390
+ "fileName": "react/src/form/useFormField.ts",
14391
+ "name": "FormFieldProps"
14392
+ }
14393
+ ],
14394
+ "required": false,
14395
+ "type": {
14396
+ "name": "ReactNode"
14397
+ }
14398
+ },
14399
+ "ref": {
14400
+ "defaultValue": null,
14401
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
14402
+ "name": "ref",
14403
+ "parent": {
14404
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14405
+ "name": "RefAttributes"
14406
+ },
14407
+ "declarations": [
14408
+ {
14409
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14410
+ "name": "RefAttributes"
14411
+ }
14412
+ ],
14413
+ "required": false,
14414
+ "type": {
14415
+ "name": "Ref<HTMLInputElement>"
14416
+ }
14417
+ }
14418
+ }
14419
+ },
14420
+ {
14421
+ "filePath": "src/form/combobox/ComboboxProvider.tsx",
14422
+ "displayName": "ComboboxProvider",
14423
+ "props": {
14424
+ "label": {
14425
+ "defaultValue": null,
14426
+ "description": "Combobox label",
14427
+ "name": "label",
14428
+ "parent": {
14429
+ "fileName": "react/src/form/combobox/types.ts",
14430
+ "name": "ComboboxProps"
14431
+ },
14432
+ "declarations": [
14433
+ {
14434
+ "fileName": "react/src/form/combobox/types.ts",
14435
+ "name": "ComboboxProps"
14436
+ }
14437
+ ],
14438
+ "required": true,
14439
+ "type": {
14440
+ "name": "ReactNode"
14441
+ }
14442
+ },
14443
+ "options": {
14444
+ "defaultValue": null,
14445
+ "description": "List of options to use for autocompletion",
14446
+ "name": "options",
14447
+ "parent": {
14448
+ "fileName": "react/src/form/combobox/types.ts",
14449
+ "name": "ComboboxProps"
14450
+ },
14451
+ "declarations": [
14452
+ {
14453
+ "fileName": "react/src/form/combobox/types.ts",
14454
+ "name": "ComboboxProps"
14455
+ }
14456
+ ],
14457
+ "required": true,
14458
+ "type": {
14459
+ "name": "string[]"
14460
+ }
14461
+ },
14462
+ "allowNewValues": {
14463
+ "defaultValue": null,
14464
+ "description": "If enabled, adds an option to add the value of the input as an option whenever there are no options matching the value.",
14465
+ "name": "allowNewValues",
14466
+ "parent": {
14467
+ "fileName": "react/src/form/combobox/types.ts",
14468
+ "name": "ComboboxProps"
14469
+ },
14470
+ "declarations": [
14471
+ {
14472
+ "fileName": "react/src/form/combobox/types.ts",
14473
+ "name": "ComboboxProps"
14474
+ }
14475
+ ],
14476
+ "required": false,
14477
+ "type": {
14478
+ "name": "boolean"
14479
+ }
14480
+ },
14481
+ "clearButton": {
14482
+ "defaultValue": null,
14483
+ "description": "If \"true\" adds a button to clear the value in the input field",
14484
+ "name": "clearButton",
14485
+ "parent": {
14486
+ "fileName": "react/src/form/combobox/types.ts",
14487
+ "name": "ComboboxProps"
14488
+ },
14489
+ "declarations": [
14490
+ {
14491
+ "fileName": "react/src/form/combobox/types.ts",
14492
+ "name": "ComboboxProps"
14493
+ }
14494
+ ],
14495
+ "required": false,
14496
+ "type": {
14497
+ "name": "boolean"
14498
+ }
14499
+ },
14500
+ "clearButtonLabel": {
14501
+ "defaultValue": {
14502
+ "value": "\"Tøm\""
14503
+ },
14504
+ "description": "Custom name for the clear button. Requires \"clearButton\" to be \"true\".",
14505
+ "name": "clearButtonLabel",
14506
+ "parent": {
14507
+ "fileName": "react/src/form/combobox/types.ts",
14508
+ "name": "ComboboxProps"
14509
+ },
14510
+ "declarations": [
14511
+ {
14512
+ "fileName": "react/src/form/combobox/types.ts",
14513
+ "name": "ComboboxProps"
14514
+ }
14515
+ ],
14516
+ "required": false,
14517
+ "type": {
14518
+ "name": "string"
14519
+ }
14520
+ },
14521
+ "filteredOptions": {
14522
+ "defaultValue": null,
14523
+ "description": "A list of options to display in the dropdown list.\nIf provided, this overrides the internal search logic in the component.\nUseful for e.g. searching on a server or when overriding the search algorithm to search for synonyms or similar.",
14524
+ "name": "filteredOptions",
14525
+ "parent": {
14526
+ "fileName": "react/src/form/combobox/types.ts",
14527
+ "name": "ComboboxProps"
14528
+ },
14529
+ "declarations": [
14530
+ {
14531
+ "fileName": "react/src/form/combobox/types.ts",
14532
+ "name": "ComboboxProps"
14533
+ }
14534
+ ],
14535
+ "required": false,
14536
+ "type": {
14537
+ "name": "string[]"
14538
+ }
14539
+ },
14540
+ "hideLabel": {
14541
+ "defaultValue": null,
14542
+ "description": "Optionally hide the label visually.\nNot recommended, but can be considered for e.g. search fields in the top menu.",
14543
+ "name": "hideLabel",
14544
+ "parent": {
14545
+ "fileName": "react/src/form/combobox/types.ts",
14546
+ "name": "ComboboxProps"
14547
+ },
14548
+ "declarations": [
14549
+ {
14550
+ "fileName": "react/src/form/combobox/types.ts",
14551
+ "name": "ComboboxProps"
14552
+ }
14553
+ ],
14554
+ "required": false,
14555
+ "type": {
14556
+ "name": "boolean"
14557
+ }
14558
+ },
14559
+ "inputClassName": {
14560
+ "defaultValue": null,
14561
+ "description": "Custom class name for the input field.\n\nIf used for styling, please consider using tokens instead.",
14562
+ "name": "inputClassName",
14563
+ "parent": {
14564
+ "fileName": "react/src/form/combobox/types.ts",
14565
+ "name": "ComboboxProps"
14566
+ },
14567
+ "declarations": [
14568
+ {
14569
+ "fileName": "react/src/form/combobox/types.ts",
14570
+ "name": "ComboboxProps"
14571
+ }
14572
+ ],
14573
+ "required": false,
14574
+ "type": {
14575
+ "name": "string"
14576
+ }
14577
+ },
14578
+ "isListOpen": {
14579
+ "defaultValue": null,
14580
+ "description": "Controlled open/closed state for the dropdown list",
14581
+ "name": "isListOpen",
14582
+ "parent": {
14583
+ "fileName": "react/src/form/combobox/types.ts",
14584
+ "name": "ComboboxProps"
14585
+ },
14586
+ "declarations": [
14587
+ {
14588
+ "fileName": "react/src/form/combobox/types.ts",
14589
+ "name": "ComboboxProps"
14590
+ }
14591
+ ],
14592
+ "required": false,
14593
+ "type": {
14594
+ "name": "boolean"
14595
+ }
14596
+ },
14597
+ "isLoading": {
14598
+ "defaultValue": null,
14599
+ "description": "Set to \"true\" when doing an async search and waiting for new filteredOptions.\n\nWill show a spinner in the dropdown and announce to screen readers that it is loading.",
14600
+ "name": "isLoading",
14601
+ "parent": {
14602
+ "fileName": "react/src/form/combobox/types.ts",
14603
+ "name": "ComboboxProps"
14604
+ },
14605
+ "declarations": [
14606
+ {
14607
+ "fileName": "react/src/form/combobox/types.ts",
14608
+ "name": "ComboboxProps"
14609
+ }
14610
+ ],
14611
+ "required": false,
14612
+ "type": {
14613
+ "name": "boolean"
14614
+ }
14615
+ },
14616
+ "isMultiSelect": {
14617
+ "defaultValue": null,
14618
+ "description": "Set to \"true\" to allow multiple selections\n\nThis will display selected values as a list of Chips in front of the input field, instead of a selection replacing the value of the input.",
14619
+ "name": "isMultiSelect",
14620
+ "parent": {
14621
+ "fileName": "react/src/form/combobox/types.ts",
14622
+ "name": "ComboboxProps"
14623
+ },
14624
+ "declarations": [
14625
+ {
14626
+ "fileName": "react/src/form/combobox/types.ts",
14627
+ "name": "ComboboxProps"
14628
+ }
14629
+ ],
14630
+ "required": false,
14631
+ "type": {
14632
+ "name": "boolean"
14633
+ }
14634
+ },
14635
+ "onChange": {
14636
+ "defaultValue": null,
14637
+ "description": "Callback function triggered whenever the value of the input field is triggered.\n@param event\n@returns",
14638
+ "name": "onChange",
14639
+ "parent": {
14640
+ "fileName": "react/src/form/combobox/types.ts",
14641
+ "name": "ComboboxProps"
14642
+ },
14643
+ "declarations": [
14644
+ {
14645
+ "fileName": "react/src/form/combobox/types.ts",
14646
+ "name": "ComboboxProps"
14647
+ }
14648
+ ],
14649
+ "required": false,
14650
+ "type": {
14651
+ "name": "((event: ChangeEvent<HTMLInputElement>) => void)"
14652
+ }
14653
+ },
14654
+ "onClear": {
14655
+ "defaultValue": null,
14656
+ "description": "Callback function triggered whenever the input field is cleared\n@param event\n@returns",
14657
+ "name": "onClear",
14658
+ "parent": {
14659
+ "fileName": "react/src/form/combobox/types.ts",
14660
+ "name": "ComboboxProps"
14661
+ },
14662
+ "declarations": [
14663
+ {
14664
+ "fileName": "react/src/form/combobox/types.ts",
14665
+ "name": "ComboboxProps"
14666
+ }
14667
+ ],
14668
+ "required": false,
14669
+ "type": {
14670
+ "name": "((event: PointerEvent<Element> | KeyboardEvent<Element>) => void)"
14671
+ }
14672
+ },
14673
+ "onToggleSelected": {
14674
+ "defaultValue": null,
14675
+ "description": "Callback function triggered whenever an option is selected or de-selected\n@param option\n@param isSelected\n@returns",
14676
+ "name": "onToggleSelected",
14677
+ "parent": {
14678
+ "fileName": "react/src/form/combobox/types.ts",
14679
+ "name": "ComboboxProps"
14680
+ },
14681
+ "declarations": [
14682
+ {
14683
+ "fileName": "react/src/form/combobox/types.ts",
14684
+ "name": "ComboboxProps"
14685
+ }
14686
+ ],
14687
+ "required": false,
14688
+ "type": {
14689
+ "name": "((option: string, isSelected: boolean) => void)"
14690
+ }
14691
+ },
14692
+ "selectedOptions": {
14693
+ "defaultValue": null,
14694
+ "description": "List of selected options.\n\nUse this prop when controlling the selected state outside for the component,\ne.g. for a filter, where options can be toggled elsewhere/programmatically.",
14695
+ "name": "selectedOptions",
14696
+ "parent": {
14697
+ "fileName": "react/src/form/combobox/types.ts",
14698
+ "name": "ComboboxProps"
14699
+ },
14700
+ "declarations": [
14701
+ {
14702
+ "fileName": "react/src/form/combobox/types.ts",
14703
+ "name": "ComboboxProps"
14704
+ }
14705
+ ],
14706
+ "required": false,
14707
+ "type": {
14708
+ "name": "string[]"
14709
+ }
14710
+ },
14711
+ "shouldAutocomplete": {
14712
+ "defaultValue": {
14713
+ "value": "false"
14714
+ },
14715
+ "description": "Set to \"true\" to enable inline autocomplete.",
14716
+ "name": "shouldAutocomplete",
14717
+ "parent": {
14718
+ "fileName": "react/src/form/combobox/types.ts",
14719
+ "name": "ComboboxProps"
14720
+ },
14721
+ "declarations": [
14722
+ {
14723
+ "fileName": "react/src/form/combobox/types.ts",
14724
+ "name": "ComboboxProps"
14725
+ }
14726
+ ],
14727
+ "required": false,
14728
+ "type": {
14729
+ "name": "boolean"
14730
+ }
14731
+ },
14732
+ "shouldShowSelectedOptions": {
14733
+ "defaultValue": {
14734
+ "value": "true"
14735
+ },
14736
+ "description": "When set to \"true\" displays selected options as Chips before the input field",
14737
+ "name": "shouldShowSelectedOptions",
14738
+ "parent": {
14739
+ "fileName": "react/src/form/combobox/types.ts",
14740
+ "name": "ComboboxProps"
14741
+ },
14742
+ "declarations": [
14743
+ {
14744
+ "fileName": "react/src/form/combobox/types.ts",
14745
+ "name": "ComboboxProps"
14746
+ }
14747
+ ],
14748
+ "required": false,
14749
+ "type": {
14750
+ "name": "boolean"
14751
+ }
14752
+ },
14753
+ "toggleListButton": {
14754
+ "defaultValue": {
14755
+ "value": "true"
14756
+ },
14757
+ "description": "When set to \"true\" displays the toggle button for opening/closing the dropdown list",
14758
+ "name": "toggleListButton",
14759
+ "parent": {
14760
+ "fileName": "react/src/form/combobox/types.ts",
14761
+ "name": "ComboboxProps"
14762
+ },
14763
+ "declarations": [
14764
+ {
14765
+ "fileName": "react/src/form/combobox/types.ts",
14766
+ "name": "ComboboxProps"
14767
+ }
14768
+ ],
14769
+ "required": false,
14770
+ "type": {
14771
+ "name": "boolean"
14772
+ }
14773
+ },
14774
+ "toggleListButtonLabel": {
14775
+ "defaultValue": {
14776
+ "value": "\"Alternativer\""
14777
+ },
14778
+ "description": "Custom name for the toggle list-button. Requires \"toggleListButton\" to be \"true\".",
14779
+ "name": "toggleListButtonLabel",
14780
+ "parent": {
14781
+ "fileName": "react/src/form/combobox/types.ts",
14782
+ "name": "ComboboxProps"
14783
+ },
14784
+ "declarations": [
14785
+ {
14786
+ "fileName": "react/src/form/combobox/types.ts",
14787
+ "name": "ComboboxProps"
14788
+ }
14789
+ ],
14790
+ "required": false,
14791
+ "type": {
14792
+ "name": "string"
14793
+ }
14794
+ },
14795
+ "value": {
14796
+ "defaultValue": null,
14797
+ "description": "Set this to override the value of the input field.\n\nThis converts the input to a controlled input, so you have to use onChange to update the value.",
14798
+ "name": "value",
14799
+ "parent": {
14800
+ "fileName": "react/src/form/combobox/types.ts",
14801
+ "name": "ComboboxProps"
14802
+ },
14803
+ "declarations": [
14804
+ {
14805
+ "fileName": "react/src/form/combobox/types.ts",
14806
+ "name": "ComboboxProps"
14807
+ }
14808
+ ],
14809
+ "required": false,
14810
+ "type": {
14811
+ "name": "string"
14812
+ }
14813
+ },
14814
+ "error": {
14815
+ "defaultValue": null,
14816
+ "description": "Error message for element",
14817
+ "name": "error",
14818
+ "parent": {
14819
+ "fileName": "react/src/form/useFormField.ts",
14820
+ "name": "FormFieldProps"
14821
+ },
14822
+ "declarations": [
14823
+ {
14824
+ "fileName": "react/src/form/useFormField.ts",
14825
+ "name": "FormFieldProps"
14826
+ }
14827
+ ],
14828
+ "required": false,
14829
+ "type": {
14830
+ "name": "ReactNode"
14831
+ }
14832
+ },
14833
+ "errorId": {
14834
+ "defaultValue": null,
14835
+ "description": "Override internal errorId",
14836
+ "name": "errorId",
14837
+ "parent": {
14838
+ "fileName": "react/src/form/useFormField.ts",
14839
+ "name": "FormFieldProps"
14840
+ },
14841
+ "declarations": [
14842
+ {
14843
+ "fileName": "react/src/form/useFormField.ts",
14844
+ "name": "FormFieldProps"
14845
+ }
14846
+ ],
14847
+ "required": false,
14848
+ "type": {
14849
+ "name": "string"
14850
+ }
14851
+ },
14852
+ "size": {
14853
+ "defaultValue": null,
14854
+ "description": "Changes font-size, padding and gaps",
14855
+ "name": "size",
14856
+ "parent": {
14857
+ "fileName": "react/src/form/useFormField.ts",
14858
+ "name": "FormFieldProps"
14859
+ },
14860
+ "declarations": [
14861
+ {
14862
+ "fileName": "react/src/form/useFormField.ts",
14863
+ "name": "FormFieldProps"
14864
+ }
14865
+ ],
14866
+ "required": false,
14867
+ "type": {
14868
+ "name": "\"medium\" | \"small\""
14869
+ }
14870
+ },
14871
+ "disabled": {
14872
+ "defaultValue": null,
14873
+ "description": "Disables element\n@note Avoid using if possible for accessibility purposes",
14874
+ "name": "disabled",
14875
+ "parent": {
14876
+ "fileName": "react/src/form/useFormField.ts",
14877
+ "name": "FormFieldProps"
14878
+ },
14879
+ "declarations": [
14880
+ {
14881
+ "fileName": "react/src/form/useFormField.ts",
14882
+ "name": "FormFieldProps"
14883
+ }
14884
+ ],
14885
+ "required": false,
14886
+ "type": {
14887
+ "name": "boolean"
14888
+ }
14889
+ },
14890
+ "description": {
14891
+ "defaultValue": null,
14892
+ "description": "Adds a description to extend labling of a field",
14893
+ "name": "description",
14894
+ "parent": {
14895
+ "fileName": "react/src/form/useFormField.ts",
14896
+ "name": "FormFieldProps"
14897
+ },
14898
+ "declarations": [
14899
+ {
14900
+ "fileName": "react/src/form/useFormField.ts",
14901
+ "name": "FormFieldProps"
14902
+ }
14903
+ ],
14904
+ "required": false,
14905
+ "type": {
14906
+ "name": "ReactNode"
14907
+ }
14908
+ },
14909
+ "id": {
14910
+ "defaultValue": null,
14911
+ "description": "Override internal id",
14912
+ "name": "id",
14913
+ "parent": {
14914
+ "fileName": "react/src/form/useFormField.ts",
14915
+ "name": "FormFieldProps"
14916
+ },
14917
+ "declarations": [
14918
+ {
14919
+ "fileName": "react/src/form/useFormField.ts",
14920
+ "name": "FormFieldProps"
14921
+ }
14922
+ ],
14923
+ "required": false,
14924
+ "type": {
14925
+ "name": "string"
14926
+ }
14927
+ },
14928
+ "readOnly": {
14929
+ "defaultValue": null,
14930
+ "description": "Read only-state",
14931
+ "name": "readOnly",
14932
+ "parent": {
14933
+ "fileName": "react/src/form/useFormField.ts",
14934
+ "name": "FormFieldProps"
14935
+ },
14936
+ "declarations": [
14937
+ {
14938
+ "fileName": "react/src/form/useFormField.ts",
14939
+ "name": "FormFieldProps"
14940
+ }
14941
+ ],
14942
+ "required": false,
14943
+ "type": {
14944
+ "name": "boolean"
14945
+ }
14946
+ },
14947
+ "className": {
14948
+ "defaultValue": null,
14949
+ "description": "",
14950
+ "name": "className",
14951
+ "parent": {
14952
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14953
+ "name": "HTMLAttributes"
14954
+ },
14955
+ "declarations": [
14956
+ {
14957
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14958
+ "name": "HTMLAttributes"
14959
+ }
14960
+ ],
14961
+ "required": false,
14962
+ "type": {
14963
+ "name": "string"
14964
+ }
14965
+ },
14966
+ "ref": {
14967
+ "defaultValue": null,
14968
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
14969
+ "name": "ref",
14970
+ "parent": {
14971
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14972
+ "name": "RefAttributes"
14973
+ },
14974
+ "declarations": [
14975
+ {
14976
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
14977
+ "name": "RefAttributes"
14978
+ }
14979
+ ],
14980
+ "required": false,
14981
+ "type": {
14982
+ "name": "Ref<HTMLInputElement>"
14983
+ }
14984
+ }
14985
+ }
14986
+ },
14987
+ {
14988
+ "filePath": "src/form/combobox/ComboboxWrapper.tsx",
14989
+ "displayName": "ComboboxWrapper",
14990
+ "props": {
14991
+ "className": {
14992
+ "defaultValue": null,
14993
+ "description": "",
14994
+ "name": "className",
14995
+ "declarations": [
14996
+ {
14997
+ "fileName": "src/form/combobox/ComboboxWrapper.tsx",
14998
+ "name": "TypeLiteral"
14999
+ }
15000
+ ],
15001
+ "required": false,
15002
+ "type": {
15003
+ "name": "string"
15004
+ }
15005
+ },
15006
+ "hasError": {
15007
+ "defaultValue": null,
15008
+ "description": "",
15009
+ "name": "hasError",
15010
+ "declarations": [
15011
+ {
15012
+ "fileName": "src/form/combobox/ComboboxWrapper.tsx",
15013
+ "name": "TypeLiteral"
15014
+ }
15015
+ ],
15016
+ "required": true,
15017
+ "type": {
15018
+ "name": "boolean"
15019
+ }
15020
+ },
15021
+ "inputProps": {
15022
+ "defaultValue": null,
15023
+ "description": "",
15024
+ "name": "inputProps",
15025
+ "declarations": [
15026
+ {
15027
+ "fileName": "src/form/combobox/ComboboxWrapper.tsx",
15028
+ "name": "TypeLiteral"
15029
+ }
15030
+ ],
15031
+ "required": true,
15032
+ "type": {
15033
+ "name": "{ disabled?: boolean | undefined; }"
15034
+ }
15035
+ },
15036
+ "inputSize": {
15037
+ "defaultValue": null,
15038
+ "description": "",
15039
+ "name": "inputSize",
15040
+ "declarations": [
15041
+ {
15042
+ "fileName": "src/form/combobox/ComboboxWrapper.tsx",
15043
+ "name": "TypeLiteral"
15044
+ }
15045
+ ],
15046
+ "required": true,
15047
+ "type": {
15048
+ "name": "string"
15049
+ }
15050
+ },
15051
+ "toggleIsListOpen": {
15052
+ "defaultValue": null,
15053
+ "description": "",
15054
+ "name": "toggleIsListOpen",
15055
+ "declarations": [
15056
+ {
15057
+ "fileName": "src/form/combobox/ComboboxWrapper.tsx",
15058
+ "name": "TypeLiteral"
15059
+ }
15060
+ ],
15061
+ "required": true,
15062
+ "type": {
15063
+ "name": "(isListOpen: boolean) => void"
15064
+ }
15065
+ },
15066
+ "toggleListButtonRef": {
15067
+ "defaultValue": null,
15068
+ "description": "",
15069
+ "name": "toggleListButtonRef",
15070
+ "declarations": [
15071
+ {
15072
+ "fileName": "src/form/combobox/ComboboxWrapper.tsx",
15073
+ "name": "TypeLiteral"
15074
+ }
15075
+ ],
15076
+ "required": true,
15077
+ "type": {
15078
+ "name": "RefObject<HTMLButtonElement>"
15079
+ }
15080
+ }
15081
+ }
15082
+ },
15083
+ {
15084
+ "filePath": "src/form/combobox/ToggleListButton.tsx",
15085
+ "displayName": "ToggleListButton",
15086
+ "props": {
15087
+ "toggleListButtonLabel": {
15088
+ "defaultValue": null,
15089
+ "description": "",
15090
+ "name": "toggleListButtonLabel",
15091
+ "parent": {
15092
+ "fileName": "src/form/combobox/ToggleListButton.tsx",
15093
+ "name": "ToggleListButtonProps"
15094
+ },
15095
+ "declarations": [
15096
+ {
15097
+ "fileName": "src/form/combobox/ToggleListButton.tsx",
15098
+ "name": "ToggleListButtonProps"
15099
+ }
15100
+ ],
15101
+ "required": false,
15102
+ "type": {
15103
+ "name": "string"
15104
+ }
15105
+ },
15106
+ "ref": {
15107
+ "defaultValue": null,
15108
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
15109
+ "name": "ref",
15110
+ "parent": {
15111
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15112
+ "name": "RefAttributes"
15113
+ },
15114
+ "declarations": [
15115
+ {
15116
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15117
+ "name": "RefAttributes"
15118
+ }
15119
+ ],
15120
+ "required": false,
15121
+ "type": {
15122
+ "name": "Ref<HTMLButtonElement>"
15123
+ }
15124
+ }
15125
+ }
15126
+ },
15127
+ {
15128
+ "filePath": "src/form/combobox/customOptionsContext.tsx",
15129
+ "displayName": "CustomOptionsProvider",
15130
+ "props": {}
15131
+ },
15132
+ {
15133
+ "filePath": "src/form/error-summary/ErrorSummary.tsx",
15134
+ "displayName": "ErrorSummary",
15135
+ "props": {
15136
+ "children": {
15137
+ "defaultValue": null,
15138
+ "description": "Collectipn of ErrorSummary.Item",
15139
+ "name": "children",
15140
+ "parent": {
15141
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15142
+ "name": "ErrorSummaryProps"
15143
+ },
15144
+ "declarations": [
15145
+ {
15146
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15147
+ "name": "ErrorSummaryProps"
15148
+ }
15149
+ ],
15150
+ "required": true,
15151
+ "type": {
15152
+ "name": "ReactNode"
15153
+ }
15154
+ },
15155
+ "size": {
15156
+ "defaultValue": {
15157
+ "value": "\"medium\""
15158
+ },
15159
+ "description": "Changes padding and font-sizes",
15160
+ "name": "size",
15161
+ "parent": {
15162
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15163
+ "name": "ErrorSummaryProps"
15164
+ },
15165
+ "declarations": [
15166
+ {
15167
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15168
+ "name": "ErrorSummaryProps"
15169
+ }
15170
+ ],
15171
+ "required": false,
15172
+ "type": {
15173
+ "name": "\"medium\" | \"small\""
15174
+ }
15175
+ },
15176
+ "heading": {
15177
+ "defaultValue": null,
15178
+ "description": "Heading above links",
15179
+ "name": "heading",
15180
+ "parent": {
15181
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15182
+ "name": "ErrorSummaryProps"
15183
+ },
15184
+ "declarations": [
15185
+ {
15186
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15187
+ "name": "ErrorSummaryProps"
15188
+ }
15189
+ ],
15190
+ "required": false,
15191
+ "type": {
15192
+ "name": "ReactNode"
15193
+ }
15194
+ },
15195
+ "headingTag": {
15196
+ "defaultValue": {
15197
+ "value": "\"h2\""
15198
+ },
15199
+ "description": "Allows setting a different HTML h-tag",
15200
+ "name": "headingTag",
15201
+ "parent": {
15202
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15203
+ "name": "ErrorSummaryProps"
15204
+ },
15205
+ "declarations": [
15206
+ {
15207
+ "fileName": "src/form/error-summary/ErrorSummary.tsx",
15208
+ "name": "ErrorSummaryProps"
15209
+ }
15210
+ ],
15211
+ "required": false,
15212
+ "type": {
15213
+ "name": "ElementType<any>"
15214
+ }
15215
+ },
15216
+ "className": {
15217
+ "defaultValue": null,
15218
+ "description": "",
15219
+ "name": "className",
15220
+ "parent": {
15221
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15222
+ "name": "HTMLAttributes"
15223
+ },
15224
+ "declarations": [
15225
+ {
15226
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15227
+ "name": "HTMLAttributes"
15228
+ }
15229
+ ],
15230
+ "required": false,
15231
+ "type": {
15232
+ "name": "string"
15233
+ }
15234
+ },
15235
+ "ref": {
15236
+ "defaultValue": null,
15237
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
15238
+ "name": "ref",
15239
+ "parent": {
15240
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15241
+ "name": "RefAttributes"
15242
+ },
15243
+ "declarations": [
15244
+ {
15245
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15246
+ "name": "RefAttributes"
15247
+ }
15248
+ ],
15249
+ "required": false,
15250
+ "type": {
15251
+ "name": "Ref<HTMLDivElement>"
15252
+ }
15253
+ }
15254
+ }
15255
+ },
15256
+ {
15257
+ "filePath": "src/form/error-summary/ErrorSummaryItem.tsx",
15258
+ "displayName": "ErrorSummaryItem",
15259
+ "props": {
15260
+ "children": {
15261
+ "defaultValue": null,
15262
+ "description": "Link text",
15263
+ "name": "children",
15264
+ "parent": {
15265
+ "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
15266
+ "name": "ErrorSummaryItemProps"
15267
+ },
15268
+ "declarations": [
15269
+ {
15270
+ "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
15271
+ "name": "ErrorSummaryItemProps"
15272
+ }
15273
+ ],
15274
+ "required": true,
15275
+ "type": {
15276
+ "name": "ReactNode"
15277
+ }
15278
+ },
15279
+ "href": {
15280
+ "defaultValue": null,
15281
+ "description": "Link to errormessage",
15282
+ "name": "href",
15283
+ "parent": {
15284
+ "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
15285
+ "name": "ErrorSummaryItemProps"
15286
+ },
15287
+ "declarations": [
15288
+ {
15289
+ "fileName": "src/form/error-summary/ErrorSummaryItem.tsx",
15290
+ "name": "ErrorSummaryItemProps"
15291
+ }
15292
+ ],
15293
+ "required": false,
15294
+ "type": {
15295
+ "name": "string"
15296
+ }
15297
+ },
15298
+ "className": {
15299
+ "defaultValue": null,
15300
+ "description": "",
15301
+ "name": "className",
15302
+ "parent": {
15303
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15304
+ "name": "HTMLAttributes"
15305
+ },
15306
+ "declarations": [
15307
+ {
15308
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15309
+ "name": "HTMLAttributes"
15310
+ }
15311
+ ],
15312
+ "required": false,
15313
+ "type": {
15314
+ "name": "string"
15315
+ }
15316
+ },
15317
+ "ref": {
15318
+ "defaultValue": null,
15319
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
15320
+ "name": "ref",
15321
+ "parent": {
15322
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15323
+ "name": "RefAttributes"
15324
+ },
15325
+ "declarations": [
15326
+ {
15327
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15328
+ "name": "RefAttributes"
15329
+ }
15330
+ ],
15331
+ "required": false,
15332
+ "type": {
15333
+ "name": "Ref<HTMLAnchorElement>"
15334
+ }
15335
+ }
15336
+ }
15337
+ },
15338
+ {
15339
+ "filePath": "src/form/radio/Radio.tsx",
15340
+ "displayName": "Radio",
15341
+ "props": {
15342
+ "children": {
15343
+ "defaultValue": null,
15344
+ "description": "Radio label",
15345
+ "name": "children",
15346
+ "parent": {
15347
+ "fileName": "src/form/radio/Radio.tsx",
15348
+ "name": "RadioProps"
15349
+ },
15350
+ "declarations": [
15351
+ {
15352
+ "fileName": "src/form/radio/Radio.tsx",
15353
+ "name": "RadioProps"
15354
+ }
15355
+ ],
15356
+ "required": true,
15357
+ "type": {
15358
+ "name": "ReactNode"
15359
+ }
15360
+ },
15361
+ "value": {
15362
+ "defaultValue": null,
15363
+ "description": "The value of the HTML element",
15364
+ "name": "value",
15365
+ "parent": {
15366
+ "fileName": "src/form/radio/Radio.tsx",
15367
+ "name": "RadioProps"
15368
+ },
15369
+ "declarations": [
15370
+ {
15371
+ "fileName": "src/form/radio/Radio.tsx",
15372
+ "name": "RadioProps"
15373
+ }
15374
+ ],
15375
+ "required": true,
15376
+ "type": {
15377
+ "name": "any"
15378
+ }
15379
+ },
15380
+ "description": {
15381
+ "defaultValue": null,
15382
+ "description": "Adds a description to extend labling of Radio",
15383
+ "name": "description",
15384
+ "parent": {
15385
+ "fileName": "src/form/radio/Radio.tsx",
15386
+ "name": "RadioProps"
15387
+ },
15388
+ "declarations": [
15389
+ {
15390
+ "fileName": "src/form/radio/Radio.tsx",
15391
+ "name": "RadioProps"
15392
+ }
15393
+ ],
15394
+ "required": false,
15395
+ "type": {
15396
+ "name": "string"
15397
+ }
15398
+ },
15399
+ "size": {
15400
+ "defaultValue": null,
15401
+ "description": "Changes font-size, padding and gaps",
15402
+ "name": "size",
15403
+ "parent": {
15404
+ "fileName": "react/src/form/useFormField.ts",
15405
+ "name": "FormFieldProps"
15406
+ },
15407
+ "declarations": [
15408
+ {
15409
+ "fileName": "react/src/form/useFormField.ts",
15410
+ "name": "FormFieldProps"
15411
+ }
15412
+ ],
15413
+ "required": false,
15414
+ "type": {
15415
+ "name": "\"medium\" | \"small\""
15416
+ }
15417
+ },
15418
+ "disabled": {
15419
+ "defaultValue": null,
15420
+ "description": "Disables element\n@note Avoid using if possible for accessibility purposes",
15421
+ "name": "disabled",
15422
+ "parent": {
15423
+ "fileName": "react/src/form/useFormField.ts",
15424
+ "name": "FormFieldProps"
15425
+ },
15426
+ "declarations": [
15427
+ {
15428
+ "fileName": "react/src/form/useFormField.ts",
15429
+ "name": "FormFieldProps"
15430
+ }
15431
+ ],
15432
+ "required": false,
15433
+ "type": {
15434
+ "name": "boolean"
15435
+ }
15436
+ },
15437
+ "id": {
15438
+ "defaultValue": null,
15439
+ "description": "Override internal id",
15440
+ "name": "id",
15441
+ "parent": {
15442
+ "fileName": "react/src/form/useFormField.ts",
15443
+ "name": "FormFieldProps"
15444
+ },
15445
+ "declarations": [
15446
+ {
15447
+ "fileName": "react/src/form/useFormField.ts",
15448
+ "name": "FormFieldProps"
15449
+ }
15450
+ ],
15451
+ "required": false,
15452
+ "type": {
15453
+ "name": "string"
15454
+ }
15455
+ },
15456
+ "className": {
15457
+ "defaultValue": null,
15458
+ "description": "",
15459
+ "name": "className",
15460
+ "parent": {
15461
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15462
+ "name": "HTMLAttributes"
15463
+ },
15464
+ "declarations": [
15465
+ {
15466
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15467
+ "name": "HTMLAttributes"
15468
+ }
15469
+ ],
15470
+ "required": false,
15471
+ "type": {
15472
+ "name": "string"
15473
+ }
15474
+ },
15475
+ "ref": {
15476
+ "defaultValue": null,
15477
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
15478
+ "name": "ref",
15479
+ "parent": {
15480
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
15481
+ "name": "RefAttributes"
14157
15482
  },
14158
15483
  "declarations": [
14159
15484
  {
@@ -15929,5 +17254,222 @@
15929
17254
  }
15930
17255
  }
15931
17256
  }
17257
+ },
17258
+ {
17259
+ "filePath": "src/form/combobox/FilteredOptions/filteredOptionsContext.tsx",
17260
+ "displayName": "FilteredOptionsProvider",
17261
+ "props": {
17262
+ "value": {
17263
+ "defaultValue": null,
17264
+ "description": "",
17265
+ "name": "value",
17266
+ "required": true,
17267
+ "type": {
17268
+ "name": "any"
17269
+ }
17270
+ }
17271
+ }
17272
+ },
17273
+ {
17274
+ "filePath": "src/form/combobox/Input/Input.tsx",
17275
+ "displayName": "Input",
17276
+ "props": {
17277
+ "inputClassName": {
17278
+ "defaultValue": null,
17279
+ "description": "",
17280
+ "name": "inputClassName",
17281
+ "parent": {
17282
+ "fileName": "src/form/combobox/Input/Input.tsx",
17283
+ "name": "InputProps"
17284
+ },
17285
+ "declarations": [
17286
+ {
17287
+ "fileName": "src/form/combobox/Input/Input.tsx",
17288
+ "name": "InputProps"
17289
+ }
17290
+ ],
17291
+ "required": false,
17292
+ "type": {
17293
+ "name": "string"
17294
+ }
17295
+ },
17296
+ "value": {
17297
+ "defaultValue": null,
17298
+ "description": "",
17299
+ "name": "value",
17300
+ "parent": {
17301
+ "fileName": "src/form/combobox/Input/Input.tsx",
17302
+ "name": "InputProps"
17303
+ },
17304
+ "declarations": [
17305
+ {
17306
+ "fileName": "src/form/combobox/Input/Input.tsx",
17307
+ "name": "InputProps"
17308
+ }
17309
+ ],
17310
+ "required": false,
17311
+ "type": {
17312
+ "name": "string"
17313
+ }
17314
+ },
17315
+ "className": {
17316
+ "defaultValue": null,
17317
+ "description": "",
17318
+ "name": "className",
17319
+ "parent": {
17320
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
17321
+ "name": "HTMLAttributes"
17322
+ },
17323
+ "declarations": [
17324
+ {
17325
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
17326
+ "name": "HTMLAttributes"
17327
+ }
17328
+ ],
17329
+ "required": false,
17330
+ "type": {
17331
+ "name": "string"
17332
+ }
17333
+ },
17334
+ "error": {
17335
+ "defaultValue": null,
17336
+ "description": "",
17337
+ "name": "error",
17338
+ "parent": {
17339
+ "fileName": "src/form/combobox/Input/Input.tsx",
17340
+ "name": "InputProps"
17341
+ },
17342
+ "declarations": [
17343
+ {
17344
+ "fileName": "src/form/combobox/Input/Input.tsx",
17345
+ "name": "InputProps"
17346
+ }
17347
+ ],
17348
+ "required": false,
17349
+ "type": {
17350
+ "name": "ReactNode"
17351
+ }
17352
+ },
17353
+ "errorId": {
17354
+ "defaultValue": null,
17355
+ "description": "",
17356
+ "name": "errorId",
17357
+ "parent": {
17358
+ "fileName": "src/form/combobox/Input/Input.tsx",
17359
+ "name": "InputProps"
17360
+ },
17361
+ "declarations": [
17362
+ {
17363
+ "fileName": "src/form/combobox/Input/Input.tsx",
17364
+ "name": "InputProps"
17365
+ }
17366
+ ],
17367
+ "required": false,
17368
+ "type": {
17369
+ "name": "string"
17370
+ }
17371
+ },
17372
+ "ref": {
17373
+ "defaultValue": null,
17374
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null` (or call the ref with `null` if you passed a callback ref).\n@see https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom",
17375
+ "name": "ref",
17376
+ "parent": {
17377
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
17378
+ "name": "RefAttributes"
17379
+ },
17380
+ "declarations": [
17381
+ {
17382
+ "fileName": "aksel/node_modules/@types/react/ts5.0/index.d.ts",
17383
+ "name": "RefAttributes"
17384
+ }
17385
+ ],
17386
+ "required": false,
17387
+ "type": {
17388
+ "name": "Ref<HTMLInputElement>"
17389
+ }
17390
+ }
17391
+ }
17392
+ },
17393
+ {
17394
+ "filePath": "src/form/combobox/Input/inputContext.tsx",
17395
+ "displayName": "InputContextProvider",
17396
+ "props": {
17397
+ "value": {
17398
+ "defaultValue": null,
17399
+ "description": "",
17400
+ "name": "value",
17401
+ "required": true,
17402
+ "type": {
17403
+ "name": "any"
17404
+ }
17405
+ }
17406
+ }
17407
+ },
17408
+ {
17409
+ "filePath": "src/form/combobox/SelectedOptions/SelectedOptions.tsx",
17410
+ "displayName": "SelectedOptions",
17411
+ "props": {
17412
+ "selectedOptions": {
17413
+ "defaultValue": {
17414
+ "value": "[]"
17415
+ },
17416
+ "description": "",
17417
+ "name": "selectedOptions",
17418
+ "parent": {
17419
+ "fileName": "src/form/combobox/SelectedOptions/SelectedOptions.tsx",
17420
+ "name": "SelectedOptionsProps"
17421
+ },
17422
+ "declarations": [
17423
+ {
17424
+ "fileName": "src/form/combobox/SelectedOptions/SelectedOptions.tsx",
17425
+ "name": "SelectedOptionsProps"
17426
+ }
17427
+ ],
17428
+ "required": false,
17429
+ "type": {
17430
+ "name": "string[]"
17431
+ }
17432
+ },
17433
+ "size": {
17434
+ "defaultValue": null,
17435
+ "description": "",
17436
+ "name": "size",
17437
+ "parent": {
17438
+ "fileName": "src/form/combobox/SelectedOptions/SelectedOptions.tsx",
17439
+ "name": "SelectedOptionsProps"
17440
+ },
17441
+ "declarations": [
17442
+ {
17443
+ "fileName": "src/form/combobox/SelectedOptions/SelectedOptions.tsx",
17444
+ "name": "SelectedOptionsProps"
17445
+ }
17446
+ ],
17447
+ "required": false,
17448
+ "type": {
17449
+ "name": "\"medium\" | \"small\""
17450
+ }
17451
+ }
17452
+ }
17453
+ },
17454
+ {
17455
+ "filePath": "src/form/combobox/SelectedOptions/selectedOptionsContext.tsx",
17456
+ "displayName": "SelectedOptionsProvider",
17457
+ "props": {
17458
+ "value": {
17459
+ "defaultValue": null,
17460
+ "description": "",
17461
+ "name": "value",
17462
+ "declarations": [
17463
+ {
17464
+ "fileName": "src/form/combobox/SelectedOptions/selectedOptionsContext.tsx",
17465
+ "name": "TypeLiteral"
17466
+ }
17467
+ ],
17468
+ "required": true,
17469
+ "type": {
17470
+ "name": "Pick<ComboboxProps, \"allowNewValues\" | \"isMultiSelect\" | \"options\" | \"selectedOptions\" | \"onToggleSelected\">"
17471
+ }
17472
+ }
17473
+ }
15932
17474
  }
15933
17475
  ]