@ozdao/prometheus-framework 0.2.108 → 0.2.110

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/main.css +1 -1
  2. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  3. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +73 -1
  4. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  5. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +1 -73
  6. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  7. package/dist/prometheus-framework/src/components/Select/Select.vue.js +103 -1
  8. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  9. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +1 -103
  10. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  11. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +1 -1
  12. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  13. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  14. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  15. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
  16. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  17. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  18. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
  19. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
  20. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  21. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  22. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
  23. package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +1 -1
  24. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  25. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
  26. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  27. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  28. package/dist/prometheus-framework/src/modules/landing/components/elements/FloatingImages.vue.cjs +2 -2
  29. package/dist/prometheus-framework/src/modules/landing/components/elements/FloatingImages.vue.js +17 -17
  30. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  31. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
  32. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  33. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +13 -1
  34. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
  35. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +1 -13
  36. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.cjs +1 -1
  37. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderBackoffice.vue.js +1 -1
  38. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
  39. package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +2 -2
  40. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
  41. package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +1 -1
  42. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
  43. package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
  44. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
  45. package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
  46. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  47. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
  48. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  49. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +2 -2
  50. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  51. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  52. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  53. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
  54. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  55. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  56. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  57. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +1 -1
  58. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  59. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  60. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  61. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
  62. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  63. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  64. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
  65. package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
  66. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  67. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  68. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  69. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  70. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  71. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
  72. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  73. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
  74. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  75. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +1 -1
  76. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
  77. package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +2 -2
  78. package/dist/style.css +1 -1
  79. package/package.json +1 -1
  80. package/src/modules/landing/components/elements/FloatingImages.vue +5 -4
  81. package/src/modules/landing/components/pages/Home.vue +12 -9
  82. package/src/modules/users/components/sections/FeaturedUsers.vue +42 -0
  83. package/src/styles/base/all.scss +2 -0
  84. package/src/styles/config.scss +57 -26
  85. package/src/styles/responsive.scss +6 -0
@@ -32,34 +32,58 @@
32
32
  }
33
33
  }
34
34
 
35
-
36
- @mixin generate-utility-classes($class-name, $css-property, $modifiers, $values) {
35
+ @mixin generate-utility-classes($class-name, $css-property, $modifiers, $values, $breakpoints: null) {
36
+ // Генерация базовых классов без модификаторов и медиа-запросов
37
37
  @each $value-key, $value in $values {
38
- // Генерация классов без модификаторов
39
38
  .#{$class-name}-#{$value-key} {
40
39
  #{$css-property}: $value;
41
40
  }
42
- // Генерация отрицательных классов без модификаторов
43
41
  .#{$class-name}-#{$value-key}-negative {
44
- #{$css-property}: -$value;
45
- }
46
-
47
- // Генерация классов с модификаторами
42
+ #{$css-property}: -$value;
43
+ }
44
+
48
45
  @if $modifiers {
49
46
  @each $modifier, $css-modifier in $modifiers {
50
47
  .#{$class-name}-#{$modifier}-#{$value-key} {
51
48
  #{$css-property}-#{$css-modifier}: $value;
52
49
  }
53
- // Генерация отрицательных классов с модификаторами
54
50
  .#{$class-name}-#{$modifier}-#{$value-key}-negative {
55
51
  #{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
56
52
  }
57
53
  }
58
54
  }
59
55
  }
56
+
57
+ // Генерация классов с медиа-запросами
58
+ @if $breakpoints {
59
+ @each $breakpoint-key, $breakpoint-query in $breakpoints {
60
+ @media #{$breakpoint-query} {
61
+ @each $value-key, $value in $values {
62
+ .#{$breakpoint-key}\:#{$class-name}-#{$value-key} {
63
+ #{$css-property}: $value;
64
+ }
65
+ .#{$breakpoint-key}\:#{$class-name}-#{$value-key}-negative {
66
+ #{$css-property}: calc(#{$value} * -1);
67
+ }
68
+
69
+ @if $modifiers {
70
+ @each $modifier, $css-modifier in $modifiers {
71
+ .#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key} {
72
+ #{$css-property}-#{$css-modifier}: $value;
73
+ }
74
+ .#{$breakpoint-key}\:#{$class-name}-#{$modifier}-#{$value-key}-negative {
75
+ #{$css-property}-#{$css-modifier}: calc(#{$value} * -1);
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
60
83
  }
61
84
 
62
85
 
86
+
63
87
  :root {
64
88
  // THEME
65
89
  color-scheme: light dark;
@@ -202,6 +226,13 @@ $percent: (
202
226
  '0': 0%,
203
227
  );
204
228
 
229
+ $breakpoints: (
230
+ 'mobile': "(max-width: 640px)",
231
+ 'tablet': "(min-width: 641px) and (max-width: 1024px)",
232
+ 'desktop': "(min-width: 1025px) and (max-width: 1440px)",
233
+ 'widescreen': "(min-width: 1441px)"
234
+ );
235
+
205
236
  $base: (
206
237
  'auto': auto,
207
238
  'zero': 0,
@@ -213,29 +244,29 @@ $combined: map-merge($combined, $variables);
213
244
  $combined: map-merge($combined, $base);
214
245
 
215
246
  body {
216
- @include generate-utility-classes('pd', 'padding', $modifiers, $combined);
217
- @include generate-utility-classes('mn', 'margin', $modifiers, $combined);
247
+ @include generate-utility-classes('pd', 'padding', $modifiers, $combined, $breakpoints);
248
+ @include generate-utility-classes('mn', 'margin', $modifiers, $combined, $breakpoints);
218
249
 
219
- @include generate-utility-classes('w', 'width', null, $combined);
220
- @include generate-utility-classes('h', 'height', null, $combined);
250
+ @include generate-utility-classes('w', 'width', null, $combined, $breakpoints);
251
+ @include generate-utility-classes('h', 'height', null, $combined, $breakpoints);
221
252
 
222
- @include generate-utility-classes('pos-t', 'top', null, $combined);
223
- @include generate-utility-classes('pos-r', 'right', null, $combined);
224
- @include generate-utility-classes('pos-b', 'bottom', null, $combined);
225
- @include generate-utility-classes('pos-l', 'left', null, $combined);
253
+ @include generate-utility-classes('pos-t', 'top', null, $combined, $breakpoints);
254
+ @include generate-utility-classes('pos-r', 'right', null, $combined, $breakpoints);
255
+ @include generate-utility-classes('pos-b', 'bottom', null, $combined, $breakpoints);
256
+ @include generate-utility-classes('pos-l', 'left', null, $combined, $breakpoints);
226
257
 
227
- @include generate-utility-classes('h-max', 'max-height', null, $combined);
228
- @include generate-utility-classes('h-min', 'min-height', null, $combined);
258
+ @include generate-utility-classes('h-max', 'max-height', null, $combined, $breakpoints);
259
+ @include generate-utility-classes('h-min', 'min-height', null, $combined, $breakpoints);
229
260
 
230
- @include generate-utility-classes('w-max', 'max-width', null, $combined);
231
- @include generate-utility-classes('w-min', 'min-width', null, $combined);
261
+ @include generate-utility-classes('w-max', 'max-width', null, $combined, $breakpoints);
262
+ @include generate-utility-classes('w-min', 'min-width', null, $combined, $breakpoints);
232
263
 
233
- @include generate-utility-classes('radius', 'border-radius', null, $combined);
264
+ @include generate-utility-classes('radius', 'border-radius', null, $combined, $breakpoints);
234
265
 
235
- @include generate-utility-classes('radius-tl', 'border-top-left-radius', null, $combined);
236
- @include generate-utility-classes('radius-br', 'border-bottom-right-radius', null, $combined);
237
- @include generate-utility-classes('radius-tr', 'border-top-right-radius', null, $combined);
238
- @include generate-utility-classes('radius-bl', 'border-bottom-left-radius', null, $combined);
266
+ @include generate-utility-classes('radius-tl', 'border-top-left-radius', null, $combined, $breakpoints);
267
+ @include generate-utility-classes('radius-tr', 'border-top-right-radius', null, $combined, $breakpoints);
268
+ @include generate-utility-classes('radius-br', 'border-bottom-right-radius', null, $combined, $breakpoints);
269
+ @include generate-utility-classes('radius-bl', 'border-bottom-left-radius', null, $combined, $breakpoints);
239
270
 
240
271
  @include generate-bg-classes('bg-main', 'main');
241
272
  @include generate-bg-classes('bg-second', 'second');
@@ -1,15 +1,21 @@
1
1
  $super-ultra-tiny-flip-phone-max: 240px;
2
+
2
3
  $flip-phone-max: 320px;
3
4
  $phone-portrait-max: 321px;
4
5
  $phone-landscape-max: 640px;
6
+
5
7
  $tablet-portrait-min: 641px;
6
8
  $tablet-portrait-max: 768px;
9
+
7
10
  $tablet-landscape-min: 769px;
8
11
  $tablet-landscape-max: 1024px;
12
+
9
13
  $desktop-min: 1025px;
10
14
  $desktop-max: 1440px;
15
+
11
16
  $xl-desktop-min: 1441px;
12
17
  $xl-desktop-max: 1920px;
18
+
13
19
  $xxl-desktop-min: 1921px;
14
20
 
15
21
  @media screen and (min-width: $xxl-desktop-min) {