@telus-uds/components-web 2.3.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 +22 -2
- package/component-docs.json +64 -3
- package/lib/ExpandCollapseMini/ExpandCollapseMini.js +1 -0
- package/lib/baseExports.js +6 -0
- package/lib-module/ExpandCollapseMini/ExpandCollapseMini.js +1 -0
- package/lib-module/baseExports.js +1 -1
- package/package.json +3 -3
- package/src/ExpandCollapseMini/ExpandCollapseMini.jsx +1 -0
- package/src/baseExports.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-web
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
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
|
+
|
|
17
|
+
## 2.4.0
|
|
18
|
+
|
|
19
|
+
Tue, 30 May 2023 02:46:46 GMT
|
|
20
|
+
|
|
21
|
+
### Minor changes
|
|
22
|
+
|
|
23
|
+
- fix: list overflowing (samuraix221@hotmail.com)
|
|
24
|
+
- Button outer width is no longer set to 0 if token width = 0 (wlsdud194@hotmail.com)
|
|
25
|
+
- Bump @telus-uds/components-base to v1.46.0
|
|
26
|
+
|
|
7
27
|
## 2.3.0
|
|
8
28
|
|
|
9
|
-
Sat, 27 May 2023 00:
|
|
29
|
+
Sat, 27 May 2023 00:44:50 GMT
|
|
10
30
|
|
|
11
31
|
### Minor changes
|
|
12
32
|
|
package/component-docs.json
CHANGED
|
@@ -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
|
-
"
|
|
6908
|
+
"expandDividerWidth": "size"
|
|
6897
6909
|
}
|
|
6898
6910
|
},
|
|
6899
6911
|
"required": false,
|
|
@@ -13500,6 +13512,55 @@
|
|
|
13500
13512
|
}
|
|
13501
13513
|
}
|
|
13502
13514
|
},
|
|
13515
|
+
"Validator": {
|
|
13516
|
+
"docs": {
|
|
13517
|
+
"description": "",
|
|
13518
|
+
"props": {
|
|
13519
|
+
"value": {
|
|
13520
|
+
"defaultValue": {
|
|
13521
|
+
"value": "''",
|
|
13522
|
+
"computed": false
|
|
13523
|
+
},
|
|
13524
|
+
"type": {
|
|
13525
|
+
"name": "string"
|
|
13526
|
+
},
|
|
13527
|
+
"required": false,
|
|
13528
|
+
"description": "The value is a 6-digit code, may be only numeric characters, non numeric character aren't renderize"
|
|
13529
|
+
},
|
|
13530
|
+
"tokens": {
|
|
13531
|
+
"defaultValue": {
|
|
13532
|
+
"value": "{}",
|
|
13533
|
+
"computed": false
|
|
13534
|
+
},
|
|
13535
|
+
"required": false
|
|
13536
|
+
},
|
|
13537
|
+
"variant": {
|
|
13538
|
+
"defaultValue": {
|
|
13539
|
+
"value": "{}",
|
|
13540
|
+
"computed": false
|
|
13541
|
+
},
|
|
13542
|
+
"required": false
|
|
13543
|
+
},
|
|
13544
|
+
"inactive": {
|
|
13545
|
+
"type": {
|
|
13546
|
+
"name": "bool"
|
|
13547
|
+
},
|
|
13548
|
+
"required": false,
|
|
13549
|
+
"description": "If true, the component is inactive and non editable."
|
|
13550
|
+
},
|
|
13551
|
+
"onChange": {
|
|
13552
|
+
"type": {
|
|
13553
|
+
"name": "func"
|
|
13554
|
+
},
|
|
13555
|
+
"required": false,
|
|
13556
|
+
"description": "Use to react upon input's value changes. Required when the `value` prop is set. Will receive the input's value as an argument."
|
|
13557
|
+
}
|
|
13558
|
+
},
|
|
13559
|
+
"attributes": {
|
|
13560
|
+
"acceptsRNA11yProps": false
|
|
13561
|
+
}
|
|
13562
|
+
}
|
|
13563
|
+
},
|
|
13503
13564
|
"ViewportProvider": {
|
|
13504
13565
|
"docs": {
|
|
13505
13566
|
"description": "Provides an up-to-date viewport value from system-constants, available via the `useViewport` hook",
|
|
@@ -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
|
package/lib/baseExports.js
CHANGED
|
@@ -321,6 +321,12 @@ Object.defineProperty(exports, "Typography", {
|
|
|
321
321
|
return _componentsBase.Typography;
|
|
322
322
|
}
|
|
323
323
|
});
|
|
324
|
+
Object.defineProperty(exports, "Validator", {
|
|
325
|
+
enumerable: true,
|
|
326
|
+
get: function () {
|
|
327
|
+
return _componentsBase.Validator;
|
|
328
|
+
}
|
|
329
|
+
});
|
|
324
330
|
Object.defineProperty(exports, "ViewportProvider", {
|
|
325
331
|
enumerable: true,
|
|
326
332
|
get: function () {
|
|
@@ -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
|
|
@@ -5,7 +5,7 @@ export {
|
|
|
5
5
|
/**
|
|
6
6
|
* Most base components should be re-exported as-is.
|
|
7
7
|
*/
|
|
8
|
-
A11yText, ActivityIndicator, Box, Button, BaseProvider, A11yInfoProvider, ViewportProvider, ThemeProvider, ButtonDropdown, ButtonGroup, ButtonLink, Carousel, CarouselTabs, Checkbox, CheckboxGroup, ChevronLink, Divider, ExpandCollapse, Feedback, FlexGrid, Icon, InputLabel, InputSupports, Link, MultiSelectFilter, Notification, Pagination, QuickLinks, QuickLinksFeature, Radio, RadioGroup, RadioCard, RadioCardGroup, Responsive, Search, Select, SideNav, Skeleton, SkipLink, Spacer, StackView, StackWrap, StepTracker, Tabs, Tags, TextButton, TextArea, TextInput, Timeline, ToggleSwitch, ToggleSwitchGroup, TooltipButton, Tooltip, Typography,
|
|
8
|
+
A11yText, ActivityIndicator, Box, Button, BaseProvider, A11yInfoProvider, ViewportProvider, ThemeProvider, ButtonDropdown, ButtonGroup, ButtonLink, Carousel, CarouselTabs, Checkbox, CheckboxGroup, ChevronLink, Divider, ExpandCollapse, Feedback, FlexGrid, Icon, InputLabel, InputSupports, Link, MultiSelectFilter, Notification, Pagination, QuickLinks, QuickLinksFeature, Radio, RadioGroup, RadioCard, RadioCardGroup, Responsive, Search, Select, SideNav, Skeleton, SkipLink, Spacer, StackView, StackWrap, StepTracker, Tabs, Tags, TextButton, TextArea, TextInput, Timeline, ToggleSwitch, ToggleSwitchGroup, TooltipButton, Tooltip, Typography, Validator,
|
|
9
9
|
/*
|
|
10
10
|
* Most utilities exported from @telus-uds/components-base are for building systems, not apps.
|
|
11
11
|
* Re-export only those utilities with a stable API and known use cases within apps / pages.
|
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.
|
|
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.
|
|
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.
|
|
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
|
package/src/baseExports.js
CHANGED
|
@@ -59,6 +59,7 @@ export {
|
|
|
59
59
|
TooltipButton,
|
|
60
60
|
Tooltip,
|
|
61
61
|
Typography,
|
|
62
|
+
Validator,
|
|
62
63
|
/*
|
|
63
64
|
* Most utilities exported from @telus-uds/components-base are for building systems, not apps.
|
|
64
65
|
* Re-export only those utilities with a stable API and known use cases within apps / pages.
|