@uzum-tech/ui 2.0.8 → 2.1.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 (83) hide show
  1. package/dist/index.js +1787 -467
  2. package/dist/index.mjs +1782 -468
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/carousel/src/Carousel.d.ts +1 -1
  6. package/es/components.d.ts +655 -5
  7. package/es/components.mjs +5 -0
  8. package/es/config-provider/src/internal-interface.d.ts +3 -1
  9. package/es/data-table/src/DataTable.d.ts +1 -1
  10. package/es/descriptions/src/Descriptions.d.ts +1 -1
  11. package/es/kanban/index.d.ts +7 -0
  12. package/es/kanban/index.mjs +5 -0
  13. package/es/kanban/src/Kanban.d.ts +570 -0
  14. package/es/kanban/src/Kanban.mjs +349 -0
  15. package/es/kanban/src/KanbanCard.d.ts +39 -0
  16. package/es/kanban/src/KanbanCard.mjs +86 -0
  17. package/es/kanban/src/KanbanColumn.d.ts +45 -0
  18. package/es/kanban/src/KanbanColumn.mjs +176 -0
  19. package/es/kanban/src/injection.d.ts +28 -0
  20. package/es/kanban/src/injection.mjs +2 -0
  21. package/es/kanban/src/interface.d.ts +215 -0
  22. package/es/kanban/src/interface.mjs +84 -0
  23. package/es/kanban/src/styles/index.cssr.d.ts +2 -0
  24. package/es/kanban/src/styles/index.cssr.mjs +165 -0
  25. package/es/kanban/src/use-kanban-data.d.ts +4 -0
  26. package/es/kanban/src/use-kanban-data.mjs +69 -0
  27. package/es/kanban/src/use-kanban-drag.d.ts +2 -0
  28. package/es/kanban/src/use-kanban-drag.mjs +238 -0
  29. package/es/kanban/styles/dark.d.ts +73 -0
  30. package/es/kanban/styles/dark.mjs +15 -0
  31. package/es/kanban/styles/index.d.ts +3 -0
  32. package/es/kanban/styles/index.mjs +2 -0
  33. package/es/kanban/styles/light.d.ts +109 -0
  34. package/es/kanban/styles/light.mjs +64 -0
  35. package/es/modal/src/BodyWrapper.d.ts +1 -1
  36. package/es/themes/dark.mjs +2 -0
  37. package/es/themes/light.mjs +2 -0
  38. package/es/tree/src/Tree.d.ts +1 -1
  39. package/es/tree/src/TreeNode.d.ts +1 -1
  40. package/es/tree/src/TreeNode.mjs +2 -1
  41. package/es/version.d.ts +1 -1
  42. package/es/version.mjs +1 -1
  43. package/lib/carousel/src/Carousel.d.ts +1 -1
  44. package/lib/components.d.ts +655 -5
  45. package/lib/components.js +13 -5
  46. package/lib/config-provider/src/internal-interface.d.ts +3 -1
  47. package/lib/data-table/src/DataTable.d.ts +1 -1
  48. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  49. package/lib/kanban/index.d.ts +7 -0
  50. package/lib/kanban/index.js +17 -0
  51. package/lib/kanban/src/Kanban.d.ts +570 -0
  52. package/lib/kanban/src/Kanban.js +291 -0
  53. package/lib/kanban/src/KanbanCard.d.ts +39 -0
  54. package/lib/kanban/src/KanbanCard.js +63 -0
  55. package/lib/kanban/src/KanbanColumn.d.ts +45 -0
  56. package/lib/kanban/src/KanbanColumn.js +141 -0
  57. package/lib/kanban/src/injection.d.ts +28 -0
  58. package/lib/kanban/src/injection.js +5 -0
  59. package/lib/kanban/src/interface.d.ts +215 -0
  60. package/lib/kanban/src/interface.js +87 -0
  61. package/lib/kanban/src/styles/index.cssr.d.ts +2 -0
  62. package/lib/kanban/src/styles/index.cssr.js +170 -0
  63. package/lib/kanban/src/use-kanban-data.d.ts +4 -0
  64. package/lib/kanban/src/use-kanban-data.js +70 -0
  65. package/lib/kanban/src/use-kanban-drag.d.ts +2 -0
  66. package/lib/kanban/src/use-kanban-drag.js +220 -0
  67. package/lib/kanban/styles/dark.d.ts +73 -0
  68. package/lib/kanban/styles/dark.js +17 -0
  69. package/lib/kanban/styles/index.d.ts +3 -0
  70. package/lib/kanban/styles/index.js +10 -0
  71. package/lib/kanban/styles/light.d.ts +109 -0
  72. package/lib/kanban/styles/light.js +54 -0
  73. package/lib/modal/src/BodyWrapper.d.ts +1 -1
  74. package/lib/themes/dark.js +98 -96
  75. package/lib/themes/light.js +96 -94
  76. package/lib/tree/src/Tree.d.ts +1 -1
  77. package/lib/tree/src/TreeNode.d.ts +1 -1
  78. package/lib/tree/src/TreeNode.js +2 -1
  79. package/lib/version.d.ts +1 -1
  80. package/lib/version.js +1 -1
  81. package/package.json +1 -1
  82. package/volar.d.ts +3 -0
  83. package/web-types.json +171 -1
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "@uzum-tech/ui",
5
- "version": "2.0.8",
5
+ "version": "2.1.0",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -8717,6 +8717,176 @@
8717
8717
  "events": []
8718
8718
  }
8719
8719
  },
8720
+ {
8721
+ "name": "UKanban",
8722
+ "description": "<u-status type=\"warning\" filled style=\"margin-bottom: 16px;\">\n This component is experimental\n</u-status>\n\n<!--single-column-->\n\nA drag-and-drop Kanban board. Uses a flat data model — `columns` describe the lanes and a single `data` array holds the cards, each pointing at its column via the `column` field. Cards (and optionally columns) are reordered with native HTML5 drag-and-drop; content is rendered through scoped slots, render functions, or the component-renderer config.",
8723
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8724
+ "source": {
8725
+ "symbol": "UKanban"
8726
+ },
8727
+ "slots": [
8728
+ {
8729
+ "name": "card",
8730
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8731
+ "description": "Render a card body."
8732
+ },
8733
+ {
8734
+ "name": "column",
8735
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8736
+ "description": "Render an entire column (full escape hatch)."
8737
+ },
8738
+ {
8739
+ "name": "columnHeader",
8740
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8741
+ "description": "Render a column header row."
8742
+ },
8743
+ {
8744
+ "name": "columnFooter",
8745
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8746
+ "description": "Render content under a column's cards."
8747
+ },
8748
+ {
8749
+ "name": "columnEmpty",
8750
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8751
+ "description": "Render an empty column body."
8752
+ },
8753
+ {
8754
+ "name": "empty",
8755
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8756
+ "description": "Render the empty board state."
8757
+ }
8758
+ ],
8759
+ "attributes": [],
8760
+ "props": [
8761
+ {
8762
+ "name": "columns",
8763
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8764
+ "type": "KanbanColumn[]",
8765
+ "description": "Lane descriptors (key, title, max, pagination, scrollable…).",
8766
+ "default": "[]"
8767
+ },
8768
+ {
8769
+ "name": "data",
8770
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8771
+ "type": "KanbanItem[]",
8772
+ "description": "Flat list of cards. `v-model:data` supported.",
8773
+ "default": "[]"
8774
+ },
8775
+ {
8776
+ "name": "item-key",
8777
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8778
+ "type": "string | ((item) => KanbanKey)",
8779
+ "description": "Field (or getter) for a card's stable id.",
8780
+ "default": "'key'"
8781
+ },
8782
+ {
8783
+ "name": "column-field",
8784
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8785
+ "type": "string",
8786
+ "description": "Field on a card pointing at its column key.",
8787
+ "default": "'column'"
8788
+ },
8789
+ {
8790
+ "name": "orientation",
8791
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8792
+ "type": "'horizontal' | 'vertical'",
8793
+ "description": "Board layout direction.",
8794
+ "default": "'horizontal'"
8795
+ },
8796
+ {
8797
+ "name": "draggable",
8798
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8799
+ "type": "boolean",
8800
+ "description": "Enable card dragging.",
8801
+ "default": "true"
8802
+ },
8803
+ {
8804
+ "name": "columns-draggable",
8805
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8806
+ "type": "boolean",
8807
+ "description": "Enable column reordering by header.",
8808
+ "default": "false"
8809
+ },
8810
+ {
8811
+ "name": "disabled",
8812
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8813
+ "type": "boolean",
8814
+ "description": "Disable all drag interactions.",
8815
+ "default": "false"
8816
+ },
8817
+ {
8818
+ "name": "allow-drop",
8819
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8820
+ "type": "(ctx: KanbanMoveContext) => boolean",
8821
+ "description": "Validate a move before it is applied.",
8822
+ "default": "—"
8823
+ },
8824
+ {
8825
+ "name": "scroll-mode",
8826
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8827
+ "type": "'board' | 'column'",
8828
+ "description": "`board`: the whole board scrolls as one (set a fixed height on the kanban). `column`: each column scrolls on its own.",
8829
+ "default": "'board'"
8830
+ },
8831
+ {
8832
+ "name": "scroll-threshold",
8833
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8834
+ "type": "number",
8835
+ "description": "Distance in px from an edge at which scroll events fire.",
8836
+ "default": "48"
8837
+ },
8838
+ {
8839
+ "name": "loading",
8840
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8841
+ "type": "boolean",
8842
+ "description": "Marks the board busy (`aria-busy`).",
8843
+ "default": "false"
8844
+ },
8845
+ {
8846
+ "name": "empty-props",
8847
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8848
+ "type": "Partial<EmptyProps>",
8849
+ "description": "Props forwarded to the empty `UEmpty`.",
8850
+ "default": "—"
8851
+ },
8852
+ {
8853
+ "name": "card-props",
8854
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8855
+ "type": "Record<string, unknown>",
8856
+ "description": "Attributes forwarded to every card root.",
8857
+ "default": "—"
8858
+ }
8859
+ ],
8860
+ "js": {
8861
+ "events": []
8862
+ }
8863
+ },
8864
+ {
8865
+ "name": "UKanbanCard",
8866
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8867
+ "source": {
8868
+ "symbol": "UKanbanCard"
8869
+ },
8870
+ "slots": [],
8871
+ "attributes": [],
8872
+ "props": [],
8873
+ "js": {
8874
+ "events": []
8875
+ }
8876
+ },
8877
+ {
8878
+ "name": "UKanbanColumn",
8879
+ "doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
8880
+ "source": {
8881
+ "symbol": "UKanbanColumn"
8882
+ },
8883
+ "slots": [],
8884
+ "attributes": [],
8885
+ "props": [],
8886
+ "js": {
8887
+ "events": []
8888
+ }
8889
+ },
8720
8890
  {
8721
8891
  "name": "ULayout",
8722
8892
  "description": "<!--single-column-->\n\nLayout is for layout.\n\nThe component is a bit complicated to use. But like a manual gear car, it worths a shot.\n\nIf you are use version before v2.3.0, you may want to know about <u-a href=\"#Changes-After-v2.3.0\">Changes After v2.3.0</u-a>.",