@unsource/ui 2.8.8 → 2.8.11

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 (69) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +24 -9
  3. package/dist/runtime/assets/main.css +1 -1
  4. package/dist/runtime/components/UnAuth.d.vue.ts +2 -2
  5. package/dist/runtime/components/UnAuth.vue +2 -2
  6. package/dist/runtime/components/UnAuth.vue.d.ts +2 -2
  7. package/dist/runtime/components/UnCard.d.vue.ts +16 -14
  8. package/dist/runtime/components/UnCard.vue +26 -2
  9. package/dist/runtime/components/UnCard.vue.d.ts +16 -14
  10. package/dist/runtime/components/UnCheckboxItem.d.vue.ts +1 -5
  11. package/dist/runtime/components/UnCheckboxItem.vue +4 -5
  12. package/dist/runtime/components/UnCheckboxItem.vue.d.ts +1 -5
  13. package/dist/runtime/components/UnCollapsible.d.vue.ts +2 -2
  14. package/dist/runtime/components/UnCollapsible.vue.d.ts +2 -2
  15. package/dist/runtime/components/UnFormItem.vue +2 -2
  16. package/dist/runtime/components/UnFormList.d.vue.ts +1 -1
  17. package/dist/runtime/components/UnFormList.vue.d.ts +1 -1
  18. package/dist/runtime/components/UnIRDatePicker.d.vue.ts +1 -1
  19. package/dist/runtime/components/UnIRDatePicker.vue +1 -2
  20. package/dist/runtime/components/UnIRDatePicker.vue.d.ts +1 -1
  21. package/dist/runtime/components/UnInput.d.vue.ts +1 -1
  22. package/dist/runtime/components/UnInput.vue +1 -1
  23. package/dist/runtime/components/UnInput.vue.d.ts +1 -1
  24. package/dist/runtime/components/UnLabel.d.vue.ts +13 -13
  25. package/dist/runtime/components/UnLabel.vue +5 -5
  26. package/dist/runtime/components/UnLabel.vue.d.ts +13 -13
  27. package/dist/runtime/components/UnLocationInput.vue +1 -0
  28. package/dist/runtime/components/UnMap.vue +1 -1
  29. package/dist/runtime/components/UnMobileHeader.vue +0 -1
  30. package/dist/runtime/components/UnModal.vue +1 -1
  31. package/dist/runtime/components/UnMultiUploader.vue +0 -1
  32. package/dist/runtime/components/UnNavbar.vue +1 -1
  33. package/dist/runtime/components/UnNormalInput.d.vue.ts +1 -21
  34. package/dist/runtime/components/UnNormalInput.vue.d.ts +1 -21
  35. package/dist/runtime/components/UnNumberInput.vue +0 -1
  36. package/dist/runtime/components/UnNuxtIcon.d.vue.ts +0 -1
  37. package/dist/runtime/components/UnNuxtIcon.vue +1 -3
  38. package/dist/runtime/components/UnNuxtIcon.vue.d.ts +0 -1
  39. package/dist/runtime/components/UnProfile.d.vue.ts +2 -2
  40. package/dist/runtime/components/UnProfile.vue.d.ts +2 -2
  41. package/dist/runtime/components/UnRadioItem.d.vue.ts +1 -0
  42. package/dist/runtime/components/UnRadioItem.vue +8 -7
  43. package/dist/runtime/components/UnRadioItem.vue.d.ts +1 -0
  44. package/dist/runtime/components/UnSelect.d.vue.ts +0 -2
  45. package/dist/runtime/components/UnSelect.vue +2 -4
  46. package/dist/runtime/components/UnSelect.vue.d.ts +0 -2
  47. package/dist/runtime/components/UnSwiperControl.vue +0 -4
  48. package/dist/runtime/components/UnSwiperSlider.d.vue.ts +2 -2
  49. package/dist/runtime/components/UnSwiperSlider.vue.d.ts +2 -2
  50. package/dist/runtime/components/UnTransaction.vue +1 -0
  51. package/dist/runtime/components/UnUploadFile.d.vue.ts +60 -19
  52. package/dist/runtime/components/UnUploadFile.vue +5 -4
  53. package/dist/runtime/components/UnUploadFile.vue.d.ts +60 -19
  54. package/dist/runtime/components/UnWallet.vue +1 -0
  55. package/dist/runtime/composables/fetch.d.ts +38 -17
  56. package/dist/runtime/composables/fetch.js +20 -11
  57. package/dist/runtime/composables/global.d.ts +58 -15
  58. package/dist/runtime/composables/global.js +11 -30
  59. package/dist/runtime/composables/reuseable.d.ts +6 -19
  60. package/dist/runtime/composables/reuseable.js +7 -24
  61. package/dist/runtime/composables/services.d.ts +2 -2
  62. package/dist/runtime/composables/services.js +3 -2
  63. package/dist/runtime/plugins/floating.client.d.ts +3 -0
  64. package/dist/runtime/plugins/floating.client.js +6 -0
  65. package/dist/runtime/plugins/toast.client.d.ts +30 -30
  66. package/dist/runtime/types/models.d.ts +401 -110
  67. package/package.json +6 -5
  68. package/dist/runtime/uno.config.d.ts +0 -2
  69. package/dist/runtime/uno.config.js +0 -60
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unsource/ui",
3
- "version": "2.8.8",
3
+ "version": "2.8.11",
4
4
  "private": false,
5
5
  "description": "nuxt ui kit for unsource env",
6
6
  "repository": "https://github.com/alisa2142/unsource-ui",
@@ -37,7 +37,7 @@
37
37
  },
38
38
  "dependencies": {
39
39
  "@neshan-maps-platform/vue3-openlayers": "^2.0.1",
40
- "@nuxt/kit": "^3.20.0",
40
+ "@nuxt/kit": "~3.19.3",
41
41
  "@nuxtjs/device": "^3.2.4",
42
42
  "@nuxtjs/i18n": "^10.1.2",
43
43
  "@persian-tools/persian-tools": "^4.0.4",
@@ -49,6 +49,7 @@
49
49
  "ajv": "^8.17.1",
50
50
  "big.js": "^7.0.1",
51
51
  "defu": "^6.1.4",
52
+ "floating-vue": "^5.2.2",
52
53
  "handlebars": "^4.7.8",
53
54
  "jalali-moment": "^3.3.11",
54
55
  "numeral": "^2.0.6",
@@ -87,14 +88,14 @@
87
88
  "@nuxt/test-utils": "^3.19.2",
88
89
  "@types/node": "latest",
89
90
  "@unhead/vue": "^1.11.20",
90
- "@unocss/nuxt": "^66.5.3",
91
+ "@unocss/nuxt": "^66.5.9",
91
92
  "changelogen": "^0.6.2",
92
93
  "eslint": "^9.37.0",
93
- "nuxt": "^3.20.0",
94
+ "nuxt": "~3.19.3",
94
95
  "sass": "^1.93.2",
95
96
  "sass-embedded": "^1.93.2",
96
97
  "typescript": "~5.9.3",
97
- "unocss": "^66.5.3",
98
+ "unocss": "^66.5.9",
98
99
  "vitest": "^3.2.4",
99
100
  "vue-tsc": "^3.1.0"
100
101
  }
@@ -1,2 +0,0 @@
1
- declare const _default: import("unocss").UserConfig<object>;
2
- export default _default;
@@ -1,60 +0,0 @@
1
- import {
2
- defineConfig,
3
- presetAttributify,
4
- presetWind4,
5
- transformerDirectives,
6
- transformerVariantGroup
7
- } from "unocss";
8
- import { presetScrollbar } from "unocss-preset-scrollbar";
9
- export default defineConfig({
10
- theme: {
11
- colors: {
12
- "border": "#cccdd5",
13
- "danger": "#e60c21",
14
- "warning": "#ffc600",
15
- "success": "#35d123",
16
- "secondary": "#5e5e5e",
17
- "secondary-500": "#fdf037",
18
- "primary": "#1270da",
19
- "primary-500": "#1270da",
20
- "text": {
21
- head: "#4D4444"
22
- },
23
- "gray": {
24
- 200: "#949494",
25
- 500: "#696969",
26
- 600: "#1e1e1e"
27
- }
28
- },
29
- boxShadow: {
30
- navbar: "0 1px 10px 0px #f79520",
31
- header: "0 1px 10px 0px #cccdd5"
32
- },
33
- gridTemplateColumn: {
34
- "fill-45": "repeat(auto-fill, minmax(4rem, 1fr))",
35
- "fill-60": "repeat(auto-fill, minmax(6rem, 1fr))",
36
- "fill-90": "repeat(auto-fill, minmax(22.5rem, 1fr))",
37
- "fill-120": "repeat(auto-fill, minmax(30rem, 1fr))"
38
- },
39
- fontSize: {
40
- "2xs": "10px"
41
- }
42
- },
43
- shortcuts: {},
44
- transformers: [
45
- transformerVariantGroup(),
46
- transformerDirectives({
47
- // the defaults
48
- applyVariable: ["--at-apply", "--uno-apply", "--uno"]
49
- // or disable with:
50
- // applyVariable: false
51
- })
52
- ],
53
- presets: [
54
- presetWind4(),
55
- presetAttributify(),
56
- presetScrollbar({
57
- noCompatible: false
58
- })
59
- ]
60
- });