@thinkpixellab-public/px-vue 3.0.72 → 3.0.74

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.
@@ -121,7 +121,6 @@ export default {
121
121
  </script>
122
122
 
123
123
  <style lang="scss">
124
- @import '@/styles/include.scss';
125
124
  .px-arrow {
126
125
  position: relative;
127
126
  }
@@ -117,11 +117,7 @@ export default {
117
117
 
118
118
  scrollToElement(el) {
119
119
  if (this.$refs.scroller) {
120
- console.log(`el.offsetLeft: ${el.offsetLeft}`);
121
-
122
- //const left = el.offsetLeft - this.$refs.scroller.offsetWidth;
123
120
  const left = el.offsetLeft - this.$refs.scroller.offsetWidth / 2;
124
-
125
121
  this.$refs.scroller.scrollTo({
126
122
  left: left,
127
123
  behavior: 'smooth',
@@ -66,7 +66,6 @@ export default {
66
66
  </script>
67
67
 
68
68
  <style lang="scss">
69
- @import '@/styles/include.scss';
70
69
  .px-measure-container {
71
70
  opacity: 0;
72
71
  pointer-events: none;
@@ -88,7 +88,6 @@ export default {
88
88
  </script>
89
89
 
90
90
  <style lang="scss">
91
- @import '@/styles/include.scss';
92
91
  .px-sticky {
93
92
  position: relative;
94
93
 
@@ -3,7 +3,7 @@
3
3
  provided by vue-inline-svg, this component will ensure a consistent approach to sizing and
4
4
  perform basic string replacements.
5
5
 
6
- @import PxSvg from '@thinkpixellab-public/px-vue/components/PxSvg.vue';
6
+ import PxSvg from '@thinkpixellab-public/px-vue/components/PxSvg.vue';
7
7
 
8
8
  // show the icon at it's natural size
9
9
  <px-svg src="require('~assets/icons/arrow.svg')" />
@@ -79,7 +79,7 @@ export default {
79
79
  </script>
80
80
 
81
81
  <style lang="scss">
82
- @import '@/styles/include.scss';
82
+ @use '../styles/px.scss' as *;
83
83
 
84
84
  // background change transition
85
85
  @include vue-transition-fade(px-transition-item__fade, $dur: 0.5s);
@@ -109,7 +109,6 @@ export default {
109
109
  </script>
110
110
 
111
111
  <style lang="scss">
112
- //@import '@/styles/include.scss';
113
112
  .demo-px-contain {
114
113
  // add styles here
115
114
  }
@@ -63,8 +63,6 @@ export default {
63
63
  </script>
64
64
 
65
65
  <style lang="scss">
66
- // @import '@/styles/include.scss';
67
- // @import '@/styles/site-utils.scss';
68
66
  .demo-picker {
69
67
  &__main {
70
68
  display: grid;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkpixellab-public/px-vue",
3
- "version": "3.0.72",
3
+ "version": "3.0.74",
4
4
  "description": "General purpose Vue components and helpers that can be used across projects.",
5
5
  "author": "Pixel Lab",
6
6
  "license": "MIT",