@esportsplus/ui 0.0.114 → 0.0.117

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 (216) hide show
  1. package/package.json +8 -4
  2. package/src/components/export/clipboard.ts +12 -0
  3. package/src/components/export/index.ts +5 -0
  4. package/src/components/export/json.ts +15 -0
  5. package/src/components/index.ts +1 -0
  6. package/.editorconfig +0 -9
  7. package/.gitattributes +0 -2
  8. package/assets/0af89c10df9bc2f8d646.woff2 +0 -0
  9. package/assets/109e3207d9afea8524be.woff2 +0 -0
  10. package/assets/16663c3f6ab1da2d6c86.woff +0 -0
  11. package/assets/16e8721ef5837bc6375e.woff +0 -0
  12. package/assets/2a3e005f58bfca9c117e.woff +0 -0
  13. package/assets/58a8d7ebc386843b62c5.woff2 +0 -0
  14. package/assets/593de7c561e5ffe80c3e.woff2 +0 -0
  15. package/assets/68b7982c2b30b51bf932.woff2 +0 -0
  16. package/assets/a04b5e24af93da353f0e.woff +0 -0
  17. package/assets/bf331673b91821715c08.woff +0 -0
  18. package/assets/c54b0f4340f2914802d1.woff +0 -0
  19. package/assets/dd8646a41e4397b77fc4.woff2 +0 -0
  20. package/assets/e06c107cc50506570954.woff2 +0 -0
  21. package/assets/ecdfe4c05425592708aa.woff2 +0 -0
  22. package/assets/f0032576ac7462ccbd0c.woff +0 -0
  23. package/assets/f872e621917a45943fbc.woff +0 -0
  24. package/build/components/alert/index.d.ts +0 -10
  25. package/build/components/alert/index.js +0 -124
  26. package/build/components/field/checkbox.d.ts +0 -17
  27. package/build/components/field/checkbox.js +0 -46
  28. package/build/components/field/description.d.ts +0 -4
  29. package/build/components/field/description.js +0 -11
  30. package/build/components/field/error.d.ts +0 -4
  31. package/build/components/field/error.js +0 -13
  32. package/build/components/field/file.d.ts +0 -18
  33. package/build/components/field/file.js +0 -50
  34. package/build/components/field/index.d.ts +0 -222
  35. package/build/components/field/index.js +0 -13
  36. package/build/components/field/optional.d.ts +0 -92
  37. package/build/components/field/optional.js +0 -21
  38. package/build/components/field/select.d.ts +0 -32
  39. package/build/components/field/select.js +0 -108
  40. package/build/components/field/switch.d.ts +0 -3
  41. package/build/components/field/switch.js +0 -11
  42. package/build/components/field/text.d.ts +0 -21
  43. package/build/components/field/text.js +0 -51
  44. package/build/components/field/textarea.d.ts +0 -3
  45. package/build/components/field/textarea.js +0 -10
  46. package/build/components/field/title.d.ts +0 -5
  47. package/build/components/field/title.js +0 -21
  48. package/build/components/form/action.d.ts +0 -5
  49. package/build/components/form/action.js +0 -51
  50. package/build/components/form/index.d.ts +0 -23
  51. package/build/components/form/index.js +0 -9
  52. package/build/components/form/input.d.ts +0 -9
  53. package/build/components/form/input.js +0 -12
  54. package/build/components/form/layout.d.ts +0 -12
  55. package/build/components/form/layout.js +0 -14
  56. package/build/components/form/types.d.ts +0 -12
  57. package/build/components/form/types.js +0 -2
  58. package/build/components/index.d.ts +0 -9
  59. package/build/components/index.js +0 -24
  60. package/build/components/number/index.d.ts +0 -8
  61. package/build/components/number/index.js +0 -20
  62. package/build/components/overlay/index.d.ts +0 -6
  63. package/build/components/overlay/index.js +0 -8
  64. package/build/components/page/header.d.ts +0 -6
  65. package/build/components/page/header.js +0 -22
  66. package/build/components/page/index.d.ts +0 -22
  67. package/build/components/page/index.js +0 -16
  68. package/build/components/page/layout.d.ts +0 -5
  69. package/build/components/page/layout.js +0 -8
  70. package/build/components/root/index.d.ts +0 -9
  71. package/build/components/root/index.js +0 -9
  72. package/build/components/root/onclick.d.ts +0 -5
  73. package/build/components/root/onclick.js +0 -16
  74. package/build/components/scrollbar/index.d.ts +0 -11
  75. package/build/components/scrollbar/index.js +0 -38
  76. package/build/components/site/index.d.ts +0 -9
  77. package/build/components/site/index.js +0 -17
  78. package/build/components/tooltip/index.d.ts +0 -58
  79. package/build/components/tooltip/index.js +0 -75
  80. package/build/components/tooltip/menu.d.ts +0 -25
  81. package/build/components/tooltip/menu.js +0 -46
  82. package/build/index.d.ts +0 -2
  83. package/css/components/styles.css +0 -1
  84. package/css/components/variables.css +0 -1
  85. package/css/fonts/montserrat.css +0 -1
  86. package/css/normalizer.css +0 -1
  87. package/css/utilities/styles.css +0 -1
  88. package/css/utilities/variables.css +0 -1
  89. package/lib.scss +0 -3
  90. package/src/components/accordion/scss/index.scss +0 -16
  91. package/src/components/accordion/scss/variables.scss +0 -4
  92. package/src/components/alert/scss/index.scss +0 -55
  93. package/src/components/alert/scss/variables.scss +0 -8
  94. package/src/components/anchor/scss/index.scss +0 -41
  95. package/src/components/anchor/scss/variables.scss +0 -5
  96. package/src/components/banner/scss/index.scss +0 -40
  97. package/src/components/banner/scss/variables.scss +0 -6
  98. package/src/components/border/scss/index.scss +0 -10
  99. package/src/components/border/scss/variables.scss +0 -6
  100. package/src/components/bubble/scss/index.scss +0 -30
  101. package/src/components/bubble/scss/variables.scss +0 -19
  102. package/src/components/button/scss/index.scss +0 -92
  103. package/src/components/button/scss/variables.scss +0 -69
  104. package/src/components/card/scss/index.scss +0 -35
  105. package/src/components/card/scss/variables.scss +0 -42
  106. package/src/components/container/scss/index.scss +0 -10
  107. package/src/components/container/scss/variables.scss +0 -5
  108. package/src/components/ellipsis/scss/index.scss +0 -72
  109. package/src/components/ellipsis/scss/variables.scss +0 -3
  110. package/src/components/field/scss/_check.scss +0 -225
  111. package/src/components/field/scss/_normalize.scss +0 -36
  112. package/src/components/field/scss/_text.scss +0 -106
  113. package/src/components/field/scss/index.scss +0 -159
  114. package/src/components/field/scss/variables.scss +0 -138
  115. package/src/components/group/scss/index.scss +0 -36
  116. package/src/components/group/scss/variables.scss +0 -17
  117. package/src/components/icon/scss/index.scss +0 -17
  118. package/src/components/icon/scss/variables.scss +0 -7
  119. package/src/components/link/scss/index.scss +0 -28
  120. package/src/components/link/scss/variables.scss +0 -47
  121. package/src/components/loading/scss/index.scss +0 -24
  122. package/src/components/loading/scss/variables.scss +0 -31
  123. package/src/components/modal/scss/index.scss +0 -32
  124. package/src/components/modal/scss/variables.scss +0 -10
  125. package/src/components/page/scss/index.scss +0 -27
  126. package/src/components/page/scss/variables.scss +0 -27
  127. package/src/components/processing/scss/index.scss +0 -47
  128. package/src/components/processing/scss/variables.scss +0 -11
  129. package/src/components/root/scss/index.scss +0 -93
  130. package/src/components/root/scss/variables.scss +0 -55
  131. package/src/components/row/scss/index.scss +0 -7
  132. package/src/components/scrollbar/scss/index.scss +0 -59
  133. package/src/components/scrollbar/scss/variables.scss +0 -6
  134. package/src/components/sidebar/scss/index.scss +0 -50
  135. package/src/components/sidebar/scss/variables.scss +0 -21
  136. package/src/components/site/scss/index.scss +0 -3
  137. package/src/components/text/scss/index.scss +0 -12
  138. package/src/components/text/scss/variables.scss +0 -9
  139. package/src/components/thumbnail/scss/index.scss +0 -7
  140. package/src/components/thumbnail/scss/variables.scss +0 -7
  141. package/src/components/tooltip/scss/_center.scss +0 -13
  142. package/src/components/tooltip/scss/_east.scss +0 -34
  143. package/src/components/tooltip/scss/_north.scss +0 -34
  144. package/src/components/tooltip/scss/_south.scss +0 -35
  145. package/src/components/tooltip/scss/_west.scss +0 -34
  146. package/src/components/tooltip/scss/index.scss +0 -93
  147. package/src/components/tooltip/scss/variables.scss +0 -25
  148. package/src/css-utilities/[margin,padding]/scss/index.scss +0 -41
  149. package/src/css-utilities/[margin,padding]/scss/variables.scss +0 -54
  150. package/src/css-utilities/absolute/scss/index.scss +0 -59
  151. package/src/css-utilities/background/scss/variables.scss +0 -27
  152. package/src/css-utilities/border/scss/index.scss +0 -21
  153. package/src/css-utilities/border/scss/variables.scss +0 -66
  154. package/src/css-utilities/color/scss/variables.scss +0 -31
  155. package/src/css-utilities/disabled/scss/index.scss +0 -4
  156. package/src/css-utilities/flex/scss/index.scss +0 -65
  157. package/src/css-utilities/glass/scss/index.scss +0 -3
  158. package/src/css-utilities/glass/scss/variables.scss +0 -3
  159. package/src/css-utilities/hidden/scss/index.scss +0 -28
  160. package/src/css-utilities/index.scss +0 -14
  161. package/src/css-utilities/inline/scss/index.scss +0 -7
  162. package/src/css-utilities/line-height/scss/variables.scss +0 -10
  163. package/src/css-utilities/not-allowed/scss/index.scss +0 -7
  164. package/src/css-utilities/overflow/scss/index.scss +0 -5
  165. package/src/css-utilities/pointer/scss/index.scss +0 -5
  166. package/src/css-utilities/size/scss/variables.scss +0 -12
  167. package/src/css-utilities/slide/scss/index.scss +0 -20
  168. package/src/css-utilities/slide/scss/variables.scss +0 -6
  169. package/src/css-utilities/text/scss/index.scss +0 -93
  170. package/src/css-utilities/text/scss/variables.scss +0 -31
  171. package/src/css-utilities/transition/scss/variables.scss +0 -14
  172. package/src/css-utilities/viewport/scss/index.scss +0 -5
  173. package/src/css-utilities/width/scss/index.scss +0 -3
  174. package/src/css-utilities/width/scss/variables.scss +0 -9
  175. package/src/index.ts +0 -2
  176. package/src/lib/index.scss +0 -7
  177. package/src/lib/scss/breakpoint.scss +0 -41
  178. package/src/lib/scss/color.scss +0 -1
  179. package/src/lib/scss/css-variables.scss +0 -13
  180. package/src/lib/scss/list.scss +0 -76
  181. package/src/lib/scss/map.scss +0 -1
  182. package/src/lib/scss/position.scss +0 -77
  183. package/src/lib/scss/string.scss +0 -33
  184. package/src/tokens/index.scss +0 -11
  185. package/src/tokens/scss/border-radius.scss +0 -12
  186. package/src/tokens/scss/border-width.scss +0 -6
  187. package/src/tokens/scss/box-shadow.scss +0 -13
  188. package/src/tokens/scss/color.scss +0 -64
  189. package/src/tokens/scss/font-size.scss +0 -12
  190. package/src/tokens/scss/font-weight.scss +0 -6
  191. package/src/tokens/scss/line-height.scss +0 -6
  192. package/src/tokens/scss/size.scss +0 -13
  193. package/src/tokens/scss/spacer.scss +0 -8
  194. package/src/tokens/scss/state.scss +0 -86
  195. package/src/tokens/scss/transition-duration.scss +0 -5
  196. package/storage/fonts/montserrat/Montserrat-Bold.woff +0 -0
  197. package/storage/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
  198. package/storage/fonts/montserrat/Montserrat-BoldItalic.woff +0 -0
  199. package/storage/fonts/montserrat/Montserrat-BoldItalic.woff2 +0 -0
  200. package/storage/fonts/montserrat/Montserrat-Italic.woff +0 -0
  201. package/storage/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
  202. package/storage/fonts/montserrat/Montserrat-Medium.woff +0 -0
  203. package/storage/fonts/montserrat/Montserrat-Medium.woff2 +0 -0
  204. package/storage/fonts/montserrat/Montserrat-MediumItalic.woff +0 -0
  205. package/storage/fonts/montserrat/Montserrat-MediumItalic.woff2 +0 -0
  206. package/storage/fonts/montserrat/Montserrat-Regular.woff +0 -0
  207. package/storage/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
  208. package/storage/fonts/montserrat/Montserrat-SemiBold.woff +0 -0
  209. package/storage/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
  210. package/storage/fonts/montserrat/Montserrat-SemiBoldItalic.woff +0 -0
  211. package/storage/fonts/montserrat/Montserrat-SemiBoldItalic.woff2 +0 -0
  212. package/storage/fonts/montserrat/index.css +0 -79
  213. package/storage/psd/Color Palette.psd +0 -0
  214. package/tokens.scss +0 -3
  215. package/tsconfig.json +0 -11
  216. package/webpack.config.ts +0 -33
@@ -1,4 +0,0 @@
1
- .accordion {
2
- --max-height: 0;
3
- --transition-duration: var(--transition-duration-400);
4
- }
@@ -1,55 +0,0 @@
1
- @use '/lib';
2
- @use '/tokens';
3
-
4
- .alert {
5
- max-width: var(--max-width);
6
- width: calc(100% - (var(--margin-horizontal) * 2));
7
-
8
-
9
- &--deactivating {
10
- opacity: 0;
11
- transform: translateY(-50%);
12
- }
13
-
14
- &--activating {
15
- @include tokens.state(inactive) {
16
- transform: translateY(50%);
17
- }
18
- }
19
-
20
-
21
- &-close {
22
- @include lib.position(absolute, 0 100% 0 null);
23
- animation: alert-close var(--transition-duration) ease-in-out;
24
- transition: transform var(--transition-duration) ease-in-out;
25
- z-index: 0;
26
- }
27
-
28
- &-message {
29
- opacity: 0;
30
- transition:
31
- opacity var(--transition-duration) ease-in-out,
32
- transform var(--transition-duration) ease-in-out;
33
-
34
- @include tokens.state(inactive) {
35
- pointer-events: none;
36
- position: absolute;
37
- transform: translateX(calc(25% * -1));
38
- left: 0;
39
- top: 0;
40
- }
41
-
42
- @include tokens.state(active) {
43
- opacity: 1;
44
- }
45
- }
46
- }
47
-
48
- @keyframes alert-close {
49
- from {
50
- transform: translateX(150%);
51
- }
52
- to {
53
- transform: translateX(0);
54
- }
55
- }
@@ -1,8 +0,0 @@
1
- .alert {
2
- --max-width: 480px;
3
-
4
- &-close,
5
- &-message {
6
- --transition-duration: var(--transition-duration-400);
7
- }
8
- }
@@ -1,41 +0,0 @@
1
- @use '/tokens';
2
-
3
- .anchor {
4
- max-height: calc(var(--max-height, 100%) - (var(--margin-vertical) * 2));
5
- max-width: calc(var(--max-width, 100%) - (var(--margin-horizontal) * 2));
6
- position: absolute;
7
- transition:
8
- opacity var(--transition-duration) ease-in-out,
9
- transform var(--transition-duration) ease-in-out;
10
- z-index: 9;
11
-
12
-
13
- @include tokens.state(inactive) {
14
- opacity: 0;
15
-
16
- &, * {
17
- pointer-events: none;
18
- }
19
- }
20
-
21
-
22
- &--ne,
23
- &--nw {
24
- top: var(--margin-vertical);
25
- }
26
-
27
- &--se,
28
- &--sw {
29
- bottom: var(--margin-vertical);
30
- }
31
-
32
- &--ne,
33
- &--se {
34
- right: var(--margin-horizontal);
35
- }
36
-
37
- &--nw,
38
- &--sw {
39
- left: var(--margin-horizontal);
40
- }
41
- }
@@ -1,5 +0,0 @@
1
- .anchor {
2
- --margin-horizontal: var(--size-400);
3
- --margin-vertical: var(--size-400);
4
- --transition-duration: var(--transition-duration-400);
5
- }
@@ -1,40 +0,0 @@
1
- @use '/lib';
2
-
3
- .banner {
4
- @include lib.position(absolute, full);
5
- background-position: center;
6
- background-size: cover;
7
- z-index: -1;
8
-
9
-
10
- &--backdrop {
11
- background-position: bottom;
12
- height: 80svh;
13
- }
14
-
15
- &--blur {
16
- filter: blur(24px);
17
- left: -2svh;
18
- right: -2svh;
19
- top: -2svh;
20
-
21
- &.banner--backdrop {
22
- height: 90svh;
23
- }
24
- }
25
-
26
- &--fixed {
27
- position: fixed;
28
- }
29
-
30
- &--gradient {
31
- &::before {
32
- @include lib.position(absolute, full);
33
- background:
34
- radial-gradient(circle at top, transparent 64%, var(--to) 88%),
35
- linear-gradient(to bottom, var(--from) 0%, var(--to) 100%);
36
- content: '';
37
- z-index: 0;
38
- }
39
- }
40
- }
@@ -1,6 +0,0 @@
1
- .banner {
2
- &--gradient {
3
- --from: rgba(3,0,19, 0.32);
4
- --to: var(--color-black-500);
5
- }
6
- }
@@ -1,10 +0,0 @@
1
- .border {
2
- border-top: var(--border-width) var(--border-style) var(--border-color);
3
- position: relative;
4
- width: 100%;
5
-
6
-
7
- & + & {
8
- display: none;
9
- }
10
- }
@@ -1,6 +0,0 @@
1
- .border {
2
- --border-color: var(--border-color-default);
3
- --border-color-default: var(--color-border-400);
4
- --border-style: solid;
5
- --border-width: var(--border-width-400);
6
- }
@@ -1,30 +0,0 @@
1
- .bubble {
2
- background: var(--background);
3
- border-radius: var(--border-radius);
4
- height: var(--height);
5
- width: var(--width);
6
-
7
-
8
- &--bottom,
9
- &--top {
10
- &-left,
11
- &-right {
12
- position: absolute;
13
- }
14
-
15
- @each $direction in 'left' 'right' {
16
- &-#{$direction} {
17
- #{$direction}: var(--position-horizontal);
18
- }
19
- }
20
- }
21
-
22
- @each $direction in 'bottom' 'top' {
23
- &--#{$direction} {
24
- &-left,
25
- &-right {
26
- #{$direction}: var(--position-vertical);
27
- }
28
- }
29
- }
30
- }
@@ -1,19 +0,0 @@
1
- .bubble {
2
- --background: var(--background-default);
3
- --background-default: var(--color-border-400);
4
- --border-radius: var(--border-radius-circle);
5
- --height: var(--size);
6
- --margin-horizontal: var(--size-100);
7
- --width: var(--size);
8
- --size: 6px;
9
-
10
-
11
- &--bottom,
12
- &--top {
13
- &-left,
14
- &-right {
15
- --position-horizontal: calc(var(--size) / -2);
16
- --position-vertical: calc(var(--size) / -2);
17
- }
18
- }
19
- }
@@ -1,92 +0,0 @@
1
- @use '/lib';
2
- @use '/tokens';
3
-
4
- .button {
5
- align-content: center;
6
- align-items: center;
7
- background: var(--background);
8
- border-radius: var(--border-radius);
9
- color: var(--color);
10
- cursor: pointer;
11
- display: flex;
12
- flex-wrap: wrap;
13
- font-size: var(--font-size);
14
- font-weight: var(--font-weight);
15
- justify-content: center;
16
- line-height: var(--line-height);
17
- padding: calc(var(--padding-vertical) - var(--border-width)) calc(var(--padding-horizontal) - var(--border-width));
18
- position: relative;
19
- transition: all var(--transition-duration) ease-in-out;
20
- width: var(--width);
21
-
22
-
23
- // Pseudo Element Box Shadow
24
- &::after {
25
- @include lib.position(absolute, full);
26
- border-radius: inherit;
27
- box-shadow: var(--box-shadow);
28
- content: '';
29
- pointer-events: none;
30
- transition:
31
- box-shadow var(--transition-duration) ease-in-out,
32
- opacity var(--transition-duration) ease-in-out;
33
- z-index: 0;
34
- }
35
-
36
-
37
- &--flat {
38
- &::after {
39
- display: none;
40
- }
41
- }
42
-
43
- &--processing {
44
- color: transparent;
45
- pointer-events: none;
46
-
47
- &::before {
48
- @include lib.position(absolute, center);
49
- animation: button--processing var(--animation-duration) infinite linear;
50
- border: var(--border-width) solid var(--border-color);
51
- border-radius: 100%;
52
- border-right-color: transparent;
53
- border-top-color: transparent;
54
- content: '';
55
- height: var(--size);
56
- width: var(--size);
57
- }
58
-
59
- * {
60
- opacity: 0;
61
- }
62
-
63
- @keyframes button--processing {
64
- 0% {
65
- transform: translate(50%, 50%) rotate(0deg);
66
- }
67
- 100% {
68
- transform: translate(50%, 50%) rotate(359deg);
69
- }
70
- }
71
- }
72
-
73
- &--top {
74
- &-left,
75
- &-right {
76
- position: absolute;
77
- top: calc((#{var(--padding-vertical)} + #{var(--line-height) / 2}) * -1);
78
- }
79
-
80
- @each $direction in 'left' 'right' {
81
- &-#{$direction} {
82
- #{$direction}: calc((#{var(--padding-horizontal)} + #{var(--line-height) / 2}) * -1);
83
- }
84
- }
85
- }
86
-
87
- &--underline {
88
- @include tokens.state(active hover) {
89
- text-decoration: underline;
90
- }
91
- }
92
- }
@@ -1,69 +0,0 @@
1
- @use '/lib';
2
- @use '/tokens';
3
-
4
- .button {
5
- --background: var(--background-default);
6
- --background-active: var(--background-default);
7
- --background-default: transparent;
8
- --background-hover: var(--background-default);
9
- --background-pressed: var(--background-default);
10
- --border-color: var(--border-color-default);
11
- --border-color-active: var(--border-color-default);
12
- --border-color-default: var(--background);
13
- --border-color-hover: var(--border-color-default);
14
- --border-color-pressed: var(--border-color-default);
15
- --border-radius: var(--border-radius-400);
16
- --border-width: 0px;
17
- --box-shadow: var(--box-shadow-default);
18
- --box-shadow-active: var(--box-shadow-300);
19
- --box-shadow-default: none;
20
- --box-shadow-hover: var(--box-shadow-400);
21
- --box-shadow-pressed: none;
22
- --color: var(--color-default);
23
- --color-active: var(--color-default);
24
- --color-default: var(--color-text-400);
25
- --color-hover: var(--color-default);
26
- --color-pressed: var(--color-default);
27
- --font-size: var(--font-size-400);
28
- --font-weight: var(--font-weight-400);
29
- --line-height: var(--line-height-400);
30
- --padding-horizontal: var(--size-400);
31
- --padding-vertical: var(--size-400);
32
- --transition-duration: var(--transition-duration-400);
33
- --width: auto;
34
-
35
- @include tokens.state(active) {
36
- --background: var(--background-active);
37
- --border-color: var(--border-color-active);
38
- --box-shadow: var(--box-shadow-active);
39
- --color: var(--color-active);
40
- }
41
-
42
- @include tokens.state(hover) {
43
- --background: var(--background-hover);
44
- --border-color: var(--border-color-hover);
45
- --box-shadow: var(--box-shadow-hover);
46
- --color: var(--color-hover);
47
- }
48
-
49
- @include tokens.state(pressed) {
50
- --background: var(--background-pressed);
51
- --border-color: var(--border-color-pressed);
52
- --box-shadow: var(--box-shadow-pressed);
53
- --color: var(--color-pressed);
54
- }
55
-
56
-
57
- &--processing {
58
- --animation-duration: 0.64s;
59
- --border-color: var(--color);
60
- --border-width: var(--border-width-400);
61
- --size: var(--size-400);
62
-
63
- @each $key in lib.map-keys(tokens.$border-width) {
64
- &-#{$key} {
65
- --border-width: var(--border-width-#{$key});
66
- }
67
- }
68
- }
69
- }
@@ -1,35 +0,0 @@
1
- @use '/lib';
2
-
3
- .card {
4
- background: var(--background);
5
- border-radius: var(--border-radius);
6
- padding: var(--padding-vertical) var(--padding-horizontal);
7
- position: relative;
8
- transition:
9
- background var(--transition-duration) ease-in-out,
10
- border-color var(--transition-duration) ease-in-out,
11
- box-shadow var(--transition-duration) ease-in-out,
12
- max-height var(--transition-duration) ease-in-out;
13
- width: var(--width);
14
-
15
-
16
- // Pseudo Element Box Shadow
17
- &::after {
18
- @include lib.position(absolute, full);
19
- border-radius: inherit;
20
- box-shadow: var(--box-shadow);
21
- content: '';
22
- pointer-events: none;
23
- transition:
24
- box-shadow var(--transition-duration) ease-in-out,
25
- opacity var(--transition-duration) ease-in-out;
26
- z-index: 0;
27
- }
28
-
29
-
30
- &--flat {
31
- &::after {
32
- display: none;
33
- }
34
- }
35
- }
@@ -1,42 +0,0 @@
1
- @use '/tokens';
2
-
3
- .card {
4
- --background: var(--background-default);
5
- --background-active: var(--background-default);
6
- --background-default: transparent;
7
- --background-hover: var(--background-default);
8
- --background-pressed: var(--background-default);
9
- --border-color: var(--border-color-default);
10
- --border-color-active: var(--border-color-default);
11
- --border-color-default: var(--background);
12
- --border-color-hover: var(--border-color-default);
13
- --border-color-pressed: var(--border-color-default);
14
- --border-radius: var(--border-radius-400);
15
- --box-shadow: var(--box-shadow-default);
16
- --box-shadow-active: var(--box-shadow-300);
17
- --box-shadow-default: none;
18
- --box-shadow-hover: var(--box-shadow-300);
19
- --box-shadow-pressed: none;
20
- --padding-horizontal: 0px;
21
- --padding-vertical: 0px;
22
- --transition-duration: var(--transition-duration-400);
23
- --width: auto;
24
-
25
- @include tokens.state(active) {
26
- --background: var(--background-active);
27
- --border-color: var(--border-color-active);
28
- --box-shadow: var(--box-shadow-active);
29
- }
30
-
31
- @include tokens.state(hover) {
32
- --background: var(--background-hover);
33
- --border-color: var(--border-color-hover);
34
- --box-shadow: var(--box-shadow-hover);
35
- }
36
-
37
- @include tokens.state(pressed) {
38
- --background: var(--background-pressed);
39
- --border-color: var(--border-color-pressed);
40
- --box-shadow: var(--box-shadow-pressed);
41
- }
42
- }
@@ -1,10 +0,0 @@
1
- .container {
2
- display: flex;
3
- flex-wrap: wrap;
4
- justify-content: flex-start;
5
- margin: 0 auto;
6
- max-width: var(--max-width);
7
- padding: var(--padding-vertical) var(--padding-horizontal);
8
- position: relative;
9
- width: 100%;
10
- }
@@ -1,5 +0,0 @@
1
- .container {
2
- --max-width: 1400px;
3
- --padding-horizontal: var(--size-600);
4
- --padding-vertical: 0px;
5
- }
@@ -1,72 +0,0 @@
1
- .ellipsis {
2
- &-dot {
3
- &:nth-child(1) {
4
- animation: ellipsis-dot-one var(--animation-duration) linear infinite;
5
- }
6
-
7
- &:nth-child(2) {
8
- animation: ellipsis-dot-two var(--animation-duration) linear infinite;
9
- }
10
-
11
- &:nth-child(3) {
12
- animation: ellipsis-dot-three var(--animation-duration) linear infinite;
13
- }
14
- }
15
- }
16
-
17
- @keyframes ellipsis-dot-one {
18
- 0% {
19
- opacity: 1;
20
- }
21
- 65% {
22
- opacity: 1;
23
- }
24
- 66% {
25
- opacity: 0;
26
- }
27
- 100% {
28
- opacity: 0;
29
- }
30
- }
31
-
32
- @keyframes ellipsis-dot-two {
33
- 0% {
34
- opacity: 0;
35
- }
36
- 21% {
37
- opacity: 0;
38
- }
39
- 22% {
40
- opacity: 1;
41
- }
42
- 65% {
43
- opacity: 1;
44
- }
45
- 66% {
46
- opacity: 0;
47
- }
48
- 100% {
49
- opacity: 0;
50
- }
51
- }
52
-
53
- @keyframes ellipsis-dot-three {
54
- 0% {
55
- opacity: 0;
56
- }
57
- 43% {
58
- opacity: 0;
59
- }
60
- 44% {
61
- opacity: 1;
62
- }
63
- 65% {
64
- opacity: 1;
65
- }
66
- 66% {
67
- opacity: 0;
68
- }
69
- 100% {
70
- opacity: 0;
71
- }
72
- }
@@ -1,3 +0,0 @@
1
- .ellipsis {
2
- --animation-duration: 2s;
3
- }