procode-vs-theme 1.0.2 → 1.0.4
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/dist/index.esm.js +48 -11
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +48 -11
- package/dist/index.js.map +1 -1
- package/dist/src/{_border.scss → base/_border.scss} +11 -8
- package/dist/src/base/_color.scss +41 -0
- package/dist/src/base/_custom-properties.scss +102 -0
- package/dist/src/base/_font.scss +37 -0
- package/dist/src/base/_size.scss +7 -0
- package/dist/src/base/_space.scss +27 -0
- package/dist/src/base/mixins/_breakpoints.scss +27 -0
- package/dist/src/baseExports.ts +35 -0
- package/dist/src/components/_buttons.scss +387 -0
- package/dist/src/components.ts +20 -0
- package/dist/src/index.scss +71 -24
- package/dist/src/index.ts +52 -0
- package/dist/src/layout.ts +23 -0
- package/dist/src/utilities/_cursor.scss +7 -0
- package/dist/src/utilities/_display.scss +20 -0
- package/dist/src/utilities/_flex.scss +82 -0
- package/dist/src/utilities/_opacity.scss +7 -0
- package/dist/src/utilities/_overflow.scss +7 -0
- package/dist/src/utilities/_position.scss +26 -0
- package/dist/src/utilities/_sizing.scss +13 -0
- package/dist/src/utilities/_text.scss +49 -0
- package/dist/src/utilities/_visibility.scss +2 -0
- package/dist/src/utilities/background-color/index.scss +37 -0
- package/dist/src/{_border-radius.scss → utilities/border/_border-radius.scss} +29 -17
- package/dist/src/utilities/box-shadow/index.scss +17 -0
- package/dist/src/utilities/size/index.scss +9 -0
- package/dist/src/utilities/spaces/_gap.scss +15 -0
- package/dist/src/utilities/spaces/_margin.scss +46 -0
- package/dist/src/utilities/spaces/_padding.scss +37 -0
- package/dist/src/utilities/typography/_color.scss +51 -0
- package/dist/src/utilities.ts +112 -0
- package/dist/src/variables.ts +36 -0
- package/dist/types/baseExports.d.ts +0 -2
- package/dist/types/utilities.d.ts +18 -0
- package/dist/types/variables.d.ts +0 -2
- package/dist/utilities.esm.js +39 -3
- package/dist/utilities.esm.js.map +1 -1
- package/dist/utilities.js +47 -2
- package/dist/utilities.js.map +1 -1
- package/dist/variables.esm.js +1 -4
- package/dist/variables.esm.js.map +1 -1
- package/dist/variables.js +0 -4
- package/dist/variables.js.map +1 -1
- package/package.json +2 -2
- package/src/base/_border.scss +11 -8
- package/src/base/_color.scss +3 -1
- package/src/base/_custom-properties.scss +102 -0
- package/src/base/_font.scss +37 -26
- package/src/base/_size.scss +7 -4
- package/src/base/_space.scss +27 -4
- package/src/base/mixins/_breakpoints.scss +27 -0
- package/src/baseExports.ts +0 -4
- package/src/components/_buttons.scss +387 -38
- package/src/index.scss +71 -24
- package/src/utilities/_cursor.scss +7 -0
- package/src/utilities/_display.scss +20 -0
- package/src/utilities/_flex.scss +82 -0
- package/src/utilities/_opacity.scss +7 -0
- package/src/utilities/_overflow.scss +7 -0
- package/src/utilities/_position.scss +26 -0
- package/src/utilities/_sizing.scss +13 -0
- package/src/utilities/_text.scss +49 -0
- package/src/utilities/_visibility.scss +2 -0
- package/src/utilities/border/_border-radius.scss +29 -17
- package/src/utilities/box-shadow/index.scss +17 -8
- package/src/utilities/spaces/_gap.scss +15 -20
- package/src/utilities/spaces/_margin.scss +46 -69
- package/src/utilities/spaces/_padding.scss +37 -69
- package/src/utilities/typography/_color.scss +51 -35
- package/src/utilities.ts +112 -67
- package/src/variables.ts +1 -5
- package/dist/src/_apply-theme.scss +0 -28
- package/dist/src/_buttons.scss +0 -38
- package/dist/src/_color.scss +0 -35
- package/dist/src/_gap.scss +0 -20
- package/dist/src/_margin.scss +0 -69
- package/dist/src/_padding.scss +0 -69
- package/dist/src/_size.scss +0 -4
- package/dist/src/_space.scss +0 -4
- package/src/base/mixins/_apply-theme.scss +0 -28
- /package/dist/src/{_font_size-mx.scss → base/mixins/_font_size-mx.scss} +0 -0
- /package/dist/src/{_media-query-mx.scss → base/mixins/_media-query-mx.scss} +0 -0
- /package/dist/src/{_cards.scss → components/_cards.scss} +0 -0
- /package/dist/src/{_input.scss → components/_input.scss} +0 -0
- /package/dist/src/{_drawer.scss → layout/_drawer.scss} +0 -0
- /package/dist/src/{_footer.scss → layout/_footer.scss} +0 -0
- /package/dist/src/{_header.scss → layout/_header.scss} +0 -0
- /package/dist/src/{_sidebar.scss → layout/_sidebar.scss} +0 -0
- /package/dist/src/{_reset.scss → utilities/_reset.scss} +0 -0
- /package/dist/src/{_border-color.scss → utilities/border/_border-color.scss} +0 -0
- /package/dist/src/{_border-size.scss → utilities/border/_border-size.scss} +0 -0
- /package/dist/src/{_font.scss → utilities/typography/_font.scss} +0 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
.qo-position-static { position: static; }
|
|
2
|
+
.qo-position-relative { position: relative; }
|
|
3
|
+
.qo-position-absolute { position: absolute; }
|
|
4
|
+
.qo-position-fixed { position: fixed; }
|
|
5
|
+
.qo-position-sticky { position: sticky; }
|
|
6
|
+
|
|
7
|
+
// Edge positioning
|
|
8
|
+
$_positions: (0: 0, 50: 50%, 100: 100%);
|
|
9
|
+
|
|
10
|
+
@each $key, $value in $_positions {
|
|
11
|
+
.qo-top-#{$key} { top: $value; }
|
|
12
|
+
.qo-bottom-#{$key} { bottom: $value; }
|
|
13
|
+
.qo-start-#{$key} { left: $value; }
|
|
14
|
+
.qo-end-#{$key} { right: $value; }
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Center transform helpers
|
|
18
|
+
.qo-translate-middle {
|
|
19
|
+
transform: translate(-50%, -50%);
|
|
20
|
+
}
|
|
21
|
+
.qo-translate-middle-x {
|
|
22
|
+
transform: translateX(-50%);
|
|
23
|
+
}
|
|
24
|
+
.qo-translate-middle-y {
|
|
25
|
+
transform: translateY(-50%);
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
$_sizing-values: (25: 25%, 50: 50%, 75: 75%, 100: 100%, auto: auto);
|
|
2
|
+
|
|
3
|
+
@each $key, $value in $_sizing-values {
|
|
4
|
+
.qo-w-#{$key} { width: $value; }
|
|
5
|
+
.qo-h-#{$key} { height: $value; }
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.qo-mw-100 { max-width: 100%; }
|
|
9
|
+
.qo-mh-100 { max-height: 100%; }
|
|
10
|
+
.qo-min-vw-100 { min-width: 100vw; }
|
|
11
|
+
.qo-min-vh-100 { min-height: 100vh; }
|
|
12
|
+
.qo-vw-100 { width: 100vw; }
|
|
13
|
+
.qo-vh-100 { height: 100vh; }
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@use "../base/mixins/breakpoints" as bp;
|
|
2
|
+
|
|
3
|
+
// Text alignment
|
|
4
|
+
.qo-text-start { text-align: left; }
|
|
5
|
+
.qo-text-end { text-align: right; }
|
|
6
|
+
.qo-text-center { text-align: center; }
|
|
7
|
+
.qo-text-justify { text-align: justify; }
|
|
8
|
+
|
|
9
|
+
// Text wrapping
|
|
10
|
+
.qo-text-nowrap { white-space: nowrap; }
|
|
11
|
+
.qo-text-wrap { white-space: normal; }
|
|
12
|
+
.qo-text-truncate {
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
text-overflow: ellipsis;
|
|
15
|
+
white-space: nowrap;
|
|
16
|
+
}
|
|
17
|
+
.qo-text-break {
|
|
18
|
+
word-wrap: break-word;
|
|
19
|
+
word-break: break-word;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Text transform
|
|
23
|
+
.qo-text-uppercase { text-transform: uppercase; }
|
|
24
|
+
.qo-text-lowercase { text-transform: lowercase; }
|
|
25
|
+
.qo-text-capitalize { text-transform: capitalize; }
|
|
26
|
+
|
|
27
|
+
// Text decoration
|
|
28
|
+
.qo-text-decoration-none { text-decoration: none; }
|
|
29
|
+
.qo-text-decoration-underline { text-decoration: underline; }
|
|
30
|
+
.qo-text-decoration-line-through { text-decoration: line-through; }
|
|
31
|
+
|
|
32
|
+
// Font style
|
|
33
|
+
.qo-fst-italic { font-style: italic; }
|
|
34
|
+
.qo-fst-normal { font-style: normal; }
|
|
35
|
+
|
|
36
|
+
// Line height
|
|
37
|
+
.qo-lh-1 { line-height: 1; }
|
|
38
|
+
.qo-lh-sm { line-height: 1.25; }
|
|
39
|
+
.qo-lh-base { line-height: 1.5; }
|
|
40
|
+
.qo-lh-lg { line-height: 2; }
|
|
41
|
+
|
|
42
|
+
// Responsive text alignment
|
|
43
|
+
@each $bp-name, $bp-value in bp.$breakpoints {
|
|
44
|
+
@media (min-width: $bp-value) {
|
|
45
|
+
.qo-text-#{$bp-name}-start { text-align: left; }
|
|
46
|
+
.qo-text-#{$bp-name}-end { text-align: right; }
|
|
47
|
+
.qo-text-#{$bp-name}-center { text-align: center; }
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@use "../../base/color" as cl;
|
|
2
|
+
.qo-bg-primary {
|
|
3
|
+
background-color: cl.$background-primary;
|
|
4
|
+
}
|
|
5
|
+
.qo-bg-secondary {
|
|
6
|
+
background-color: cl.$background-secondary;
|
|
7
|
+
}
|
|
8
|
+
.qo-bg-success {
|
|
9
|
+
background-color: cl.$background-success;
|
|
10
|
+
}
|
|
11
|
+
.qo-bg-warning {
|
|
12
|
+
background-color: cl.$background-warning;
|
|
13
|
+
}
|
|
14
|
+
.qo-bg-danger {
|
|
15
|
+
background-color: cl.$background-danger;
|
|
16
|
+
}
|
|
17
|
+
.qo-bg-info {
|
|
18
|
+
background-color: cl.$background-info;
|
|
19
|
+
}
|
|
20
|
+
.qo-bg-default {
|
|
21
|
+
background-color: cl.$background-default;
|
|
22
|
+
}
|
|
23
|
+
.qo-bg-dark {
|
|
24
|
+
background-color: cl.$background-dark;
|
|
25
|
+
}
|
|
26
|
+
.qo-bg-dark-alt {
|
|
27
|
+
background-color: cl.$background-dark-a;
|
|
28
|
+
}
|
|
29
|
+
.qo-bg-light {
|
|
30
|
+
background-color: cl.$background-light;
|
|
31
|
+
}
|
|
32
|
+
.qo-bg-tertiary {
|
|
33
|
+
background-color: cl.$background-tertiary;
|
|
34
|
+
}
|
|
35
|
+
.qo-bg-lime {
|
|
36
|
+
background-color: cl.$background-lime;
|
|
37
|
+
}
|
|
@@ -1,17 +1,29 @@
|
|
|
1
|
-
@use "../../base/border" as bo;
|
|
2
|
-
|
|
3
|
-
.qo-border-radius-
|
|
4
|
-
border-radius: bo.$border-radius-
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.qo-border-radius-
|
|
8
|
-
border-radius: bo.$border-radius-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.qo-border-radius-
|
|
12
|
-
border-radius: bo.$border-radius-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.qo-border-radius-
|
|
16
|
-
border-radius: bo.$border-radius-
|
|
17
|
-
}
|
|
1
|
+
@use "../../base/border" as bo;
|
|
2
|
+
|
|
3
|
+
.qo-border-radius-0 {
|
|
4
|
+
border-radius: bo.$border-radius-0;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.qo-border-radius-sm {
|
|
8
|
+
border-radius: bo.$border-radius-sm;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.qo-border-radius-md {
|
|
12
|
+
border-radius: bo.$border-radius-md;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.qo-border-radius-lg {
|
|
16
|
+
border-radius: bo.$border-radius-lg;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.qo-border-radius-xl {
|
|
20
|
+
border-radius: bo.$border-radius-xl;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.qo-border-radius-pill {
|
|
24
|
+
border-radius: bo.$border-radius-pill;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.qo-border-radius-full {
|
|
28
|
+
border-radius: bo.$border-radius-full;
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use "../../base/color" as cl;
|
|
2
|
+
|
|
3
|
+
.qo-boxshadow-none {
|
|
4
|
+
box-shadow: none;
|
|
5
|
+
}
|
|
6
|
+
.qo-boxshadow-sm {
|
|
7
|
+
box-shadow: 0 1px 2px 0 cl.$boxshadow-primary;
|
|
8
|
+
}
|
|
9
|
+
.qo-boxshadow-md {
|
|
10
|
+
box-shadow: 0 4px 8px 0 cl.$boxshadow-primary;
|
|
11
|
+
}
|
|
12
|
+
.qo-boxshadow-lg {
|
|
13
|
+
box-shadow: 0 8px 16px 0 cl.$boxshadow-primary;
|
|
14
|
+
}
|
|
15
|
+
.qo-boxshadow-xl {
|
|
16
|
+
box-shadow: 0 12px 24px 0 cl.$boxshadow-primary;
|
|
17
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
|
|
3
|
+
$_directions: (
|
|
4
|
+
"": "",
|
|
5
|
+
"top-": "top",
|
|
6
|
+
"right-": "right",
|
|
7
|
+
"bottom-": "bottom",
|
|
8
|
+
"left-": "left",
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
@each $key, $value in sp.$spacers {
|
|
12
|
+
@each $dir-name, $dir-prop in $_directions {
|
|
13
|
+
.qo-margin-#{$dir-name}#{$key} {
|
|
14
|
+
@if $dir-prop == "" {
|
|
15
|
+
margin: $value;
|
|
16
|
+
} @else {
|
|
17
|
+
margin-#{$dir-prop}: $value;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.qo-margin-x-#{$key} {
|
|
23
|
+
margin-left: $value;
|
|
24
|
+
margin-right: $value;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.qo-margin-y-#{$key} {
|
|
28
|
+
margin-top: $value;
|
|
29
|
+
margin-bottom: $value;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Auto margins
|
|
34
|
+
.qo-margin-auto { margin: auto; }
|
|
35
|
+
.qo-margin-x-auto { margin-left: auto; margin-right: auto; }
|
|
36
|
+
.qo-margin-y-auto { margin-top: auto; margin-bottom: auto; }
|
|
37
|
+
.qo-margin-top-auto { margin-top: auto; }
|
|
38
|
+
.qo-margin-bottom-auto { margin-bottom: auto; }
|
|
39
|
+
.qo-margin-left-auto { margin-left: auto; }
|
|
40
|
+
.qo-margin-right-auto { margin-right: auto; }
|
|
41
|
+
|
|
42
|
+
// @deprecated — typo aliases kept for backwards compatibility
|
|
43
|
+
.qo-margin-botttom-sm { margin-bottom: sp.$space-sm; }
|
|
44
|
+
.qo-margin-botttom-md { margin-bottom: sp.$space-md; }
|
|
45
|
+
.qo-margin-botttom-lg { margin-bottom: sp.$space-lg; }
|
|
46
|
+
.qo-margin-botttom-xl { margin-bottom: sp.$space-xl; }
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@use "../../base/space" as sp;
|
|
2
|
+
|
|
3
|
+
$_directions: (
|
|
4
|
+
"": "",
|
|
5
|
+
"top-": "top",
|
|
6
|
+
"right-": "right",
|
|
7
|
+
"bottom-": "bottom",
|
|
8
|
+
"left-": "left",
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
@each $key, $value in sp.$spacers {
|
|
12
|
+
@each $dir-name, $dir-prop in $_directions {
|
|
13
|
+
.qo-padding-#{$dir-name}#{$key} {
|
|
14
|
+
@if $dir-prop == "" {
|
|
15
|
+
padding: $value;
|
|
16
|
+
} @else {
|
|
17
|
+
padding-#{$dir-prop}: $value;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.qo-padding-x-#{$key} {
|
|
23
|
+
padding-left: $value;
|
|
24
|
+
padding-right: $value;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.qo-padding-y-#{$key} {
|
|
28
|
+
padding-top: $value;
|
|
29
|
+
padding-bottom: $value;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// @deprecated — typo aliases kept for backwards compatibility
|
|
34
|
+
.qo-padding-botttom-sm { padding-bottom: sp.$space-sm; }
|
|
35
|
+
.qo-padding-botttom-md { padding-bottom: sp.$space-md; }
|
|
36
|
+
.qo-padding-botttom-lg { padding-bottom: sp.$space-lg; }
|
|
37
|
+
.qo-padding-botttom-xl { padding-bottom: sp.$space-xl; }
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "../../base/color" as cl;
|
|
3
|
+
|
|
4
|
+
.qo-text-primary {
|
|
5
|
+
color: cl.$text-primary;
|
|
6
|
+
}
|
|
7
|
+
.qo-text-secondary {
|
|
8
|
+
color: cl.$text-secondary;
|
|
9
|
+
}
|
|
10
|
+
.qo-text-success {
|
|
11
|
+
color: cl.$text-success;
|
|
12
|
+
}
|
|
13
|
+
.qo-text-warning {
|
|
14
|
+
color: cl.$text-warning;
|
|
15
|
+
}
|
|
16
|
+
.qo-text-danger {
|
|
17
|
+
color: cl.$text-danger;
|
|
18
|
+
}
|
|
19
|
+
.qo-text-info {
|
|
20
|
+
color: cl.$text-info;
|
|
21
|
+
}
|
|
22
|
+
.qo-text-default {
|
|
23
|
+
color: cl.$text-default;
|
|
24
|
+
}
|
|
25
|
+
.qo-text-dark {
|
|
26
|
+
color: cl.$text-dark;
|
|
27
|
+
}
|
|
28
|
+
.qo-text-light {
|
|
29
|
+
color: cl.$text-light;
|
|
30
|
+
}
|
|
31
|
+
.qo-text-tertiary {
|
|
32
|
+
color: cl.$text-tertiary;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// Higher specificity variants when used with .qo-btn (beats Kendo .k-button-* selectors)
|
|
36
|
+
.qo-btn {
|
|
37
|
+
&.qo-text-primary { color: cl.$text-primary; &:hover, &:focus, &:active { color: cl.$text-primary-hover; } }
|
|
38
|
+
&.qo-text-secondary { color: cl.$text-secondary; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
39
|
+
&.qo-text-success { color: cl.$text-success; &:hover, &:focus, &:active { color: color.adjust(cl.$text-success, $lightness: -10%); } }
|
|
40
|
+
&.qo-text-warning { color: cl.$text-warning; &:hover, &:focus, &:active { color: color.adjust(cl.$text-warning, $lightness: -10%); } }
|
|
41
|
+
&.qo-text-danger { color: cl.$text-danger; &:hover, &:focus, &:active { color: cl.$text-danger-hover; } }
|
|
42
|
+
&.qo-text-info { color: cl.$text-info; &:hover, &:focus, &:active { color: color.adjust(cl.$text-info, $lightness: -10%); } }
|
|
43
|
+
&.qo-text-default { color: cl.$text-default; &:hover, &:focus, &:active { color: cl.$text-dark; } }
|
|
44
|
+
&.qo-text-dark { color: cl.$text-dark; &:hover, &:focus, &:active { color: color.adjust(cl.$text-dark, $lightness: -10%); } }
|
|
45
|
+
&.qo-text-light { color: cl.$text-light; &:hover, &:focus, &:active { color: cl.$text-light; } }
|
|
46
|
+
&.qo-text-tertiary { color: cl.$text-tertiary; &:hover, &:focus, &:active { color: color.adjust(cl.$text-tertiary, $lightness: -10%); } }
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.qo-validation {
|
|
50
|
+
color: cl.$text-danger;
|
|
51
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
// VS Theme Utilities Export
|
|
2
|
+
// Provides access to all utility styles
|
|
3
|
+
|
|
4
|
+
// Reset and base utilities
|
|
5
|
+
export const reset = './utilities/_reset.scss';
|
|
6
|
+
|
|
7
|
+
// Typography utilities
|
|
8
|
+
export const typographyFont = './utilities/typography/_font.scss';
|
|
9
|
+
export const typographyColor = './utilities/typography/_color.scss';
|
|
10
|
+
export const typography = [typographyFont, typographyColor];
|
|
11
|
+
|
|
12
|
+
// Background utilities
|
|
13
|
+
export const backgroundColor = './utilities/background-color/index.scss';
|
|
14
|
+
|
|
15
|
+
// Border utilities
|
|
16
|
+
export const borderColor = './utilities/border/_border-color.scss';
|
|
17
|
+
export const borderRadius = './utilities/border/_border-radius.scss';
|
|
18
|
+
export const borderSize = './utilities/border/_border-size.scss';
|
|
19
|
+
export const borders = [borderColor, borderRadius, borderSize];
|
|
20
|
+
|
|
21
|
+
// Spacing utilities
|
|
22
|
+
export const gap = './utilities/spaces/_gap.scss';
|
|
23
|
+
export const margin = './utilities/spaces/_margin.scss';
|
|
24
|
+
export const padding = './utilities/spaces/_padding.scss';
|
|
25
|
+
export const spacing = [gap, margin, padding];
|
|
26
|
+
|
|
27
|
+
// Box shadow utilities
|
|
28
|
+
export const boxShadow = './utilities/box-shadow/index.scss';
|
|
29
|
+
|
|
30
|
+
// Size utilities
|
|
31
|
+
export const size = './utilities/size/index.scss';
|
|
32
|
+
|
|
33
|
+
// Display utilities
|
|
34
|
+
export const display = './utilities/_display.scss';
|
|
35
|
+
|
|
36
|
+
// Flex utilities
|
|
37
|
+
export const flex = './utilities/_flex.scss';
|
|
38
|
+
|
|
39
|
+
// Text utilities
|
|
40
|
+
export const text = './utilities/_text.scss';
|
|
41
|
+
|
|
42
|
+
// Position utilities
|
|
43
|
+
export const position = './utilities/_position.scss';
|
|
44
|
+
|
|
45
|
+
// Overflow utilities
|
|
46
|
+
export const overflow = './utilities/_overflow.scss';
|
|
47
|
+
|
|
48
|
+
// Opacity utilities
|
|
49
|
+
export const opacity = './utilities/_opacity.scss';
|
|
50
|
+
|
|
51
|
+
// Cursor utilities
|
|
52
|
+
export const cursor = './utilities/_cursor.scss';
|
|
53
|
+
|
|
54
|
+
// Sizing utilities (width/height)
|
|
55
|
+
export const sizing = './utilities/_sizing.scss';
|
|
56
|
+
|
|
57
|
+
// Visibility utilities
|
|
58
|
+
export const visibility = './utilities/_visibility.scss';
|
|
59
|
+
|
|
60
|
+
// All utilities combined
|
|
61
|
+
export const allUtilities = [
|
|
62
|
+
reset,
|
|
63
|
+
...typography,
|
|
64
|
+
backgroundColor,
|
|
65
|
+
...borders,
|
|
66
|
+
...spacing,
|
|
67
|
+
boxShadow,
|
|
68
|
+
size,
|
|
69
|
+
display,
|
|
70
|
+
flex,
|
|
71
|
+
text,
|
|
72
|
+
position,
|
|
73
|
+
overflow,
|
|
74
|
+
opacity,
|
|
75
|
+
cursor,
|
|
76
|
+
sizing,
|
|
77
|
+
visibility,
|
|
78
|
+
];
|
|
79
|
+
|
|
80
|
+
export default {
|
|
81
|
+
reset,
|
|
82
|
+
typography: {
|
|
83
|
+
font: typographyFont,
|
|
84
|
+
color: typographyColor,
|
|
85
|
+
all: typography
|
|
86
|
+
},
|
|
87
|
+
backgroundColor,
|
|
88
|
+
borders: {
|
|
89
|
+
color: borderColor,
|
|
90
|
+
radius: borderRadius,
|
|
91
|
+
size: borderSize,
|
|
92
|
+
all: borders
|
|
93
|
+
},
|
|
94
|
+
spacing: {
|
|
95
|
+
gap,
|
|
96
|
+
margin,
|
|
97
|
+
padding,
|
|
98
|
+
all: spacing
|
|
99
|
+
},
|
|
100
|
+
boxShadow,
|
|
101
|
+
size,
|
|
102
|
+
display,
|
|
103
|
+
flex,
|
|
104
|
+
text,
|
|
105
|
+
position,
|
|
106
|
+
overflow,
|
|
107
|
+
opacity,
|
|
108
|
+
cursor,
|
|
109
|
+
sizing,
|
|
110
|
+
visibility,
|
|
111
|
+
all: allUtilities
|
|
112
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// VS Theme Variables Export
|
|
2
|
+
// Provides access to all theme variables and base styles
|
|
3
|
+
|
|
4
|
+
// Base variables and mixins
|
|
5
|
+
export const colors = './base/_color.scss';
|
|
6
|
+
export const fonts = './base/_font.scss';
|
|
7
|
+
export const spacing = './base/_space.scss';
|
|
8
|
+
export const borders = './base/_border.scss';
|
|
9
|
+
export const sizes = './base/_size.scss';
|
|
10
|
+
|
|
11
|
+
// Mixins
|
|
12
|
+
export const mediaQueryMixins = './base/mixins/_media-query-mx.scss';
|
|
13
|
+
export const fontSizeMixins = './base/mixins/_font_size-mx.scss';
|
|
14
|
+
// All base variables combined
|
|
15
|
+
export const allVariables = [
|
|
16
|
+
colors,
|
|
17
|
+
fonts,
|
|
18
|
+
spacing,
|
|
19
|
+
borders,
|
|
20
|
+
sizes,
|
|
21
|
+
mediaQueryMixins,
|
|
22
|
+
fontSizeMixins,
|
|
23
|
+
];
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
colors,
|
|
27
|
+
fonts,
|
|
28
|
+
spacing,
|
|
29
|
+
borders,
|
|
30
|
+
sizes,
|
|
31
|
+
mixins: {
|
|
32
|
+
mediaQuery: mediaQueryMixins,
|
|
33
|
+
fontSize: fontSizeMixins,
|
|
34
|
+
},
|
|
35
|
+
all: allVariables
|
|
36
|
+
};
|
|
@@ -5,7 +5,6 @@ export declare const borders = "./base/_border.scss";
|
|
|
5
5
|
export declare const sizes = "./base/_size.scss";
|
|
6
6
|
export declare const mediaQueryMixins = "./base/mixins/_media-query-mx.scss";
|
|
7
7
|
export declare const fontSizeMixins = "./base/mixins/_font_size-mx.scss";
|
|
8
|
-
export declare const applyThemeMixins = "./base/mixins/_apply-theme.scss";
|
|
9
8
|
export declare const allBase: string[];
|
|
10
9
|
declare const _default: {
|
|
11
10
|
colors: string;
|
|
@@ -16,7 +15,6 @@ declare const _default: {
|
|
|
16
15
|
mixins: {
|
|
17
16
|
mediaQuery: string;
|
|
18
17
|
fontSize: string;
|
|
19
|
-
applyTheme: string;
|
|
20
18
|
};
|
|
21
19
|
all: string[];
|
|
22
20
|
};
|
|
@@ -13,6 +13,15 @@ export declare const padding = "./utilities/spaces/_padding.scss";
|
|
|
13
13
|
export declare const spacing: string[];
|
|
14
14
|
export declare const boxShadow = "./utilities/box-shadow/index.scss";
|
|
15
15
|
export declare const size = "./utilities/size/index.scss";
|
|
16
|
+
export declare const display = "./utilities/_display.scss";
|
|
17
|
+
export declare const flex = "./utilities/_flex.scss";
|
|
18
|
+
export declare const text = "./utilities/_text.scss";
|
|
19
|
+
export declare const position = "./utilities/_position.scss";
|
|
20
|
+
export declare const overflow = "./utilities/_overflow.scss";
|
|
21
|
+
export declare const opacity = "./utilities/_opacity.scss";
|
|
22
|
+
export declare const cursor = "./utilities/_cursor.scss";
|
|
23
|
+
export declare const sizing = "./utilities/_sizing.scss";
|
|
24
|
+
export declare const visibility = "./utilities/_visibility.scss";
|
|
16
25
|
export declare const allUtilities: string[];
|
|
17
26
|
declare const _default: {
|
|
18
27
|
reset: string;
|
|
@@ -36,6 +45,15 @@ declare const _default: {
|
|
|
36
45
|
};
|
|
37
46
|
boxShadow: string;
|
|
38
47
|
size: string;
|
|
48
|
+
display: string;
|
|
49
|
+
flex: string;
|
|
50
|
+
text: string;
|
|
51
|
+
position: string;
|
|
52
|
+
overflow: string;
|
|
53
|
+
opacity: string;
|
|
54
|
+
cursor: string;
|
|
55
|
+
sizing: string;
|
|
56
|
+
visibility: string;
|
|
39
57
|
all: string[];
|
|
40
58
|
};
|
|
41
59
|
export default _default;
|
|
@@ -5,7 +5,6 @@ export declare const borders = "./base/_border.scss";
|
|
|
5
5
|
export declare const sizes = "./base/_size.scss";
|
|
6
6
|
export declare const mediaQueryMixins = "./base/mixins/_media-query-mx.scss";
|
|
7
7
|
export declare const fontSizeMixins = "./base/mixins/_font_size-mx.scss";
|
|
8
|
-
export declare const applyThemeMixins = "./base/mixins/_apply-theme.scss";
|
|
9
8
|
export declare const allVariables: string[];
|
|
10
9
|
declare const _default: {
|
|
11
10
|
colors: string;
|
|
@@ -16,7 +15,6 @@ declare const _default: {
|
|
|
16
15
|
mixins: {
|
|
17
16
|
mediaQuery: string;
|
|
18
17
|
fontSize: string;
|
|
19
|
-
applyTheme: string;
|
|
20
18
|
};
|
|
21
19
|
all: string[];
|
|
22
20
|
};
|
package/dist/utilities.esm.js
CHANGED
|
@@ -8,7 +8,7 @@ const typographyColor = './utilities/typography/_color.scss';
|
|
|
8
8
|
const typography = [typographyFont, typographyColor];
|
|
9
9
|
// Background utilities
|
|
10
10
|
const backgroundColor = './utilities/background-color/index.scss';
|
|
11
|
-
// Border utilities
|
|
11
|
+
// Border utilities
|
|
12
12
|
const borderColor = './utilities/border/_border-color.scss';
|
|
13
13
|
const borderRadius = './utilities/border/_border-radius.scss';
|
|
14
14
|
const borderSize = './utilities/border/_border-size.scss';
|
|
@@ -22,6 +22,24 @@ const spacing = [gap, margin, padding];
|
|
|
22
22
|
const boxShadow = './utilities/box-shadow/index.scss';
|
|
23
23
|
// Size utilities
|
|
24
24
|
const size = './utilities/size/index.scss';
|
|
25
|
+
// Display utilities
|
|
26
|
+
const display = './utilities/_display.scss';
|
|
27
|
+
// Flex utilities
|
|
28
|
+
const flex = './utilities/_flex.scss';
|
|
29
|
+
// Text utilities
|
|
30
|
+
const text = './utilities/_text.scss';
|
|
31
|
+
// Position utilities
|
|
32
|
+
const position = './utilities/_position.scss';
|
|
33
|
+
// Overflow utilities
|
|
34
|
+
const overflow = './utilities/_overflow.scss';
|
|
35
|
+
// Opacity utilities
|
|
36
|
+
const opacity = './utilities/_opacity.scss';
|
|
37
|
+
// Cursor utilities
|
|
38
|
+
const cursor = './utilities/_cursor.scss';
|
|
39
|
+
// Sizing utilities (width/height)
|
|
40
|
+
const sizing = './utilities/_sizing.scss';
|
|
41
|
+
// Visibility utilities
|
|
42
|
+
const visibility = './utilities/_visibility.scss';
|
|
25
43
|
// All utilities combined
|
|
26
44
|
const allUtilities = [
|
|
27
45
|
reset,
|
|
@@ -30,7 +48,16 @@ const allUtilities = [
|
|
|
30
48
|
...borders,
|
|
31
49
|
...spacing,
|
|
32
50
|
boxShadow,
|
|
33
|
-
size
|
|
51
|
+
size,
|
|
52
|
+
display,
|
|
53
|
+
flex,
|
|
54
|
+
text,
|
|
55
|
+
position,
|
|
56
|
+
overflow,
|
|
57
|
+
opacity,
|
|
58
|
+
cursor,
|
|
59
|
+
sizing,
|
|
60
|
+
visibility,
|
|
34
61
|
];
|
|
35
62
|
var utilities = {
|
|
36
63
|
reset,
|
|
@@ -54,8 +81,17 @@ var utilities = {
|
|
|
54
81
|
},
|
|
55
82
|
boxShadow,
|
|
56
83
|
size,
|
|
84
|
+
display,
|
|
85
|
+
flex,
|
|
86
|
+
text,
|
|
87
|
+
position,
|
|
88
|
+
overflow,
|
|
89
|
+
opacity,
|
|
90
|
+
cursor,
|
|
91
|
+
sizing,
|
|
92
|
+
visibility,
|
|
57
93
|
all: allUtilities
|
|
58
94
|
};
|
|
59
95
|
|
|
60
|
-
export { allUtilities, backgroundColor, borderColor, borderRadius, borderSize, borders, boxShadow, utilities as default, gap, margin, padding, reset, size, spacing, typography, typographyColor, typographyFont };
|
|
96
|
+
export { allUtilities, backgroundColor, borderColor, borderRadius, borderSize, borders, boxShadow, cursor, utilities as default, display, flex, gap, margin, opacity, overflow, padding, position, reset, size, sizing, spacing, text, typography, typographyColor, typographyFont, visibility };
|
|
61
97
|
//# sourceMappingURL=utilities.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utilities.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|