@telus-uds/components-base 1.79.0 → 1.80.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,20 @@
|
|
|
1
1
|
# Change Log - @telus-uds/components-base
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 12 Mar 2024 22:22:38 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 1.80.0
|
|
8
|
+
|
|
9
|
+
Tue, 12 Mar 2024 22:22:38 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- New variants added to Footnote.Link component (josue.higueros@telus.com)
|
|
14
|
+
|
|
7
15
|
## 1.79.0
|
|
8
16
|
|
|
9
|
-
Wed, 06 Mar 2024 00:
|
|
17
|
+
Wed, 06 Mar 2024 00:09:16 GMT
|
|
10
18
|
|
|
11
19
|
### Minor changes
|
|
12
20
|
|
|
@@ -83,6 +83,7 @@ const copyShape = _propTypes.default.shape({
|
|
|
83
83
|
});
|
|
84
84
|
FootnoteLink.propTypes = {
|
|
85
85
|
...selectedSystemPropTypes,
|
|
86
|
+
variant: _utils.variantProp.propType,
|
|
86
87
|
/**
|
|
87
88
|
* Use the `copy` prop to either select provided English or French copy by passing 'en' or 'fr' respectively.
|
|
88
89
|
* To provide your own, pass a JSON object with the key `a11yLabel`.
|
|
@@ -5,7 +5,7 @@ import StyleSheet from "react-native-web/dist/exports/StyleSheet";
|
|
|
5
5
|
import Platform from "react-native-web/dist/exports/Platform";
|
|
6
6
|
import TouchableWithoutFeedback from "react-native-web/dist/exports/TouchableWithoutFeedback";
|
|
7
7
|
import dictionary from './dictionary';
|
|
8
|
-
import { htmlAttrs, selectSystemProps, useCopy, viewProps, wrapStringsInText } from '../utils';
|
|
8
|
+
import { htmlAttrs, selectSystemProps, useCopy, viewProps, wrapStringsInText, variantProp } from '../utils';
|
|
9
9
|
import { applyTextStyles, useThemeTokens } from '../ThemeProvider';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
@@ -77,6 +77,7 @@ const copyShape = PropTypes.shape({
|
|
|
77
77
|
});
|
|
78
78
|
FootnoteLink.propTypes = {
|
|
79
79
|
...selectedSystemPropTypes,
|
|
80
|
+
variant: variantProp.propType,
|
|
80
81
|
/**
|
|
81
82
|
* Use the `copy` prop to either select provided English or French copy by passing 'en' or 'fr' respectively.
|
|
82
83
|
* To provide your own, pass a JSON object with the key `a11yLabel`.
|
package/package.json
CHANGED
|
@@ -2,7 +2,14 @@ import React from 'react'
|
|
|
2
2
|
import PropTypes from 'prop-types'
|
|
3
3
|
import { View, StyleSheet, Platform, TouchableWithoutFeedback } from 'react-native'
|
|
4
4
|
import dictionary from './dictionary'
|
|
5
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
htmlAttrs,
|
|
7
|
+
selectSystemProps,
|
|
8
|
+
useCopy,
|
|
9
|
+
viewProps,
|
|
10
|
+
wrapStringsInText,
|
|
11
|
+
variantProp
|
|
12
|
+
} from '../utils'
|
|
6
13
|
import { applyTextStyles, useThemeTokens } from '../ThemeProvider'
|
|
7
14
|
|
|
8
15
|
const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs, viewProps])
|
|
@@ -64,6 +71,7 @@ const copyShape = PropTypes.shape({ a11yLabel: PropTypes.string.isRequired })
|
|
|
64
71
|
|
|
65
72
|
FootnoteLink.propTypes = {
|
|
66
73
|
...selectedSystemPropTypes,
|
|
74
|
+
variant: variantProp.propType,
|
|
67
75
|
/**
|
|
68
76
|
* Use the `copy` prop to either select provided English or French copy by passing 'en' or 'fr' respectively.
|
|
69
77
|
* To provide your own, pass a JSON object with the key `a11yLabel`.
|