vueless 0.0.616 → 0.0.617

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 (65) hide show
  1. package/package.json +1 -1
  2. package/ui.button/UButton.vue +0 -3
  3. package/ui.button-toggle/UToggle.vue +1 -15
  4. package/ui.button-toggle/config.ts +10 -0
  5. package/ui.button-toggle/types.ts +0 -2
  6. package/ui.container-accordion/UAccordion.vue +3 -14
  7. package/ui.container-accordion/config.ts +10 -1
  8. package/ui.container-accordion/types.ts +0 -1
  9. package/ui.data-list/UDataList.vue +4 -35
  10. package/ui.data-list/config.ts +13 -3
  11. package/ui.data-list/types.ts +0 -2
  12. package/ui.dropdown-button/UDropdownButton.vue +1 -29
  13. package/ui.dropdown-button/config.ts +23 -1
  14. package/ui.dropdown-button/types.ts +0 -3
  15. package/ui.dropdown-link/UDropdownLink.vue +1 -12
  16. package/ui.dropdown-link/config.ts +10 -1
  17. package/ui.dropdown-link/types.ts +0 -2
  18. package/ui.form-checkbox/UCheckbox.vue +1 -12
  19. package/ui.form-checkbox/config.ts +10 -1
  20. package/ui.form-checkbox/types.ts +0 -2
  21. package/ui.form-color-picker/UColorPicker.vue +1 -14
  22. package/ui.form-color-picker/config.ts +12 -1
  23. package/ui.form-color-picker/types.ts +0 -2
  24. package/ui.form-date-picker/UDatePicker.vue +5 -7
  25. package/ui.form-date-picker/config.ts +10 -1
  26. package/ui.form-date-picker-range/UDatePickerRange.vue +3 -4
  27. package/ui.form-date-picker-range/config.ts +10 -1
  28. package/ui.form-input/UInput.vue +5 -29
  29. package/ui.form-input/config.ts +13 -3
  30. package/ui.form-input/types.ts +0 -2
  31. package/ui.form-input-file/UInputFile.vue +1 -13
  32. package/ui.form-input-file/config.ts +17 -1
  33. package/ui.form-input-file/types.ts +0 -2
  34. package/ui.form-input-rating/UInputRating.vue +1 -12
  35. package/ui.form-input-rating/config.ts +10 -1
  36. package/ui.form-input-rating/types.ts +0 -2
  37. package/ui.form-input-search/UInputSearch.vue +2 -26
  38. package/ui.form-input-search/config.ts +30 -3
  39. package/ui.form-input-search/types.ts +0 -3
  40. package/ui.form-select/USelect.vue +8 -47
  41. package/ui.form-select/config.ts +15 -5
  42. package/ui.form-select/types.ts +0 -1
  43. package/ui.form-switch/USwitch.vue +1 -12
  44. package/ui.form-switch/config.ts +10 -1
  45. package/ui.form-switch/types.ts +0 -2
  46. package/ui.image-avatar/UAvatar.vue +1 -8
  47. package/ui.navigation-pagination/UPagination.vue +4 -50
  48. package/ui.navigation-pagination/config.ts +21 -4
  49. package/ui.navigation-pagination/types.ts +0 -3
  50. package/ui.navigation-progress/UProgress.vue +3 -17
  51. package/ui.navigation-progress/config.ts +14 -0
  52. package/ui.navigation-progress/types.ts +0 -2
  53. package/ui.text-alert/UAlert.vue +9 -32
  54. package/ui.text-alert/config.ts +22 -2
  55. package/ui.text-alert/types.ts +0 -3
  56. package/ui.text-badge/UBadge.vue +6 -34
  57. package/ui.text-badge/config.ts +13 -3
  58. package/ui.text-badge/types.ts +0 -2
  59. package/ui.text-empty/UEmpty.vue +4 -32
  60. package/ui.text-empty/config.ts +20 -2
  61. package/ui.text-empty/types.ts +0 -3
  62. package/ui.text-file/UFile.vue +2 -24
  63. package/ui.text-file/config.ts +20 -2
  64. package/ui.text-file/types.ts +0 -3
  65. package/web-types.json +1 -80
@@ -20,9 +20,27 @@ export default /*tw*/ {
20
20
  },
21
21
  },
22
22
  fileImage: "rounded-sm max-w-7",
23
- fileIcon: "{UIcon}",
23
+ fileIcon: {
24
+ base: "{UIcon}",
25
+ defaults: {
26
+ size: {
27
+ sm: "xs",
28
+ md: "sm",
29
+ lg: "md",
30
+ },
31
+ },
32
+ },
24
33
  fileLabel: "{ULink}",
25
- removeIcon: "{UIcon}",
34
+ removeIcon: {
35
+ base: "{UIcon}",
36
+ defaults: {
37
+ size: {
38
+ sm: "2xs",
39
+ md: "xs",
40
+ lg: "sm",
41
+ },
42
+ },
43
+ },
26
44
  defaults: {
27
45
  size: "md",
28
46
  /* icons */
@@ -3,9 +3,6 @@ import type { ComponentConfig } from "../types.ts";
3
3
 
4
4
  export type Config = typeof defaultConfig;
5
5
 
6
- export type IconSize = "xs" | "sm" | "md";
7
- export type RemoveIconSize = "2xs" | "xs" | "sm";
8
-
9
6
  export interface Props {
10
7
  /**
11
8
  * File url.
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.616",
4
+ "version": "0.0.617",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -105,10 +105,6 @@
105
105
  "type": "string",
106
106
  "name": "icon-name"
107
107
  },
108
- {
109
- "type": "string",
110
- "name": "icon-size"
111
- },
112
108
  {
113
109
  "type": "boolean",
114
110
  "name": "opened"
@@ -312,10 +308,6 @@
312
308
  {
313
309
  "type": "string",
314
310
  "name": "icon-name"
315
- },
316
- {
317
- "type": "string",
318
- "name": "icon-size"
319
311
  }
320
312
  ]
321
313
  },
@@ -485,10 +477,6 @@
485
477
  {
486
478
  "type": "string",
487
479
  "name": "icon-color"
488
- },
489
- {
490
- "type": "string",
491
- "name": "icon-size"
492
480
  }
493
481
  ]
494
482
  }
@@ -681,10 +669,6 @@
681
669
  {
682
670
  "type": "string",
683
671
  "name": "icon-name"
684
- },
685
- {
686
- "type": "string",
687
- "name": "icon-size"
688
672
  }
689
673
  ]
690
674
  },
@@ -700,10 +684,6 @@
700
684
  {
701
685
  "type": "string",
702
686
  "name": "icon-name"
703
- },
704
- {
705
- "type": "string",
706
- "name": "icon-size"
707
687
  }
708
688
  ]
709
689
  },
@@ -715,10 +695,6 @@
715
695
  {
716
696
  "type": "string",
717
697
  "name": "icon-name"
718
- },
719
- {
720
- "type": "string",
721
- "name": "icon-size"
722
698
  }
723
699
  ]
724
700
  }
@@ -2755,10 +2731,6 @@
2755
2731
  {
2756
2732
  "type": "string",
2757
2733
  "name": "icon-name"
2758
- },
2759
- {
2760
- "type": "string",
2761
- "name": "icon-size"
2762
2734
  }
2763
2735
  ]
2764
2736
  },
@@ -2800,10 +2772,6 @@
2800
2772
  {
2801
2773
  "type": "string",
2802
2774
  "name": "icon-name"
2803
- },
2804
- {
2805
- "type": "string",
2806
- "name": "icon-size"
2807
2775
  }
2808
2776
  ]
2809
2777
  },
@@ -2819,10 +2787,6 @@
2819
2787
  {
2820
2788
  "type": "string",
2821
2789
  "name": "icon-name"
2822
- },
2823
- {
2824
- "type": "string",
2825
- "name": "icon-size"
2826
2790
  }
2827
2791
  ]
2828
2792
  }
@@ -3118,10 +3082,6 @@
3118
3082
  {
3119
3083
  "type": "string",
3120
3084
  "name": "icon-name"
3121
- },
3122
- {
3123
- "type": "string",
3124
- "name": "icon-size"
3125
3085
  }
3126
3086
  ]
3127
3087
  },
@@ -3133,10 +3093,6 @@
3133
3093
  {
3134
3094
  "type": "string",
3135
3095
  "name": "icon-name"
3136
- },
3137
- {
3138
- "type": "string",
3139
- "name": "icon-size"
3140
3096
  }
3141
3097
  ]
3142
3098
  },
@@ -3452,10 +3408,6 @@
3452
3408
  {
3453
3409
  "type": "string",
3454
3410
  "name": "icon-name"
3455
- },
3456
- {
3457
- "type": "string",
3458
- "name": "icon-size"
3459
3411
  }
3460
3412
  ]
3461
3413
  },
@@ -6025,10 +5977,6 @@
6025
5977
  {
6026
5978
  "type": "string",
6027
5979
  "name": "icon-name"
6028
- },
6029
- {
6030
- "type": "string",
6031
- "name": "icon-size"
6032
5980
  }
6033
5981
  ]
6034
5982
  },
@@ -6040,10 +5988,6 @@
6040
5988
  {
6041
5989
  "type": "string",
6042
5990
  "name": "icon-name"
6043
- },
6044
- {
6045
- "type": "string",
6046
- "name": "icon-size"
6047
5991
  }
6048
5992
  ]
6049
5993
  },
@@ -7138,9 +7082,6 @@
7138
7082
  {
7139
7083
  "name": "icon-name"
7140
7084
  },
7141
- {
7142
- "name": "icon-size"
7143
- },
7144
7085
  {
7145
7086
  "name": "search-button-label"
7146
7087
  }
@@ -10168,10 +10109,6 @@
10168
10109
  {
10169
10110
  "type": "string",
10170
10111
  "name": "icon-name"
10171
- },
10172
- {
10173
- "type": "string",
10174
- "name": "icon-size"
10175
10112
  }
10176
10113
  ]
10177
10114
  },
@@ -10195,10 +10132,6 @@
10195
10132
  "type": "string",
10196
10133
  "name": "icon-name"
10197
10134
  },
10198
- {
10199
- "type": "string",
10200
- "name": "icon-size"
10201
- },
10202
10135
  {
10203
10136
  "type": "boolean",
10204
10137
  "name": "opened"
@@ -10213,10 +10146,6 @@
10213
10146
  {
10214
10147
  "type": "string",
10215
10148
  "name": "icon-name"
10216
- },
10217
- {
10218
- "type": "string",
10219
- "name": "icon-size"
10220
10149
  }
10221
10150
  ]
10222
10151
  },
@@ -10239,10 +10168,6 @@
10239
10168
  {
10240
10169
  "type": "string",
10241
10170
  "name": "icon-name"
10242
- },
10243
- {
10244
- "type": "string",
10245
- "name": "icon-size"
10246
10171
  }
10247
10172
  ]
10248
10173
  },
@@ -10284,10 +10209,6 @@
10284
10209
  {
10285
10210
  "type": "string",
10286
10211
  "name": "icon-name"
10287
- },
10288
- {
10289
- "type": "string",
10290
- "name": "icon-size"
10291
10212
  }
10292
10213
  ]
10293
10214
  },