orcs-design-system 3.3.21 → 3.3.22
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.
|
@@ -144,7 +144,6 @@ export const ActionsMenuBody = _ref2 => {
|
|
|
144
144
|
const triggerRef = useMergeRefs([actionMenu.refs.setReference, childrenRef]);
|
|
145
145
|
const ref = useMergeRefs([actionMenu.refs.setFloating]);
|
|
146
146
|
const triggerProps = useMemo(() => ({
|
|
147
|
-
ariaLabel,
|
|
148
147
|
"aria-label": ariaLabel,
|
|
149
148
|
onFocus: onTriggerFocus,
|
|
150
149
|
id,
|
|
@@ -289,7 +288,7 @@ ActionsMenu.propTypes = {
|
|
|
289
288
|
/** Specifies the colour theme */
|
|
290
289
|
theme: PropTypes.object,
|
|
291
290
|
/** Specifies the aria-label for the button */
|
|
292
|
-
ariaLabel: PropTypes.
|
|
291
|
+
ariaLabel: PropTypes.string
|
|
293
292
|
};
|
|
294
293
|
ActionsMenu.__docgenInfo = {
|
|
295
294
|
"description": "",
|
|
@@ -393,7 +392,7 @@ ActionsMenu.__docgenInfo = {
|
|
|
393
392
|
"ariaLabel": {
|
|
394
393
|
"description": "Specifies the aria-label for the button",
|
|
395
394
|
"type": {
|
|
396
|
-
"name": "
|
|
395
|
+
"name": "string"
|
|
397
396
|
},
|
|
398
397
|
"required": false
|
|
399
398
|
}
|
|
@@ -76,7 +76,7 @@ ProgressBar.propTypes = {
|
|
|
76
76
|
/** Specifies the system design theme. */
|
|
77
77
|
theme: PropTypes.object,
|
|
78
78
|
/** Specifies the aria-label for the progress bar */
|
|
79
|
-
ariaLabel: PropTypes.
|
|
79
|
+
ariaLabel: PropTypes.string
|
|
80
80
|
};
|
|
81
81
|
ProgressBar.__docgenInfo = {
|
|
82
82
|
"description": "Progress bar is not intended to be used for loading (that's what the Loading component is for). The intended use is for indicating progress through steps or progress towards a goal.\n\nA percentage width of the container (grey background) can be specified using the containerWidth prop, in most cases this should be 100. If not set the container is rendered without a CSS width property.\n\nA percentage width of the fill (coloured element) can be specified using the fillWidth prop. On page load the fill will animate from 0 to set value, and on change of the fillWidth prop value the fill will automatically animate to the new width value.",
|
|
@@ -101,7 +101,7 @@ ProgressBar.__docgenInfo = {
|
|
|
101
101
|
},
|
|
102
102
|
"description": "Specifies the aria-label for the progress bar",
|
|
103
103
|
"type": {
|
|
104
|
-
"name": "
|
|
104
|
+
"name": "string"
|
|
105
105
|
},
|
|
106
106
|
"required": false
|
|
107
107
|
},
|
|
@@ -20,7 +20,7 @@ const TagValue = styled.button.attrs(props => ({
|
|
|
20
20
|
const TagValueText = styled.div.withConfig({
|
|
21
21
|
displayName: "Tag__TagValueText",
|
|
22
22
|
componentId: "sc-1dh2aa8-2"
|
|
23
|
-
})(["text-decoration:", ";white-space:normal;text-align:left;line-height:", ";padding-bottom:1px;"], props => props.showStrikeThrough ? "line-through" : "none", props => props.small ? themeGet("fontSizes.0")(props) : themeGet("fontSizes.1")(props));
|
|
23
|
+
})(["text-decoration:", ";white-space:normal;overflow-wrap:anywhere;text-align:left;line-height:", ";padding-bottom:1px;"], props => props.showStrikeThrough ? "line-through" : "none", props => props.small ? themeGet("fontSizes.0")(props) : themeGet("fontSizes.1")(props));
|
|
24
24
|
const TagActionIconWrapper = styled(TagValue).withConfig({
|
|
25
25
|
displayName: "Tag__TagActionIconWrapper",
|
|
26
26
|
componentId: "sc-1dh2aa8-3"
|