@usssa/component-library 1.0.0-alpha.271 → 1.0.0-alpha.273

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Component Library v1.0.0-alpha.271
1
+ # Component Library v1.0.0-alpha.273
2
2
 
3
3
  **This library provides custom UI components for USSSA applications**
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usssa/component-library",
3
- "version": "1.0.0-alpha.271",
3
+ "version": "1.0.0-alpha.273",
4
4
  "description": "A Quasar component library project",
5
5
  "productName": "Quasar component library app",
6
6
  "author": "Engineering Team <engineering@usssa.com>",
@@ -91,9 +91,9 @@ const menuWidth = ref(0)
91
91
  const predictions = ref([])
92
92
  const resultItem = ref(
93
93
  props.selectedAddress?.length
94
- ? { street_address: props.selectedAddress }
94
+ ? { displayName: props.selectedAddress }
95
95
  : modelValue.value?.length
96
- ? { street_address: modelValue.value }
96
+ ? { displayName: modelValue.value }
97
97
  : {}
98
98
  )
99
99
  const resultsMenuRef = ref(null)
@@ -420,7 +420,7 @@ watch(
420
420
 
421
421
  <UInputTextStd
422
422
  v-if="JSON.stringify(resultItem) !== '{}'"
423
- v-model="resultItem.street_address"
423
+ v-model="resultItem.displayName"
424
424
  :dataTestId="dataTestId"
425
425
  :label="label"
426
426
  :size="size"
@@ -139,6 +139,11 @@ const toLowerCase = (str) => str?.toLowerCase()
139
139
  v-for="country in options"
140
140
  v-ripple
141
141
  class="q-my-xxs"
142
+ :class="{
143
+ 'selected-item':
144
+ selectedCountry?.code === country?.code &&
145
+ selectedCountry?.label === country?.label,
146
+ }"
142
147
  clickable
143
148
  :key="country?.code"
144
149
  @click="selectCountry(country)"
@@ -165,8 +170,10 @@ const toLowerCase = (str) => str?.toLowerCase()
165
170
 
166
171
  <style lang="sass">
167
172
  .selected-code
168
- width: 1.5rem
173
+ width: auto
169
174
  color: $dark
175
+ .selected-item
176
+ background-color: $blue-1
170
177
  .u-dropdown-list
171
178
  .q-item__section--main
172
179
  margin-left: 0px