@telus-uds/components-web 5.0.0-alpha.0 → 5.0.0-alpha.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,59 @@
1
1
  # Change Log - @telus-uds/components-web
2
2
 
3
- This log was last generated on Fri, 20 Mar 2026 02:26:39 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 17 Apr 2026 23:54:32 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 5.0.0-alpha.2
8
+
9
+ Fri, 17 Apr 2026 23:54:32 GMT
10
+
11
+ ### Patches
12
+
13
+ - `DatePicker`: Remove z-index from inline variant (david.melara1@telus.com)
14
+ - Bump @telus-uds/components-base to v4.0.0-alpha.2
15
+ - Bump @telus-uds/system-theme-tokens to v5.0.0-alpha.2
16
+
17
+ ## 4.19.3
18
+
19
+ Thu, 16 Apr 2026 21:04:33 GMT
20
+
21
+ ### Patches
22
+
23
+ - `DatePicker`: Remove z-index from inline variant (david.melara1@telus.com)
24
+ - Bump @telus-uds/components-base to v3.30.0
25
+ - Bump @telus-uds/system-theme-tokens to v4.21.0
26
+
27
+ ## 5.0.0-alpha.1
28
+
29
+ Fri, 10 Apr 2026 17:20:03 GMT
30
+
31
+ ### Major changes
32
+
33
+ - `Link`: deprecate alternative and inverse variants (guillermo.peitzner@telus.com)
34
+ - `Card`: remove background variant and set style as default (sergio.ramirez@telus.com)
35
+ - `CarouselTabs`: remove component from baseExports file (guillermo.peitzner@telus.com)
36
+ - Bump @telus-uds/components-base to v4.0.0-alpha.1
37
+ - Bump @telus-uds/system-theme-tokens to v5.0.0-alpha.1
38
+
39
+ ### Patches
40
+
41
+ - `Card`: padding affected when interactive prop change fixed (josue.higueroscalderon@telus.com)
42
+ - `TextInput`: Include hint and feedback in the describedBy prop (david.melara1@telus.com)
43
+
44
+ ## 4.19.2
45
+
46
+ Mon, 06 Apr 2026 21:25:56 GMT
47
+
48
+ ### Patches
49
+
50
+ - `Card`: padding affected when interactive prop change fixed (josue.higueroscalderon@telus.com)
51
+ - `TextInput`: Include hint and feedback in the describedBy prop (david.melara1@telus.com)
52
+ - Bump @telus-uds/components-base to v3.29.1
53
+
7
54
  ## 5.0.0-alpha.0
8
55
 
9
- Fri, 20 Mar 2026 02:26:39 GMT
56
+ Fri, 20 Mar 2026 00:57:29 GMT
10
57
 
11
58
  ### Major changes
12
59
 
@@ -15,10 +62,6 @@ Fri, 20 Mar 2026 02:26:39 GMT
15
62
  - Bump @telus-uds/system-constants to v4.0.0-alpha.0
16
63
  - Bump @telus-uds/system-theme-tokens to v5.0.0-alpha.0
17
64
 
18
- ### Patches
19
-
20
- - `Card`: padding affected when interactive prop change fixed (josue.higueroscalderon@telus.com)
21
-
22
65
  ## 4.19.1
23
66
 
24
67
  Fri, 13 Mar 2026 20:33:41 GMT
@@ -163,7 +163,7 @@ const BlockQuote = exports.BlockQuote = /*#__PURE__*/_react.default.forwardRef((
163
163
  color
164
164
  },
165
165
  variant: {
166
- alternative: true
166
+ style: 'subtle'
167
167
  },
168
168
  LinkRouter: LinkRouter,
169
169
  linkRouterProps: linkRouterProps,
@@ -230,7 +230,7 @@ BlockQuote.propTypes = {
230
230
  ..._componentsBase.withLinkRouter.propTypes,
231
231
  tokens: (0, _componentsBase.getTokensPropType)('BlockQuote'),
232
232
  variant: _propTypes.default.exact({
233
- alternative: _propTypes.default.bool,
233
+ style: _propTypes.default.oneOf(['inline', 'subtle', 'feature', 'danger', 'inverse']),
234
234
  size: _propTypes.default.string
235
235
  }),
236
236
  /**
@@ -81,7 +81,7 @@ const getCardContentTokens = function (baseTokens) {
81
81
  * ### With Footer
82
82
  *
83
83
  * Pass any component or simply a string in the `footer` prop in order to render
84
- * a card with a footer (which uses the `alternative` background).
84
+ * a card with a footer (which uses the `feature2` style).
85
85
  *
86
86
  * ### With Full Bleed Content
87
87
  *
@@ -52,7 +52,7 @@ const CardFooter = _ref2 => {
52
52
  const viewport = (0, _componentsBase.useViewport)();
53
53
  const themeTokens = (0, _componentsBase.useThemeTokens)('Card', tokens, {
54
54
  ...variant,
55
- background: 'alternative'
55
+ style: 'feature2'
56
56
  }, {
57
57
  viewport
58
58
  });
@@ -21,12 +21,13 @@ const CalendarContainer = exports.CalendarContainer = /*#__PURE__*/_styledCompon
21
21
  $calendarDayDefaultHeight,
22
22
  $calendarDayDefaultWidth,
23
23
  $calendarWeekFontTokens,
24
- $defaultFontTokens
24
+ $defaultFontTokens,
25
+ $isInline = false
25
26
  } = _ref;
26
27
  return `
27
28
  ${_reactDatesCss.defaultReactDatesCss}
28
29
  > div {
29
- z-index: 1000;
30
+ z-index: ${$isInline ? 'auto' : 1000};
30
31
  }
31
32
  .SingleDatePicker,
32
33
  .SingleDatePickerInput {
@@ -38,7 +39,7 @@ const CalendarContainer = exports.CalendarContainer = /*#__PURE__*/_styledCompon
38
39
  border: 1px solid ${$remainingTokens.singleDatePickerBorderColor};
39
40
  border-radius: ${$remainingTokens.singleDatePickerRadius}px;
40
41
  padding: ${$remainingTokens.singleDatePickerPaddingTopBottom}px ${$remainingTokens.singleDatePickerLeftRight}px;
41
- z-index: 1000;
42
+ z-index: ${$isInline ? 'auto' : 1000};
42
43
  }
43
44
  .DateInput {
44
45
  width: 100%;
@@ -339,6 +339,7 @@ const DatePicker = exports.DatePicker = /*#__PURE__*/_react.default.forwardRef((
339
339
  $calendarMonthFontTokens: calendarMonthFontTokens,
340
340
  $calendarWeekFontTokens: calendarWeekFontTokens,
341
341
  $defaultFontTokens: defaultFontTokens,
342
+ $isInline: inline,
342
343
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactDates.DayPickerSingleDateController, {
343
344
  date: inputDate,
344
345
  onDateChange: onChange,
@@ -81,7 +81,7 @@ const Toast = exports.Toast = /*#__PURE__*/_react.default.forwardRef((_ref5, ref
81
81
  const {
82
82
  color: chevronInverseColor
83
83
  } = (0, _componentsBase.useThemeTokens)('ChevronLink', {}, {
84
- inverse: true
84
+ style: 'inverse'
85
85
  });
86
86
  if (!toast) {
87
87
  return null;
@@ -123,7 +123,7 @@ const Toast = exports.Toast = /*#__PURE__*/_react.default.forwardRef((_ref5, ref
123
123
  direction: "row"
124
124
  }), link && /*#__PURE__*/(0, _jsxRuntime.jsx)(_componentsBase.ChevronLink, {
125
125
  variant: {
126
- inverse: true
126
+ style: 'inverse'
127
127
  },
128
128
  tokens: {
129
129
  blockFontWeight: chevronlinkFontWeight
@@ -93,12 +93,6 @@ Object.defineProperty(exports, "CarouselProvider", {
93
93
  return _componentsBase.CarouselProvider;
94
94
  }
95
95
  });
96
- Object.defineProperty(exports, "CarouselTabs", {
97
- enumerable: true,
98
- get: function () {
99
- return _componentsBase.CarouselTabs;
100
- }
101
- });
102
96
  Object.defineProperty(exports, "Checkbox", {
103
97
  enumerable: true,
104
98
  get: function () {
@@ -321,6 +315,18 @@ Object.defineProperty(exports, "Responsive", {
321
315
  return _componentsBase.Responsive;
322
316
  }
323
317
  });
318
+ Object.defineProperty(exports, "Scroll", {
319
+ enumerable: true,
320
+ get: function () {
321
+ return _componentsBase.Scroll;
322
+ }
323
+ });
324
+ Object.defineProperty(exports, "ScrollItem", {
325
+ enumerable: true,
326
+ get: function () {
327
+ return _componentsBase.ScrollItem;
328
+ }
329
+ });
324
330
  Object.defineProperty(exports, "Search", {
325
331
  enumerable: true,
326
332
  get: function () {
@@ -156,7 +156,7 @@ export const BlockQuote = /*#__PURE__*/React.forwardRef((_ref8, ref) => {
156
156
  color
157
157
  },
158
158
  variant: {
159
- alternative: true
159
+ style: 'subtle'
160
160
  },
161
161
  LinkRouter: LinkRouter,
162
162
  linkRouterProps: linkRouterProps,
@@ -223,7 +223,7 @@ BlockQuote.propTypes = {
223
223
  ...withLinkRouter.propTypes,
224
224
  tokens: getTokensPropType('BlockQuote'),
225
225
  variant: PropTypes.exact({
226
- alternative: PropTypes.bool,
226
+ style: PropTypes.oneOf(['inline', 'subtle', 'feature', 'danger', 'inverse']),
227
227
  size: PropTypes.string
228
228
  }),
229
229
  /**
@@ -75,7 +75,7 @@ const getCardContentTokens = function (baseTokens) {
75
75
  * ### With Footer
76
76
  *
77
77
  * Pass any component or simply a string in the `footer` prop in order to render
78
- * a card with a footer (which uses the `alternative` background).
78
+ * a card with a footer (which uses the `feature2` style).
79
79
  *
80
80
  * ### With Full Bleed Content
81
81
  *
@@ -45,7 +45,7 @@ export const CardFooter = _ref2 => {
45
45
  const viewport = useViewport();
46
46
  const themeTokens = useThemeTokens('Card', tokens, {
47
47
  ...variant,
48
- background: 'alternative'
48
+ style: 'feature2'
49
49
  }, {
50
50
  viewport
51
51
  });
@@ -15,12 +15,13 @@ export const CalendarContainer = /*#__PURE__*/styled.div.withConfig({
15
15
  $calendarDayDefaultHeight,
16
16
  $calendarDayDefaultWidth,
17
17
  $calendarWeekFontTokens,
18
- $defaultFontTokens
18
+ $defaultFontTokens,
19
+ $isInline = false
19
20
  } = _ref;
20
21
  return `
21
22
  ${defaultReactDatesCss}
22
23
  > div {
23
- z-index: 1000;
24
+ z-index: ${$isInline ? 'auto' : 1000};
24
25
  }
25
26
  .SingleDatePicker,
26
27
  .SingleDatePickerInput {
@@ -32,7 +33,7 @@ export const CalendarContainer = /*#__PURE__*/styled.div.withConfig({
32
33
  border: 1px solid ${$remainingTokens.singleDatePickerBorderColor};
33
34
  border-radius: ${$remainingTokens.singleDatePickerRadius}px;
34
35
  padding: ${$remainingTokens.singleDatePickerPaddingTopBottom}px ${$remainingTokens.singleDatePickerLeftRight}px;
35
- z-index: 1000;
36
+ z-index: ${$isInline ? 'auto' : 1000};
36
37
  }
37
38
  .DateInput {
38
39
  width: 100%;
@@ -332,6 +332,7 @@ export const DatePicker = /*#__PURE__*/React.forwardRef((_ref3, ref) => {
332
332
  $calendarMonthFontTokens: calendarMonthFontTokens,
333
333
  $calendarWeekFontTokens: calendarWeekFontTokens,
334
334
  $defaultFontTokens: defaultFontTokens,
335
+ $isInline: inline,
335
336
  children: /*#__PURE__*/_jsx(DayPickerSingleDateController, {
336
337
  date: inputDate,
337
338
  onDateChange: onChange,
@@ -73,7 +73,7 @@ export const Toast = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
73
73
  const {
74
74
  color: chevronInverseColor
75
75
  } = useThemeTokens('ChevronLink', {}, {
76
- inverse: true
76
+ style: 'inverse'
77
77
  });
78
78
  if (!toast) {
79
79
  return null;
@@ -115,7 +115,7 @@ export const Toast = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
115
115
  direction: "row"
116
116
  }), link && /*#__PURE__*/_jsx(ChevronLink, {
117
117
  variant: {
118
- inverse: true
118
+ style: 'inverse'
119
119
  },
120
120
  tokens: {
121
121
  blockFontWeight: chevronlinkFontWeight
@@ -5,7 +5,7 @@ export {
5
5
  /**
6
6
  * Most base components should be re-exported as-is.
7
7
  */
8
- A11yInfoProvider, A11yText, ActionCard, ActivityIndicator, Autocomplete, BaseProvider, Box, Button, ButtonLink, ButtonGroup, ButtonDropdown, CardGroup, Carousel, CarouselItem, CarouselTabs, CarouselProvider, ViewportProvider, ThemeProvider, Checkbox, CheckboxGroup, ColourToggle, Divider, DownloadApp, ExpandCollapse, ExpandCollapseAccordion, ExpandCollapsePanel, ExpandCollapseMini, Feedback, FileUpload, FlexGrid, FlexGridCol, FlexGridRow, Icon, InputLabel, InputSupports, ChevronLink, Link, TextButton, Listbox, ListboxOverlay, Modal, MultiSelectFilter, Notification, Pagination, PaginationPageButton, PaginationPageButtonBase, Portal, QuickLinks, QuickLinksItem, QuickLinksFeature, QuickLinksFeatureItem, Radio, RadioGroup, RadioCard, RadioCardGroup, Responsive, Search, Select, SelectItem, SelectGroup, Shortcuts, ShortcutsItem, SideNav, SideNavItem, SideNavItemsGroup, Skeleton, SkipLink, Spacer, StackView, StackWrap, Status, StepTracker, TabBar, TabBarItem, Tabs, Tags, TextArea, TextInput, Timeline, ToggleSwitch, ToggleSwitchGroup, TooltipButton, Tooltip, Typography, Validator,
8
+ A11yInfoProvider, A11yText, ActionCard, ActivityIndicator, Autocomplete, BaseProvider, Box, Button, ButtonLink, ButtonGroup, ButtonDropdown, CardGroup, Carousel, CarouselItem, CarouselProvider, ViewportProvider, ThemeProvider, Checkbox, CheckboxGroup, ColourToggle, Divider, DownloadApp, ExpandCollapse, ExpandCollapseAccordion, ExpandCollapsePanel, ExpandCollapseMini, Feedback, FileUpload, FlexGrid, FlexGridCol, FlexGridRow, Icon, InputLabel, InputSupports, ChevronLink, Link, TextButton, Listbox, ListboxOverlay, Modal, MultiSelectFilter, Notification, Pagination, PaginationPageButton, PaginationPageButtonBase, Portal, QuickLinks, QuickLinksItem, QuickLinksFeature, QuickLinksFeatureItem, Radio, RadioGroup, RadioCard, RadioCardGroup, Responsive, Scroll, ScrollItem, Search, Select, SelectItem, SelectGroup, Shortcuts, ShortcutsItem, SideNav, SideNavItem, SideNavItemsGroup, Skeleton, SkipLink, Spacer, StackView, StackWrap, Status, StepTracker, TabBar, TabBarItem, Tabs, Tags, 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,9 +5,9 @@
5
5
  ],
6
6
  "dependencies": {
7
7
  "@gorhom/portal": "^1.0.14",
8
- "@telus-uds/components-base": "^4.0.0-alpha.0",
8
+ "@telus-uds/components-base": "^4.0.0-alpha.2",
9
9
  "@telus-uds/system-constants": "^4.0.0-alpha.0",
10
- "@telus-uds/system-theme-tokens": "^5.0.0-alpha.0",
10
+ "@telus-uds/system-theme-tokens": "^5.0.0-alpha.2",
11
11
  "fscreen": "^1.2.0",
12
12
  "lodash.omit": "^4.5.0",
13
13
  "lodash.throttle": "^4.1.1",
@@ -73,5 +73,5 @@
73
73
  "skip": true
74
74
  },
75
75
  "types": "types/index.d.ts",
76
- "version": "5.0.0-alpha.0"
76
+ "version": "5.0.0-alpha.2"
77
77
  }
@@ -165,7 +165,7 @@ export const BlockQuote = React.forwardRef(
165
165
  blockLineHeight: linkLineHeight,
166
166
  color
167
167
  }}
168
- variant={{ alternative: true }}
168
+ variant={{ style: 'subtle' }}
169
169
  LinkRouter={LinkRouter}
170
170
  linkRouterProps={linkRouterProps}
171
171
  >
@@ -241,7 +241,7 @@ BlockQuote.propTypes = {
241
241
  ...withLinkRouter.propTypes,
242
242
  tokens: getTokensPropType('BlockQuote'),
243
243
  variant: PropTypes.exact({
244
- alternative: PropTypes.bool,
244
+ style: PropTypes.oneOf(['inline', 'subtle', 'feature', 'danger', 'inverse']),
245
245
  size: PropTypes.string
246
246
  }),
247
247
  /**
package/src/Card/Card.jsx CHANGED
@@ -88,7 +88,7 @@ const getCardContentTokens = (baseTokens, options = {}) => {
88
88
  * ### With Footer
89
89
  *
90
90
  * Pass any component or simply a string in the `footer` prop in order to render
91
- * a card with a footer (which uses the `alternative` background).
91
+ * a card with a footer (which uses the `feature2` style).
92
92
  *
93
93
  * ### With Full Bleed Content
94
94
  *
@@ -43,7 +43,7 @@ export const CardFooter = ({ children, padding, tokens, variant, ...rest }) => {
43
43
  const themeTokens = useThemeTokens(
44
44
  'Card',
45
45
  tokens,
46
- { ...variant, background: 'alternative' },
46
+ { ...variant, style: 'feature2' },
47
47
  { viewport }
48
48
  )
49
49
  const { paddingBottom, paddingLeft, paddingRight, paddingTop } = padding || themeTokens
@@ -12,11 +12,12 @@ export const CalendarContainer = styled.div(
12
12
  $calendarDayDefaultHeight,
13
13
  $calendarDayDefaultWidth,
14
14
  $calendarWeekFontTokens,
15
- $defaultFontTokens
15
+ $defaultFontTokens,
16
+ $isInline = false
16
17
  }) => `
17
18
  ${defaultReactDatesCss}
18
19
  > div {
19
- z-index: 1000;
20
+ z-index: ${$isInline ? 'auto' : 1000};
20
21
  }
21
22
  .SingleDatePicker,
22
23
  .SingleDatePickerInput {
@@ -30,7 +31,7 @@ export const CalendarContainer = styled.div(
30
31
  padding: ${$remainingTokens.singleDatePickerPaddingTopBottom}px ${
31
32
  $remainingTokens.singleDatePickerLeftRight
32
33
  }px;
33
- z-index: 1000;
34
+ z-index: ${$isInline ? 'auto' : 1000};
34
35
  }
35
36
  .DateInput {
36
37
  width: 100%;
@@ -329,6 +329,7 @@ export const DatePicker = React.forwardRef(
329
329
  $calendarMonthFontTokens={calendarMonthFontTokens}
330
330
  $calendarWeekFontTokens={calendarWeekFontTokens}
331
331
  $defaultFontTokens={defaultFontTokens}
332
+ $isInline={inline}
332
333
  >
333
334
  <DayPickerSingleDateController
334
335
  date={inputDate}
@@ -117,7 +117,7 @@ export const Toast = React.forwardRef(
117
117
 
118
118
  // inherit ChevronLink tokens for animation colors
119
119
  const { color: chevronDefaultColor } = useThemeTokens('ChevronLink', {}, {})
120
- const { color: chevronInverseColor } = useThemeTokens('ChevronLink', {}, { inverse: true })
120
+ const { color: chevronInverseColor } = useThemeTokens('ChevronLink', {}, { style: 'inverse' })
121
121
 
122
122
  if (!toast) {
123
123
  return null
@@ -150,7 +150,7 @@ export const Toast = React.forwardRef(
150
150
  {link && (
151
151
  <ChevronLink
152
152
  variant={{
153
- inverse: true
153
+ style: 'inverse'
154
154
  }}
155
155
  tokens={{ blockFontWeight: chevronlinkFontWeight }}
156
156
  href={link.href}
@@ -19,7 +19,6 @@ export {
19
19
  CardGroup,
20
20
  Carousel,
21
21
  CarouselItem,
22
- CarouselTabs,
23
22
  CarouselProvider,
24
23
  ViewportProvider,
25
24
  ThemeProvider,
@@ -61,6 +60,8 @@ export {
61
60
  RadioCard,
62
61
  RadioCardGroup,
63
62
  Responsive,
63
+ Scroll,
64
+ ScrollItem,
64
65
  Search,
65
66
  Select,
66
67
  SelectItem,