@usssa/component-library 1.0.0-alpha.209 → 1.0.0-alpha.210

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.209
1
+ # Component Library v1.0.0-alpha.210
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.209",
3
+ "version": "1.0.0-alpha.210",
4
4
  "description": "A Quasar component library project",
5
5
  "productName": "Quasar component library App",
6
6
  "author": "Engineering Team <engineering@usssa.com>",
@@ -4,7 +4,11 @@ import { computed, onMounted, onUnmounted, ref, useSlots, watch } from 'vue'
4
4
  import { useScreenType } from '../../composables/useScreenType'
5
5
  import UBtnStd from './UBtnStd.vue'
6
6
 
7
- const emit = defineEmits(['onBackIconClick', 'hideDialog', 'handleCloseIconClick'])
7
+ const emit = defineEmits([
8
+ 'onBackIconClick',
9
+ 'hideDialog',
10
+ 'handleCloseIconClick',
11
+ ])
8
12
  const model = defineModel()
9
13
  const props = defineProps({
10
14
  closeIcon: String,
@@ -116,7 +120,7 @@ const getDialogHeaderheight = () => {
116
120
  }, 100)
117
121
  setTimeout(() => {
118
122
  // dynamically adding height by removing toolbar height of 50px
119
- const dialogWrapper = document.getElementsByClassName('dialog-wrapper')[0]
123
+ const dialogWrapper = document.getElementsByClassName('dialog-wrappers')[0]
120
124
  if (dialogWrapper) {
121
125
  dialogWrapper?.setAttribute(
122
126
  'style',
@@ -243,7 +247,7 @@ watch(
243
247
  :style="dialogStyle"
244
248
  >
245
249
  <q-card
246
- :class="`dialog-wrapper${!isMobile ? ' full-height' : ''}`"
250
+ :class="`dialog-wrappers${!isMobile ? ' full-height' : ''}`"
247
251
  :style="{
248
252
  height: isMobile ? currentDialogHeight + 'px !important' : 'auto',
249
253
  overflow: isMobile ? 'hidden' : 'auto',
@@ -415,7 +419,7 @@ watch(
415
419
  <style lang="sass">
416
420
  .dialog-default, .dialog-half
417
421
  .q-dialog__inner--left, .q-dialog__inner--right
418
- .dialog-wrapper
422
+ .dialog-wrappers
419
423
  max-height: 100vh !important
420
424
  .q-dialog__inner
421
425
  &.q-dialog__inner--right
@@ -433,7 +437,9 @@ watch(
433
437
  .heading-section
434
438
  padding: $ba
435
439
 
436
- .dialog-wrapper
440
+ .dialog-wrappers
441
+ max-height: 100vh !important
442
+ height: 100vh !important
437
443
  border-radius: $xs !important
438
444
  .divider
439
445
  border-bottom: 1.5px solid $neutral-4
@@ -453,7 +459,7 @@ watch(
453
459
  .q-dialog__inner
454
460
  padding: 0 0
455
461
  width: 100% !important
456
- .dialog-wrapper
462
+ .dialog-wrappers
457
463
  max-height: calc(100vh - 1rem)
458
464
  border-radius: $xs $xs 0 0 !important
459
465
  &.action-wrapper