@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.
- package/package.json +8 -4
- package/src/components/export/clipboard.ts +12 -0
- package/src/components/export/index.ts +5 -0
- package/src/components/export/json.ts +15 -0
- package/src/components/index.ts +1 -0
- package/.editorconfig +0 -9
- package/.gitattributes +0 -2
- package/assets/0af89c10df9bc2f8d646.woff2 +0 -0
- package/assets/109e3207d9afea8524be.woff2 +0 -0
- package/assets/16663c3f6ab1da2d6c86.woff +0 -0
- package/assets/16e8721ef5837bc6375e.woff +0 -0
- package/assets/2a3e005f58bfca9c117e.woff +0 -0
- package/assets/58a8d7ebc386843b62c5.woff2 +0 -0
- package/assets/593de7c561e5ffe80c3e.woff2 +0 -0
- package/assets/68b7982c2b30b51bf932.woff2 +0 -0
- package/assets/a04b5e24af93da353f0e.woff +0 -0
- package/assets/bf331673b91821715c08.woff +0 -0
- package/assets/c54b0f4340f2914802d1.woff +0 -0
- package/assets/dd8646a41e4397b77fc4.woff2 +0 -0
- package/assets/e06c107cc50506570954.woff2 +0 -0
- package/assets/ecdfe4c05425592708aa.woff2 +0 -0
- package/assets/f0032576ac7462ccbd0c.woff +0 -0
- package/assets/f872e621917a45943fbc.woff +0 -0
- package/build/components/alert/index.d.ts +0 -10
- package/build/components/alert/index.js +0 -124
- package/build/components/field/checkbox.d.ts +0 -17
- package/build/components/field/checkbox.js +0 -46
- package/build/components/field/description.d.ts +0 -4
- package/build/components/field/description.js +0 -11
- package/build/components/field/error.d.ts +0 -4
- package/build/components/field/error.js +0 -13
- package/build/components/field/file.d.ts +0 -18
- package/build/components/field/file.js +0 -50
- package/build/components/field/index.d.ts +0 -222
- package/build/components/field/index.js +0 -13
- package/build/components/field/optional.d.ts +0 -92
- package/build/components/field/optional.js +0 -21
- package/build/components/field/select.d.ts +0 -32
- package/build/components/field/select.js +0 -108
- package/build/components/field/switch.d.ts +0 -3
- package/build/components/field/switch.js +0 -11
- package/build/components/field/text.d.ts +0 -21
- package/build/components/field/text.js +0 -51
- package/build/components/field/textarea.d.ts +0 -3
- package/build/components/field/textarea.js +0 -10
- package/build/components/field/title.d.ts +0 -5
- package/build/components/field/title.js +0 -21
- package/build/components/form/action.d.ts +0 -5
- package/build/components/form/action.js +0 -51
- package/build/components/form/index.d.ts +0 -23
- package/build/components/form/index.js +0 -9
- package/build/components/form/input.d.ts +0 -9
- package/build/components/form/input.js +0 -12
- package/build/components/form/layout.d.ts +0 -12
- package/build/components/form/layout.js +0 -14
- package/build/components/form/types.d.ts +0 -12
- package/build/components/form/types.js +0 -2
- package/build/components/index.d.ts +0 -9
- package/build/components/index.js +0 -24
- package/build/components/number/index.d.ts +0 -8
- package/build/components/number/index.js +0 -20
- package/build/components/overlay/index.d.ts +0 -6
- package/build/components/overlay/index.js +0 -8
- package/build/components/page/header.d.ts +0 -6
- package/build/components/page/header.js +0 -22
- package/build/components/page/index.d.ts +0 -22
- package/build/components/page/index.js +0 -16
- package/build/components/page/layout.d.ts +0 -5
- package/build/components/page/layout.js +0 -8
- package/build/components/root/index.d.ts +0 -9
- package/build/components/root/index.js +0 -9
- package/build/components/root/onclick.d.ts +0 -5
- package/build/components/root/onclick.js +0 -16
- package/build/components/scrollbar/index.d.ts +0 -11
- package/build/components/scrollbar/index.js +0 -38
- package/build/components/site/index.d.ts +0 -9
- package/build/components/site/index.js +0 -17
- package/build/components/tooltip/index.d.ts +0 -58
- package/build/components/tooltip/index.js +0 -75
- package/build/components/tooltip/menu.d.ts +0 -25
- package/build/components/tooltip/menu.js +0 -46
- package/build/index.d.ts +0 -2
- package/css/components/styles.css +0 -1
- package/css/components/variables.css +0 -1
- package/css/fonts/montserrat.css +0 -1
- package/css/normalizer.css +0 -1
- package/css/utilities/styles.css +0 -1
- package/css/utilities/variables.css +0 -1
- package/lib.scss +0 -3
- package/src/components/accordion/scss/index.scss +0 -16
- package/src/components/accordion/scss/variables.scss +0 -4
- package/src/components/alert/scss/index.scss +0 -55
- package/src/components/alert/scss/variables.scss +0 -8
- package/src/components/anchor/scss/index.scss +0 -41
- package/src/components/anchor/scss/variables.scss +0 -5
- package/src/components/banner/scss/index.scss +0 -40
- package/src/components/banner/scss/variables.scss +0 -6
- package/src/components/border/scss/index.scss +0 -10
- package/src/components/border/scss/variables.scss +0 -6
- package/src/components/bubble/scss/index.scss +0 -30
- package/src/components/bubble/scss/variables.scss +0 -19
- package/src/components/button/scss/index.scss +0 -92
- package/src/components/button/scss/variables.scss +0 -69
- package/src/components/card/scss/index.scss +0 -35
- package/src/components/card/scss/variables.scss +0 -42
- package/src/components/container/scss/index.scss +0 -10
- package/src/components/container/scss/variables.scss +0 -5
- package/src/components/ellipsis/scss/index.scss +0 -72
- package/src/components/ellipsis/scss/variables.scss +0 -3
- package/src/components/field/scss/_check.scss +0 -225
- package/src/components/field/scss/_normalize.scss +0 -36
- package/src/components/field/scss/_text.scss +0 -106
- package/src/components/field/scss/index.scss +0 -159
- package/src/components/field/scss/variables.scss +0 -138
- package/src/components/group/scss/index.scss +0 -36
- package/src/components/group/scss/variables.scss +0 -17
- package/src/components/icon/scss/index.scss +0 -17
- package/src/components/icon/scss/variables.scss +0 -7
- package/src/components/link/scss/index.scss +0 -28
- package/src/components/link/scss/variables.scss +0 -47
- package/src/components/loading/scss/index.scss +0 -24
- package/src/components/loading/scss/variables.scss +0 -31
- package/src/components/modal/scss/index.scss +0 -32
- package/src/components/modal/scss/variables.scss +0 -10
- package/src/components/page/scss/index.scss +0 -27
- package/src/components/page/scss/variables.scss +0 -27
- package/src/components/processing/scss/index.scss +0 -47
- package/src/components/processing/scss/variables.scss +0 -11
- package/src/components/root/scss/index.scss +0 -93
- package/src/components/root/scss/variables.scss +0 -55
- package/src/components/row/scss/index.scss +0 -7
- package/src/components/scrollbar/scss/index.scss +0 -59
- package/src/components/scrollbar/scss/variables.scss +0 -6
- package/src/components/sidebar/scss/index.scss +0 -50
- package/src/components/sidebar/scss/variables.scss +0 -21
- package/src/components/site/scss/index.scss +0 -3
- package/src/components/text/scss/index.scss +0 -12
- package/src/components/text/scss/variables.scss +0 -9
- package/src/components/thumbnail/scss/index.scss +0 -7
- package/src/components/thumbnail/scss/variables.scss +0 -7
- package/src/components/tooltip/scss/_center.scss +0 -13
- package/src/components/tooltip/scss/_east.scss +0 -34
- package/src/components/tooltip/scss/_north.scss +0 -34
- package/src/components/tooltip/scss/_south.scss +0 -35
- package/src/components/tooltip/scss/_west.scss +0 -34
- package/src/components/tooltip/scss/index.scss +0 -93
- package/src/components/tooltip/scss/variables.scss +0 -25
- package/src/css-utilities/[margin,padding]/scss/index.scss +0 -41
- package/src/css-utilities/[margin,padding]/scss/variables.scss +0 -54
- package/src/css-utilities/absolute/scss/index.scss +0 -59
- package/src/css-utilities/background/scss/variables.scss +0 -27
- package/src/css-utilities/border/scss/index.scss +0 -21
- package/src/css-utilities/border/scss/variables.scss +0 -66
- package/src/css-utilities/color/scss/variables.scss +0 -31
- package/src/css-utilities/disabled/scss/index.scss +0 -4
- package/src/css-utilities/flex/scss/index.scss +0 -65
- package/src/css-utilities/glass/scss/index.scss +0 -3
- package/src/css-utilities/glass/scss/variables.scss +0 -3
- package/src/css-utilities/hidden/scss/index.scss +0 -28
- package/src/css-utilities/index.scss +0 -14
- package/src/css-utilities/inline/scss/index.scss +0 -7
- package/src/css-utilities/line-height/scss/variables.scss +0 -10
- package/src/css-utilities/not-allowed/scss/index.scss +0 -7
- package/src/css-utilities/overflow/scss/index.scss +0 -5
- package/src/css-utilities/pointer/scss/index.scss +0 -5
- package/src/css-utilities/size/scss/variables.scss +0 -12
- package/src/css-utilities/slide/scss/index.scss +0 -20
- package/src/css-utilities/slide/scss/variables.scss +0 -6
- package/src/css-utilities/text/scss/index.scss +0 -93
- package/src/css-utilities/text/scss/variables.scss +0 -31
- package/src/css-utilities/transition/scss/variables.scss +0 -14
- package/src/css-utilities/viewport/scss/index.scss +0 -5
- package/src/css-utilities/width/scss/index.scss +0 -3
- package/src/css-utilities/width/scss/variables.scss +0 -9
- package/src/index.ts +0 -2
- package/src/lib/index.scss +0 -7
- package/src/lib/scss/breakpoint.scss +0 -41
- package/src/lib/scss/color.scss +0 -1
- package/src/lib/scss/css-variables.scss +0 -13
- package/src/lib/scss/list.scss +0 -76
- package/src/lib/scss/map.scss +0 -1
- package/src/lib/scss/position.scss +0 -77
- package/src/lib/scss/string.scss +0 -33
- package/src/tokens/index.scss +0 -11
- package/src/tokens/scss/border-radius.scss +0 -12
- package/src/tokens/scss/border-width.scss +0 -6
- package/src/tokens/scss/box-shadow.scss +0 -13
- package/src/tokens/scss/color.scss +0 -64
- package/src/tokens/scss/font-size.scss +0 -12
- package/src/tokens/scss/font-weight.scss +0 -6
- package/src/tokens/scss/line-height.scss +0 -6
- package/src/tokens/scss/size.scss +0 -13
- package/src/tokens/scss/spacer.scss +0 -8
- package/src/tokens/scss/state.scss +0 -86
- package/src/tokens/scss/transition-duration.scss +0 -5
- package/storage/fonts/montserrat/Montserrat-Bold.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-Bold.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-BoldItalic.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-BoldItalic.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-Italic.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-Italic.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-Medium.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-Medium.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-MediumItalic.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-MediumItalic.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-Regular.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-Regular.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-SemiBold.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-SemiBold.woff2 +0 -0
- package/storage/fonts/montserrat/Montserrat-SemiBoldItalic.woff +0 -0
- package/storage/fonts/montserrat/Montserrat-SemiBoldItalic.woff2 +0 -0
- package/storage/fonts/montserrat/index.css +0 -79
- package/storage/psd/Color Palette.psd +0 -0
- package/tokens.scss +0 -3
- package/tsconfig.json +0 -11
- package/webpack.config.ts +0 -33
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*------------------------------------------------------------------------------
|
|
3
|
-
*
|
|
4
|
-
* Buttons, Links, And Other Modules Display CSS Properties Based On Module
|
|
5
|
-
* 'State' ( :hover, :active, etc. )
|
|
6
|
-
*
|
|
7
|
-
* Desired Result:
|
|
8
|
-
* - Default Colors Assigned To Element;
|
|
9
|
-
* - On 'highlight' Or ':hover' Display A Slightly Brighter Version Of
|
|
10
|
-
* The Default Color;
|
|
11
|
-
* - On 'pressed' Or ':active' Display Slightly Darker Version Of The
|
|
12
|
-
* Default Color;
|
|
13
|
-
*
|
|
14
|
-
* End Product Gives Off The Illusion Of A Static -> Hovering -> Pressed
|
|
15
|
-
* Button Without Dealing With Transforms To Shift Elements.
|
|
16
|
-
*
|
|
17
|
-
* Mixin Also Handles Removing Duplicate List Keys
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
@use '../../lib';
|
|
22
|
-
|
|
23
|
-
$state: (
|
|
24
|
-
active: '&.--active',
|
|
25
|
-
inactive: '&:not(.--active)',
|
|
26
|
-
|
|
27
|
-
disabled: '&.--disabled',
|
|
28
|
-
enabled: '&:not(.--disabled)',
|
|
29
|
-
|
|
30
|
-
default: '&:not(.--active):not(:hover)',
|
|
31
|
-
hover: '&:not(.--active):hover',
|
|
32
|
-
pressed: '&:not(.--active):active'
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
@function state($key, $replace: null) {
|
|
37
|
-
$selector: lib.map-get($state, $key);
|
|
38
|
-
|
|
39
|
-
// To Avoid Overcomplicating The Responsibility Of This Function Limit
|
|
40
|
-
// Replace Parameter To String Values Only
|
|
41
|
-
@if $replace {
|
|
42
|
-
@if type-of($replace) != 'string' or type-of($selector) != 'string' {
|
|
43
|
-
@error "'lib.string-replace' Cannot Be Used On A List!";
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
$selector: lib.string-replace('&', $replace, $selector);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@return $selector;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
@mixin state($states) {
|
|
54
|
-
$selector: ();
|
|
55
|
-
|
|
56
|
-
@each $s in lib.list-to-list($states) {
|
|
57
|
-
$section: state($s);
|
|
58
|
-
|
|
59
|
-
@if $section {
|
|
60
|
-
$selector: lib.list-append($selector, $section);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
#{lib.list-implode(',', lib.list-unique($selector))} {
|
|
65
|
-
@content;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@mixin state-utility($class, $property, $values) {
|
|
70
|
-
$keys: $values;
|
|
71
|
-
|
|
72
|
-
@if type-of($keys) == 'map' {
|
|
73
|
-
$keys: lib.map-keys($keys);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
#{$class} {
|
|
77
|
-
@each $key in $keys {
|
|
78
|
-
&-#{$key} {
|
|
79
|
-
--#{$property}-active: var(--color-#{$key}-300);
|
|
80
|
-
--#{$property}-default: var(--color-#{$key}-400);
|
|
81
|
-
--#{$property}-hover: var(--color-#{$key}-300);
|
|
82
|
-
--#{$property}-pressed: var(--color-#{$key}-500);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@font-face {
|
|
2
|
-
font-display: swap;
|
|
3
|
-
font-family: 'Montserrat';
|
|
4
|
-
font-style: normal;
|
|
5
|
-
font-weight: 400;
|
|
6
|
-
src: local('Montserrat Regular'), local('Montserrat-Regular'),
|
|
7
|
-
url('Montserrat-Regular.woff2') format('woff2'),
|
|
8
|
-
url('Montserrat-Regular.woff') format('woff');
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@font-face {
|
|
12
|
-
font-display: swap;
|
|
13
|
-
font-family: 'Montserrat';
|
|
14
|
-
font-style: italic;
|
|
15
|
-
font-weight: 400;
|
|
16
|
-
src: local('Montserrat Italic'), local('Montserrat-Italic'),
|
|
17
|
-
url('Montserrat-Italic.woff2') format('woff2'),
|
|
18
|
-
url('Montserrat-Italic.woff') format('woff');
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@font-face {
|
|
22
|
-
font-display: swap;
|
|
23
|
-
font-family: 'Montserrat';
|
|
24
|
-
font-style: normal;
|
|
25
|
-
font-weight: 500;
|
|
26
|
-
src: local('Montserrat Medium'), local('Montserrat-Medium'),
|
|
27
|
-
url('Montserrat-Medium.woff2') format('woff2'),
|
|
28
|
-
url('Montserrat-Medium.woff') format('woff');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@font-face {
|
|
32
|
-
font-display: swap;
|
|
33
|
-
font-family: 'Montserrat';
|
|
34
|
-
font-style: italic;
|
|
35
|
-
font-weight: 500;
|
|
36
|
-
src: local('Montserrat MediumItalic'), local('Montserrat-MediumItalic'),
|
|
37
|
-
url('Montserrat-MediumItalic.woff2') format('woff2'),
|
|
38
|
-
url('Montserrat-MediumItalic.woff') format('woff');
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@font-face {
|
|
42
|
-
font-display: swap;
|
|
43
|
-
font-family: 'Montserrat';
|
|
44
|
-
font-style: normal;
|
|
45
|
-
font-weight: 600;
|
|
46
|
-
src: local('Montserrat SemiBold'), local('Montserrat-SemiBold'),
|
|
47
|
-
url('Montserrat-SemiBold.woff2') format('woff2'),
|
|
48
|
-
url('Montserrat-SemiBold.woff') format('woff');
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@font-face {
|
|
52
|
-
font-display: swap;
|
|
53
|
-
font-family: 'Montserrat';
|
|
54
|
-
font-style: italic;
|
|
55
|
-
font-weight: 600;
|
|
56
|
-
src: local('Montserrat SemiBoldItalic'), local('Montserrat-SemiBoldItalic'),
|
|
57
|
-
url('Montserrat-SemiBoldItalic.woff2') format('woff2'),
|
|
58
|
-
url('Montserrat-SemiBoldItalic.woff') format('woff');
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@font-face {
|
|
62
|
-
font-display: swap;
|
|
63
|
-
font-family: 'Montserrat';
|
|
64
|
-
font-style: normal;
|
|
65
|
-
font-weight: 700;
|
|
66
|
-
src: local('Montserrat Bold'), local('Montserrat Bold'),
|
|
67
|
-
url('Montserrat-Bold.woff2') format('woff2'),
|
|
68
|
-
url('Montserrat-Bold.woff') format('woff');
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@font-face {
|
|
72
|
-
font-display: swap;
|
|
73
|
-
font-family: 'Montserrat';
|
|
74
|
-
font-style: italic;
|
|
75
|
-
font-weight: 700;
|
|
76
|
-
src: local('Montserrat BoldItalic'), local('Montserrat-BoldItalic'),
|
|
77
|
-
url('Montserrat-BoldItalic.woff2') format('woff2'),
|
|
78
|
-
url('Montserrat-BoldItalic.woff') format('woff');
|
|
79
|
-
}
|
|
Binary file
|
package/tokens.scss
DELETED
package/tsconfig.json
DELETED
package/webpack.config.ts
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { config, entry } from '@esportsplus/webpack';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export default (env: { production?: boolean | string }) => {
|
|
5
|
-
let production = env.production !== 'false';
|
|
6
|
-
|
|
7
|
-
return config.web({
|
|
8
|
-
cache: false,
|
|
9
|
-
contenthash: false,
|
|
10
|
-
entry: {
|
|
11
|
-
css: {
|
|
12
|
-
components: {
|
|
13
|
-
styles: entry.css('src/components/**/index.scss'),
|
|
14
|
-
variables: entry.css('src/components/**/variables.scss')
|
|
15
|
-
},
|
|
16
|
-
fonts: {
|
|
17
|
-
montserrat: entry.css('storage/fonts/montserrat/index.css')
|
|
18
|
-
},
|
|
19
|
-
normalizer: entry.css('modern-normalize/modern-normalize.css'),
|
|
20
|
-
utilities: {
|
|
21
|
-
styles: entry.css('src/css-utilities/**/index.scss'),
|
|
22
|
-
variables: entry.css('src/css-utilities/**/variables.scss')
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
mode: production ? 'production': 'development',
|
|
27
|
-
// Temporary output until css root directory can be set through
|
|
28
|
-
// package.json or similar ( like 'main' key )
|
|
29
|
-
output: {
|
|
30
|
-
path: '.'
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
};
|