vue-intergrall-plugins 1.1.55 → 1.1.57

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.
@@ -3324,7 +3324,7 @@ var __vue_render__$z = function __vue_render__() {
3324
3324
  }) + ">" + _vm._ssrList(_vm.allEmojis.categories, function (category, indexCategoryHeader) {
3325
3325
  return "<span" + _vm._ssrAttr("title", category.name) + _vm._ssrClass("sm-emoji-link", {
3326
3326
  active: _vm.categoriaSelecionada == category.id
3327
- }) + ">" + _vm._s(category.svg) + "</span>";
3327
+ }) + ">" + _vm._s("<span>" + category.svg + "</span>") + "</span>";
3328
3328
  }) + "</div> <div class=\"sm-emoji-scroll\"><div class=\"sm-emoji-search\"" + _vm._ssrStyle(null, null, {
3329
3329
  display: _vm.fullView ? '' : 'none'
3330
3330
  }) + "><input type=\"text\" name=\"emoji-search\"" + _vm._ssrAttr("value", _vm.search) + "></div> " + (!_vm.filteredList.length && _vm.fullView ? _vm._ssrList(_vm.allEmojis.categories, function (category, indexCategory) {
@@ -3342,8 +3342,8 @@ var __vue_staticRenderFns__$z = [];
3342
3342
  /* style */
3343
3343
  var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3344
3344
  if (!inject) return;
3345
- inject("data-v-3ac96181_0", {
3346
- source: ".box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.sm-emoji-picker{width:306px;height:250px;z-index:2;border:1px solid #ccc;border-radius:5px;background-color:#fff;display:flex;flex-direction:column}.sm-emoji-picker.small{height:40px!important}.sm-emoji-picker.small .sm-emoji-scroll{height:100%;max-height:100%}.sm-emoji-picker.small .sm-emoji-scroll .sm-emoji-group.small{justify-content:center;align-items:center;flex-wrap:nowrap}.add-more{--size:26px;background:#f0f0f0;border:1px solid #ccc;border-radius:50%;width:var(--size);min-width:var(--size);height:var(--size);min-height:var(--size);display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:700}.sm-emoji-header{width:100%;display:flex;align-items:center;justify-content:space-between;margin:10px 0;border-bottom:1px solid #ccc}.sm-emoji-link{padding:0 5px 5px 5px;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .2s;border-bottom:2px solid transparent}.sm-emoji-link a{margin:0;padding:0;fill:#999}.sm-emoji-link.active a>svg,.sm-emoji-link:hover a>svg{opacity:1;fill:#666}.sm-emoji-link.active a>svg[stroke-linecap],.sm-emoji-link:hover a>svg[stroke-linecap]{opacity:1;fill:transparent;stroke:#666}.sm-emoji-link.active{border-bottom:2px solid #666}.sm-emoji-scroll{width:100%;height:calc(100% - 52px);max-height:calc(100% - 52px);scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:8px;position:relative}.sm-emoji-scroll::-webkit-scrollbar{width:8px}.sm-emoji-scroll::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.sm-emoji-scroll::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#666}.sm-emoji-scroll::-webkit-scrollbar-thumb:hover{background-color:#555}.sm-emoji-search{width:100%;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:1;background:#fff;padding-bottom:10px}.sm-emoji-search>input{width:90%;outline:0;border:1px solid #ccc;border-radius:2.5px;padding:5px 10px;transition:border .2s}.sm-emoji-search>input:active,.sm-emoji-search>input:focus,.sm-emoji-search>input:hover{outline:0;border:1px solid #999}.sm-emoji-search.sticky{position:fixed;width:310px;background-color:#fff}.sm-emoji-selection{width:100%;margin-bottom:10px}.sm-emoji-title{width:100%;display:flex;justify-content:flex-start;align-items:center;background-color:#f7f7f7;padding:5px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sm-emoji-title svg{margin:0 5px}.sm-emoji-group{width:100%;display:flex;flex-wrap:wrap;font-size:22px}.sm-emoji-item{cursor:pointer;opacity:.8;transition:opacity .2s;margin:3.5px}.sm-emoji-item:hover{opacity:1}",
3345
+ inject("data-v-fc691414_0", {
3346
+ source: ".box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.sm-emoji-picker{width:306px;height:250px;z-index:2;border:1px solid #ccc;border-radius:5px;background-color:#fff;display:flex;flex-direction:column}.sm-emoji-picker.small{height:40px!important}.sm-emoji-picker.small .sm-emoji-scroll{height:100%;max-height:100%}.sm-emoji-picker.small .sm-emoji-scroll .sm-emoji-group.small{justify-content:center;align-items:center;flex-wrap:nowrap}.add-more{--size:26px;background:#f0f0f0;border:1px solid #ccc;border-radius:50%;width:var(--size);min-width:var(--size);height:var(--size);min-height:var(--size);display:flex;justify-content:center;align-items:center;font-size:16px;font-weight:700}.sm-emoji-header{width:100%;display:flex;align-items:center;justify-content:space-between;margin:10px 0;border-bottom:1px solid #ccc}.sm-emoji-link{padding:0 5px 5px 5px;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .2s;border-bottom:2px solid transparent}.sm-emoji-link>span svg{margin:0;padding:0;fill:#999}.sm-emoji-header .sm-emoji-link:nth-last-child(-n+2)>span svg,.sm-emoji-link>span svg[stroke]{fill:none!important}.sm-emoji-link.active>span svg:not([stroke]),.sm-emoji-link:hover>span svg:not([stroke]){opacity:1;fill:#666}.sm-emoji-link.active>span svg[stroke],.sm-emoji-link:hover>span svg[stroke]{opacity:1;fill:none!important;stroke:#666}.sm-emoji-scroll{width:100%;height:calc(100% - 52px);max-height:calc(100% - 52px);scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:8px;position:relative}.sm-emoji-scroll::-webkit-scrollbar{width:8px}.sm-emoji-scroll::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.sm-emoji-scroll::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#666}.sm-emoji-scroll::-webkit-scrollbar-thumb:hover{background-color:#555}.sm-emoji-search{width:100%;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:1;background:#fff;padding-bottom:10px}.sm-emoji-search>input{width:90%;outline:0;border:1px solid #ccc;border-radius:2.5px;padding:5px 10px;transition:border .2s}.sm-emoji-search>input:active,.sm-emoji-search>input:focus,.sm-emoji-search>input:hover{outline:0;border:1px solid #999}.sm-emoji-search.sticky{position:fixed;width:310px;background-color:#fff}.sm-emoji-selection{width:100%;margin-bottom:10px}.sm-emoji-title{width:100%;display:flex;justify-content:flex-start;align-items:center;background-color:#f7f7f7;padding:5px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sm-emoji-title svg{margin:0 5px}.sm-emoji-group{width:100%;display:flex;flex-wrap:wrap;font-size:22px}.sm-emoji-item{cursor:pointer;opacity:.8;transition:opacity .2s;margin:3.5px}.sm-emoji-item:hover{opacity:1}",
3347
3347
  map: undefined,
3348
3348
  media: undefined
3349
3349
  });
@@ -3351,7 +3351,7 @@ var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3351
3351
  /* scoped */
3352
3352
  var __vue_scope_id__$z = undefined;
3353
3353
  /* module identifier */
3354
- var __vue_module_identifier__$z = "data-v-3ac96181";
3354
+ var __vue_module_identifier__$z = "data-v-fc691414";
3355
3355
  /* functional template */
3356
3356
  var __vue_is_functional_template__$z = false;
3357
3357
  /* style inject shadow dom */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.1.55",
3
+ "version": "1.1.57",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -9,7 +9,7 @@
9
9
  :title="category.name"
10
10
  :class="{ active: categoriaSelecionada == category.id }"
11
11
  @click="pickerHeaderHandler($event, category.id)"
12
- v-html="category.svg"
12
+ v-html="`<span>${category.svg}</span>`"
13
13
  ></span>
14
14
  </div>
15
15
  <div class="sm-emoji-scroll" ref="sm-scroll">
@@ -402,25 +402,30 @@ export default {
402
402
  transition: all 200ms;
403
403
  border-bottom: 2px solid transparent;
404
404
  }
405
- .sm-emoji-link a {
405
+ .sm-emoji-link > span svg {
406
406
  margin: 0;
407
407
  padding: 0;
408
408
  fill: #999;
409
409
  }
410
- .sm-emoji-link:hover a > svg,
411
- .sm-emoji-link.active a > svg {
410
+ /* force no-fill for stroke-based icons and the last two header svgs */
411
+ .sm-emoji-link > span svg[stroke],
412
+ .sm-emoji-header .sm-emoji-link:nth-last-child(-n+2) > span svg {
413
+ fill: none !important;
414
+ }
415
+
416
+ /* hover/active: filled icons get fill; stroke icons keep no fill and change stroke color */
417
+ .sm-emoji-link:hover > span svg:not([stroke]),
418
+ .sm-emoji-link.active > span svg:not([stroke]) {
412
419
  opacity: 1;
413
420
  fill: #666;
414
421
  }
415
- .sm-emoji-link:hover a > svg[stroke-linecap],
416
- .sm-emoji-link.active a > svg[stroke-linecap] {
422
+
423
+ .sm-emoji-link:hover > span svg[stroke],
424
+ .sm-emoji-link.active > span svg[stroke] {
417
425
  opacity: 1;
418
- fill: transparent;
426
+ fill: none !important;
419
427
  stroke: #666;
420
428
  }
421
- .sm-emoji-link.active {
422
- border-bottom: 2px solid #666;
423
- }
424
429
 
425
430
  .sm-emoji-scroll {
426
431
  width: 100%;