@sima-land/moleculas 16.0.0-alpha.34 → 16.0.0-alpha.35

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 (26) hide show
  1. package/common/components/badge/badge.m.scss +1 -1
  2. package/common/components/hover-slider/hover-slider.m.scss +1 -1
  3. package/common/components/interactive-image/interactive-image-util.scss +1 -1
  4. package/common/components/interactive-image/interactive-image.m.scss +1 -1
  5. package/common/components/media-modal/layout.m.scss +2 -2
  6. package/common/components/media-modal/parts/parts.m.scss +2 -2
  7. package/common/components/media-modal/parts/review.m.scss +1 -1
  8. package/common/components/media-modal/parts/scroll-section.m.scss +2 -2
  9. package/common/components/media-modal/parts/thumbnail.m.scss +1 -1
  10. package/common/components/media-modal/parts/thumbnails.m.scss +1 -1
  11. package/common/components/pagination-controls/pagination-controls.m.scss +1 -1
  12. package/common/components/product-info/parts/image-button.m.scss +1 -1
  13. package/common/components/product-info/parts/parts.m.scss +1 -1
  14. package/common/components/product-info/parts/rating-counter.m.scss +1 -1
  15. package/common/components/product-info/parts/wait-list-added-link.m.scss +1 -1
  16. package/common/components/rating-counter/rating-counter.m.scss +1 -1
  17. package/desktop/components/gallery-modal/components/gallery-modal.m.scss +1 -1
  18. package/desktop/components/product-carousel/product-carousel.m.scss +1 -1
  19. package/desktop/components/promotion-card/placeholder.m.scss +1 -1
  20. package/desktop/components/promotion-card/promotion-card.m.scss +3 -3
  21. package/mobile/components/action-circles/action-circles.m.scss +1 -1
  22. package/mobile/components/action-list/action-list.m.scss +1 -1
  23. package/mobile/components/product-slider/product-slider.m.scss +1 -1
  24. package/mobile/components/select-screen/select-screen.m.scss +1 -1
  25. package/package.json +36 -4
  26. /package/desktop/components/promotion-card/{variables.scss → _variables.scss} +0 -0
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/utils';
1
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
2
2
 
3
3
  $badge-size: 20px;
4
4
  $icon-size: 16px;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .root {
5
5
  position: relative;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
 
3
3
  @mixin dot-size-default {
4
4
  --dot-size: 32px;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
3
3
  @use './interactive-image-util';
4
4
 
5
5
  .root {
@@ -1,5 +1,5 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .layout {
5
5
  display: flex;
@@ -1,5 +1,5 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .header-layout {
5
5
  min-height: 40px; // ВАЖНО: чтобы при отсутствии табов не уменьшалась высота
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
3
3
 
4
4
  .root {
@@ -1,5 +1,5 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .inner {
5
5
  display: flex;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
3
3
 
4
4
  .root {
5
5
  display: block;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/utils';
1
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
2
2
 
3
3
  .list-desktop {
4
4
  display: flex;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .layout {
5
5
  display: flex;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
3
3
 
4
4
  .root {
5
5
  width: 24px;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
 
3
3
  .text-button {
4
4
  font-size: 14px;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
  @use '../../rating-counter/rating-counter-util';
3
3
 
4
4
  .root {
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
3
3
 
4
4
  .root {
5
5
  font-size: 14px;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
2
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
3
3
  @use './rating-counter-util';
4
4
 
5
5
  .root {
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .root {
5
5
  position: absolute;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
3
3
 
4
4
  $breakpoints: 'xs', 's', 'm', 'l', 'xl';
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use './variables';
2
+ @use './_variables';
3
3
 
4
4
  .part {
5
5
  background: colors.$basic-gray4;
@@ -1,7 +1,7 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
3
- @use 'pkg:@sima-land/ui-nucleons/shadows';
4
- @use './variables';
2
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
3
+ @use 'pkg:@sima-land/ui-nucleons/shadows.scss';
4
+ @use './_variables';
5
5
 
6
6
  .root {
7
7
  background: #fff;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .circles {
5
5
  display: flex;
@@ -1,5 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
- @use 'pkg:@sima-land/ui-nucleons/utils';
2
+ @use 'pkg:@sima-land/ui-nucleons/utils.scss';
3
3
 
4
4
  .circles {
5
5
  display: flex;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
 
3
3
  .item {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- @use 'pkg:@sima-land/ui-nucleons/breakpoints';
1
+ @use 'pkg:@sima-land/ui-nucleons/breakpoints.scss';
2
2
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
3
3
 
4
4
  .container {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sima-land/moleculas",
3
3
  "type": "commonjs",
4
- "version": "16.0.0-alpha.34",
4
+ "version": "16.0.0-alpha.35",
5
5
  "repository": "ssh://git@github.com:sima-land/moleculas.git",
6
6
  "author": "www.sima-land.ru team",
7
7
  "license": "Apache-2.0",
@@ -10,11 +10,12 @@
10
10
  "node": ">=16.15.1"
11
11
  },
12
12
  "scripts": {
13
- "build": "npm run build:clean && npm run build:scripts && npm run build:assets && npm run build:package",
13
+ "build": "npm run build:sync-exports && npm run build:clean && npm run build:scripts && npm run build:assets && npm run build:package",
14
14
  "build:clean": "rm -rf build",
15
15
  "build:scripts": "tsc --project tsconfig.build.json",
16
- "build:assets": "node scripts/build-assets.mjs",
16
+ "build:assets": "node scripts/copy-assets.mjs",
17
17
  "build:package": "cd build && npm pkg delete scripts.prepare && cd ..",
18
+ "build:sync-exports": "node scripts/emit-exports.mjs && npm pkg set --json exports=\"$(cat ./temp/exports.json)\" && rm -rf temp/exports.json",
18
19
  "type-check": "tsc -p . --noEmit",
19
20
  "lint": "npm run lint:scripts && npm run lint:styles",
20
21
  "lint:scripts": "eslint src",
@@ -56,8 +57,39 @@
56
57
  "typescript": "^5.3.3"
57
58
  },
58
59
  "peerDependencies": {
59
- "@sima-land/ui-nucleons": "^45.0.0-alpha.24",
60
+ "@sima-land/ui-nucleons": "^45.0.0-alpha.25",
60
61
  "@sima-land/ui-quarks": "^5.1.1",
61
62
  "react": "^17.0 || ^18.0"
63
+ },
64
+ "exports": {
65
+ "./common/components/badge-list": "./common/components/badge-list/index.js",
66
+ "./common/components/badge": "./common/components/badge/index.js",
67
+ "./common/components/breadcrumbs": "./common/components/breadcrumbs/index.js",
68
+ "./common/components/hover-slider": "./common/components/hover-slider/index.js",
69
+ "./common/components/img-stub": "./common/components/img-stub/index.js",
70
+ "./common/components/interactive-image": "./common/components/interactive-image/index.js",
71
+ "./common/components/interactive-image/interactive-image-util.scss": "./common/components/interactive-image/interactive-image-util.scss",
72
+ "./common/components/media-gallery": "./common/components/media-gallery/index.js",
73
+ "./common/components/media-modal": "./common/components/media-modal/index.js",
74
+ "./common/components/modifier": "./common/components/modifier/index.js",
75
+ "./common/components/pagination-controls": "./common/components/pagination-controls/index.js",
76
+ "./common/components/product-image": "./common/components/product-image/index.js",
77
+ "./common/components/product-info": "./common/components/product-info/index.js",
78
+ "./common/components/rating-counter": "./common/components/rating-counter/index.js",
79
+ "./common/components/rating-counter/rating-counter-util.scss": "./common/components/rating-counter/rating-counter-util.scss",
80
+ "./common/hooks": "./common/hooks/index.js",
81
+ "./desktop/components/breadcrumbs": "./desktop/components/breadcrumbs/index.js",
82
+ "./desktop/components/gallery-modal": "./desktop/components/gallery-modal/index.js",
83
+ "./desktop/components/person-info": "./desktop/components/person-info/index.js",
84
+ "./desktop/components/product-carousel": "./desktop/components/product-carousel/index.js",
85
+ "./desktop/components/promotion-card": "./desktop/components/promotion-card/index.js",
86
+ "./mobile/components/action-circles": "./mobile/components/action-circles/index.js",
87
+ "./mobile/components/action-list": "./mobile/components/action-list/index.js",
88
+ "./mobile/components/breadcrumbs": "./mobile/components/breadcrumbs/index.js",
89
+ "./mobile/components/person-info": "./mobile/components/person-info/index.js",
90
+ "./mobile/components/product-row": "./mobile/components/product-row/index.js",
91
+ "./mobile/components/product-slider": "./mobile/components/product-slider/index.js",
92
+ "./mobile/components/search-bar": "./mobile/components/search-bar/index.js",
93
+ "./mobile/components/select-screen": "./mobile/components/select-screen/index.js"
62
94
  }
63
95
  }