@atlaskit/give-kudos 4.4.7 → 4.4.9

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,18 @@
1
1
  # @atlassian/give-kudos
2
2
 
3
+ ## 4.4.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`c662174f3c4e4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c662174f3c4e4) -
8
+ Enforce meaningful descriptions for team central packages so translators have an easier time
9
+
10
+ ## 4.4.8
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 4.4.7
4
17
 
5
18
  ### Patch Changes
@@ -9,87 +9,87 @@ var messages = (0, _reactIntlNext.defineMessages)({
9
9
  giveKudosButton: {
10
10
  id: 'team-central.give-kudos.button',
11
11
  defaultMessage: 'Give kudos',
12
- description: 'Title for the button to give a kudos'
12
+ description: 'Label for the button that opens the give kudos creation form'
13
13
  },
14
14
  kudosCreatedFlag: {
15
15
  id: 'team-central.give-kudos.created.title.flag',
16
16
  defaultMessage: 'Kudos has been created',
17
- description: 'Title text for kudos creation flag.'
17
+ description: 'Title text displayed in the success notification after kudos creation'
18
18
  },
19
19
  kudosCreatedDescriptionFlag: {
20
20
  id: 'team-central.give-kudos.created.description.flag',
21
21
  defaultMessage: 'Your kudos has been sent. <a>View kudos</a>',
22
- description: 'Description text for the kudos created flag. This includes a link to view the newly created kudos.'
22
+ description: 'Description text displayed in the success notification with a link to view the newly created kudos'
23
23
  },
24
24
  kudosCreatedActionFlag: {
25
25
  id: 'team-central.give-kudos.created.action.flag',
26
26
  defaultMessage: 'View kudos',
27
- description: 'Action text for the kudos created flag to view the newly created kudos.'
27
+ description: 'Action button label in the success notification to view the newly created kudos'
28
28
  },
29
29
  kudosCreationFailedFlag: {
30
30
  id: 'team-central.give-kudos.creation.failed.title.flag',
31
31
  defaultMessage: 'Something went wrong',
32
- description: 'Title text for kudos creation failed flag.'
32
+ description: 'Title text displayed in the error notification when kudos creation fails'
33
33
  },
34
34
  kudosCreationFailedDescriptionFlag: {
35
35
  id: 'team-central.give-kudos.creation.failed.description.flag',
36
36
  defaultMessage: "We couldn't create your kudos.",
37
- description: 'Description text for the kudos creation failed flag.'
37
+ description: 'Description text displayed in the error notification when kudos creation fails'
38
38
  },
39
39
  JiraKudosCreatedFlag: {
40
40
  id: 'team-central.give-jira-kudos.created.title.flag',
41
41
  defaultMessage: 'Kudos created',
42
- description: 'Title text for kudos creation flag.'
42
+ description: 'Title text displayed in the success notification after Jira kudos creation'
43
43
  },
44
44
  JiraKudosCreatedDescriptionFlag: {
45
45
  id: 'team-central.give-jira-kudos.created.description.flag',
46
46
  defaultMessage: 'Our Workplace Experience team will now work their magic for the gift request. ✨',
47
- description: 'Description text for the atlas and jira kudos created flag. This includes links to view the newly created kudos and jira kudos request.'
47
+ description: 'Description text displayed in the success notification after Jira kudos creation with information about the gift request processing'
48
48
  },
49
49
  JiraKudosCreationFailedFlag: {
50
50
  id: 'team-central.give-jira-kudos.creation.failed.title.flag',
51
51
  defaultMessage: 'Something went wrong',
52
- description: 'Title text for jira kudos creation failed flag.'
52
+ description: 'Title text displayed in the error notification when Jira kudos creation fails'
53
53
  },
54
54
  JiraKudosCreationFailedDescriptionFlag: {
55
55
  id: 'team-central.give-jira-kudos.creation.failed.description.flag',
56
56
  defaultMessage: "We couldn't create your kudos or send the gift. Try raising a separate ticket at <a>go/kudos</a>..",
57
- description: 'Description text for the jira kudos creation failed flag. This includes a link to the jira kudos form.'
57
+ description: 'Description text displayed in the error notification when Jira kudos creation fails, with a link to the kudos form'
58
58
  },
59
59
  unsavedKudosWarning: {
60
60
  id: 'team-central.give-kudos.unsaved.warning',
61
61
  defaultMessage: 'Changes that you made will not be saved.',
62
- description: 'Shown when the user tries to navigate away from the kudos creation screen with unsaved changes.'
62
+ description: 'Warning message displayed when the user attempts to close the kudos creation form with unsaved changes'
63
63
  },
64
64
  unsavedKudosWarningCancelButton: {
65
65
  id: 'team-central.give-kudos.unsaved.warning.cancel',
66
66
  defaultMessage: 'Cancel',
67
- description: 'Button that cancels closing the create kudos drawer.'
67
+ description: 'Button label that cancels the close action and returns to the kudos creation form'
68
68
  },
69
69
  unsavedKudosWarningCloseButton: {
70
70
  id: 'team-central.give-kudos.unsaved.warning.close',
71
71
  defaultMessage: 'Close',
72
- description: 'Button that closes the warning modal and closes the drawer.'
72
+ description: 'Button label that confirms closing and dismisses the kudos creation drawer'
73
73
  },
74
74
  confirmCloseTitle: {
75
+ id: 'team-central.give-kudos.confirm-close.title',
75
76
  defaultMessage: 'Confirm Close',
76
- description: 'Close kudos drawer confirmation modal title',
77
- id: 'team-central.give-kudos.confirm-close.title'
77
+ description: 'Title text displayed in the modal confirming drawer closure'
78
78
  },
79
79
  closeDrawerButtonLabel: {
80
+ id: 'team-central.give-kudos.close-button.label',
80
81
  defaultMessage: 'Close drawer',
81
- description: 'Close kudos drawer button label',
82
- id: 'team-central.give-kudos.close-button.label'
82
+ description: 'Label for the button that closes the kudos creation drawer'
83
83
  },
84
84
  successIconLabel: {
85
+ id: 'team-central.give-kudos.success-icon.label',
85
86
  defaultMessage: 'Success',
86
- description: 'Success icon label',
87
- id: 'team-central.give-kudos.success-icon.label'
87
+ description: 'Accessibility label for the success status icon'
88
88
  },
89
89
  errorIconLabel: {
90
+ id: 'team-central.give-kudos.error-icon.label',
90
91
  defaultMessage: 'Error',
91
- description: 'Error icon label',
92
- id: 'team-central.give-kudos.error-icon.label'
92
+ description: 'Accessibility label for the error status icon'
93
93
  }
94
94
  });
95
95
  var _default = exports.default = messages;
@@ -3,87 +3,87 @@ const messages = defineMessages({
3
3
  giveKudosButton: {
4
4
  id: 'team-central.give-kudos.button',
5
5
  defaultMessage: 'Give kudos',
6
- description: 'Title for the button to give a kudos'
6
+ description: 'Label for the button that opens the give kudos creation form'
7
7
  },
8
8
  kudosCreatedFlag: {
9
9
  id: 'team-central.give-kudos.created.title.flag',
10
10
  defaultMessage: 'Kudos has been created',
11
- description: 'Title text for kudos creation flag.'
11
+ description: 'Title text displayed in the success notification after kudos creation'
12
12
  },
13
13
  kudosCreatedDescriptionFlag: {
14
14
  id: 'team-central.give-kudos.created.description.flag',
15
15
  defaultMessage: 'Your kudos has been sent. <a>View kudos</a>',
16
- description: 'Description text for the kudos created flag. This includes a link to view the newly created kudos.'
16
+ description: 'Description text displayed in the success notification with a link to view the newly created kudos'
17
17
  },
18
18
  kudosCreatedActionFlag: {
19
19
  id: 'team-central.give-kudos.created.action.flag',
20
20
  defaultMessage: 'View kudos',
21
- description: 'Action text for the kudos created flag to view the newly created kudos.'
21
+ description: 'Action button label in the success notification to view the newly created kudos'
22
22
  },
23
23
  kudosCreationFailedFlag: {
24
24
  id: 'team-central.give-kudos.creation.failed.title.flag',
25
25
  defaultMessage: 'Something went wrong',
26
- description: 'Title text for kudos creation failed flag.'
26
+ description: 'Title text displayed in the error notification when kudos creation fails'
27
27
  },
28
28
  kudosCreationFailedDescriptionFlag: {
29
29
  id: 'team-central.give-kudos.creation.failed.description.flag',
30
30
  defaultMessage: "We couldn't create your kudos.",
31
- description: 'Description text for the kudos creation failed flag.'
31
+ description: 'Description text displayed in the error notification when kudos creation fails'
32
32
  },
33
33
  JiraKudosCreatedFlag: {
34
34
  id: 'team-central.give-jira-kudos.created.title.flag',
35
35
  defaultMessage: 'Kudos created',
36
- description: 'Title text for kudos creation flag.'
36
+ description: 'Title text displayed in the success notification after Jira kudos creation'
37
37
  },
38
38
  JiraKudosCreatedDescriptionFlag: {
39
39
  id: 'team-central.give-jira-kudos.created.description.flag',
40
40
  defaultMessage: 'Our Workplace Experience team will now work their magic for the gift request. ✨',
41
- description: 'Description text for the atlas and jira kudos created flag. This includes links to view the newly created kudos and jira kudos request.'
41
+ description: 'Description text displayed in the success notification after Jira kudos creation with information about the gift request processing'
42
42
  },
43
43
  JiraKudosCreationFailedFlag: {
44
44
  id: 'team-central.give-jira-kudos.creation.failed.title.flag',
45
45
  defaultMessage: 'Something went wrong',
46
- description: 'Title text for jira kudos creation failed flag.'
46
+ description: 'Title text displayed in the error notification when Jira kudos creation fails'
47
47
  },
48
48
  JiraKudosCreationFailedDescriptionFlag: {
49
49
  id: 'team-central.give-jira-kudos.creation.failed.description.flag',
50
50
  defaultMessage: "We couldn't create your kudos or send the gift. Try raising a separate ticket at <a>go/kudos</a>..",
51
- description: 'Description text for the jira kudos creation failed flag. This includes a link to the jira kudos form.'
51
+ description: 'Description text displayed in the error notification when Jira kudos creation fails, with a link to the kudos form'
52
52
  },
53
53
  unsavedKudosWarning: {
54
54
  id: 'team-central.give-kudos.unsaved.warning',
55
55
  defaultMessage: 'Changes that you made will not be saved.',
56
- description: 'Shown when the user tries to navigate away from the kudos creation screen with unsaved changes.'
56
+ description: 'Warning message displayed when the user attempts to close the kudos creation form with unsaved changes'
57
57
  },
58
58
  unsavedKudosWarningCancelButton: {
59
59
  id: 'team-central.give-kudos.unsaved.warning.cancel',
60
60
  defaultMessage: 'Cancel',
61
- description: 'Button that cancels closing the create kudos drawer.'
61
+ description: 'Button label that cancels the close action and returns to the kudos creation form'
62
62
  },
63
63
  unsavedKudosWarningCloseButton: {
64
64
  id: 'team-central.give-kudos.unsaved.warning.close',
65
65
  defaultMessage: 'Close',
66
- description: 'Button that closes the warning modal and closes the drawer.'
66
+ description: 'Button label that confirms closing and dismisses the kudos creation drawer'
67
67
  },
68
68
  confirmCloseTitle: {
69
+ id: 'team-central.give-kudos.confirm-close.title',
69
70
  defaultMessage: 'Confirm Close',
70
- description: 'Close kudos drawer confirmation modal title',
71
- id: 'team-central.give-kudos.confirm-close.title'
71
+ description: 'Title text displayed in the modal confirming drawer closure'
72
72
  },
73
73
  closeDrawerButtonLabel: {
74
+ id: 'team-central.give-kudos.close-button.label',
74
75
  defaultMessage: 'Close drawer',
75
- description: 'Close kudos drawer button label',
76
- id: 'team-central.give-kudos.close-button.label'
76
+ description: 'Label for the button that closes the kudos creation drawer'
77
77
  },
78
78
  successIconLabel: {
79
+ id: 'team-central.give-kudos.success-icon.label',
79
80
  defaultMessage: 'Success',
80
- description: 'Success icon label',
81
- id: 'team-central.give-kudos.success-icon.label'
81
+ description: 'Accessibility label for the success status icon'
82
82
  },
83
83
  errorIconLabel: {
84
+ id: 'team-central.give-kudos.error-icon.label',
84
85
  defaultMessage: 'Error',
85
- description: 'Error icon label',
86
- id: 'team-central.give-kudos.error-icon.label'
86
+ description: 'Accessibility label for the error status icon'
87
87
  }
88
88
  });
89
89
  export default messages;
@@ -3,87 +3,87 @@ var messages = defineMessages({
3
3
  giveKudosButton: {
4
4
  id: 'team-central.give-kudos.button',
5
5
  defaultMessage: 'Give kudos',
6
- description: 'Title for the button to give a kudos'
6
+ description: 'Label for the button that opens the give kudos creation form'
7
7
  },
8
8
  kudosCreatedFlag: {
9
9
  id: 'team-central.give-kudos.created.title.flag',
10
10
  defaultMessage: 'Kudos has been created',
11
- description: 'Title text for kudos creation flag.'
11
+ description: 'Title text displayed in the success notification after kudos creation'
12
12
  },
13
13
  kudosCreatedDescriptionFlag: {
14
14
  id: 'team-central.give-kudos.created.description.flag',
15
15
  defaultMessage: 'Your kudos has been sent. <a>View kudos</a>',
16
- description: 'Description text for the kudos created flag. This includes a link to view the newly created kudos.'
16
+ description: 'Description text displayed in the success notification with a link to view the newly created kudos'
17
17
  },
18
18
  kudosCreatedActionFlag: {
19
19
  id: 'team-central.give-kudos.created.action.flag',
20
20
  defaultMessage: 'View kudos',
21
- description: 'Action text for the kudos created flag to view the newly created kudos.'
21
+ description: 'Action button label in the success notification to view the newly created kudos'
22
22
  },
23
23
  kudosCreationFailedFlag: {
24
24
  id: 'team-central.give-kudos.creation.failed.title.flag',
25
25
  defaultMessage: 'Something went wrong',
26
- description: 'Title text for kudos creation failed flag.'
26
+ description: 'Title text displayed in the error notification when kudos creation fails'
27
27
  },
28
28
  kudosCreationFailedDescriptionFlag: {
29
29
  id: 'team-central.give-kudos.creation.failed.description.flag',
30
30
  defaultMessage: "We couldn't create your kudos.",
31
- description: 'Description text for the kudos creation failed flag.'
31
+ description: 'Description text displayed in the error notification when kudos creation fails'
32
32
  },
33
33
  JiraKudosCreatedFlag: {
34
34
  id: 'team-central.give-jira-kudos.created.title.flag',
35
35
  defaultMessage: 'Kudos created',
36
- description: 'Title text for kudos creation flag.'
36
+ description: 'Title text displayed in the success notification after Jira kudos creation'
37
37
  },
38
38
  JiraKudosCreatedDescriptionFlag: {
39
39
  id: 'team-central.give-jira-kudos.created.description.flag',
40
40
  defaultMessage: 'Our Workplace Experience team will now work their magic for the gift request. ✨',
41
- description: 'Description text for the atlas and jira kudos created flag. This includes links to view the newly created kudos and jira kudos request.'
41
+ description: 'Description text displayed in the success notification after Jira kudos creation with information about the gift request processing'
42
42
  },
43
43
  JiraKudosCreationFailedFlag: {
44
44
  id: 'team-central.give-jira-kudos.creation.failed.title.flag',
45
45
  defaultMessage: 'Something went wrong',
46
- description: 'Title text for jira kudos creation failed flag.'
46
+ description: 'Title text displayed in the error notification when Jira kudos creation fails'
47
47
  },
48
48
  JiraKudosCreationFailedDescriptionFlag: {
49
49
  id: 'team-central.give-jira-kudos.creation.failed.description.flag',
50
50
  defaultMessage: "We couldn't create your kudos or send the gift. Try raising a separate ticket at <a>go/kudos</a>..",
51
- description: 'Description text for the jira kudos creation failed flag. This includes a link to the jira kudos form.'
51
+ description: 'Description text displayed in the error notification when Jira kudos creation fails, with a link to the kudos form'
52
52
  },
53
53
  unsavedKudosWarning: {
54
54
  id: 'team-central.give-kudos.unsaved.warning',
55
55
  defaultMessage: 'Changes that you made will not be saved.',
56
- description: 'Shown when the user tries to navigate away from the kudos creation screen with unsaved changes.'
56
+ description: 'Warning message displayed when the user attempts to close the kudos creation form with unsaved changes'
57
57
  },
58
58
  unsavedKudosWarningCancelButton: {
59
59
  id: 'team-central.give-kudos.unsaved.warning.cancel',
60
60
  defaultMessage: 'Cancel',
61
- description: 'Button that cancels closing the create kudos drawer.'
61
+ description: 'Button label that cancels the close action and returns to the kudos creation form'
62
62
  },
63
63
  unsavedKudosWarningCloseButton: {
64
64
  id: 'team-central.give-kudos.unsaved.warning.close',
65
65
  defaultMessage: 'Close',
66
- description: 'Button that closes the warning modal and closes the drawer.'
66
+ description: 'Button label that confirms closing and dismisses the kudos creation drawer'
67
67
  },
68
68
  confirmCloseTitle: {
69
+ id: 'team-central.give-kudos.confirm-close.title',
69
70
  defaultMessage: 'Confirm Close',
70
- description: 'Close kudos drawer confirmation modal title',
71
- id: 'team-central.give-kudos.confirm-close.title'
71
+ description: 'Title text displayed in the modal confirming drawer closure'
72
72
  },
73
73
  closeDrawerButtonLabel: {
74
+ id: 'team-central.give-kudos.close-button.label',
74
75
  defaultMessage: 'Close drawer',
75
- description: 'Close kudos drawer button label',
76
- id: 'team-central.give-kudos.close-button.label'
76
+ description: 'Label for the button that closes the kudos creation drawer'
77
77
  },
78
78
  successIconLabel: {
79
+ id: 'team-central.give-kudos.success-icon.label',
79
80
  defaultMessage: 'Success',
80
- description: 'Success icon label',
81
- id: 'team-central.give-kudos.success-icon.label'
81
+ description: 'Accessibility label for the success status icon'
82
82
  },
83
83
  errorIconLabel: {
84
+ id: 'team-central.give-kudos.error-icon.label',
84
85
  defaultMessage: 'Error',
85
- description: 'Error icon label',
86
- id: 'team-central.give-kudos.error-icon.label'
86
+ description: 'Accessibility label for the error status icon'
87
87
  }
88
88
  });
89
89
  export default messages;
@@ -65,24 +65,24 @@ declare const messages: {
65
65
  description: string;
66
66
  };
67
67
  confirmCloseTitle: {
68
+ id: string;
68
69
  defaultMessage: string;
69
70
  description: string;
70
- id: string;
71
71
  };
72
72
  closeDrawerButtonLabel: {
73
+ id: string;
73
74
  defaultMessage: string;
74
75
  description: string;
75
- id: string;
76
76
  };
77
77
  successIconLabel: {
78
+ id: string;
78
79
  defaultMessage: string;
79
80
  description: string;
80
- id: string;
81
81
  };
82
82
  errorIconLabel: {
83
+ id: string;
83
84
  defaultMessage: string;
84
85
  description: string;
85
- id: string;
86
86
  };
87
87
  };
88
88
  export default messages;
@@ -65,24 +65,24 @@ declare const messages: {
65
65
  description: string;
66
66
  };
67
67
  confirmCloseTitle: {
68
+ id: string;
68
69
  defaultMessage: string;
69
70
  description: string;
70
- id: string;
71
71
  };
72
72
  closeDrawerButtonLabel: {
73
+ id: string;
73
74
  defaultMessage: string;
74
75
  description: string;
75
- id: string;
76
76
  };
77
77
  successIconLabel: {
78
+ id: string;
78
79
  defaultMessage: string;
79
80
  description: string;
80
- id: string;
81
81
  };
82
82
  errorIconLabel: {
83
+ id: string;
83
84
  defaultMessage: string;
84
85
  description: string;
85
- id: string;
86
86
  };
87
87
  };
88
88
  export default messages;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/give-kudos",
3
- "version": "4.4.7",
3
+ "version": "4.4.9",
4
4
  "description": "Give Kudos experience ",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,16 +40,16 @@
40
40
  "@atlaskit/afm-i18n-platform-team-central-give-kudos": "2.9.0",
41
41
  "@atlaskit/analytics-next": "^11.1.0",
42
42
  "@atlaskit/button": "^23.6.0",
43
- "@atlaskit/css": "^0.16.0",
43
+ "@atlaskit/css": "^0.17.0",
44
44
  "@atlaskit/drawer": "^11.0.0",
45
45
  "@atlaskit/icon": "^29.0.0",
46
46
  "@atlaskit/intl-messages-provider": "^2.0.0",
47
47
  "@atlaskit/link": "^3.2.0",
48
48
  "@atlaskit/modal-dialog": "^14.7.0",
49
49
  "@atlaskit/portal": "^5.1.0",
50
- "@atlaskit/primitives": "^16.2.0",
50
+ "@atlaskit/primitives": "^16.4.0",
51
51
  "@atlaskit/theme": "^21.0.0",
52
- "@atlaskit/tokens": "^8.1.0",
52
+ "@atlaskit/tokens": "^8.4.0",
53
53
  "@babel/runtime": "^7.0.0",
54
54
  "react-intl-next": "npm:react-intl@^5.18.1"
55
55
  },