@byu-oit/vue-decision-processing-components 9.0.0 → 9.0.1

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/ApplicantInfo.vue +39 -1
  2. package/package.json +1 -1
package/ApplicantInfo.vue CHANGED
@@ -31,6 +31,11 @@
31
31
  {{ sex }}
32
32
  |
33
33
  {{ religion }}
34
+ <div class="tooltip-container">
35
+ <span class="tooltip-trigger" :data-tooltip="religionFullName">
36
+ {{ religionCode }}
37
+ </span>
38
+ </div>
34
39
  </div>
35
40
  <div v-if="compact">
36
41
  {{ admitPeriod | yearTerm }}
@@ -70,7 +75,8 @@ export default {
70
75
  age: state => state.application.personalRecords.age,
71
76
  sex: state => state.application.personalRecords.sex,
72
77
  applicationStatus: state => state.application.applicationStatus,
73
- religion: state => state.application.mission.religion
78
+ religionCode: state => state.application.mission.religionCode,
79
+ religionFullName: state => state.application.mission.religion
74
80
  })
75
81
  }
76
82
  }
@@ -97,4 +103,36 @@ export default {
97
103
  vertical-align: middle;
98
104
  line-height: 1.55em;
99
105
  }
106
+
107
+ .tooltip-container {
108
+ position: relative;
109
+ display: inline-block;
110
+ }
111
+
112
+ .tooltip-trigger {
113
+ position: relative;
114
+ cursor: pointer;
115
+ }
116
+
117
+ .tooltip-trigger::after {
118
+ content: attr(data-tooltip);
119
+ position: absolute;
120
+ bottom: 125%;
121
+ left: 50%;
122
+ transform: translateX(-50%);
123
+ background-color: #333;
124
+ color: white;
125
+ padding: 5px 10px;
126
+ border-radius: 4px;
127
+ font-size: 14px;
128
+ white-space: nowrap;
129
+ opacity: 0;
130
+ visibility: hidden;
131
+ transition: opacity 0.3s, visibility 0.3s;
132
+ }
133
+
134
+ .tooltip-trigger:hover::after {
135
+ opacity: 1;
136
+ visibility: visible;
137
+ }
100
138
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byu-oit/vue-decision-processing-components",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "description": "Vue components shared between decision processing systems for the CES schools.",
5
5
  "dependencies": {
6
6
  "@fortawesome/fontawesome-free": "^5.15.4",