@gravity-ui/page-constructor 7.2.0 → 7.3.1
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.
package/README.md
CHANGED
|
@@ -556,6 +556,39 @@ export const MyAppEditor = ({initialContent, onChange, transformContent}: MyAppE
|
|
|
556
556
|
);
|
|
557
557
|
```
|
|
558
558
|
|
|
559
|
+
## Memory Bank
|
|
560
|
+
|
|
561
|
+
This project includes a comprehensive **Memory Bank** - a collection of Markdown documentation files that provide detailed information about the project's architecture, components, and usage patterns. The Memory Bank is particularly useful when working with AI agents, as it contains structured information about:
|
|
562
|
+
|
|
563
|
+
- **Project Overview**: Core requirements, goals, and context
|
|
564
|
+
- **Component Documentation**: Detailed usage guides for all components
|
|
565
|
+
- **System Architecture**: Technical patterns and design decisions
|
|
566
|
+
- **Development Progress**: Current status and implementation details
|
|
567
|
+
|
|
568
|
+
### Using the Memory Bank
|
|
569
|
+
|
|
570
|
+
The Memory Bank is located in the `memory-bank/` directory and consists of regular Markdown files that can be read like any other documentation:
|
|
571
|
+
|
|
572
|
+
- `projectbrief.md` - Foundation document with core requirements
|
|
573
|
+
- `productContext.md` - Project purpose and user experience goals
|
|
574
|
+
- `systemPatterns.md` - Architecture and technical decisions
|
|
575
|
+
- `techContext.md` - Technologies, setup, and constraints
|
|
576
|
+
- `activeContext.md` - Current work focus and recent changes
|
|
577
|
+
- `progress.md` - Implementation status and known issues
|
|
578
|
+
- `usage/` - Component-specific usage documentation
|
|
579
|
+
- `storybookComponents.md` - Storybook integration details
|
|
580
|
+
|
|
581
|
+
### For AI Agents
|
|
582
|
+
|
|
583
|
+
When working with AI agents on this project, the Memory Bank serves as a comprehensive knowledge base that helps agents understand:
|
|
584
|
+
|
|
585
|
+
- Project structure and patterns
|
|
586
|
+
- Component APIs and usage examples
|
|
587
|
+
- Development workflows and best practices
|
|
588
|
+
- Current implementation status and next steps
|
|
589
|
+
|
|
590
|
+
AI agents can read these files to quickly get up to speed with the project context and make more informed decisions about code changes and implementations.
|
|
591
|
+
|
|
559
592
|
## Tests
|
|
560
593
|
|
|
561
594
|
Comprehensive documentation is available at the provided [link](./test-utils/docs/README.md).
|
|
@@ -29,7 +29,9 @@ unpredictable css rules order in build */
|
|
|
29
29
|
max-width: min(65vw, 1232px);
|
|
30
30
|
width: 100%;
|
|
31
31
|
aspect-ratio: 16/9;
|
|
32
|
-
height: calc(
|
|
32
|
+
height: calc(
|
|
33
|
+
min(65vw, 1232px) * 9 / 16
|
|
34
|
+
) !important; /* stylelint-disable-line declaration-no-important */
|
|
33
35
|
}
|
|
34
36
|
.pc-full-screen-media__modal .g-modal__content, .pc-full-screen-media__modal-image {
|
|
35
37
|
border-radius: var(--pc-border-radius);
|
|
@@ -29,7 +29,9 @@ unpredictable css rules order in build */
|
|
|
29
29
|
max-width: min(65vw, 1232px);
|
|
30
30
|
width: 100%;
|
|
31
31
|
aspect-ratio: 16/9;
|
|
32
|
-
height: calc(
|
|
32
|
+
height: calc(
|
|
33
|
+
min(65vw, 1232px) * 9 / 16
|
|
34
|
+
) !important; /* stylelint-disable-line declaration-no-important */
|
|
33
35
|
}
|
|
34
36
|
.pc-full-screen-media__modal .g-modal__content, .pc-full-screen-media__modal-image {
|
|
35
37
|
border-radius: var(--pc-border-radius);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravity-ui/page-constructor",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.1",
|
|
4
4
|
"description": "Gravity UI Page Constructor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"github-buttons": "2.23.0",
|
|
108
108
|
"js-yaml-source-map": "^0.2.2",
|
|
109
109
|
"lodash": "^4.17.21",
|
|
110
|
-
"monaco-editor": "^0.
|
|
110
|
+
"monaco-editor": "^0.52.2",
|
|
111
111
|
"react-final-form": "^6.5.9",
|
|
112
112
|
"react-monaco-editor": "^0.53.0",
|
|
113
113
|
"react-player": "^2.9.0",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"@diplodoc/transform": "^4.57.1",
|
|
137
137
|
"@gravity-ui/eslint-config": "^3.2.0",
|
|
138
138
|
"@gravity-ui/gulp-utils": "^1.0.3",
|
|
139
|
-
"@gravity-ui/icons": "^2.
|
|
139
|
+
"@gravity-ui/icons": "^2.14.0",
|
|
140
140
|
"@gravity-ui/prettier-config": "^1.1.0",
|
|
141
141
|
"@gravity-ui/stylelint-config": "^4.0.1",
|
|
142
142
|
"@gravity-ui/tsconfig": "^1.0.0",
|