Skip to content

Commit 6aa3c47

Browse files
committed
feat: update UI styles, fix bugs
1 parent 10cee9f commit 6aa3c47

File tree

68 files changed

+781
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+781
-259
lines changed

playground/src/styles/globals.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
html,
22
body,
33
#root {
4-
height: 100%;
54
min-width: 320px;
65
margin: 0;
76
}

src/blocks/Banner/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const BannerBlockConfig: BlockData = {
1010
component: BannerBlock,
1111
schema: {
1212
name: 'Banner Block',
13-
group: 'block',
13+
group: '@gravity-ui/page-constructor/Blocks',
1414
inputs: generateFromAJV(BannerCardProps as unknown as JSONSchemaType<{}>),
1515
default: {
1616
color: 'rgba(54, 151, 241, 0.4)',

src/blocks/CardLayout/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ const CardLayoutBlockConfig: BlockData = {
159159
component: CardLayout,
160160
schema: {
161161
name: 'Card Layout Block',
162-
group: 'card-containers',
162+
group: '@gravity-ui/page-constructor/Card Containers',
163163
inputs: generateFromAJV(CardLayoutProps as unknown as JSONSchemaType<{}>),
164164
default: {
165165
type: 'card-layout-block',

src/blocks/Companies/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const CompaniesBlockConfig: BlockData = {
1010
component: CompaniesBlock,
1111
schema: {
1212
name: 'Companies Block',
13-
group: 'block',
13+
group: '@gravity-ui/page-constructor/Blocks',
1414
inputs: generateFromAJV(
1515
CompaniesBlockSchema['companies-block'] as unknown as JSONSchemaType<{}>,
1616
),

src/blocks/ContentLayout/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const ContentLayoutBlockConfig = {
99
component: ContentLayoutBlock,
1010
schema: {
1111
name: 'Content Layout Block',
12-
group: 'block',
12+
group: '@gravity-ui/page-constructor/Blocks',
1313
inputs: generateFromAJV(
1414
ContentLayoutBlockSchema['content-layout-block'] as unknown as JSONSchemaType<{}>,
1515
),

src/blocks/ExtendedFeatures/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const ExtendedFeaturesBlockConfig = {
99
component: ExtendedFeaturesBlock,
1010
schema: {
1111
name: 'Extended Features Block',
12-
group: 'block',
12+
group: '@gravity-ui/page-constructor/Blocks',
1313
inputs: generateFromAJV(
1414
ExtendedFeaturesBlockSchema['extended-features-block'] as unknown as JSONSchemaType<{}>,
1515
),

src/blocks/FilterBlock/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const FilterBlockConfig = {
99
component: FilterBlock,
1010
schema: {
1111
name: 'Filter Block',
12-
group: 'block',
12+
group: '@gravity-ui/page-constructor/Blocks',
1313
inputs: generateFromAJV(FilterProps as unknown as JSONSchemaType<{}>),
1414
default: {
1515
allTag: true,

src/blocks/Form/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const FormBlockConfig = {
99
component: FormBlock,
1010
schema: {
1111
name: 'Form Block',
12-
group: 'block',
12+
group: '@gravity-ui/page-constructor/Blocks',
1313
inputs: generateFromAJV(FormBlockSchema['form-block'] as unknown as JSONSchemaType<{}>),
1414
default: {
1515
title: 'Form Block',

src/blocks/Header/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const HeaderBlockConfig = {
99
component: HeaderBlock,
1010
schema: {
1111
name: 'Header Block',
12-
group: 'block',
12+
group: '@gravity-ui/page-constructor/Blocks',
1313
inputs: generateFromAJV(HeaderBlockSchema['header-block'] as unknown as JSONSchemaType<{}>),
1414
default: {
1515
type: 'header-block',

src/blocks/HeaderSlider/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const HeaderSliderBlockConfig = {
99
component: HeaderSliderBlock,
1010
schema: {
1111
name: 'Header Slider Block',
12-
group: 'card-containers',
12+
group: '@gravity-ui/page-constructor/Card Containers',
1313
inputs: generateFromAJV(
1414
HeaderSliderBlockSchema['header-slider-block'] as unknown as JSONSchemaType<{}>,
1515
),

0 commit comments

Comments
 (0)