shared-ritm 1.1.50 → 1.1.51

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": "shared-ritm",
3
- "version": "1.1.50",
3
+ "version": "1.1.51",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
package/src/App.vue CHANGED
@@ -31,8 +31,6 @@ import AppSidebar from '@/common/app-sidebar/AppSidebar.vue'
31
31
  import AppLayout from '@/common/app-layout/AppLayout.vue'
32
32
  import AppLayoutHeader from '@/common/app-layout/components/AppLayoutHeader.vue'
33
33
  import { useRoute } from 'vue-router'
34
- import AppDropdown from '@/common/app-dropdown/AppDropdown.vue'
35
-
36
34
  const test = ref('sdf')
37
35
 
38
36
  const $q = useQuasar()
@@ -1,29 +1,31 @@
1
- <template>
2
- <q-btn-dropdown :color="color" :content-style="{ width: '200px', minWidth: '200px' }">
3
- <template #label>
4
- <slot name="label">
5
- {{ label }}
6
- </slot>
7
- </template>
8
- <template #default>
9
- <slot name="content" />
10
- </template>
11
- </q-btn-dropdown>
12
- </template>
13
-
14
- <script setup lang="ts">
15
- interface Props {
16
- label?: string
17
- color?: string
18
- }
19
-
20
- const props = defineProps<Props>()
21
- </script>
22
-
23
- <style scoped lang="scss">
24
- .q-btn {
25
- &:before {
26
- box-shadow: none;
27
- }
28
- }
29
- </style>
1
+ <template>
2
+ <q-btn-dropdown :color="color" :content-style="{ width: width || '200px', minWidth: height || '200px' }">
3
+ <template #label>
4
+ <slot name="label">
5
+ {{ label }}
6
+ </slot>
7
+ </template>
8
+ <template #default>
9
+ <slot name="content" />
10
+ </template>
11
+ </q-btn-dropdown>
12
+ </template>
13
+
14
+ <script setup lang="ts">
15
+ interface Props {
16
+ label?: string
17
+ color?: string
18
+ width?: number
19
+ height?: number
20
+ }
21
+
22
+ const props = defineProps<Props>()
23
+ </script>
24
+
25
+ <style scoped lang="scss">
26
+ .q-btn {
27
+ &:before {
28
+ box-shadow: none;
29
+ }
30
+ }
31
+ </style>