@spothero/ui 14.7.6-beta.6 → 14.7.6
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/CHANGELOG.md +10 -88
- package/CHANGELOG.tmp +3 -19
- package/package.json +13 -4
- package/styles/Alert/_Alert.scss +1 -3
- package/styles/AutoSuggestInput/_AutoSuggestInput.scss +1 -2
- package/styles/Chart/_Chart.scss +3 -6
- package/styles/Checkbox/_Checkbox.scss +0 -2
- package/styles/DateTime/_DatePickerCalendar.scss +3 -10
- package/styles/DateTime/_DateTimePicker.scss +1 -3
- package/styles/PasswordControl/_PasswordControl.scss +2 -5
- package/styles/Radio/_Radio.scss +0 -1
- package/styles/Select/_Select.scss +1 -1
- package/styles/TextInput/_TextInput.scss +1 -1
- package/styles/common/sass/_forms.scss +1 -1
- package/styles/v1/components/Button/_Button.scss +9 -1
- package/styles/v1/components/Image/_Image.scss +1 -1
- package/styles/v1/components/TextButton/_TextButton.scss +1 -1
- package/styles/v1/components/index.js +6 -6
- package/styles/v2/components/Select/Select.jsx +1 -5
- package/v1/index-bundled.cjs.js +2 -0
- package/v1/index-bundled.cjs.js.map +1 -0
- package/v1/index-bundled.esm.js +2 -0
- package/v1/index-bundled.esm.js.map +1 -0
- package/v1/index-unbundled.cjs.js +11331 -0
- package/v1/index-unbundled.cjs.js.map +1 -0
- package/v1/index-unbundled.esm.js +11296 -0
- package/v1/index-unbundled.esm.js.map +1 -0
- package/v1/index.js +5 -3
- package/v2/index-bundled.cjs.js +26 -0
- package/v2/index-bundled.cjs.js.map +1 -0
- package/v2/index-bundled.esm.js +25 -0
- package/v2/index-bundled.esm.js.map +1 -0
- package/v2/index-unbundled.cjs.js +38545 -0
- package/v2/index-unbundled.cjs.js.map +1 -0
- package/v2/index-unbundled.esm.js +38476 -0
- package/v2/index-unbundled.esm.js.map +1 -0
- package/v2/index.js +5 -3
- package/dex.config.js +0 -46
- package/v1/assets-manifest.json +0 -5
- package/v1/index.html +0 -1
- package/v1/index.js.LICENSE.txt +0 -5
- package/v1/index.js.map +0 -1
- package/v2/assets-manifest.json +0 -5
- package/v2/index.html +0 -1
- package/v2/index.js.LICENSE.txt +0 -14
- package/v2/index.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,91 +1,13 @@
|
|
|
1
|
-
# 14.7.6
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* [[
|
|
11
|
-
* [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
|
|
12
|
-
* [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
|
|
13
|
-
* [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
|
|
14
|
-
* [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
|
|
15
|
-
* [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
|
|
16
|
-
* [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
|
|
17
|
-
* [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
|
|
18
|
-
* [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
|
|
19
|
-
* [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
|
|
20
|
-
* [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
|
|
21
|
-
* [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
|
|
22
|
-
|
|
23
|
-
# 14.7.6-beta.5 - 05/19/2022
|
|
24
|
-
## Miscellaneous Updates
|
|
25
|
-
|
|
26
|
-
## Miscellaneous Updates
|
|
27
|
-
* [[7317aed](https://github.com/spothero/fe-ui/commit/7317aed)] - 14.7.6-beta.4 (sh-devtools-bot)
|
|
28
|
-
* [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
|
|
29
|
-
* [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
|
|
30
|
-
* [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
|
|
31
|
-
* [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
|
|
32
|
-
* [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
|
|
33
|
-
* [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
|
|
34
|
-
* [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
|
|
35
|
-
* [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
|
|
36
|
-
* [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
|
|
37
|
-
* [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
|
|
38
|
-
* [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
|
|
39
|
-
* [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
|
|
40
|
-
* [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
|
|
41
|
-
* [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
|
|
42
|
-
|
|
43
|
-
# 14.7.6-beta.4 - 05/19/2022
|
|
44
|
-
## Miscellaneous Updates
|
|
45
|
-
|
|
46
|
-
## Miscellaneous Updates
|
|
47
|
-
* [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
|
|
48
|
-
* [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
|
|
49
|
-
* [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
|
|
50
|
-
* [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
|
|
51
|
-
* [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
|
|
52
|
-
* [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
|
|
53
|
-
* [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
|
|
54
|
-
* [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
|
|
55
|
-
* [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
|
|
56
|
-
* [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
|
|
57
|
-
* [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
|
|
58
|
-
* [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
|
|
59
|
-
* [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
|
|
60
|
-
|
|
61
|
-
# 14.7.6-beta.3 - 05/19/2022
|
|
62
|
-
## Miscellaneous Updates
|
|
63
|
-
|
|
64
|
-
## Miscellaneous Updates
|
|
65
|
-
* [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
|
|
66
|
-
* [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
|
|
67
|
-
* [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
|
|
68
|
-
* [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
|
|
69
|
-
* [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
|
|
70
|
-
* [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
|
|
71
|
-
* [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
|
|
72
|
-
* [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
|
|
73
|
-
* [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
|
|
74
|
-
* [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
|
|
75
|
-
* [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
|
|
76
|
-
|
|
77
|
-
# 14.7.6-beta.2 - 05/18/2022
|
|
78
|
-
|
|
79
|
-
## Miscellaneous Updates
|
|
80
|
-
* [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
|
|
81
|
-
* [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
|
|
82
|
-
* [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
|
|
83
|
-
|
|
84
|
-
# 14.7.6-beta.1 - 05/18/2022
|
|
85
|
-
|
|
86
|
-
## Miscellaneous Updates
|
|
87
|
-
* [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
|
|
88
|
-
* [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
|
|
1
|
+
# 14.7.6 - 05/18/2022
|
|
2
|
+
|
|
3
|
+
## Miscellaneous Updates
|
|
4
|
+
* [[5dbc9cf](https://github.com/spothero/fe-ui/commit/5dbc9cf)] - `fix:` Updated Icon import to use chakra instead of local ([#294](https://github.com/spothero/fe-ui/pull/294)) (Nathan Caraker)
|
|
5
|
+
* `fix:` Removed icon from select component to fix rollup issues
|
|
6
|
+
|
|
7
|
+
# 14.7.6-beta.0 - 05/17/2022
|
|
8
|
+
|
|
9
|
+
## Miscellaneous Updates
|
|
10
|
+
* [[a9d0a6b](https://github.com/spothero/fe-ui/commit/a9d0a6b)] - `fix:` Updated Icon import to use chakra instead of local (Nathan)
|
|
89
11
|
|
|
90
12
|
# 14.7.5 - 05/17/2022
|
|
91
13
|
|
package/CHANGELOG.tmp
CHANGED
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
# 14.7.6
|
|
2
|
-
## Miscellaneous Updates
|
|
1
|
+
# 14.7.6 - 05/18/2022
|
|
3
2
|
|
|
4
3
|
## Miscellaneous Updates
|
|
5
|
-
* [[
|
|
6
|
-
*
|
|
7
|
-
* [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
|
|
8
|
-
* [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
|
|
9
|
-
* [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
|
|
10
|
-
* [[102e0d7](https://github.com/spothero/fe-ui/commit/102e0d7)] - `fix:` Webpack's output.globalObject was set to self (Tyler Williams)
|
|
11
|
-
* [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
|
|
12
|
-
* [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
|
|
13
|
-
* [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
|
|
14
|
-
* [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
|
|
15
|
-
* [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
|
|
16
|
-
* [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
|
|
17
|
-
* [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
|
|
18
|
-
* [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
|
|
19
|
-
* [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
|
|
20
|
-
* [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
|
|
21
|
-
* [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
|
|
4
|
+
* [[5dbc9cf](https://github.com/spothero/fe-ui/commit/5dbc9cf)] - `fix:` Updated Icon import to use chakra instead of local ([#294](https://github.com/spothero/fe-ui/pull/294)) (Nathan Caraker)
|
|
5
|
+
* `fix:` Removed icon from select component to fix rollup issues
|
|
22
6
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spothero/ui",
|
|
3
|
-
"version": "14.7.6
|
|
3
|
+
"version": "14.7.6",
|
|
4
4
|
"description": "SpotHero's React component UI library.",
|
|
5
|
-
"main": "v2/index.js",
|
|
5
|
+
"main": "v2/index-bundled.cjs.js",
|
|
6
6
|
"module": "v2/index.js",
|
|
7
7
|
"repository": "https://github.com/spothero/fe-ui",
|
|
8
8
|
"author": "SpotHero",
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"test:unit": "npm run test:template -- --coverage",
|
|
65
65
|
"test:unit:watch": "DEBUG_PRINT_LIMIT=-1 npm run test:template -- --watch",
|
|
66
66
|
"clone:styles": "rsync -a src/ styles && rm -rf styles/**/*.{js,jsx} styles/**/stories",
|
|
67
|
-
"build:v1": "
|
|
68
|
-
"build:v2": "
|
|
67
|
+
"build:v1": "rollup --config rollup/v1.config.js",
|
|
68
|
+
"build:v2": "rollup --config rollup/v2.config.js",
|
|
69
69
|
"build:backlog": "NODE_ENV=production babel src -d backlog --ignore \"**/*.spec.js\",\"**/stories/**\",\"**/v2/**\"",
|
|
70
70
|
"build": "npm run clean && npm run clone:styles && npm run build:backlog && npm run build:v1 && npm run build:v2",
|
|
71
71
|
"build:storybook": "build-storybook -o ./docs",
|
|
@@ -88,6 +88,8 @@
|
|
|
88
88
|
"@babel/runtime-corejs3": "7.14.7",
|
|
89
89
|
"@cypress/browserify-preprocessor": "3.0.1",
|
|
90
90
|
"@jackfranklin/test-data-bot": "1.3.0",
|
|
91
|
+
"@rollup/plugin-alias": "3.1.2",
|
|
92
|
+
"@rollup/plugin-node-resolve": "11.2.0",
|
|
91
93
|
"@spothero/babel-preset-spothero": "0.2.0",
|
|
92
94
|
"@spothero/browserslist-config": "1.0.0",
|
|
93
95
|
"@spothero/commitlint-config": "3.1.1",
|
|
@@ -130,6 +132,13 @@
|
|
|
130
132
|
"react-redux": "7.2.8",
|
|
131
133
|
"redux": "4.1.2",
|
|
132
134
|
"regenerator-runtime": "0.13.7",
|
|
135
|
+
"rollup": "2.40.0",
|
|
136
|
+
"rollup-plugin-babel": "4.4.0",
|
|
137
|
+
"rollup-plugin-commonjs": "10.1.0",
|
|
138
|
+
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
139
|
+
"rollup-plugin-replace": "2.2.0",
|
|
140
|
+
"rollup-plugin-terser": "7.0.2",
|
|
141
|
+
"rollup-plugin-visualizer": "4.2.0",
|
|
133
142
|
"start-server-and-test": "1.12.6",
|
|
134
143
|
"style-loader": "1.2.1",
|
|
135
144
|
"webpack-merge": "5.1.4"
|
package/styles/Alert/_Alert.scss
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
|
|
3
1
|
.Alert {
|
|
4
2
|
margin: 6px 0 10px;
|
|
5
3
|
display: block;
|
|
@@ -15,7 +13,7 @@
|
|
|
15
13
|
display: inline-block;
|
|
16
14
|
|
|
17
15
|
.Alert-danger & {
|
|
18
|
-
background:
|
|
16
|
+
background: lighten($color-stop, 35%);
|
|
19
17
|
color: $color-stop;
|
|
20
18
|
}
|
|
21
19
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.AutoSuggestInput-item {
|
|
64
|
-
@include ellipsis;
|
|
64
|
+
@include ellipsis();
|
|
65
65
|
font-size: 14px;
|
|
66
66
|
cursor: pointer;
|
|
67
67
|
padding: 7px 10px 7px 16px;
|
|
@@ -107,7 +107,6 @@
|
|
|
107
107
|
.Icon {
|
|
108
108
|
width: 18px;
|
|
109
109
|
height: 18px;
|
|
110
|
-
|
|
111
110
|
// Updated to account for small positioning changes
|
|
112
111
|
// due to the Chakra implementation. Allowed the icon
|
|
113
112
|
// to inherit 'display: inline-block;', and the margin
|
package/styles/Chart/_Chart.scss
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@use "sass:list";
|
|
2
1
|
@import "chartist";
|
|
3
2
|
|
|
4
3
|
.ct-area,
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
.ct-series {
|
|
16
15
|
@for $i from 0 to length($ct-series-colors) {
|
|
17
16
|
.ct-circle-#{$i} {
|
|
18
|
-
stroke:
|
|
17
|
+
stroke: nth($ct-series-colors, $i + 1);
|
|
19
18
|
}
|
|
20
19
|
}
|
|
21
20
|
}
|
|
@@ -62,12 +61,10 @@
|
|
|
62
61
|
}
|
|
63
62
|
|
|
64
63
|
@for $i from 0 to length($ct-series-colors) {
|
|
65
|
-
/* stylelint-disable */
|
|
66
64
|
.ct-series-#{$i}::before {
|
|
67
|
-
background-color:
|
|
68
|
-
border-color:
|
|
65
|
+
background-color: nth($ct-series-colors, $i + 1);
|
|
66
|
+
border-color: nth($ct-series-colors, $i + 1);
|
|
69
67
|
}
|
|
70
|
-
/* stylelint-enable */
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
|
|
52
52
|
.Icon {
|
|
53
53
|
position: absolute;
|
|
54
|
-
|
|
55
54
|
// Chakra's implementation created some small issues
|
|
56
55
|
// with how elements were positioned, this updates the
|
|
57
56
|
// element to parody the original design
|
|
@@ -73,7 +72,6 @@
|
|
|
73
72
|
|
|
74
73
|
&::before {
|
|
75
74
|
@extend %checkbox-common;
|
|
76
|
-
|
|
77
75
|
// Chakra's implementation created some small issues
|
|
78
76
|
// with how elements were positioned, this updates the
|
|
79
77
|
// element to parody the original design
|
|
@@ -79,20 +79,16 @@
|
|
|
79
79
|
outline: none;
|
|
80
80
|
border-radius: 19px;
|
|
81
81
|
|
|
82
|
-
/* stylelint-disable */
|
|
83
82
|
&:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected) {
|
|
84
83
|
&:hover {
|
|
85
84
|
border: 1px solid $color-go;
|
|
86
85
|
border-radius: 100%;
|
|
87
86
|
}
|
|
88
87
|
}
|
|
89
|
-
/* stylelint-enable */
|
|
90
88
|
}
|
|
91
89
|
|
|
92
|
-
.DayPicker--interactionDisabled {
|
|
93
|
-
|
|
94
|
-
cursor: default;
|
|
95
|
-
}
|
|
90
|
+
.DayPicker--interactionDisabled .DayPicker-Day {
|
|
91
|
+
cursor: default;
|
|
96
92
|
}
|
|
97
93
|
|
|
98
94
|
.DayPicker-Day--today {
|
|
@@ -103,12 +99,11 @@
|
|
|
103
99
|
color: $color-cement;
|
|
104
100
|
cursor: default;
|
|
105
101
|
}
|
|
106
|
-
|
|
102
|
+
|
|
107
103
|
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
|
|
108
104
|
color: $color-white;
|
|
109
105
|
background-color: $color-go;
|
|
110
106
|
}
|
|
111
|
-
/* stylelint-enable */
|
|
112
107
|
|
|
113
108
|
.DatePicker-calendar-with-range {
|
|
114
109
|
.DayPicker-Day {
|
|
@@ -121,7 +116,6 @@
|
|
|
121
116
|
}
|
|
122
117
|
}
|
|
123
118
|
|
|
124
|
-
/* stylelint-disable */
|
|
125
119
|
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
|
|
126
120
|
color: $color-white;
|
|
127
121
|
background-color: rgba($color-go, 0.33);
|
|
@@ -130,7 +124,6 @@
|
|
|
130
124
|
background-color: transparent;
|
|
131
125
|
}
|
|
132
126
|
}
|
|
133
|
-
/* stylelint-enable */
|
|
134
127
|
|
|
135
128
|
.DayPicker-Day--start,
|
|
136
129
|
.DayPicker-Day--end {
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
|
|
36
36
|
.Checkbox {
|
|
37
37
|
display: none;
|
|
38
|
-
|
|
39
38
|
// Chakra's implementation created some small issues
|
|
40
39
|
// with how elements were positioned, this updates the
|
|
41
40
|
// element to parody the original design
|
|
@@ -55,10 +54,8 @@
|
|
|
55
54
|
color: $color-cement;
|
|
56
55
|
text-transform: uppercase;
|
|
57
56
|
|
|
58
|
-
&:not([disabled]) {
|
|
59
|
-
|
|
60
|
-
color: $color-cement;
|
|
61
|
-
}
|
|
57
|
+
&:not([disabled]):hover {
|
|
58
|
+
color: $color-cement;
|
|
62
59
|
}
|
|
63
60
|
}
|
|
64
61
|
|
package/styles/Radio/_Radio.scss
CHANGED
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
a.Button,
|
|
11
12
|
.Button {
|
|
12
13
|
@extend %control-size;
|
|
13
|
-
@include font-family;
|
|
14
|
+
@include font-family();
|
|
14
15
|
padding: 10px 30px;
|
|
15
16
|
text-align: center;
|
|
16
17
|
font-weight: $font-weight-semi-bold;
|
|
@@ -56,23 +57,27 @@
|
|
|
56
57
|
}
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
a.Button-block,
|
|
59
61
|
.Button-block {
|
|
60
62
|
display: block;
|
|
61
63
|
width: 100%;
|
|
62
64
|
}
|
|
63
65
|
|
|
66
|
+
a.Button-with-icon-left,
|
|
64
67
|
.Button-with-icon-left {
|
|
65
68
|
.Icon {
|
|
66
69
|
margin-right: 5px;
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
72
|
|
|
73
|
+
a.Button-with-icon-right,
|
|
70
74
|
.Button-with-icon-right {
|
|
71
75
|
.Icon {
|
|
72
76
|
margin-left: 5px;
|
|
73
77
|
}
|
|
74
78
|
}
|
|
75
79
|
|
|
80
|
+
a.Button-primary,
|
|
76
81
|
.Button-primary {
|
|
77
82
|
background-color: $color-shift;
|
|
78
83
|
color: $color-white;
|
|
@@ -93,6 +98,7 @@
|
|
|
93
98
|
}
|
|
94
99
|
}
|
|
95
100
|
|
|
101
|
+
a.Button-secondary,
|
|
96
102
|
.Button-secondary {
|
|
97
103
|
background-color: $color-white;
|
|
98
104
|
color: $color-shift;
|
|
@@ -111,6 +117,7 @@
|
|
|
111
117
|
}
|
|
112
118
|
}
|
|
113
119
|
|
|
120
|
+
a.Button-tertiary,
|
|
114
121
|
.Button-tertiary {
|
|
115
122
|
background-color: $color-white;
|
|
116
123
|
color: $color-cement;
|
|
@@ -129,6 +136,7 @@
|
|
|
129
136
|
}
|
|
130
137
|
}
|
|
131
138
|
|
|
139
|
+
a.Button-loading,
|
|
132
140
|
.Button-loading {
|
|
133
141
|
position: relative;
|
|
134
142
|
pointer-events: none;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {default as Panel} from './Panel/Panel';
|
|
2
|
-
export {default as Button} from './Button/Button';
|
|
3
|
-
export {default as Table} from './Table/Table';
|
|
4
|
-
export {default as TextButton} from './TextButton/TextButton';
|
|
5
|
-
export {default as Image} from './Image/Image';
|
|
6
|
-
export {default as Loader} from './Loader/Loader';
|
|
1
|
+
export { default as Panel } from './Panel/Panel';
|
|
2
|
+
export { default as Button } from './Button/Button';
|
|
3
|
+
export { default as Table } from './Table/Table';
|
|
4
|
+
export { default as TextButton } from './TextButton/TextButton';
|
|
5
|
+
export { default as Image } from './Image/Image';
|
|
6
|
+
export { default as Loader } from './Loader/Loader';
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
import React, {forwardRef} from 'react';
|
|
1
2
|
import cn from 'classnames';
|
|
2
3
|
import PropTypes from 'prop-types';
|
|
3
|
-
import React, {forwardRef} from 'react';
|
|
4
4
|
import {Select as ChakraSelect} from '@chakra-ui/react';
|
|
5
|
-
import IconChevronDown from '@spothero/icons/chevron-down';
|
|
6
5
|
|
|
7
|
-
import Icon from '../Icon/Icon';
|
|
8
6
|
import FormControl from '../FormControl/FormControl';
|
|
9
7
|
|
|
10
8
|
const Select = forwardRef(
|
|
@@ -33,8 +31,6 @@ const Select = forwardRef(
|
|
|
33
31
|
inputId={props.id}
|
|
34
32
|
>
|
|
35
33
|
<ChakraSelect
|
|
36
|
-
icon={<Icon as={IconChevronDown} />}
|
|
37
|
-
iconSize={12}
|
|
38
34
|
fontWeight="regular"
|
|
39
35
|
fontSize="sm"
|
|
40
36
|
ref={ref}
|