@naptics/vue-collection 0.3.2 → 1.0.0-beta.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.
Files changed (210) hide show
  1. package/{components → lib/components}/NAlert.js +3 -3
  2. package/{components → lib/components}/NBadge.js +1 -1
  3. package/{components → lib/components}/NButton.js +2 -4
  4. package/{components → lib/components}/NCheckbox.js +1 -1
  5. package/{components → lib/components}/NDialog.js +2 -2
  6. package/{components → lib/components}/NDropdown.js +8 -8
  7. package/{components → lib/components}/NDropzone.js +4 -4
  8. package/{components → lib/components}/NIconButton.js +1 -1
  9. package/{components → lib/components}/NInput.js +1 -1
  10. package/{components → lib/components}/NLink.js +1 -1
  11. package/{components → lib/components}/NModal.js +8 -5
  12. package/{components → lib/components}/NPagination.css +4 -2
  13. package/{components → lib/components}/NPagination.js +1 -1
  14. package/{components → lib/components}/NSearchbar.js +1 -1
  15. package/{components → lib/components}/NSelect.js +1 -1
  16. package/{components → lib/components}/NSuggestionList.js +1 -1
  17. package/{src/lib → lib}/components/NTable.css +2 -0
  18. package/{components → lib/components}/NTableAction.js +1 -1
  19. package/{components → lib/components}/NTextArea.js +1 -1
  20. package/{components → lib/components}/NTooltip.css +2 -0
  21. package/{components → lib/components}/NTooltip.js +1 -1
  22. package/{components → lib/components}/NValInput.d.ts +1 -4
  23. package/package.json +36 -31
  24. package/.github/workflows/build.yml +0 -26
  25. package/.github/workflows/deploy-demo.yml +0 -46
  26. package/.github/workflows/deploy-lib.yml +0 -59
  27. package/.gitlab-ci.yml +0 -57
  28. package/.nvmrc +0 -1
  29. package/.prettierrc +0 -8
  30. package/.vscode/extensions.json +0 -10
  31. package/.vscode/launch.json +0 -23
  32. package/.vscode/settings.json +0 -13
  33. package/babel.config.json +0 -3
  34. package/components/NTable.css +0 -3
  35. package/env.d.ts +0 -15
  36. package/eslint.config.cjs +0 -29
  37. package/index.html +0 -13
  38. package/postcss.config.js +0 -6
  39. package/public/favicon.ico +0 -0
  40. package/scripts/build-lib.sh +0 -52
  41. package/scripts/sync-node-types.js +0 -70
  42. package/src/demo/App.css +0 -9
  43. package/src/demo/App.tsx +0 -5
  44. package/src/demo/components/ColorGrid.tsx +0 -26
  45. package/src/demo/components/ComponentGrid.tsx +0 -26
  46. package/src/demo/components/ComponentSection.tsx +0 -30
  47. package/src/demo/components/VariantSection.tsx +0 -18
  48. package/src/demo/i18n/de.ts +0 -7
  49. package/src/demo/i18n/en.ts +0 -7
  50. package/src/demo/i18n/index.ts +0 -24
  51. package/src/demo/main.ts +0 -13
  52. package/src/demo/router/index.ts +0 -21
  53. package/src/demo/views/HomeView.tsx +0 -94
  54. package/src/demo/views/NavigationView.tsx +0 -43
  55. package/src/demo/views/presentation/AlertView.tsx +0 -40
  56. package/src/demo/views/presentation/BadgeView.tsx +0 -61
  57. package/src/demo/views/presentation/BreadcrumbView.tsx +0 -52
  58. package/src/demo/views/presentation/ButtonView.tsx +0 -49
  59. package/src/demo/views/presentation/CheckboxView.tsx +0 -59
  60. package/src/demo/views/presentation/DropdownView.tsx +0 -59
  61. package/src/demo/views/presentation/DropzoneView.tsx +0 -39
  62. package/src/demo/views/presentation/IconButtonView.tsx +0 -47
  63. package/src/demo/views/presentation/IconCircleView.tsx +0 -38
  64. package/src/demo/views/presentation/InputView.tsx +0 -179
  65. package/src/demo/views/presentation/LinkView.tsx +0 -60
  66. package/src/demo/views/presentation/ListView.tsx +0 -29
  67. package/src/demo/views/presentation/LoadingIndicatorView.tsx +0 -38
  68. package/src/demo/views/presentation/ModalView.tsx +0 -210
  69. package/src/demo/views/presentation/PaginationView.tsx +0 -25
  70. package/src/demo/views/presentation/SearchbarView.tsx +0 -80
  71. package/src/demo/views/presentation/TableView.tsx +0 -146
  72. package/src/demo/views/presentation/TooltipView.tsx +0 -92
  73. package/src/lib/components/NAlert.tsx +0 -85
  74. package/src/lib/components/NBadge.tsx +0 -75
  75. package/src/lib/components/NBreadcrub.tsx +0 -97
  76. package/src/lib/components/NButton.tsx +0 -80
  77. package/src/lib/components/NCheckbox.tsx +0 -55
  78. package/src/lib/components/NCheckboxLabel.tsx +0 -51
  79. package/src/lib/components/NCrudModal.tsx +0 -133
  80. package/src/lib/components/NDialog.tsx +0 -182
  81. package/src/lib/components/NDropdown.tsx +0 -167
  82. package/src/lib/components/NDropzone.tsx +0 -265
  83. package/src/lib/components/NForm.tsx +0 -32
  84. package/src/lib/components/NFormModal.tsx +0 -66
  85. package/src/lib/components/NIconButton.tsx +0 -92
  86. package/src/lib/components/NIconCircle.tsx +0 -78
  87. package/src/lib/components/NInput.css +0 -11
  88. package/src/lib/components/NInput.tsx +0 -139
  89. package/src/lib/components/NInputPhone.tsx +0 -53
  90. package/src/lib/components/NInputSelect.tsx +0 -126
  91. package/src/lib/components/NInputSuggestion.tsx +0 -80
  92. package/src/lib/components/NLink.tsx +0 -82
  93. package/src/lib/components/NList.tsx +0 -67
  94. package/src/lib/components/NLoadingIndicator.css +0 -46
  95. package/src/lib/components/NLoadingIndicator.tsx +0 -63
  96. package/src/lib/components/NModal.tsx +0 -243
  97. package/src/lib/components/NPagination.css +0 -15
  98. package/src/lib/components/NPagination.tsx +0 -131
  99. package/src/lib/components/NSearchbar.tsx +0 -78
  100. package/src/lib/components/NSearchbarList.tsx +0 -47
  101. package/src/lib/components/NSelect.tsx +0 -128
  102. package/src/lib/components/NSuggestionList.tsx +0 -216
  103. package/src/lib/components/NTable.tsx +0 -247
  104. package/src/lib/components/NTableAction.tsx +0 -49
  105. package/src/lib/components/NTextArea.tsx +0 -159
  106. package/src/lib/components/NTooltip.css +0 -37
  107. package/src/lib/components/NTooltip.tsx +0 -289
  108. package/src/lib/components/NValInput.tsx +0 -163
  109. package/src/lib/components/ValidatedForm.ts +0 -71
  110. package/src/lib/components/__tests__/NButton.spec.tsx +0 -26
  111. package/src/lib/components/__tests__/NCheckbox.spec.tsx +0 -39
  112. package/src/lib/i18n/de/vue-collection.json +0 -58
  113. package/src/lib/i18n/en/vue-collection.json +0 -58
  114. package/src/lib/i18n/index.ts +0 -54
  115. package/src/lib/index.ts +0 -2
  116. package/src/lib/jsx.d.ts +0 -13
  117. package/src/lib/utils/__tests__/identifiable.spec.ts +0 -72
  118. package/src/lib/utils/__tests__/validation.spec.ts +0 -92
  119. package/src/lib/utils/breakpoints.ts +0 -47
  120. package/src/lib/utils/component.tsx +0 -131
  121. package/src/lib/utils/deferred.ts +0 -28
  122. package/src/lib/utils/identifiable.ts +0 -87
  123. package/src/lib/utils/stringMaxLength.ts +0 -25
  124. package/src/lib/utils/tailwind.ts +0 -41
  125. package/src/lib/utils/utils.ts +0 -90
  126. package/src/lib/utils/vModel.ts +0 -260
  127. package/src/lib/utils/validation.ts +0 -189
  128. package/src/lib/utils/vue.ts +0 -25
  129. package/tailwind.config.js +0 -38
  130. package/tsconfig.config.json +0 -9
  131. package/tsconfig.demo.json +0 -19
  132. package/tsconfig.json +0 -16
  133. package/tsconfig.lib.json +0 -18
  134. package/tsconfig.vitest.json +0 -8
  135. package/vite.config.ts +0 -28
  136. /package/{components → lib/components}/NAlert.d.ts +0 -0
  137. /package/{components → lib/components}/NBadge.d.ts +0 -0
  138. /package/{components → lib/components}/NBreadcrub.d.ts +0 -0
  139. /package/{components → lib/components}/NBreadcrub.js +0 -0
  140. /package/{components → lib/components}/NButton.d.ts +0 -0
  141. /package/{components → lib/components}/NCheckbox.d.ts +0 -0
  142. /package/{components → lib/components}/NCheckboxLabel.d.ts +0 -0
  143. /package/{components → lib/components}/NCheckboxLabel.js +0 -0
  144. /package/{components → lib/components}/NCrudModal.d.ts +0 -0
  145. /package/{components → lib/components}/NCrudModal.js +0 -0
  146. /package/{components → lib/components}/NDialog.d.ts +0 -0
  147. /package/{components → lib/components}/NDropdown.d.ts +0 -0
  148. /package/{components → lib/components}/NDropzone.d.ts +0 -0
  149. /package/{components → lib/components}/NForm.d.ts +0 -0
  150. /package/{components → lib/components}/NForm.js +0 -0
  151. /package/{components → lib/components}/NFormModal.d.ts +0 -0
  152. /package/{components → lib/components}/NFormModal.js +0 -0
  153. /package/{components → lib/components}/NIconButton.d.ts +0 -0
  154. /package/{components → lib/components}/NIconCircle.d.ts +0 -0
  155. /package/{components → lib/components}/NIconCircle.js +0 -0
  156. /package/{components → lib/components}/NInput.css +0 -0
  157. /package/{components → lib/components}/NInput.d.ts +0 -0
  158. /package/{components → lib/components}/NInputPhone.d.ts +0 -0
  159. /package/{components → lib/components}/NInputPhone.js +0 -0
  160. /package/{components → lib/components}/NInputSelect.d.ts +0 -0
  161. /package/{components → lib/components}/NInputSelect.js +0 -0
  162. /package/{components → lib/components}/NInputSuggestion.d.ts +0 -0
  163. /package/{components → lib/components}/NInputSuggestion.js +0 -0
  164. /package/{components → lib/components}/NLink.d.ts +0 -0
  165. /package/{components → lib/components}/NList.d.ts +0 -0
  166. /package/{components → lib/components}/NList.js +0 -0
  167. /package/{components → lib/components}/NLoadingIndicator.css +0 -0
  168. /package/{components → lib/components}/NLoadingIndicator.d.ts +0 -0
  169. /package/{components → lib/components}/NLoadingIndicator.js +0 -0
  170. /package/{components → lib/components}/NModal.d.ts +0 -0
  171. /package/{components → lib/components}/NPagination.d.ts +0 -0
  172. /package/{components → lib/components}/NSearchbar.d.ts +0 -0
  173. /package/{components → lib/components}/NSearchbarList.d.ts +0 -0
  174. /package/{components → lib/components}/NSearchbarList.js +0 -0
  175. /package/{components → lib/components}/NSelect.d.ts +0 -0
  176. /package/{components → lib/components}/NSuggestionList.d.ts +0 -0
  177. /package/{components → lib/components}/NTable.d.ts +0 -0
  178. /package/{components → lib/components}/NTable.js +0 -0
  179. /package/{components → lib/components}/NTableAction.d.ts +0 -0
  180. /package/{components → lib/components}/NTextArea.d.ts +0 -0
  181. /package/{components → lib/components}/NTooltip.d.ts +0 -0
  182. /package/{components → lib/components}/NValInput.js +0 -0
  183. /package/{components → lib/components}/ValidatedForm.d.ts +0 -0
  184. /package/{components → lib/components}/ValidatedForm.js +0 -0
  185. /package/{i18n → lib/i18n}/de/vue-collection.json +0 -0
  186. /package/{i18n → lib/i18n}/en/vue-collection.json +0 -0
  187. /package/{i18n → lib/i18n}/index.d.ts +0 -0
  188. /package/{i18n → lib/i18n}/index.js +0 -0
  189. /package/{index.d.ts → lib/index.d.ts} +0 -0
  190. /package/{index.js → lib/index.js} +0 -0
  191. /package/{utils → lib/utils}/breakpoints.d.ts +0 -0
  192. /package/{utils → lib/utils}/breakpoints.js +0 -0
  193. /package/{utils → lib/utils}/component.d.ts +0 -0
  194. /package/{utils → lib/utils}/component.js +0 -0
  195. /package/{utils → lib/utils}/deferred.d.ts +0 -0
  196. /package/{utils → lib/utils}/deferred.js +0 -0
  197. /package/{utils → lib/utils}/identifiable.d.ts +0 -0
  198. /package/{utils → lib/utils}/identifiable.js +0 -0
  199. /package/{utils → lib/utils}/stringMaxLength.d.ts +0 -0
  200. /package/{utils → lib/utils}/stringMaxLength.js +0 -0
  201. /package/{utils → lib/utils}/tailwind.d.ts +0 -0
  202. /package/{utils → lib/utils}/tailwind.js +0 -0
  203. /package/{utils → lib/utils}/utils.d.ts +0 -0
  204. /package/{utils → lib/utils}/utils.js +0 -0
  205. /package/{utils → lib/utils}/vModel.d.ts +0 -0
  206. /package/{utils → lib/utils}/vModel.js +0 -0
  207. /package/{utils → lib/utils}/validation.d.ts +0 -0
  208. /package/{utils → lib/utils}/validation.js +0 -0
  209. /package/{utils → lib/utils}/vue.d.ts +0 -0
  210. /package/{utils → lib/utils}/vue.js +0 -0
package/vite.config.ts DELETED
@@ -1,28 +0,0 @@
1
- import { fileURLToPath, URL } from 'url'
2
- import { defineConfig } from 'vite'
3
- import vue from '@vitejs/plugin-vue'
4
- import vueJsx from '@vitejs/plugin-vue-jsx'
5
- import vueI18n from '@intlify/unplugin-vue-i18n/vite'
6
- import { resolve, dirname } from 'path'
7
-
8
- const __dirname = dirname(fileURLToPath(import.meta.url))
9
-
10
- // https://vitejs.dev/config/
11
- export default defineConfig({
12
- plugins: [
13
- vue(),
14
- vueJsx(),
15
- vueI18n({
16
- compositionOnly: true,
17
- runtimeOnly: false,
18
- fullInstall: false,
19
- include: resolve(__dirname, 'src/i18n/*'),
20
- }),
21
- ],
22
- resolve: {
23
- alias: {
24
- '@': fileURLToPath(new URL('./src', import.meta.url)),
25
- },
26
- },
27
- base: process.env.VITE_BASE_PATH,
28
- })
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes