@atlaskit/editor-plugin-extension 0.7.2 → 0.7.4

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/toolbar.js +8 -40
  3. package/dist/cjs/ui/ConfigPanel/ConfigPanel.js +2 -3
  4. package/dist/cjs/ui/ConfigPanel/ErrorMessage/index.js +2 -8
  5. package/dist/cjs/ui/ConfigPanel/FieldMessages.js +4 -4
  6. package/dist/cjs/ui/ConfigPanel/Fields/CustomSelect.js +1 -2
  7. package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +3 -3
  8. package/dist/cjs/ui/ConfigPanel/Fields/Expand.js +3 -3
  9. package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +9 -8
  10. package/dist/cjs/ui/ConfigPanel/FormErrorBoundary.js +3 -3
  11. package/dist/cjs/ui/ConfigPanel/Header.js +4 -4
  12. package/dist/cjs/ui/ConfigPanel/NestedForms/RemovableField.js +3 -3
  13. package/dist/cjs/ui/SaveIndicator/SaveIndicator.js +2 -2
  14. package/dist/es2019/toolbar.js +1 -33
  15. package/dist/es2019/ui/ConfigPanel/ConfigPanel.js +1 -2
  16. package/dist/es2019/ui/ConfigPanel/ErrorMessage/index.js +2 -8
  17. package/dist/es2019/ui/ConfigPanel/FieldMessages.js +1 -1
  18. package/dist/es2019/ui/ConfigPanel/Fields/CustomSelect.js +1 -2
  19. package/dist/es2019/ui/ConfigPanel/Fields/DateRange.js +1 -1
  20. package/dist/es2019/ui/ConfigPanel/Fields/Expand.js +1 -1
  21. package/dist/es2019/ui/ConfigPanel/Fields/Fieldset.js +6 -5
  22. package/dist/es2019/ui/ConfigPanel/FormErrorBoundary.js +1 -1
  23. package/dist/es2019/ui/ConfigPanel/Header.js +1 -1
  24. package/dist/es2019/ui/ConfigPanel/NestedForms/RemovableField.js +1 -1
  25. package/dist/es2019/ui/SaveIndicator/SaveIndicator.js +1 -1
  26. package/dist/esm/toolbar.js +1 -33
  27. package/dist/esm/ui/ConfigPanel/ConfigPanel.js +1 -2
  28. package/dist/esm/ui/ConfigPanel/ErrorMessage/index.js +2 -8
  29. package/dist/esm/ui/ConfigPanel/FieldMessages.js +1 -1
  30. package/dist/esm/ui/ConfigPanel/Fields/CustomSelect.js +1 -2
  31. package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +1 -1
  32. package/dist/esm/ui/ConfigPanel/Fields/Expand.js +1 -1
  33. package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +6 -5
  34. package/dist/esm/ui/ConfigPanel/FormErrorBoundary.js +1 -1
  35. package/dist/esm/ui/ConfigPanel/Header.js +1 -1
  36. package/dist/esm/ui/ConfigPanel/NestedForms/RemovableField.js +1 -1
  37. package/dist/esm/ui/SaveIndicator/SaveIndicator.js +1 -1
  38. package/dist/types/toolbar.d.ts +0 -32
  39. package/dist/types-ts4.5/toolbar.d.ts +0 -32
  40. package/example-utils/config-panel/ConfigPanelWithExtensionPicker.tsx +4 -3
  41. package/example-utils/config-panel/example-manifest-all-fields.ts +2 -3
  42. package/example-utils/config-panel/example-manifest-individual-fields.ts +2 -3
  43. package/package.json +6 -5
  44. package/dist/cjs/ui/ConfigPanel/messages.js +0 -99
  45. package/dist/cjs/ui/SaveIndicator/messages.js +0 -14
  46. package/dist/es2019/ui/ConfigPanel/messages.js +0 -93
  47. package/dist/es2019/ui/SaveIndicator/messages.js +0 -8
  48. package/dist/esm/ui/ConfigPanel/messages.js +0 -93
  49. package/dist/esm/ui/SaveIndicator/messages.js +0 -8
  50. package/dist/types/ui/ConfigPanel/messages.d.ts +0 -92
  51. package/dist/types/ui/SaveIndicator/messages.d.ts +0 -7
  52. package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +0 -92
  53. package/dist/types-ts4.5/ui/SaveIndicator/messages.d.ts +0 -7
@@ -1,93 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export var messages = defineMessages({
3
- submit: {
4
- id: 'fabric.editor.configPanel.submit',
5
- defaultMessage: 'Submit',
6
- description: 'Submit button label'
7
- },
8
- cancel: {
9
- id: 'fabric.editor.configPanel.cancel',
10
- defaultMessage: 'Cancel',
11
- description: 'Cancel button label'
12
- },
13
- close: {
14
- id: 'fabric.editor.configPanel.close',
15
- defaultMessage: 'Close',
16
- description: 'Close button label'
17
- },
18
- required: {
19
- id: 'fabric.editor.configPanel.required',
20
- defaultMessage: 'Required field',
21
- description: 'Validation message for required field'
22
- },
23
- invalid: {
24
- id: 'fabric.editor.configPanel.invalid',
25
- defaultMessage: 'Invalid field',
26
- description: 'Validation message when a field value is not acceptable'
27
- },
28
- isMultipleAndRadio: {
29
- id: 'fabric.editor.configPanel.fieldTypeError.isMultipleAndRadio',
30
- defaultMessage: 'Can not combine isMultiple with style: radio',
31
- description: 'Configuration error'
32
- },
33
- addField: {
34
- id: 'fabric.editor.configPanel.formType.addField',
35
- defaultMessage: 'Add field',
36
- description: 'Button to add a new field in nested forms'
37
- },
38
- removeField: {
39
- id: 'fabric.editor.configPanel.formType.removeField',
40
- defaultMessage: 'Remove field',
41
- description: 'Button to remove a field in nested forms'
42
- },
43
- createOption: {
44
- id: 'fabric.editor.configPanel.customSelect.createOption',
45
- defaultMessage: 'Create',
46
- description: 'Create a new option for a select field'
47
- },
48
- documentation: {
49
- id: 'fabric.editor.configPanel.documentation',
50
- defaultMessage: 'Documentation',
51
- description: 'Label for the documentation link'
52
- },
53
- help: {
54
- id: 'fabric.editor.configPanel.help',
55
- defaultMessage: 'Need help?',
56
- description: 'Label for documentation link v.2 (to replace "Documentation" text)'
57
- },
58
- custom: {
59
- id: 'fabric.editor.configPanel.dateRange.option.custom',
60
- defaultMessage: 'Custom',
61
- description: 'Label for the option "Custom" in the date range UI element'
62
- },
63
- from: {
64
- id: 'fabric.editor.configPanel.dateRange.custom.from',
65
- defaultMessage: 'From',
66
- description: 'Label for the initial date when the option "Custom" is selected in the date range UI element'
67
- },
68
- to: {
69
- id: 'fabric.editor.configPanel.dateRange.custom.to',
70
- defaultMessage: 'To',
71
- description: 'Label for the end date when the option "Custom" is selected in the date range UI element'
72
- },
73
- expand: {
74
- id: 'fabric.editor.configPanel.dateRange.grouping.expand',
75
- defaultMessage: 'Expand',
76
- description: 'Label for expanding a group of fields'
77
- },
78
- collapse: {
79
- id: 'fabric.editor.configPanel.dateRange.grouping.collapse',
80
- defaultMessage: 'Collapse',
81
- description: 'Label for collapsing a group of fields'
82
- },
83
- errorBoundaryTitle: {
84
- id: 'fabric.editor.configPanel.errorBoundary.title',
85
- defaultMessage: 'Something went wrong.',
86
- description: 'Title for uncaught config panel error'
87
- },
88
- errorBoundaryNote: {
89
- id: 'fabric.editor.configPanel.errorBoundary.note',
90
- defaultMessage: "We've let the team know. You can still edit and publish this page, or check the error console for more information.",
91
- description: 'Note for uncaught config panel error'
92
- }
93
- });
@@ -1,8 +0,0 @@
1
- import { defineMessages } from 'react-intl-next';
2
- export var messages = defineMessages({
3
- saveIndicator: {
4
- id: 'fabric.editor.extensions.config-panel.save-indicator',
5
- defaultMessage: 'All changes are always autosaved',
6
- description: 'Message shown to the user to notify to them that we save the changes automatically.'
7
- }
8
- });
@@ -1,92 +0,0 @@
1
- export declare const messages: {
2
- submit: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- cancel: {
8
- id: string;
9
- defaultMessage: string;
10
- description: string;
11
- };
12
- close: {
13
- id: string;
14
- defaultMessage: string;
15
- description: string;
16
- };
17
- required: {
18
- id: string;
19
- defaultMessage: string;
20
- description: string;
21
- };
22
- invalid: {
23
- id: string;
24
- defaultMessage: string;
25
- description: string;
26
- };
27
- isMultipleAndRadio: {
28
- id: string;
29
- defaultMessage: string;
30
- description: string;
31
- };
32
- addField: {
33
- id: string;
34
- defaultMessage: string;
35
- description: string;
36
- };
37
- removeField: {
38
- id: string;
39
- defaultMessage: string;
40
- description: string;
41
- };
42
- createOption: {
43
- id: string;
44
- defaultMessage: string;
45
- description: string;
46
- };
47
- documentation: {
48
- id: string;
49
- defaultMessage: string;
50
- description: string;
51
- };
52
- help: {
53
- id: string;
54
- defaultMessage: string;
55
- description: string;
56
- };
57
- custom: {
58
- id: string;
59
- defaultMessage: string;
60
- description: string;
61
- };
62
- from: {
63
- id: string;
64
- defaultMessage: string;
65
- description: string;
66
- };
67
- to: {
68
- id: string;
69
- defaultMessage: string;
70
- description: string;
71
- };
72
- expand: {
73
- id: string;
74
- defaultMessage: string;
75
- description: string;
76
- };
77
- collapse: {
78
- id: string;
79
- defaultMessage: string;
80
- description: string;
81
- };
82
- errorBoundaryTitle: {
83
- id: string;
84
- defaultMessage: string;
85
- description: string;
86
- };
87
- errorBoundaryNote: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- };
@@ -1,7 +0,0 @@
1
- export declare const messages: {
2
- saveIndicator: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- };
@@ -1,92 +0,0 @@
1
- export declare const messages: {
2
- submit: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- cancel: {
8
- id: string;
9
- defaultMessage: string;
10
- description: string;
11
- };
12
- close: {
13
- id: string;
14
- defaultMessage: string;
15
- description: string;
16
- };
17
- required: {
18
- id: string;
19
- defaultMessage: string;
20
- description: string;
21
- };
22
- invalid: {
23
- id: string;
24
- defaultMessage: string;
25
- description: string;
26
- };
27
- isMultipleAndRadio: {
28
- id: string;
29
- defaultMessage: string;
30
- description: string;
31
- };
32
- addField: {
33
- id: string;
34
- defaultMessage: string;
35
- description: string;
36
- };
37
- removeField: {
38
- id: string;
39
- defaultMessage: string;
40
- description: string;
41
- };
42
- createOption: {
43
- id: string;
44
- defaultMessage: string;
45
- description: string;
46
- };
47
- documentation: {
48
- id: string;
49
- defaultMessage: string;
50
- description: string;
51
- };
52
- help: {
53
- id: string;
54
- defaultMessage: string;
55
- description: string;
56
- };
57
- custom: {
58
- id: string;
59
- defaultMessage: string;
60
- description: string;
61
- };
62
- from: {
63
- id: string;
64
- defaultMessage: string;
65
- description: string;
66
- };
67
- to: {
68
- id: string;
69
- defaultMessage: string;
70
- description: string;
71
- };
72
- expand: {
73
- id: string;
74
- defaultMessage: string;
75
- description: string;
76
- };
77
- collapse: {
78
- id: string;
79
- defaultMessage: string;
80
- description: string;
81
- };
82
- errorBoundaryTitle: {
83
- id: string;
84
- defaultMessage: string;
85
- description: string;
86
- };
87
- errorBoundaryNote: {
88
- id: string;
89
- defaultMessage: string;
90
- description: string;
91
- };
92
- };
@@ -1,7 +0,0 @@
1
- export declare const messages: {
2
- saveIndicator: {
3
- id: string;
4
- defaultMessage: string;
5
- description: string;
6
- };
7
- };