@atlaskit/adf-schema 23.0.1 → 23.0.2

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,11 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 23.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`702b032500c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/702b032500c) - [ux] Corrected ordering of the toolbar text colour picker's drop down menu, updated its rows to be from darkest to lightest.
8
+
3
9
  ## 23.0.1
4
10
 
5
11
  ### Patch Changes
@@ -21,20 +21,20 @@ var colorArrayPalette = [// default row
21
21
 
22
22
  var colorArrayPaletteExtended = [// default row - first color is added programatically
23
23
  // [N800, 'Squid ink'], // default dark gray
24
- [_colors.B100, 'Blue'], // Arvo breeze
25
- [_colors.T300, 'Teal'], // Tamarama
26
- [_colors.G300, 'Green'], // Fine pine
27
- [_colors.Y200, 'Yellow'], // Pub mix
28
- [_colors.R300, 'Red'], // Poppy surprise
29
- [_colors.P300, 'Purple'], // Da' juice
30
- // row 2
31
- [_colors.N80, 'Light gray'], // Spooky ghost
32
24
  [_colors.B500, 'Dark blue'], // Chore coat
33
25
  [_colors.T500, 'Dark teal'], // Shabby chic
34
26
  [_colors.G500, 'Dark green'], // Keen green
35
27
  [_colors.Y400, 'Orange'], // Cheezy blasters
36
28
  [_colors.R500, 'Dark red'], // Dragon's blood
37
29
  [_colors.P500, 'Dark purple'], // Prince
30
+ // row 2
31
+ [_colors.N80, 'Light gray'], // Spooky ghost
32
+ [_colors.B100, 'Blue'], // Arvo breeze
33
+ [_colors.T300, 'Teal'], // Tamarama
34
+ [_colors.G300, 'Green'], // Fine pine
35
+ [_colors.Y200, 'Yellow'], // Pub mix
36
+ [_colors.R300, 'Red'], // Poppy surprise
37
+ [_colors.P300, 'Purple'], // Da' juice
38
38
  // row 3
39
39
  [_colors.N0, 'White'], [_colors.B75, 'Light blue'], // Schwag
40
40
  [_colors.T75, 'Light teal'], // Arctic chill
@@ -13,6 +13,9 @@ exports.normalizeUrl = normalizeUrl;
13
13
  var _linkifyIt = _interopRequireDefault(require("linkify-it"));
14
14
 
15
15
  var whitelistedURLPatterns = [/^https?:\/\//im, /^ftps?:\/\//im, /^\//im, /^mailto:/im, /^skype:/im, /^callto:/im, /^facetime:/im, /^git:/im, /^irc6?:/im, /^news:/im, /^nntp:/im, /^feed:/im, /^cvs:/im, /^svn:/im, /^mvn:/im, /^ssh:/im, /^scp:\/\//im, /^sftp:\/\//im, /^itms:/im, /^notes:/im, /^hipchat:\/\//im, /^sourcetree:/im, /^urn:/im, /^tel:/im, /^xmpp:/im, /^telnet:/im, /^vnc:/im, /^rdp:/im, /^whatsapp:/im, /^slack:/im, /^sips?:/im, /^magnet:/im, /^#/im];
16
+ /**
17
+ * Please notify the Editor Mobile team (Slack: #help-mobilekit) if the logic for this changes.
18
+ */
16
19
 
17
20
  var isSafeUrl = function isSafeUrl(url) {
18
21
  var urlTrimmed = url.trim();
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "23.0.1",
3
+ "version": "23.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -6,20 +6,20 @@ const colorArrayPalette = [// default row
6
6
 
7
7
  const colorArrayPaletteExtended = [// default row - first color is added programatically
8
8
  // [N800, 'Squid ink'], // default dark gray
9
- [B100, 'Blue'], // Arvo breeze
10
- [T300, 'Teal'], // Tamarama
11
- [G300, 'Green'], // Fine pine
12
- [Y200, 'Yellow'], // Pub mix
13
- [R300, 'Red'], // Poppy surprise
14
- [P300, 'Purple'], // Da' juice
15
- // row 2
16
- [N80, 'Light gray'], // Spooky ghost
17
9
  [B500, 'Dark blue'], // Chore coat
18
10
  [T500, 'Dark teal'], // Shabby chic
19
11
  [G500, 'Dark green'], // Keen green
20
12
  [Y400, 'Orange'], // Cheezy blasters
21
13
  [R500, 'Dark red'], // Dragon's blood
22
14
  [P500, 'Dark purple'], // Prince
15
+ // row 2
16
+ [N80, 'Light gray'], // Spooky ghost
17
+ [B100, 'Blue'], // Arvo breeze
18
+ [T300, 'Teal'], // Tamarama
19
+ [G300, 'Green'], // Fine pine
20
+ [Y200, 'Yellow'], // Pub mix
21
+ [R300, 'Red'], // Poppy surprise
22
+ [P300, 'Purple'], // Da' juice
23
23
  // row 3
24
24
  [N0, 'White'], [B75, 'Light blue'], // Schwag
25
25
  [T75, 'Light teal'], // Arctic chill
@@ -1,5 +1,9 @@
1
1
  import LinkifyIt from 'linkify-it';
2
2
  const whitelistedURLPatterns = [/^https?:\/\//im, /^ftps?:\/\//im, /^\//im, /^mailto:/im, /^skype:/im, /^callto:/im, /^facetime:/im, /^git:/im, /^irc6?:/im, /^news:/im, /^nntp:/im, /^feed:/im, /^cvs:/im, /^svn:/im, /^mvn:/im, /^ssh:/im, /^scp:\/\//im, /^sftp:\/\//im, /^itms:/im, /^notes:/im, /^hipchat:\/\//im, /^sourcetree:/im, /^urn:/im, /^tel:/im, /^xmpp:/im, /^telnet:/im, /^vnc:/im, /^rdp:/im, /^whatsapp:/im, /^slack:/im, /^sips?:/im, /^magnet:/im, /^#/im];
3
+ /**
4
+ * Please notify the Editor Mobile team (Slack: #help-mobilekit) if the logic for this changes.
5
+ */
6
+
3
7
  export const isSafeUrl = url => {
4
8
  const urlTrimmed = url.trim();
5
9
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "23.0.1",
3
+ "version": "23.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -8,20 +8,20 @@ var colorArrayPalette = [// default row
8
8
 
9
9
  var colorArrayPaletteExtended = [// default row - first color is added programatically
10
10
  // [N800, 'Squid ink'], // default dark gray
11
- [B100, 'Blue'], // Arvo breeze
12
- [T300, 'Teal'], // Tamarama
13
- [G300, 'Green'], // Fine pine
14
- [Y200, 'Yellow'], // Pub mix
15
- [R300, 'Red'], // Poppy surprise
16
- [P300, 'Purple'], // Da' juice
17
- // row 2
18
- [N80, 'Light gray'], // Spooky ghost
19
11
  [B500, 'Dark blue'], // Chore coat
20
12
  [T500, 'Dark teal'], // Shabby chic
21
13
  [G500, 'Dark green'], // Keen green
22
14
  [Y400, 'Orange'], // Cheezy blasters
23
15
  [R500, 'Dark red'], // Dragon's blood
24
16
  [P500, 'Dark purple'], // Prince
17
+ // row 2
18
+ [N80, 'Light gray'], // Spooky ghost
19
+ [B100, 'Blue'], // Arvo breeze
20
+ [T300, 'Teal'], // Tamarama
21
+ [G300, 'Green'], // Fine pine
22
+ [Y200, 'Yellow'], // Pub mix
23
+ [R300, 'Red'], // Poppy surprise
24
+ [P300, 'Purple'], // Da' juice
25
25
  // row 3
26
26
  [N0, 'White'], [B75, 'Light blue'], // Schwag
27
27
  [T75, 'Light teal'], // Arctic chill
@@ -1,5 +1,9 @@
1
1
  import LinkifyIt from 'linkify-it';
2
2
  var whitelistedURLPatterns = [/^https?:\/\//im, /^ftps?:\/\//im, /^\//im, /^mailto:/im, /^skype:/im, /^callto:/im, /^facetime:/im, /^git:/im, /^irc6?:/im, /^news:/im, /^nntp:/im, /^feed:/im, /^cvs:/im, /^svn:/im, /^mvn:/im, /^ssh:/im, /^scp:\/\//im, /^sftp:\/\//im, /^itms:/im, /^notes:/im, /^hipchat:\/\//im, /^sourcetree:/im, /^urn:/im, /^tel:/im, /^xmpp:/im, /^telnet:/im, /^vnc:/im, /^rdp:/im, /^whatsapp:/im, /^slack:/im, /^sips?:/im, /^magnet:/im, /^#/im];
3
+ /**
4
+ * Please notify the Editor Mobile team (Slack: #help-mobilekit) if the logic for this changes.
5
+ */
6
+
3
7
  export var isSafeUrl = function isSafeUrl(url) {
4
8
  var urlTrimmed = url.trim();
5
9
 
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "23.0.1",
3
+ "version": "23.0.2",
4
4
  "sideEffects": false
5
5
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/json-schema/index.js",
4
4
  "module": "../dist/esm/json-schema/index.js",
5
5
  "module:es2019": "../dist/es2019/json-schema/index.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/json-schema/index.d.ts"
7
8
  }
@@ -1,4 +1,7 @@
1
1
  import LinkifyIt from 'linkify-it';
2
+ /**
3
+ * Please notify the Editor Mobile team (Slack: #help-mobilekit) if the logic for this changes.
4
+ */
2
5
  export declare const isSafeUrl: (url: string) => boolean;
3
6
  export interface Match {
4
7
  schema: any;
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/json-schema/index.js",
4
4
  "module": "../dist/esm/json-schema/index.js",
5
5
  "module:es2019": "../dist/es2019/json-schema/index.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/json-schema/index.d.ts"
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "23.0.1",
3
+ "version": "23.0.2",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/schema/index.js",
4
4
  "module": "../dist/esm/schema/index.js",
5
5
  "module:es2019": "../dist/es2019/schema/index.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/schema/index.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/schema/bitbucket-schema.js",
4
4
  "module": "../dist/esm/schema/bitbucket-schema.js",
5
5
  "module:es2019": "../dist/es2019/schema/bitbucket-schema.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/schema/bitbucket-schema.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/schema/confluence-schema.js",
4
4
  "module": "../dist/esm/schema/confluence-schema.js",
5
5
  "module:es2019": "../dist/es2019/schema/confluence-schema.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/schema/confluence-schema.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/schema/default-schema.js",
4
4
  "module": "../dist/esm/schema/default-schema.js",
5
5
  "module:es2019": "../dist/es2019/schema/default-schema.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/schema/default-schema.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/schema/jira-schema.js",
4
4
  "module": "../dist/esm/schema/jira-schema.js",
5
5
  "module:es2019": "../dist/es2019/schema/jira-schema.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/schema/jira-schema.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/steps.js",
4
4
  "module": "../dist/esm/steps.js",
5
5
  "module:es2019": "../dist/es2019/steps.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/steps.d.ts"
7
8
  }
package/url/package.json CHANGED
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/utils/url.js",
4
4
  "module": "../dist/esm/utils/url.js",
5
5
  "module:es2019": "../dist/es2019/utils/url.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/utils/url.d.ts"
7
8
  }