@codemonster-ru/vueforge 0.90.0 → 0.92.0

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 (119) hide show
  1. package/README.md +8 -0
  2. package/dist/index.css +1 -1
  3. package/dist/index.d.ts +25 -2
  4. package/dist/index.ts.mjs +8934 -6685
  5. package/dist/index.ts.umd.js +13 -13
  6. package/dist/package/components/__tests__/avatar.test.d.ts +1 -0
  7. package/dist/package/components/__tests__/badge.test.d.ts +1 -0
  8. package/dist/package/components/__tests__/button.test.d.ts +1 -0
  9. package/dist/package/components/__tests__/card.test.d.ts +1 -0
  10. package/dist/package/components/__tests__/carousel.test.d.ts +1 -0
  11. package/dist/package/components/__tests__/chart.test.d.ts +1 -0
  12. package/dist/package/components/__tests__/checkbox.test.d.ts +1 -0
  13. package/dist/package/components/__tests__/data-view.test.d.ts +1 -0
  14. package/dist/package/components/__tests__/image.test.d.ts +1 -0
  15. package/dist/package/components/__tests__/listbox.test.d.ts +1 -0
  16. package/dist/package/components/__tests__/mega-menu.test.d.ts +1 -0
  17. package/dist/package/components/__tests__/menu-bar.test.d.ts +1 -0
  18. package/dist/package/components/__tests__/must-have-parity-a11y.test.d.ts +1 -0
  19. package/dist/package/components/__tests__/must-have-parity-responsive.test.d.ts +1 -0
  20. package/dist/package/components/__tests__/overlay-panel.test.d.ts +1 -0
  21. package/dist/package/components/__tests__/panel-menu.test.d.ts +1 -0
  22. package/dist/package/components/__tests__/rtl-regression.test.d.ts +1 -0
  23. package/dist/package/components/__tests__/speed-dial.test.d.ts +1 -0
  24. package/dist/package/components/__tests__/ssr-hydration.test.d.ts +1 -0
  25. package/dist/package/components/__tests__/switch.test.d.ts +1 -0
  26. package/dist/package/components/__tests__/tree-table.test.d.ts +1 -0
  27. package/dist/package/components/accordion.vue.d.ts +3 -3
  28. package/dist/package/components/autocomplete.vue.d.ts +2 -2
  29. package/dist/package/components/avatar.vue.d.ts +1 -1
  30. package/dist/package/components/badge.vue.d.ts +1 -1
  31. package/dist/package/components/calendar.vue.d.ts +2 -2
  32. package/dist/package/components/carousel.vue.d.ts +83 -0
  33. package/dist/package/components/chart-adapter.d.ts +35 -0
  34. package/dist/package/components/chart.vue.d.ts +63 -0
  35. package/dist/package/components/checkbox.vue.d.ts +17 -1
  36. package/dist/package/components/chip.vue.d.ts +2 -2
  37. package/dist/package/components/color-picker.vue.d.ts +3 -2
  38. package/dist/package/components/combobox.vue.d.ts +2 -2
  39. package/dist/package/components/command-palette.vue.d.ts +2 -2
  40. package/dist/package/components/confirm-dialog.vue.d.ts +8 -8
  41. package/dist/package/components/data-table.vue.d.ts +3 -3
  42. package/dist/package/components/data-view.vue.d.ts +83 -0
  43. package/dist/package/components/date-range-picker.vue.d.ts +2 -2
  44. package/dist/package/components/datepicker.vue.d.ts +2 -2
  45. package/dist/package/components/datetimepicker.vue.d.ts +2 -2
  46. package/dist/package/components/divider.vue.d.ts +1 -1
  47. package/dist/package/components/drawer.vue.d.ts +2 -2
  48. package/dist/package/components/file-upload.vue.d.ts +2 -2
  49. package/dist/package/components/filter-chips.vue.d.ts +5 -5
  50. package/dist/package/components/form.vue.d.ts +1 -1
  51. package/dist/package/components/image.vue.d.ts +61 -0
  52. package/dist/package/components/inline-edit.vue.d.ts +1 -1
  53. package/dist/package/components/input-group.vue.d.ts +4 -0
  54. package/dist/package/components/input.vue.d.ts +2 -2
  55. package/dist/package/components/listbox.vue.d.ts +81 -0
  56. package/dist/package/components/masked-input.vue.d.ts +2 -2
  57. package/dist/package/components/mega-menu.vue.d.ts +39 -0
  58. package/dist/package/components/mention-input.vue.d.ts +4 -4
  59. package/dist/package/components/menu-bar.vue.d.ts +27 -0
  60. package/dist/package/components/modal.vue.d.ts +1 -1
  61. package/dist/package/components/multi-select.vue.d.ts +2 -2
  62. package/dist/package/components/notification-center.vue.d.ts +6 -6
  63. package/dist/package/components/number-input.vue.d.ts +2 -2
  64. package/dist/package/components/otp-input.vue.d.ts +2 -2
  65. package/dist/package/components/overlay-panel.vue.d.ts +374 -0
  66. package/dist/package/components/pagination.vue.d.ts +1 -1
  67. package/dist/package/components/panel-menu-node.vue.d.ts +17 -0
  68. package/dist/package/components/panel-menu.vue.d.ts +31 -0
  69. package/dist/package/components/password-input.vue.d.ts +2 -2
  70. package/dist/package/components/popover.vue.d.ts +3 -3
  71. package/dist/package/components/progress.vue.d.ts +1 -1
  72. package/dist/package/components/radio-button.vue.d.ts +1 -1
  73. package/dist/package/components/radio-group.vue.d.ts +2 -2
  74. package/dist/package/components/rating.vue.d.ts +1 -1
  75. package/dist/package/components/rich-text-editor.vue.d.ts +2 -2
  76. package/dist/package/components/search-input.vue.d.ts +2 -2
  77. package/dist/package/components/segmented-control.vue.d.ts +2 -2
  78. package/dist/package/components/select.vue.d.ts +3 -3
  79. package/dist/package/components/skeleton.vue.d.ts +12 -1
  80. package/dist/package/components/slider.vue.d.ts +2 -2
  81. package/dist/package/components/speed-dial.vue.d.ts +91 -0
  82. package/dist/package/components/spinner.vue.d.ts +1 -1
  83. package/dist/package/components/split-button.vue.d.ts +3 -1
  84. package/dist/package/components/stepper.vue.d.ts +1 -1
  85. package/dist/package/components/switch.vue.d.ts +16 -0
  86. package/dist/package/components/tabs.vue.d.ts +1 -1
  87. package/dist/package/components/tag-input.vue.d.ts +3 -3
  88. package/dist/package/components/textarea.vue.d.ts +2 -2
  89. package/dist/package/components/timepicker.vue.d.ts +2 -2
  90. package/dist/package/components/toast-container.vue.d.ts +2 -0
  91. package/dist/package/components/toast.vue.d.ts +1 -1
  92. package/dist/package/components/tour.vue.d.ts +2 -2
  93. package/dist/package/components/tree-select.vue.d.ts +3 -3
  94. package/dist/package/components/tree-table.vue.d.ts +99 -0
  95. package/dist/package/components/tree.vue.d.ts +4 -4
  96. package/dist/package/components/virtual-scroller.vue.d.ts +1 -1
  97. package/dist/package/components/wizard.vue.d.ts +1 -1
  98. package/dist/package/config/__tests__/locale-text.test.d.ts +1 -0
  99. package/dist/package/config/index.d.ts +7 -1
  100. package/dist/package/config/locale-text.d.ts +151 -0
  101. package/dist/package/config/pass-through.d.ts +6 -0
  102. package/dist/package/config/theme-core.d.ts +246 -0
  103. package/dist/package/services/__tests__/confirm-service.test.d.ts +1 -0
  104. package/dist/package/services/__tests__/dialog-service.test.d.ts +1 -0
  105. package/dist/package/services/confirm-service.d.ts +43 -0
  106. package/dist/package/services/dialog-service.d.ts +29 -0
  107. package/dist/package/themes/default/components/carousel.d.ts +28 -0
  108. package/dist/package/themes/default/components/chart.d.ts +12 -0
  109. package/dist/package/themes/default/components/dataview.d.ts +27 -0
  110. package/dist/package/themes/default/components/image.d.ts +21 -0
  111. package/dist/package/themes/default/components/listbox.d.ts +32 -0
  112. package/dist/package/themes/default/components/megamenu.d.ts +27 -0
  113. package/dist/package/themes/default/components/menubar.d.ts +7 -0
  114. package/dist/package/themes/default/components/panelmenu.d.ts +13 -0
  115. package/dist/package/themes/default/components/skeleton.d.ts +9 -0
  116. package/dist/package/themes/default/components/speeddial.d.ts +31 -0
  117. package/dist/package/themes/default/components/treetable.d.ts +38 -0
  118. package/dist/package/themes/default/index.d.ts +242 -0
  119. package/package.json +11 -2
@@ -217,6 +217,17 @@ declare const _default: {
217
217
  borderColor: string;
218
218
  borderRadius: string;
219
219
  };
220
+ chart: {
221
+ borderColor: string;
222
+ borderRadius: string;
223
+ backgroundColor: string;
224
+ textColor: string;
225
+ padding: string;
226
+ minHeight: string;
227
+ stateMinHeight: string;
228
+ stateTextColor: string;
229
+ stateFontSize: string;
230
+ };
220
231
  container: {
221
232
  maxWidth: string;
222
233
  maxWidthSm: string;
@@ -335,6 +346,26 @@ declare const _default: {
335
346
  buttonPadding: string;
336
347
  };
337
348
  };
349
+ image: {
350
+ borderColor: string;
351
+ borderRadius: string;
352
+ backgroundColor: string;
353
+ overlayZIndex: string;
354
+ overlayPadding: string;
355
+ overlayBackgroundColor: string;
356
+ previewMaxWidth: string;
357
+ previewMaxHeight: string;
358
+ previewBorderRadius: string;
359
+ previewBackgroundColor: string;
360
+ previewShadow: string;
361
+ closeOffset: string;
362
+ closeSize: string;
363
+ closeBorderColor: string;
364
+ closeBackgroundColor: string;
365
+ closeTextColor: string;
366
+ focusRingShadow: string;
367
+ disabledOpacity: string;
368
+ };
338
369
  searchInput: {
339
370
  gap: string;
340
371
  fontSize: string;
@@ -767,6 +798,50 @@ declare const _default: {
767
798
  marginLeft: string;
768
799
  };
769
800
  };
801
+ menubar: {
802
+ borderColor: string;
803
+ borderRadius: string;
804
+ backgroundColor: string;
805
+ padding: string;
806
+ };
807
+ megamenu: {
808
+ borderColor: string;
809
+ borderRadius: string;
810
+ backgroundColor: string;
811
+ padding: string;
812
+ rootGap: string;
813
+ triggerTextColor: string;
814
+ triggerPadding: string;
815
+ triggerBorderRadius: string;
816
+ triggerActiveBackgroundColor: string;
817
+ panelOffset: string;
818
+ zIndex: string;
819
+ panelMinWidth: string;
820
+ panelBorderColor: string;
821
+ panelBorderRadius: string;
822
+ panelBackgroundColor: string;
823
+ panelShadow: string;
824
+ panelPadding: string;
825
+ columnsGap: string;
826
+ sectionTitleGap: string;
827
+ sectionTitleFontSize: string;
828
+ sectionTitleColor: string;
829
+ linkGap: string;
830
+ linkColor: string;
831
+ linkHoverColor: string;
832
+ };
833
+ panelmenu: {
834
+ borderColor: string;
835
+ borderRadius: string;
836
+ backgroundColor: string;
837
+ padding: string;
838
+ gap: string;
839
+ indent: string;
840
+ itemTextColor: string;
841
+ itemBorderRadius: string;
842
+ itemPadding: string;
843
+ itemHoverBackgroundColor: string;
844
+ };
770
845
  modal: {
771
846
  width: string;
772
847
  maxWidth: string;
@@ -836,6 +911,13 @@ declare const _default: {
836
911
  shadow: string;
837
912
  zIndex: string;
838
913
  };
914
+ overlaypanel: {
915
+ borderRadius: string;
916
+ borderColor: string;
917
+ backgroundColor: string;
918
+ shadow: string;
919
+ zIndex: string;
920
+ };
839
921
  dropdown: {
840
922
  panelPadding: string;
841
923
  panelBorderRadius: string;
@@ -1183,6 +1265,37 @@ declare const _default: {
1183
1265
  fontSize: string;
1184
1266
  };
1185
1267
  };
1268
+ listbox: {
1269
+ borderColor: string;
1270
+ borderRadius: string;
1271
+ backgroundColor: string;
1272
+ textColor: string;
1273
+ padding: string;
1274
+ minHeight: string;
1275
+ maxHeight: string;
1276
+ focusRingShadow: string;
1277
+ focusBorderColor: string;
1278
+ groupGapTop: string;
1279
+ groupLabelPadding: string;
1280
+ groupLabelColor: string;
1281
+ groupLabelFontSize: string;
1282
+ optionPadding: string;
1283
+ optionBorderRadius: string;
1284
+ optionHighlightedBackgroundColor: string;
1285
+ optionSelectedBackgroundColor: string;
1286
+ optionSelectedTextColor: string;
1287
+ emptyPadding: string;
1288
+ emptyColor: string;
1289
+ disabledOpacity: string;
1290
+ small: {
1291
+ optionPadding: string;
1292
+ fontSize: string;
1293
+ };
1294
+ large: {
1295
+ optionPadding: string;
1296
+ fontSize: string;
1297
+ };
1298
+ };
1186
1299
  taginput: {
1187
1300
  minWidth: string;
1188
1301
  minHeight: string;
@@ -1686,6 +1799,15 @@ declare const _default: {
1686
1799
  backgroundColor: string;
1687
1800
  shimmerColor: string;
1688
1801
  animationDuration: string;
1802
+ presetGap: string;
1803
+ presetTableHeaderHeight: string;
1804
+ presetTableRowHeight: string;
1805
+ presetListAvatarSize: string;
1806
+ presetListLineHeight: string;
1807
+ presetListSecondaryWidth: string;
1808
+ presetFormLabelWidth: string;
1809
+ presetFormLabelHeight: string;
1810
+ presetFormFieldHeight: string;
1689
1811
  };
1690
1812
  datatable: {
1691
1813
  borderColor: string;
@@ -1719,6 +1841,89 @@ declare const _default: {
1719
1841
  cellPadding: string;
1720
1842
  };
1721
1843
  };
1844
+ dataview: {
1845
+ gap: string;
1846
+ toolbarGap: string;
1847
+ layoutGap: string;
1848
+ controlBorderColor: string;
1849
+ controlBorderRadius: string;
1850
+ controlBackgroundColor: string;
1851
+ controlTextColor: string;
1852
+ controlPadding: string;
1853
+ controlFontSize: string;
1854
+ controlActiveBackgroundColor: string;
1855
+ controlActiveBorderColor: string;
1856
+ controlActiveTextColor: string;
1857
+ listGap: string;
1858
+ gridGap: string;
1859
+ gridMinWidth: string;
1860
+ itemBorderColor: string;
1861
+ itemBorderRadius: string;
1862
+ itemBackgroundColor: string;
1863
+ itemTextColor: string;
1864
+ itemPadding: string;
1865
+ statePadding: string;
1866
+ stateTextColor: string;
1867
+ paginationGap: string;
1868
+ disabledOpacity: string;
1869
+ };
1870
+ carousel: {
1871
+ gap: string;
1872
+ borderColor: string;
1873
+ borderRadius: string;
1874
+ backgroundColor: string;
1875
+ textColor: string;
1876
+ slideMinHeight: string;
1877
+ slidePadding: string;
1878
+ transitionDuration: string;
1879
+ transitionEasing: string;
1880
+ arrowSize: string;
1881
+ arrowSizeMobile: string;
1882
+ arrowOffset: string;
1883
+ arrowBorderColor: string;
1884
+ arrowBorderRadius: string;
1885
+ arrowBackgroundColor: string;
1886
+ arrowTextColor: string;
1887
+ indicatorsGap: string;
1888
+ indicatorSize: string;
1889
+ indicatorBorderColor: string;
1890
+ indicatorBackgroundColor: string;
1891
+ indicatorActiveBorderColor: string;
1892
+ indicatorActiveBackgroundColor: string;
1893
+ focusRingShadow: string;
1894
+ focusBorderColor: string;
1895
+ disabledOpacity: string;
1896
+ };
1897
+ speeddial: {
1898
+ gap: string;
1899
+ zIndex: string;
1900
+ offsetX: string;
1901
+ offsetY: string;
1902
+ offsetXMobile: string;
1903
+ offsetYMobile: string;
1904
+ transitionDuration: string;
1905
+ transitionEasing: string;
1906
+ triggerSize: string;
1907
+ triggerPaddingX: string;
1908
+ triggerBorderRadius: string;
1909
+ triggerBorderColor: string;
1910
+ triggerBackgroundColor: string;
1911
+ triggerTextColor: string;
1912
+ triggerShadow: string;
1913
+ actionSize: string;
1914
+ actionPaddingX: string;
1915
+ actionBorderRadius: string;
1916
+ actionBorderColor: string;
1917
+ actionBackgroundColor: string;
1918
+ actionTextColor: string;
1919
+ actionShadow: string;
1920
+ labelBackgroundColor: string;
1921
+ labelTextColor: string;
1922
+ labelPadding: string;
1923
+ focusRingShadow: string;
1924
+ focusBorderColor: string;
1925
+ disabledOpacity: string;
1926
+ };
1722
1927
  toast: {
1723
1928
  gap: string;
1724
1929
  padding: string;
@@ -2385,6 +2590,43 @@ declare const _default: {
2385
2590
  fontSize: string;
2386
2591
  };
2387
2592
  };
2593
+ treetable: {
2594
+ borderColor: string;
2595
+ borderRadius: string;
2596
+ backgroundColor: string;
2597
+ textColor: string;
2598
+ fontSize: string;
2599
+ headerBackgroundColor: string;
2600
+ headerTextColor: string;
2601
+ headerFontWeight: string;
2602
+ headerBorderColor: string;
2603
+ rowBackgroundColor: string;
2604
+ rowBorderColor: string;
2605
+ rowHoverBackgroundColor: string;
2606
+ rowSelectedBackgroundColor: string;
2607
+ rowSelectedTextColor: string;
2608
+ rowStripedBackgroundColor: string;
2609
+ cellPadding: string;
2610
+ cellGap: string;
2611
+ indentStep: string;
2612
+ toggleSize: string;
2613
+ toggleBorderRadius: string;
2614
+ toggleBorderColor: string;
2615
+ toggleBackgroundColor: string;
2616
+ toggleTextColor: string;
2617
+ focusRingColor: string;
2618
+ statePadding: string;
2619
+ stateTextColor: string;
2620
+ disabledOpacity: string;
2621
+ small: {
2622
+ fontSize: string;
2623
+ cellPadding: string;
2624
+ };
2625
+ large: {
2626
+ fontSize: string;
2627
+ cellPadding: string;
2628
+ };
2629
+ };
2388
2630
  virtualScroller: {
2389
2631
  fontSize: string;
2390
2632
  borderColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.90.0",
3
+ "version": "0.92.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",
@@ -49,7 +49,14 @@
49
49
  "lint": "node --import tsx ./node_modules/eslint/bin/eslint.js . --ext .ts,.vue --config eslint.config.ts",
50
50
  "typecheck": "vue-tsc --noEmit",
51
51
  "test": "vitest run",
52
- "verify:semver": "node ./scripts/verify-semver-checklist.mjs"
52
+ "test:ssr": "vitest run src/package/components/__tests__/ssr-hydration.test.ts",
53
+ "test:visual": "playwright test",
54
+ "test:visual:update": "playwright test --update-snapshots",
55
+ "benchmark:run": "node --import tsx ./scripts/run-performance-benchmarks.ts",
56
+ "verify:performance-report": "node --import tsx ./scripts/verify-performance-report.ts",
57
+ "performance:check": "npm run benchmark:run && npm run verify:performance-report",
58
+ "verify:performance-budgets": "node --import tsx ./scripts/verify-performance-budgets.ts",
59
+ "verify:semver": "node --import tsx ./scripts/verify-semver-checklist.ts"
53
60
  },
54
61
  "peerDependencies": {
55
62
  "@codemonster-ru/vueiconify": "^0.7.0",
@@ -61,6 +68,7 @@
61
68
  "@typescript-eslint/eslint-plugin": "^8.54.0",
62
69
  "@vitejs/plugin-vue": "^5.0.5",
63
70
  "@vue/eslint-config-typescript": "^14.6.0",
71
+ "@vue/server-renderer": "^3.4.31",
64
72
  "@vue/test-utils": "^2.4.6",
65
73
  "eslint": "^9.39.2",
66
74
  "eslint-config-prettier": "^9.1.0",
@@ -69,6 +77,7 @@
69
77
  "jiti": "^2.4.2",
70
78
  "jsdom": "^24.0.0",
71
79
  "pinia": "^2.2.4",
80
+ "@playwright/test": "^1.52.0",
72
81
  "prettier": "^3.3.2",
73
82
  "sass": "^1.77.8",
74
83
  "tsx": "^4.20.5",