@uzum-tech/ui 1.5.1 → 1.5.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 (50) hide show
  1. package/dist/index.js +312 -314
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/typography/src/styles/text.cssr.js +0 -1
  4. package/es/_internal/typography/styles/light.js +1 -1
  5. package/es/data-table/src/DataTable.d.ts +3 -0
  6. package/es/data-table/src/DataTable.js +1 -0
  7. package/es/data-table/src/TableParts/Body.d.ts +1 -0
  8. package/es/data-table/src/TableParts/Body.js +3 -3
  9. package/es/data-table/src/interface.d.ts +2 -0
  10. package/es/data-table/src/interface.js +1 -1
  11. package/es/list/src/List.d.ts +41 -55
  12. package/es/list/src/List.js +6 -10
  13. package/es/list/src/ListItem.d.ts +84 -25
  14. package/es/list/src/ListItem.js +116 -98
  15. package/es/list/src/interface.d.ts +1 -0
  16. package/es/list/src/props.d.ts +70 -31
  17. package/es/list/src/props.js +25 -5
  18. package/es/list/src/styles/index.cssr.js +32 -90
  19. package/es/list/styles/light.d.ts +5 -8
  20. package/es/list/styles/light.js +6 -9
  21. package/es/tag/src/styles/index.cssr.js +5 -1
  22. package/es/tag/styles/light.js +2 -2
  23. package/es/upload/src/UploadFile.js +4 -3
  24. package/es/version.d.ts +1 -1
  25. package/es/version.js +1 -1
  26. package/lib/_internal/typography/src/styles/text.cssr.js +0 -1
  27. package/lib/_internal/typography/styles/light.js +1 -1
  28. package/lib/data-table/src/DataTable.d.ts +3 -0
  29. package/lib/data-table/src/DataTable.js +1 -0
  30. package/lib/data-table/src/TableParts/Body.d.ts +1 -0
  31. package/lib/data-table/src/TableParts/Body.js +3 -3
  32. package/lib/data-table/src/interface.d.ts +2 -0
  33. package/lib/data-table/src/interface.js +1 -1
  34. package/lib/list/src/List.d.ts +41 -55
  35. package/lib/list/src/List.js +6 -10
  36. package/lib/list/src/ListItem.d.ts +84 -25
  37. package/lib/list/src/ListItem.js +115 -97
  38. package/lib/list/src/interface.d.ts +1 -0
  39. package/lib/list/src/props.d.ts +70 -31
  40. package/lib/list/src/props.js +25 -5
  41. package/lib/list/src/styles/index.cssr.js +32 -90
  42. package/lib/list/styles/light.d.ts +5 -8
  43. package/lib/list/styles/light.js +6 -9
  44. package/lib/tag/src/styles/index.cssr.js +5 -1
  45. package/lib/tag/styles/light.js +2 -2
  46. package/lib/upload/src/UploadFile.js +4 -3
  47. package/lib/version.d.ts +1 -1
  48. package/lib/version.js +1 -1
  49. package/package.json +1 -1
  50. package/web-types.json +62 -35
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": "1.5.1",
5
+ "version": "1.5.2",
6
6
  "js-types-syntax": "typescript",
7
7
  "contributions": {
8
8
  "html": {
@@ -3398,6 +3398,13 @@
3398
3398
  "description": "Whether to display loading status.",
3399
3399
  "default": "false"
3400
3400
  },
3401
+ {
3402
+ "name": "loading-skeleton",
3403
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/data-table",
3404
+ "type": "boolean",
3405
+ "description": "Whether to display skeleton status.",
3406
+ "default": "false"
3407
+ },
3401
3408
  {
3402
3409
  "name": "bordered",
3403
3410
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/data-table",
@@ -8432,7 +8439,7 @@
8432
8439
  },
8433
8440
  {
8434
8441
  "name": "UList",
8435
- "description": "It is hard to make it looks elegant. However things should be done.",
8442
+ "description": "It is hard to make it look elegant. However, things should be done.",
8436
8443
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8437
8444
  "source": {
8438
8445
  "symbol": "UList"
@@ -8441,17 +8448,17 @@
8441
8448
  {
8442
8449
  "name": "default",
8443
8450
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8444
- "description": "The contents of the list."
8451
+ "description": "The default content (list items)."
8445
8452
  },
8446
8453
  {
8447
- "name": "footer",
8454
+ "name": "header",
8448
8455
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8449
- "description": "Content at the bottom of the list."
8456
+ "description": "Content displayed at the top of the list."
8450
8457
  },
8451
8458
  {
8452
- "name": "header",
8459
+ "name": "footer",
8453
8460
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8454
- "description": "The contents of the head of the list."
8461
+ "description": "Content displayed at the bottom of the list."
8455
8462
  }
8456
8463
  ],
8457
8464
  "attributes": [],
@@ -8490,7 +8497,7 @@
8490
8497
  "name": "show-icon",
8491
8498
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8492
8499
  "type": "boolean",
8493
- "description": "Whether to show item icon.",
8500
+ "description": "Show icon placeholder in list items.",
8494
8501
  "default": "true"
8495
8502
  },
8496
8503
  {
@@ -8506,9 +8513,7 @@
8506
8513
  {
8507
8514
  "name": "hoverable",
8508
8515
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8509
- "type": "boolean",
8510
- "description": "Whether item has hoverable style.",
8511
- "default": "false"
8516
+ "type": "boolean"
8512
8517
  },
8513
8518
  {
8514
8519
  "name": "rounded",
@@ -8526,43 +8531,45 @@
8526
8531
  "type": "boolean"
8527
8532
  },
8528
8533
  {
8529
- "name": "loading-skeleton",
8534
+ "name": "size",
8530
8535
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8531
- "type": "boolean"
8536
+ "type": "'small' | 'medium' | 'large'",
8537
+ "description": "Size of list items.",
8538
+ "default": "'medium'"
8532
8539
  },
8533
8540
  {
8534
8541
  "name": "tag",
8535
8542
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8536
8543
  "type": "string",
8537
- "description": "Tag name for list.",
8544
+ "description": "HTML tag for the list container.",
8538
8545
  "default": "ul"
8539
8546
  },
8540
8547
  {
8541
8548
  "name": "item-tag",
8542
8549
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8543
8550
  "type": "string",
8544
- "description": "Tag name for item.",
8551
+ "description": "HTML tag for each list item.",
8545
8552
  "default": "li"
8546
8553
  },
8547
8554
  {
8548
8555
  "name": "bordered",
8549
8556
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8550
8557
  "type": "boolean",
8551
- "description": "Whether to show the border.",
8558
+ "description": "Whether to display the border around the list.",
8552
8559
  "default": "false"
8553
8560
  },
8554
8561
  {
8555
8562
  "name": "clickable",
8556
8563
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8557
8564
  "type": "boolean",
8558
- "description": "Whether item has clickable style.",
8565
+ "description": "Apply clickable style to items.",
8559
8566
  "default": "false"
8560
8567
  },
8561
8568
  {
8562
8569
  "name": "show-divider",
8563
8570
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8564
8571
  "type": "boolean",
8565
- "description": "Whether to show item divider.",
8572
+ "description": "Display a divider between items.",
8566
8573
  "default": "false"
8567
8574
  }
8568
8575
  ],
@@ -8601,47 +8608,47 @@
8601
8608
  {
8602
8609
  "name": "default",
8603
8610
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8604
- "description": "The contents of the list item."
8611
+ "description": "Default content inside the list item."
8605
8612
  },
8606
8613
  {
8607
8614
  "name": "prefix",
8608
8615
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8609
- "description": "The first content of the list item."
8616
+ "description": "Content displayed at the very start of the item."
8610
8617
  },
8611
8618
  {
8612
8619
  "name": "suffix",
8613
8620
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8614
- "description": "The end of the list item."
8621
+ "description": "Content displayed at the very end of the item."
8615
8622
  },
8616
8623
  {
8617
8624
  "name": "header",
8618
8625
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8619
- "description": "The left top text."
8626
+ "description": "Left column header text."
8620
8627
  },
8621
8628
  {
8622
8629
  "name": "description",
8623
8630
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8624
- "description": "The left bottom text."
8631
+ "description": "Left column description text."
8625
8632
  },
8626
8633
  {
8627
8634
  "name": "headerSide",
8628
8635
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8629
- "description": "The right top text."
8636
+ "description": "Right column header text."
8630
8637
  },
8631
8638
  {
8632
8639
  "name": "descriptionSide",
8633
8640
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8634
- "description": "The right bottom text."
8641
+ "description": "Right column description text."
8635
8642
  },
8636
8643
  {
8637
8644
  "name": "avatar",
8638
8645
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8639
- "description": "The content before left column and after `prefix`."
8646
+ "description": "Content before the left text column (after prefix)."
8640
8647
  },
8641
8648
  {
8642
8649
  "name": "icon",
8643
8650
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8644
- "description": "The content after right column and before `suffix`."
8651
+ "description": "Icon content after the right text column (before suffix)."
8645
8652
  }
8646
8653
  ],
8647
8654
  "attributes": [],
@@ -8649,22 +8656,22 @@
8649
8656
  {
8650
8657
  "name": "header",
8651
8658
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8652
- "type": "Function"
8659
+ "type": "object"
8653
8660
  },
8654
8661
  {
8655
8662
  "name": "description",
8656
8663
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8657
- "type": "Function"
8664
+ "type": "object"
8658
8665
  },
8659
8666
  {
8660
8667
  "name": "header-side",
8661
8668
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8662
- "type": "Function"
8669
+ "type": "object"
8663
8670
  },
8664
8671
  {
8665
8672
  "name": "description-side",
8666
8673
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8667
- "type": "Function"
8674
+ "type": "object"
8668
8675
  },
8669
8676
  {
8670
8677
  "name": "icon",
@@ -8674,7 +8681,7 @@
8674
8681
  {
8675
8682
  "name": "avatar",
8676
8683
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8677
- "type": "Function"
8684
+ "type": "object"
8678
8685
  },
8679
8686
  {
8680
8687
  "name": "show-icon",
@@ -8712,16 +8719,36 @@
8712
8719
  "type": "boolean"
8713
8720
  },
8714
8721
  {
8715
- "name": "loading-skeleton",
8722
+ "name": "badge",
8716
8723
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8717
- "type": "boolean"
8724
+ "type": "object"
8718
8725
  },
8719
8726
  {
8720
8727
  "name": "tag",
8721
8728
  "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8722
8729
  "type": "string",
8723
- "description": "Individual tag for item.",
8730
+ "description": "Custom HTML tag for the list item.",
8724
8731
  "default": "undefined"
8732
+ },
8733
+ {
8734
+ "name": "prefix-align",
8735
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8736
+ "type": "string"
8737
+ },
8738
+ {
8739
+ "name": "suffix-align",
8740
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8741
+ "type": "string"
8742
+ },
8743
+ {
8744
+ "name": "loading-prefix",
8745
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8746
+ "type": "boolean"
8747
+ },
8748
+ {
8749
+ "name": "loading-suffix",
8750
+ "doc-url": "https://www.naiveui.com/en-US/os-theme/components/list",
8751
+ "type": "boolean"
8725
8752
  }
8726
8753
  ],
8727
8754
  "js": {