Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MichaelGitArt/gitart-vue-dialog
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.0
Choose a base ref
...
head repository: MichaelGitArt/gitart-vue-dialog
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Aug 28, 2021

  1. Copy the full SHA
    be2434a View commit details
  2. build: update build process

    - dist/server.js to dist/index.upd.js
    - add /dist/index.upd.d.ts
    - remove dev script
    MichaelGitArt committed Aug 28, 2021
    Copy the full SHA
    34a9a92 View commit details
  3. Copy the full SHA
    af56bf3 View commit details
  4. Copy the full SHA
    4d647d2 View commit details
  5. Copy the full SHA
    b59a436 View commit details
  6. Copy the full SHA
    0a35130 View commit details
  7. Copy the full SHA
    1ee4a81 View commit details
  8. Copy the full SHA
    76f4b75 View commit details
  9. Copy the full SHA
    b8cc820 View commit details

Commits on Sep 2, 2021

  1. Copy the full SHA
    6564717 View commit details
  2. Copy the full SHA
    46d195d View commit details

Commits on Sep 12, 2021

  1. Copy the full SHA
    e291090 View commit details
  2. Copy the full SHA
    bb4eb7b View commit details
  3. Copy the full SHA
    d3701c1 View commit details
  4. Copy the full SHA
    8955c97 View commit details
  5. feat: upgrade to 1.0.3

    MichaelGitArt committed Sep 12, 2021
    Copy the full SHA
    65f2522 View commit details
  6. build: fix deploy

    MichaelGitArt committed Sep 12, 2021
    Copy the full SHA
    ca2f82c View commit details

Commits on Oct 10, 2021

  1. chore: eslint fixes

    MichaelGitArt committed Oct 10, 2021
    Copy the full SHA
    71fbcfd View commit details
  2. Copy the full SHA
    e584834 View commit details
  3. feat: add activator slot to the GDialog

    - make "activator" slot with scoped attrs
    - make the inner ref to control state of the dialog when the modelValue prop is not specified
    MichaelGitArt committed Oct 10, 2021
    Copy the full SHA
    b012d6c View commit details
  4. Copy the full SHA
    742978f View commit details
  5. Copy the full SHA
    bf4155a View commit details
  6. Copy the full SHA
    1fd1ec9 View commit details
  7. Copy the full SHA
    beea143 View commit details
  8. Copy the full SHA
    1cca48c View commit details
  9. chore: add root README

    MichaelGitArt committed Oct 10, 2021
    Copy the full SHA
    7f465b3 View commit details

Commits on Oct 13, 2021

  1. Copy the full SHA
    28c3c4f View commit details

Commits on Oct 17, 2021

  1. Copy the full SHA
    171f607 View commit details
  2. Copy the full SHA
    db4b85a View commit details
  3. Copy the full SHA
    96ce3e3 View commit details
  4. feat: add local mode for the dialog

    - allows fixing dialog to closest relative parent
    MichaelGitArt committed Oct 17, 2021
    Copy the full SHA
    0911a5d View commit details
  5. Copy the full SHA
    7f2216a View commit details

Commits on Nov 30, 2021

  1. chore: upgrade deps

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Nov 30, 2021
    Copy the full SHA
    0bd0050 View commit details
  2. feat: set up type generation

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Nov 30, 2021
    Copy the full SHA
    4d25d3e View commit details
  3. chore: update README

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Nov 30, 2021
    Copy the full SHA
    9d38891 View commit details
  4. chore: copy License to /packages/dialog

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Nov 30, 2021
    Copy the full SHA
    1e91f01 View commit details
  5. chore(pre-release): publish 1.2.0-beta.5

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Nov 30, 2021
    Copy the full SHA
    710362a View commit details

Commits on Dec 1, 2021

  1. chore: add plan to the README

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 1, 2021
    Copy the full SHA
    b86bc39 View commit details

Commits on Dec 2, 2021

  1. fix: remove exporting plugin types in index.ts

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 2, 2021
    Copy the full SHA
    f9c2d48 View commit details
  2. chore: add comments to plugin entities

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 2, 2021
    Copy the full SHA
    3eec6dd View commit details
  3. chore(pre-release): publish 1.2.0-beta.7

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 2, 2021
    Copy the full SHA
    1e12713 View commit details

Commits on Dec 5, 2021

  1. feat: upgrade dev playground

    - setup auto import from vue and gitart-vue-dialog
    - setup auto import gitart-vue-dialog components
    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    154d9bf View commit details
  2. feat: upgrade dev playground

    - setup WindiCSS
    - add btn component in the WindiCSS
    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    9e0d981 View commit details
  3. chore: change local prop order

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    0a09cc2 View commit details
  4. feat(docs): add description to local prop

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    df997f7 View commit details
  5. fix: return exporting IDialog interface

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    c975b4d View commit details
  6. chore(release): publish 1.2.0

    - add local prop
    - set up .d.ts files generation
    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    eaa4e7c View commit details
  7. chore(demo): upgrade to 1.2.0

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    e8ce321 View commit details
  8. chore(docs): upgrade to 1.2.0

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    77bc89b View commit details
  9. fix(demo): remove binding string to label tag

    Michael.Kryvoruchko authored and Michael.Kryvoruchko committed Dec 5, 2021
    Copy the full SHA
    b5c8018 View commit details
Showing with 2,371 additions and 2,194 deletions.
  1. +2 −5 .eslintignore
  2. +54 −45 .eslintrc.js
  3. +2 −4 .gitignore
  4. +0 −4 .npmignore
  5. +0 −1 @types/index.d.ts
  6. +2 −53 README.md
  7. +0 −10 demo/src/plugins/g-dialog.ts
  8. +0 −20 demo/tsconfig.json
  9. +0 −43 demo/vite.config.ts
  10. +0 −1,159 demo/yarn.lock
  11. +0 −18 docs/README.md
  12. +0 −15 docs/src/imports.ts
  13. +0 −19 docs/tsconfig.json
  14. +0 −33 eslint/typescript.js
  15. +22 −26 package.json
  16. 0 { → packages}/demo/.gitignore
  17. 0 { → packages}/demo/README.md
  18. BIN { → packages}/demo/assets/img/profile.jpg
  19. +1 −1 { → packages}/demo/deploy.sh
  20. 0 { → packages}/demo/index.html
  21. +3 −6 { → packages}/demo/package.json
  22. BIN { → packages}/demo/public/favicon.ico
  23. BIN { → packages}/demo/public/favicon.png
  24. +7 −1 { → packages}/demo/src/App.vue
  25. +3 −1 { → packages}/demo/src/components/Dialog/DialogStateWrapper.vue
  26. 0 { → packages}/demo/src/components/Dialog/DialogToolbar.vue
  27. +5 −1 { → packages}/demo/src/components/Dialogs/BaseDialog/BaseDialog.vue
  28. +4 −2 { → packages}/demo/src/components/Dialogs/FullscreenDialog/FullscreenDialog.vue
  29. +1 −1 { → packages}/demo/src/components/Dialogs/ProfilePhotoDialog/ProfilePhotoDialog.vue
  30. +21 −17 { → packages}/demo/src/components/Dialogs/ScrollDialog/ScrollDialog.vue
  31. +4 −2 { → packages}/demo/src/components/Dialogs/StyledDialog/StyledDialog.vue
  32. +10 −2 { → packages}/demo/src/components/Interface/TheFooter.vue
  33. 0 { → packages}/demo/src/components/Interface/TheHeader.vue
  34. +52 −0 packages/demo/src/components/Layout/ActivatorDialogLayout.vue
  35. 0 { → packages}/demo/src/components/Layout/ButtonGrid.vue
  36. +0 −2 { → packages}/demo/src/components/Layout/DialogLayout.vue
  37. +1 −1 { → packages}/demo/src/components/Layout/NestingDialogLayout.vue
  38. +1 −1 { → packages}/demo/src/components/Layout/ProgrammaticalDialogLayout.vue
  39. 0 { → packages}/demo/src/components/PropControls/BooleanSwitch/BooleanSwitch.vue
  40. 0 { → packages}/demo/src/components/UI/Btn/Btn.vue
  41. 0 { → packages}/demo/src/components/UI/Radio/Radio.vue
  42. 0 { → packages}/demo/src/components/UI/RadioGroup/RadioGroup.vue
  43. 0 { → packages}/demo/src/components/UI/symbols.ts
  44. 0 { → packages}/demo/src/components/UI/types.ts
  45. +1 −1 { → packages}/demo/src/composables/componentId.ts
  46. 0 { → packages}/demo/src/empty.css
  47. +1 −1 { → packages}/demo/src/main.ts
  48. +11 −0 packages/demo/src/plugins/g-dialog.ts
  49. +1 −0 { → packages/demo}/src/shims-vue.d.ts
  50. 0 { → packages}/demo/src/vite-env.d.ts
  51. +20 −0 packages/demo/tsconfig.json
  52. +35 −0 packages/demo/vite.config.ts
  53. 0 { → packages}/demo/windi.config.js
  54. +1 −0 packages/dialog/.gitignore
  55. +4 −0 packages/dialog/.npmignore
  56. +11 −0 packages/dialog/LICENSE
  57. +62 −0 packages/dialog/README.md
  58. +7 −0 packages/dialog/build/build.js
  59. +9 −0 packages/dialog/build/tsconfig.json
  60. +13 −11 { → packages/dialog/build}/vite.config.ts
  61. +10 −0 packages/dialog/dev/.eslintrc.js
  62. +14 −0 packages/dialog/dev/App.vue
  63. +19 −0 packages/dialog/dev/Playground.template.vue
  64. +52 −0 packages/dialog/dev/auto-imports.d.ts
  65. +12 −0 packages/dialog/dev/components.d.ts
  66. +11 −0 packages/dialog/dev/g-dialog.ts
  67. +13 −0 packages/dialog/dev/index.html
  68. +11 −0 packages/dialog/dev/main.ts
  69. +64 −0 packages/dialog/dev/vite.config.ts
  70. +25 −0 packages/dialog/dev/windi.config.ts
  71. +57 −0 packages/dialog/package.json
  72. +63 −11 { → packages/dialog}/src/components/GDialog.vue
  73. +1 −2 { → packages/dialog}/src/components/GDialogContent.vue
  74. +13 −3 { → packages/dialog}/src/components/GDialogOverlay.vue
  75. +3 −3 { → packages/dialog}/src/components/GDialogRoot.vue
  76. 0 { → packages/dialog}/src/composable/lazyActivation.ts
  77. +9 −3 { → packages/dialog}/src/composable/scroll.ts
  78. +11 −3 { → packages/dialog}/src/composable/sizeStyle.ts
  79. 0 { → packages/dialog}/src/composable/stackable.ts
  80. +1 −1 { → packages/dialog}/src/helper/index.ts
  81. +5 −5 { → packages/dialog}/src/helper/scroll.helper.ts
  82. +3 −1 { → packages/dialog}/src/index.ts
  83. +24 −0 { → packages/dialog}/src/plugin.ts
  84. 0 { → packages/dialog}/src/scss/main.scss
  85. +1 −0 {demo → packages/dialog}/src/shims-vue.d.ts
  86. 0 { → packages/dialog}/src/types/Plugin.ts
  87. 0 { → packages/dialog}/src/vite-env.d.ts
  88. +12 −0 packages/dialog/tsconfig.json
  89. 0 { → packages}/docs/.gitattributes
  90. 0 { → packages}/docs/.gitignore
  91. +4 −8 { → packages}/docs/package.json
  92. +1 −0 { → packages}/docs/shims-vue.d.ts
  93. 0 { → packages}/docs/src/.vitepress/config.js
  94. 0 { → packages}/docs/src/.vitepress/theme/_var.scss
  95. 0 { → packages}/docs/src/.vitepress/theme/custom.scss
  96. +3 −1 { → packages}/docs/src/.vitepress/theme/index.js
  97. +3 −1 { → packages}/docs/src/components/Components/ButtonWrapper.vue
  98. 0 { → packages}/docs/src/components/Components/Code/Markup.vue
  99. 0 { → packages}/docs/src/components/Components/Code/Prism.vue
  100. 0 { → packages}/docs/src/components/Components/Example/Example.vue
  101. 0 { → packages}/docs/src/components/Components/Example/ExampleCode.vue
  102. 0 { → packages}/docs/src/components/Components/Example/ExampleComponent.vue
  103. 0 { → packages}/docs/src/components/Components/Example/ExampleToolbar.vue
  104. +13 −0 packages/docs/src/components/Components/Example/Test.vue
  105. 0 { → packages}/docs/src/components/Components/Icon.vue
  106. 0 { → packages}/docs/src/components/Components/MethodSwitch.vue
  107. +1 −1 { → packages}/docs/src/components/Components/VueFile.vue
  108. +44 −0 packages/docs/src/components/Examples/Guide/UsageActivatorExample.vue
  109. +27 −0 packages/docs/src/components/Examples/Guide/UsageFullscreenExample.vue
  110. +35 −0 packages/docs/src/components/Examples/Guide/UsagePersistentExample.vue
  111. +58 −0 packages/docs/src/components/Examples/Guide/UsageScrollableExample.vue
  112. +83 −0 packages/docs/src/components/Examples/Guide/UsageTransitionExample.vue
  113. +0 −2 { → packages}/docs/src/components/Examples/Introduction/GettingStartedExample.vue
  114. +0 −2 { → packages}/docs/src/components/Examples/Introduction/GettingStartedExampleStyled.vue
  115. +1 −1 { → packages}/docs/src/composable/pen.ts
  116. 0 { → packages}/docs/src/docs/components/g-dialog-root.md
  117. +70 −0 { → packages}/docs/src/docs/components/g-dialog.md
  118. +34 −0 { → packages}/docs/src/docs/guide/component-usage.md
  119. 0 { → packages}/docs/src/docs/guide/plugin-usage.md
  120. 0 { → packages}/docs/src/docs/introduction/getting-started.md
  121. 0 { → packages}/docs/src/docs/introduction/usage-types.md
  122. +51 −0 packages/docs/src/imports.ts
  123. 0 { → packages}/docs/src/index.md
  124. 0 { → packages}/docs/src/public/_headers
  125. BIN packages/docs/src/public/example-video.gif
  126. BIN { → packages}/docs/src/public/favicon.ico
  127. BIN { → packages}/docs/src/public/favicon.png
  128. 0 { → packages}/docs/src/public/gitart-dialog-logo.svg
  129. +19 −0 packages/docs/tsconfig.json
  130. +227 −227 { → packages}/docs/yarn.lock
  131. +0 −6 scripts/build.js
  132. +0 −21 scripts/dev.js
  133. +27 −10 tsconfig.json
  134. +865 −376 yarn.lock
7 changes: 2 additions & 5 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
dist
node_modules
public
___

!.vitepress
dist
public
99 changes: 54 additions & 45 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
/*eslint-env node*/
module.exports = {
overrides: [
{
files: ['*.vue'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
rules: {
'no-unused-vars': 'off',
'no-undef': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
},
],

extends: [
'plugin:@typescript-eslint/recommended',
'plugin:vue/vue3-recommended',
'plugin:vue-scoped-css/vue3-recommended',
'plugin:import/recommended',
'./eslint/typescript.js',
],

parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],

rules: {
@@ -29,68 +20,86 @@ module.exports = {
'quotes': ['error', 'single'],
'key-spacing': ['error'],
'space-infix-ops': 'error',

'vue/html-self-closing': 'warn',
'vue/padding-line-between-blocks': 'error',

'vue/max-attributes-per-line': ['warn', {
singleline: 2,
}],

'vue/component-name-in-template-casing': [
'warn',
'PascalCase',
{
registeredComponentsOnly: false,
},
],

'semi': ['warn', 'never'],
'linebreak-style': ['off'],
'import/no-unresolved': ['off'],
'import/prefer-default-export': ['off'],

'space-before-function-paren': ['error', 'never'],
'no-plusplus': ['error', {
allowForLoopAfterthoughts: true,
}],
'no-multi-spaces': ['error', {
ignoreEOLComments: false,
}],
'no-plusplus': ['error', {
allowForLoopAfterthoughts: true,
}],

'no-multi-spaces': ['error', {
ignoreEOLComments: false,
}],

'object-curly-newline': ['error', {
ObjectExpression: { minProperties: 4, multiline: true, consistent: true },
ObjectPattern: { minProperties: 4, multiline: true, consistent: true },
ImportDeclaration: { minProperties: 4, multiline: true, consistent: true },
ExportDeclaration: { minProperties: 4, multiline: true, consistent: true },
}],

'comma-spacing': ['error', { before: false, after: true }],

'comma-dangle': ['error', {
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'always-multiline',
functions: 'always-multiline',
}],

'no-trailing-spaces': ['error', {
skipBlankLines: false,
ignoreComments: false,
}],

'import/newline-after-import': ['error', { 'count': 1 }],

'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],

'no-unused-vars': 'off',
'no-undef': 'warn',
indent: 'off',
'import/named': 'off',
'import/no-unresolved': 'off',
'import/prefer-default-export': ['off'],
'import/newline-after-import': ['error', { 'count': 1 }],
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},

overrides: [
{
files: ['*.vue'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
},
rules: {
'@typescript-eslint/explicit-module-boundary-types': 'off',

'vue/html-self-closing': 'warn',
'vue/padding-line-between-blocks': 'error',
'vue/max-attributes-per-line': ['warn', {
singleline: 2,
}],
'vue/component-name-in-template-casing': [
'warn',
'PascalCase',
{
registeredComponentsOnly: false,
},
],
},
},
],

settings: {
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
extensions: [
'.vue',
'.js',
'.ts',
],
},
},
},
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
node_modules
dist
.DS_Store
dist-ssr
/dist
*.local
___*
*.local
4 changes: 0 additions & 4 deletions .npmignore

This file was deleted.

1 change: 0 additions & 1 deletion @types/index.d.ts

This file was deleted.

55 changes: 2 additions & 53 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,3 @@
# Gitart Vue Dialog (Vue 3 Only)
# TRANSFERED TO https://github.com/gitart-group/vue-dialog

Customizable, beautifully animated, lightweight. Typescript support

🤯 [Documentation](https://gitart-vue-dialog.netlify.app/)

🤯 [Examples](https://michaelgitart.github.io/gitart-vue-dialog/)

---

- lightweight <br/>
~ 1.7 KiB - style.css <br/>
~ 8.4 KiB - index.js


## Instalation

### Standalone Component

```js
// main.js or YourComponent.vue
import 'gitart-vue-dialog/dist/style.css'
```

```js
// YourComponent.vue
import { GDialog } from 'gitart-vue-dialog'

export default {
components: {
GDialog,
},
}
```

### Plugin

Be sure to read the [вocumentation](https://gitart-vue-dialog.netlify.app/) for using the plugin

```js
import App from './App.vue'
import { plugin as dialogPlugin } from 'gitart-vue-dialog'
import 'gitart-vue-dialog/dist/style.css'

createApp(App)
.use(dialogPlugin)
.mount('#app')
```



## Usage

Read [Documentation](https://gitart-vue-dialog.netlify.app/)
[Full README](https://github.com/MichaelGitArt/gitart-vue-dialog/tree/main/packages/dialog)
10 changes: 0 additions & 10 deletions demo/src/plugins/g-dialog.ts

This file was deleted.

20 changes: 0 additions & 20 deletions demo/tsconfig.json

This file was deleted.

43 changes: 0 additions & 43 deletions demo/vite.config.ts

This file was deleted.

Loading