Skip to content

Commit

Permalink
Added support for 4px grid to site & uui package
Browse files Browse the repository at this point in the history
  • Loading branch information
siarhei-epam committed Dec 2, 2024
1 parent b1b6413 commit 62a1b97
Show file tree
Hide file tree
Showing 18 changed files with 1,385 additions and 131 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: qa
# Controls when the action will run.
on:
push:
branches: [ themes/eduverse-theme ]
branches: [ feature/4px-grid-for-uui ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
176 changes: 176 additions & 0 deletions app/src/data/propsOverride_4px.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
import { TPropEditorType, TPropEditorTypeOverride } from '@epam/uui-docs';

const propsOverride: TPropEditorTypeOverride = {
'@epam/uui:AlertProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['40', '48'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},
'@epam/uui:ButtonProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['40', '48'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},
'@epam/uui:BadgeProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['24', '32', '40'],
},
comment: {
tags: {
'@default': '32',
},
},
},
},
'@epam/uui:LinkButtonProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['24', '32', '40'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},
'@epam/uui:TextInputProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['40', '48'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},
'@epam/uui:NumericInputProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['40', '48'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},
'@epam/uui:CheckboxProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['20', '24', '28'],
},
comment: {
tags: {
'@default': '24',
},
},
},
},
'@epam/uui:RadioInputProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['20', '24', '28'],
},
comment: {
tags: {
'@default': '24',
},
},
},
},
'@epam/uui:SwitchProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['20', '24'],
},
comment: {
tags: {
'@default': '24',
},
},
},
},
'@epam/uui:TabButtonProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['48'],
},
comment: {
tags: {
'@default': '48',
},
},
},
},
'@epam/uui:PickerInputProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['40', '48'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},
'@epam/uui:CountIndicatorProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['20', '24'],
},
comment: {
tags: {
'@default': '24',
},
},
},
},
'@epam/uui:DatePickerProps': {
size: {
editor: {
type: TPropEditorType.oneOf,
options: ['40', '48'],
},
comment: {
tags: {
'@default': '40',
},
},
},
},

};

export default propsOverride;
Loading

0 comments on commit 62a1b97

Please sign in to comment.