-
Notifications
You must be signed in to change notification settings - Fork 356
[#27] [#774] breakpoints service, wise gutters #2189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#27] [#774] breakpoints service, wise gutters #2189
Conversation
# Conflicts: # packages/ui/src/services/global-config/global-config.ts # packages/ui/src/services/global-config/types.ts
Can we have some type of gutters, while it adds space only between items, but not around them? In addition to current gutters. Quite useful feature, for me at least. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Le't show some 😎 in plugin service folder and merge it.
packages/docs/src/page-configs/services/breakpoints/page-config.ts
Outdated
Show resolved
Hide resolved
packages/docs/src/page-configs/styles/smart-helpers/examples/Gutters.vue
Show resolved
Hide resolved
packages/docs/src/page-configs/services/breakpoints/code-examples/helpers.ts
Outdated
Show resolved
Hide resolved
Oh, I've missed in PR description, that we need to update the docs. |
it's ok, docs are already updated and mentioned problems will be moved to different issues because the are not linked to this one. |
# Conflicts: # packages/ui/src/composables/index.ts
# Conflicts: # packages/docs/src/layouts/default.vue # packages/docs/src/page-configs/styles/grid/examples/Gutters.vue # packages/ui/src/composables/index.ts # packages/ui/src/styles/grid/VaCssGridTest.demo.vue
feat: all demos included to demo route
@@ -0,0 +1,19 @@ | |||
import { BreakpointsConfig, ThresholdsConfig } from './types' | |||
|
|||
export const vaBreakpointsSymbol = Symbol('vaBreakpoints') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks excellent.
feat: types update fix: template variable removed from examples and demos
Close: #27
Close: #774
Close: #2216
Close: #2225
New breakpoints service with amount of features.
Description
This service allows us to:
lg (bool)
,lgUp (bool)
,lgDown (bool)
,width (number)
,height (number)
,current (string)
etc.) inside of template or setup function;--va-media-ratio
variable for breakpoint-based calculations. For example, it's already done forgutters
andspacings
:Lg:

Sm:

Types of changes