@damian-buho/support-ukraine 1.0.2 → 1.0.3

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 (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ var charitiesSchema = {
53
53
  var charities_default = [{ "id": "united24", "name": "United24", "tagline": "Official fundraising platform of Ukraine", "url": "https://u24.gov.ua", "tags": ["humanitarian"] }, { "id": "come-back-alive", "name": "Come Back Alive", "tagline": "Supporting the Ukrainian Armed Forces since 2014", "url": "https://www.comebackalive.in.ua", "tags": ["military"] }, { "id": "razom-for-ukraine", "name": "Razom for Ukraine", "tagline": "Emergency response and humanitarian aid", "url": "https://www.razomforukraine.org", "tags": ["humanitarian"] }, { "id": "ukrainian-red-cross", "name": "Ukrainian Red Cross", "tagline": "Humanitarian assistance in conflict zones", "url": "https://redcross.org.ua/en/", "tags": ["humanitarian"] }, { "id": "nova-ukraine", "name": "Nova Ukraine", "tagline": "Humanitarian aid and advocacy", "url": "https://novaukraine.org", "tags": ["humanitarian"] }, { "id": "voices-of-children", "name": "Voices of Children", "tagline": "Psychological support for children affected by war", "url": "https://voices.org.ua/en/", "tags": ["humanitarian"] }, { "id": "prytula-foundation", "name": "Prytula Foundation", "tagline": "Defence technology and equipment for Ukraine", "url": "https://prytulafoundation.org/en", "tags": ["military"] }, { "id": "army-of-drones", "name": "Army of Drones", "tagline": "Reconnaissance drones for the frontline", "url": "https://armyofdrones.com", "tags": ["military"] }, { "id": "world-central-kitchen", "name": "World Central Kitchen", "tagline": "Fresh meals for people in conflict zones", "url": "https://wck.org/relief/activation-chefs-for-ukraine/", "tags": ["humanitarian"] }, { "id": "cats-of-kyiv", "name": "Cats of Kyiv", "tagline": "Cat shelter rescuing and rehoming cats in Kyiv", "url": "https://cats.kiev.ua", "tags": ["animals"] }, { "id": "uanimals", "name": "UAnimals", "tagline": "Animal rescue and advocacy organization in Ukraine", "url": "https://uanimals.org", "tags": ["animals"] }, { "id": "hospitallers", "name": "Hospitallers Medical Battalion", "tagline": "Ukrainian voluntary paramedics providing first aid and evacuation", "url": "https://www.hospitallers.org.uk", "tags": ["humanitarian"] }, { "id": "sternenko-fund", "name": "Sternenko Fund", "tagline": "FPV drone supply for Ukrainian defence forces", "url": "https://www.sternenkofund.org", "tags": ["military"] }, { "id": "life-robots-ukraine", "name": "Life Robots Ukraine", "tagline": "Robots for demining Ukraine", "url": "https://liferobots.com.ua", "tags": ["humanitarian"] }, { "id": "sirius-shelter", "name": "Sirius", "tagline": "Ukraine's largest animal shelter for dogs and cats", "url": "https://dogcat.com.ua", "tags": ["animals"] }];
54
54
 
55
55
  // src/styles.scss
56
- var styles_default = ".support-ukraine-block{width:100%;display:flex;align-items:center;justify-content:center;font-family:system-ui,-apple-system,sans-serif;text-decoration:none;box-sizing:border-box;line-height:1.4;z-index:2147483647;background-color:#0057b7}@media(prefers-color-scheme: dark){.support-ukraine-block{background-color:gold}}.support-ukraine-block--shift{position:relative}.support-ukraine-block--overlap{position:fixed;top:0;left:0}.support-ukraine-block__link{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 .25em;text-decoration:none;flex:1;height:100%;justify-content:flex-start;text-align:left;padding:1rem 2rem;box-sizing:border-box;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}@media(prefers-color-scheme: dark){.support-ukraine-block__link{color:#000;text-shadow:0 1px 2px hsla(0,0%,100%,.4)}}.support-ukraine-block__link:hover{opacity:.9}.support-ukraine-block__prefix{white-space:nowrap}.support-ukraine-block__info{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.support-ukraine-block__all{display:inline-flex;align-items:center;text-decoration:none;padding:1rem 2rem;box-sizing:border-box;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4);white-space:nowrap;opacity:.8}@media(prefers-color-scheme: dark){.support-ukraine-block__all{color:#000;text-shadow:0 1px 2px hsla(0,0%,100%,.4)}}.support-ukraine-block__all:hover{opacity:1}.support-ukraine-block__all-ellipsis{display:none}@media(max-width: 640px){.support-ukraine-block{flex-wrap:wrap}.support-ukraine-block__link{flex:1 1 100%;padding:.75rem 1.25rem}.support-ukraine-block__info{flex:1 1 100%;white-space:normal;overflow:visible;text-overflow:unset;padding-left:1.5em}.support-ukraine-block__all{display:none}}[dir=rtl] .support-ukraine-block__link{text-align:right;justify-content:flex-end}[dir=rtl] .support-ukraine-block__all{text-align:right}@media(max-width: 640px){[dir=rtl] .support-ukraine-block__info{padding-left:0;padding-right:1.5em}}";
56
+ var styles_default = "header.support-ukraine-block{margin:0;padding:0;padding-block:0;border:none;border-radius:0;font-size:16px;width:100%;display:flex;align-items:center;justify-content:center;font-family:system-ui,-apple-system,sans-serif;text-decoration:none;box-sizing:border-box;line-height:1.4;z-index:2147483647;background:#0057b7 none}@media(prefers-color-scheme: dark){header.support-ukraine-block{background-color:gold}}header.support-ukraine-block--shift{position:relative}header.support-ukraine-block--overlap{position:fixed;top:0;left:0}header.support-ukraine-block .support-ukraine-block__link{display:inline-flex;align-items:center;flex-wrap:wrap;gap:0 .25em;text-decoration:none;flex:1;height:100%;justify-content:flex-start;text-align:left;padding:.5rem 1rem;box-sizing:border-box;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}@media(prefers-color-scheme: dark){header.support-ukraine-block .support-ukraine-block__link{color:#000;text-shadow:0 1px 2px hsla(0,0%,100%,.4)}}header.support-ukraine-block .support-ukraine-block__link:hover{opacity:.9}header.support-ukraine-block .support-ukraine-block__prefix{white-space:nowrap}header.support-ukraine-block .support-ukraine-block__info{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}header.support-ukraine-block .support-ukraine-block__all{display:inline-flex;align-items:center;text-decoration:none;padding:.5rem 1rem;box-sizing:border-box;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4);white-space:nowrap;opacity:.8}@media(prefers-color-scheme: dark){header.support-ukraine-block .support-ukraine-block__all{color:#000;text-shadow:0 1px 2px hsla(0,0%,100%,.4)}}header.support-ukraine-block .support-ukraine-block__all:hover{opacity:1}header.support-ukraine-block .support-ukraine-block__all-ellipsis{display:none}@media(max-width: 640px){header.support-ukraine-block{flex-wrap:wrap}header.support-ukraine-block .support-ukraine-block__link{flex:1 1 100%;padding:.75rem 1.25rem}header.support-ukraine-block .support-ukraine-block__info{flex:1 1 100%;white-space:normal;overflow:visible;text-overflow:unset;padding-left:1.5em}header.support-ukraine-block .support-ukraine-block__all{display:none}}[dir=rtl] .support-ukraine-block__link{text-align:right;justify-content:flex-end}[dir=rtl] .support-ukraine-block__all{text-align:right}@media(max-width: 640px){[dir=rtl] .support-ukraine-block__info{padding-left:0;padding-right:1.5em}}[data-theme=dark] header.support-ukraine-block{background-color:gold}[data-theme=dark] header.support-ukraine-block .support-ukraine-block__link{color:#000;text-shadow:0 1px 2px hsla(0,0%,100%,.4)}[data-theme=dark] header.support-ukraine-block .support-ukraine-block__all{color:#000;text-shadow:0 1px 2px hsla(0,0%,100%,.4)}[data-theme=light] header.support-ukraine-block{background-color:#0057b7}[data-theme=light] header.support-ukraine-block .support-ukraine-block__link{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}[data-theme=light] header.support-ukraine-block .support-ukraine-block__all{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}";
57
57
 
58
58
  // src/locales/index.ts
59
59
  var localeLoaders = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@damian-buho/support-ukraine",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "description": "Browser library that adds a Ukraine-support charity banner to any website.",
6
6
  "main": "dist/index.js",