@atlaskit/react-ufo 5.0.10 → 5.0.11

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,5 +1,12 @@
1
1
  # @atlaskit/ufo-interaction-ignore
2
2
 
3
+ ## 5.0.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1818e2c8ca066`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1818e2c8ca066) -
8
+ FG cleanup - platform_ufo_fix_ttvc_v4_attribute_exclusions
9
+
3
10
  ## 5.0.10
4
11
 
5
12
  ### Patch Changes
@@ -47,7 +47,7 @@ var VCCalculator_FY26_04 = exports.default = /*#__PURE__*/function (_VCCalculato
47
47
  if (entry.data.type === 'mutation:attribute' && (!attributeName || fy26_04_excluded_attributes.includes(attributeName) && (0, _platformFeatureFlags.fg)('platform_ufo_data-is-hovered-v4-exclusion'))) {
48
48
  return false;
49
49
  }
50
- if (entryData.type === 'mutation:display-contents-children-attribute' && (0, _platformFeatureFlags.fg)('platform_ufo_fix_ttvc_v4_attribute_exclusions')) {
50
+ if (entryData.type === 'mutation:display-contents-children-attribute') {
51
51
  if (!attributeName || attributeName.startsWith('data-test') || _constants.KNOWN_ATTRIBUTES_THAT_DOES_NOT_CAUSE_LAYOUT_SHIFTS.includes(attributeName) || _constants.NON_VISUAL_ARIA_ATTRIBUTES.includes(attributeName) || _constants.THIRD_PARTY_BROWSER_EXTENSION_ATTRIBUTES.includes(attributeName)) {
52
52
  return false;
53
53
  }
@@ -28,7 +28,7 @@ export default class VCCalculator_FY26_04 extends VCCalculator_FY25_03 {
28
28
  if (entry.data.type === 'mutation:attribute' && (!attributeName || fy26_04_excluded_attributes.includes(attributeName) && fg('platform_ufo_data-is-hovered-v4-exclusion'))) {
29
29
  return false;
30
30
  }
31
- if (entryData.type === 'mutation:display-contents-children-attribute' && fg('platform_ufo_fix_ttvc_v4_attribute_exclusions')) {
31
+ if (entryData.type === 'mutation:display-contents-children-attribute') {
32
32
  if (!attributeName || attributeName.startsWith('data-test') || KNOWN_ATTRIBUTES_THAT_DOES_NOT_CAUSE_LAYOUT_SHIFTS.includes(attributeName) || NON_VISUAL_ARIA_ATTRIBUTES.includes(attributeName) || THIRD_PARTY_BROWSER_EXTENSION_ATTRIBUTES.includes(attributeName)) {
33
33
  return false;
34
34
  }
@@ -40,7 +40,7 @@ var VCCalculator_FY26_04 = /*#__PURE__*/function (_VCCalculator_FY25_) {
40
40
  if (entry.data.type === 'mutation:attribute' && (!attributeName || fy26_04_excluded_attributes.includes(attributeName) && fg('platform_ufo_data-is-hovered-v4-exclusion'))) {
41
41
  return false;
42
42
  }
43
- if (entryData.type === 'mutation:display-contents-children-attribute' && fg('platform_ufo_fix_ttvc_v4_attribute_exclusions')) {
43
+ if (entryData.type === 'mutation:display-contents-children-attribute') {
44
44
  if (!attributeName || attributeName.startsWith('data-test') || KNOWN_ATTRIBUTES_THAT_DOES_NOT_CAUSE_LAYOUT_SHIFTS.includes(attributeName) || NON_VISUAL_ARIA_ATTRIBUTES.includes(attributeName) || THIRD_PARTY_BROWSER_EXTENSION_ATTRIBUTES.includes(attributeName)) {
45
45
  return false;
46
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "5.0.10",
3
+ "version": "5.0.11",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -145,9 +145,6 @@
145
145
  "platform_ufo_segment_unmount_count": {
146
146
  "type": "boolean"
147
147
  },
148
- "platform_ufo_fix_ttvc_v4_attribute_exclusions": {
149
- "type": "boolean"
150
- },
151
148
  "platform_ufo_enable_ttai_with_3p": {
152
149
  "type": "boolean"
153
150
  },