@namelivia/vue-components 4.4.0 → 4.4.2

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.
@@ -1,5 +1,5 @@
1
1
  <template lang="pug">
2
- div(class="image-input-container")
2
+ .image-input-container
3
3
  label(class="image-input-label" :for="id")
4
4
  | {{ label }}
5
5
  input(
@@ -1,20 +1,26 @@
1
1
  <template lang="pug">
2
- image-input(
3
- :id="id"
4
- :name="id"
5
- :required="required"
6
- :placeholder="placeholder"
7
- :drop-placeholder="dropPlaceholder"
8
- :label="label"
9
- @update="onInput"
10
- )
2
+ .image-input-container
3
+ image-input(
4
+ :id="id"
5
+ :name="id"
6
+ :required="required"
7
+ :placeholder="placeholder"
8
+ :drop-placeholder="dropPlaceholder"
9
+ :label="label"
10
+ @update="onInput"
11
+ )
12
+ p(v-if="resizing") Resizing...
11
13
  </template>
12
14
 
13
15
  <script>
14
16
  import ImageBlobReduce from 'image-blob-reduce';
17
+ import ImageInput from '../ImageInput/ImageInput.vue'
15
18
  import { defineComponent } from 'vue';
16
19
  export default defineComponent({
17
20
  name: "ResizeImageUpload",
21
+ components: {
22
+ ImageInput: ImageInput,
23
+ },
18
24
  props: {
19
25
  id: {
20
26
  type: String,
@@ -1,8 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: "/"
5
- schedule:
6
- interval: weekly
7
- day: saturday
8
- open-pull-requests-limit: 10
@@ -1,17 +0,0 @@
1
- name: build
2
- on: [push, pull_request]
3
- jobs:
4
- deploy:
5
- runs-on: ubuntu-latest
6
- if: github.ref == 'refs/heads/main'
7
- steps:
8
- - uses: actions/checkout@v1
9
- - uses: actions/setup-node@v1
10
- with:
11
- node-version: 16
12
- - run: npm install
13
- - run: npm run build
14
- - uses: JS-DevTools/npm-publish@v1
15
- with:
16
- token: ${{ secrets.NPM_TOKEN }}
17
- check-version: false
@@ -1,23 +0,0 @@
1
- name: Dependabot auto-merge
2
- on: pull_request
3
-
4
- permissions:
5
- contents: write
6
- pull-requests: write
7
-
8
- jobs:
9
- dependabot:
10
- runs-on: ubuntu-latest
11
- if: github.actor == 'dependabot[bot]'
12
- steps:
13
- - name: Dependabot metadata
14
- id: metadata
15
- uses: dependabot/fetch-metadata@v1
16
- with:
17
- github-token: "${{ secrets.GITHUB_TOKEN }}"
18
- - name: Enable auto-merge for Dependabot PRs
19
- run: gh pr merge --auto --merge "$PR_URL"
20
- env:
21
- PR_URL: ${{github.event.pull_request.html_url}}
22
- GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
23
-