@uzum-tech/ui 2.0.9 → 2.1.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.
- package/dist/index.js +1791 -466
- package/dist/index.mjs +1786 -467
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/button/src/Button.d.ts +13 -0
- package/es/button/src/Button.mjs +5 -0
- package/es/carousel/src/Carousel.d.ts +1 -1
- package/es/components.d.ts +665 -5
- package/es/components.mjs +5 -0
- package/es/config-provider/src/internal-interface.d.ts +3 -1
- package/es/data-table/src/DataTable.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +1 -1
- package/es/dialog/src/DialogProvider.d.ts +4 -0
- package/es/header/src/mobile/HeaderMobile.d.ts +1 -1
- package/es/kanban/index.d.ts +7 -0
- package/es/kanban/index.mjs +5 -0
- package/es/kanban/src/Kanban.d.ts +570 -0
- package/es/kanban/src/Kanban.mjs +349 -0
- package/es/kanban/src/KanbanCard.d.ts +39 -0
- package/es/kanban/src/KanbanCard.mjs +86 -0
- package/es/kanban/src/KanbanColumn.d.ts +45 -0
- package/es/kanban/src/KanbanColumn.mjs +176 -0
- package/es/kanban/src/injection.d.ts +28 -0
- package/es/kanban/src/injection.mjs +2 -0
- package/es/kanban/src/interface.d.ts +215 -0
- package/es/kanban/src/interface.mjs +84 -0
- package/es/kanban/src/styles/index.cssr.d.ts +2 -0
- package/es/kanban/src/styles/index.cssr.mjs +165 -0
- package/es/kanban/src/use-kanban-data.d.ts +4 -0
- package/es/kanban/src/use-kanban-data.mjs +69 -0
- package/es/kanban/src/use-kanban-drag.d.ts +2 -0
- package/es/kanban/src/use-kanban-drag.mjs +238 -0
- package/es/kanban/styles/dark.d.ts +73 -0
- package/es/kanban/styles/dark.mjs +15 -0
- package/es/kanban/styles/index.d.ts +3 -0
- package/es/kanban/styles/index.mjs +2 -0
- package/es/kanban/styles/light.d.ts +109 -0
- package/es/kanban/styles/light.mjs +64 -0
- package/es/modal/src/BodyWrapper.d.ts +1 -1
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/tree/src/Tree.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/button/src/Button.d.ts +13 -0
- package/lib/button/src/Button.js +5 -0
- package/lib/carousel/src/Carousel.d.ts +1 -1
- package/lib/components.d.ts +665 -5
- package/lib/components.js +13 -5
- package/lib/config-provider/src/internal-interface.d.ts +3 -1
- package/lib/data-table/src/DataTable.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +1 -1
- package/lib/dialog/src/DialogProvider.d.ts +4 -0
- package/lib/header/src/mobile/HeaderMobile.d.ts +1 -1
- package/lib/kanban/index.d.ts +7 -0
- package/lib/kanban/index.js +17 -0
- package/lib/kanban/src/Kanban.d.ts +570 -0
- package/lib/kanban/src/Kanban.js +291 -0
- package/lib/kanban/src/KanbanCard.d.ts +39 -0
- package/lib/kanban/src/KanbanCard.js +63 -0
- package/lib/kanban/src/KanbanColumn.d.ts +45 -0
- package/lib/kanban/src/KanbanColumn.js +141 -0
- package/lib/kanban/src/injection.d.ts +28 -0
- package/lib/kanban/src/injection.js +5 -0
- package/lib/kanban/src/interface.d.ts +215 -0
- package/lib/kanban/src/interface.js +87 -0
- package/lib/kanban/src/styles/index.cssr.d.ts +2 -0
- package/lib/kanban/src/styles/index.cssr.js +170 -0
- package/lib/kanban/src/use-kanban-data.d.ts +4 -0
- package/lib/kanban/src/use-kanban-data.js +70 -0
- package/lib/kanban/src/use-kanban-drag.d.ts +2 -0
- package/lib/kanban/src/use-kanban-drag.js +220 -0
- package/lib/kanban/styles/dark.d.ts +73 -0
- package/lib/kanban/styles/dark.js +17 -0
- package/lib/kanban/styles/index.d.ts +3 -0
- package/lib/kanban/styles/index.js +10 -0
- package/lib/kanban/styles/light.d.ts +109 -0
- package/lib/kanban/styles/light.js +54 -0
- package/lib/modal/src/BodyWrapper.d.ts +1 -1
- package/lib/themes/dark.js +98 -96
- package/lib/themes/light.js +96 -94
- package/lib/tree/src/Tree.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +6 -2
- package/volar.d.ts +3 -0
- package/web-types.json +181 -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.
|
|
5
|
+
"version": "2.1.1",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -1192,6 +1192,16 @@
|
|
|
1192
1192
|
"type": "string",
|
|
1193
1193
|
"description": "What tag need the button be rendered as.",
|
|
1194
1194
|
"default": "'button'"
|
|
1195
|
+
},
|
|
1196
|
+
{
|
|
1197
|
+
"name": "visible",
|
|
1198
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/button",
|
|
1199
|
+
"type": "boolean",
|
|
1200
|
+
"description": "Whether to render the button. When `false`, the button is not rendered at all.",
|
|
1201
|
+
"default": "true",
|
|
1202
|
+
"description-sections": {
|
|
1203
|
+
"since": "2.1.1"
|
|
1204
|
+
}
|
|
1195
1205
|
}
|
|
1196
1206
|
],
|
|
1197
1207
|
"js": {
|
|
@@ -8717,6 +8727,176 @@
|
|
|
8717
8727
|
"events": []
|
|
8718
8728
|
}
|
|
8719
8729
|
},
|
|
8730
|
+
{
|
|
8731
|
+
"name": "UKanban",
|
|
8732
|
+
"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.",
|
|
8733
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8734
|
+
"source": {
|
|
8735
|
+
"symbol": "UKanban"
|
|
8736
|
+
},
|
|
8737
|
+
"slots": [
|
|
8738
|
+
{
|
|
8739
|
+
"name": "card",
|
|
8740
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8741
|
+
"description": "Render a card body."
|
|
8742
|
+
},
|
|
8743
|
+
{
|
|
8744
|
+
"name": "column",
|
|
8745
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8746
|
+
"description": "Render an entire column (full escape hatch)."
|
|
8747
|
+
},
|
|
8748
|
+
{
|
|
8749
|
+
"name": "columnHeader",
|
|
8750
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8751
|
+
"description": "Render a column header row."
|
|
8752
|
+
},
|
|
8753
|
+
{
|
|
8754
|
+
"name": "columnFooter",
|
|
8755
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8756
|
+
"description": "Render content under a column's cards."
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
"name": "columnEmpty",
|
|
8760
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8761
|
+
"description": "Render an empty column body."
|
|
8762
|
+
},
|
|
8763
|
+
{
|
|
8764
|
+
"name": "empty",
|
|
8765
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8766
|
+
"description": "Render the empty board state."
|
|
8767
|
+
}
|
|
8768
|
+
],
|
|
8769
|
+
"attributes": [],
|
|
8770
|
+
"props": [
|
|
8771
|
+
{
|
|
8772
|
+
"name": "columns",
|
|
8773
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8774
|
+
"type": "KanbanColumn[]",
|
|
8775
|
+
"description": "Lane descriptors (key, title, max, pagination, scrollable…).",
|
|
8776
|
+
"default": "[]"
|
|
8777
|
+
},
|
|
8778
|
+
{
|
|
8779
|
+
"name": "data",
|
|
8780
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8781
|
+
"type": "KanbanItem[]",
|
|
8782
|
+
"description": "Flat list of cards. `v-model:data` supported.",
|
|
8783
|
+
"default": "[]"
|
|
8784
|
+
},
|
|
8785
|
+
{
|
|
8786
|
+
"name": "item-key",
|
|
8787
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8788
|
+
"type": "string | ((item) => KanbanKey)",
|
|
8789
|
+
"description": "Field (or getter) for a card's stable id.",
|
|
8790
|
+
"default": "'key'"
|
|
8791
|
+
},
|
|
8792
|
+
{
|
|
8793
|
+
"name": "column-field",
|
|
8794
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8795
|
+
"type": "string",
|
|
8796
|
+
"description": "Field on a card pointing at its column key.",
|
|
8797
|
+
"default": "'column'"
|
|
8798
|
+
},
|
|
8799
|
+
{
|
|
8800
|
+
"name": "orientation",
|
|
8801
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8802
|
+
"type": "'horizontal' | 'vertical'",
|
|
8803
|
+
"description": "Board layout direction.",
|
|
8804
|
+
"default": "'horizontal'"
|
|
8805
|
+
},
|
|
8806
|
+
{
|
|
8807
|
+
"name": "draggable",
|
|
8808
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8809
|
+
"type": "boolean",
|
|
8810
|
+
"description": "Enable card dragging.",
|
|
8811
|
+
"default": "true"
|
|
8812
|
+
},
|
|
8813
|
+
{
|
|
8814
|
+
"name": "columns-draggable",
|
|
8815
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8816
|
+
"type": "boolean",
|
|
8817
|
+
"description": "Enable column reordering by header.",
|
|
8818
|
+
"default": "false"
|
|
8819
|
+
},
|
|
8820
|
+
{
|
|
8821
|
+
"name": "disabled",
|
|
8822
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8823
|
+
"type": "boolean",
|
|
8824
|
+
"description": "Disable all drag interactions.",
|
|
8825
|
+
"default": "false"
|
|
8826
|
+
},
|
|
8827
|
+
{
|
|
8828
|
+
"name": "allow-drop",
|
|
8829
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8830
|
+
"type": "(ctx: KanbanMoveContext) => boolean",
|
|
8831
|
+
"description": "Validate a move before it is applied.",
|
|
8832
|
+
"default": "—"
|
|
8833
|
+
},
|
|
8834
|
+
{
|
|
8835
|
+
"name": "scroll-mode",
|
|
8836
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8837
|
+
"type": "'board' | 'column'",
|
|
8838
|
+
"description": "`board`: the whole board scrolls as one (set a fixed height on the kanban). `column`: each column scrolls on its own.",
|
|
8839
|
+
"default": "'board'"
|
|
8840
|
+
},
|
|
8841
|
+
{
|
|
8842
|
+
"name": "scroll-threshold",
|
|
8843
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8844
|
+
"type": "number",
|
|
8845
|
+
"description": "Distance in px from an edge at which scroll events fire.",
|
|
8846
|
+
"default": "48"
|
|
8847
|
+
},
|
|
8848
|
+
{
|
|
8849
|
+
"name": "loading",
|
|
8850
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8851
|
+
"type": "boolean",
|
|
8852
|
+
"description": "Marks the board busy (`aria-busy`).",
|
|
8853
|
+
"default": "false"
|
|
8854
|
+
},
|
|
8855
|
+
{
|
|
8856
|
+
"name": "empty-props",
|
|
8857
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8858
|
+
"type": "Partial<EmptyProps>",
|
|
8859
|
+
"description": "Props forwarded to the empty `UEmpty`.",
|
|
8860
|
+
"default": "—"
|
|
8861
|
+
},
|
|
8862
|
+
{
|
|
8863
|
+
"name": "card-props",
|
|
8864
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8865
|
+
"type": "Record<string, unknown>",
|
|
8866
|
+
"description": "Attributes forwarded to every card root.",
|
|
8867
|
+
"default": "—"
|
|
8868
|
+
}
|
|
8869
|
+
],
|
|
8870
|
+
"js": {
|
|
8871
|
+
"events": []
|
|
8872
|
+
}
|
|
8873
|
+
},
|
|
8874
|
+
{
|
|
8875
|
+
"name": "UKanbanCard",
|
|
8876
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8877
|
+
"source": {
|
|
8878
|
+
"symbol": "UKanbanCard"
|
|
8879
|
+
},
|
|
8880
|
+
"slots": [],
|
|
8881
|
+
"attributes": [],
|
|
8882
|
+
"props": [],
|
|
8883
|
+
"js": {
|
|
8884
|
+
"events": []
|
|
8885
|
+
}
|
|
8886
|
+
},
|
|
8887
|
+
{
|
|
8888
|
+
"name": "UKanbanColumn",
|
|
8889
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/kanban",
|
|
8890
|
+
"source": {
|
|
8891
|
+
"symbol": "UKanbanColumn"
|
|
8892
|
+
},
|
|
8893
|
+
"slots": [],
|
|
8894
|
+
"attributes": [],
|
|
8895
|
+
"props": [],
|
|
8896
|
+
"js": {
|
|
8897
|
+
"events": []
|
|
8898
|
+
}
|
|
8899
|
+
},
|
|
8720
8900
|
{
|
|
8721
8901
|
"name": "ULayout",
|
|
8722
8902
|
"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>.",
|