@telus-uds/components-web 2.4.0 → 2.5.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,22 @@
1
1
  # Change Log - @telus-uds/components-web
2
2
 
3
- This log was last generated on Tue, 30 May 2023 02:42:51 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 02 Jun 2023 00:27:36 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.5.0
8
+
9
+ Fri, 02 Jun 2023 00:27:36 GMT
10
+
11
+ ### Minor changes
12
+
13
+ - expand collapse mini standardization (akshay.pandey1@telus.com)
14
+ - Bump @telus-uds/components-base to v1.47.0
15
+ - Bump @telus-uds/system-theme-tokens to v2.29.0
16
+
7
17
  ## 2.4.0
8
18
 
9
- Tue, 30 May 2023 02:42:51 GMT
19
+ Tue, 30 May 2023 02:46:46 GMT
10
20
 
11
21
  ### Minor changes
12
22
 
@@ -4262,7 +4262,13 @@
4262
4262
  "name": "custom",
4263
4263
  "raw": {
4264
4264
  "backgroundColor": "color",
4265
- "gradient": "gradient"
4265
+ "gradient": "gradient",
4266
+ "borderWidth": "border",
4267
+ "borderColor": "color",
4268
+ "borderTopLeftRadius": "radius",
4269
+ "borderTopRightRadius": "radius",
4270
+ "borderBottomLeftRadius": "radius",
4271
+ "borderBottomRightRadius": "radius"
4266
4272
  }
4267
4273
  },
4268
4274
  "required": false,
@@ -6637,7 +6643,6 @@
6637
6643
  "name": "custom",
6638
6644
  "raw": {
6639
6645
  "fontSize": "fontSize",
6640
- "textLineHeight": "lineHeight",
6641
6646
  "color": "color",
6642
6647
  "outerBorderColor": "color",
6643
6648
  "leftIcon": "icon",
@@ -6857,6 +6862,13 @@
6857
6862
  "required": false,
6858
6863
  "description": "Array of the ids of currently open groups"
6859
6864
  },
6865
+ "isMiniExpandCollapse": {
6866
+ "defaultValue": {
6867
+ "value": "false",
6868
+ "computed": false
6869
+ },
6870
+ "required": false
6871
+ },
6860
6872
  "variant": {
6861
6873
  "type": {
6862
6874
  "name": "objectOf",
@@ -6893,7 +6905,7 @@
6893
6905
  "borderRadius": "radius",
6894
6906
  "borderWidth": "border",
6895
6907
  "expandDividerColor": "color",
6896
- "expanddDividerWidth": "size"
6908
+ "expandDividerWidth": "size"
6897
6909
  }
6898
6910
  },
6899
6911
  "required": false,
@@ -49,6 +49,7 @@ const ExpandCollapseMini = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
49
49
  onChange: handleChange,
50
50
  children: expandProps => /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.ExpandCollapse.Panel, { ...expandProps,
51
51
  panelId: "ExpandCollapseMiniPanel",
52
+ isMiniExpandCollapse: true,
52
53
  controlTokens: {
53
54
  icon: null
54
55
  } // TODO refactor
@@ -31,6 +31,7 @@ const ExpandCollapseMini = /*#__PURE__*/forwardRef((_ref, ref) => {
31
31
  onChange: handleChange,
32
32
  children: expandProps => /*#__PURE__*/_jsx(ExpandCollapse.Panel, { ...expandProps,
33
33
  panelId: "ExpandCollapseMiniPanel",
34
+ isMiniExpandCollapse: true,
34
35
  controlTokens: {
35
36
  icon: null
36
37
  } // TODO refactor
package/package.json CHANGED
@@ -5,14 +5,14 @@
5
5
  ],
6
6
  "dependencies": {
7
7
  "@gorhom/portal": "^1.0.14",
8
- "@telus-uds/components-base": "1.46.0",
8
+ "@telus-uds/components-base": "1.47.0",
9
9
  "@telus-uds/system-constants": "^1.2.1",
10
10
  "fscreen": "^1.2.0",
11
11
  "lodash.omit": "^4.5.0",
12
12
  "react-dates": "^21.8.0",
13
13
  "react-helmet-async": "^1.3.0",
14
14
  "react-moment-proptypes": "^1.8.1",
15
- "@telus-uds/system-theme-tokens": "^2.28.0",
15
+ "@telus-uds/system-theme-tokens": "^2.29.0",
16
16
  "prop-types": "^15.7.2",
17
17
  "lodash.throttle": "^4.1.1",
18
18
  "react-youtube": "^10.1.0"
@@ -62,5 +62,5 @@
62
62
  "skip": true
63
63
  },
64
64
  "types": "types/index.d.ts",
65
- "version": "2.4.0"
65
+ "version": "2.5.0"
66
66
  }
@@ -20,6 +20,7 @@ const ExpandCollapseMini = forwardRef(({ children, onToggle, tokens, ...rest },
20
20
  <ExpandCollapse.Panel
21
21
  {...expandProps}
22
22
  panelId="ExpandCollapseMiniPanel"
23
+ isMiniExpandCollapse={true}
23
24
  controlTokens={{ icon: null }}
24
25
  // TODO refactor
25
26
  // eslint-disable-next-line react/no-unstable-nested-components