@telus-uds/components-base 1.83.0 → 1.84.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 +20 -2
- package/lib/Button/ButtonGroup.js +9 -0
- package/lib/Carousel/Carousel.js +314 -145
- package/lib/ExpandCollapse/ExpandCollapse.js +18 -9
- package/lib/ExpandCollapse/Panel.js +12 -0
- package/lib/ExpandCollapse/dictionary.js +17 -0
- package/lib/Icon/IconText.js +3 -3
- package/lib/Modal/WebModal.js +5 -3
- package/lib-module/Button/ButtonGroup.js +9 -0
- package/lib-module/Carousel/Carousel.js +312 -145
- package/lib-module/ExpandCollapse/ExpandCollapse.js +18 -9
- package/lib-module/ExpandCollapse/Panel.js +13 -1
- package/lib-module/ExpandCollapse/dictionary.js +10 -0
- package/lib-module/Icon/IconText.js +3 -3
- package/lib-module/Modal/WebModal.js +5 -3
- package/package.json +2 -2
- package/src/Button/ButtonGroup.jsx +9 -0
- package/src/Carousel/Carousel.jsx +338 -133
- package/src/ExpandCollapse/ExpandCollapse.jsx +13 -5
- package/src/ExpandCollapse/Panel.jsx +27 -5
- package/src/ExpandCollapse/dictionary.js +10 -0
- package/src/Icon/IconText.jsx +5 -3
- package/src/Modal/WebModal.jsx +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Mon, 06 May 2024 16:33:57 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.84.0
|
|
8
|
+
|
|
9
|
+
Mon, 06 May 2024 16:33:57 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- `Carousel`: add `autoPlay` mode (shahzaibkhalidmalik@outlook.com)
|
|
14
|
+
- Accesibility issues fixed in ExpandCollapse component, now the Panels and the SubPanels can be focused and have accesibility labels for screenreaders (35577399+JoshHC@users.noreply.github.com)
|
|
15
|
+
- fix: added missing variant prop change to buttongoup (jovimdl@gmail.com)
|
|
16
|
+
- Bump @telus-uds/system-theme-tokens to v2.55.0
|
|
17
|
+
|
|
18
|
+
### Patches
|
|
19
|
+
|
|
20
|
+
- ExpandCollapseMini: fixed the ability to center the component (35577399+JoshHC@users.noreply.github.com)
|
|
21
|
+
- Button: Fix misaligned icon in Android (35577399+JoshHC@users.noreply.github.com)
|
|
22
|
+
- `Modal`: fix accessibility role and z-index property (guillermo.peitzner@telus.com)
|
|
23
|
+
- `WebModal:` fix style prop (guillermo.peitzner@telus.com)
|
|
24
|
+
|
|
7
25
|
## 1.83.0
|
|
8
26
|
|
|
9
|
-
Wed, 24 Apr 2024 16:
|
|
27
|
+
Wed, 24 Apr 2024 16:35:16 GMT
|
|
10
28
|
|
|
11
29
|
### Minor changes
|
|
12
30
|
|
|
@@ -24,6 +24,7 @@ const [selectItemProps, selectedItemPropTypes] = (0, _utils.selectSystemProps)([
|
|
|
24
24
|
const ButtonGroup = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
25
25
|
let {
|
|
26
26
|
variant,
|
|
27
|
+
buttonVariant,
|
|
27
28
|
tokens,
|
|
28
29
|
items = [],
|
|
29
30
|
values,
|
|
@@ -136,6 +137,7 @@ const ButtonGroup = /*#__PURE__*/(0, _react.forwardRef)((_ref, ref) => {
|
|
|
136
137
|
// "radio" if it's a direct child of "radiogroup", even if aria-posinset etc exists
|
|
137
138
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonBase.default, {
|
|
138
139
|
ref: itemRef,
|
|
140
|
+
variant: buttonVariant,
|
|
139
141
|
...pressHandlers,
|
|
140
142
|
onPress: handlePress,
|
|
141
143
|
tokens: getButtonTokens,
|
|
@@ -157,6 +159,13 @@ ButtonGroup.displayName = 'ButtonGroup';
|
|
|
157
159
|
ButtonGroup.propTypes = {
|
|
158
160
|
...selectedSystemPropTypes,
|
|
159
161
|
tokens: (0, _utils.getTokensPropType)('ButtonGroup'),
|
|
162
|
+
/**
|
|
163
|
+
* To allow Button specific variant
|
|
164
|
+
*/
|
|
165
|
+
buttonVariant: _utils.variantProp.propType,
|
|
166
|
+
/**
|
|
167
|
+
* Default variant prop
|
|
168
|
+
*/
|
|
160
169
|
variant: _utils.variantProp.propType,
|
|
161
170
|
/**
|
|
162
171
|
* The maximum number of items a user may select at once. Defaults to 1 and behaves
|