classcard-ui 0.2.538 → 0.2.541

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "classcard-ui",
3
- "version": "0.2.538",
3
+ "version": "0.2.541",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -51,6 +51,14 @@
51
51
  </a>
52
52
  </nav>
53
53
  </div>
54
+ <div ref="accounts">
55
+ Accounts section
56
+ </div>
57
+ <br>
58
+ <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
59
+ <div ref="members">
60
+ members section
61
+ </div>
54
62
  <slot></slot>
55
63
  </div>
56
64
  </div>
@@ -80,14 +88,8 @@ export default {
80
88
  methods: {
81
89
  switchTab(name) {
82
90
  this.activeTab = name;
83
- // document.getElementById(`${name}`).scrollIntoView({
84
- // behavior: "smooth",
85
- // block: "nearest",
86
- // inline: "start",
87
- // });
88
-
89
- let myElement = document.getElementById(name);
90
- let topPos = myElement.offsetTop;
91
+ let element = this.$refs[name];
92
+ let topPos = element.offsetTop;
91
93
  document.getElementById("container").scrollTop = topPos;
92
94
  },
93
95
  switchTabForMobile(index) {
@@ -58,7 +58,9 @@
58
58
  </div>
59
59
  </div>
60
60
 
61
- <div class="col-span-1 shadow ring-1 ring-gray-200">
61
+ <div
62
+ class="col-span-1 overflow-hidden rounded shadow ring-1 ring-gray-200"
63
+ >
62
64
  <div
63
65
  class="grid grid-cols-7 gap-px border-b border-gray-300 bg-gray-200 text-center text-xs font-semibold leading-6 text-gray-700"
64
66
  >
package/src/icons.js CHANGED
@@ -7,6 +7,9 @@ export default {
7
7
  "M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4",
8
8
  "office-building":
9
9
  "M4 4a2 2 0 012-2h8a2 2 0 012 2v12a1 1 0 110 2h-3a1 1 0 01-1-1v-2a1 1 0 00-1-1H9a1 1 0 00-1 1v2a1 1 0 01-1 1H4a1 1 0 110-2V4zm3 1h2v2H7V5zm2 4H7v2h2V9zm2-4h2v2h-2V5zm2 4h-2v2h2V9z",
10
+ "paper-airplane-solid":
11
+ "M10.894 2.553a1 1 0 00-1.788 0l-7 14a1 1 0 001.169 1.409l5-1.429A1 1 0 009 15.571V11a1 1 0 112 0v4.571a1 1 0 00.725.962l5 1.428a1 1 0 001.17-1.408l-7-14z",
12
+ "paper-airplane-outline": "M12 19l9 2-9-18-9 18 9-2zm0 0v-8",
10
13
  check:
11
14
  "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
12
15
  "exclamation-circle":