@telus-uds/components-base 1.59.2 → 1.61.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 (90) hide show
  1. package/CHANGELOG.md +26 -2
  2. package/component-docs.json +526 -76
  3. package/lib/Autocomplete/Autocomplete.js +483 -0
  4. package/lib/Autocomplete/Loading.js +51 -0
  5. package/lib/Autocomplete/Suggestions.js +85 -0
  6. package/lib/Autocomplete/constants.js +14 -0
  7. package/lib/Autocomplete/dictionary.js +19 -0
  8. package/lib/Autocomplete/index.js +13 -0
  9. package/lib/Button/ButtonLink.js +7 -3
  10. package/lib/ExpandCollapse/Panel.js +7 -0
  11. package/lib/IconButton/IconButton.js +8 -0
  12. package/lib/Link/ChevronLink.js +9 -2
  13. package/lib/Link/LinkBase.js +14 -0
  14. package/lib/Link/TextButton.js +12 -1
  15. package/lib/Listbox/GroupControl.js +121 -0
  16. package/lib/Listbox/Listbox.js +198 -0
  17. package/lib/Listbox/ListboxGroup.js +142 -0
  18. package/lib/Listbox/ListboxItem.js +97 -0
  19. package/lib/Listbox/ListboxOverlay.js +106 -0
  20. package/lib/Listbox/PressableItem.js +0 -2
  21. package/lib/Listbox/index.js +5 -24
  22. package/lib/Pagination/dictionary.js +3 -3
  23. package/lib/Progress/ProgressBarBackground.js +2 -2
  24. package/lib/SideNav/Item.js +15 -5
  25. package/lib/Tags/Tags.js +6 -1
  26. package/lib/TextInput/TextInputBase.js +2 -0
  27. package/lib/Tooltip/Tooltip.js +6 -1
  28. package/lib/Tooltip/Tooltip.native.js +6 -1
  29. package/lib/Tooltip/shared.js +5 -0
  30. package/lib/index.js +17 -13
  31. package/lib/utils/useOverlaidPosition.js +6 -4
  32. package/lib-module/Autocomplete/Autocomplete.js +448 -0
  33. package/lib-module/Autocomplete/Loading.js +36 -0
  34. package/lib-module/Autocomplete/Suggestions.js +66 -0
  35. package/lib-module/Autocomplete/constants.js +4 -0
  36. package/lib-module/Autocomplete/dictionary.js +12 -0
  37. package/lib-module/Autocomplete/index.js +2 -0
  38. package/lib-module/Button/ButtonLink.js +4 -1
  39. package/lib-module/ExpandCollapse/Panel.js +7 -0
  40. package/lib-module/IconButton/IconButton.js +8 -0
  41. package/lib-module/Link/ChevronLink.js +10 -3
  42. package/lib-module/Link/LinkBase.js +14 -0
  43. package/lib-module/Link/TextButton.js +11 -1
  44. package/lib-module/Listbox/GroupControl.js +102 -0
  45. package/lib-module/Listbox/Listbox.js +172 -0
  46. package/lib-module/Listbox/ListboxGroup.js +117 -0
  47. package/lib-module/Listbox/ListboxItem.js +71 -0
  48. package/lib-module/Listbox/ListboxOverlay.js +80 -0
  49. package/lib-module/Listbox/PressableItem.js +0 -2
  50. package/lib-module/Listbox/index.js +2 -2
  51. package/lib-module/Pagination/dictionary.js +3 -3
  52. package/lib-module/Progress/ProgressBarBackground.js +2 -2
  53. package/lib-module/SideNav/Item.js +15 -5
  54. package/lib-module/Tags/Tags.js +6 -1
  55. package/lib-module/TextInput/TextInputBase.js +2 -0
  56. package/lib-module/Tooltip/Tooltip.js +6 -1
  57. package/lib-module/Tooltip/Tooltip.native.js +6 -1
  58. package/lib-module/Tooltip/shared.js +5 -0
  59. package/lib-module/index.js +2 -1
  60. package/lib-module/utils/useOverlaidPosition.js +5 -4
  61. package/package.json +5 -3
  62. package/src/Autocomplete/Autocomplete.jsx +411 -0
  63. package/src/Autocomplete/Loading.jsx +18 -0
  64. package/src/Autocomplete/Suggestions.jsx +54 -0
  65. package/src/Autocomplete/constants.js +4 -0
  66. package/src/Autocomplete/dictionary.js +12 -0
  67. package/src/Autocomplete/index.js +3 -0
  68. package/src/Button/ButtonLink.jsx +4 -1
  69. package/src/ExpandCollapse/Panel.jsx +11 -1
  70. package/src/IconButton/IconButton.jsx +7 -0
  71. package/src/Link/ChevronLink.jsx +10 -3
  72. package/src/Link/LinkBase.jsx +11 -0
  73. package/src/Link/TextButton.jsx +8 -2
  74. package/src/Listbox/GroupControl.jsx +93 -0
  75. package/src/Listbox/Listbox.jsx +165 -0
  76. package/src/Listbox/ListboxGroup.jsx +120 -0
  77. package/src/Listbox/ListboxItem.jsx +76 -0
  78. package/src/Listbox/ListboxOverlay.jsx +82 -0
  79. package/src/Listbox/PressableItem.jsx +0 -2
  80. package/src/Listbox/index.js +3 -2
  81. package/src/Pagination/dictionary.js +3 -3
  82. package/src/Progress/ProgressBarBackground.jsx +2 -2
  83. package/src/SideNav/Item.jsx +13 -5
  84. package/src/Tags/Tags.jsx +5 -1
  85. package/src/TextInput/TextInputBase.jsx +2 -0
  86. package/src/Tooltip/Tooltip.jsx +16 -2
  87. package/src/Tooltip/Tooltip.native.jsx +15 -2
  88. package/src/Tooltip/shared.js +4 -0
  89. package/src/index.js +2 -1
  90. package/src/utils/useOverlaidPosition.js +6 -5
@@ -172,7 +172,8 @@
172
172
  "WaffleGrid": {
173
173
  "rowBorderWidth": "border",
174
174
  "itemBorderColor": "color",
175
- "itemPadding": "size"
175
+ "itemPadding": "size",
176
+ "rowSize": "integer"
176
177
  },
177
178
  "QuantitySelector": {
178
179
  "inputBorderColor": "color",
@@ -3971,6 +3972,166 @@
3971
3972
  }
3972
3973
  }
3973
3974
  },
3975
+ "Autocomplete": {
3976
+ "docs": {
3977
+ "description": "",
3978
+ "props": {
3979
+ "copy": {
3980
+ "defaultValue": {
3981
+ "value": "'en'",
3982
+ "computed": false
3983
+ },
3984
+ "type": {
3985
+ "name": "union",
3986
+ "value": [
3987
+ {
3988
+ "name": "enum",
3989
+ "value": [
3990
+ {
3991
+ "value": "'en'",
3992
+ "computed": false
3993
+ },
3994
+ {
3995
+ "value": "'fr'",
3996
+ "computed": false
3997
+ }
3998
+ ]
3999
+ },
4000
+ {
4001
+ "name": "custom",
4002
+ "raw": "dictionaryContentShape"
4003
+ }
4004
+ ]
4005
+ },
4006
+ "required": false,
4007
+ "description": "Copy language identifier"
4008
+ },
4009
+ "fullWidth": {
4010
+ "defaultValue": {
4011
+ "value": "true",
4012
+ "computed": false
4013
+ },
4014
+ "required": false
4015
+ },
4016
+ "isLoading": {
4017
+ "defaultValue": {
4018
+ "value": "false",
4019
+ "computed": false
4020
+ },
4021
+ "type": {
4022
+ "name": "bool"
4023
+ },
4024
+ "required": false,
4025
+ "description": "Set to true in order to display the loading indicator instead of results"
4026
+ },
4027
+ "maxSuggestions": {
4028
+ "defaultValue": {
4029
+ "value": "5",
4030
+ "computed": false
4031
+ },
4032
+ "type": {
4033
+ "name": "number"
4034
+ },
4035
+ "required": false,
4036
+ "description": "Maximum number of suggestions provided at the same time"
4037
+ },
4038
+ "minToSuggestion": {
4039
+ "defaultValue": {
4040
+ "value": "1",
4041
+ "computed": false
4042
+ },
4043
+ "type": {
4044
+ "name": "number"
4045
+ },
4046
+ "required": false,
4047
+ "description": "Minimum number of characters typed for a list of suggestions to appear"
4048
+ },
4049
+ "helpText": {
4050
+ "defaultValue": {
4051
+ "value": "''",
4052
+ "computed": false
4053
+ },
4054
+ "type": {
4055
+ "name": "string"
4056
+ },
4057
+ "required": false,
4058
+ "description": "Help text to display when the input is focused and empty"
4059
+ },
4060
+ "children": {
4061
+ "type": {
4062
+ "name": "func"
4063
+ },
4064
+ "required": false,
4065
+ "description": "Can be used to provide a function that renders a custom input:\n<Autocomplete items={items} value={currentValue}>\n {({ inputId, inputRef, onChange, onKeyPress, readOnly, tokens, value }) => (\n <Search\n nativeID={inputId}\n ref={inputRef}\n onChange={onChange}\n onKeyPress={onKeyPress}\n readOnly={readOnly}\n tokens={tokens}\n value={value}\n />\n )}\n</Autocomplete>"
4066
+ },
4067
+ "items": {
4068
+ "type": {
4069
+ "name": "arrayOf",
4070
+ "value": {
4071
+ "name": "shape",
4072
+ "value": {
4073
+ "id": {
4074
+ "name": "string",
4075
+ "required": false
4076
+ },
4077
+ "label": {
4078
+ "name": "string",
4079
+ "required": false
4080
+ }
4081
+ }
4082
+ }
4083
+ },
4084
+ "required": false,
4085
+ "description": "List of items to display as suggestions"
4086
+ },
4087
+ "loadingLabel": {
4088
+ "type": {
4089
+ "name": "string"
4090
+ },
4091
+ "required": false,
4092
+ "description": "Label to display alongside the spinner when in a loading state"
4093
+ },
4094
+ "noResults": {
4095
+ "type": {
4096
+ "name": "node"
4097
+ },
4098
+ "required": false,
4099
+ "description": "Text or JSX to render when no results are available"
4100
+ },
4101
+ "onChange": {
4102
+ "type": {
4103
+ "name": "func"
4104
+ },
4105
+ "required": false,
4106
+ "description": "Handler function to be called when the input value changes"
4107
+ },
4108
+ "onClear": {
4109
+ "type": {
4110
+ "name": "func"
4111
+ },
4112
+ "required": false,
4113
+ "description": "Handler function to be called when the clear button (appears if the handler is passed) is pressed"
4114
+ },
4115
+ "onSelect": {
4116
+ "type": {
4117
+ "name": "func"
4118
+ },
4119
+ "required": false,
4120
+ "description": "Callback function to be called when an item is selected from the list"
4121
+ },
4122
+ "value": {
4123
+ "type": {
4124
+ "name": "string"
4125
+ },
4126
+ "required": false,
4127
+ "description": "Input value for controlled usage"
4128
+ }
4129
+ },
4130
+ "attributes": {
4131
+ "acceptsRNA11yProps": false
4132
+ }
4133
+ }
4134
+ },
3974
4135
  "BaseProvider": {
3975
4136
  "docs": {
3976
4137
  "description": "",
@@ -6372,6 +6533,13 @@
6372
6533
  "required": false,
6373
6534
  "description": ""
6374
6535
  },
6536
+ "testID": {
6537
+ "type": {
6538
+ "name": "string"
6539
+ },
6540
+ "required": false,
6541
+ "description": "A unique identifier for testing purposes.\nWill be added as a `data-testid` attribute."
6542
+ },
6375
6543
  "icon": {
6376
6544
  "type": {
6377
6545
  "name": "elementType"
@@ -7134,6 +7302,127 @@
7134
7302
  }
7135
7303
  }
7136
7304
  },
7305
+ "Listbox": {
7306
+ "docs": {
7307
+ "description": "",
7308
+ "props": {
7309
+ "items": {
7310
+ "defaultValue": {
7311
+ "value": "[]",
7312
+ "computed": false
7313
+ },
7314
+ "type": {
7315
+ "name": "array"
7316
+ },
7317
+ "required": false,
7318
+ "description": "`Listbox` items"
7319
+ },
7320
+ "firstItemRef": {
7321
+ "defaultValue": {
7322
+ "value": "null",
7323
+ "computed": false
7324
+ },
7325
+ "type": {
7326
+ "name": "object"
7327
+ },
7328
+ "required": false,
7329
+ "description": "Focus will be moved to the item with this ref once within the menu."
7330
+ },
7331
+ "parentRef": {
7332
+ "defaultValue": {
7333
+ "value": "null",
7334
+ "computed": false
7335
+ },
7336
+ "type": {
7337
+ "name": "object"
7338
+ },
7339
+ "required": false,
7340
+ "description": "Focus will be returned to the dropdown control with this ref after leaving\nthe last menu item."
7341
+ },
7342
+ "LinkRouter": {
7343
+ "type": {
7344
+ "name": "elementType"
7345
+ },
7346
+ "required": false,
7347
+ "description": ""
7348
+ },
7349
+ "linkRouterProps": {
7350
+ "type": {
7351
+ "name": "object"
7352
+ },
7353
+ "required": false,
7354
+ "description": ""
7355
+ },
7356
+ "selectedId": {
7357
+ "type": {
7358
+ "name": "string"
7359
+ },
7360
+ "required": false,
7361
+ "description": "To select an item by default"
7362
+ },
7363
+ "onClose": {
7364
+ "type": {
7365
+ "name": "func"
7366
+ },
7367
+ "required": false,
7368
+ "description": "onClose event"
7369
+ },
7370
+ "tokens": {
7371
+ "type": {
7372
+ "name": "custom",
7373
+ "raw": {
7374
+ "groupBorderRadius": "radius",
7375
+ "groupBorderWidth": "border",
7376
+ "groupFontSize": "size",
7377
+ "groupFontName": "fontName",
7378
+ "groupFontWeight": "fontWeight",
7379
+ "groupColor": "color",
7380
+ "groupBorderColor": "color",
7381
+ "groupBackgroundColor": "color",
7382
+ "groupPaddingTop": "size",
7383
+ "groupPaddingBottom": "size",
7384
+ "groupPaddingLeft": "size",
7385
+ "groupPaddingRight": "size",
7386
+ "groupIcon": "icon",
7387
+ "itemDisplay": "show",
7388
+ "itemFontName": "fontName",
7389
+ "itemFontWeight": "fontWeight",
7390
+ "itemFontSize": "size",
7391
+ "itemPaddingTop": "size",
7392
+ "itemPaddingBottom": "size",
7393
+ "itemPaddingLeft": "size",
7394
+ "itemPaddingRight": "size",
7395
+ "itemColor": "color",
7396
+ "itemBackgroundColor": "color",
7397
+ "itemBorderLeftColor": "color",
7398
+ "itemBorderLeftWidth": "border",
7399
+ "itemBorderWidth": "border",
7400
+ "itemTextDecoration": "textLine",
7401
+ "itemOutline": "border",
7402
+ "shadow": "shadow",
7403
+ "itemBorderRightColor": "color",
7404
+ "itemBorderBottomColor": "color",
7405
+ "itemBorderTopColor": "color",
7406
+ "itemBorderRightWidth": "border",
7407
+ "itemBorderBottomWidth": "border",
7408
+ "itemBorderTopWidth": "border",
7409
+ "itemBorderRadius": "radius",
7410
+ "minWidth": "size",
7411
+ "minHeight": "size",
7412
+ "itemHeight": "size",
7413
+ "groupHeight": "size",
7414
+ "lineHeight": "lineHeight"
7415
+ }
7416
+ },
7417
+ "required": false,
7418
+ "description": ""
7419
+ }
7420
+ },
7421
+ "attributes": {
7422
+ "acceptsRNA11yProps": false
7423
+ }
7424
+ }
7425
+ },
7137
7426
  "Modal": {
7138
7427
  "docs": {
7139
7428
  "description": "A modal window is a secondary window that opens on top of the main one.\nUsers have to interact with it before they can carry out their task and return to the main window.\nUse to reveal additional information to a user after they have performed an explicit interaction.\nThey are a strongly discouraged pattern; it's preferred to have all relevant information within a page,\nand irrelevant information either linked externally or omitted.\n\n- Must only appear after a customer interaction, not on page load or any other circumstance\n- Open a modal based on explicit customer action e.g. clicking on a button/link/form field\n- Only one modal should be \"current\" at any time\n- Read [WebAIM's documentation](https://www.w3.org/TR/wai-aria-practices/examples/dialog-modal/dialog.html) to create accessible modals\n- Don’t use modals to reinforce or repeat information already available in the parent page or view\n- Don’t use modals consecutively",
@@ -9429,12 +9718,38 @@
9429
9718
  "docs": {
9430
9719
  "description": "`SideNav.Item` is a navigational element that is used within `SideNav` or `SideNav.ItemsGroup`.\n\n This component can only be accessed as a name-spaced component: `SideNav.Item`.",
9431
9720
  "props": {
9721
+ "isActive": {
9722
+ "defaultValue": {
9723
+ "value": "false",
9724
+ "computed": false
9725
+ },
9726
+ "type": {
9727
+ "name": "bool"
9728
+ },
9729
+ "required": false,
9730
+ "description": "Set internally in `SideNav` render function."
9731
+ },
9732
+ "isExpanded": {
9733
+ "defaultValue": {
9734
+ "value": "false",
9735
+ "computed": false
9736
+ },
9737
+ "type": {
9738
+ "name": "bool"
9739
+ },
9740
+ "required": false,
9741
+ "description": "Set internally in `SideNav.ItemsGroup` render function. Used to mark expanded `ItemsGroup` parent."
9742
+ },
9432
9743
  "accessibilityRole": {
9433
9744
  "defaultValue": {
9434
9745
  "value": "'link'",
9435
9746
  "computed": false
9436
9747
  },
9437
- "required": false
9748
+ "type": {
9749
+ "name": "string"
9750
+ },
9751
+ "required": false,
9752
+ "description": "Accesibility Role"
9438
9753
  },
9439
9754
  "children": {
9440
9755
  "type": {
@@ -9443,6 +9758,20 @@
9443
9758
  "required": true,
9444
9759
  "description": "Text content of the `Item`."
9445
9760
  },
9761
+ "itemId": {
9762
+ "type": {
9763
+ "name": "string"
9764
+ },
9765
+ "required": false,
9766
+ "description": "Set internally in `SideNav` render function - used to keep track of active item."
9767
+ },
9768
+ "groupId": {
9769
+ "type": {
9770
+ "name": "string"
9771
+ },
9772
+ "required": false,
9773
+ "description": "Set internally in `SideNav` render function - used to keep track of expanded items groups."
9774
+ },
9446
9775
  "onPress": {
9447
9776
  "type": {
9448
9777
  "name": "func"
@@ -9543,6 +9872,13 @@
9543
9872
  },
9544
9873
  "required": false,
9545
9874
  "description": ""
9875
+ },
9876
+ "testID": {
9877
+ "type": {
9878
+ "name": "number"
9879
+ },
9880
+ "required": false,
9881
+ "description": "test ID"
9546
9882
  }
9547
9883
  },
9548
9884
  "attributes": {
@@ -10489,7 +10825,11 @@
10489
10825
  "value": "Platform.select({ web: 'group', default: 'none' })",
10490
10826
  "computed": true
10491
10827
  },
10492
- "required": false
10828
+ "type": {
10829
+ "name": "string"
10830
+ },
10831
+ "required": false,
10832
+ "description": "AccesibilityRole for the Tags"
10493
10833
  },
10494
10834
  "tokens": {
10495
10835
  "type": {
@@ -10951,6 +11291,17 @@
10951
11291
  "required": false,
10952
11292
  "description": "Select English or French copy for the accessible label."
10953
11293
  },
11294
+ "inline": {
11295
+ "defaultValue": {
11296
+ "value": "false",
11297
+ "computed": false
11298
+ },
11299
+ "type": {
11300
+ "name": "bool"
11301
+ },
11302
+ "required": false,
11303
+ "description": "Display tooltip icon button as an inline element."
11304
+ },
10954
11305
  "children": {
10955
11306
  "type": {
10956
11307
  "name": "union",
@@ -12223,6 +12574,13 @@
12223
12574
  },
12224
12575
  "required": false,
12225
12576
  "description": ""
12577
+ },
12578
+ "dataSet": {
12579
+ "type": {
12580
+ "name": "object"
12581
+ },
12582
+ "required": false,
12583
+ "description": ""
12226
12584
  }
12227
12585
  },
12228
12586
  "attributes": {
@@ -13286,76 +13644,6 @@
13286
13644
  }
13287
13645
  }
13288
13646
  },
13289
- "PressableItem": {
13290
- "docs": {
13291
- "description": "",
13292
- "props": {
13293
- "isChild": {
13294
- "defaultValue": {
13295
- "value": "false",
13296
- "computed": false
13297
- },
13298
- "type": {
13299
- "name": "bool"
13300
- },
13301
- "required": false,
13302
- "description": ""
13303
- },
13304
- "tabIndex": {
13305
- "defaultValue": {
13306
- "value": "0",
13307
- "computed": false
13308
- },
13309
- "required": false
13310
- },
13311
- "href": {
13312
- "type": {
13313
- "name": "string"
13314
- },
13315
- "required": false,
13316
- "description": ""
13317
- },
13318
- "children": {
13319
- "type": {
13320
- "name": "node"
13321
- },
13322
- "required": true,
13323
- "description": ""
13324
- },
13325
- "onBlur": {
13326
- "type": {
13327
- "name": "func"
13328
- },
13329
- "required": false,
13330
- "description": ""
13331
- },
13332
- "onPress": {
13333
- "type": {
13334
- "name": "func"
13335
- },
13336
- "required": false,
13337
- "description": ""
13338
- },
13339
- "nextItemRef": {
13340
- "type": {
13341
- "name": "object"
13342
- },
13343
- "required": false,
13344
- "description": ""
13345
- },
13346
- "prevItemRef": {
13347
- "type": {
13348
- "name": "object"
13349
- },
13350
- "required": false,
13351
- "description": ""
13352
- }
13353
- },
13354
- "attributes": {
13355
- "acceptsRNA11yProps": false
13356
- }
13357
- }
13358
- },
13359
13647
  "CheckboxGroup": {
13360
13648
  "docs": {
13361
13649
  "description": "A group of Checkboxs that behave as a fieldset. Use when users select any number of choices from options.\n\n## Component API\n\nUse the `items` prop to pass an array of objects describing each Checkbox in the group:\n\n - `label`: main text passed to CheckboxGroup's `label` prop\n - `id`: identifier used to store which CheckboxGroup is selected (uses `label` if undefinded)\n - `onChange`: optional function called on selection, in addition to updating the group's selection state\n\n### Controlled version\n\nIf the selection state is controlled from outside, it needs to receive `checkedId` and `onChange` props.\n\n### Uncontrolled version\n\nIf the CheckboxGroup manages its own state, you can use `initialCheckedId` prop to provide the initial value.\nWhenever the radio card gets toggled, it calls the `onChange` callback with the new value (string).\n\n### Use in forms\n\nFor web forms, the `name` prop may be used to define the name of the group's `fieldset` and input elements.\n\n### Validation\n\nValidation state may be set by passing 'error' or 'success' to the `validation` prop.\n\n## A11y guidelines\n\nCheckboxGroup accepts all the common accessibility props, and controls the accessibility state\nof children like Checkbox and Feedback based on current state.\n\n@example\n```jsx\n<CheckboxGroup\n initialCheckedIds=\"check1\"\n items={[\n { label: 'Checkbox 1', id: 'check1' },\n { label: 'Checkbox 2', id: 'check2' },\n { label: 'Checkbox 3', id: 'check3' }\n ]}\n legend=\"Checkboxes\"\n hint=\"Choose from these options\"\n/>\n```",
@@ -13848,10 +14136,126 @@
13848
14136
  },
13849
14137
  "required": false,
13850
14138
  "description": ""
14139
+ },
14140
+ "children": {
14141
+ "type": {
14142
+ "name": "node"
14143
+ },
14144
+ "required": false,
14145
+ "description": ""
14146
+ },
14147
+ "variant": {
14148
+ "type": {
14149
+ "name": "exact",
14150
+ "value": {
14151
+ "size": {
14152
+ "name": "enum",
14153
+ "value": [
14154
+ {
14155
+ "value": "'large'",
14156
+ "computed": false
14157
+ },
14158
+ {
14159
+ "value": "'small'",
14160
+ "computed": false
14161
+ },
14162
+ {
14163
+ "value": "'micro'",
14164
+ "computed": false
14165
+ }
14166
+ ],
14167
+ "required": false
14168
+ },
14169
+ "alternative": {
14170
+ "name": "bool",
14171
+ "required": false
14172
+ },
14173
+ "inverse": {
14174
+ "name": "bool",
14175
+ "required": false
14176
+ }
14177
+ }
14178
+ },
14179
+ "required": false,
14180
+ "description": ""
14181
+ },
14182
+ "onPress": {
14183
+ "type": {
14184
+ "name": "func"
14185
+ },
14186
+ "required": false,
14187
+ "description": ""
14188
+ },
14189
+ "onPressIn": {
14190
+ "type": {
14191
+ "name": "func"
14192
+ },
14193
+ "required": false,
14194
+ "description": ""
14195
+ },
14196
+ "onPressOut": {
14197
+ "type": {
14198
+ "name": "func"
14199
+ },
14200
+ "required": false,
14201
+ "description": ""
14202
+ },
14203
+ "disabled": {
14204
+ "type": {
14205
+ "name": "bool"
14206
+ },
14207
+ "required": false,
14208
+ "description": ""
14209
+ },
14210
+ "href": {
14211
+ "type": {
14212
+ "name": "string"
14213
+ },
14214
+ "required": false,
14215
+ "description": ""
14216
+ },
14217
+ "hrefAttrs": {
14218
+ "type": {
14219
+ "name": "shape",
14220
+ "value": {
14221
+ "download": {
14222
+ "name": "string",
14223
+ "required": false
14224
+ },
14225
+ "rel": {
14226
+ "name": "string",
14227
+ "required": false
14228
+ },
14229
+ "target": {
14230
+ "name": "enum",
14231
+ "value": [
14232
+ {
14233
+ "value": "'_self'",
14234
+ "computed": false
14235
+ },
14236
+ {
14237
+ "value": "'_blank'",
14238
+ "computed": false
14239
+ },
14240
+ {
14241
+ "value": "'_parent'",
14242
+ "computed": false
14243
+ },
14244
+ {
14245
+ "value": "'_top'",
14246
+ "computed": false
14247
+ }
14248
+ ],
14249
+ "required": false
14250
+ }
14251
+ }
14252
+ },
14253
+ "required": false,
14254
+ "description": ""
13851
14255
  }
13852
14256
  },
13853
14257
  "attributes": {
13854
- "acceptsRNA11yProps": false
14258
+ "acceptsRNA11yProps": true
13855
14259
  }
13856
14260
  }
13857
14261
  },
@@ -13975,6 +14379,20 @@
13975
14379
  },
13976
14380
  "required": false
13977
14381
  },
14382
+ "href": {
14383
+ "type": {
14384
+ "name": "string"
14385
+ },
14386
+ "required": false,
14387
+ "description": "href for the Link"
14388
+ },
14389
+ "accessibilityrole": {
14390
+ "type": {
14391
+ "name": "string"
14392
+ },
14393
+ "required": false,
14394
+ "description": "AccesibilityRole for the link base"
14395
+ },
13978
14396
  "variant": {
13979
14397
  "type": {
13980
14398
  "name": "objectOf",
@@ -13994,7 +14412,7 @@
13994
14412
  }
13995
14413
  },
13996
14414
  "required": false,
13997
- "description": ""
14415
+ "description": "Children nodes that can be added"
13998
14416
  },
13999
14417
  "icon": {
14000
14418
  "type": {
@@ -14057,13 +14475,45 @@
14057
14475
  "value": "'button'",
14058
14476
  "computed": false
14059
14477
  },
14060
- "required": false
14478
+ "type": {
14479
+ "name": "string"
14480
+ },
14481
+ "required": false,
14482
+ "description": "Accesibility role for TextButton"
14061
14483
  },
14062
14484
  "onPress": {
14063
14485
  "type": {
14064
14486
  "name": "func"
14065
14487
  },
14066
14488
  "required": true,
14489
+ "description": "onPress function"
14490
+ },
14491
+ "children": {
14492
+ "type": {
14493
+ "name": "node"
14494
+ },
14495
+ "required": true,
14496
+ "description": "Children node that can be added"
14497
+ },
14498
+ "variant": {
14499
+ "type": {
14500
+ "name": "objectOf",
14501
+ "value": {
14502
+ "name": "union",
14503
+ "value": [
14504
+ {
14505
+ "name": "string"
14506
+ },
14507
+ {
14508
+ "name": "number"
14509
+ },
14510
+ {
14511
+ "name": "bool"
14512
+ }
14513
+ ]
14514
+ }
14515
+ },
14516
+ "required": false,
14067
14517
  "description": ""
14068
14518
  }
14069
14519
  },