@usssa/component-library 1.0.0-alpha.147 → 1.0.0-alpha.149

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.
@@ -173,7 +173,7 @@ const handleClose = () => {
173
173
  const handleInput = (event) => {
174
174
  if (event.type == 'input' && props.useInput && $screen.value.isMobile) {
175
175
  let inputElement = document.querySelector('.q-field__input')
176
- event.preventDefault();
176
+ event.preventDefault()
177
177
  inputElement.value = ''
178
178
  handleClick(event)
179
179
  }
@@ -348,6 +348,7 @@ watch(
348
348
  <USheet
349
349
  v-if="$screen.isMobile"
350
350
  v-model:dialogs="dialogs"
351
+ dialogClass="select-sheet"
351
352
  :heading="sheetHeading"
352
353
  :heading-caption="caption"
353
354
  :show-action-buttons="true"
@@ -478,6 +479,27 @@ watch(
478
479
  .q-field__prepend
479
480
  padding-right: $xs
480
481
 
482
+ .select-sheet
483
+ .sheet-card-wrapper .q-card__section .q-item
484
+ padding:$ba $ba !important
485
+ margin-bottom: $xs !important
486
+ border-radius: $sm !important
487
+ align-items: flex-start !important
488
+ .label
489
+ line-height: $ms !important
490
+ .q-icon
491
+ font-size: $ms !important
492
+ .q-focus-helper
493
+ display: none
494
+
495
+ .sheet-action-wrapper .action-buttons
496
+ gap: $ba !important
497
+ padding: $ba !important
498
+
499
+ .sheet-card-wrapper .main-content-dialog
500
+ padding-top: $xs !important
501
+ padding-bottom: $xs !important
502
+
481
503
  .u-options-menu
482
504
  border-radius: $xs
483
505
  box-shadow: $shadow-2
@@ -488,24 +510,4 @@ watch(
488
510
  .u-options-menu
489
511
  .q-item:last-child
490
512
  margin-bottom: $xxs
491
-
492
- .sheet-card-wrapper .q-card__section .q-item
493
- padding:$ba $ba !important
494
- margin-bottom: $xs !important
495
- border-radius: $sm !important
496
- align-items: flex-start !important
497
- .label
498
- line-height: $ms !important
499
- .q-icon
500
- font-size: $ms !important
501
- .q-focus-helper
502
- display: none
503
-
504
- .sheet-action-wrapper .action-buttons
505
- gap: $ba !important
506
- padding: $ba !important
507
-
508
- .sheet-card-wrapper .main-content-dialog
509
- padding-top: $xs !important
510
- padding-bottom: $xs !important
511
513
  </style>
@@ -2,7 +2,7 @@
2
2
  import { onUnmounted, watch } from 'vue'
3
3
  import UBtnStd from './UBtnStd.vue'
4
4
 
5
- const emit = defineEmits(['onBackIconClick'])
5
+ const emit = defineEmits(['onBackIconClick', 'onCloseDialog'])
6
6
  const dialogs = defineModel('dialogs', { default: () => [], type: Array })
7
7
  const props = defineProps({
8
8
  closeIcon: {
@@ -80,6 +80,7 @@ const handleCloseDialog = (index) => {
80
80
  setTimeout(() => {
81
81
  dialogs.value.splice(index, 1)
82
82
  }, 500)
83
+ emit('onCloseDialog')
83
84
  }
84
85
 
85
86
  const onDragEnd = () => {
@@ -194,7 +195,7 @@ watch(
194
195
  </div>
195
196
 
196
197
  <q-card-section class="column q-pt-none q-pb-xs q-px-ba q-mt-ba">
197
- <div class="row items-start justify-between no-wrap">
198
+ <div class="row items-start justify-between no-wrap heading-row">
198
199
  <div class="heading-wrapper row">
199
200
  <div
200
201
  class="flex items-center justify-center dialog-heading-container"
@@ -9,8 +9,6 @@ const props = defineProps({
9
9
  const toggleDrawer = () => {
10
10
  emit('toggleDrawer')
11
11
  }
12
-
13
- console.log('menu', props.menuOpen)
14
12
  </script>
15
13
 
16
14
  <template>