share_with 1.0.0

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.
@@ -0,0 +1,121 @@
1
+ ---
2
+ custom_icons:
3
+ :params:
4
+ :folder:
5
+ default: '/assets/icons/services'
6
+ type: :encoded_url_param
7
+ :format:
8
+ :type: :select
9
+ :default: 'png'
10
+ :options:
11
+ png:
12
+ :value: 'png'
13
+ svg:
14
+ :value: 'svg'
15
+ jpg:
16
+ :value: 'jpg'
17
+ :icon_size:
18
+ :type: :select
19
+ :default: 'large'
20
+ :options:
21
+ small:
22
+ :value: '<params.folder>/small/<info.classname>.<params.format>'
23
+ :attr:
24
+ width: 20
25
+ height: 20
26
+ medium:
27
+ :value: '<params.folder>/medium/<info.classname>.<params.format>'
28
+ :attr:
29
+ width: 30
30
+ height: 30
31
+ large:
32
+ :value: '<params.folder>/large/<info.classname>.<params.format>'
33
+ :attr:
34
+ width: 48
35
+ height: 48
36
+
37
+ simple_icons:
38
+ :params:
39
+ :icon_size:
40
+ :type: :select
41
+ :default: 'large'
42
+ :options:
43
+ small:
44
+ :value: 'https://cdnjs.cloudflare.com/ajax/libs/simple-icons/8.6.0/<info.si_icon>.svg'
45
+ :attr:
46
+ width: 20
47
+ height: 20
48
+ medium:
49
+ :value: 'https://cdnjs.cloudflare.com/ajax/libs/simple-icons/8.6.0/<info.si_icon>.svg'
50
+ :attr:
51
+ width: 30
52
+ height: 30
53
+ large:
54
+ :value: 'https://cdnjs.cloudflare.com/ajax/libs/simple-icons/8.6.0/<info.si_icon>.svg'
55
+ :attr:
56
+ width: 48
57
+ height: 48
58
+
59
+ bootstrap_icons:
60
+ :params:
61
+ :icon_size:
62
+ :type: :select
63
+ :default: 'large'
64
+ :options:
65
+ small:
66
+ :value: '<info.bi_icon>'
67
+ :attr:
68
+ size: '20px'
69
+ medium:
70
+ :value: '<info.bi_icon>'
71
+ :attr:
72
+ size: '30px'
73
+ large:
74
+ :value: '<info.bi_icon>'
75
+ :attr:
76
+ size: '48px'
77
+ :includes:
78
+ :service_icon:
79
+ :content:
80
+ i:
81
+ attr:
82
+ class: '<params.icon_size.value>'
83
+ style: 'font-size:<params.icon_size.attr.size>'
84
+ :content: ''
85
+
86
+ font_awesome:
87
+ :params:
88
+ :shape:
89
+ :type: :select
90
+ :default: 'none'
91
+ :options:
92
+ none:
93
+ :value: ''
94
+ square:
95
+ :value: '-square'
96
+ :icon_size:
97
+ :type: :select
98
+ :default: 'large'
99
+ :options:
100
+ small:
101
+ :value: '<info.fa_icon>'
102
+ :attr:
103
+ size: '20px'
104
+ medium:
105
+ :value: '<info.fa_icon>'
106
+ :attr:
107
+ size: '30px'
108
+ large:
109
+ :value: '<info.fa_icon>'
110
+ :attr:
111
+ size: '48px'
112
+ :includes:
113
+ :service_icon:
114
+ :content:
115
+ i:
116
+ :attr:
117
+ class: '<params.icon_size.value><params.shape.value>'
118
+ style: 'font-size:<params.icon_size.attr.size>'
119
+ :content: ''
120
+
121
+
@@ -0,0 +1,65 @@
1
+ ---
2
+ :info:
3
+ :name: 'Buy me a Coffee'
4
+ :classname: 'buymeacoffee'
5
+ :home_page: 'https://buymeacoffee.com'
6
+ :language_area: :general
7
+ :description: |-
8
+ A free, fast, and beautiful way to receive one-time and monthly support from your fans.
9
+ :link: 'https://www.buymeacoffee.com/<params.code>'
10
+ :inherit_from: '_base'
11
+ :si_icon: 'buymeacoffee'
12
+ :fa_icon: 'fas fa-coffee'
13
+ :bi_icon: 'bi-cup-hot'
14
+ :extend_with:
15
+ - 'icons.simple_icons'
16
+
17
+ :params:
18
+ :code:
19
+ :type: :encoded_url_param
20
+ :default: ''
21
+
22
+ :slogan:
23
+ :type: :plain_text
24
+ :default: 'Buy Me A Coffee'
25
+
26
+ :font:
27
+ :type: :select
28
+ :default: 'default'
29
+ :options:
30
+ default: 'Default'
31
+ arial: 'Arial'
32
+ lato: 'Lato'
33
+
34
+ :color:
35
+ :type: :select
36
+ :default: 'yellow'
37
+ :options:
38
+ orange: 'Orange'
39
+ yellow: 'Yellow'
40
+ violet: 'Violet'
41
+ black: 'Black'
42
+ white: 'White'
43
+ blue: 'Blue'
44
+ green: 'Green'
45
+ red: 'Red'
46
+ pink: 'Pink'
47
+
48
+
49
+ :templates:
50
+ :button:
51
+ :content:
52
+ a:
53
+ :attr:
54
+ href: '<info.link>'
55
+ target: '_blank'
56
+ :content:
57
+ img:
58
+ :attr:
59
+ src: 'https://cdn.buymeacoffee.com/buttons/<params.font.key>-<params.color.key>.png'
60
+ alt: '<params.slogan>'
61
+ style: 'height: 51px !important;width: 217px !important;'
62
+
63
+ #<a href="https://www.buymeacoffee.com/DCkNYFg" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/arial-green.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>
64
+ #<a href="https://www.buymeacoffee.com/DCkNYFg" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-yellow.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>
65
+ #
@@ -0,0 +1,66 @@
1
+ ---
2
+ :info:
3
+ :name: 'Creative Commons'
4
+ :classname: 'creative-common'
5
+ :home_page: 'https://creativecommons.org'
6
+ :language_area: :general
7
+ :link: 'https://creativecommons.org/licenses/<params.license_code.key>/<params.license_version.value>/'
8
+ :description: 'Creative Commons License'
9
+ :cc_icon: 'https://i.creativecommons.org/l/<params.license_code.key>/4.0/<params.icon_size.value>.png'
10
+
11
+ :params:
12
+ :license_code:
13
+ :type: :select
14
+ :default: 'by'
15
+ :options:
16
+ by: 'Attribution'
17
+ by-nd: 'Attribution-NoDerivative'
18
+ by-sa: 'Attribution-ShareAlike'
19
+ by-nc: 'Attribution-NoCommercial'
20
+ by-nc-nd: 'Attribution-NoCommercial-NoDerivative'
21
+ by-nc-sa: 'Attribution-NoCommercial-ShareAlike'
22
+ :icon_size:
23
+ :type: :select
24
+ :default: 'big'
25
+ :options:
26
+ big: '88x31'
27
+ small: '80x15'
28
+ :license_version:
29
+ :type: :select
30
+ :default: 'v40'
31
+ :options:
32
+ v30: '3.0'
33
+ v35: '3.5'
34
+ v40: '4.0'
35
+
36
+ :includes:
37
+ :link:
38
+ :content:
39
+ a:
40
+ :attr:
41
+ href: '<info.link>'
42
+ rel: 'license'
43
+ :content: 'Creative Commons <params.license_code.value> <params.license_version.value> International License'
44
+ :text:
45
+ :content: 'This work is licensed under a <includes.link>'
46
+ :icon:
47
+ :content:
48
+ a:
49
+ :attr:
50
+ rel: 'license'
51
+ href: '<info.link>'
52
+ :content:
53
+ img:
54
+ :attr:
55
+ alt: 'Creative Commons License'
56
+ style: 'border-width:0'
57
+ src: '<info.cc_icon>'
58
+
59
+ :templates:
60
+ :icon_and_text:
61
+ :content: '<includes.icon> <includes.text>'
62
+ :icon:
63
+ :content: '<includes.icon>'
64
+ :text:
65
+ :content: '<includes.text>'
66
+
@@ -0,0 +1,24 @@
1
+ ---
2
+ :info:
3
+ :name: 'Email'
4
+ :classname: 'email'
5
+ :home_page: 'none'
6
+ :description: 'Simple mailto protocol'
7
+ :link: 'mailto:<params.email>?subject=<params.subject>&body=<params.body>'
8
+ :inherit_from: '_base'
9
+ :si_icon: 'gmail'
10
+ :fa_icon: 'fas fa-envelope'
11
+ :bi_icon: 'bi-envelope'
12
+ :extend_with:
13
+ - 'icons.font_awesome'
14
+
15
+ :params:
16
+ :subject:
17
+ :type: :encoded_url_param
18
+ :default: ''
19
+ :email:
20
+ :type: :plain_text
21
+ :default: ''
22
+ :body:
23
+ :type: :encoded_url_param
24
+ :default: ''
@@ -0,0 +1,89 @@
1
+ ---
2
+ :info:
3
+ :name: 'Facebook'
4
+ :classname: 'facebook'
5
+ :home_page: 'https://facebook.com'
6
+ :description: ''
7
+ :link: 'https://www.facebook.com/sharer.php?u=<params.url>&t=<params.title>'
8
+ :inherit_from: '_base'
9
+ :si_icon: 'facebook'
10
+ :fa_icon: 'fab fa-facebook'
11
+ :bi_icon: 'bi-facebook'
12
+ :extend_with:
13
+ - 'icons.simple_icons'
14
+
15
+ :params:
16
+ :data_url:
17
+ :type: :plain_text
18
+ :default: ''
19
+ :data_layout:
20
+ :type: :select
21
+ :default: 'button_count'
22
+ :options:
23
+ box_count: 'Box Count'
24
+ button_count: 'Button Count'
25
+ button: 'Button'
26
+ :data_size:
27
+ :type: :select
28
+ :default: 'small'
29
+ :options:
30
+ small: 'Small'
31
+ large: 'Large'
32
+ :data_action:
33
+ :type: :select
34
+ :default: 'like'
35
+ :options:
36
+ like: 'Like'
37
+ recommend: 'Recommend'
38
+ :data_share:
39
+ :type: :boolean
40
+ :default: false
41
+ :data_show_faces:
42
+ :type: :boolean
43
+ :default: false
44
+
45
+ :includes:
46
+ :fb_root:
47
+ :content:
48
+ div:
49
+ :attr:
50
+ id: 'fb-root'
51
+ :content: ''
52
+ :js:
53
+ :content:
54
+ script:
55
+ :content: |-
56
+ (function(d, s, id) {
57
+ var js, fjs = d.getElementsByTagName(s)[0];
58
+ if (d.getElementById(id)) return;
59
+ js = d.createElement(s); js.id = id;
60
+ js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.1';
61
+ fjs.parentNode.insertBefore(js, fjs);
62
+ }(document, 'script', 'facebook-jssdk'));
63
+
64
+ :templates:
65
+ :share_button:
66
+ :requires: :head_js
67
+ :content:
68
+ div:
69
+ :attr:
70
+ class: 'fb-share-button'
71
+ data-href: '<params.data_url>'
72
+ data-layout: '<params.data_layout.key>'
73
+ data-size: '<params.data_size.key>'
74
+ :content: ''
75
+ :like_button:
76
+ :requires: :head_js
77
+ :content:
78
+ div:
79
+ :attr:
80
+ class: 'fb-like'
81
+ data-href: '<params.data_url>'
82
+ data_layout: '<params.data_layout.key>'
83
+ data_action: '<params.data_action.key>'
84
+ data_share: '<params.data_share>'
85
+ data_show_faces: '<params.data_show_faces>'
86
+ :content: ''
87
+ :head_js:
88
+ :content: '<includes.fb_root> <includes.js>'
89
+
@@ -0,0 +1,69 @@
1
+ ---
2
+ :info:
3
+ :name: 'Flipboard'
4
+ :classname: 'flipboard'
5
+ :home_page: 'https://flipboard.com'
6
+ :language_area: :general
7
+ :description: |-
8
+ Flipboard was founded as one place to find the stories for your day,
9
+ bringing together your favorite news sources with social content,
10
+ to give a deep view into everything from political issues to technology
11
+ trends to travel inspiration.
12
+ :link: 'https://share.flipboard.com/bookmarklet/popout?v=2&title=<params.title>&url=<params.url>'
13
+ :inherit_from: '_base'
14
+ :si_icon: 'flipboard'
15
+ :fa_icon: 'fab fa-flipboard'
16
+ :bi_icon: 'bi-box-arrow-up'
17
+ :extend_with:
18
+ - 'icons.simple_icons'
19
+
20
+ :params:
21
+ :size:
22
+ :type: :select
23
+ :default: medium
24
+ :options:
25
+ small:
26
+ :value: 's'
27
+ medium:
28
+ :value: 'm'
29
+ large:
30
+ :value: 'l'
31
+ :color:
32
+ :type: :select
33
+ :default: black
34
+ :options:
35
+ black:
36
+ :value: 'b'
37
+ red:
38
+ :value: 'r'
39
+ white:
40
+ :value: 'w'
41
+ :shape:
42
+ :type: :select
43
+ :default: round
44
+ :options:
45
+ round:
46
+ :value: 'r'
47
+ squared:
48
+ :value: 's'
49
+
50
+ :templates:
51
+ :head_js:
52
+ :content:
53
+ script:
54
+ :attr:
55
+ src: 'https://cdn.flipboard.com/web/button/js/flbuttons.min.js'
56
+ type: 'text/javascript'
57
+ :content: ''
58
+ :button_js:
59
+ :requires: :head_js
60
+ :content:
61
+ a:
62
+ :attr:
63
+ data-flip-widget: 'shareflip'
64
+ href: '<params.url>'
65
+ :content:
66
+ img:
67
+ :attr:
68
+ src: 'https://cdn.flipboard.com/badges/flipboard_<params.size.value><params.color.value><params.shape.value>w.png'
69
+
@@ -0,0 +1,70 @@
1
+ ---
2
+ :info:
3
+ :name: 'Linkedin'
4
+ :classname: 'linkedin'
5
+ :home_page: 'https://www.linkedin.com'
6
+ :description: 'LinkedIn is a business and employment-focused social media platform that works through websites and mobile apps'
7
+ :link: 'https://www.linkedin.com/shareArticle?mini=true&url=<params.url>&title=<params.title>&summary=<params.summary>&source=<params.source>'
8
+ :inherit_from: '_base'
9
+ :si_icon: 'linkedin'
10
+ :fa_icon: 'fab fa-linkedin'
11
+ :bi_icon: 'bi-linkedin'
12
+ :extend_with:
13
+ - 'icons.simple_icons'
14
+
15
+ :params:
16
+ :summary:
17
+ :type: :encoded_url_param
18
+ :default: ''
19
+ :source:
20
+ :type: :encoded_url_param
21
+ :default: ''
22
+ :data_url:
23
+ :type: :plain_text
24
+ :default: ''
25
+ :data_language:
26
+ :type: :select
27
+ :default: 'en_US'
28
+ :options:
29
+ en_US: 'English'
30
+ ar_AE: 'Arabic'
31
+ zh_CN: 'Chinese - Simplified'
32
+ zh_TW: 'Chinese - Traditional'
33
+ cs_CZ: 'Czech'
34
+ da_DK: 'Danish'
35
+ nl_NL: 'Dutch'
36
+ fr_FR: 'French'
37
+ de_DE: 'German'
38
+ in_ID: 'Indonesian'
39
+ it_IT: 'Italian'
40
+ ja_JP: 'Japanese'
41
+ ko_KR: 'Korean'
42
+ ms_MY: 'Malay'
43
+ no_NO: 'Norwegian'
44
+ pl_PL: 'Polish'
45
+ pt_BR: 'Portuguese'
46
+ ro_RO: 'Romanian'
47
+ ru_RU: 'Russian'
48
+ es_ES: 'Spanish'
49
+ sv_SE: 'Swedish'
50
+ tl_PH: 'Tagalog'
51
+ th_TH: 'Thai'
52
+ tr_TR: 'Turkish'
53
+
54
+ :templates:
55
+ :button:
56
+ :requires: :head_js
57
+ :content:
58
+ script:
59
+ :attr:
60
+ type: 'IN/Share'
61
+ data-url: '<params.data_url>'
62
+ :content: ''
63
+ :head_js:
64
+ :content:
65
+ script:
66
+ :attr:
67
+ src: '//platform.linkedin.com/in.js'
68
+ type: 'text/javascript'
69
+ lang: '<params.data_language.key>'
70
+ :content: ''
@@ -0,0 +1,18 @@
1
+ ---
2
+ :info:
3
+ :name: 'Odnoklassniki'
4
+ :classname: 'odnoklassniki'
5
+ :home_page: 'https://ok.ru'
6
+ :language_area: :russian
7
+ :description: |-
8
+ Odnoklassniki, OK.ru is a social network service for classmates and old friends.
9
+ It is especially used in Russia and former Soviet Republics.
10
+ The site was developed by Albert Popkov and launched on March 4, 2006.
11
+ :link: 'https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=<params.url>'
12
+ :inherit_from: '_base'
13
+ :si_icon: 'odnoklassniki'
14
+ :fa_icon: 'fas fa-odnoklassniki'
15
+ :bi_icon: 'bi-person'
16
+ :extend_with:
17
+ - 'icons.simple_icons'
18
+
@@ -0,0 +1,78 @@
1
+ ---
2
+ :info:
3
+ :name: 'Pinterest'
4
+ :classname: 'pinterest'
5
+ :home_page: 'https://pinterest.com'
6
+ :description: ''
7
+ :link: 'https://pinterest.com/pin/create/button/?url=<params.url>&description=<params.title>&media=<params.media_url>'
8
+ :inherit_from: '_base'
9
+ :si_icon: 'pinterest'
10
+ :fa_icon: 'fab fa-pinterest'
11
+ :bi_icon: 'bi-pinterest'
12
+ :extend_with:
13
+ - 'icons.simple_icons'
14
+
15
+ :params:
16
+ :media_url:
17
+ :type: :encoded_url_param
18
+ :default: ''
19
+ :icon_size:
20
+ :type: :select
21
+ :default: 16
22
+ :options:
23
+ 16: 'Small'
24
+ 32: 'Large'
25
+ :data_counter:
26
+ :type: :select
27
+ :default: 'above'
28
+ :options:
29
+ none: 'None'
30
+ beside: 'Beside'
31
+ above: 'Above'
32
+ :data_pin_tall:
33
+ :type: :boolean
34
+ :default: false
35
+ :data_pin_round:
36
+ :type: :boolean
37
+ :default: false
38
+
39
+ :templates:
40
+ :button_hover:
41
+ :content:
42
+ script:
43
+ :attr:
44
+ async:
45
+ defer:
46
+ data-pin-hover: 'true'
47
+ data-pin-tall: '<params.data_pin_tall>'
48
+ data-pin-round: '<params.data_pin_round>'
49
+ src: '//assets.pinterest.com/js/pinit.js'
50
+ :content: ''
51
+ :button_any_image:
52
+ :requires: :head_js
53
+ :content:
54
+ a:
55
+ :attr:
56
+ href: '<params.link>'
57
+ data-pin-do: 'buttonBookmark'
58
+ :content: ''
59
+ :button_one_image:
60
+ :requires: :head_js
61
+ :content:
62
+ a:
63
+ :attr:
64
+ href: '<params.link>'
65
+ data-pin-do: 'buttonPin'
66
+ data-pin-count: '<params.data_counter.key>'
67
+ data-pin-tall: '<params.data_pin_tall>'
68
+ data-pin-round: '<params.data_pin_round>'
69
+ :content: ''
70
+ :head_js:
71
+ :content:
72
+ script:
73
+ :attr:
74
+ type: 'text/javascript'
75
+ async:
76
+ defer:
77
+ src: '//assets.pinterest.com/js/pinit.js'
78
+ :content: ''
@@ -0,0 +1,48 @@
1
+ :info:
2
+ :name: 'Pocket'
3
+ :classname: 'pocket'
4
+ :home_page: 'https://getpocket.com'
5
+ :language_area: :general
6
+ :description: |-
7
+ Pocket was founded in 2007 by Nate Weiner to help people save interesting articles,
8
+ videos and more from the web for later enjoyment. Once saved to Pocket, the list of
9
+ content is visible on any device - phone, tablet or computer. It can be viewed while
10
+ waiting in line, on the couch, during commutes or travel - even offline.
11
+ :link: 'https://getpocket.com/save?url=<params.url>&title=<params.title>'
12
+ :inherit_from: '_base'
13
+ :si_icon: 'pocket'
14
+ :fa_icon: 'fab fa-get-pocket'
15
+ :bi_icon: 'bi-arrow-down-square'
16
+ :extend_with:
17
+ - 'icons.simple_icons'
18
+
19
+ :params:
20
+ :data_count:
21
+ :type: :select
22
+ :default: horizontal
23
+ :options:
24
+ none: 'None'
25
+ horizontal: 'Horizontal'
26
+ vertical: 'Vertical'
27
+ :data_url:
28
+ :default: ''
29
+ :type: :plain_text
30
+
31
+ :templates:
32
+ :head_js:
33
+ :content:
34
+ script:
35
+ :attr:
36
+ type: 'text/javascript'
37
+ :content: '!function(d,i){if(!d.getElementById(i)){var j=d.createElement("script");j.id=i;j.src="https://widgets.getpocket.com/v1/j/btn.js?v=1";var w=d.getElementById(i);d.body.appendChild(j);}}(document,"pocket-btn-js");'
38
+ :button_js:
39
+ :requires: :head_js
40
+ :content:
41
+ a:
42
+ :attr:
43
+ href: 'https://getpocket.com/save'
44
+ data-pocket-label: '<info.name>'
45
+ data-pocket-count: '<params.data_count.key>'
46
+ data-save-url: '<params.data_url>'
47
+ data-lang: 'en'
48
+ class: 'pocket-btn'
@@ -0,0 +1,17 @@
1
+ ---
2
+ :info:
3
+ :name: 'Reddit'
4
+ :classname: 'reddit'
5
+ :home_page: 'https://www.redditinc.com'
6
+ :description: |-
7
+ Reddit is home to thousands of communities, endless conversation, and authentic human connection.
8
+ Whether you're into breaking news, sports, TV fan theories, or a never-ending stream of the internet's
9
+ cutest animals, there's a community on Reddit for you.
10
+ :link: 'https://reddit.com/submit?url=<params.url>&title=<params.title>'
11
+ :inherit_from: '_base'
12
+ :si_icon: 'reddit'
13
+ :fa_icon: 'fab fa-reddit'
14
+ :bi_icon: 'bi-reddit'
15
+ :extend_with:
16
+ - 'icons.simple_icons'
17
+
@@ -0,0 +1,14 @@
1
+ ---
2
+ :info:
3
+ :name: 'Telegram'
4
+ :classname: 'telegram'
5
+ :language_area: :general
6
+ :description: |-
7
+ Telegram is a cloud-based instant messaging and voice over IP service.
8
+ :link: 'https://telegram.me/share/url?url=<params.url>&text=<params.title>'
9
+ :inherit_from: '_base'
10
+ :si_icon: 'telegram'
11
+ :fa_icon: 'fab fa-telegram-plane'
12
+ :bi_icon: 'bi-telegram'
13
+ :extend_with:
14
+ - 'icons.simple_icons'