@deskhero/dh_ui 2.49.0 → 2.49.1

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.
Files changed (129) hide show
  1. package/README.md +100 -100
  2. package/package.json +185 -181
  3. package/dist/adapters/editorjs/EditorjsTransformer.d.ts +0 -3
  4. package/dist/adapters/editorjs/EditorjsView.vue.d.ts +0 -72
  5. package/dist/adapters/tiptap/SimpleTemplate.vue.d.ts +0 -29
  6. package/dist/adapters/tiptap/TiptapAdapter.d.ts +0 -26
  7. package/dist/adapters/tiptap/TiptapTransformer.d.ts +0 -3
  8. package/dist/adapters/tiptap/TiptapView.vue.d.ts +0 -73
  9. package/dist/adapters/tiptap/components/BlockquoteButton.vue.d.ts +0 -2
  10. package/dist/adapters/tiptap/components/CodeblockButton.vue.d.ts +0 -2
  11. package/dist/adapters/tiptap/components/ColorHighlightDropdown.vue.d.ts +0 -2
  12. package/dist/adapters/tiptap/components/Dropdown.vue.d.ts +0 -35
  13. package/dist/adapters/tiptap/components/FileUploadButton.vue.d.ts +0 -11
  14. package/dist/adapters/tiptap/components/HeadingDropdown.vue.d.ts +0 -2
  15. package/dist/adapters/tiptap/components/ImageUploadButton.vue.d.ts +0 -11
  16. package/dist/adapters/tiptap/components/Input.vue.d.ts +0 -16
  17. package/dist/adapters/tiptap/components/LinkDropdown.vue.d.ts +0 -2
  18. package/dist/adapters/tiptap/components/ListDropdown.vue.d.ts +0 -2
  19. package/dist/adapters/tiptap/components/MarkButton.vue.d.ts +0 -12
  20. package/dist/adapters/tiptap/components/Separator.vue.d.ts +0 -33
  21. package/dist/adapters/tiptap/components/TableButton.vue.d.ts +0 -2
  22. package/dist/adapters/tiptap/components/TextAlignButton.vue.d.ts +0 -12
  23. package/dist/adapters/tiptap/components/TextAlignDropdown.vue.d.ts +0 -2
  24. package/dist/adapters/tiptap/components/Toolbar.vue.d.ts +0 -9
  25. package/dist/adapters/tiptap/components/ToolbarGroup.vue.d.ts +0 -17
  26. package/dist/adapters/tiptap/components/button/Button.vue.d.ts +0 -41
  27. package/dist/adapters/tiptap/components/button/ButtonGroup.vue.d.ts +0 -29
  28. package/dist/adapters/tiptap/components/tiptap-icons/AlignCenterIcon.vue.d.ts +0 -2
  29. package/dist/adapters/tiptap/components/tiptap-icons/AlignJustifyIcon.vue.d.ts +0 -2
  30. package/dist/adapters/tiptap/components/tiptap-icons/AlignLeftIcon.vue.d.ts +0 -2
  31. package/dist/adapters/tiptap/components/tiptap-icons/AlignRightIcon.vue.d.ts +0 -2
  32. package/dist/adapters/tiptap/components/tiptap-icons/BanIcon.vue.d.ts +0 -2
  33. package/dist/adapters/tiptap/components/tiptap-icons/BlockquoteIcon.vue.d.ts +0 -2
  34. package/dist/adapters/tiptap/components/tiptap-icons/BoldIcon.vue.d.ts +0 -2
  35. package/dist/adapters/tiptap/components/tiptap-icons/ChevronDownIcon.vue.d.ts +0 -2
  36. package/dist/adapters/tiptap/components/tiptap-icons/CodeIcon.vue.d.ts +0 -2
  37. package/dist/adapters/tiptap/components/tiptap-icons/CodeblockIcon.vue.d.ts +0 -2
  38. package/dist/adapters/tiptap/components/tiptap-icons/CornerDownLeftIcon.vue.d.ts +0 -2
  39. package/dist/adapters/tiptap/components/tiptap-icons/ExternalLinkIcon.vue.d.ts +0 -2
  40. package/dist/adapters/tiptap/components/tiptap-icons/FileIcon.vue.d.ts +0 -2
  41. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFiveIcon.vue.d.ts +0 -2
  42. package/dist/adapters/tiptap/components/tiptap-icons/HeadingFourIcon.vue.d.ts +0 -2
  43. package/dist/adapters/tiptap/components/tiptap-icons/HeadingIcon.vue.d.ts +0 -2
  44. package/dist/adapters/tiptap/components/tiptap-icons/HeadingOneIcon.vue.d.ts +0 -2
  45. package/dist/adapters/tiptap/components/tiptap-icons/HeadingSixIcon.vue.d.ts +0 -2
  46. package/dist/adapters/tiptap/components/tiptap-icons/HeadingThreeIcon.vue.d.ts +0 -2
  47. package/dist/adapters/tiptap/components/tiptap-icons/HeadingTwoIcon.vue.d.ts +0 -2
  48. package/dist/adapters/tiptap/components/tiptap-icons/HighlighterIcon.vue.d.ts +0 -2
  49. package/dist/adapters/tiptap/components/tiptap-icons/ImagePlusIcon.vue.d.ts +0 -2
  50. package/dist/adapters/tiptap/components/tiptap-icons/ItalicIcon.vue.d.ts +0 -2
  51. package/dist/adapters/tiptap/components/tiptap-icons/LinkIcon.vue.d.ts +0 -2
  52. package/dist/adapters/tiptap/components/tiptap-icons/ListIcon.vue.d.ts +0 -2
  53. package/dist/adapters/tiptap/components/tiptap-icons/ListOrderedIcon.vue.d.ts +0 -2
  54. package/dist/adapters/tiptap/components/tiptap-icons/ListTodoIcon.vue.d.ts +0 -2
  55. package/dist/adapters/tiptap/components/tiptap-icons/RedoIcon.vue.d.ts +0 -2
  56. package/dist/adapters/tiptap/components/tiptap-icons/StrikeIcon.vue.d.ts +0 -2
  57. package/dist/adapters/tiptap/components/tiptap-icons/SubscriptIcon.vue.d.ts +0 -2
  58. package/dist/adapters/tiptap/components/tiptap-icons/SuperscriptIcon.vue.d.ts +0 -2
  59. package/dist/adapters/tiptap/components/tiptap-icons/TableIcon.vue.d.ts +0 -2
  60. package/dist/adapters/tiptap/components/tiptap-icons/TrashIcon.vue.d.ts +0 -2
  61. package/dist/adapters/tiptap/components/tiptap-icons/UnderlineIcon.vue.d.ts +0 -2
  62. package/dist/adapters/tiptap/components/tiptap-icons/UndoIcon.vue.d.ts +0 -2
  63. package/dist/adapters/tiptap/components/undo-redo-button/UndoRedoButton.vue.d.ts +0 -30
  64. package/dist/adapters/tiptap/composables/useMenuNavigation.d.ts +0 -18
  65. package/dist/adapters/tiptap/composables/useScrollDetector.d.ts +0 -8
  66. package/dist/adapters/tiptap/extensions/attachment.d.ts +0 -2
  67. package/dist/adapters/tiptap/extensions/file-upload-node/file-upload-node-extension.d.ts +0 -80
  68. package/dist/adapters/tiptap/extensions/file-upload-node/index.d.ts +0 -1
  69. package/dist/adapters/tiptap/extensions/signature.d.ts +0 -2
  70. package/dist/adapters/tiptap/extensions/table/index.d.ts +0 -2
  71. package/dist/adapters/tiptap/utils/tiptap-utils.d.ts +0 -122
  72. package/dist/assets/fonts/Rubik-Bold.ttf +0 -0
  73. package/dist/assets/fonts/Rubik-Bold.woff2 +0 -0
  74. package/dist/assets/fonts/Rubik-Medium.ttf +0 -0
  75. package/dist/assets/fonts/Rubik-Medium.woff2 +0 -0
  76. package/dist/assets/fonts/Rubik-Regular.ttf +0 -0
  77. package/dist/assets/fonts/Rubik-Regular.woff2 +0 -0
  78. package/dist/components/Button.vue.d.ts +0 -102
  79. package/dist/components/ColorPicker.vue.d.ts +0 -17
  80. package/dist/components/Copiable.vue.d.ts +0 -8
  81. package/dist/components/DatePicker.vue.d.ts +0 -11
  82. package/dist/components/DropdownMenu.vue.d.ts +0 -108
  83. package/dist/components/DropdownMenuItem.vue.d.ts +0 -50
  84. package/dist/components/Error.vue.d.ts +0 -16
  85. package/dist/components/ExpansionPanel.vue.d.ts +0 -58
  86. package/dist/components/FileUpload.vue.d.ts +0 -13
  87. package/dist/components/IconWithText.vue.d.ts +0 -149
  88. package/dist/components/ImageCropper.vue.d.ts +0 -73
  89. package/dist/components/Input.vue.d.ts +0 -51
  90. package/dist/components/InputDropdown.vue.d.ts +0 -16
  91. package/dist/components/InputDropdownMultiple.vue.d.ts +0 -16
  92. package/dist/components/InputGroup.vue.d.ts +0 -15
  93. package/dist/components/InputList.vue.d.ts +0 -20
  94. package/dist/components/InputWithList/DropdownList.vue.d.ts +0 -90
  95. package/dist/components/InputWithList/MultipleInput.vue.d.ts +0 -87
  96. package/dist/components/InputWithList/SingleInput.vue.d.ts +0 -48
  97. package/dist/components/InputWithList/TagItem.vue.d.ts +0 -33
  98. package/dist/components/InputWithList/configs/input-with-list.config.d.ts +0 -8
  99. package/dist/components/InputWithList.vue.d.ts +0 -165
  100. package/dist/components/LineChart.vue.d.ts +0 -9
  101. package/dist/components/Modal.vue.d.ts +0 -118
  102. package/dist/components/Notification.vue.d.ts +0 -195
  103. package/dist/components/PasswordField.vue.d.ts +0 -62
  104. package/dist/components/RadioBox.vue.d.ts +0 -9
  105. package/dist/components/RadioBoxGroup.vue.d.ts +0 -8
  106. package/dist/components/SearchInput.vue.d.ts +0 -36
  107. package/dist/components/Stepper.vue.d.ts +0 -23
  108. package/dist/components/Tag.vue.d.ts +0 -48
  109. package/dist/components/Tags.vue.d.ts +0 -91
  110. package/dist/components/TextEditor.vue.d.ts +0 -81
  111. package/dist/components/TextEditorLegacy.vue.d.ts +0 -40
  112. package/dist/components/VerificationCode.vue.d.ts +0 -45
  113. package/dist/components/configs/input-with-list.config.d.ts +0 -8
  114. package/dist/dh_ui.es.js +0 -68487
  115. package/dist/dh_ui.umd.js +0 -677
  116. package/dist/factories/EditorFactory.d.ts +0 -19
  117. package/dist/favicon.ico +0 -0
  118. package/dist/helpers/inputWithListUtils.d.ts +0 -4
  119. package/dist/index.d.ts +0 -39
  120. package/dist/main.d.ts +0 -1
  121. package/dist/models/DropdownMenuItem.model.d.ts +0 -13
  122. package/dist/models/EditorJSi18n.model.d.ts +0 -109
  123. package/dist/models/EditorTransformer.d.ts +0 -5
  124. package/dist/models/InputDropdown.model.d.ts +0 -4
  125. package/dist/models/InputList.model.d.ts +0 -4
  126. package/dist/models/InputWithList.model.d.ts +0 -1
  127. package/dist/models/Tag.model.d.ts +0 -7
  128. package/dist/style.css +0 -9
  129. package/dist/tools/editorCode.d.ts +0 -21
package/README.md CHANGED
@@ -1,100 +1,100 @@
1
- ## Deskhero ui
2
-
3
- [Deskhero](https://www.deskhero.com) ui is component library, based on Deskhero design system and Vue 3.
4
-
5
- ![npm version](https://img.shields.io/npm/v/@deskhero/dh_ui?color=success)
6
-
7
- <hr/>
8
-
9
- Preview the latest changes on [Chromatic](https://master--62ad76d1e03689594b024ea4.chromatic.com/)
10
-
11
- ## Installation
12
-
13
- Install the component library
14
-
15
- ```
16
- npm i @deskhero/dh_ui
17
- ```
18
-
19
- ## Usage
20
-
21
- You can import from the main bundle:
22
-
23
- ```javascript
24
- import { DhIcon } from "@deskhero/dh_ui";
25
- ```
26
-
27
- then on html:
28
-
29
- ```javascript
30
- <dh-icon :icon-name="'search'" :size="24" />
31
- ```
32
-
33
- You also need to import Main CSS file to your project
34
-
35
- ```javascript
36
- import "@deskhero/dh_ui/dist/style.css";
37
- ```
38
-
39
- ## Storybook
40
-
41
- Storybook helps you build UI components in isolation from your app's business logic, data, and context. That makes it easy to develop hard-to-reach states. Save these UI states as stories to revisit during development, testing, or QA.
42
-
43
- We are using storybook in order to develop the components independently from any consumer.
44
- run this to build & run the storybook locally:
45
-
46
- First install the node packages:
47
-
48
- ```bash
49
- npm install
50
- ```
51
-
52
- then serve storybook application
53
-
54
- ```bash
55
- npm run storybook
56
- ```
57
-
58
- the storybook will be served on `http://localhost:6006`
59
-
60
- ## Developing locally with your consumer application
61
-
62
- When developing locally we are using a npm functionality called npm link, this allows us to
63
- work locally on our package and use it in a different project without publishing.
64
- This functionality basically overrides the npm mapping between package name to its repo, and points it to where the package is located locally.
65
-
66
- From dh_ui
67
-
68
- ```sh
69
- npm run build && npm link
70
- ```
71
-
72
- Then on your project
73
-
74
- ```sh
75
- npm link @deskhero/dh_ui
76
- ```
77
-
78
- <hr/>
79
-
80
- ### Recommended IDE Setup
81
-
82
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
83
-
84
- ### Type Support for .vue Imports in TS
85
-
86
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
87
-
88
- If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
89
-
90
- 1. Disable the built-in TypeScript Extension
91
- 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
92
- 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
93
- 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
94
-
95
- <hr/>
96
-
97
- ### Types
98
-
99
- if your component use a specific model/type, please export it by adding it on the /src/models/index.ts.
100
- You can use the DropdownMenuItem as an example.
1
+ ## Deskhero ui
2
+
3
+ [Deskhero](https://www.deskhero.com) ui is component library, based on Deskhero design system and Vue 3.
4
+
5
+ ![npm version](https://img.shields.io/npm/v/@deskhero/dh_ui?color=success)
6
+
7
+ <hr/>
8
+
9
+ Preview the latest changes on [Chromatic](https://master--62ad76d1e03689594b024ea4.chromatic.com/)
10
+
11
+ ## Installation
12
+
13
+ Install the component library
14
+
15
+ ```
16
+ npm i @deskhero/dh_ui
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ You can import from the main bundle:
22
+
23
+ ```javascript
24
+ import { DhIcon } from "@deskhero/dh_ui";
25
+ ```
26
+
27
+ then on html:
28
+
29
+ ```javascript
30
+ <dh-icon :icon-name="'search'" :size="24" />
31
+ ```
32
+
33
+ You also need to import Main CSS file to your project
34
+
35
+ ```javascript
36
+ import "@deskhero/dh_ui/dist/style.css";
37
+ ```
38
+
39
+ ## Storybook
40
+
41
+ Storybook helps you build UI components in isolation from your app's business logic, data, and context. That makes it easy to develop hard-to-reach states. Save these UI states as stories to revisit during development, testing, or QA.
42
+
43
+ We are using storybook in order to develop the components independently from any consumer.
44
+ run this to build & run the storybook locally:
45
+
46
+ First install the node packages:
47
+
48
+ ```bash
49
+ npm install
50
+ ```
51
+
52
+ then serve storybook application
53
+
54
+ ```bash
55
+ npm run storybook
56
+ ```
57
+
58
+ the storybook will be served on `http://localhost:6006`
59
+
60
+ ## Developing locally with your consumer application
61
+
62
+ When developing locally we are using a npm functionality called npm link, this allows us to
63
+ work locally on our package and use it in a different project without publishing.
64
+ This functionality basically overrides the npm mapping between package name to its repo, and points it to where the package is located locally.
65
+
66
+ From dh_ui
67
+
68
+ ```sh
69
+ npm run build && npm link
70
+ ```
71
+
72
+ Then on your project
73
+
74
+ ```sh
75
+ npm link @deskhero/dh_ui
76
+ ```
77
+
78
+ <hr/>
79
+
80
+ ### Recommended IDE Setup
81
+
82
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
83
+
84
+ ### Type Support for .vue Imports in TS
85
+
86
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
87
+
88
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
89
+
90
+ 1. Disable the built-in TypeScript Extension
91
+ 1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
92
+ 2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
93
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
94
+
95
+ <hr/>
96
+
97
+ ### Types
98
+
99
+ if your component use a specific model/type, please export it by adding it on the /src/models/index.ts.
100
+ You can use the DropdownMenuItem as an example.
package/package.json CHANGED
@@ -1,181 +1,185 @@
1
- {
2
- "name": "@deskhero/dh_ui",
3
- "version": "2.49.0",
4
- "files": [
5
- "dist"
6
- ],
7
- "main": "dist/dh_ui.umd.js",
8
- "module": "dist/dh_ui.es.js",
9
- "types": "dist/src/index.d.ts",
10
- "declaration": true,
11
- "declarationDir": "./models",
12
- "exports": {
13
- ".": {
14
- "import": "./dist/dh_ui.es.js",
15
- "require": "./dist/dh_ui.umd.js"
16
- },
17
- "./dist/style.css": "./dist/style.css"
18
- },
19
- "repository": {
20
- "type": "git",
21
- "url": "https://auth@bitbucket.org/deskhero_com/dh_ui.git"
22
- },
23
- "scripts": {
24
- "dev": "vite",
25
- "commit": "cz",
26
- "build": "run-p type-check build-only",
27
- "preview": "vite preview --port 4173",
28
- "build-only": "vite build",
29
- "type-check": "vue-tsc",
30
- "storybook": "storybook dev -p 6006",
31
- "build-storybook": "storybook build",
32
- "chromatic": "npx chromatic --project-token=9b1dd74e6816",
33
- "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src --max-warnings=0",
34
- "format": "prettier . --write"
35
- },
36
- "dependencies": {
37
- "@editorjs/editorjs": "^2.28.2",
38
- "@editorjs/header": "^2.7.0",
39
- "@editorjs/nested-list": "^1.3.0",
40
- "@editorjs/paragraph": "^2.11.3",
41
- "@editorjs/table": "^2.3.0",
42
- "@editorjs/underline": "^1.1.0",
43
- "@tiptap/extension-file-handler": "^3.6.7",
44
- "@tiptap/extension-highlight": "^3.6.2",
45
- "@tiptap/extension-image": "^3.6.5",
46
- "@tiptap/extension-list": "^3.5.0",
47
- "@tiptap/extension-placeholder": "^3.7.2",
48
- "@tiptap/extension-subscript": "^3.5.1",
49
- "@tiptap/extension-superscript": "^3.5.1",
50
- "@tiptap/extension-table": "^3.6.5",
51
- "@tiptap/extension-text-align": "^3.6.3",
52
- "@tiptap/pm": "^3.3.1",
53
- "@tiptap/starter-kit": "^3.3.1",
54
- "@tiptap/vue-3": "^3.3.1",
55
- "@vueform/multiselect": "^2.6.2",
56
- "@vuepic/vue-datepicker": "^3.5.2",
57
- "cropperjs": "^1.6.1",
58
- "editorjs-color-picker": "^1.0.7",
59
- "multi-range-slider-vue": "^1.1.4",
60
- "tiptap-extension-resize-image": "^1.3.2",
61
- "vue": "^3.3.4",
62
- "vue-chartjs": "^5.3.1",
63
- "vue3-colorpicker": "^2.3.0"
64
- },
65
- "devDependencies": {
66
- "@babel/core": "^7.21.4",
67
- "@commitlint/cli": "^17.1.2",
68
- "@commitlint/config-conventional": "^17.1.0",
69
- "@editorjs/checklist": "^1.4.0",
70
- "@editorjs/code": "^2.8.0",
71
- "@editorjs/delimiter": "^1.3.0",
72
- "@editorjs/inline-code": "^1.4.0",
73
- "@editorjs/marker": "^1.3.0",
74
- "@rushstack/eslint-patch": "^1.1.0",
75
- "@semantic-release/changelog": "^6.0.1",
76
- "@semantic-release/git": "^10.0.1",
77
- "@storybook/addon-actions": "^7.5.1",
78
- "@storybook/addon-essentials": "^7.5.1",
79
- "@storybook/addon-interactions": "^7.5.1",
80
- "@storybook/addon-links": "^7.5.1",
81
- "@storybook/addon-mdx-gfm": "^7.5.1",
82
- "@storybook/addons": "^7.5.1",
83
- "@storybook/preset-scss": "^1.0.3",
84
- "@storybook/testing-library": "^0.2.2",
85
- "@storybook/theming": "^7.5.1",
86
- "@storybook/vue3": "^7.5.1",
87
- "@storybook/vue3-vite": "^7.5.1",
88
- "@types/node": "^16.11.36",
89
- "@vitejs/plugin-vue": "^4.1.0",
90
- "@vue/compiler-sfc": "^3.2.45",
91
- "@vue/eslint-config-prettier": "^7.0.0",
92
- "@vue/eslint-config-typescript": "^10.0.0",
93
- "@vue/tsconfig": "^0.1.3",
94
- "babel-loader": "^8.2.5",
95
- "chromatic": "^6.6.2",
96
- "css-loader": "^6.7.1",
97
- "cz-conventional-changelog": "^3.3.0",
98
- "editorjs-drag-drop": "^1.1.16",
99
- "editorjs-strikethrough": "^1.0.0",
100
- "editorjs-undo": "^2.0.27",
101
- "eslint": "^8.17.0",
102
- "eslint-config-prettier": "^8.5.0",
103
- "eslint-plugin-cypress": "^2.12.1",
104
- "eslint-plugin-prettier": "^4.0.0",
105
- "eslint-plugin-storybook": "^0.6.15",
106
- "eslint-plugin-vue": "^8.7.1",
107
- "html-webpack-plugin": "^5.5.0",
108
- "husky": "^8.0.1",
109
- "npm-run-all": "^4.1.5",
110
- "prettier": "^2.5.1",
111
- "react": "^18.2.0",
112
- "react-dom": "^18.2.0",
113
- "sass": "^1.53.0",
114
- "sass-loader": "^13.0.2",
115
- "semantic-release": "^23.0.8",
116
- "storybook": "^7.5.1",
117
- "style-loader": "^3.3.1",
118
- "typescript": "^5.0.4",
119
- "vite": "^4.4.2",
120
- "vue-loader": "^16.8.3",
121
- "vue-tsc": "^1.2.0"
122
- },
123
- "engines": {
124
- "node": ">=20.11.1",
125
- "npm": ">=10.2.4"
126
- },
127
- "config": {
128
- "commitizen": {
129
- "path": "./node_modules/cz-conventional-changelog"
130
- }
131
- },
132
- "resolutions": {
133
- "webpack": "5.66.0"
134
- },
135
- "release": {
136
- "plugins": [
137
- [
138
- "@semantic-release/commit-analyzer",
139
- {
140
- "preset": "angular",
141
- "releaseRules": [
142
- {
143
- "type": "docs",
144
- "scope": "README",
145
- "release": "patch"
146
- },
147
- {
148
- "type": "refactor",
149
- "scope": "core-*",
150
- "release": "minor"
151
- },
152
- {
153
- "type": "feat",
154
- "release": "minor"
155
- },
156
- {
157
- "type": "fix",
158
- "release": "patch"
159
- },
160
- {
161
- "type": "perf",
162
- "release": "patch"
163
- }
164
- ]
165
- }
166
- ],
167
- "@semantic-release/release-notes-generator",
168
- "@semantic-release/npm",
169
- "@semantic-release/changelog",
170
- "@semantic-release/git"
171
- ],
172
- "branches": [
173
- "master"
174
- ]
175
- },
176
- "lint-staged": {
177
- "src/**/*.{vue,ts}": [
178
- "prettier --write"
179
- ]
180
- }
181
- }
1
+ {
2
+ "name": "@deskhero/dh_ui",
3
+ "publishConfig": {
4
+ "access": "public",
5
+ "registry": "https://registry.npmjs.org/"
6
+ },
7
+ "version": "2.49.1",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "main": "dist/dh_ui.umd.js",
12
+ "module": "dist/dh_ui.es.js",
13
+ "types": "dist/src/index.d.ts",
14
+ "declaration": true,
15
+ "declarationDir": "./models",
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/dh_ui.es.js",
19
+ "require": "./dist/dh_ui.umd.js"
20
+ },
21
+ "./dist/style.css": "./dist/style.css"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://github.com/deskhero/dh-ui.git"
26
+ },
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "commit": "cz",
30
+ "build": "run-p type-check build-only",
31
+ "preview": "vite preview --port 4173",
32
+ "build-only": "vite build",
33
+ "type-check": "vue-tsc",
34
+ "storybook": "storybook dev -p 6006",
35
+ "build-storybook": "storybook build",
36
+ "chromatic": "npx chromatic --project-token=9b1dd74e6816",
37
+ "lint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src --max-warnings=0",
38
+ "format": "prettier . --write"
39
+ },
40
+ "dependencies": {
41
+ "@editorjs/editorjs": "^2.28.2",
42
+ "@editorjs/header": "^2.7.0",
43
+ "@editorjs/nested-list": "^1.3.0",
44
+ "@editorjs/paragraph": "^2.11.3",
45
+ "@editorjs/table": "^2.3.0",
46
+ "@editorjs/underline": "^1.1.0",
47
+ "@tiptap/extension-file-handler": "^3.6.7",
48
+ "@tiptap/extension-highlight": "^3.6.2",
49
+ "@tiptap/extension-image": "^3.6.5",
50
+ "@tiptap/extension-list": "^3.5.0",
51
+ "@tiptap/extension-placeholder": "^3.7.2",
52
+ "@tiptap/extension-subscript": "^3.5.1",
53
+ "@tiptap/extension-superscript": "^3.5.1",
54
+ "@tiptap/extension-table": "^3.6.5",
55
+ "@tiptap/extension-text-align": "^3.6.3",
56
+ "@tiptap/pm": "^3.3.1",
57
+ "@tiptap/starter-kit": "^3.3.1",
58
+ "@tiptap/vue-3": "^3.3.1",
59
+ "@vueform/multiselect": "^2.6.2",
60
+ "@vuepic/vue-datepicker": "^3.5.2",
61
+ "cropperjs": "^1.6.1",
62
+ "editorjs-color-picker": "^1.0.7",
63
+ "multi-range-slider-vue": "^1.1.4",
64
+ "tiptap-extension-resize-image": "^1.3.2",
65
+ "vue": "^3.3.4",
66
+ "vue-chartjs": "^5.3.1",
67
+ "vue3-colorpicker": "^2.3.0"
68
+ },
69
+ "devDependencies": {
70
+ "@babel/core": "^7.21.4",
71
+ "@commitlint/cli": "^17.1.2",
72
+ "@commitlint/config-conventional": "^17.1.0",
73
+ "@editorjs/checklist": "^1.4.0",
74
+ "@editorjs/code": "^2.8.0",
75
+ "@editorjs/delimiter": "^1.3.0",
76
+ "@editorjs/inline-code": "^1.4.0",
77
+ "@editorjs/marker": "^1.3.0",
78
+ "@rushstack/eslint-patch": "^1.1.0",
79
+ "@semantic-release/changelog": "^6.0.1",
80
+ "@semantic-release/git": "^10.0.1",
81
+ "@storybook/addon-actions": "^7.5.1",
82
+ "@storybook/addon-essentials": "^7.5.1",
83
+ "@storybook/addon-interactions": "^7.5.1",
84
+ "@storybook/addon-links": "^7.5.1",
85
+ "@storybook/addon-mdx-gfm": "^7.5.1",
86
+ "@storybook/addons": "^7.5.1",
87
+ "@storybook/preset-scss": "^1.0.3",
88
+ "@storybook/testing-library": "^0.2.2",
89
+ "@storybook/theming": "^7.5.1",
90
+ "@storybook/vue3": "^7.5.1",
91
+ "@storybook/vue3-vite": "^7.5.1",
92
+ "@types/node": "^16.11.36",
93
+ "@vitejs/plugin-vue": "^4.1.0",
94
+ "@vue/compiler-sfc": "^3.2.45",
95
+ "@vue/eslint-config-prettier": "^7.0.0",
96
+ "@vue/eslint-config-typescript": "^10.0.0",
97
+ "@vue/tsconfig": "^0.1.3",
98
+ "babel-loader": "^8.2.5",
99
+ "chromatic": "^6.24.1",
100
+ "css-loader": "^6.7.1",
101
+ "cz-conventional-changelog": "^3.3.0",
102
+ "editorjs-drag-drop": "^1.1.16",
103
+ "editorjs-strikethrough": "^1.0.0",
104
+ "editorjs-undo": "^2.0.27",
105
+ "eslint": "^8.17.0",
106
+ "eslint-config-prettier": "^8.5.0",
107
+ "eslint-plugin-cypress": "^2.12.1",
108
+ "eslint-plugin-prettier": "^4.0.0",
109
+ "eslint-plugin-storybook": "^0.6.15",
110
+ "eslint-plugin-vue": "^8.7.1",
111
+ "html-webpack-plugin": "^5.5.0",
112
+ "husky": "^8.0.1",
113
+ "npm-run-all": "^4.1.5",
114
+ "prettier": "^2.5.1",
115
+ "react": "^18.2.0",
116
+ "react-dom": "^18.2.0",
117
+ "sass": "^1.53.0",
118
+ "sass-loader": "^13.0.2",
119
+ "semantic-release": "^23.0.8",
120
+ "storybook": "^7.5.1",
121
+ "style-loader": "^3.3.1",
122
+ "typescript": "^5.0.4",
123
+ "vite": "^4.4.2",
124
+ "vue-loader": "^16.8.3",
125
+ "vue-tsc": "^1.2.0"
126
+ },
127
+ "engines": {
128
+ "node": ">=20.11.1",
129
+ "npm": ">=10.2.4"
130
+ },
131
+ "config": {
132
+ "commitizen": {
133
+ "path": "./node_modules/cz-conventional-changelog"
134
+ }
135
+ },
136
+ "resolutions": {
137
+ "webpack": "5.66.0"
138
+ },
139
+ "release": {
140
+ "plugins": [
141
+ [
142
+ "@semantic-release/commit-analyzer",
143
+ {
144
+ "preset": "angular",
145
+ "releaseRules": [
146
+ {
147
+ "type": "docs",
148
+ "scope": "README",
149
+ "release": "patch"
150
+ },
151
+ {
152
+ "type": "refactor",
153
+ "scope": "core-*",
154
+ "release": "minor"
155
+ },
156
+ {
157
+ "type": "feat",
158
+ "release": "minor"
159
+ },
160
+ {
161
+ "type": "fix",
162
+ "release": "patch"
163
+ },
164
+ {
165
+ "type": "perf",
166
+ "release": "patch"
167
+ }
168
+ ]
169
+ }
170
+ ],
171
+ "@semantic-release/release-notes-generator",
172
+ "@semantic-release/npm",
173
+ "@semantic-release/changelog",
174
+ "@semantic-release/git"
175
+ ],
176
+ "branches": [
177
+ "master"
178
+ ]
179
+ },
180
+ "lint-staged": {
181
+ "src/**/*.{vue,ts}": [
182
+ "prettier --write"
183
+ ]
184
+ }
185
+ }
@@ -1,3 +0,0 @@
1
- import { SysContentRich } from "@/models/Editor.model";
2
- import { EditorTransformer } from "@/models/EditorTransformer";
3
- export declare const EditorjsTransformer: EditorTransformer<SysContentRich>;