@telus-uds/components-web 2.19.0 → 2.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,28 @@
1
1
  # Change Log - @telus-uds/components-web
2
2
 
3
- This log was last generated on Tue, 12 Sep 2023 23:35:19 GMT and should not be manually modified.
3
+ This log was last generated on Sat, 16 Sep 2023 01:00:29 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.19.2
8
+
9
+ Sat, 16 Sep 2023 01:00:29 GMT
10
+
11
+ ### Patches
12
+
13
+ - adding onPress to tooltip typedef (srikanthkhari@gmail.com)
14
+
15
+ ## 2.19.1
16
+
17
+ Fri, 15 Sep 2023 21:02:27 GMT
18
+
19
+ ### Patches
20
+
21
+ - Bump @telus-uds/components-base to v1.62.0
22
+
7
23
  ## 2.19.0
8
24
 
9
- Tue, 12 Sep 2023 23:35:19 GMT
25
+ Tue, 12 Sep 2023 23:39:14 GMT
10
26
 
11
27
  ### Minor changes
12
28
 
@@ -11347,28 +11347,6 @@
11347
11347
  "docs": {
11348
11348
  "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`.",
11349
11349
  "props": {
11350
- "isActive": {
11351
- "defaultValue": {
11352
- "value": "false",
11353
- "computed": false
11354
- },
11355
- "type": {
11356
- "name": "bool"
11357
- },
11358
- "required": false,
11359
- "description": "Set internally in `SideNav` render function."
11360
- },
11361
- "isExpanded": {
11362
- "defaultValue": {
11363
- "value": "false",
11364
- "computed": false
11365
- },
11366
- "type": {
11367
- "name": "bool"
11368
- },
11369
- "required": false,
11370
- "description": "Set internally in `SideNav.ItemsGroup` render function. Used to mark expanded `ItemsGroup` parent."
11371
- },
11372
11350
  "accessibilityRole": {
11373
11351
  "defaultValue": {
11374
11352
  "value": "'link'",
@@ -11378,7 +11356,7 @@
11378
11356
  "name": "string"
11379
11357
  },
11380
11358
  "required": false,
11381
- "description": "Accesibility Role"
11359
+ "description": ""
11382
11360
  },
11383
11361
  "children": {
11384
11362
  "type": {
@@ -11387,20 +11365,6 @@
11387
11365
  "required": true,
11388
11366
  "description": "Text content of the `Item`."
11389
11367
  },
11390
- "itemId": {
11391
- "type": {
11392
- "name": "string"
11393
- },
11394
- "required": false,
11395
- "description": "Set internally in `SideNav` render function - used to keep track of active item."
11396
- },
11397
- "groupId": {
11398
- "type": {
11399
- "name": "string"
11400
- },
11401
- "required": false,
11402
- "description": "Set internally in `SideNav` render function - used to keep track of expanded items groups."
11403
- },
11404
11368
  "onPress": {
11405
11369
  "type": {
11406
11370
  "name": "func"
@@ -11454,6 +11418,13 @@
11454
11418
  "required": false,
11455
11419
  "description": "On Web if href is passed, React Native Web maps this object's props to\n`rel`, `target` and `download` attrs."
11456
11420
  },
11421
+ "testID": {
11422
+ "type": {
11423
+ "name": "number"
11424
+ },
11425
+ "required": false,
11426
+ "description": ""
11427
+ },
11457
11428
  "tokens": {
11458
11429
  "type": {
11459
11430
  "name": "custom",
@@ -11501,13 +11472,6 @@
11501
11472
  },
11502
11473
  "required": false,
11503
11474
  "description": ""
11504
- },
11505
- "testID": {
11506
- "type": {
11507
- "name": "number"
11508
- },
11509
- "required": false,
11510
- "description": "test ID"
11511
11475
  }
11512
11476
  },
11513
11477
  "attributes": {
@@ -13787,6 +13751,17 @@
13787
13751
  "required": false,
13788
13752
  "description": "Select English or French copy for the accessible label."
13789
13753
  },
13754
+ "onPress": {
13755
+ "defaultValue": {
13756
+ "value": "() => {}",
13757
+ "computed": false
13758
+ },
13759
+ "type": {
13760
+ "name": "func"
13761
+ },
13762
+ "required": false,
13763
+ "description": "Callback function triggered when the tooltip is pressed."
13764
+ },
13790
13765
  "inline": {
13791
13766
  "defaultValue": {
13792
13767
  "value": "false",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  ],
6
6
  "dependencies": {
7
7
  "@gorhom/portal": "^1.0.14",
8
- "@telus-uds/components-base": "1.61.0",
8
+ "@telus-uds/components-base": "1.62.0",
9
9
  "@telus-uds/system-constants": "^1.3.0",
10
10
  "fscreen": "^1.2.0",
11
11
  "lodash.omit": "^4.5.0",
@@ -63,5 +63,5 @@
63
63
  "skip": true
64
64
  },
65
65
  "types": "types/index.d.ts",
66
- "version": "2.19.0"
66
+ "version": "2.19.2"
67
67
  }
@@ -10,6 +10,7 @@ export interface TooltipProps extends A11yProps, ViewProps {
10
10
  position?: TooltipPosition
11
11
  tokens?: Tokens
12
12
  variant?: Variant
13
+ onPress?: () => void
13
14
  }
14
15
 
15
16
  declare const Tooltip: ComponentType<TooltipProps>