@esportsplus/ui 0.0.1 → 0.0.2

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.
Files changed (88) hide show
  1. package/.gitattributes +2 -2
  2. package/components/accordion/scss/accordion.scss +16 -16
  3. package/components/accordion/scss/variables.scss +4 -4
  4. package/components/anchor/scss/anchor.scss +41 -41
  5. package/components/anchor/scss/anchors.scss +9 -9
  6. package/components/anchor/scss/variables.scss +5 -5
  7. package/components/banner/scss/banner.scss +13 -13
  8. package/components/border/scss/border.scss +10 -10
  9. package/components/border/scss/variables.scss +6 -6
  10. package/components/bubble/scss/bubble.scss +30 -30
  11. package/components/bubble/scss/variables.scss +19 -19
  12. package/components/button/scss/button.scss +93 -93
  13. package/components/button/scss/variables.scss +70 -70
  14. package/components/card/scss/card.scss +36 -36
  15. package/components/card/scss/variables.scss +42 -42
  16. package/components/container/scss/container.scss +10 -10
  17. package/components/container/scss/variables.scss +5 -5
  18. package/components/field/scss/_check.scss +225 -225
  19. package/components/field/scss/_normalize.scss +36 -36
  20. package/components/field/scss/_text.scss +103 -103
  21. package/components/field/scss/field.scss +137 -132
  22. package/components/field/scss/variables.scss +138 -133
  23. package/components/group/scss/group.scss +41 -41
  24. package/components/group/scss/variables.scss +25 -25
  25. package/components/icon/scss/icon.scss +18 -18
  26. package/components/icon/scss/variables.scss +8 -8
  27. package/components/link/scss/link.scss +29 -29
  28. package/components/link/scss/variables.scss +48 -48
  29. package/components/loading/scss/loading.scss +24 -24
  30. package/components/loading/scss/variables.scss +31 -31
  31. package/components/page/scss/page.scss +22 -22
  32. package/components/page/scss/variables.scss +19 -19
  33. package/components/root/scss/root.scss +93 -93
  34. package/components/root/scss/variables.scss +54 -54
  35. package/components/row/scss/row.scss +8 -8
  36. package/components/scrollbar/scss/scrollbar.scss +51 -51
  37. package/components/scrollbar/scss/variables.scss +8 -8
  38. package/components/sidebar/scss/sidebar.scss +50 -50
  39. package/components/sidebar/scss/sidebars.scss +13 -13
  40. package/components/sidebar/scss/variables.scss +25 -25
  41. package/components/text/scss/text.scss +12 -12
  42. package/components/text/scss/variables.scss +9 -9
  43. package/components/thumbnail/scss/thumbnail.scss +7 -7
  44. package/components/thumbnail/scss/variables.scss +7 -7
  45. package/components/tooltip/scss/_center.scss +13 -13
  46. package/components/tooltip/scss/_east.scss +34 -34
  47. package/components/tooltip/scss/_north.scss +34 -34
  48. package/components/tooltip/scss/_south.scss +35 -35
  49. package/components/tooltip/scss/_west.scss +34 -34
  50. package/components/tooltip/scss/tooltip.scss +107 -107
  51. package/components/tooltip/scss/variables.scss +25 -25
  52. package/css-utilities/[margin,padding]/scss/styles.scss +41 -41
  53. package/css-utilities/[margin,padding]/scss/variables.scss +52 -52
  54. package/css-utilities/[max,min]/scss/variables.scss +23 -23
  55. package/css-utilities/absolute/scss/absolute.scss +59 -59
  56. package/css-utilities/background/scss/variables.scss +28 -28
  57. package/css-utilities/border/scss/border.scss +21 -21
  58. package/css-utilities/border/scss/variables.scss +66 -66
  59. package/css-utilities/color/scss/variables.scss +32 -32
  60. package/css-utilities/flex/scss/flex.scss +67 -67
  61. package/css-utilities/hidden/scss/hidden.scss +28 -28
  62. package/css-utilities/index.scss +14 -14
  63. package/css-utilities/pointer/scss/pointer.scss +5 -5
  64. package/css-utilities/size/scss/variables.scss +12 -12
  65. package/css-utilities/slide/scss/slide.scss +20 -20
  66. package/css-utilities/slide/scss/variables.scss +6 -6
  67. package/css-utilities/text/scss/text.scss +93 -93
  68. package/css-utilities/text/scss/variables.scss +31 -31
  69. package/css-utilities/width/scss/variables.scss +12 -12
  70. package/lib/index.scss +7 -7
  71. package/lib/scss/color.scss +8 -8
  72. package/lib/scss/list.scss +112 -112
  73. package/lib/scss/string.scss +54 -54
  74. package/package.json +22 -22
  75. package/storage/fonts/Montserrat/montserrat.css +79 -79
  76. package/tokens/index.scss +11 -11
  77. package/tokens/scss/border-radius.scss +12 -12
  78. package/tokens/scss/border-width.scss +6 -6
  79. package/tokens/scss/box-shadow.scss +13 -13
  80. package/tokens/scss/breakpoints.scss +13 -13
  81. package/tokens/scss/color.scss +71 -71
  82. package/tokens/scss/font-size.scss +12 -12
  83. package/tokens/scss/font-weight.scss +6 -6
  84. package/tokens/scss/line-height.scss +6 -6
  85. package/tokens/scss/size.scss +13 -13
  86. package/tokens/scss/state.scss +93 -93
  87. package/tokens/scss/transition-duration.scss +5 -5
  88. package/webpack.sass.config.js +59 -59
@@ -1,50 +1,50 @@
1
- @use 'ui/lib';
2
- @use 'ui/tokens';
3
-
4
- .sidebar {
5
- @include lib.position(absolute, var(--position-vertical) null var(--position-vertical) null);
6
- cursor: default;
7
- max-width: var(--width);
8
- overflow: hidden;
9
- pointer-events: auto;
10
- transition:
11
- max-width var(--transition-duration) ease-in-out,
12
- opacity var(--transition-duration) ease-in-out,
13
- transform var(--transition-duration) ease-in-out;
14
- width: calc(100% - (var(--position-horizontal) * 2));
15
- z-index: 1;
16
-
17
-
18
- @include tokens.state(inactive) {
19
- input[type='password'] {
20
- display: none;
21
- }
22
- }
23
-
24
-
25
- &--e {
26
- right: var(--position-horizontal);
27
-
28
- &.sidebar--offscreen {
29
- @include tokens.state(inactive) {
30
- transform: translateX(var(--width));
31
- }
32
- }
33
- }
34
-
35
- &--w {
36
- left: var(--position-horizontal);
37
-
38
- &.sidebar--offscreen {
39
- @include tokens.state(inactive) {
40
- transform: translateX(calc(var(--width) * -1));
41
- }
42
- }
43
- }
44
-
45
-
46
- &-content {
47
- flex: 0 0 var(--width-default);
48
- width: var(--width-default);
49
- }
50
- }
1
+ @use 'ui/lib';
2
+ @use 'ui/tokens';
3
+
4
+ .sidebar {
5
+ @include lib.position(absolute, var(--position-vertical) null var(--position-vertical) null);
6
+ cursor: default;
7
+ max-width: var(--width);
8
+ overflow: hidden;
9
+ pointer-events: auto;
10
+ transition:
11
+ max-width var(--transition-duration) ease-in-out,
12
+ opacity var(--transition-duration) ease-in-out,
13
+ transform var(--transition-duration) ease-in-out;
14
+ width: calc(100% - (var(--position-horizontal) * 2));
15
+ z-index: 1;
16
+
17
+
18
+ @include tokens.state(inactive) {
19
+ input[type='password'] {
20
+ display: none;
21
+ }
22
+ }
23
+
24
+
25
+ &--e {
26
+ right: var(--position-horizontal);
27
+
28
+ &.sidebar--offscreen {
29
+ @include tokens.state(inactive) {
30
+ transform: translateX(var(--width));
31
+ }
32
+ }
33
+ }
34
+
35
+ &--w {
36
+ left: var(--position-horizontal);
37
+
38
+ &.sidebar--offscreen {
39
+ @include tokens.state(inactive) {
40
+ transform: translateX(calc(var(--width) * -1));
41
+ }
42
+ }
43
+ }
44
+
45
+
46
+ &-content {
47
+ flex: 0 0 var(--width-default);
48
+ width: var(--width-default);
49
+ }
50
+ }
@@ -1,13 +1,13 @@
1
- @use 'ui/lib';
2
-
3
- .sidebars {
4
- @include lib.position(absolute, full);
5
- pointer-events: none;
6
- transition: opacity var(--transition-duration) ease-in-out;
7
- z-index: 7;
8
-
9
-
10
- &--fixed {
11
- position: fixed;
12
- }
13
- }
1
+ @use 'ui/lib';
2
+
3
+ .sidebars {
4
+ @include lib.position(absolute, full);
5
+ pointer-events: none;
6
+ transition: opacity var(--transition-duration) ease-in-out;
7
+ z-index: 7;
8
+
9
+
10
+ &--fixed {
11
+ position: fixed;
12
+ }
13
+ }
@@ -1,25 +1,25 @@
1
- @use 'ui/tokens';
2
-
3
- .sidebar {
4
- --position-horizontal: 0px;
5
- --position-vertical: 0px;
6
- --transition-duration: var(--transition-duration-400);
7
- --width: var(--width-default);
8
- --width-closed: var(--width-default);
9
- --width-default: 400px;
10
-
11
-
12
- @include tokens.state(default) {
13
- --width: var(--width-closed);
14
- }
15
-
16
-
17
- &--floating {
18
- --position-horizontal: var(--size-100);
19
- --position-vertical: var(--size-100);
20
- }
21
- }
22
-
23
- .sidebars {
24
- --transition-duration: var(--transition-duration-400);
25
- }
1
+ @use 'ui/tokens';
2
+
3
+ .sidebar {
4
+ --position-horizontal: 0px;
5
+ --position-vertical: 0px;
6
+ --transition-duration: var(--transition-duration-400);
7
+ --width: var(--width-default);
8
+ --width-closed: var(--width-default);
9
+ --width-default: 400px;
10
+
11
+
12
+ @include tokens.state(default) {
13
+ --width: var(--width-closed);
14
+ }
15
+
16
+
17
+ &--floating {
18
+ --position-horizontal: var(--size-100);
19
+ --position-vertical: var(--size-100);
20
+ }
21
+ }
22
+
23
+ .sidebars {
24
+ --transition-duration: var(--transition-duration-400);
25
+ }
@@ -1,12 +1,12 @@
1
- .text {
2
- align-items: center;
3
- color: var(--color);
4
- display: flex;
5
- flex-flow: wrap;
6
- font-size: var(--font-size);
7
- font-weight: var(--font-weight);
8
- line-height: var(--line-height);
9
- position: relative;
10
- transition: color var(--transition-duration) ease-in-out;
11
- width: var(--width);
12
- }
1
+ .text {
2
+ align-items: center;
3
+ color: var(--color);
4
+ display: flex;
5
+ flex-flow: wrap;
6
+ font-size: var(--font-size);
7
+ font-weight: var(--font-weight);
8
+ line-height: var(--line-height);
9
+ position: relative;
10
+ transition: color var(--transition-duration) ease-in-out;
11
+ width: var(--width);
12
+ }
@@ -1,9 +1,9 @@
1
- .text {
2
- --color: var(--color-default);
3
- --color-default: inherit;
4
- --font-size: var(--font-size-400);
5
- --font-weight: var(--font-weight-400);
6
- --line-height: var(--line-height-400);
7
- --transition-duration: var(--transition-duration-400);
8
- --width: auto;
9
- }
1
+ .text {
2
+ --color: var(--color-default);
3
+ --color-default: inherit;
4
+ --font-size: var(--font-size-400);
5
+ --font-weight: var(--font-weight-400);
6
+ --line-height: var(--line-height-400);
7
+ --transition-duration: var(--transition-duration-400);
8
+ --width: auto;
9
+ }
@@ -1,7 +1,7 @@
1
- .thumbnail {
2
- background: var(--background);
3
- border-radius: var(--border-radius);
4
- height: var(--height);
5
- position: relative;
6
- width: var(--width);
7
- }
1
+ .thumbnail {
2
+ background: var(--background);
3
+ border-radius: var(--border-radius);
4
+ height: var(--height);
5
+ position: relative;
6
+ width: var(--width);
7
+ }
@@ -1,7 +1,7 @@
1
- .thumbnail {
2
- --background: transparent;
3
- --border-radius: var(--border-radius-300);
4
- --height: var(--size);
5
- --size: var(--size-700);
6
- --width: var(--size);
7
- }
1
+ .thumbnail {
2
+ --background: transparent;
3
+ --border-radius: var(--border-radius-300);
4
+ --height: var(--size);
5
+ --size: var(--size-700);
6
+ --width: var(--size);
7
+ }
@@ -1,13 +1,13 @@
1
- @mixin center($active) {
2
- &--c {
3
- bottom: 50%;
4
- position: absolute;
5
- right: 50%;
6
- transform: translate(50%, 50%) scale(var(--scaleX), var(--scaleY));
7
- transform-origin: center center;
8
-
9
- #{$active} {
10
- transform: translate(50%, 50%) scale(1);
11
- }
12
- }
13
- }
1
+ @mixin center($active) {
2
+ &--c {
3
+ bottom: 50%;
4
+ position: absolute;
5
+ right: 50%;
6
+ transform: translate(50%, 50%) scale(var(--scaleX), var(--scaleY));
7
+ transform-origin: center center;
8
+
9
+ #{$active} {
10
+ transform: translate(50%, 50%) scale(1);
11
+ }
12
+ }
13
+ }
@@ -1,34 +1,34 @@
1
- @mixin east($active) {
2
- &--en,
3
- &--es {
4
- left: calc(100% - var(--spacer));
5
- position: absolute;
6
- transform: scale(var(--scaleX), var(--scaleY));
7
-
8
- #{$active} {
9
- transform: translateX(calc(var(--spacer) * 2));
10
- }
11
- }
12
-
13
- &--e {
14
- bottom: 50%;
15
- left: calc(100% - var(--spacer));
16
- position: absolute;
17
- transform: translateY(50%) scaleX(var(--scaleX));
18
- transform-origin: center left;
19
-
20
- #{$active} {
21
- transform: translate(calc(var(--spacer) * 2), 50%) scale(1);
22
- }
23
- }
24
-
25
- &--en {
26
- top: 0;
27
- transform-origin: top left;
28
- }
29
-
30
- &--es {
31
- bottom: 0;
32
- transform-origin: bottom left;
33
- }
34
- }
1
+ @mixin east($active) {
2
+ &--en,
3
+ &--es {
4
+ left: calc(100% - var(--spacer));
5
+ position: absolute;
6
+ transform: scale(var(--scaleX), var(--scaleY));
7
+
8
+ #{$active} {
9
+ transform: translateX(calc(var(--spacer) * 2));
10
+ }
11
+ }
12
+
13
+ &--e {
14
+ bottom: 50%;
15
+ left: calc(100% - var(--spacer));
16
+ position: absolute;
17
+ transform: translateY(50%) scaleX(var(--scaleX));
18
+ transform-origin: center left;
19
+
20
+ #{$active} {
21
+ transform: translate(calc(var(--spacer) * 2), 50%) scale(1);
22
+ }
23
+ }
24
+
25
+ &--en {
26
+ top: 0;
27
+ transform-origin: top left;
28
+ }
29
+
30
+ &--es {
31
+ bottom: 0;
32
+ transform-origin: bottom left;
33
+ }
34
+ }
@@ -1,34 +1,34 @@
1
- @mixin north($active) {
2
- &--ne,
3
- &--nw {
4
- bottom: calc(100% - var(--spacer));
5
- position: absolute;
6
- transform: scale(var(--scaleX), var(--scaleY));
7
-
8
- #{$active} {
9
- transform: translateY(calc(var(--spacer) * -2));
10
- }
11
- }
12
-
13
- &--n {
14
- bottom: calc(100% - var(--spacer));
15
- position: absolute;
16
- right: 50%;
17
- transform: translateX(50%) scaleY(var(--scaleY));
18
- transform-origin: center bottom;
19
-
20
- #{$active} {
21
- transform: translate(50%, calc(var(--spacer) * -2)) scale(1);
22
- }
23
- }
24
-
25
- &--ne {
26
- right: 0;
27
- transform-origin: bottom right;
28
- }
29
-
30
- &--nw {
31
- left: 0;
32
- transform-origin: bottom left;
33
- }
34
- }
1
+ @mixin north($active) {
2
+ &--ne,
3
+ &--nw {
4
+ bottom: calc(100% - var(--spacer));
5
+ position: absolute;
6
+ transform: scale(var(--scaleX), var(--scaleY));
7
+
8
+ #{$active} {
9
+ transform: translateY(calc(var(--spacer) * -2));
10
+ }
11
+ }
12
+
13
+ &--n {
14
+ bottom: calc(100% - var(--spacer));
15
+ position: absolute;
16
+ right: 50%;
17
+ transform: translateX(50%) scaleY(var(--scaleY));
18
+ transform-origin: center bottom;
19
+
20
+ #{$active} {
21
+ transform: translate(50%, calc(var(--spacer) * -2)) scale(1);
22
+ }
23
+ }
24
+
25
+ &--ne {
26
+ right: 0;
27
+ transform-origin: bottom right;
28
+ }
29
+
30
+ &--nw {
31
+ left: 0;
32
+ transform-origin: bottom left;
33
+ }
34
+ }
@@ -1,35 +1,35 @@
1
- @mixin south($active) {
2
- &--se,
3
- &--sw {
4
- position: absolute;
5
- top: calc(100% - var(--spacer));
6
- transform: scale(var(--scaleX), var(--scaleY));
7
-
8
- #{$active} {
9
- transform: translateY(calc(var(--spacer) * 2));
10
- }
11
- }
12
-
13
- &--s {
14
- position: absolute;
15
- right: 50%;
16
- top: calc(100% - var(--spacer));
17
- transform: translateX(50%) scaleY(var(--scaleY));
18
- transform-origin: center top;
19
-
20
- #{$active} {
21
- transform: translate(50%, calc(var(--spacer) * 2)) scale(1);
22
- }
23
- }
24
-
25
- &--se {
26
- right: 0;
27
- transform-origin: top right;
28
- }
29
-
30
- &--sw {
31
- left: 0;
32
- transform-origin: top left;
33
- }
34
-
35
- }
1
+ @mixin south($active) {
2
+ &--se,
3
+ &--sw {
4
+ position: absolute;
5
+ top: calc(100% - var(--spacer));
6
+ transform: scale(var(--scaleX), var(--scaleY));
7
+
8
+ #{$active} {
9
+ transform: translateY(calc(var(--spacer) * 2));
10
+ }
11
+ }
12
+
13
+ &--s {
14
+ position: absolute;
15
+ right: 50%;
16
+ top: calc(100% - var(--spacer));
17
+ transform: translateX(50%) scaleY(var(--scaleY));
18
+ transform-origin: center top;
19
+
20
+ #{$active} {
21
+ transform: translate(50%, calc(var(--spacer) * 2)) scale(1);
22
+ }
23
+ }
24
+
25
+ &--se {
26
+ right: 0;
27
+ transform-origin: top right;
28
+ }
29
+
30
+ &--sw {
31
+ left: 0;
32
+ transform-origin: top left;
33
+ }
34
+
35
+ }
@@ -1,34 +1,34 @@
1
- @mixin west($active) {
2
- &--wn,
3
- &--ws {
4
- position: absolute;
5
- right: calc(100% - var(--spacer));
6
- transform: scale(var(--scale));
7
-
8
- #{$active} {
9
- transform: translateX(calc(var(--spacer) * -2));
10
- }
11
- }
12
-
13
- &--w {
14
- bottom: 50%;
15
- position: absolute;
16
- right: calc(100% - var(--spacer));
17
- transform: translateY(50%) scaleX(var(--scaleX));
18
- transform-origin: center right;
19
-
20
- #{$active} {
21
- transform: translate(calc(var(--spacer) * -2), 50%) scale(1);
22
- }
23
- }
24
-
25
- &--wn {
26
- top: 0;
27
- transform-origin: top right;
28
- }
29
-
30
- &--ws {
31
- bottom: 0;
32
- transform-origin: bottom right;
33
- }
34
- }
1
+ @mixin west($active) {
2
+ &--wn,
3
+ &--ws {
4
+ position: absolute;
5
+ right: calc(100% - var(--spacer));
6
+ transform: scale(var(--scale));
7
+
8
+ #{$active} {
9
+ transform: translateX(calc(var(--spacer) * -2));
10
+ }
11
+ }
12
+
13
+ &--w {
14
+ bottom: 50%;
15
+ position: absolute;
16
+ right: calc(100% - var(--spacer));
17
+ transform: translateY(50%) scaleX(var(--scaleX));
18
+ transform-origin: center right;
19
+
20
+ #{$active} {
21
+ transform: translate(calc(var(--spacer) * -2), 50%) scale(1);
22
+ }
23
+ }
24
+
25
+ &--wn {
26
+ top: 0;
27
+ transform-origin: top right;
28
+ }
29
+
30
+ &--ws {
31
+ bottom: 0;
32
+ transform-origin: bottom right;
33
+ }
34
+ }