@telus-uds/components-base 1.27.0 → 1.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,12 +1,33 @@
1
1
  # Change Log - @telus-uds/components-base
2
2
 
3
- This log was last generated on Thu, 23 Feb 2023 17:20:42 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 07 Mar 2023 21:07:23 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 1.29.0
8
+
9
+ Tue, 07 Mar 2023 21:07:23 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - Tooltipbutton hover behavior and pressbehior fix + pm rebrand (akshay.pandey@telus.com)
14
+ - Bump @telus-uds/system-theme-tokens to v2.12.0
15
+
16
+ ## 1.28.0
17
+
18
+ Thu, 02 Mar 2023 22:33:01 GMT
19
+
20
+ ### Minor changes
21
+
22
+ - [object Object] (khemkaran.singh@telusinternational.com)
23
+
24
+ ### Patches
25
+
26
+ - adding French translations to Carousel (21316148+donnavitan@users.noreply.github.com)
27
+
7
28
  ## 1.27.0
8
29
 
9
- Thu, 23 Feb 2023 17:20:42 GMT
30
+ Thu, 23 Feb 2023 17:25:51 GMT
10
31
 
11
32
  ### Minor changes
12
33
 
@@ -192,6 +192,8 @@
192
192
  "labelMarginLeft": "size"
193
193
  },
194
194
  "ChevronLink": {
195
+ "color": "color",
196
+ "outerBorderColor": "color",
195
197
  "leftIcon": "icon",
196
198
  "rightIcon": "icon",
197
199
  "iconDisplace": "size",
@@ -1250,6 +1252,16 @@
1250
1252
  }
1251
1253
  },
1252
1254
  "ChevronLink": {
1255
+ "focus": {
1256
+ "description": "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
1257
+ "values": [
1258
+ true
1259
+ ],
1260
+ "type": "state",
1261
+ "platforms": [
1262
+ "rn"
1263
+ ]
1264
+ },
1253
1265
  "hover": {
1254
1266
  "description": "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
1255
1267
  "values": [
@@ -1259,6 +1271,13 @@
1259
1271
  "platforms": [
1260
1272
  "rn"
1261
1273
  ]
1274
+ },
1275
+ "pressed": {
1276
+ "description": "Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.",
1277
+ "values": [
1278
+ true
1279
+ ],
1280
+ "type": "state"
1262
1281
  }
1263
1282
  },
1264
1283
  "ExpandCollapseControl": {
@@ -12073,15 +12092,15 @@
12073
12092
  "type": {
12074
12093
  "name": "custom",
12075
12094
  "raw": {
12095
+ "color": "color",
12096
+ "outerBorderColor": "color",
12076
12097
  "leftIcon": "icon",
12077
12098
  "rightIcon": "icon",
12078
12099
  "iconDisplace": "size",
12079
12100
  "iconSize": "size",
12080
12101
  "iconSpace": "integer",
12081
12102
  "textLine": "textLine",
12082
- "color": "color",
12083
12103
  "textLineStyle": "textLineStyle",
12084
- "outerBorderColor": "color",
12085
12104
  "outerBorderWidth": "border",
12086
12105
  "outerBorderGap": "size",
12087
12106
  "outerBorderOutline": "borderStyle",
@@ -14,12 +14,12 @@ var _default = {
14
14
  skipLink: 'Skip %{title}'
15
15
  },
16
16
  fr: {
17
- // TODO: French translations here
18
- carouselLabel: '(fr) %{stepCount} items',
19
- iconButtonLabel: '(fr) Show %{itemLabel} %{targetStep} of %{stepCount}',
20
- stepLabel: '(fr) %{itemLabel} %{stepNumber}',
21
- stepTrackerLabel: '(fr) %{itemLabel} %{stepNumber} of %{stepCount}',
22
- skipLink: '(fr) Skip %{title}'
17
+ // French translations
18
+ carouselLabel: '%{stepCount} éléments',
19
+ iconButtonLabel: 'Montrer %{itemLabel} %{targetStep} de %{stepCount}',
20
+ stepLabel: '%{itemLabel} %{stepNumber}',
21
+ stepTrackerLabel: '%{itemLabel} %{stepNumber} de %{stepCount}',
22
+ skipLink: 'Passer %{title}'
23
23
  }
24
24
  };
25
25
  exports.default = _default;
@@ -37,14 +37,13 @@ const selectInnerContainerStyles = _ref => {
37
37
  const selectIconTokens = _ref2 => {
38
38
  let {
39
39
  iconSize,
40
- iconColor
41
- /* iconScale = 1 */
42
-
40
+ iconColor,
41
+ iconScale = 1
43
42
  } = _ref2;
44
43
  return {
45
44
  size: iconSize,
46
- color: iconColor // scale: iconScale TODO re-enable with icon component
47
-
45
+ color: iconColor,
46
+ scale: iconScale
48
47
  };
49
48
  };
50
49
  /**
@@ -8,11 +8,11 @@ export default {
8
8
  skipLink: 'Skip %{title}'
9
9
  },
10
10
  fr: {
11
- // TODO: French translations here
12
- carouselLabel: '(fr) %{stepCount} items',
13
- iconButtonLabel: '(fr) Show %{itemLabel} %{targetStep} of %{stepCount}',
14
- stepLabel: '(fr) %{itemLabel} %{stepNumber}',
15
- stepTrackerLabel: '(fr) %{itemLabel} %{stepNumber} of %{stepCount}',
16
- skipLink: '(fr) Skip %{title}'
11
+ // French translations
12
+ carouselLabel: '%{stepCount} éléments',
13
+ iconButtonLabel: 'Montrer %{itemLabel} %{targetStep} de %{stepCount}',
14
+ stepLabel: '%{itemLabel} %{stepNumber}',
15
+ stepTrackerLabel: '%{itemLabel} %{stepNumber} de %{stepCount}',
16
+ skipLink: 'Passer %{title}'
17
17
  }
18
18
  };
@@ -21,14 +21,13 @@ const selectInnerContainerStyles = _ref => {
21
21
  const selectIconTokens = _ref2 => {
22
22
  let {
23
23
  iconSize,
24
- iconColor
25
- /* iconScale = 1 */
26
-
24
+ iconColor,
25
+ iconScale = 1
27
26
  } = _ref2;
28
27
  return {
29
28
  size: iconSize,
30
- color: iconColor // scale: iconScale TODO re-enable with icon component
31
-
29
+ color: iconColor,
30
+ scale: iconScale
32
31
  };
33
32
  };
34
33
  /**
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "@floating-ui/react-native": "^0.8.1",
12
12
  "@gorhom/portal": "^1.0.14",
13
13
  "@telus-uds/system-constants": "^1.2.0",
14
- "@telus-uds/system-theme-tokens": "^2.11.0",
14
+ "@telus-uds/system-theme-tokens": "^2.12.0",
15
15
  "airbnb-prop-types": "^2.16.0",
16
16
  "lodash.debounce": "^4.0.8",
17
17
  "lodash.merge": "^4.6.2",
@@ -72,5 +72,5 @@
72
72
  "standard-engine": {
73
73
  "skip": true
74
74
  },
75
- "version": "1.27.0"
75
+ "version": "1.29.0"
76
76
  }
@@ -8,11 +8,11 @@ export default {
8
8
  skipLink: 'Skip %{title}'
9
9
  },
10
10
  fr: {
11
- // TODO: French translations here
12
- carouselLabel: '(fr) %{stepCount} items',
13
- iconButtonLabel: '(fr) Show %{itemLabel} %{targetStep} of %{stepCount}',
14
- stepLabel: '(fr) %{itemLabel} %{stepNumber}',
15
- stepTrackerLabel: '(fr) %{itemLabel} %{stepNumber} of %{stepCount}',
16
- skipLink: '(fr) Skip %{title}'
11
+ // French translations
12
+ carouselLabel: '%{stepCount} éléments',
13
+ iconButtonLabel: 'Montrer %{itemLabel} %{targetStep} de %{stepCount}',
14
+ stepLabel: '%{itemLabel} %{stepNumber}',
15
+ stepTrackerLabel: '%{itemLabel} %{stepNumber} de %{stepCount}',
16
+ skipLink: 'Passer %{title}'
17
17
  }
18
18
  }
@@ -9,10 +9,10 @@ const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, vie
9
9
 
10
10
  const selectInnerContainerStyles = ({ borderRadius, width }) => ({ borderRadius, width })
11
11
 
12
- const selectIconTokens = ({ iconSize, iconColor /* iconScale = 1 */ }) => ({
12
+ const selectIconTokens = ({ iconSize, iconColor, iconScale = 1 }) => ({
13
13
  size: iconSize,
14
- color: iconColor
15
- // scale: iconScale TODO re-enable with icon component
14
+ color: iconColor,
15
+ scale: iconScale
16
16
  })
17
17
 
18
18
  /**