@vibe/core 3.74.0-alpha-10c01.0 → 3.74.0-alpha-f7c48.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 (70) hide show
  1. package/dist/components/Dialog/Dialog.d.ts +0 -7
  2. package/dist/components/next/Dropdown/Dropdown.types.d.ts +22 -7
  3. package/dist/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.d.ts +3 -0
  4. package/dist/components/next/Dropdown/components/Menu/MenuList.d.ts +4 -0
  5. package/dist/components/next/Dropdown/context/DropdownContext.types.d.ts +1 -1
  6. package/dist/components/next/index.d.ts +0 -1
  7. package/dist/components/next.d.ts +1 -0
  8. package/dist/metadata.json +2078 -1198
  9. package/dist/mocked_classnames/components/Dialog/Dialog.d.ts +0 -7
  10. package/dist/mocked_classnames/components/next/Dropdown/Dropdown.types.d.ts +22 -7
  11. package/dist/mocked_classnames/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.d.ts +3 -0
  12. package/dist/mocked_classnames/components/next/Dropdown/components/Menu/MenuList.d.ts +4 -0
  13. package/dist/mocked_classnames/components/next/Dropdown/context/DropdownContext.types.d.ts +1 -1
  14. package/dist/mocked_classnames/components/next/index.d.ts +0 -1
  15. package/dist/mocked_classnames/components/next.d.ts +1 -0
  16. package/dist/mocked_classnames/src/components/Dialog/Dialog.js +1 -1
  17. package/dist/mocked_classnames/src/components/Dialog/Dialog.js.map +1 -1
  18. package/dist/mocked_classnames/src/components/RadioButton/RadioButton.js.map +1 -1
  19. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.js +1 -1
  20. package/dist/mocked_classnames/src/components/Tipseen/Tipseen.js.map +1 -1
  21. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBase/DropdownBase.js +1 -1
  22. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBase/DropdownBase.js.map +1 -1
  23. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  24. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.js +2 -0
  25. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.js.map +1 -0
  26. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +2 -0
  27. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js.map +1 -0
  28. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownWrapperUI.js +1 -1
  29. package/dist/mocked_classnames/src/components/next/Dropdown/components/DropdownWrapperUI.js.map +1 -1
  30. package/dist/mocked_classnames/src/components/next/Dropdown/components/Menu/Menu.js +1 -1
  31. package/dist/mocked_classnames/src/components/next/Dropdown/components/Menu/Menu.js.map +1 -1
  32. package/dist/mocked_classnames/src/components/next/Dropdown/components/Menu/MenuList.js +2 -0
  33. package/dist/mocked_classnames/src/components/next/Dropdown/components/Menu/MenuList.js.map +1 -0
  34. package/dist/mocked_classnames/src/components/next/Dropdown/components/Trigger/DropdownInput.js +1 -1
  35. package/dist/mocked_classnames/src/components/next/Dropdown/components/Trigger/DropdownInput.js.map +1 -1
  36. package/dist/mocked_classnames/src/components/next/Dropdown/components/Trigger/TriggerActions.js +1 -1
  37. package/dist/mocked_classnames/src/components/next/Dropdown/components/Trigger/TriggerActions.js.map +1 -1
  38. package/dist/mocked_classnames/src/components/next/Dropdown/modes/DropdownComboboxController.js +1 -1
  39. package/dist/mocked_classnames/src/components/next/Dropdown/modes/DropdownComboboxController.js.map +1 -1
  40. package/dist/mocked_classnames/src/components/next/Dropdown/modes/DropdownMultiComboboxController.js +1 -1
  41. package/dist/mocked_classnames/src/components/next/Dropdown/modes/DropdownMultiComboboxController.js.map +1 -1
  42. package/dist/mocked_classnames/src/components/next.js +1 -1
  43. package/dist/src/components/Dialog/Dialog.js +1 -1
  44. package/dist/src/components/Dialog/Dialog.js.map +1 -1
  45. package/dist/src/components/RadioButton/RadioButton.js.map +1 -1
  46. package/dist/src/components/Tipseen/Tipseen.js +1 -1
  47. package/dist/src/components/Tipseen/Tipseen.js.map +1 -1
  48. package/dist/src/components/next/Dropdown/components/DropdownBase/DropdownBase.js +1 -1
  49. package/dist/src/components/next/Dropdown/components/DropdownBase/DropdownBase.js.map +1 -1
  50. package/dist/src/components/next/Dropdown/components/DropdownBase/DropdownBase.module.scss.js +1 -1
  51. package/dist/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.js +2 -0
  52. package/dist/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.js.map +1 -0
  53. package/dist/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js +2 -0
  54. package/dist/src/components/next/Dropdown/components/DropdownBoxMode/DropdownBoxMode.module.scss.js.map +1 -0
  55. package/dist/src/components/next/Dropdown/components/DropdownWrapperUI.js +1 -1
  56. package/dist/src/components/next/Dropdown/components/DropdownWrapperUI.js.map +1 -1
  57. package/dist/src/components/next/Dropdown/components/Menu/Menu.js +1 -1
  58. package/dist/src/components/next/Dropdown/components/Menu/Menu.js.map +1 -1
  59. package/dist/src/components/next/Dropdown/components/Menu/MenuList.js +2 -0
  60. package/dist/src/components/next/Dropdown/components/Menu/MenuList.js.map +1 -0
  61. package/dist/src/components/next/Dropdown/components/Trigger/DropdownInput.js +1 -1
  62. package/dist/src/components/next/Dropdown/components/Trigger/DropdownInput.js.map +1 -1
  63. package/dist/src/components/next/Dropdown/components/Trigger/TriggerActions.js +1 -1
  64. package/dist/src/components/next/Dropdown/components/Trigger/TriggerActions.js.map +1 -1
  65. package/dist/src/components/next/Dropdown/modes/DropdownComboboxController.js +1 -1
  66. package/dist/src/components/next/Dropdown/modes/DropdownComboboxController.js.map +1 -1
  67. package/dist/src/components/next/Dropdown/modes/DropdownMultiComboboxController.js +1 -1
  68. package/dist/src/components/next/Dropdown/modes/DropdownMultiComboboxController.js.map +1 -1
  69. package/dist/src/components/next.js +1 -1
  70. package/package.json +7 -7
@@ -2881,49 +2881,103 @@
2881
2881
  "subComponents": []
2882
2882
  },
2883
2883
  {
2884
- "filePath": "src/components/ButtonGroup/ButtonGroup.tsx",
2884
+ "filePath": "src/Button/Button.tsx",
2885
2885
  "aggregator": "core",
2886
2886
  "symbols": [
2887
- "default as ButtonGroup",
2888
- "type ButtonGroupProps"
2887
+ "default as Button",
2888
+ "type ButtonProps",
2889
+ "ButtonType",
2890
+ "ButtonInputType",
2891
+ "ButtonColor",
2892
+ "ButtonSize"
2889
2893
  ],
2890
- "displayName": "ButtonGroup",
2894
+ "displayName": "Button",
2891
2895
  "description": "",
2892
2896
  "props": {
2893
- "options": {
2897
+ "className": {
2894
2898
  "defaultValue": null,
2895
- "description": "The list of button options.",
2896
- "name": "options",
2897
- "required": true,
2899
+ "description": "Custom class names to pass to the component",
2900
+ "name": "className",
2901
+ "required": false,
2898
2902
  "type": {
2899
- "name": "ButtonGroupOption[]"
2903
+ "name": "string"
2900
2904
  }
2901
2905
  },
2902
- "value": {
2906
+ "activeButtonClassName": {
2907
+ "defaultValue": null,
2908
+ "description": "",
2909
+ "name": "activeButtonClassName",
2910
+ "required": false,
2911
+ "type": {
2912
+ "name": "string"
2913
+ }
2914
+ },
2915
+ "kind": {
2903
2916
  "defaultValue": {
2904
- "value": ""
2917
+ "value": "primary"
2905
2918
  },
2906
- "description": "The currently selected button value.",
2907
- "name": "value",
2919
+ "description": "The button's kind",
2920
+ "name": "kind",
2908
2921
  "required": false,
2909
2922
  "type": {
2910
- "name": "ButtonValue"
2923
+ "name": "enum",
2924
+ "raw": "ButtonType",
2925
+ "value": [
2926
+ {
2927
+ "value": "\"primary\""
2928
+ },
2929
+ {
2930
+ "value": "\"secondary\""
2931
+ },
2932
+ {
2933
+ "value": "\"tertiary\""
2934
+ }
2935
+ ]
2911
2936
  }
2912
2937
  },
2913
- "onSelect": {
2938
+ "onClick": {
2914
2939
  "defaultValue": null,
2915
- "description": "Callback fired when a button is selected.",
2916
- "name": "onSelect",
2940
+ "description": "Callback function to run when the button is clicked",
2941
+ "name": "onClick",
2917
2942
  "required": false,
2918
2943
  "type": {
2919
- "name": "(value: ButtonValue, name: string) => void"
2944
+ "name": "(event: React.MouseEvent<HTMLButtonElement>) => void"
2945
+ }
2946
+ },
2947
+ "onMouseDown": {
2948
+ "defaultValue": null,
2949
+ "description": "",
2950
+ "name": "onMouseDown",
2951
+ "required": false,
2952
+ "type": {
2953
+ "name": "(event: React.MouseEvent<HTMLButtonElement>) => void"
2954
+ }
2955
+ },
2956
+ "blurOnMouseUp": {
2957
+ "defaultValue": {
2958
+ "value": "true"
2959
+ },
2960
+ "description": "Blur on button click",
2961
+ "name": "blurOnMouseUp",
2962
+ "required": false,
2963
+ "type": {
2964
+ "name": "boolean"
2965
+ }
2966
+ },
2967
+ "name": {
2968
+ "defaultValue": null,
2969
+ "description": "Name of the button - for form submit usages",
2970
+ "name": "name",
2971
+ "required": false,
2972
+ "type": {
2973
+ "name": "string"
2920
2974
  }
2921
2975
  },
2922
2976
  "size": {
2923
2977
  "defaultValue": {
2924
- "value": "small"
2978
+ "value": "medium"
2925
2979
  },
2926
- "description": "The size of the buttons.",
2980
+ "description": "The button's size",
2927
2981
  "name": "size",
2928
2982
  "required": false,
2929
2983
  "type": {
@@ -2948,204 +3002,209 @@
2948
3002
  ]
2949
3003
  }
2950
3004
  },
2951
- "kind": {
3005
+ "color": {
2952
3006
  "defaultValue": {
2953
- "value": "secondary"
3007
+ "value": "primary"
2954
3008
  },
2955
- "description": "The style variant of the buttons.",
2956
- "name": "kind",
3009
+ "description": "The button's color",
3010
+ "name": "color",
2957
3011
  "required": false,
2958
3012
  "type": {
2959
3013
  "name": "enum",
2960
- "raw": "\"secondary\" | \"tertiary\"",
3014
+ "raw": "ButtonColor",
2961
3015
  "value": [
2962
3016
  {
2963
- "value": "\"secondary\""
3017
+ "value": "\"primary\""
2964
3018
  },
2965
3019
  {
2966
- "value": "\"tertiary\""
3020
+ "value": "\"positive\""
3021
+ },
3022
+ {
3023
+ "value": "\"negative\""
3024
+ },
3025
+ {
3026
+ "value": "\"inverted\""
3027
+ },
3028
+ {
3029
+ "value": "\"on-primary-color\""
3030
+ },
3031
+ {
3032
+ "value": "\"on-inverted-background\""
3033
+ },
3034
+ {
3035
+ "value": "\"brand\""
3036
+ },
3037
+ {
3038
+ "value": "\"fixed-light\""
3039
+ },
3040
+ {
3041
+ "value": "\"fixed-dark\""
2967
3042
  }
2968
3043
  ]
2969
3044
  }
2970
3045
  },
2971
- "name": {
3046
+ "type": {
2972
3047
  "defaultValue": {
2973
- "value": ""
3048
+ "value": "button"
2974
3049
  },
2975
- "description": "The name of the button group.",
2976
- "name": "name",
3050
+ "description": "The button's type",
3051
+ "name": "type",
2977
3052
  "required": false,
2978
3053
  "type": {
2979
- "name": "string"
3054
+ "name": "enum",
3055
+ "raw": "ButtonInputType",
3056
+ "value": [
3057
+ {
3058
+ "value": "\"button\""
3059
+ },
3060
+ {
3061
+ "value": "\"submit\""
3062
+ },
3063
+ {
3064
+ "value": "\"reset\""
3065
+ }
3066
+ ]
2980
3067
  }
2981
3068
  },
2982
3069
  "disabled": {
2983
3070
  "defaultValue": {
2984
3071
  "value": "false"
2985
3072
  },
2986
- "description": "If true, disables all buttons in the group.",
3073
+ "description": "Whether the button should be disabled or not",
2987
3074
  "name": "disabled",
2988
3075
  "required": false,
2989
3076
  "type": {
2990
3077
  "name": "boolean"
2991
3078
  }
2992
3079
  },
2993
- "groupAriaLabel": {
3080
+ "rightIcon": {
2994
3081
  "defaultValue": {
2995
- "value": ""
3082
+ "value": "null"
2996
3083
  },
2997
- "description": "The label of the button group for accessibility.",
2998
- "name": "groupAriaLabel",
3084
+ "description": "Icon to place on the right",
3085
+ "name": "rightIcon",
2999
3086
  "required": false,
3000
3087
  "type": {
3001
- "name": "string"
3088
+ "name": "SubIcon"
3002
3089
  }
3003
3090
  },
3004
- "tooltipPosition": {
3005
- "defaultValue": null,
3006
- "description": "The position of the tooltip relative to the button.",
3007
- "name": "tooltipPosition",
3091
+ "leftIcon": {
3092
+ "defaultValue": {
3093
+ "value": "null"
3094
+ },
3095
+ "description": "Icon to place on the left",
3096
+ "name": "leftIcon",
3008
3097
  "required": false,
3009
3098
  "type": {
3010
- "name": "enum",
3011
- "raw": "TooltipPositions",
3012
- "value": [
3013
- {
3014
- "value": "\"top\""
3015
- },
3016
- {
3017
- "value": "\"right\""
3018
- },
3019
- {
3020
- "value": "\"bottom\""
3021
- },
3022
- {
3023
- "value": "\"left\""
3024
- }
3025
- ]
3099
+ "name": "SubIcon"
3026
3100
  }
3027
3101
  },
3028
- "tooltipHideDelay": {
3029
- "defaultValue": null,
3030
- "description": "The delay in milliseconds before the tooltip hides.",
3031
- "name": "tooltipHideDelay",
3102
+ "success": {
3103
+ "defaultValue": {
3104
+ "value": "false"
3105
+ },
3106
+ "description": "the success props are used when you have async action and wants to display a success message",
3107
+ "name": "success",
3032
3108
  "required": false,
3033
3109
  "type": {
3034
- "name": "number"
3110
+ "name": "boolean"
3035
3111
  }
3036
3112
  },
3037
- "tooltipShowDelay": {
3038
- "defaultValue": null,
3039
- "description": "The delay in milliseconds before the tooltip shows.",
3040
- "name": "tooltipShowDelay",
3113
+ "successIcon": {
3114
+ "defaultValue": {
3115
+ "value": "null"
3116
+ },
3117
+ "description": "Success icon name",
3118
+ "name": "successIcon",
3041
3119
  "required": false,
3042
3120
  "type": {
3043
- "name": "number"
3121
+ "name": "SubIcon"
3044
3122
  }
3045
3123
  },
3046
- "tooltipContainerSelector": {
3047
- "defaultValue": null,
3048
- "description": "CSS selector for the tooltip container.",
3049
- "name": "tooltipContainerSelector",
3124
+ "successText": {
3125
+ "defaultValue": {
3126
+ "value": ""
3127
+ },
3128
+ "description": "Success text",
3129
+ "name": "successText",
3050
3130
  "required": false,
3051
3131
  "type": {
3052
3132
  "name": "string"
3053
3133
  }
3054
3134
  },
3055
- "tooltipMoveBy": {
3135
+ "loading": {
3056
3136
  "defaultValue": null,
3057
- "description": "Adjusts the tooltip position.",
3058
- "name": "tooltipMoveBy",
3137
+ "description": "loading boolean which switches the text to a loader",
3138
+ "name": "loading",
3059
3139
  "required": false,
3060
3140
  "type": {
3061
- "name": "MoveBy"
3141
+ "name": "boolean"
3062
3142
  }
3063
3143
  },
3064
- "children": {
3144
+ "loaderClassName": {
3065
3145
  "defaultValue": null,
3066
- "description": "The content inside the button group.",
3067
- "name": "children",
3146
+ "description": "className which is applied to loader container *",
3147
+ "name": "loaderClassName",
3068
3148
  "required": false,
3069
3149
  "type": {
3070
- "name": "React.ReactNode"
3150
+ "name": "string"
3071
3151
  }
3072
3152
  },
3073
- "fullWidth": {
3074
- "defaultValue": {
3075
- "value": "false"
3076
- },
3077
- "description": "If true, makes the button group take the full width of its container.",
3078
- "name": "fullWidth",
3153
+ "style": {
3154
+ "defaultValue": null,
3155
+ "description": "",
3156
+ "name": "style",
3079
3157
  "required": false,
3080
3158
  "type": {
3081
- "name": "boolean"
3159
+ "name": "React.CSSProperties"
3082
3160
  }
3083
3161
  },
3084
- "blurOnMouseUp": {
3162
+ "active": {
3085
3163
  "defaultValue": {
3086
- "value": "true"
3164
+ "value": "false"
3087
3165
  },
3088
- "description": "If true, removes focus from the button after clicking.",
3089
- "name": "blurOnMouseUp",
3166
+ "description": "displays the active state",
3167
+ "name": "active",
3090
3168
  "required": false,
3091
3169
  "type": {
3092
3170
  "name": "boolean"
3093
3171
  }
3094
3172
  },
3095
- "className": {
3173
+ "id": {
3096
3174
  "defaultValue": null,
3097
- "description": "A CSS class name to apply to the component.",
3098
- "name": "className",
3175
+ "description": "id to pass to the button",
3176
+ "name": "id",
3099
3177
  "required": false,
3100
3178
  "type": {
3101
3179
  "name": "string"
3102
3180
  }
3103
3181
  },
3104
- "data-testid": {
3105
- "defaultValue": null,
3106
- "description": "A unique identifier for testing purposes.",
3107
- "name": "data-testid",
3182
+ "marginRight": {
3183
+ "defaultValue": {
3184
+ "value": "false"
3185
+ },
3186
+ "description": "adds 8px margin to the right",
3187
+ "name": "marginRight",
3108
3188
  "required": false,
3109
3189
  "type": {
3110
- "name": "string"
3190
+ "name": "boolean"
3111
3191
  }
3112
3192
  },
3113
- "id": {
3114
- "defaultValue": null,
3115
- "description": "An HTML id attribute for the component.",
3116
- "name": "id",
3117
- "required": false,
3118
- "type": {
3119
- "name": "string"
3120
- }
3121
- }
3122
- },
3123
- "import": "import { ButtonGroup } from \"@vibe/core\"",
3124
- "subComponents": []
3125
- },
3126
- {
3127
- "filePath": "src/components/Checkbox/Checkbox.tsx",
3128
- "aggregator": "core",
3129
- "symbols": [
3130
- "default as Checkbox",
3131
- "type CheckBoxProps as CheckboxProps"
3132
- ],
3133
- "displayName": "Checkbox",
3134
- "description": "",
3135
- "props": {
3136
- "checkboxClassName": {
3137
- "defaultValue": null,
3138
- "description": "Class name applied to the checkbox element.",
3139
- "name": "checkboxClassName",
3193
+ "marginLeft": {
3194
+ "defaultValue": {
3195
+ "value": "false"
3196
+ },
3197
+ "description": "adds 8px margin to the left",
3198
+ "name": "marginLeft",
3140
3199
  "required": false,
3141
3200
  "type": {
3142
- "name": "string"
3201
+ "name": "boolean"
3143
3202
  }
3144
3203
  },
3145
- "labelClassName": {
3204
+ "ariaLabeledBy": {
3146
3205
  "defaultValue": null,
3147
- "description": "Class name applied to the label element.",
3148
- "name": "labelClassName",
3206
+ "description": "element id to describe the button accordingly",
3207
+ "name": "ariaLabeledBy",
3149
3208
  "required": false,
3150
3209
  "type": {
3151
3210
  "name": "string"
@@ -3153,135 +3212,135 @@
3153
3212
  },
3154
3213
  "ariaLabel": {
3155
3214
  "defaultValue": null,
3156
- "description": "The label of the checkbox for accessibility.",
3215
+ "description": "aria label to provide important when providing only Icon",
3157
3216
  "name": "ariaLabel",
3158
3217
  "required": false,
3159
3218
  "type": {
3160
3219
  "name": "string"
3161
3220
  }
3162
3221
  },
3163
- "label": {
3222
+ "ariaHasPopup": {
3164
3223
  "defaultValue": null,
3165
- "description": "The content displayed next to the checkbox.",
3166
- "name": "label",
3224
+ "description": "aria for a button popup",
3225
+ "name": "ariaHasPopup",
3167
3226
  "required": false,
3168
3227
  "type": {
3169
- "name": "any"
3228
+ "name": "React.HTMLProps<HTMLButtonElement>"
3170
3229
  }
3171
3230
  },
3172
- "ariaLabelledBy": {
3231
+ "ariaExpanded": {
3173
3232
  "defaultValue": null,
3174
- "description": "The ID of an element describing the checkbox.",
3175
- "name": "ariaLabelledBy",
3233
+ "description": "aria to be set if the popup is open",
3234
+ "name": "ariaExpanded",
3176
3235
  "required": false,
3177
3236
  "type": {
3178
- "name": "string"
3237
+ "name": "boolean"
3179
3238
  }
3180
3239
  },
3181
- "onChange": {
3240
+ "ariaControls": {
3182
3241
  "defaultValue": null,
3183
- "description": "Callback fired when the checkbox value changes.",
3184
- "name": "onChange",
3242
+ "description": "aria controls - receives id for the controlled region",
3243
+ "name": "ariaControls",
3185
3244
  "required": false,
3186
3245
  "type": {
3187
- "name": "(event: React.ChangeEvent<HTMLInputElement>) => void"
3246
+ "name": "string"
3188
3247
  }
3189
3248
  },
3190
- "checked": {
3249
+ "aria-describedby": {
3191
3250
  "defaultValue": null,
3192
- "description": "If true, controls the checked state of the checkbox.",
3193
- "name": "checked",
3251
+ "description": "",
3252
+ "name": "aria-describedby",
3194
3253
  "required": false,
3195
3254
  "type": {
3196
- "name": "boolean"
3255
+ "name": "string"
3197
3256
  }
3198
3257
  },
3199
- "indeterminate": {
3200
- "defaultValue": {
3201
- "value": "false"
3202
- },
3203
- "description": "If true, displays an indeterminate state.",
3204
- "name": "indeterminate",
3258
+ "aria-hidden": {
3259
+ "defaultValue": null,
3260
+ "description": "aria to be used for screen reader to know if the button is hidden",
3261
+ "name": "aria-hidden",
3205
3262
  "required": false,
3206
3263
  "type": {
3207
- "name": "boolean"
3264
+ "name": "Booleanish"
3208
3265
  }
3209
3266
  },
3210
- "autoFocus": {
3267
+ "aria-pressed": {
3211
3268
  "defaultValue": null,
3212
- "description": "If true, the checkbox automatically receives focus.",
3213
- "name": "autoFocus",
3269
+ "description": "Indicates the current \"pressed\" state of toggle buttons",
3270
+ "name": "aria-pressed",
3214
3271
  "required": false,
3215
3272
  "type": {
3216
- "name": "boolean"
3273
+ "name": "boolean | \"true\" | \"false\" | \"mixed\""
3217
3274
  }
3218
3275
  },
3219
- "disabled": {
3220
- "defaultValue": {
3221
- "value": "false"
3222
- },
3223
- "description": "If true, the checkbox is disabled.",
3224
- "name": "disabled",
3276
+ "onFocus": {
3277
+ "defaultValue": null,
3278
+ "description": "On Button Focus callback",
3279
+ "name": "onFocus",
3225
3280
  "required": false,
3226
3281
  "type": {
3227
- "name": "boolean"
3282
+ "name": "(event: React.FocusEvent<HTMLButtonElement>) => void"
3228
3283
  }
3229
3284
  },
3230
- "defaultChecked": {
3285
+ "onBlur": {
3231
3286
  "defaultValue": null,
3232
- "description": "The initial checked state of the checkbox.",
3233
- "name": "defaultChecked",
3287
+ "description": "On Button Blur callback",
3288
+ "name": "onBlur",
3234
3289
  "required": false,
3235
3290
  "type": {
3236
- "name": "boolean"
3291
+ "name": "(event: React.FocusEvent<HTMLButtonElement>) => void"
3237
3292
  }
3238
3293
  },
3239
- "value": {
3294
+ "rightFlat": {
3240
3295
  "defaultValue": {
3241
- "value": ""
3296
+ "value": "false"
3242
3297
  },
3243
- "description": "The value submitted with the form when checked.",
3244
- "name": "value",
3298
+ "description": "",
3299
+ "name": "rightFlat",
3245
3300
  "required": false,
3246
3301
  "type": {
3247
- "name": "string"
3302
+ "name": "boolean"
3248
3303
  }
3249
3304
  },
3250
- "name": {
3305
+ "leftFlat": {
3251
3306
  "defaultValue": {
3252
- "value": ""
3307
+ "value": "false"
3253
3308
  },
3254
- "description": "The name of the checkbox, used for form submission.",
3255
- "name": "name",
3309
+ "description": "",
3310
+ "name": "leftFlat",
3256
3311
  "required": false,
3257
3312
  "type": {
3258
- "name": "string"
3313
+ "name": "boolean"
3259
3314
  }
3260
3315
  },
3261
- "tabIndex": {
3262
- "defaultValue": null,
3263
- "description": "The tab order of the checkbox.",
3264
- "name": "tabIndex",
3316
+ "preventClickAnimation": {
3317
+ "defaultValue": {
3318
+ "value": "false"
3319
+ },
3320
+ "description": "",
3321
+ "name": "preventClickAnimation",
3265
3322
  "required": false,
3266
3323
  "type": {
3267
- "name": "number"
3324
+ "name": "boolean"
3268
3325
  }
3269
3326
  },
3270
- "separateLabel": {
3327
+ "noSidePadding": {
3271
3328
  "defaultValue": {
3272
3329
  "value": "false"
3273
3330
  },
3274
- "description": "If true, uses separate labels with htmlFor/id association instead of wrapping the input.\nIf using this the id prop is required for it to function correctly.",
3275
- "name": "separateLabel",
3331
+ "description": "",
3332
+ "name": "noSidePadding",
3276
3333
  "required": false,
3277
3334
  "type": {
3278
3335
  "name": "boolean"
3279
3336
  }
3280
3337
  },
3281
- "className": {
3282
- "defaultValue": null,
3283
- "description": "A CSS class name to apply to the component.",
3284
- "name": "className",
3338
+ "defaultTextColorOnPrimaryColor": {
3339
+ "defaultValue": {
3340
+ "value": "rgba(0, 0, 0, 0)"
3341
+ },
3342
+ "description": "default color for text color in ON_PRIMARY_COLOR kind (should be any type of css color (rbg, var, hex...)",
3343
+ "name": "defaultTextColorOnPrimaryColor",
3285
3344
  "required": false,
3286
3345
  "type": {
3287
3346
  "name": "string"
@@ -3296,74 +3355,514 @@
3296
3355
  "name": "string"
3297
3356
  }
3298
3357
  },
3299
- "id": {
3358
+ "insetFocus": {
3359
+ "defaultValue": {
3360
+ "value": "false"
3361
+ },
3362
+ "description": "Change the focus indicator from around the button to within it",
3363
+ "name": "insetFocus",
3364
+ "required": false,
3365
+ "type": {
3366
+ "name": "boolean"
3367
+ }
3368
+ },
3369
+ "tabIndex": {
3300
3370
  "defaultValue": null,
3301
- "description": "An HTML id attribute for the component.",
3302
- "name": "id",
3371
+ "description": "Specifies the tab order of an element",
3372
+ "name": "tabIndex",
3303
3373
  "required": false,
3304
3374
  "type": {
3305
- "name": "string"
3375
+ "name": "number"
3306
3376
  }
3307
3377
  }
3308
3378
  },
3309
- "import": "import { Checkbox } from \"@vibe/core\"",
3379
+ "import": "import { Button } from \"@vibe/button\"",
3310
3380
  "subComponents": []
3311
3381
  },
3312
3382
  {
3313
- "filePath": "src/components/Chips/Chips.tsx",
3383
+ "filePath": "src/components/ButtonGroup/ButtonGroup.tsx",
3314
3384
  "aggregator": "core",
3315
3385
  "symbols": [
3316
- "default as Chips",
3317
- "type ChipsProps"
3386
+ "default as ButtonGroup",
3387
+ "type ButtonGroupProps"
3318
3388
  ],
3319
- "displayName": "Chips",
3389
+ "displayName": "ButtonGroup",
3320
3390
  "description": "",
3321
3391
  "props": {
3322
- "label": {
3323
- "defaultValue": {
3324
- "value": ""
3325
- },
3326
- "description": "The text or content displayed inside the chip.",
3327
- "name": "label",
3328
- "required": false,
3392
+ "options": {
3393
+ "defaultValue": null,
3394
+ "description": "The list of button options.",
3395
+ "name": "options",
3396
+ "required": true,
3329
3397
  "type": {
3330
- "name": "ElementContent"
3398
+ "name": "ButtonGroupOption[]"
3331
3399
  }
3332
3400
  },
3333
- "disabled": {
3401
+ "value": {
3334
3402
  "defaultValue": {
3335
- "value": "false"
3403
+ "value": ""
3336
3404
  },
3337
- "description": "If true, the chip is disabled.",
3338
- "name": "disabled",
3405
+ "description": "The currently selected button value.",
3406
+ "name": "value",
3339
3407
  "required": false,
3340
3408
  "type": {
3341
- "name": "boolean"
3409
+ "name": "ButtonValue"
3342
3410
  }
3343
3411
  },
3344
- "readOnly": {
3345
- "defaultValue": {
3346
- "value": "false"
3347
- },
3348
- "description": "If true, the chip is read-only and cannot be deleted.",
3349
- "name": "readOnly",
3412
+ "onSelect": {
3413
+ "defaultValue": null,
3414
+ "description": "Callback fired when a button is selected.",
3415
+ "name": "onSelect",
3350
3416
  "required": false,
3351
3417
  "type": {
3352
- "name": "boolean"
3418
+ "name": "(value: ButtonValue, name: string) => void"
3353
3419
  }
3354
3420
  },
3355
- "rightRenderer": {
3356
- "defaultValue": null,
3357
- "description": "A React element displayed on the right side.",
3358
- "name": "rightRenderer",
3421
+ "size": {
3422
+ "defaultValue": {
3423
+ "value": "small"
3424
+ },
3425
+ "description": "The size of the buttons.",
3426
+ "name": "size",
3359
3427
  "required": false,
3360
3428
  "type": {
3361
- "name": "ElementContent"
3362
- }
3363
- },
3364
- "leftRenderer": {
3365
- "defaultValue": null,
3366
- "description": "A React element displayed on the left side.",
3429
+ "name": "enum",
3430
+ "raw": "ButtonSize",
3431
+ "value": [
3432
+ {
3433
+ "value": "\"xxs\""
3434
+ },
3435
+ {
3436
+ "value": "\"xs\""
3437
+ },
3438
+ {
3439
+ "value": "\"small\""
3440
+ },
3441
+ {
3442
+ "value": "\"medium\""
3443
+ },
3444
+ {
3445
+ "value": "\"large\""
3446
+ }
3447
+ ]
3448
+ }
3449
+ },
3450
+ "kind": {
3451
+ "defaultValue": {
3452
+ "value": "secondary"
3453
+ },
3454
+ "description": "The style variant of the buttons.",
3455
+ "name": "kind",
3456
+ "required": false,
3457
+ "type": {
3458
+ "name": "enum",
3459
+ "raw": "\"secondary\" | \"tertiary\"",
3460
+ "value": [
3461
+ {
3462
+ "value": "\"secondary\""
3463
+ },
3464
+ {
3465
+ "value": "\"tertiary\""
3466
+ }
3467
+ ]
3468
+ }
3469
+ },
3470
+ "name": {
3471
+ "defaultValue": {
3472
+ "value": ""
3473
+ },
3474
+ "description": "The name of the button group.",
3475
+ "name": "name",
3476
+ "required": false,
3477
+ "type": {
3478
+ "name": "string"
3479
+ }
3480
+ },
3481
+ "disabled": {
3482
+ "defaultValue": {
3483
+ "value": "false"
3484
+ },
3485
+ "description": "If true, disables all buttons in the group.",
3486
+ "name": "disabled",
3487
+ "required": false,
3488
+ "type": {
3489
+ "name": "boolean"
3490
+ }
3491
+ },
3492
+ "groupAriaLabel": {
3493
+ "defaultValue": {
3494
+ "value": ""
3495
+ },
3496
+ "description": "The label of the button group for accessibility.",
3497
+ "name": "groupAriaLabel",
3498
+ "required": false,
3499
+ "type": {
3500
+ "name": "string"
3501
+ }
3502
+ },
3503
+ "tooltipPosition": {
3504
+ "defaultValue": null,
3505
+ "description": "The position of the tooltip relative to the button.",
3506
+ "name": "tooltipPosition",
3507
+ "required": false,
3508
+ "type": {
3509
+ "name": "enum",
3510
+ "raw": "TooltipPositions",
3511
+ "value": [
3512
+ {
3513
+ "value": "\"top\""
3514
+ },
3515
+ {
3516
+ "value": "\"right\""
3517
+ },
3518
+ {
3519
+ "value": "\"bottom\""
3520
+ },
3521
+ {
3522
+ "value": "\"left\""
3523
+ }
3524
+ ]
3525
+ }
3526
+ },
3527
+ "tooltipHideDelay": {
3528
+ "defaultValue": null,
3529
+ "description": "The delay in milliseconds before the tooltip hides.",
3530
+ "name": "tooltipHideDelay",
3531
+ "required": false,
3532
+ "type": {
3533
+ "name": "number"
3534
+ }
3535
+ },
3536
+ "tooltipShowDelay": {
3537
+ "defaultValue": null,
3538
+ "description": "The delay in milliseconds before the tooltip shows.",
3539
+ "name": "tooltipShowDelay",
3540
+ "required": false,
3541
+ "type": {
3542
+ "name": "number"
3543
+ }
3544
+ },
3545
+ "tooltipContainerSelector": {
3546
+ "defaultValue": null,
3547
+ "description": "CSS selector for the tooltip container.",
3548
+ "name": "tooltipContainerSelector",
3549
+ "required": false,
3550
+ "type": {
3551
+ "name": "string"
3552
+ }
3553
+ },
3554
+ "tooltipMoveBy": {
3555
+ "defaultValue": null,
3556
+ "description": "Adjusts the tooltip position.",
3557
+ "name": "tooltipMoveBy",
3558
+ "required": false,
3559
+ "type": {
3560
+ "name": "MoveBy"
3561
+ }
3562
+ },
3563
+ "children": {
3564
+ "defaultValue": null,
3565
+ "description": "The content inside the button group.",
3566
+ "name": "children",
3567
+ "required": false,
3568
+ "type": {
3569
+ "name": "React.ReactNode"
3570
+ }
3571
+ },
3572
+ "fullWidth": {
3573
+ "defaultValue": {
3574
+ "value": "false"
3575
+ },
3576
+ "description": "If true, makes the button group take the full width of its container.",
3577
+ "name": "fullWidth",
3578
+ "required": false,
3579
+ "type": {
3580
+ "name": "boolean"
3581
+ }
3582
+ },
3583
+ "blurOnMouseUp": {
3584
+ "defaultValue": {
3585
+ "value": "true"
3586
+ },
3587
+ "description": "If true, removes focus from the button after clicking.",
3588
+ "name": "blurOnMouseUp",
3589
+ "required": false,
3590
+ "type": {
3591
+ "name": "boolean"
3592
+ }
3593
+ },
3594
+ "className": {
3595
+ "defaultValue": null,
3596
+ "description": "A CSS class name to apply to the component.",
3597
+ "name": "className",
3598
+ "required": false,
3599
+ "type": {
3600
+ "name": "string"
3601
+ }
3602
+ },
3603
+ "data-testid": {
3604
+ "defaultValue": null,
3605
+ "description": "A unique identifier for testing purposes.",
3606
+ "name": "data-testid",
3607
+ "required": false,
3608
+ "type": {
3609
+ "name": "string"
3610
+ }
3611
+ },
3612
+ "id": {
3613
+ "defaultValue": null,
3614
+ "description": "An HTML id attribute for the component.",
3615
+ "name": "id",
3616
+ "required": false,
3617
+ "type": {
3618
+ "name": "string"
3619
+ }
3620
+ }
3621
+ },
3622
+ "import": "import { ButtonGroup } from \"@vibe/core\"",
3623
+ "subComponents": []
3624
+ },
3625
+ {
3626
+ "filePath": "src/components/Checkbox/Checkbox.tsx",
3627
+ "aggregator": "core",
3628
+ "symbols": [
3629
+ "default as Checkbox",
3630
+ "type CheckBoxProps as CheckboxProps"
3631
+ ],
3632
+ "displayName": "Checkbox",
3633
+ "description": "",
3634
+ "props": {
3635
+ "checkboxClassName": {
3636
+ "defaultValue": null,
3637
+ "description": "Class name applied to the checkbox element.",
3638
+ "name": "checkboxClassName",
3639
+ "required": false,
3640
+ "type": {
3641
+ "name": "string"
3642
+ }
3643
+ },
3644
+ "labelClassName": {
3645
+ "defaultValue": null,
3646
+ "description": "Class name applied to the label element.",
3647
+ "name": "labelClassName",
3648
+ "required": false,
3649
+ "type": {
3650
+ "name": "string"
3651
+ }
3652
+ },
3653
+ "ariaLabel": {
3654
+ "defaultValue": null,
3655
+ "description": "The label of the checkbox for accessibility.",
3656
+ "name": "ariaLabel",
3657
+ "required": false,
3658
+ "type": {
3659
+ "name": "string"
3660
+ }
3661
+ },
3662
+ "label": {
3663
+ "defaultValue": null,
3664
+ "description": "The content displayed next to the checkbox.",
3665
+ "name": "label",
3666
+ "required": false,
3667
+ "type": {
3668
+ "name": "any"
3669
+ }
3670
+ },
3671
+ "ariaLabelledBy": {
3672
+ "defaultValue": null,
3673
+ "description": "The ID of an element describing the checkbox.",
3674
+ "name": "ariaLabelledBy",
3675
+ "required": false,
3676
+ "type": {
3677
+ "name": "string"
3678
+ }
3679
+ },
3680
+ "onChange": {
3681
+ "defaultValue": null,
3682
+ "description": "Callback fired when the checkbox value changes.",
3683
+ "name": "onChange",
3684
+ "required": false,
3685
+ "type": {
3686
+ "name": "(event: React.ChangeEvent<HTMLInputElement>) => void"
3687
+ }
3688
+ },
3689
+ "checked": {
3690
+ "defaultValue": null,
3691
+ "description": "If true, controls the checked state of the checkbox.",
3692
+ "name": "checked",
3693
+ "required": false,
3694
+ "type": {
3695
+ "name": "boolean"
3696
+ }
3697
+ },
3698
+ "indeterminate": {
3699
+ "defaultValue": {
3700
+ "value": "false"
3701
+ },
3702
+ "description": "If true, displays an indeterminate state.",
3703
+ "name": "indeterminate",
3704
+ "required": false,
3705
+ "type": {
3706
+ "name": "boolean"
3707
+ }
3708
+ },
3709
+ "autoFocus": {
3710
+ "defaultValue": null,
3711
+ "description": "If true, the checkbox automatically receives focus.",
3712
+ "name": "autoFocus",
3713
+ "required": false,
3714
+ "type": {
3715
+ "name": "boolean"
3716
+ }
3717
+ },
3718
+ "disabled": {
3719
+ "defaultValue": {
3720
+ "value": "false"
3721
+ },
3722
+ "description": "If true, the checkbox is disabled.",
3723
+ "name": "disabled",
3724
+ "required": false,
3725
+ "type": {
3726
+ "name": "boolean"
3727
+ }
3728
+ },
3729
+ "defaultChecked": {
3730
+ "defaultValue": null,
3731
+ "description": "The initial checked state of the checkbox.",
3732
+ "name": "defaultChecked",
3733
+ "required": false,
3734
+ "type": {
3735
+ "name": "boolean"
3736
+ }
3737
+ },
3738
+ "value": {
3739
+ "defaultValue": {
3740
+ "value": ""
3741
+ },
3742
+ "description": "The value submitted with the form when checked.",
3743
+ "name": "value",
3744
+ "required": false,
3745
+ "type": {
3746
+ "name": "string"
3747
+ }
3748
+ },
3749
+ "name": {
3750
+ "defaultValue": {
3751
+ "value": ""
3752
+ },
3753
+ "description": "The name of the checkbox, used for form submission.",
3754
+ "name": "name",
3755
+ "required": false,
3756
+ "type": {
3757
+ "name": "string"
3758
+ }
3759
+ },
3760
+ "tabIndex": {
3761
+ "defaultValue": null,
3762
+ "description": "The tab order of the checkbox.",
3763
+ "name": "tabIndex",
3764
+ "required": false,
3765
+ "type": {
3766
+ "name": "number"
3767
+ }
3768
+ },
3769
+ "separateLabel": {
3770
+ "defaultValue": {
3771
+ "value": "false"
3772
+ },
3773
+ "description": "If true, uses separate labels with htmlFor/id association instead of wrapping the input.\nIf using this the id prop is required for it to function correctly.",
3774
+ "name": "separateLabel",
3775
+ "required": false,
3776
+ "type": {
3777
+ "name": "boolean"
3778
+ }
3779
+ },
3780
+ "className": {
3781
+ "defaultValue": null,
3782
+ "description": "A CSS class name to apply to the component.",
3783
+ "name": "className",
3784
+ "required": false,
3785
+ "type": {
3786
+ "name": "string"
3787
+ }
3788
+ },
3789
+ "data-testid": {
3790
+ "defaultValue": null,
3791
+ "description": "A unique identifier for testing purposes.",
3792
+ "name": "data-testid",
3793
+ "required": false,
3794
+ "type": {
3795
+ "name": "string"
3796
+ }
3797
+ },
3798
+ "id": {
3799
+ "defaultValue": null,
3800
+ "description": "An HTML id attribute for the component.",
3801
+ "name": "id",
3802
+ "required": false,
3803
+ "type": {
3804
+ "name": "string"
3805
+ }
3806
+ }
3807
+ },
3808
+ "import": "import { Checkbox } from \"@vibe/core\"",
3809
+ "subComponents": []
3810
+ },
3811
+ {
3812
+ "filePath": "src/components/Chips/Chips.tsx",
3813
+ "aggregator": "core",
3814
+ "symbols": [
3815
+ "default as Chips",
3816
+ "type ChipsProps"
3817
+ ],
3818
+ "displayName": "Chips",
3819
+ "description": "",
3820
+ "props": {
3821
+ "label": {
3822
+ "defaultValue": {
3823
+ "value": ""
3824
+ },
3825
+ "description": "The text or content displayed inside the chip.",
3826
+ "name": "label",
3827
+ "required": false,
3828
+ "type": {
3829
+ "name": "ElementContent"
3830
+ }
3831
+ },
3832
+ "disabled": {
3833
+ "defaultValue": {
3834
+ "value": "false"
3835
+ },
3836
+ "description": "If true, the chip is disabled.",
3837
+ "name": "disabled",
3838
+ "required": false,
3839
+ "type": {
3840
+ "name": "boolean"
3841
+ }
3842
+ },
3843
+ "readOnly": {
3844
+ "defaultValue": {
3845
+ "value": "false"
3846
+ },
3847
+ "description": "If true, the chip is read-only and cannot be deleted.",
3848
+ "name": "readOnly",
3849
+ "required": false,
3850
+ "type": {
3851
+ "name": "boolean"
3852
+ }
3853
+ },
3854
+ "rightRenderer": {
3855
+ "defaultValue": null,
3856
+ "description": "A React element displayed on the right side.",
3857
+ "name": "rightRenderer",
3858
+ "required": false,
3859
+ "type": {
3860
+ "name": "ElementContent"
3861
+ }
3862
+ },
3863
+ "leftRenderer": {
3864
+ "defaultValue": null,
3865
+ "description": "A React element displayed on the left side.",
3367
3866
  "name": "leftRenderer",
3368
3867
  "required": false,
3369
3868
  "type": {
@@ -5766,17 +6265,6 @@
5766
6265
  "name": "boolean"
5767
6266
  }
5768
6267
  },
5769
- "enableNestedDialogLayer": {
5770
- "defaultValue": {
5771
- "value": "false"
5772
- },
5773
- "description": "If true, provides a LayerProvider context for nested dialogs to render correctly.\nThis is useful when you have components that use Dialog internally (like Dropdown)\ninside another Dialog, ensuring proper z-index stacking and click-outside behavior.",
5774
- "name": "enableNestedDialogLayer",
5775
- "required": false,
5776
- "type": {
5777
- "name": "boolean"
5778
- }
5779
- },
5780
6268
  "className": {
5781
6269
  "defaultValue": null,
5782
6270
  "description": "A CSS class name to apply to the component.",
@@ -7870,94 +8358,301 @@
7870
8358
  ]
7871
8359
  }
7872
8360
  },
7873
- "color": {
8361
+ "color": {
8362
+ "defaultValue": null,
8363
+ "description": "The text color.",
8364
+ "name": "color",
8365
+ "required": false,
8366
+ "type": {
8367
+ "name": "enum",
8368
+ "raw": "TypographyColor",
8369
+ "value": [
8370
+ {
8371
+ "value": "\"inherit\""
8372
+ },
8373
+ {
8374
+ "value": "\"primary\""
8375
+ },
8376
+ {
8377
+ "value": "\"secondary\""
8378
+ },
8379
+ {
8380
+ "value": "\"onPrimary\""
8381
+ },
8382
+ {
8383
+ "value": "\"onInverted\""
8384
+ },
8385
+ {
8386
+ "value": "\"fixedLight\""
8387
+ },
8388
+ {
8389
+ "value": "\"fixedDark\""
8390
+ },
8391
+ {
8392
+ "value": "\"negative\""
8393
+ }
8394
+ ]
8395
+ }
8396
+ },
8397
+ "children": {
8398
+ "defaultValue": null,
8399
+ "description": "The content inside the heading.",
8400
+ "name": "children",
8401
+ "required": true,
8402
+ "type": {
8403
+ "name": "ReactNode"
8404
+ }
8405
+ },
8406
+ "element": {
8407
+ "defaultValue": null,
8408
+ "description": "The HTML element tag used for the text component.",
8409
+ "name": "element",
8410
+ "required": false,
8411
+ "type": {
8412
+ "name": "string"
8413
+ }
8414
+ },
8415
+ "ellipsis": {
8416
+ "defaultValue": null,
8417
+ "description": "If true, truncates overflowing text with an ellipsis.",
8418
+ "name": "ellipsis",
8419
+ "required": false,
8420
+ "type": {
8421
+ "name": "boolean"
8422
+ }
8423
+ },
8424
+ "maxLines": {
8425
+ "defaultValue": null,
8426
+ "description": "The maximum number of lines before truncating with an ellipsis.",
8427
+ "name": "maxLines",
8428
+ "required": false,
8429
+ "type": {
8430
+ "name": "number"
8431
+ }
8432
+ },
8433
+ "tooltipProps": {
8434
+ "defaultValue": null,
8435
+ "description": "Props passed to the tooltip displayed when hovering over the text.",
8436
+ "name": "tooltipProps",
8437
+ "required": false,
8438
+ "type": {
8439
+ "name": "Partial<TooltipProps>"
8440
+ }
8441
+ },
8442
+ "withoutTooltip": {
8443
+ "defaultValue": null,
8444
+ "description": "If true, disables the tooltip that appears when text is truncated.",
8445
+ "name": "withoutTooltip",
8446
+ "required": false,
8447
+ "type": {
8448
+ "name": "boolean"
8449
+ }
8450
+ },
8451
+ "className": {
8452
+ "defaultValue": null,
8453
+ "description": "A CSS class name to apply to the component.",
8454
+ "name": "className",
8455
+ "required": false,
8456
+ "type": {
8457
+ "name": "string"
8458
+ }
8459
+ },
8460
+ "data-testid": {
8461
+ "defaultValue": null,
8462
+ "description": "A unique identifier for testing purposes.",
8463
+ "name": "data-testid",
8464
+ "required": false,
8465
+ "type": {
8466
+ "name": "string"
8467
+ }
8468
+ },
8469
+ "id": {
8470
+ "defaultValue": null,
8471
+ "description": "An HTML id attribute for the component.",
8472
+ "name": "id",
8473
+ "required": false,
8474
+ "type": {
8475
+ "name": "string"
8476
+ }
8477
+ }
8478
+ },
8479
+ "import": "import { Heading } from \"@vibe/core\"",
8480
+ "subComponents": []
8481
+ },
8482
+ {
8483
+ "filePath": "src/components/HiddenText/HiddenText.tsx",
8484
+ "aggregator": "core",
8485
+ "symbols": [
8486
+ "default as HiddenText",
8487
+ "type HiddenTextProps"
8488
+ ],
8489
+ "displayName": "HiddenText",
8490
+ "description": "",
8491
+ "props": {
8492
+ "text": {
8493
+ "defaultValue": null,
8494
+ "description": "The text content that is hidden but available for assistive technologies.",
8495
+ "name": "text",
8496
+ "required": true,
8497
+ "type": {
8498
+ "name": "string"
8499
+ }
8500
+ },
8501
+ "className": {
8502
+ "defaultValue": {
8503
+ "value": ""
8504
+ },
8505
+ "description": "A CSS class name to apply to the component.",
8506
+ "name": "className",
8507
+ "required": false,
8508
+ "type": {
8509
+ "name": "string"
8510
+ }
8511
+ },
8512
+ "data-testid": {
8513
+ "defaultValue": null,
8514
+ "description": "A unique identifier for testing purposes.",
8515
+ "name": "data-testid",
8516
+ "required": false,
8517
+ "type": {
8518
+ "name": "string"
8519
+ }
8520
+ },
8521
+ "id": {
8522
+ "defaultValue": {
8523
+ "value": "hiddenText"
8524
+ },
8525
+ "description": "An HTML id attribute for the component.",
8526
+ "name": "id",
8527
+ "required": false,
8528
+ "type": {
8529
+ "name": "string"
8530
+ }
8531
+ }
8532
+ },
8533
+ "import": "import { HiddenText } from \"@vibe/core\"",
8534
+ "subComponents": []
8535
+ },
8536
+ {
8537
+ "filePath": "src/Icon/Icon.tsx",
8538
+ "aggregator": "core",
8539
+ "symbols": [
8540
+ "default as Icon",
8541
+ "type IconProps"
8542
+ ],
8543
+ "displayName": "Icon",
8544
+ "description": "",
8545
+ "props": {
8546
+ "icon": {
8547
+ "defaultValue": {
8548
+ "value": ""
8549
+ },
8550
+ "description": "The icon name, component, or source URL.",
8551
+ "name": "icon",
8552
+ "required": false,
8553
+ "type": {
8554
+ "name": "SubIcon"
8555
+ }
8556
+ },
8557
+ "iconLabel": {
7874
8558
  "defaultValue": null,
7875
- "description": "The text color.",
7876
- "name": "color",
8559
+ "description": "The accessible label for the icon.",
8560
+ "name": "iconLabel",
8561
+ "required": false,
8562
+ "type": {
8563
+ "name": "string"
8564
+ }
8565
+ },
8566
+ "iconType": {
8567
+ "defaultValue": {
8568
+ "value": "svg"
8569
+ },
8570
+ "description": "The type of the icon: `svg`, `font`, or `src` (external source).",
8571
+ "name": "iconType",
7877
8572
  "required": false,
7878
8573
  "type": {
7879
8574
  "name": "enum",
7880
- "raw": "TypographyColor",
8575
+ "raw": "IconType",
7881
8576
  "value": [
7882
8577
  {
7883
- "value": "\"inherit\""
7884
- },
7885
- {
7886
- "value": "\"primary\""
7887
- },
7888
- {
7889
- "value": "\"secondary\""
7890
- },
7891
- {
7892
- "value": "\"onPrimary\""
7893
- },
7894
- {
7895
- "value": "\"onInverted\""
7896
- },
7897
- {
7898
- "value": "\"fixedLight\""
8578
+ "value": "\"svg\""
7899
8579
  },
7900
8580
  {
7901
- "value": "\"fixedDark\""
8581
+ "value": "\"font\""
7902
8582
  },
7903
8583
  {
7904
- "value": "\"negative\""
8584
+ "value": "\"src\""
7905
8585
  }
7906
8586
  ]
7907
8587
  }
7908
8588
  },
7909
- "children": {
7910
- "defaultValue": null,
7911
- "description": "The content inside the heading.",
7912
- "name": "children",
7913
- "required": true,
8589
+ "iconSize": {
8590
+ "defaultValue": {
8591
+ "value": "16"
8592
+ },
8593
+ "description": "The size of the icon.",
8594
+ "name": "iconSize",
8595
+ "required": false,
7914
8596
  "type": {
7915
- "name": "ReactNode"
8597
+ "name": "string | number"
7916
8598
  }
7917
8599
  },
7918
- "element": {
8600
+ "ignoreFocusStyle": {
8601
+ "defaultValue": {
8602
+ "value": "false"
8603
+ },
8604
+ "description": "If true, removes focus styles from the icon.",
8605
+ "name": "ignoreFocusStyle",
8606
+ "required": false,
8607
+ "type": {
8608
+ "name": "boolean"
8609
+ }
8610
+ },
8611
+ "tabindex": {
7919
8612
  "defaultValue": null,
7920
- "description": "The HTML element tag used for the text component.",
7921
- "name": "element",
8613
+ "description": "The tab index of the icon for keyboard navigation.",
8614
+ "name": "tabindex",
7922
8615
  "required": false,
7923
8616
  "type": {
7924
- "name": "string"
8617
+ "name": "string | number"
7925
8618
  }
7926
8619
  },
7927
- "ellipsis": {
8620
+ "ariaHidden": {
7928
8621
  "defaultValue": null,
7929
- "description": "If true, truncates overflowing text with an ellipsis.",
7930
- "name": "ellipsis",
8622
+ "description": "If true, hides the icon from screen readers.",
8623
+ "name": "ariaHidden",
7931
8624
  "required": false,
7932
8625
  "type": {
7933
8626
  "name": "boolean"
7934
8627
  }
7935
8628
  },
7936
- "maxLines": {
8629
+ "style": {
7937
8630
  "defaultValue": null,
7938
- "description": "The maximum number of lines before truncating with an ellipsis.",
7939
- "name": "maxLines",
8631
+ "description": "Inline styles applied to the icon.",
8632
+ "name": "style",
7940
8633
  "required": false,
7941
8634
  "type": {
7942
- "name": "number"
8635
+ "name": "React.CSSProperties"
7943
8636
  }
7944
8637
  },
7945
- "tooltipProps": {
7946
- "defaultValue": null,
7947
- "description": "Props passed to the tooltip displayed when hovering over the text.",
7948
- "name": "tooltipProps",
8638
+ "useCurrentColor": {
8639
+ "defaultValue": {
8640
+ "value": "false"
8641
+ },
8642
+ "description": "If true, replaces `fill` property with `currentColor` when using an `src` icon.",
8643
+ "name": "useCurrentColor",
7949
8644
  "required": false,
7950
8645
  "type": {
7951
- "name": "Partial<TooltipProps>"
8646
+ "name": "boolean"
7952
8647
  }
7953
8648
  },
7954
- "withoutTooltip": {
8649
+ "customColor": {
7955
8650
  "defaultValue": null,
7956
- "description": "If true, disables the tooltip that appears when text is truncated.",
7957
- "name": "withoutTooltip",
8651
+ "description": "Overrides the default color with a custom color.",
8652
+ "name": "customColor",
7958
8653
  "required": false,
7959
8654
  "type": {
7960
- "name": "boolean"
8655
+ "name": "string"
7961
8656
  }
7962
8657
  },
7963
8658
  "className": {
@@ -7988,32 +8683,113 @@
7988
8683
  }
7989
8684
  }
7990
8685
  },
7991
- "import": "import { Heading } from \"@vibe/core\"",
8686
+ "import": "import { Icon } from \"@vibe/icon\"",
7992
8687
  "subComponents": []
7993
8688
  },
7994
8689
  {
7995
- "filePath": "src/components/HiddenText/HiddenText.tsx",
8690
+ "filePath": "src/Icon/CustomSvgIcon/CustomSvgIcon.tsx",
7996
8691
  "aggregator": "core",
7997
8692
  "symbols": [
7998
- "default as HiddenText",
7999
- "type HiddenTextProps"
8693
+ "default as CustomSvgIcon",
8694
+ "type CustomSvgIconProps"
8000
8695
  ],
8001
- "displayName": "HiddenText",
8696
+ "displayName": "CustomSvgIcon",
8002
8697
  "description": "",
8003
8698
  "props": {
8004
- "text": {
8699
+ "onClick": {
8005
8700
  "defaultValue": null,
8006
- "description": "The text content that is hidden but available for assistive technologies.",
8007
- "name": "text",
8701
+ "description": "Callback fired when the icon is clicked.",
8702
+ "name": "onClick",
8703
+ "required": false,
8704
+ "type": {
8705
+ "name": "(event: React.MouseEvent) => void"
8706
+ }
8707
+ },
8708
+ "src": {
8709
+ "defaultValue": null,
8710
+ "description": "The source URL or object of the SVG icon.",
8711
+ "name": "src",
8008
8712
  "required": true,
8713
+ "type": {
8714
+ "name": "string | object"
8715
+ }
8716
+ },
8717
+ "ariaLabel": {
8718
+ "defaultValue": null,
8719
+ "description": "The accessible label for the icon.",
8720
+ "name": "ariaLabel",
8721
+ "required": false,
8009
8722
  "type": {
8010
8723
  "name": "string"
8011
8724
  }
8012
8725
  },
8013
- "className": {
8726
+ "tabIndex": {
8727
+ "defaultValue": null,
8728
+ "description": "The tab index of the icon for keyboard navigation.",
8729
+ "name": "tabIndex",
8730
+ "required": false,
8731
+ "type": {
8732
+ "name": "number"
8733
+ }
8734
+ },
8735
+ "role": {
8736
+ "defaultValue": null,
8737
+ "description": "The ARIA role of the icon.",
8738
+ "name": "role",
8739
+ "required": false,
8740
+ "type": {
8741
+ "name": "AriaRole"
8742
+ }
8743
+ },
8744
+ "ariaHidden": {
8745
+ "defaultValue": null,
8746
+ "description": "If true, hides the icon from screen readers.",
8747
+ "name": "ariaHidden",
8748
+ "required": false,
8749
+ "type": {
8750
+ "name": "boolean"
8751
+ }
8752
+ },
8753
+ "clickable": {
8754
+ "defaultValue": null,
8755
+ "description": "If true, makes the icon clickable.",
8756
+ "name": "clickable",
8757
+ "required": false,
8758
+ "type": {
8759
+ "name": "boolean"
8760
+ }
8761
+ },
8762
+ "replaceToCurrentColor": {
8014
8763
  "defaultValue": {
8015
- "value": ""
8764
+ "value": "false"
8016
8765
  },
8766
+ "description": "If true, replaces the `fill` attribute in the SVG with `currentColor`.",
8767
+ "name": "replaceToCurrentColor",
8768
+ "required": false,
8769
+ "type": {
8770
+ "name": "boolean"
8771
+ }
8772
+ },
8773
+ "customColor": {
8774
+ "defaultValue": null,
8775
+ "description": "Overrides the default color of the icon.",
8776
+ "name": "customColor",
8777
+ "required": false,
8778
+ "type": {
8779
+ "name": "string"
8780
+ }
8781
+ },
8782
+ "ref": {
8783
+ "defaultValue": null,
8784
+ "description": "Reference to the SVG element.",
8785
+ "name": "ref",
8786
+ "required": false,
8787
+ "type": {
8788
+ "name": "Ref<SVGElement>"
8789
+ }
8790
+ },
8791
+ "className": {
8792
+ "defaultValue": null,
8017
8793
  "description": "A CSS class name to apply to the component.",
8018
8794
  "name": "className",
8019
8795
  "required": false,
@@ -8031,9 +8807,7 @@
8031
8807
  }
8032
8808
  },
8033
8809
  "id": {
8034
- "defaultValue": {
8035
- "value": "hiddenText"
8036
- },
8810
+ "defaultValue": null,
8037
8811
  "description": "An HTML id attribute for the component.",
8038
8812
  "name": "id",
8039
8813
  "required": false,
@@ -8042,7 +8816,7 @@
8042
8816
  }
8043
8817
  }
8044
8818
  },
8045
- "import": "import { HiddenText } from \"@vibe/core\"",
8819
+ "import": "import { CustomSvgIcon } from \"@vibe/icon\"",
8046
8820
  "subComponents": []
8047
8821
  },
8048
8822
  {
@@ -9570,24 +10344,121 @@
9570
10344
  "name": "SubIcon"
9571
10345
  }
9572
10346
  },
9573
- "margin": {
10347
+ "margin": {
10348
+ "defaultValue": {
10349
+ "value": "start"
10350
+ },
10351
+ "description": "The position of the icon inside the list item, determining its margins.",
10352
+ "name": "margin",
10353
+ "required": false,
10354
+ "type": {
10355
+ "name": "enum",
10356
+ "raw": "ListItemIconMargin",
10357
+ "value": [
10358
+ {
10359
+ "value": "\"start\""
10360
+ },
10361
+ {
10362
+ "value": "\"end\""
10363
+ }
10364
+ ]
10365
+ }
10366
+ },
10367
+ "className": {
10368
+ "defaultValue": null,
10369
+ "description": "A CSS class name to apply to the component.",
10370
+ "name": "className",
10371
+ "required": false,
10372
+ "type": {
10373
+ "name": "string"
10374
+ }
10375
+ },
10376
+ "data-testid": {
10377
+ "defaultValue": null,
10378
+ "description": "A unique identifier for testing purposes.",
10379
+ "name": "data-testid",
10380
+ "required": false,
10381
+ "type": {
10382
+ "name": "string"
10383
+ }
10384
+ },
10385
+ "id": {
10386
+ "defaultValue": null,
10387
+ "description": "An HTML id attribute for the component.",
10388
+ "name": "id",
10389
+ "required": false,
10390
+ "type": {
10391
+ "name": "string"
10392
+ }
10393
+ }
10394
+ },
10395
+ "import": "import { ListItemIcon } from \"@vibe/core\"",
10396
+ "subComponents": []
10397
+ },
10398
+ {
10399
+ "filePath": "src/Loader/Loader.tsx",
10400
+ "aggregator": "core",
10401
+ "symbols": [
10402
+ "default as Loader",
10403
+ "type LoaderProps",
10404
+ "LoaderColors",
10405
+ "LoaderSizes",
10406
+ "LoaderSize"
10407
+ ],
10408
+ "displayName": "Loader",
10409
+ "description": "",
10410
+ "props": {
10411
+ "size": {
10412
+ "defaultValue": null,
10413
+ "description": "The size of the loader, either a predefined size or a custom number.",
10414
+ "name": "size",
10415
+ "required": false,
10416
+ "type": {
10417
+ "name": "LoaderSize"
10418
+ }
10419
+ },
10420
+ "color": {
10421
+ "defaultValue": null,
10422
+ "description": "The color of the loader.",
10423
+ "name": "color",
10424
+ "required": false,
10425
+ "type": {
10426
+ "name": "enum",
10427
+ "raw": "LoaderColors",
10428
+ "value": [
10429
+ {
10430
+ "value": "\"primary\""
10431
+ },
10432
+ {
10433
+ "value": "\"secondary\""
10434
+ },
10435
+ {
10436
+ "value": "\"onPrimary\""
10437
+ },
10438
+ {
10439
+ "value": "\"dark\""
10440
+ }
10441
+ ]
10442
+ }
10443
+ },
10444
+ "hasBackground": {
9574
10445
  "defaultValue": {
9575
- "value": "start"
10446
+ "value": "false"
9576
10447
  },
9577
- "description": "The position of the icon inside the list item, determining its margins.",
9578
- "name": "margin",
10448
+ "description": "If true, a background circle is displayed behind the loader.",
10449
+ "name": "hasBackground",
9579
10450
  "required": false,
9580
10451
  "type": {
9581
- "name": "enum",
9582
- "raw": "ListItemIconMargin",
9583
- "value": [
9584
- {
9585
- "value": "\"start\""
9586
- },
9587
- {
9588
- "value": "\"end\""
9589
- }
9590
- ]
10452
+ "name": "boolean"
10453
+ }
10454
+ },
10455
+ "wrapperClassName": {
10456
+ "defaultValue": null,
10457
+ "description": "Class name applied to the wrapper element.",
10458
+ "name": "wrapperClassName",
10459
+ "required": false,
10460
+ "type": {
10461
+ "name": "string"
9591
10462
  }
9592
10463
  },
9593
10464
  "className": {
@@ -9618,7 +10489,7 @@
9618
10489
  }
9619
10490
  }
9620
10491
  },
9621
- "import": "import { ListItemIcon } from \"@vibe/core\"",
10492
+ "import": "import { Loader } from \"@vibe/loader\"",
9622
10493
  "subComponents": []
9623
10494
  },
9624
10495
  {
@@ -19052,387 +19923,151 @@
19052
19923
  "name": "id",
19053
19924
  "required": false,
19054
19925
  "type": {
19055
- "name": "string"
19056
- }
19057
- }
19058
- },
19059
- "import": "import { VirtualizedList } from \"@vibe/core\"",
19060
- "subComponents": []
19061
- },
19062
- {
19063
- "filePath": "src/components/Typography/Typography.tsx",
19064
- "aggregator": "core",
19065
- "symbols": [
19066
- "default as Typography",
19067
- "TypographyProps",
19068
- "TypographyColor",
19069
- "TypographyAlign"
19070
- ],
19071
- "displayName": "Typography",
19072
- "description": "",
19073
- "props": {
19074
- "element": {
19075
- "defaultValue": {
19076
- "value": "span"
19077
- },
19078
- "description": "The HTML element tag used for the text component.",
19079
- "name": "element",
19080
- "required": false,
19081
- "type": {
19082
- "name": "string"
19083
- }
19084
- },
19085
- "children": {
19086
- "defaultValue": null,
19087
- "description": "The content inside the typography component.",
19088
- "name": "children",
19089
- "required": true,
19090
- "type": {
19091
- "name": "ElementContent"
19092
- }
19093
- },
19094
- "color": {
19095
- "defaultValue": {
19096
- "value": "primary"
19097
- },
19098
- "description": "The text color.",
19099
- "name": "color",
19100
- "required": false,
19101
- "type": {
19102
- "name": "enum",
19103
- "raw": "TypographyColor",
19104
- "value": [
19105
- {
19106
- "value": "\"primary\""
19107
- },
19108
- {
19109
- "value": "\"secondary\""
19110
- },
19111
- {
19112
- "value": "\"onPrimary\""
19113
- },
19114
- {
19115
- "value": "\"onInverted\""
19116
- },
19117
- {
19118
- "value": "\"fixedLight\""
19119
- },
19120
- {
19121
- "value": "\"fixedDark\""
19122
- },
19123
- {
19124
- "value": "\"inherit\""
19125
- },
19126
- {
19127
- "value": "\"negative\""
19128
- }
19129
- ]
19130
- }
19131
- },
19132
- "align": {
19133
- "defaultValue": {
19134
- "value": "start"
19135
- },
19136
- "description": "The text alignment.",
19137
- "name": "align",
19138
- "required": false,
19139
- "type": {
19140
- "name": "enum",
19141
- "raw": "TypographyAlign",
19142
- "value": [
19143
- {
19144
- "value": "\"inherit\""
19145
- },
19146
- {
19147
- "value": "\"start\""
19148
- },
19149
- {
19150
- "value": "\"center\""
19151
- },
19152
- {
19153
- "value": "\"end\""
19154
- }
19155
- ]
19156
- }
19157
- },
19158
- "ellipsis": {
19159
- "defaultValue": {
19160
- "value": "true"
19161
- },
19162
- "description": "If true, truncates overflowing text with an ellipsis.",
19163
- "name": "ellipsis",
19164
- "required": false,
19165
- "type": {
19166
- "name": "boolean"
19167
- }
19168
- },
19169
- "maxLines": {
19170
- "defaultValue": {
19171
- "value": "1"
19172
- },
19173
- "description": "The maximum number of lines before truncating with an ellipsis.",
19174
- "name": "maxLines",
19175
- "required": false,
19176
- "type": {
19177
- "name": "number"
19178
- }
19179
- },
19180
- "tooltipProps": {
19181
- "defaultValue": null,
19182
- "description": "Props passed to the tooltip displayed when hovering over the text.",
19183
- "name": "tooltipProps",
19184
- "required": false,
19185
- "type": {
19186
- "name": "Partial<TooltipProps>"
19187
- }
19188
- },
19189
- "withoutTooltip": {
19190
- "defaultValue": {
19191
- "value": "false"
19192
- },
19193
- "description": "If true, disables the tooltip that appears when text is truncated.",
19194
- "name": "withoutTooltip",
19195
- "required": false,
19196
- "type": {
19197
- "name": "boolean"
19198
- }
19199
- },
19200
- "className": {
19201
- "defaultValue": null,
19202
- "description": "A CSS class name to apply to the component.",
19203
- "name": "className",
19204
- "required": false,
19205
- "type": {
19206
- "name": "string"
19207
- }
19208
- },
19209
- "data-testid": {
19210
- "defaultValue": null,
19211
- "description": "A unique identifier for testing purposes.",
19212
- "name": "data-testid",
19213
- "required": false,
19214
- "type": {
19215
- "name": "string"
19216
- }
19217
- },
19218
- "id": {
19219
- "defaultValue": null,
19220
- "description": "An HTML id attribute for the component.",
19221
- "name": "id",
19222
- "required": false,
19223
- "type": {
19224
- "name": "string"
19225
- }
19226
- }
19227
- },
19228
- "import": "import { Typography } from \"@vibe/core\"",
19229
- "subComponents": []
19230
- },
19231
- {
19232
- "filePath": "src/components/next/AttentionBox/AttentionBox.tsx",
19233
- "aggregator": "next",
19234
- "symbols": [
19235
- "default as AttentionBox",
19236
- "AttentionBoxProps",
19237
- "AttentionBoxType"
19238
- ],
19239
- "displayName": "AttentionBox",
19240
- "description": "",
19241
- "props": {
19242
- "className": {
19243
- "defaultValue": null,
19244
- "description": "A CSS class name to apply to the component.",
19245
- "name": "className",
19246
- "required": false,
19247
- "type": {
19248
- "name": "string"
19249
- }
19250
- },
19251
- "data-testid": {
19252
- "defaultValue": null,
19253
- "description": "A unique identifier for testing purposes.",
19254
- "name": "data-testid",
19255
- "required": false,
19256
- "type": {
19257
- "name": "string"
19258
- }
19259
- },
19260
- "id": {
19261
- "defaultValue": null,
19262
- "description": "An HTML id attribute for the component.",
19263
- "name": "id",
19264
- "required": false,
19265
- "type": {
19266
- "name": "string"
19267
- }
19268
- },
19269
- "text": {
19270
- "defaultValue": null,
19271
- "description": "The main text content",
19272
- "name": "text",
19273
- "required": false,
19274
- "type": {
19275
- "name": "string"
19276
- }
19277
- },
19278
- "children": {
19279
- "defaultValue": null,
19280
- "description": "Custom children to override the default text content",
19281
- "name": "children",
19282
- "required": false,
19283
- "type": {
19284
- "name": "ReactNode"
19926
+ "name": "string"
19285
19927
  }
19286
- },
19287
- "compact": {
19928
+ }
19929
+ },
19930
+ "import": "import { VirtualizedList } from \"@vibe/core\"",
19931
+ "subComponents": []
19932
+ },
19933
+ {
19934
+ "filePath": "src/components/Typography/Typography.tsx",
19935
+ "aggregator": "core",
19936
+ "symbols": [
19937
+ "default as Typography",
19938
+ "TypographyProps",
19939
+ "TypographyColor",
19940
+ "TypographyAlign"
19941
+ ],
19942
+ "displayName": "Typography",
19943
+ "description": "",
19944
+ "props": {
19945
+ "element": {
19288
19946
  "defaultValue": {
19289
- "value": "false"
19947
+ "value": "span"
19290
19948
  },
19291
- "description": "When true, the attention box will be displayed in compact mode of one-liner",
19292
- "name": "compact",
19949
+ "description": "The HTML element tag used for the text component.",
19950
+ "name": "element",
19293
19951
  "required": false,
19294
19952
  "type": {
19295
- "name": "boolean"
19953
+ "name": "string"
19296
19954
  }
19297
19955
  },
19298
- "title": {
19956
+ "children": {
19299
19957
  "defaultValue": null,
19300
- "description": "The title of the attention box",
19301
- "name": "title",
19302
- "required": false,
19958
+ "description": "The content inside the typography component.",
19959
+ "name": "children",
19960
+ "required": true,
19303
19961
  "type": {
19304
- "name": "string"
19962
+ "name": "ElementContent"
19305
19963
  }
19306
19964
  },
19307
- "type": {
19965
+ "color": {
19308
19966
  "defaultValue": {
19309
19967
  "value": "primary"
19310
19968
  },
19311
- "description": "The variant type of the attention box",
19312
- "name": "type",
19969
+ "description": "The text color.",
19970
+ "name": "color",
19313
19971
  "required": false,
19314
19972
  "type": {
19315
19973
  "name": "enum",
19316
- "raw": "AttentionBoxType",
19974
+ "raw": "TypographyColor",
19317
19975
  "value": [
19318
19976
  {
19319
19977
  "value": "\"primary\""
19320
19978
  },
19321
19979
  {
19322
- "value": "\"positive\""
19980
+ "value": "\"secondary\""
19323
19981
  },
19324
19982
  {
19325
- "value": "\"negative\""
19983
+ "value": "\"onPrimary\""
19326
19984
  },
19327
19985
  {
19328
- "value": "\"warning\""
19986
+ "value": "\"onInverted\""
19329
19987
  },
19330
19988
  {
19331
- "value": "\"neutral\""
19989
+ "value": "\"fixedLight\""
19990
+ },
19991
+ {
19992
+ "value": "\"fixedDark\""
19993
+ },
19994
+ {
19995
+ "value": "\"inherit\""
19996
+ },
19997
+ {
19998
+ "value": "\"negative\""
19332
19999
  }
19333
20000
  ]
19334
20001
  }
19335
20002
  },
19336
- "iconType": {
20003
+ "align": {
19337
20004
  "defaultValue": {
19338
- "value": "svg"
20005
+ "value": "start"
19339
20006
  },
19340
- "description": "The type of the icon",
19341
- "name": "iconType",
20007
+ "description": "The text alignment.",
20008
+ "name": "align",
19342
20009
  "required": false,
19343
20010
  "type": {
19344
20011
  "name": "enum",
19345
- "raw": "IconType",
20012
+ "raw": "TypographyAlign",
19346
20013
  "value": [
19347
20014
  {
19348
- "value": "\"svg\""
20015
+ "value": "\"inherit\""
19349
20016
  },
19350
20017
  {
19351
- "value": "\"font\""
20018
+ "value": "\"start\""
19352
20019
  },
19353
20020
  {
19354
- "value": "\"src\""
20021
+ "value": "\"center\""
20022
+ },
20023
+ {
20024
+ "value": "\"end\""
19355
20025
  }
19356
20026
  ]
19357
20027
  }
19358
20028
  },
19359
- "icon": {
19360
- "defaultValue": null,
19361
- "description": "The icon to display. Pass `false` to hide the icon entirely, or omit to use the default icon for the type.",
19362
- "name": "icon",
20029
+ "ellipsis": {
20030
+ "defaultValue": {
20031
+ "value": "true"
20032
+ },
20033
+ "description": "If true, truncates overflowing text with an ellipsis.",
20034
+ "name": "ellipsis",
19363
20035
  "required": false,
19364
20036
  "type": {
19365
- "name": "false | SubIcon"
20037
+ "name": "boolean"
19366
20038
  }
19367
20039
  },
19368
- "onClose": {
19369
- "defaultValue": null,
19370
- "description": "Callback when the close button is clicked",
19371
- "name": "onClose",
20040
+ "maxLines": {
20041
+ "defaultValue": {
20042
+ "value": "1"
20043
+ },
20044
+ "description": "The maximum number of lines before truncating with an ellipsis.",
20045
+ "name": "maxLines",
19372
20046
  "required": false,
19373
20047
  "type": {
19374
- "name": "(event: MouseEvent<HTMLButtonElement, MouseEvent>) => void"
20048
+ "name": "number"
19375
20049
  }
19376
20050
  },
19377
- "closeButtonAriaLabel": {
20051
+ "tooltipProps": {
19378
20052
  "defaultValue": null,
19379
- "description": "Custom aria label for the close button",
19380
- "name": "closeButtonAriaLabel",
20053
+ "description": "Props passed to the tooltip displayed when hovering over the text.",
20054
+ "name": "tooltipProps",
19381
20055
  "required": false,
19382
20056
  "type": {
19383
- "name": "string"
20057
+ "name": "Partial<TooltipProps>"
19384
20058
  }
19385
20059
  },
19386
- "animate": {
20060
+ "withoutTooltip": {
19387
20061
  "defaultValue": {
19388
- "value": "true"
20062
+ "value": "false"
19389
20063
  },
19390
- "description": "Whether to animate the entrance",
19391
- "name": "animate",
20064
+ "description": "If true, disables the tooltip that appears when text is truncated.",
20065
+ "name": "withoutTooltip",
19392
20066
  "required": false,
19393
20067
  "type": {
19394
20068
  "name": "boolean"
19395
20069
  }
19396
20070
  },
19397
- "action": {
19398
- "defaultValue": null,
19399
- "description": "Action button configuration",
19400
- "name": "action",
19401
- "required": false,
19402
- "type": {
19403
- "name": "AttentionBoxButtonProps"
19404
- }
19405
- },
19406
- "link": {
19407
- "defaultValue": null,
19408
- "description": "Link configuration",
19409
- "name": "link",
19410
- "required": false,
19411
- "type": {
19412
- "name": "Omit<LinkProps, \"inlineText\">"
19413
- }
19414
- }
19415
- },
19416
- "import": "import { AttentionBox } from \"@vibe/core/next\"",
19417
- "parentComponent": "next",
19418
- "subComponents": []
19419
- },
19420
- {
19421
- "filePath": "src/components/next/Dropdown/Dropdown.tsx",
19422
- "aggregator": "next",
19423
- "symbols": [
19424
- "default as Dropdown",
19425
- "DropdownOption",
19426
- "DropdownGroupOption",
19427
- "BaseDropdownProps",
19428
- "DropdownSizes",
19429
- "DropdownDirection",
19430
- "DropdownMultiControllerProps",
19431
- "DropdownSingleControllerProps"
19432
- ],
19433
- "displayName": "Dropdown",
19434
- "description": "",
19435
- "props": {
19436
20071
  "className": {
19437
20072
  "defaultValue": null,
19438
20073
  "description": "A CSS class name to apply to the component.",
@@ -19459,503 +20094,577 @@
19459
20094
  "type": {
19460
20095
  "name": "string"
19461
20096
  }
19462
- },
19463
- "options": {
19464
- "defaultValue": null,
19465
- "description": "The list of options available in the list.",
19466
- "name": "options",
19467
- "required": true,
19468
- "type": {
19469
- "name": "DropdownGroupOption<Item>"
19470
- }
19471
- },
19472
- "tooltipProps": {
19473
- "defaultValue": null,
19474
- "description": "Props to be passed to the Tooltip component that wraps the dropdown.",
19475
- "name": "tooltipProps",
19476
- "required": false,
19477
- "type": {
19478
- "name": "Partial<TooltipProps>"
19479
- }
19480
- },
19481
- "withGroupDivider": {
19482
- "defaultValue": null,
19483
- "description": "If true, displays dividers between grouped options.",
19484
- "name": "withGroupDivider",
19485
- "required": false,
19486
- "type": {
19487
- "name": "boolean"
19488
- }
19489
- },
19490
- "stickyGroupTitle": {
19491
- "defaultValue": null,
19492
- "description": "If true, makes the group title sticky.",
19493
- "name": "stickyGroupTitle",
19494
- "required": false,
19495
- "type": {
19496
- "name": "boolean"
19497
- }
19498
- },
19499
- "size": {
19500
- "defaultValue": null,
19501
- "description": "The size of the dropdown.",
19502
- "name": "size",
19503
- "required": false,
19504
- "type": {
19505
- "name": "enum",
19506
- "raw": "DropdownSizes",
19507
- "value": [
19508
- {
19509
- "value": "\"small\""
19510
- },
19511
- {
19512
- "value": "\"medium\""
19513
- },
19514
- {
19515
- "value": "\"large\""
19516
- }
19517
- ]
19518
- }
19519
- },
19520
- "dir": {
19521
- "defaultValue": null,
19522
- "description": "The direction of the dropdown.",
19523
- "name": "dir",
19524
- "required": false,
19525
- "type": {
19526
- "name": "enum",
19527
- "raw": "DropdownDirection",
19528
- "value": [
19529
- {
19530
- "value": "\"ltr\""
19531
- },
19532
- {
19533
- "value": "\"rtl\""
19534
- },
19535
- {
19536
- "value": "\"auto\""
19537
- }
19538
- ]
19539
- }
19540
- },
19541
- "searchable": {
20097
+ }
20098
+ },
20099
+ "import": "import { Typography } from \"@vibe/core\"",
20100
+ "subComponents": []
20101
+ },
20102
+ {
20103
+ "filePath": "src/components/Modal/footers/ModalFooter/ModalFooter.tsx",
20104
+ "aggregator": "next",
20105
+ "symbols": [
20106
+ "default as ModalFooter",
20107
+ "type ModalFooterProps"
20108
+ ],
20109
+ "displayName": "ModalFooter",
20110
+ "description": "",
20111
+ "props": {
20112
+ "renderSideAction": {
19542
20113
  "defaultValue": null,
19543
- "description": "If true, the dropdown is searchable.",
19544
- "name": "searchable",
20114
+ "description": "Content displayed on the left side of the footer.",
20115
+ "name": "renderSideAction",
19545
20116
  "required": false,
19546
20117
  "type": {
19547
- "name": "boolean"
20118
+ "name": "React.ReactNode"
19548
20119
  }
19549
20120
  },
19550
- "optionRenderer": {
20121
+ "primaryButton": {
19551
20122
  "defaultValue": null,
19552
- "description": "The function to call to render an option.",
19553
- "name": "optionRenderer",
19554
- "required": false,
20123
+ "description": "Props for the primary action button.",
20124
+ "name": "primaryButton",
20125
+ "required": true,
19555
20126
  "type": {
19556
- "name": "(option: Item) => React.ReactNode"
20127
+ "name": "ModalFooterActionProps"
19557
20128
  }
19558
20129
  },
19559
- "menuRenderer": {
20130
+ "secondaryButton": {
19560
20131
  "defaultValue": null,
19561
- "description": "The function to call to render the menu.",
19562
- "name": "menuRenderer",
20132
+ "description": "Props for the optional secondary action button.",
20133
+ "name": "secondaryButton",
19563
20134
  "required": false,
19564
20135
  "type": {
19565
- "name": "(props: { children: React.ReactNode; filteredOptions: ListGroup<Item>[]; selectedItems: Item[]; getItemProps: (options: any) => Record<string, unknown>; }) => React.ReactNode"
20136
+ "name": "ModalFooterActionProps"
19566
20137
  }
19567
20138
  },
19568
- "noOptionsMessage": {
20139
+ "className": {
19569
20140
  "defaultValue": null,
19570
- "description": "The message to display when there are no options.",
19571
- "name": "noOptionsMessage",
20141
+ "description": "A CSS class name to apply to the component.",
20142
+ "name": "className",
19572
20143
  "required": false,
19573
20144
  "type": {
19574
- "name": "any"
20145
+ "name": "string"
19575
20146
  }
19576
20147
  },
19577
- "placeholder": {
20148
+ "data-testid": {
19578
20149
  "defaultValue": null,
19579
- "description": "The placeholder to display when the dropdown is empty.",
19580
- "name": "placeholder",
20150
+ "description": "A unique identifier for testing purposes.",
20151
+ "name": "data-testid",
19581
20152
  "required": false,
19582
20153
  "type": {
19583
20154
  "name": "string"
19584
20155
  }
19585
20156
  },
19586
- "disabled": {
20157
+ "id": {
19587
20158
  "defaultValue": null,
19588
- "description": "If true, the dropdown is disabled.",
19589
- "name": "disabled",
20159
+ "description": "An HTML id attribute for the component.",
20160
+ "name": "id",
19590
20161
  "required": false,
19591
20162
  "type": {
19592
- "name": "boolean"
20163
+ "name": "string"
20164
+ }
20165
+ }
20166
+ },
20167
+ "import": "import { ModalFooter } from \"@vibe/core/next\"",
20168
+ "subComponents": []
20169
+ },
20170
+ {
20171
+ "filePath": "src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.tsx",
20172
+ "aggregator": "next",
20173
+ "symbols": [
20174
+ "default as ModalFooterWizard",
20175
+ "type ModalFooterWizardProps"
20176
+ ],
20177
+ "displayName": "ModalFooterWizard",
20178
+ "description": "",
20179
+ "props": {
20180
+ "stepCount": {
20181
+ "defaultValue": null,
20182
+ "description": "The total number of steps in the wizard.\nRenders the corresponding number of step indicators (\"dots\") in the footer.",
20183
+ "name": "stepCount",
20184
+ "required": true,
20185
+ "type": {
20186
+ "name": "number"
19593
20187
  }
19594
20188
  },
19595
- "readOnly": {
20189
+ "activeStep": {
19596
20190
  "defaultValue": null,
19597
- "description": "If true, the dropdown is read only.",
19598
- "name": "readOnly",
19599
- "required": false,
20191
+ "description": "The current active step (0-based index).\nHighlights the corresponding step indicator (\"dot\") in the footer.",
20192
+ "name": "activeStep",
20193
+ "required": true,
19600
20194
  "type": {
19601
- "name": "boolean"
20195
+ "name": "number"
19602
20196
  }
19603
20197
  },
19604
- "error": {
20198
+ "onStepClick": {
19605
20199
  "defaultValue": null,
19606
- "description": "If true, the dropdown is in an error state.",
19607
- "name": "error",
19608
- "required": false,
20200
+ "description": "Callback fired when a step indicator (\"dot\") is clicked.",
20201
+ "name": "onStepClick",
20202
+ "required": true,
19609
20203
  "type": {
19610
- "name": "boolean"
20204
+ "name": "(stepIndex: number) => void"
19611
20205
  }
19612
20206
  },
19613
- "helperText": {
20207
+ "primaryButton": {
19614
20208
  "defaultValue": null,
19615
- "description": "The helper text to display below the dropdown.",
19616
- "name": "helperText",
19617
- "required": false,
20209
+ "description": "Props for the primary action button.",
20210
+ "name": "primaryButton",
20211
+ "required": true,
19618
20212
  "type": {
19619
- "name": "string"
20213
+ "name": "ModalFooterActionProps"
19620
20214
  }
19621
20215
  },
19622
- "required": {
20216
+ "secondaryButton": {
19623
20217
  "defaultValue": null,
19624
- "description": "If true, the dropdown is required.",
19625
- "name": "required",
20218
+ "description": "Props for the optional secondary action button.",
20219
+ "name": "secondaryButton",
19626
20220
  "required": false,
19627
20221
  "type": {
19628
- "name": "boolean"
20222
+ "name": "ModalFooterActionProps"
19629
20223
  }
19630
20224
  },
19631
- "label": {
20225
+ "className": {
19632
20226
  "defaultValue": null,
19633
- "description": "The label to display above the dropdown.",
19634
- "name": "label",
20227
+ "description": "A CSS class name to apply to the component.",
20228
+ "name": "className",
19635
20229
  "required": false,
19636
20230
  "type": {
19637
20231
  "name": "string"
19638
20232
  }
19639
20233
  },
19640
- "ariaLabel": {
20234
+ "data-testid": {
19641
20235
  "defaultValue": null,
19642
- "description": "The ARIA label for the dropdown.",
19643
- "name": "ariaLabel",
20236
+ "description": "A unique identifier for testing purposes.",
20237
+ "name": "data-testid",
19644
20238
  "required": false,
19645
20239
  "type": {
19646
20240
  "name": "string"
19647
20241
  }
19648
20242
  },
19649
- "inputAriaLabel": {
20243
+ "id": {
19650
20244
  "defaultValue": null,
19651
- "description": "The ARIA label for the dropdown input.",
19652
- "name": "inputAriaLabel",
20245
+ "description": "An HTML id attribute for the component.",
20246
+ "name": "id",
19653
20247
  "required": false,
19654
20248
  "type": {
19655
20249
  "name": "string"
19656
20250
  }
20251
+ }
20252
+ },
20253
+ "import": "import { ModalFooterWizard } from \"@vibe/core/next\"",
20254
+ "subComponents": []
20255
+ },
20256
+ {
20257
+ "filePath": "src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.tsx",
20258
+ "aggregator": "next",
20259
+ "symbols": [
20260
+ "default as ModalBasicLayout",
20261
+ "type ModalBasicLayoutProps"
20262
+ ],
20263
+ "displayName": "ModalBasicLayout",
20264
+ "description": "",
20265
+ "props": {
20266
+ "children": {
20267
+ "defaultValue": null,
20268
+ "description": "The content of the layout, structured as:\n1. Header content\n2. Main content",
20269
+ "name": "children",
20270
+ "required": true,
20271
+ "type": {
20272
+ "name": "React.ReactNode"
20273
+ }
19657
20274
  },
19658
- "menuAriaLabel": {
20275
+ "className": {
19659
20276
  "defaultValue": null,
19660
- "description": "The ARIA label for the menu container.",
19661
- "name": "menuAriaLabel",
20277
+ "description": "A CSS class name to apply to the component.",
20278
+ "name": "className",
19662
20279
  "required": false,
19663
20280
  "type": {
19664
20281
  "name": "string"
19665
20282
  }
19666
20283
  },
19667
- "clearAriaLabel": {
20284
+ "data-testid": {
19668
20285
  "defaultValue": null,
19669
- "description": "The ARIA label for the clear button.",
19670
- "name": "clearAriaLabel",
20286
+ "description": "A unique identifier for testing purposes.",
20287
+ "name": "data-testid",
19671
20288
  "required": false,
19672
20289
  "type": {
19673
20290
  "name": "string"
19674
20291
  }
19675
20292
  },
19676
- "inputValue": {
20293
+ "id": {
19677
20294
  "defaultValue": null,
19678
- "description": "The current value of the input field.",
19679
- "name": "inputValue",
20295
+ "description": "An HTML id attribute for the component.",
20296
+ "name": "id",
19680
20297
  "required": false,
19681
20298
  "type": {
19682
20299
  "name": "string"
19683
20300
  }
20301
+ }
20302
+ },
20303
+ "import": "import { ModalBasicLayout } from \"@vibe/core/next\"",
20304
+ "subComponents": []
20305
+ },
20306
+ {
20307
+ "filePath": "src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.tsx",
20308
+ "aggregator": "next",
20309
+ "symbols": [
20310
+ "default as ModalMediaLayout",
20311
+ "type ModalMediaLayoutProps"
20312
+ ],
20313
+ "displayName": "ModalMediaLayout",
20314
+ "description": "",
20315
+ "props": {
20316
+ "children": {
20317
+ "defaultValue": null,
20318
+ "description": "The content of the layout, structured as:\n1. Media content\n2. Header content\n3. Main content",
20319
+ "name": "children",
20320
+ "required": true,
20321
+ "type": {
20322
+ "name": "React.ReactNode"
20323
+ }
19684
20324
  },
19685
- "maxMenuHeight": {
20325
+ "className": {
19686
20326
  "defaultValue": null,
19687
- "description": "The maximum height of the dropdown menu.",
19688
- "name": "maxMenuHeight",
20327
+ "description": "A CSS class name to apply to the component.",
20328
+ "name": "className",
19689
20329
  "required": false,
19690
20330
  "type": {
19691
- "name": "number"
20331
+ "name": "string"
19692
20332
  }
19693
20333
  },
19694
- "isMenuOpen": {
20334
+ "data-testid": {
19695
20335
  "defaultValue": null,
19696
- "description": "If true, controls the menu open state.",
19697
- "name": "isMenuOpen",
20336
+ "description": "A unique identifier for testing purposes.",
20337
+ "name": "data-testid",
19698
20338
  "required": false,
19699
20339
  "type": {
19700
- "name": "boolean"
20340
+ "name": "string"
19701
20341
  }
19702
20342
  },
19703
- "closeMenuOnSelect": {
20343
+ "id": {
19704
20344
  "defaultValue": null,
19705
- "description": "If true, closes the menu when an option is selected.",
19706
- "name": "closeMenuOnSelect",
20345
+ "description": "An HTML id attribute for the component.",
20346
+ "name": "id",
19707
20347
  "required": false,
19708
20348
  "type": {
19709
- "name": "boolean"
20349
+ "name": "string"
20350
+ }
20351
+ }
20352
+ },
20353
+ "import": "import { ModalMediaLayout } from \"@vibe/core/next\"",
20354
+ "subComponents": []
20355
+ },
20356
+ {
20357
+ "filePath": "src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.tsx",
20358
+ "aggregator": "next",
20359
+ "symbols": [
20360
+ "default as ModalSideBySideLayout",
20361
+ "type ModalSideBySideLayoutProps"
20362
+ ],
20363
+ "displayName": "ModalSideBySideLayout",
20364
+ "description": "",
20365
+ "props": {
20366
+ "children": {
20367
+ "defaultValue": null,
20368
+ "description": "The content of the layout, structured as:\n1. Header content\n2. Main content\n3. Media content",
20369
+ "name": "children",
20370
+ "required": true,
20371
+ "type": {
20372
+ "name": "React.ReactNode"
19710
20373
  }
19711
20374
  },
19712
- "autoFocus": {
20375
+ "className": {
19713
20376
  "defaultValue": null,
19714
- "description": "If true, the dropdown menu will be auto focused.",
19715
- "name": "autoFocus",
20377
+ "description": "A CSS class name to apply to the component.",
20378
+ "name": "className",
19716
20379
  "required": false,
19717
20380
  "type": {
19718
- "name": "boolean"
20381
+ "name": "string"
19719
20382
  }
19720
20383
  },
19721
- "clearable": {
20384
+ "data-testid": {
19722
20385
  "defaultValue": null,
19723
- "description": "If true, the dropdown will have a clear button.",
19724
- "name": "clearable",
20386
+ "description": "A unique identifier for testing purposes.",
20387
+ "name": "data-testid",
19725
20388
  "required": false,
19726
20389
  "type": {
19727
- "name": "boolean"
20390
+ "name": "string"
19728
20391
  }
19729
20392
  },
19730
- "onBlur": {
20393
+ "id": {
19731
20394
  "defaultValue": null,
19732
- "description": "Callback fired when the dropdown loses focus.",
19733
- "name": "onBlur",
20395
+ "description": "An HTML id attribute for the component.",
20396
+ "name": "id",
19734
20397
  "required": false,
19735
20398
  "type": {
19736
- "name": "(event: React.FocusEvent<HTMLDivElement>) => void"
20399
+ "name": "string"
19737
20400
  }
19738
- },
19739
- "onClear": {
20401
+ }
20402
+ },
20403
+ "import": "import { ModalSideBySideLayout } from \"@vibe/core/next\"",
20404
+ "subComponents": []
20405
+ },
20406
+ {
20407
+ "filePath": "src/components/Modal/Modal/Modal.tsx",
20408
+ "aggregator": "next",
20409
+ "symbols": [
20410
+ "default as Modal"
20411
+ ],
20412
+ "displayName": "Modal",
20413
+ "description": "",
20414
+ "props": {
20415
+ "id": {
19740
20416
  "defaultValue": null,
19741
- "description": "Callback fired when the clear button is clicked.",
19742
- "name": "onClear",
19743
- "required": false,
20417
+ "description": "Unique identifier for the modal.",
20418
+ "name": "id",
20419
+ "required": true,
19744
20420
  "type": {
19745
- "name": "() => void"
20421
+ "name": "string"
19746
20422
  }
19747
20423
  },
19748
- "onFocus": {
20424
+ "show": {
19749
20425
  "defaultValue": null,
19750
- "description": "Callback fired when the dropdown gains focus.",
19751
- "name": "onFocus",
19752
- "required": false,
20426
+ "description": "Controls the visibility of the modal.",
20427
+ "name": "show",
20428
+ "required": true,
19753
20429
  "type": {
19754
- "name": "(event: React.FocusEvent<HTMLDivElement>) => void"
20430
+ "name": "boolean"
19755
20431
  }
19756
20432
  },
19757
- "onInputChange": {
19758
- "defaultValue": null,
19759
- "description": "Callback fired when the dropdown input value changes.",
19760
- "name": "onInputChange",
20433
+ "size": {
20434
+ "defaultValue": {
20435
+ "value": "medium"
20436
+ },
20437
+ "description": "Determines the width and max-height of the modal.",
20438
+ "name": "size",
19761
20439
  "required": false,
19762
20440
  "type": {
19763
- "name": "(input: string) => void"
20441
+ "name": "enum",
20442
+ "raw": "ModalSize",
20443
+ "value": [
20444
+ {
20445
+ "value": "\"small\""
20446
+ },
20447
+ {
20448
+ "value": "\"medium\""
20449
+ },
20450
+ {
20451
+ "value": "\"large\""
20452
+ },
20453
+ {
20454
+ "value": "\"full-view\""
20455
+ }
20456
+ ]
19764
20457
  }
19765
20458
  },
19766
- "onKeyDown": {
20459
+ "closeButtonTheme": {
19767
20460
  "defaultValue": null,
19768
- "description": "Callback fired when a key is pressed inside the dropdown.",
19769
- "name": "onKeyDown",
20461
+ "description": "Theme color for the close button.",
20462
+ "name": "closeButtonTheme",
19770
20463
  "required": false,
19771
20464
  "type": {
19772
- "name": "(event: React.KeyboardEvent<HTMLDivElement>) => void"
20465
+ "name": "enum",
20466
+ "raw": "ModalTopActionsTheme",
20467
+ "value": [
20468
+ {
20469
+ "value": "\"dark\""
20470
+ },
20471
+ {
20472
+ "value": "\"light\""
20473
+ }
20474
+ ]
19773
20475
  }
19774
20476
  },
19775
- "onMenuOpen": {
20477
+ "closeButtonAriaLabel": {
19776
20478
  "defaultValue": null,
19777
- "description": "Callback fired when the dropdown menu opens.",
19778
- "name": "onMenuOpen",
20479
+ "description": "Accessibility label for the close button.",
20480
+ "name": "closeButtonAriaLabel",
19779
20481
  "required": false,
19780
20482
  "type": {
19781
- "name": "() => void"
20483
+ "name": "string"
19782
20484
  }
19783
20485
  },
19784
- "onMenuClose": {
19785
- "defaultValue": null,
19786
- "description": "Callback fired when the dropdown menu closes.",
19787
- "name": "onMenuClose",
20486
+ "onClose": {
20487
+ "defaultValue": {
20488
+ "value": "() => {}"
20489
+ },
20490
+ "description": "Callback fired when the modal should close.",
20491
+ "name": "onClose",
19788
20492
  "required": false,
19789
20493
  "type": {
19790
- "name": "() => void"
20494
+ "name": "(event: any) => void"
19791
20495
  }
19792
20496
  },
19793
- "onOptionSelect": {
19794
- "defaultValue": null,
19795
- "description": "Callback fired when an option is selected.",
19796
- "name": "onOptionSelect",
20497
+ "autoFocus": {
20498
+ "defaultValue": {
20499
+ "value": "true"
20500
+ },
20501
+ "description": "This is intended for advanced use-cases.\nIt allows you to control the default focus behavior when the modal mounts.\nMake sure to use this prop only when you understand the implications.\n\nDetermines if focus should automatically move to the first focusable element when the component mounts.\nWhen set to `false` - disables the automatic focus behavior.\n- Notice this might break keyboard and general accessibility and should be used with caution.",
20502
+ "name": "autoFocus",
19797
20503
  "required": false,
19798
20504
  "type": {
19799
- "name": "(option: Item) => void"
20505
+ "name": "boolean"
19800
20506
  }
19801
20507
  },
19802
- "onScroll": {
20508
+ "allowFocusEscapeTo": {
19803
20509
  "defaultValue": null,
19804
- "description": "Callback fired when scrolling inside the dropdown.",
19805
- "name": "onScroll",
20510
+ "description": "Specifies elements/containers that should be allowed to receive focus outside this modal.\nWhen focus moves to these elements, the focus lock will ignore them.\nThis allows other UI components (tooltips, dropdowns, nested modals, etc.) to receive focus.\n\nAccepts:\n- CSS selectors (string)\n- Refs to elements (React.RefObject<HTMLElement>)\n- Direct element references (HTMLElement)",
20511
+ "name": "allowFocusEscapeTo",
19806
20512
  "required": false,
19807
20513
  "type": {
19808
- "name": "(event: React.UIEvent<HTMLUListElement>) => void"
20514
+ "name": "any[]"
19809
20515
  }
19810
20516
  },
19811
- "filterOption": {
20517
+ "onFocusAttempt": {
19812
20518
  "defaultValue": null,
19813
- "description": "A function to customize the filtering of options.\nIt receives an option and the current input value, and should return true if the option should be included, false otherwise.",
19814
- "name": "filterOption",
20519
+ "description": "This is intended for advanced use-cases.\nIt allows you to control which elements the focus lock should manage.\nMake sure to use this prop only when you understand the implications.\n\n**Note:** If you only need to allow focus to specific selectors, use `allowFocusEscapeTo` instead.\n\nCalled whenever focus is attempting to move to any element (inside or outside the modal).\nReturn:\n- `true` to let focus-lock **manage** this element (keep it within the modal's focus trap).\n- `false` to let focus-lock **ignore** this element (allow focus to move outside the modal).\n- An HTMLElement to redirect focus to that element instead.\n- Any other value (e.g., null, undefined) would act as `false`.\n@example // Complex custom logic\n<Modal\n onFocusAttempt={(el) => {\n if (el?.dataset.customBehavior) return false;\n return true;\n }}\n/>",
20520
+ "name": "onFocusAttempt",
19815
20521
  "required": false,
19816
20522
  "type": {
19817
- "name": "(option: Item, inputValue: string) => boolean"
20523
+ "name": "(nextFocusedElement?: HTMLElement) => boolean | HTMLElement"
19818
20524
  }
19819
20525
  },
19820
- "showSelectedOptions": {
20526
+ "renderHeaderAction": {
19821
20527
  "defaultValue": null,
19822
- "description": "If false, selected options will be hidden from the list. Defaults to true.",
19823
- "name": "showSelectedOptions",
20528
+ "description": "Additional action to render in the header area.",
20529
+ "name": "renderHeaderAction",
19824
20530
  "required": false,
19825
20531
  "type": {
19826
- "name": "boolean"
20532
+ "name": "any"
19827
20533
  }
19828
20534
  },
19829
- "menuWrapperClassName": {
20535
+ "anchorElementRef": {
19830
20536
  "defaultValue": null,
19831
- "description": "The class name to be applied to the menu wrapper.",
19832
- "name": "menuWrapperClassName",
20537
+ "description": "Reference to an element that triggered the modal, used for animations.",
20538
+ "name": "anchorElementRef",
19833
20539
  "required": false,
19834
20540
  "type": {
19835
- "name": "string"
20541
+ "name": "React.RefObject<HTMLElement>"
19836
20542
  }
19837
20543
  },
19838
- "loading": {
20544
+ "alertModal": {
19839
20545
  "defaultValue": null,
19840
- "description": "If true, displays a loading indicator in the dropdown controls.",
19841
- "name": "loading",
20546
+ "description": "When true, prevents closing the modal when clicking the overlay (\"click-outside\") or pressing ESC.",
20547
+ "name": "alertModal",
19842
20548
  "required": false,
19843
20549
  "type": {
19844
20550
  "name": "boolean"
19845
20551
  }
19846
20552
  },
19847
- "multi": {
19848
- "defaultValue": null,
19849
- "description": "If true, the dropdown allows multiple selections.\nIf true, the dropdown allows multiple selections. Defaults to false.",
19850
- "name": "multi",
20553
+ "container": {
20554
+ "defaultValue": {
20555
+ "value": "document.body"
20556
+ },
20557
+ "description": "The target element to render the modal into.",
20558
+ "name": "container",
19851
20559
  "required": false,
19852
20560
  "type": {
19853
- "name": "boolean"
20561
+ "name": "any"
19854
20562
  }
19855
20563
  },
19856
- "multiline": {
20564
+ "children": {
19857
20565
  "defaultValue": null,
19858
- "description": "If true, the dropdown allows multiple lines of selected items. (Not available for single select)",
19859
- "name": "multiline",
19860
- "required": false,
20566
+ "description": "Modal content.",
20567
+ "name": "children",
20568
+ "required": true,
19861
20569
  "type": {
19862
- "name": "boolean"
20570
+ "name": "React.ReactNode"
19863
20571
  }
19864
20572
  },
19865
- "onOptionRemove": {
20573
+ "style": {
19866
20574
  "defaultValue": null,
19867
- "description": "Callback fired when an option is removed in multi-select mode. Only available when multi is true.\nCallback fired when an option is removed in multi-select mode. (Not available for single select)",
19868
- "name": "onOptionRemove",
20575
+ "description": "Additional inline styles for the modal.",
20576
+ "name": "style",
19869
20577
  "required": false,
19870
20578
  "type": {
19871
- "name": "(option: Item) => void"
20579
+ "name": "React.CSSProperties"
19872
20580
  }
19873
20581
  },
19874
- "valueRenderer": {
20582
+ "zIndex": {
19875
20583
  "defaultValue": null,
19876
- "description": "The function to call to render the selected value on single select mode.",
19877
- "name": "valueRenderer",
20584
+ "description": "The z-index to be used for the modal and overlay.",
20585
+ "name": "zIndex",
19878
20586
  "required": false,
19879
20587
  "type": {
19880
- "name": "(option: Item) => React.ReactNode"
20588
+ "name": "number"
19881
20589
  }
19882
20590
  },
19883
- "defaultValue": {
20591
+ "aria-labelledby": {
19884
20592
  "defaultValue": null,
19885
- "description": "The default selected values for multi-select.\nThe default selected value for single-select.",
19886
- "name": "defaultValue",
20593
+ "description": "If provided, overrides the automatically generated aria-labelledby, that is assigned when used with ModalHeader.",
20594
+ "name": "aria-labelledby",
19887
20595
  "required": false,
19888
20596
  "type": {
19889
- "name": "BaseListItemData<Record<string, unknown>> | Item[]"
20597
+ "name": "string"
19890
20598
  }
19891
20599
  },
19892
- "value": {
20600
+ "aria-describedby": {
19893
20601
  "defaultValue": null,
19894
- "description": "The controlled selected values for multi-select.\nThe controlled selected value for single-select.",
19895
- "name": "value",
20602
+ "description": "If provided, overrides the automatically generated aria-describedby, that is assigned when used with ModalHeader.",
20603
+ "name": "aria-describedby",
19896
20604
  "required": false,
19897
20605
  "type": {
19898
- "name": "BaseListItemData<Record<string, unknown>> | Item[]"
20606
+ "name": "string"
19899
20607
  }
19900
20608
  },
19901
- "onChange": {
20609
+ "className": {
19902
20610
  "defaultValue": null,
19903
- "description": "Callback fired when the selected values change in multi-select mode.\nCallback fired when the selected value changes in single-select mode.",
19904
- "name": "onChange",
20611
+ "description": "A CSS class name to apply to the component.",
20612
+ "name": "className",
19905
20613
  "required": false,
19906
20614
  "type": {
19907
- "name": "((options: Item[]) => void) | ((option: Item) => void)"
20615
+ "name": "string"
19908
20616
  }
19909
20617
  },
19910
- "ref": {
20618
+ "data-testid": {
19911
20619
  "defaultValue": null,
19912
- "description": "",
19913
- "name": "ref",
20620
+ "description": "A unique identifier for testing purposes.",
20621
+ "name": "data-testid",
19914
20622
  "required": false,
19915
20623
  "type": {
19916
- "name": "React.ForwardedRef<HTMLDivElement>"
20624
+ "name": "string"
19917
20625
  }
19918
20626
  }
19919
20627
  },
19920
- "import": "import { Dropdown } from \"@vibe/core/next\"",
19921
- "parentComponent": "next",
19922
- "subComponents": []
20628
+ "import": "import { Modal } from \"@vibe/core/next\"",
20629
+ "subComponents": [
20630
+ "Modal.types"
20631
+ ]
19923
20632
  },
19924
20633
  {
19925
- "filePath": "src/components/Modal/footers/ModalFooter/ModalFooter.tsx",
20634
+ "filePath": "src/components/Modal/ModalHeader/ModalHeader.tsx",
19926
20635
  "aggregator": "next",
19927
20636
  "symbols": [
19928
- "default as ModalFooter",
19929
- "type ModalFooterProps"
20637
+ "default as ModalHeader",
20638
+ "type ModalHeaderProps"
19930
20639
  ],
19931
- "displayName": "ModalFooter",
20640
+ "displayName": "ModalHeader",
19932
20641
  "description": "",
19933
20642
  "props": {
19934
- "renderSideAction": {
20643
+ "title": {
19935
20644
  "defaultValue": null,
19936
- "description": "Content displayed on the left side of the footer.",
19937
- "name": "renderSideAction",
19938
- "required": false,
20645
+ "description": "Main heading text of the modal.\n\n- If you pass a **string**, `ModalHeader` will generate an internal ID and communicate it to the parent `Modal`\n so that `aria-labelledby` is set automatically (unless `Modal` receives `aria-labelledby` prop).\n- If you pass a **ReactNode** (such as a custom component), **you must**:\n 1. Assign an **`id`** to that element (or a nested element), and\n 2. Pass that **same `id`** as the `aria-labelledby` prop to the `Modal`.\n\nThis ensures that assistive technologies know which element is the modal's title.\n@see [WAI-ARIA Authoring Practices for Dialog (Modal)](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/#wai-ariaroles,states,andproperties)",
20646
+ "name": "title",
20647
+ "required": true,
19939
20648
  "type": {
19940
- "name": "React.ReactNode"
20649
+ "name": "any"
19941
20650
  }
19942
20651
  },
19943
- "primaryButton": {
20652
+ "description": {
19944
20653
  "defaultValue": null,
19945
- "description": "Props for the primary action button.",
19946
- "name": "primaryButton",
19947
- "required": true,
20654
+ "description": "Descriptive text or content below the title.\n- If you pass a **string**, this will automatically set an internally generated `aria-describedby` on the parent Modal.\n- If you pass a **ReactNode** (e.g., a complex component), we recommend assigning an **`id`** to that component (or a nested element),\n and then pass that same ID in `aria-describedby` to the **Modal** (overriding the internal ID).\n\nThis ensures that assistive technologies know which element is the modal's descriptive content.\n@see [WAI-ARIA Authoring Practices for Dialog (Modal)](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/#wai-ariaroles,states,andproperties)",
20655
+ "name": "description",
20656
+ "required": false,
19948
20657
  "type": {
19949
- "name": "ModalFooterActionProps"
20658
+ "name": "any"
19950
20659
  }
19951
20660
  },
19952
- "secondaryButton": {
20661
+ "descriptionIcon": {
19953
20662
  "defaultValue": null,
19954
- "description": "Props for the optional secondary action button.",
19955
- "name": "secondaryButton",
20663
+ "description": "Icon to display before the description. Can only be passed when description is supplied.",
20664
+ "name": "descriptionIcon",
19956
20665
  "required": false,
19957
20666
  "type": {
19958
- "name": "ModalFooterActionProps"
20667
+ "name": "SubIcon | { name: SubIcon; className?: string; }"
19959
20668
  }
19960
20669
  },
19961
20670
  "className": {
@@ -19986,62 +20695,27 @@
19986
20695
  }
19987
20696
  }
19988
20697
  },
19989
- "import": "import { ModalFooter } from \"@vibe/core/next\"",
20698
+ "import": "import { ModalHeader } from \"@vibe/core/next\"",
20699
+ "parentComponent": "Modal",
19990
20700
  "subComponents": []
19991
20701
  },
19992
20702
  {
19993
- "filePath": "src/components/Modal/footers/ModalFooterWizard/ModalFooterWizard.tsx",
20703
+ "filePath": "src/components/Modal/ModalContent/ModalContent.tsx",
19994
20704
  "aggregator": "next",
19995
20705
  "symbols": [
19996
- "default as ModalFooterWizard",
19997
- "type ModalFooterWizardProps"
20706
+ "default as ModalContent",
20707
+ "type ModalContentProps"
19998
20708
  ],
19999
- "displayName": "ModalFooterWizard",
20709
+ "displayName": "ModalContent",
20000
20710
  "description": "",
20001
20711
  "props": {
20002
- "stepCount": {
20003
- "defaultValue": null,
20004
- "description": "The total number of steps in the wizard.\nRenders the corresponding number of step indicators (\"dots\") in the footer.",
20005
- "name": "stepCount",
20006
- "required": true,
20007
- "type": {
20008
- "name": "number"
20009
- }
20010
- },
20011
- "activeStep": {
20012
- "defaultValue": null,
20013
- "description": "The current active step (0-based index).\nHighlights the corresponding step indicator (\"dot\") in the footer.",
20014
- "name": "activeStep",
20015
- "required": true,
20016
- "type": {
20017
- "name": "number"
20018
- }
20019
- },
20020
- "onStepClick": {
20021
- "defaultValue": null,
20022
- "description": "Callback fired when a step indicator (\"dot\") is clicked.",
20023
- "name": "onStepClick",
20024
- "required": true,
20025
- "type": {
20026
- "name": "(stepIndex: number) => void"
20027
- }
20028
- },
20029
- "primaryButton": {
20030
- "defaultValue": null,
20031
- "description": "Props for the primary action button.",
20032
- "name": "primaryButton",
20033
- "required": true,
20034
- "type": {
20035
- "name": "ModalFooterActionProps"
20036
- }
20037
- },
20038
- "secondaryButton": {
20712
+ "children": {
20039
20713
  "defaultValue": null,
20040
- "description": "Props for the optional secondary action button.",
20041
- "name": "secondaryButton",
20714
+ "description": "The main content of the modal.",
20715
+ "name": "children",
20042
20716
  "required": false,
20043
20717
  "type": {
20044
- "name": "ModalFooterActionProps"
20718
+ "name": "React.ReactNode"
20045
20719
  }
20046
20720
  },
20047
20721
  "className": {
@@ -20072,22 +20746,23 @@
20072
20746
  }
20073
20747
  }
20074
20748
  },
20075
- "import": "import { ModalFooterWizard } from \"@vibe/core/next\"",
20749
+ "import": "import { ModalContent } from \"@vibe/core/next\"",
20750
+ "parentComponent": "Modal",
20076
20751
  "subComponents": []
20077
20752
  },
20078
20753
  {
20079
- "filePath": "src/components/Modal/layouts/ModalBasicLayout/ModalBasicLayout.tsx",
20754
+ "filePath": "src/components/Modal/ModalMedia/ModalMedia.tsx",
20080
20755
  "aggregator": "next",
20081
20756
  "symbols": [
20082
- "default as ModalBasicLayout",
20083
- "type ModalBasicLayoutProps"
20757
+ "default as ModalMedia",
20758
+ "type ModalMediaProps"
20084
20759
  ],
20085
- "displayName": "ModalBasicLayout",
20760
+ "displayName": "ModalMedia",
20086
20761
  "description": "",
20087
20762
  "props": {
20088
20763
  "children": {
20089
20764
  "defaultValue": null,
20090
- "description": "The content of the layout, structured as:\n1. Header content\n2. Main content",
20765
+ "description": "The media content displayed in the modal.",
20091
20766
  "name": "children",
20092
20767
  "required": true,
20093
20768
  "type": {
@@ -20122,28 +20797,21 @@
20122
20797
  }
20123
20798
  }
20124
20799
  },
20125
- "import": "import { ModalBasicLayout } from \"@vibe/core/next\"",
20800
+ "import": "import { ModalMedia } from \"@vibe/core/next\"",
20801
+ "parentComponent": "Modal",
20126
20802
  "subComponents": []
20127
20803
  },
20128
20804
  {
20129
- "filePath": "src/components/Modal/layouts/ModalMediaLayout/ModalMediaLayout.tsx",
20805
+ "filePath": "src/components/next/AttentionBox/AttentionBox.tsx",
20130
20806
  "aggregator": "next",
20131
20807
  "symbols": [
20132
- "default as ModalMediaLayout",
20133
- "type ModalMediaLayoutProps"
20808
+ "default as AttentionBox",
20809
+ "AttentionBoxProps",
20810
+ "AttentionBoxType"
20134
20811
  ],
20135
- "displayName": "ModalMediaLayout",
20812
+ "displayName": "AttentionBox",
20136
20813
  "description": "",
20137
20814
  "props": {
20138
- "children": {
20139
- "defaultValue": null,
20140
- "description": "The content of the layout, structured as:\n1. Media content\n2. Header content\n3. Main content",
20141
- "name": "children",
20142
- "required": true,
20143
- "type": {
20144
- "name": "React.ReactNode"
20145
- }
20146
- },
20147
20815
  "className": {
20148
20816
  "defaultValue": null,
20149
20817
  "description": "A CSS class name to apply to the component.",
@@ -20170,30 +20838,174 @@
20170
20838
  "type": {
20171
20839
  "name": "string"
20172
20840
  }
20841
+ },
20842
+ "text": {
20843
+ "defaultValue": null,
20844
+ "description": "The main text content",
20845
+ "name": "text",
20846
+ "required": false,
20847
+ "type": {
20848
+ "name": "string"
20849
+ }
20850
+ },
20851
+ "children": {
20852
+ "defaultValue": null,
20853
+ "description": "Custom children to override the default text content",
20854
+ "name": "children",
20855
+ "required": false,
20856
+ "type": {
20857
+ "name": "ReactNode"
20858
+ }
20859
+ },
20860
+ "compact": {
20861
+ "defaultValue": {
20862
+ "value": "false"
20863
+ },
20864
+ "description": "When true, the attention box will be displayed in compact mode of one-liner",
20865
+ "name": "compact",
20866
+ "required": false,
20867
+ "type": {
20868
+ "name": "boolean"
20869
+ }
20870
+ },
20871
+ "title": {
20872
+ "defaultValue": null,
20873
+ "description": "The title of the attention box",
20874
+ "name": "title",
20875
+ "required": false,
20876
+ "type": {
20877
+ "name": "string"
20878
+ }
20879
+ },
20880
+ "type": {
20881
+ "defaultValue": {
20882
+ "value": "primary"
20883
+ },
20884
+ "description": "The variant type of the attention box",
20885
+ "name": "type",
20886
+ "required": false,
20887
+ "type": {
20888
+ "name": "enum",
20889
+ "raw": "AttentionBoxType",
20890
+ "value": [
20891
+ {
20892
+ "value": "\"primary\""
20893
+ },
20894
+ {
20895
+ "value": "\"positive\""
20896
+ },
20897
+ {
20898
+ "value": "\"negative\""
20899
+ },
20900
+ {
20901
+ "value": "\"warning\""
20902
+ },
20903
+ {
20904
+ "value": "\"neutral\""
20905
+ }
20906
+ ]
20907
+ }
20908
+ },
20909
+ "iconType": {
20910
+ "defaultValue": {
20911
+ "value": "svg"
20912
+ },
20913
+ "description": "The type of the icon",
20914
+ "name": "iconType",
20915
+ "required": false,
20916
+ "type": {
20917
+ "name": "enum",
20918
+ "raw": "IconType",
20919
+ "value": [
20920
+ {
20921
+ "value": "\"svg\""
20922
+ },
20923
+ {
20924
+ "value": "\"font\""
20925
+ },
20926
+ {
20927
+ "value": "\"src\""
20928
+ }
20929
+ ]
20930
+ }
20931
+ },
20932
+ "icon": {
20933
+ "defaultValue": null,
20934
+ "description": "The icon to display. Pass `false` to hide the icon entirely, or omit to use the default icon for the type.",
20935
+ "name": "icon",
20936
+ "required": false,
20937
+ "type": {
20938
+ "name": "false | SubIcon"
20939
+ }
20940
+ },
20941
+ "onClose": {
20942
+ "defaultValue": null,
20943
+ "description": "Callback when the close button is clicked",
20944
+ "name": "onClose",
20945
+ "required": false,
20946
+ "type": {
20947
+ "name": "(event: MouseEvent<HTMLButtonElement, MouseEvent>) => void"
20948
+ }
20949
+ },
20950
+ "closeButtonAriaLabel": {
20951
+ "defaultValue": null,
20952
+ "description": "Custom aria label for the close button",
20953
+ "name": "closeButtonAriaLabel",
20954
+ "required": false,
20955
+ "type": {
20956
+ "name": "string"
20957
+ }
20958
+ },
20959
+ "animate": {
20960
+ "defaultValue": {
20961
+ "value": "true"
20962
+ },
20963
+ "description": "Whether to animate the entrance",
20964
+ "name": "animate",
20965
+ "required": false,
20966
+ "type": {
20967
+ "name": "boolean"
20968
+ }
20969
+ },
20970
+ "action": {
20971
+ "defaultValue": null,
20972
+ "description": "Action button configuration",
20973
+ "name": "action",
20974
+ "required": false,
20975
+ "type": {
20976
+ "name": "AttentionBoxButtonProps"
20977
+ }
20978
+ },
20979
+ "link": {
20980
+ "defaultValue": null,
20981
+ "description": "Link configuration",
20982
+ "name": "link",
20983
+ "required": false,
20984
+ "type": {
20985
+ "name": "Omit<LinkProps, \"inlineText\">"
20986
+ }
20173
20987
  }
20174
20988
  },
20175
- "import": "import { ModalMediaLayout } from \"@vibe/core/next\"",
20989
+ "import": "import { AttentionBox } from \"@vibe/core/next\"",
20990
+ "parentComponent": "next",
20176
20991
  "subComponents": []
20177
20992
  },
20178
20993
  {
20179
- "filePath": "src/components/Modal/layouts/ModalSideBySideLayout/ModalSideBySideLayout.tsx",
20994
+ "filePath": "src/components/next/Dropdown/Dropdown.tsx",
20180
20995
  "aggregator": "next",
20181
20996
  "symbols": [
20182
- "default as ModalSideBySideLayout",
20183
- "type ModalSideBySideLayoutProps"
20997
+ "default as Dropdown",
20998
+ "DropdownOption",
20999
+ "DropdownGroupOption",
21000
+ "BaseDropdownProps",
21001
+ "DropdownSizes",
21002
+ "DropdownDirection",
21003
+ "DropdownMultiControllerProps",
21004
+ "DropdownSingleControllerProps"
20184
21005
  ],
20185
- "displayName": "ModalSideBySideLayout",
21006
+ "displayName": "Dropdown",
20186
21007
  "description": "",
20187
21008
  "props": {
20188
- "children": {
20189
- "defaultValue": null,
20190
- "description": "The content of the layout, structured as:\n1. Header content\n2. Main content\n3. Media content",
20191
- "name": "children",
20192
- "required": true,
20193
- "type": {
20194
- "name": "React.ReactNode"
20195
- }
20196
- },
20197
21009
  "className": {
20198
21010
  "defaultValue": null,
20199
21011
  "description": "A CSS class name to apply to the component.",
@@ -20220,48 +21032,69 @@
20220
21032
  "type": {
20221
21033
  "name": "string"
20222
21034
  }
20223
- }
20224
- },
20225
- "import": "import { ModalSideBySideLayout } from \"@vibe/core/next\"",
20226
- "subComponents": []
20227
- },
20228
- {
20229
- "filePath": "src/components/Modal/Modal/Modal.tsx",
20230
- "aggregator": "next",
20231
- "symbols": [
20232
- "default as Modal"
20233
- ],
20234
- "displayName": "Modal",
20235
- "description": "",
20236
- "props": {
20237
- "id": {
21035
+ },
21036
+ "searchable": {
20238
21037
  "defaultValue": null,
20239
- "description": "Unique identifier for the modal.",
20240
- "name": "id",
20241
- "required": true,
21038
+ "description": "If true, the dropdown is searchable.",
21039
+ "name": "searchable",
21040
+ "required": false,
20242
21041
  "type": {
20243
- "name": "string"
21042
+ "name": "boolean"
20244
21043
  }
20245
21044
  },
20246
- "show": {
21045
+ "boxMode": {
20247
21046
  "defaultValue": null,
20248
- "description": "Controls the visibility of the modal.",
20249
- "name": "show",
21047
+ "description": "If true, the dropdown menu is displayed inline without a popup/dialog.",
21048
+ "name": "boxMode",
21049
+ "required": false,
21050
+ "type": {
21051
+ "name": "boolean"
21052
+ }
21053
+ },
21054
+ "options": {
21055
+ "defaultValue": null,
21056
+ "description": "The list of options available in the list.",
21057
+ "name": "options",
20250
21058
  "required": true,
21059
+ "type": {
21060
+ "name": "DropdownGroupOption<Item>"
21061
+ }
21062
+ },
21063
+ "tooltipProps": {
21064
+ "defaultValue": null,
21065
+ "description": "Props to be passed to the Tooltip component that wraps the dropdown.",
21066
+ "name": "tooltipProps",
21067
+ "required": false,
21068
+ "type": {
21069
+ "name": "Partial<TooltipProps>"
21070
+ }
21071
+ },
21072
+ "withGroupDivider": {
21073
+ "defaultValue": null,
21074
+ "description": "If true, displays dividers between grouped options.",
21075
+ "name": "withGroupDivider",
21076
+ "required": false,
21077
+ "type": {
21078
+ "name": "boolean"
21079
+ }
21080
+ },
21081
+ "stickyGroupTitle": {
21082
+ "defaultValue": null,
21083
+ "description": "If true, makes the group title sticky.",
21084
+ "name": "stickyGroupTitle",
21085
+ "required": false,
20251
21086
  "type": {
20252
21087
  "name": "boolean"
20253
21088
  }
20254
21089
  },
20255
21090
  "size": {
20256
- "defaultValue": {
20257
- "value": "medium"
20258
- },
20259
- "description": "Determines the width and max-height of the modal.",
21091
+ "defaultValue": null,
21092
+ "description": "The size of the dropdown.",
20260
21093
  "name": "size",
20261
21094
  "required": false,
20262
21095
  "type": {
20263
21096
  "name": "enum",
20264
- "raw": "ModalSize",
21097
+ "raw": "DropdownSizes",
20265
21098
  "value": [
20266
21099
  {
20267
21100
  "value": "\"small\""
@@ -20271,356 +21104,403 @@
20271
21104
  },
20272
21105
  {
20273
21106
  "value": "\"large\""
20274
- },
20275
- {
20276
- "value": "\"full-view\""
20277
21107
  }
20278
21108
  ]
20279
21109
  }
20280
21110
  },
20281
- "closeButtonTheme": {
21111
+ "dir": {
20282
21112
  "defaultValue": null,
20283
- "description": "Theme color for the close button.",
20284
- "name": "closeButtonTheme",
21113
+ "description": "The direction of the dropdown.",
21114
+ "name": "dir",
20285
21115
  "required": false,
20286
21116
  "type": {
20287
21117
  "name": "enum",
20288
- "raw": "ModalTopActionsTheme",
21118
+ "raw": "DropdownDirection",
20289
21119
  "value": [
20290
21120
  {
20291
- "value": "\"dark\""
21121
+ "value": "\"ltr\""
20292
21122
  },
20293
21123
  {
20294
- "value": "\"light\""
21124
+ "value": "\"rtl\""
21125
+ },
21126
+ {
21127
+ "value": "\"auto\""
20295
21128
  }
20296
21129
  ]
20297
21130
  }
20298
21131
  },
20299
- "closeButtonAriaLabel": {
21132
+ "optionRenderer": {
20300
21133
  "defaultValue": null,
20301
- "description": "Accessibility label for the close button.",
20302
- "name": "closeButtonAriaLabel",
21134
+ "description": "The function to call to render an option.",
21135
+ "name": "optionRenderer",
21136
+ "required": false,
21137
+ "type": {
21138
+ "name": "(option: Item) => React.ReactNode"
21139
+ }
21140
+ },
21141
+ "menuRenderer": {
21142
+ "defaultValue": null,
21143
+ "description": "The function to call to render the menu.",
21144
+ "name": "menuRenderer",
21145
+ "required": false,
21146
+ "type": {
21147
+ "name": "(props: { children: React.ReactNode; filteredOptions: ListGroup<Item>[]; selectedItems: Item[]; getItemProps: (options: any) => Record<string, unknown>; }) => React.ReactNode"
21148
+ }
21149
+ },
21150
+ "noOptionsMessage": {
21151
+ "defaultValue": null,
21152
+ "description": "The message to display when there are no options.",
21153
+ "name": "noOptionsMessage",
21154
+ "required": false,
21155
+ "type": {
21156
+ "name": "any"
21157
+ }
21158
+ },
21159
+ "placeholder": {
21160
+ "defaultValue": null,
21161
+ "description": "The placeholder to display when the dropdown is empty.",
21162
+ "name": "placeholder",
20303
21163
  "required": false,
20304
21164
  "type": {
20305
21165
  "name": "string"
20306
21166
  }
20307
21167
  },
20308
- "onClose": {
20309
- "defaultValue": {
20310
- "value": "() => {}"
20311
- },
20312
- "description": "Callback fired when the modal should close.",
20313
- "name": "onClose",
21168
+ "disabled": {
21169
+ "defaultValue": null,
21170
+ "description": "If true, the dropdown is disabled.",
21171
+ "name": "disabled",
20314
21172
  "required": false,
20315
21173
  "type": {
20316
- "name": "(event: any) => void"
21174
+ "name": "boolean"
20317
21175
  }
20318
21176
  },
20319
- "autoFocus": {
20320
- "defaultValue": {
20321
- "value": "true"
20322
- },
20323
- "description": "This is intended for advanced use-cases.\nIt allows you to control the default focus behavior when the modal mounts.\nMake sure to use this prop only when you understand the implications.\n\nDetermines if focus should automatically move to the first focusable element when the component mounts.\nWhen set to `false` - disables the automatic focus behavior.\n- Notice this might break keyboard and general accessibility and should be used with caution.",
20324
- "name": "autoFocus",
21177
+ "readOnly": {
21178
+ "defaultValue": null,
21179
+ "description": "If true, the dropdown is read only.",
21180
+ "name": "readOnly",
20325
21181
  "required": false,
20326
21182
  "type": {
20327
21183
  "name": "boolean"
20328
21184
  }
20329
21185
  },
20330
- "allowFocusEscapeTo": {
21186
+ "error": {
20331
21187
  "defaultValue": null,
20332
- "description": "Specifies elements/containers that should be allowed to receive focus outside this modal.\nWhen focus moves to these elements, the focus lock will ignore them.\nThis allows other UI components (tooltips, dropdowns, nested modals, etc.) to receive focus.\n\nAccepts:\n- CSS selectors (string)\n- Refs to elements (React.RefObject<HTMLElement>)\n- Direct element references (HTMLElement)",
20333
- "name": "allowFocusEscapeTo",
21188
+ "description": "If true, the dropdown is in an error state.",
21189
+ "name": "error",
20334
21190
  "required": false,
20335
21191
  "type": {
20336
- "name": "any[]"
21192
+ "name": "boolean"
20337
21193
  }
20338
21194
  },
20339
- "onFocusAttempt": {
21195
+ "helperText": {
20340
21196
  "defaultValue": null,
20341
- "description": "This is intended for advanced use-cases.\nIt allows you to control which elements the focus lock should manage.\nMake sure to use this prop only when you understand the implications.\n\n**Note:** If you only need to allow focus to specific selectors, use `allowFocusEscapeTo` instead.\n\nCalled whenever focus is attempting to move to any element (inside or outside the modal).\nReturn:\n- `true` to let focus-lock **manage** this element (keep it within the modal's focus trap).\n- `false` to let focus-lock **ignore** this element (allow focus to move outside the modal).\n- An HTMLElement to redirect focus to that element instead.\n- Any other value (e.g., null, undefined) would act as `false`.\n@example // Complex custom logic\n<Modal\n onFocusAttempt={(el) => {\n if (el?.dataset.customBehavior) return false;\n return true;\n }}\n/>",
20342
- "name": "onFocusAttempt",
21197
+ "description": "The helper text to display below the dropdown.",
21198
+ "name": "helperText",
20343
21199
  "required": false,
20344
21200
  "type": {
20345
- "name": "(nextFocusedElement?: HTMLElement) => boolean | HTMLElement"
21201
+ "name": "string"
20346
21202
  }
20347
21203
  },
20348
- "renderHeaderAction": {
21204
+ "required": {
20349
21205
  "defaultValue": null,
20350
- "description": "Additional action to render in the header area.",
20351
- "name": "renderHeaderAction",
21206
+ "description": "If true, the dropdown is required.",
21207
+ "name": "required",
21208
+ "required": false,
21209
+ "type": {
21210
+ "name": "boolean"
21211
+ }
21212
+ },
21213
+ "label": {
21214
+ "defaultValue": null,
21215
+ "description": "The label to display above the dropdown.",
21216
+ "name": "label",
21217
+ "required": false,
21218
+ "type": {
21219
+ "name": "string"
21220
+ }
21221
+ },
21222
+ "ariaLabel": {
21223
+ "defaultValue": null,
21224
+ "description": "The ARIA label for the dropdown.",
21225
+ "name": "ariaLabel",
21226
+ "required": false,
21227
+ "type": {
21228
+ "name": "string"
21229
+ }
21230
+ },
21231
+ "inputAriaLabel": {
21232
+ "defaultValue": null,
21233
+ "description": "The ARIA label for the dropdown input.",
21234
+ "name": "inputAriaLabel",
21235
+ "required": false,
21236
+ "type": {
21237
+ "name": "string"
21238
+ }
21239
+ },
21240
+ "menuAriaLabel": {
21241
+ "defaultValue": null,
21242
+ "description": "The ARIA label for the menu container.",
21243
+ "name": "menuAriaLabel",
21244
+ "required": false,
21245
+ "type": {
21246
+ "name": "string"
21247
+ }
21248
+ },
21249
+ "clearAriaLabel": {
21250
+ "defaultValue": null,
21251
+ "description": "The ARIA label for the clear button.",
21252
+ "name": "clearAriaLabel",
21253
+ "required": false,
21254
+ "type": {
21255
+ "name": "string"
21256
+ }
21257
+ },
21258
+ "inputValue": {
21259
+ "defaultValue": null,
21260
+ "description": "The current value of the input field.",
21261
+ "name": "inputValue",
21262
+ "required": false,
21263
+ "type": {
21264
+ "name": "string"
21265
+ }
21266
+ },
21267
+ "maxMenuHeight": {
21268
+ "defaultValue": null,
21269
+ "description": "The maximum height of the dropdown menu.",
21270
+ "name": "maxMenuHeight",
21271
+ "required": false,
21272
+ "type": {
21273
+ "name": "number"
21274
+ }
21275
+ },
21276
+ "isMenuOpen": {
21277
+ "defaultValue": null,
21278
+ "description": "If true, controls the menu open state.",
21279
+ "name": "isMenuOpen",
20352
21280
  "required": false,
20353
21281
  "type": {
20354
- "name": "any"
21282
+ "name": "boolean"
20355
21283
  }
20356
21284
  },
20357
- "anchorElementRef": {
21285
+ "closeMenuOnSelect": {
20358
21286
  "defaultValue": null,
20359
- "description": "Reference to an element that triggered the modal, used for animations.",
20360
- "name": "anchorElementRef",
21287
+ "description": "If true, closes the menu when an option is selected.",
21288
+ "name": "closeMenuOnSelect",
20361
21289
  "required": false,
20362
21290
  "type": {
20363
- "name": "React.RefObject<HTMLElement>"
21291
+ "name": "boolean"
20364
21292
  }
20365
21293
  },
20366
- "alertModal": {
21294
+ "autoFocus": {
20367
21295
  "defaultValue": null,
20368
- "description": "When true, prevents closing the modal when clicking the overlay (\"click-outside\") or pressing ESC.",
20369
- "name": "alertModal",
21296
+ "description": "If true, the dropdown menu will be auto focused.",
21297
+ "name": "autoFocus",
20370
21298
  "required": false,
20371
21299
  "type": {
20372
21300
  "name": "boolean"
20373
21301
  }
20374
21302
  },
20375
- "container": {
20376
- "defaultValue": {
20377
- "value": "document.body"
20378
- },
20379
- "description": "The target element to render the modal into.",
20380
- "name": "container",
21303
+ "clearable": {
21304
+ "defaultValue": null,
21305
+ "description": "If true, the dropdown will have a clear button.",
21306
+ "name": "clearable",
20381
21307
  "required": false,
20382
21308
  "type": {
20383
- "name": "any"
21309
+ "name": "boolean"
20384
21310
  }
20385
21311
  },
20386
- "children": {
21312
+ "onBlur": {
20387
21313
  "defaultValue": null,
20388
- "description": "Modal content.",
20389
- "name": "children",
20390
- "required": true,
21314
+ "description": "Callback fired when the dropdown loses focus.",
21315
+ "name": "onBlur",
21316
+ "required": false,
20391
21317
  "type": {
20392
- "name": "React.ReactNode"
21318
+ "name": "(event: React.FocusEvent<HTMLDivElement>) => void"
20393
21319
  }
20394
21320
  },
20395
- "style": {
21321
+ "onClear": {
20396
21322
  "defaultValue": null,
20397
- "description": "Additional inline styles for the modal.",
20398
- "name": "style",
21323
+ "description": "Callback fired when the clear button is clicked.",
21324
+ "name": "onClear",
20399
21325
  "required": false,
20400
21326
  "type": {
20401
- "name": "React.CSSProperties"
21327
+ "name": "() => void"
20402
21328
  }
20403
21329
  },
20404
- "zIndex": {
21330
+ "onFocus": {
20405
21331
  "defaultValue": null,
20406
- "description": "The z-index to be used for the modal and overlay.",
20407
- "name": "zIndex",
21332
+ "description": "Callback fired when the dropdown gains focus.",
21333
+ "name": "onFocus",
20408
21334
  "required": false,
20409
21335
  "type": {
20410
- "name": "number"
21336
+ "name": "(event: React.FocusEvent<HTMLDivElement>) => void"
20411
21337
  }
20412
21338
  },
20413
- "aria-labelledby": {
21339
+ "onInputChange": {
20414
21340
  "defaultValue": null,
20415
- "description": "If provided, overrides the automatically generated aria-labelledby, that is assigned when used with ModalHeader.",
20416
- "name": "aria-labelledby",
21341
+ "description": "Callback fired when the dropdown input value changes.",
21342
+ "name": "onInputChange",
20417
21343
  "required": false,
20418
21344
  "type": {
20419
- "name": "string"
21345
+ "name": "(input: string) => void"
20420
21346
  }
20421
21347
  },
20422
- "aria-describedby": {
21348
+ "onKeyDown": {
20423
21349
  "defaultValue": null,
20424
- "description": "If provided, overrides the automatically generated aria-describedby, that is assigned when used with ModalHeader.",
20425
- "name": "aria-describedby",
21350
+ "description": "Callback fired when a key is pressed inside the dropdown.",
21351
+ "name": "onKeyDown",
20426
21352
  "required": false,
20427
21353
  "type": {
20428
- "name": "string"
21354
+ "name": "(event: React.KeyboardEvent<HTMLDivElement>) => void"
20429
21355
  }
20430
21356
  },
20431
- "className": {
21357
+ "onMenuOpen": {
20432
21358
  "defaultValue": null,
20433
- "description": "A CSS class name to apply to the component.",
20434
- "name": "className",
21359
+ "description": "Callback fired when the dropdown menu opens.",
21360
+ "name": "onMenuOpen",
20435
21361
  "required": false,
20436
21362
  "type": {
20437
- "name": "string"
21363
+ "name": "() => void"
20438
21364
  }
20439
21365
  },
20440
- "data-testid": {
21366
+ "onMenuClose": {
20441
21367
  "defaultValue": null,
20442
- "description": "A unique identifier for testing purposes.",
20443
- "name": "data-testid",
21368
+ "description": "Callback fired when the dropdown menu closes.",
21369
+ "name": "onMenuClose",
20444
21370
  "required": false,
20445
21371
  "type": {
20446
- "name": "string"
21372
+ "name": "() => void"
20447
21373
  }
20448
- }
20449
- },
20450
- "import": "import { Modal } from \"@vibe/core/next\"",
20451
- "subComponents": [
20452
- "Modal.types"
20453
- ]
20454
- },
20455
- {
20456
- "filePath": "src/components/Modal/ModalHeader/ModalHeader.tsx",
20457
- "aggregator": "next",
20458
- "symbols": [
20459
- "default as ModalHeader",
20460
- "type ModalHeaderProps"
20461
- ],
20462
- "displayName": "ModalHeader",
20463
- "description": "",
20464
- "props": {
20465
- "title": {
21374
+ },
21375
+ "onOptionSelect": {
20466
21376
  "defaultValue": null,
20467
- "description": "Main heading text of the modal.\n\n- If you pass a **string**, `ModalHeader` will generate an internal ID and communicate it to the parent `Modal`\n so that `aria-labelledby` is set automatically (unless `Modal` receives `aria-labelledby` prop).\n- If you pass a **ReactNode** (such as a custom component), **you must**:\n 1. Assign an **`id`** to that element (or a nested element), and\n 2. Pass that **same `id`** as the `aria-labelledby` prop to the `Modal`.\n\nThis ensures that assistive technologies know which element is the modal's title.\n@see [WAI-ARIA Authoring Practices for Dialog (Modal)](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/#wai-ariaroles,states,andproperties)",
20468
- "name": "title",
20469
- "required": true,
21377
+ "description": "Callback fired when an option is selected.",
21378
+ "name": "onOptionSelect",
21379
+ "required": false,
20470
21380
  "type": {
20471
- "name": "any"
21381
+ "name": "(option: Item) => void"
20472
21382
  }
20473
21383
  },
20474
- "description": {
21384
+ "onScroll": {
20475
21385
  "defaultValue": null,
20476
- "description": "Descriptive text or content below the title.\n- If you pass a **string**, this will automatically set an internally generated `aria-describedby` on the parent Modal.\n- If you pass a **ReactNode** (e.g., a complex component), we recommend assigning an **`id`** to that component (or a nested element),\n and then pass that same ID in `aria-describedby` to the **Modal** (overriding the internal ID).\n\nThis ensures that assistive technologies know which element is the modal's descriptive content.\n@see [WAI-ARIA Authoring Practices for Dialog (Modal)](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/#wai-ariaroles,states,andproperties)",
20477
- "name": "description",
21386
+ "description": "Callback fired when scrolling inside the dropdown.",
21387
+ "name": "onScroll",
20478
21388
  "required": false,
20479
21389
  "type": {
20480
- "name": "any"
21390
+ "name": "(event: React.UIEvent<HTMLUListElement>) => void"
20481
21391
  }
20482
21392
  },
20483
- "descriptionIcon": {
21393
+ "filterOption": {
20484
21394
  "defaultValue": null,
20485
- "description": "Icon to display before the description. Can only be passed when description is supplied.",
20486
- "name": "descriptionIcon",
21395
+ "description": "A function to customize the filtering of options.\nIt receives an option and the current input value, and should return true if the option should be included, false otherwise.",
21396
+ "name": "filterOption",
20487
21397
  "required": false,
20488
21398
  "type": {
20489
- "name": "SubIcon | { name: SubIcon; className?: string; }"
21399
+ "name": "(option: Item, inputValue: string) => boolean"
20490
21400
  }
20491
21401
  },
20492
- "className": {
21402
+ "showSelectedOptions": {
20493
21403
  "defaultValue": null,
20494
- "description": "A CSS class name to apply to the component.",
20495
- "name": "className",
21404
+ "description": "If false, selected options will be hidden from the list. Defaults to true.",
21405
+ "name": "showSelectedOptions",
20496
21406
  "required": false,
20497
21407
  "type": {
20498
- "name": "string"
21408
+ "name": "boolean"
20499
21409
  }
20500
21410
  },
20501
- "data-testid": {
21411
+ "menuWrapperClassName": {
20502
21412
  "defaultValue": null,
20503
- "description": "A unique identifier for testing purposes.",
20504
- "name": "data-testid",
21413
+ "description": "The class name to be applied to the menu wrapper.",
21414
+ "name": "menuWrapperClassName",
20505
21415
  "required": false,
20506
21416
  "type": {
20507
21417
  "name": "string"
20508
21418
  }
20509
21419
  },
20510
- "id": {
21420
+ "loading": {
20511
21421
  "defaultValue": null,
20512
- "description": "An HTML id attribute for the component.",
20513
- "name": "id",
21422
+ "description": "If true, displays a loading indicator in the dropdown controls.",
21423
+ "name": "loading",
20514
21424
  "required": false,
20515
21425
  "type": {
20516
- "name": "string"
21426
+ "name": "boolean"
20517
21427
  }
20518
- }
20519
- },
20520
- "import": "import { ModalHeader } from \"@vibe/core/next\"",
20521
- "parentComponent": "Modal",
20522
- "subComponents": []
20523
- },
20524
- {
20525
- "filePath": "src/components/Modal/ModalContent/ModalContent.tsx",
20526
- "aggregator": "next",
20527
- "symbols": [
20528
- "default as ModalContent",
20529
- "type ModalContentProps"
20530
- ],
20531
- "displayName": "ModalContent",
20532
- "description": "",
20533
- "props": {
20534
- "children": {
21428
+ },
21429
+ "multi": {
20535
21430
  "defaultValue": null,
20536
- "description": "The main content of the modal.",
20537
- "name": "children",
21431
+ "description": "If true, the dropdown allows multiple selections.\nIf true, the dropdown allows multiple selections. Defaults to false.",
21432
+ "name": "multi",
20538
21433
  "required": false,
20539
21434
  "type": {
20540
- "name": "React.ReactNode"
21435
+ "name": "boolean"
20541
21436
  }
20542
21437
  },
20543
- "className": {
21438
+ "multiline": {
20544
21439
  "defaultValue": null,
20545
- "description": "A CSS class name to apply to the component.",
20546
- "name": "className",
21440
+ "description": "If true, the dropdown allows multiple lines of selected items. (Not available for single select)",
21441
+ "name": "multiline",
20547
21442
  "required": false,
20548
21443
  "type": {
20549
- "name": "string"
21444
+ "name": "boolean"
20550
21445
  }
20551
21446
  },
20552
- "data-testid": {
21447
+ "onOptionRemove": {
20553
21448
  "defaultValue": null,
20554
- "description": "A unique identifier for testing purposes.",
20555
- "name": "data-testid",
21449
+ "description": "Callback fired when an option is removed in multi-select mode. Only available when multi is true.\nCallback fired when an option is removed in multi-select mode. (Not available for single select)",
21450
+ "name": "onOptionRemove",
20556
21451
  "required": false,
20557
21452
  "type": {
20558
- "name": "string"
21453
+ "name": "(option: Item) => void"
20559
21454
  }
20560
21455
  },
20561
- "id": {
21456
+ "valueRenderer": {
20562
21457
  "defaultValue": null,
20563
- "description": "An HTML id attribute for the component.",
20564
- "name": "id",
21458
+ "description": "The function to call to render the selected value on single select mode.",
21459
+ "name": "valueRenderer",
20565
21460
  "required": false,
20566
21461
  "type": {
20567
- "name": "string"
21462
+ "name": "(option: Item) => React.ReactNode"
20568
21463
  }
20569
- }
20570
- },
20571
- "import": "import { ModalContent } from \"@vibe/core/next\"",
20572
- "parentComponent": "Modal",
20573
- "subComponents": []
20574
- },
20575
- {
20576
- "filePath": "src/components/Modal/ModalMedia/ModalMedia.tsx",
20577
- "aggregator": "next",
20578
- "symbols": [
20579
- "default as ModalMedia",
20580
- "type ModalMediaProps"
20581
- ],
20582
- "displayName": "ModalMedia",
20583
- "description": "",
20584
- "props": {
20585
- "children": {
21464
+ },
21465
+ "defaultValue": {
20586
21466
  "defaultValue": null,
20587
- "description": "The media content displayed in the modal.",
20588
- "name": "children",
20589
- "required": true,
21467
+ "description": "The default selected values for multi-select.\nThe default selected value for single-select.",
21468
+ "name": "defaultValue",
21469
+ "required": false,
20590
21470
  "type": {
20591
- "name": "React.ReactNode"
21471
+ "name": "BaseListItemData<Record<string, unknown>> | Item[]"
20592
21472
  }
20593
21473
  },
20594
- "className": {
21474
+ "value": {
20595
21475
  "defaultValue": null,
20596
- "description": "A CSS class name to apply to the component.",
20597
- "name": "className",
21476
+ "description": "The controlled selected values for multi-select.\nThe controlled selected value for single-select.",
21477
+ "name": "value",
20598
21478
  "required": false,
20599
21479
  "type": {
20600
- "name": "string"
21480
+ "name": "BaseListItemData<Record<string, unknown>> | Item[]"
20601
21481
  }
20602
21482
  },
20603
- "data-testid": {
21483
+ "onChange": {
20604
21484
  "defaultValue": null,
20605
- "description": "A unique identifier for testing purposes.",
20606
- "name": "data-testid",
21485
+ "description": "Callback fired when the selected values change in multi-select mode.\nCallback fired when the selected value changes in single-select mode.",
21486
+ "name": "onChange",
20607
21487
  "required": false,
20608
21488
  "type": {
20609
- "name": "string"
21489
+ "name": "((options: Item[]) => void) | ((option: Item) => void)"
20610
21490
  }
20611
21491
  },
20612
- "id": {
21492
+ "ref": {
20613
21493
  "defaultValue": null,
20614
- "description": "An HTML id attribute for the component.",
20615
- "name": "id",
21494
+ "description": "",
21495
+ "name": "ref",
20616
21496
  "required": false,
20617
21497
  "type": {
20618
- "name": "string"
21498
+ "name": "React.ForwardedRef<HTMLDivElement>"
20619
21499
  }
20620
21500
  }
20621
21501
  },
20622
- "import": "import { ModalMedia } from \"@vibe/core/next\"",
20623
- "parentComponent": "Modal",
21502
+ "import": "import { Dropdown } from \"@vibe/core/next\"",
21503
+ "parentComponent": "next",
20624
21504
  "subComponents": []
20625
21505
  }
20626
21506
  ]