naive-ui 2.19.1 → 2.19.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 (84) hide show
  1. package/es/_internal/selection/src/Selection.d.ts +56 -56
  2. package/es/_internal/selection/styles/_common.d.ts +0 -8
  3. package/es/_internal/selection/styles/_common.js +0 -8
  4. package/es/_internal/selection/styles/dark.js +10 -2
  5. package/es/_internal/selection/styles/light.d.ts +16 -16
  6. package/es/_internal/selection/styles/light.js +10 -2
  7. package/es/_mixins/use-rtl.js +1 -1
  8. package/es/alert/src/Alert.js +15 -16
  9. package/es/cascader/src/Cascader.d.ts +80 -80
  10. package/es/cascader/src/CascaderOption.d.ts +8 -8
  11. package/es/cascader/src/CascaderSelectMenu.d.ts +8 -8
  12. package/es/cascader/src/CascaderSubmenu.d.ts +8 -8
  13. package/es/cascader/styles/light.d.ts +8 -8
  14. package/es/checkbox/src/Checkbox.d.ts +1 -0
  15. package/es/checkbox/src/Checkbox.js +5 -3
  16. package/es/checkbox/src/CheckboxGroup.js +1 -1
  17. package/es/data-table/src/DataTable.d.ts +88 -88
  18. package/es/data-table/src/HeaderButton/FilterButton.d.ts +16 -16
  19. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +16 -16
  20. package/es/data-table/src/TableParts/Body.d.ts +16 -16
  21. package/es/data-table/src/TableParts/Cell.d.ts +32 -32
  22. package/es/data-table/src/TableParts/Header.d.ts +16 -16
  23. package/es/data-table/styles/light.d.ts +8 -8
  24. package/es/drawer/src/styles/index.cssr.js +2 -0
  25. package/es/global-style/src/GlobalStyle.js +13 -3
  26. package/es/input-number/src/InputNumber.d.ts +3 -3
  27. package/es/jest-setup.js +3 -1
  28. package/es/locales/common/ukUA.d.ts +3 -0
  29. package/es/locales/common/ukUA.js +92 -0
  30. package/es/locales/date/ukUA.d.ts +3 -0
  31. package/es/locales/date/ukUA.js +6 -0
  32. package/es/locales/index.d.ts +2 -0
  33. package/es/locales/index.js +2 -0
  34. package/es/pagination/src/Pagination.d.ts +88 -99
  35. package/es/pagination/styles/light.d.ts +8 -8
  36. package/es/select/src/Select.d.ts +80 -80
  37. package/es/select/styles/light.d.ts +8 -8
  38. package/es/tree-select/src/TreeSelect.d.ts +80 -80
  39. package/es/tree-select/styles/light.d.ts +8 -8
  40. package/es/version.d.ts +1 -1
  41. package/es/version.js +1 -1
  42. package/lib/_internal/selection/src/Selection.d.ts +56 -56
  43. package/lib/_internal/selection/styles/_common.d.ts +0 -8
  44. package/lib/_internal/selection/styles/_common.js +0 -8
  45. package/lib/_internal/selection/styles/dark.js +10 -2
  46. package/lib/_internal/selection/styles/light.d.ts +16 -16
  47. package/lib/_internal/selection/styles/light.js +10 -2
  48. package/lib/_mixins/use-rtl.js +1 -1
  49. package/lib/alert/src/Alert.js +15 -16
  50. package/lib/cascader/src/Cascader.d.ts +80 -80
  51. package/lib/cascader/src/CascaderOption.d.ts +8 -8
  52. package/lib/cascader/src/CascaderSelectMenu.d.ts +8 -8
  53. package/lib/cascader/src/CascaderSubmenu.d.ts +8 -8
  54. package/lib/cascader/styles/light.d.ts +8 -8
  55. package/lib/checkbox/src/Checkbox.d.ts +1 -0
  56. package/lib/checkbox/src/Checkbox.js +5 -3
  57. package/lib/checkbox/src/CheckboxGroup.js +1 -1
  58. package/lib/data-table/src/DataTable.d.ts +88 -88
  59. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +16 -16
  60. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +16 -16
  61. package/lib/data-table/src/TableParts/Body.d.ts +16 -16
  62. package/lib/data-table/src/TableParts/Cell.d.ts +32 -32
  63. package/lib/data-table/src/TableParts/Header.d.ts +16 -16
  64. package/lib/data-table/styles/light.d.ts +8 -8
  65. package/lib/drawer/src/styles/index.cssr.js +2 -0
  66. package/lib/global-style/src/GlobalStyle.js +13 -3
  67. package/lib/input-number/src/InputNumber.d.ts +3 -3
  68. package/lib/jest-setup.js +3 -1
  69. package/lib/locales/common/ukUA.d.ts +3 -0
  70. package/lib/locales/common/ukUA.js +94 -0
  71. package/lib/locales/date/ukUA.d.ts +3 -0
  72. package/lib/locales/date/ukUA.js +8 -0
  73. package/lib/locales/index.d.ts +2 -0
  74. package/lib/locales/index.js +5 -1
  75. package/lib/pagination/src/Pagination.d.ts +88 -99
  76. package/lib/pagination/styles/light.d.ts +8 -8
  77. package/lib/select/src/Select.d.ts +80 -80
  78. package/lib/select/styles/light.d.ts +8 -8
  79. package/lib/tree-select/src/TreeSelect.d.ts +80 -80
  80. package/lib/tree-select/styles/light.d.ts +8 -8
  81. package/lib/version.d.ts +1 -1
  82. package/lib/version.js +1 -1
  83. package/package.json +3 -3
  84. package/web-types.json +1 -1
@@ -87,6 +87,14 @@ declare const paginationProps: {
87
87
  menuBoxShadow: string;
88
88
  }, {
89
89
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
90
+ fontSizeTiny: string;
91
+ fontSizeSmall: string;
92
+ fontSizeMedium: string;
93
+ fontSizeLarge: string;
94
+ heightTiny: string;
95
+ heightSmall: string;
96
+ heightMedium: string;
97
+ heightLarge: string;
90
98
  borderRadius: string;
91
99
  textColor: string;
92
100
  textColorDisabled: string;
@@ -119,7 +127,6 @@ declare const paginationProps: {
119
127
  borderHoverError: string;
120
128
  borderActiveError: string;
121
129
  borderFocusError: string;
122
- /** @deprecated */
123
130
  boxShadowHoverError: null;
124
131
  boxShadowActiveError: string;
125
132
  boxShadowFocusError: string;
@@ -128,14 +135,6 @@ declare const paginationProps: {
128
135
  clearColor: string;
129
136
  clearColorHover: string;
130
137
  clearColorPressed: string;
131
- heightTiny: string;
132
- heightSmall: string;
133
- heightMedium: string;
134
- heightLarge: string;
135
- fontSizeTiny: string;
136
- fontSizeSmall: string;
137
- fontSizeMedium: string;
138
- fontSizeLarge: string;
139
138
  paddingSingle: string;
140
139
  clearSize: string;
141
140
  arrowSize: string;
@@ -315,6 +314,14 @@ declare const paginationProps: {
315
314
  menuBoxShadow: string;
316
315
  }, {
317
316
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
317
+ fontSizeTiny: string;
318
+ fontSizeSmall: string;
319
+ fontSizeMedium: string;
320
+ fontSizeLarge: string;
321
+ heightTiny: string;
322
+ heightSmall: string;
323
+ heightMedium: string;
324
+ heightLarge: string;
318
325
  borderRadius: string;
319
326
  textColor: string;
320
327
  textColorDisabled: string;
@@ -347,7 +354,6 @@ declare const paginationProps: {
347
354
  borderHoverError: string;
348
355
  borderActiveError: string;
349
356
  borderFocusError: string;
350
- /** @deprecated */
351
357
  boxShadowHoverError: null;
352
358
  boxShadowActiveError: string;
353
359
  boxShadowFocusError: string;
@@ -356,14 +362,6 @@ declare const paginationProps: {
356
362
  clearColor: string;
357
363
  clearColorHover: string;
358
364
  clearColorPressed: string;
359
- heightTiny: string;
360
- heightSmall: string;
361
- heightMedium: string;
362
- heightLarge: string;
363
- fontSizeTiny: string;
364
- fontSizeSmall: string;
365
- fontSizeMedium: string;
366
- fontSizeLarge: string;
367
365
  paddingSingle: string;
368
366
  clearSize: string;
369
367
  arrowSize: string;
@@ -543,6 +541,14 @@ declare const paginationProps: {
543
541
  menuBoxShadow: string;
544
542
  }, {
545
543
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
544
+ fontSizeTiny: string;
545
+ fontSizeSmall: string;
546
+ fontSizeMedium: string;
547
+ fontSizeLarge: string;
548
+ heightTiny: string;
549
+ heightSmall: string;
550
+ heightMedium: string;
551
+ heightLarge: string;
546
552
  borderRadius: string;
547
553
  textColor: string;
548
554
  textColorDisabled: string;
@@ -575,7 +581,6 @@ declare const paginationProps: {
575
581
  borderHoverError: string;
576
582
  borderActiveError: string;
577
583
  borderFocusError: string;
578
- /** @deprecated */
579
584
  boxShadowHoverError: null;
580
585
  boxShadowActiveError: string;
581
586
  boxShadowFocusError: string;
@@ -584,14 +589,6 @@ declare const paginationProps: {
584
589
  clearColor: string;
585
590
  clearColorHover: string;
586
591
  clearColorPressed: string;
587
- heightTiny: string;
588
- heightSmall: string;
589
- heightMedium: string;
590
- heightLarge: string;
591
- fontSizeTiny: string;
592
- fontSizeSmall: string;
593
- fontSizeMedium: string;
594
- fontSizeLarge: string;
595
592
  paddingSingle: string;
596
593
  clearSize: string;
597
594
  arrowSize: string;
@@ -810,6 +807,14 @@ declare const _default: import("vue").DefineComponent<{
810
807
  menuBoxShadow: string;
811
808
  }, {
812
809
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
810
+ fontSizeTiny: string;
811
+ fontSizeSmall: string;
812
+ fontSizeMedium: string;
813
+ fontSizeLarge: string;
814
+ heightTiny: string;
815
+ heightSmall: string;
816
+ heightMedium: string;
817
+ heightLarge: string;
813
818
  borderRadius: string;
814
819
  textColor: string;
815
820
  textColorDisabled: string;
@@ -842,7 +847,6 @@ declare const _default: import("vue").DefineComponent<{
842
847
  borderHoverError: string;
843
848
  borderActiveError: string;
844
849
  borderFocusError: string;
845
- /** @deprecated */
846
850
  boxShadowHoverError: null;
847
851
  boxShadowActiveError: string;
848
852
  boxShadowFocusError: string;
@@ -851,14 +855,6 @@ declare const _default: import("vue").DefineComponent<{
851
855
  clearColor: string;
852
856
  clearColorHover: string;
853
857
  clearColorPressed: string;
854
- heightTiny: string;
855
- heightSmall: string;
856
- heightMedium: string;
857
- heightLarge: string;
858
- fontSizeTiny: string;
859
- fontSizeSmall: string;
860
- fontSizeMedium: string;
861
- fontSizeLarge: string;
862
858
  paddingSingle: string;
863
859
  clearSize: string;
864
860
  arrowSize: string;
@@ -1038,6 +1034,14 @@ declare const _default: import("vue").DefineComponent<{
1038
1034
  menuBoxShadow: string;
1039
1035
  }, {
1040
1036
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
1037
+ fontSizeTiny: string;
1038
+ fontSizeSmall: string;
1039
+ fontSizeMedium: string;
1040
+ fontSizeLarge: string;
1041
+ heightTiny: string;
1042
+ heightSmall: string;
1043
+ heightMedium: string;
1044
+ heightLarge: string;
1041
1045
  borderRadius: string;
1042
1046
  textColor: string;
1043
1047
  textColorDisabled: string;
@@ -1070,7 +1074,6 @@ declare const _default: import("vue").DefineComponent<{
1070
1074
  borderHoverError: string;
1071
1075
  borderActiveError: string;
1072
1076
  borderFocusError: string;
1073
- /** @deprecated */
1074
1077
  boxShadowHoverError: null;
1075
1078
  boxShadowActiveError: string;
1076
1079
  boxShadowFocusError: string;
@@ -1079,14 +1082,6 @@ declare const _default: import("vue").DefineComponent<{
1079
1082
  clearColor: string;
1080
1083
  clearColorHover: string;
1081
1084
  clearColorPressed: string;
1082
- heightTiny: string;
1083
- heightSmall: string;
1084
- heightMedium: string;
1085
- heightLarge: string;
1086
- fontSizeTiny: string;
1087
- fontSizeSmall: string;
1088
- fontSizeMedium: string;
1089
- fontSizeLarge: string;
1090
1085
  paddingSingle: string;
1091
1086
  clearSize: string;
1092
1087
  arrowSize: string;
@@ -1266,6 +1261,14 @@ declare const _default: import("vue").DefineComponent<{
1266
1261
  menuBoxShadow: string;
1267
1262
  }, {
1268
1263
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
1264
+ fontSizeTiny: string;
1265
+ fontSizeSmall: string;
1266
+ fontSizeMedium: string;
1267
+ fontSizeLarge: string;
1268
+ heightTiny: string;
1269
+ heightSmall: string;
1270
+ heightMedium: string;
1271
+ heightLarge: string;
1269
1272
  borderRadius: string;
1270
1273
  textColor: string;
1271
1274
  textColorDisabled: string;
@@ -1298,7 +1301,6 @@ declare const _default: import("vue").DefineComponent<{
1298
1301
  borderHoverError: string;
1299
1302
  borderActiveError: string;
1300
1303
  borderFocusError: string;
1301
- /** @deprecated */
1302
1304
  boxShadowHoverError: null;
1303
1305
  boxShadowActiveError: string;
1304
1306
  boxShadowFocusError: string;
@@ -1307,14 +1309,6 @@ declare const _default: import("vue").DefineComponent<{
1307
1309
  clearColor: string;
1308
1310
  clearColorHover: string;
1309
1311
  clearColorPressed: string;
1310
- heightTiny: string;
1311
- heightSmall: string;
1312
- heightMedium: string;
1313
- heightLarge: string;
1314
- fontSizeTiny: string;
1315
- fontSizeSmall: string;
1316
- fontSizeMedium: string;
1317
- fontSizeLarge: string;
1318
1312
  paddingSingle: string;
1319
1313
  clearSize: string;
1320
1314
  arrowSize: string;
@@ -1624,6 +1618,14 @@ declare const _default: import("vue").DefineComponent<{
1624
1618
  menuBoxShadow: string;
1625
1619
  }, {
1626
1620
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
1621
+ fontSizeTiny: string;
1622
+ fontSizeSmall: string;
1623
+ fontSizeMedium: string;
1624
+ fontSizeLarge: string;
1625
+ heightTiny: string;
1626
+ heightSmall: string;
1627
+ heightMedium: string;
1628
+ heightLarge: string;
1627
1629
  borderRadius: string;
1628
1630
  textColor: string;
1629
1631
  textColorDisabled: string;
@@ -1656,7 +1658,6 @@ declare const _default: import("vue").DefineComponent<{
1656
1658
  borderHoverError: string;
1657
1659
  borderActiveError: string;
1658
1660
  borderFocusError: string;
1659
- /** @deprecated */
1660
1661
  boxShadowHoverError: null;
1661
1662
  boxShadowActiveError: string;
1662
1663
  boxShadowFocusError: string;
@@ -1665,14 +1666,6 @@ declare const _default: import("vue").DefineComponent<{
1665
1666
  clearColor: string;
1666
1667
  clearColorHover: string;
1667
1668
  clearColorPressed: string;
1668
- heightTiny: string;
1669
- heightSmall: string;
1670
- heightMedium: string;
1671
- heightLarge: string;
1672
- fontSizeTiny: string;
1673
- fontSizeSmall: string;
1674
- fontSizeMedium: string;
1675
- fontSizeLarge: string;
1676
1669
  paddingSingle: string;
1677
1670
  clearSize: string;
1678
1671
  arrowSize: string;
@@ -1810,6 +1803,14 @@ declare const _default: import("vue").DefineComponent<{
1810
1803
  Select?: {
1811
1804
  peers?: {
1812
1805
  InternalSelection?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"InternalSelection", {
1806
+ fontSizeTiny: string;
1807
+ fontSizeSmall: string;
1808
+ fontSizeMedium: string;
1809
+ fontSizeLarge: string;
1810
+ heightTiny: string;
1811
+ heightSmall: string;
1812
+ heightMedium: string;
1813
+ heightLarge: string;
1813
1814
  borderRadius: string;
1814
1815
  textColor: string;
1815
1816
  textColorDisabled: string;
@@ -1842,7 +1843,6 @@ declare const _default: import("vue").DefineComponent<{
1842
1843
  borderHoverError: string;
1843
1844
  borderActiveError: string;
1844
1845
  borderFocusError: string;
1845
- /** @deprecated */
1846
1846
  boxShadowHoverError: null;
1847
1847
  boxShadowActiveError: string;
1848
1848
  boxShadowFocusError: string;
@@ -1851,14 +1851,6 @@ declare const _default: import("vue").DefineComponent<{
1851
1851
  clearColor: string;
1852
1852
  clearColorHover: string;
1853
1853
  clearColorPressed: string;
1854
- heightTiny: string;
1855
- heightSmall: string;
1856
- heightMedium: string;
1857
- heightLarge: string;
1858
- fontSizeTiny: string;
1859
- fontSizeSmall: string;
1860
- fontSizeMedium: string;
1861
- fontSizeLarge: string;
1862
1854
  paddingSingle: string;
1863
1855
  clearSize: string;
1864
1856
  arrowSize: string;
@@ -2074,6 +2066,14 @@ declare const _default: import("vue").DefineComponent<{
2074
2066
  menuBoxShadow: string;
2075
2067
  }, {
2076
2068
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
2069
+ fontSizeTiny: string;
2070
+ fontSizeSmall: string;
2071
+ fontSizeMedium: string;
2072
+ fontSizeLarge: string;
2073
+ heightTiny: string;
2074
+ heightSmall: string;
2075
+ heightMedium: string;
2076
+ heightLarge: string;
2077
2077
  borderRadius: string;
2078
2078
  textColor: string;
2079
2079
  textColorDisabled: string;
@@ -2106,7 +2106,6 @@ declare const _default: import("vue").DefineComponent<{
2106
2106
  borderHoverError: string;
2107
2107
  borderActiveError: string;
2108
2108
  borderFocusError: string;
2109
- /** @deprecated */
2110
2109
  boxShadowHoverError: null;
2111
2110
  boxShadowActiveError: string;
2112
2111
  boxShadowFocusError: string;
@@ -2115,14 +2114,6 @@ declare const _default: import("vue").DefineComponent<{
2115
2114
  clearColor: string;
2116
2115
  clearColorHover: string;
2117
2116
  clearColorPressed: string;
2118
- heightTiny: string;
2119
- heightSmall: string;
2120
- heightMedium: string;
2121
- heightLarge: string;
2122
- fontSizeTiny: string;
2123
- fontSizeSmall: string;
2124
- fontSizeMedium: string;
2125
- fontSizeLarge: string;
2126
2117
  paddingSingle: string;
2127
2118
  clearSize: string;
2128
2119
  arrowSize: string;
@@ -2302,6 +2293,14 @@ declare const _default: import("vue").DefineComponent<{
2302
2293
  menuBoxShadow: string;
2303
2294
  }, {
2304
2295
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
2296
+ fontSizeTiny: string;
2297
+ fontSizeSmall: string;
2298
+ fontSizeMedium: string;
2299
+ fontSizeLarge: string;
2300
+ heightTiny: string;
2301
+ heightSmall: string;
2302
+ heightMedium: string;
2303
+ heightLarge: string;
2305
2304
  borderRadius: string;
2306
2305
  textColor: string;
2307
2306
  textColorDisabled: string;
@@ -2334,7 +2333,6 @@ declare const _default: import("vue").DefineComponent<{
2334
2333
  borderHoverError: string;
2335
2334
  borderActiveError: string;
2336
2335
  borderFocusError: string;
2337
- /** @deprecated */
2338
2336
  boxShadowHoverError: null;
2339
2337
  boxShadowActiveError: string;
2340
2338
  boxShadowFocusError: string;
@@ -2343,14 +2341,6 @@ declare const _default: import("vue").DefineComponent<{
2343
2341
  clearColor: string;
2344
2342
  clearColorHover: string;
2345
2343
  clearColorPressed: string;
2346
- heightTiny: string;
2347
- heightSmall: string;
2348
- heightMedium: string;
2349
- heightLarge: string;
2350
- fontSizeTiny: string;
2351
- fontSizeSmall: string;
2352
- fontSizeMedium: string;
2353
- fontSizeLarge: string;
2354
2344
  paddingSingle: string;
2355
2345
  clearSize: string;
2356
2346
  arrowSize: string;
@@ -2530,6 +2520,14 @@ declare const _default: import("vue").DefineComponent<{
2530
2520
  menuBoxShadow: string;
2531
2521
  }, {
2532
2522
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
2523
+ fontSizeTiny: string;
2524
+ fontSizeSmall: string;
2525
+ fontSizeMedium: string;
2526
+ fontSizeLarge: string;
2527
+ heightTiny: string;
2528
+ heightSmall: string;
2529
+ heightMedium: string;
2530
+ heightLarge: string;
2533
2531
  borderRadius: string;
2534
2532
  textColor: string;
2535
2533
  textColorDisabled: string;
@@ -2562,7 +2560,6 @@ declare const _default: import("vue").DefineComponent<{
2562
2560
  borderHoverError: string;
2563
2561
  borderActiveError: string;
2564
2562
  borderFocusError: string;
2565
- /** @deprecated */
2566
2563
  boxShadowHoverError: null;
2567
2564
  boxShadowActiveError: string;
2568
2565
  boxShadowFocusError: string;
@@ -2571,14 +2568,6 @@ declare const _default: import("vue").DefineComponent<{
2571
2568
  clearColor: string;
2572
2569
  clearColorHover: string;
2573
2570
  clearColorPressed: string;
2574
- heightTiny: string;
2575
- heightSmall: string;
2576
- heightMedium: string;
2577
- heightLarge: string;
2578
- fontSizeTiny: string;
2579
- fontSizeSmall: string;
2580
- fontSizeMedium: string;
2581
- fontSizeLarge: string;
2582
2571
  paddingSingle: string;
2583
2572
  clearSize: string;
2584
2573
  arrowSize: string;
@@ -88,6 +88,14 @@ declare const paginationLight: import("../../_mixins").Theme<"Pagination", {
88
88
  menuBoxShadow: string;
89
89
  }, {
90
90
  InternalSelection: import("../../_mixins").Theme<"InternalSelection", {
91
+ fontSizeTiny: string;
92
+ fontSizeSmall: string;
93
+ fontSizeMedium: string;
94
+ fontSizeLarge: string;
95
+ heightTiny: string;
96
+ heightSmall: string;
97
+ heightMedium: string;
98
+ heightLarge: string;
91
99
  borderRadius: string;
92
100
  textColor: string;
93
101
  textColorDisabled: string;
@@ -128,14 +136,6 @@ declare const paginationLight: import("../../_mixins").Theme<"Pagination", {
128
136
  clearColor: string;
129
137
  clearColorHover: string;
130
138
  clearColorPressed: string;
131
- heightTiny: string;
132
- heightSmall: string;
133
- heightMedium: string;
134
- heightLarge: string;
135
- fontSizeTiny: string;
136
- fontSizeSmall: string;
137
- fontSizeMedium: string;
138
- fontSizeLarge: string;
139
139
  paddingSingle: string;
140
140
  clearSize: string;
141
141
  arrowSize: string;