@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 +6 -0
- package/dist/cjs/schema/marks/text-color.js +8 -8
- package/dist/cjs/utils/url.js +3 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/schema/marks/text-color.js +8 -8
- package/dist/es2019/utils/url.js +4 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/schema/marks/text-color.js +8 -8
- package/dist/esm/utils/url.js +4 -0
- package/dist/esm/version.json +1 -1
- package/dist/json-schema/package.json +1 -0
- package/dist/types/utils/url.d.ts +3 -0
- package/json-schema/package.json +1 -0
- package/package.json +1 -1
- package/schema/package.json +1 -0
- package/schema-bitbucket/package.json +1 -0
- package/schema-confluence/package.json +1 -0
- package/schema-default/package.json +1 -0
- package/schema-jira/package.json +1 -0
- package/steps/package.json +1 -0
- package/url/package.json +1 -0
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
|
package/dist/cjs/utils/url.js
CHANGED
@@ -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();
|
package/dist/cjs/version.json
CHANGED
@@ -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
|
package/dist/es2019/utils/url.js
CHANGED
@@ -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
|
|
package/dist/es2019/version.json
CHANGED
@@ -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
|
package/dist/esm/utils/url.js
CHANGED
@@ -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
|
|
package/dist/esm/version.json
CHANGED
package/json-schema/package.json
CHANGED
package/package.json
CHANGED
package/schema/package.json
CHANGED
package/schema-jira/package.json
CHANGED
package/steps/package.json
CHANGED