@spothero/ui 14.7.6-beta.7 → 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.
Files changed (46) hide show
  1. package/CHANGELOG.md +10 -112
  2. package/CHANGELOG.tmp +3 -21
  3. package/package.json +13 -4
  4. package/styles/Alert/_Alert.scss +1 -3
  5. package/styles/AutoSuggestInput/_AutoSuggestInput.scss +1 -2
  6. package/styles/Chart/_Chart.scss +3 -6
  7. package/styles/Checkbox/_Checkbox.scss +0 -2
  8. package/styles/DateTime/_DatePickerCalendar.scss +3 -10
  9. package/styles/DateTime/_DateTimePicker.scss +1 -3
  10. package/styles/PasswordControl/_PasswordControl.scss +2 -5
  11. package/styles/Radio/_Radio.scss +0 -1
  12. package/styles/Select/_Select.scss +1 -1
  13. package/styles/TextInput/_TextInput.scss +1 -1
  14. package/styles/common/sass/_forms.scss +1 -1
  15. package/styles/v1/components/Button/_Button.scss +9 -1
  16. package/styles/v1/components/Image/_Image.scss +1 -1
  17. package/styles/v1/components/TextButton/_TextButton.scss +1 -1
  18. package/styles/v1/components/index.js +6 -6
  19. package/styles/v2/components/Select/Select.jsx +1 -5
  20. package/v1/index-bundled.cjs.js +2 -0
  21. package/v1/index-bundled.cjs.js.map +1 -0
  22. package/v1/index-bundled.esm.js +2 -0
  23. package/v1/index-bundled.esm.js.map +1 -0
  24. package/v1/index-unbundled.cjs.js +11331 -0
  25. package/v1/index-unbundled.cjs.js.map +1 -0
  26. package/v1/index-unbundled.esm.js +11296 -0
  27. package/v1/index-unbundled.esm.js.map +1 -0
  28. package/v1/index.js +5 -3
  29. package/v2/index-bundled.cjs.js +26 -0
  30. package/v2/index-bundled.cjs.js.map +1 -0
  31. package/v2/index-bundled.esm.js +25 -0
  32. package/v2/index-bundled.esm.js.map +1 -0
  33. package/v2/index-unbundled.cjs.js +38545 -0
  34. package/v2/index-unbundled.cjs.js.map +1 -0
  35. package/v2/index-unbundled.esm.js +38476 -0
  36. package/v2/index-unbundled.esm.js.map +1 -0
  37. package/v2/index.js +5 -3
  38. package/dex.config.js +0 -48
  39. package/v1/assets-manifest.json +0 -5
  40. package/v1/index.html +0 -1
  41. package/v1/index.js.LICENSE.txt +0 -5
  42. package/v1/index.js.map +0 -1
  43. package/v2/assets-manifest.json +0 -5
  44. package/v2/index.html +0 -1
  45. package/v2/index.js.LICENSE.txt +0 -14
  46. package/v2/index.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,115 +1,13 @@
1
- # 14.7.6-beta.7 - 05/19/2022
2
- ## Miscellaneous Updates
3
-
4
- ## Miscellaneous Updates
5
- * [[3de9566](https://github.com/spothero/fe-ui/commit/3de9566)] - 14.7.6-beta.6 (sh-devtools-bot)
6
- * [[09af452](https://github.com/spothero/fe-ui/commit/09af452)] - 14.7.6-beta.5 (sh-devtools-bot)
7
- * [[7317aed](https://github.com/spothero/fe-ui/commit/7317aed)] - 14.7.6-beta.4 (sh-devtools-bot)
8
- * [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
9
- * [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
10
- * [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
11
- * [[3b7d3e2](https://github.com/spothero/fe-ui/commit/3b7d3e2)] - `test:` Move chakra-ui to externals (Tyler Williams)
12
- * [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
13
- * [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
14
- * [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
15
- * [[102e0d7](https://github.com/spothero/fe-ui/commit/102e0d7)] - `fix:` Webpack's output.globalObject was set to self (Tyler Williams)
16
- * [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
17
- * [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
18
- * [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
19
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
20
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
21
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
22
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
23
- * [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
24
-
25
- # 14.7.6-beta.6 - 05/19/2022
26
- ## Miscellaneous Updates
27
-
28
- ## Miscellaneous Updates
29
- * [[09af452](https://github.com/spothero/fe-ui/commit/09af452)] - 14.7.6-beta.5 (sh-devtools-bot)
30
- * [[7317aed](https://github.com/spothero/fe-ui/commit/7317aed)] - 14.7.6-beta.4 (sh-devtools-bot)
31
- * [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
32
- * [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
33
- * [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
34
- * [[102e0d7](https://github.com/spothero/fe-ui/commit/102e0d7)] - `fix:` Webpack's output.globalObject was set to self (Tyler Williams)
35
- * [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
36
- * [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
37
- * [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
38
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
39
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
40
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
41
- * [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
42
- * [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
43
- * [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
44
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
45
- * [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
46
-
47
- # 14.7.6-beta.5 - 05/19/2022
48
- ## Miscellaneous Updates
49
-
50
- ## Miscellaneous Updates
51
- * [[7317aed](https://github.com/spothero/fe-ui/commit/7317aed)] - 14.7.6-beta.4 (sh-devtools-bot)
52
- * [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
53
- * [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
54
- * [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
55
- * [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
56
- * [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
57
- * [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
58
- * [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
59
- * [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
60
- * [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
61
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
62
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
63
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
64
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
65
- * [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
66
-
67
- # 14.7.6-beta.4 - 05/19/2022
68
- ## Miscellaneous Updates
69
-
70
- ## Miscellaneous Updates
71
- * [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
72
- * [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
73
- * [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
74
- * [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
75
- * [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
76
- * [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
77
- * [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
78
- * [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
79
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
80
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
81
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
82
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
83
- * [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
84
-
85
- # 14.7.6-beta.3 - 05/19/2022
86
- ## Miscellaneous Updates
87
-
88
- ## Miscellaneous Updates
89
- * [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
90
- * [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
91
- * [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
92
- * [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
93
- * [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
94
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
95
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
96
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
97
- * [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
98
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
99
- * [[af917d8](https://github.com/spothero/fe-ui/commit/af917d8)] - `chore:` Replace rollup with dex (Tyler Williams)
100
-
101
- # 14.7.6-beta.2 - 05/18/2022
102
-
103
- ## Miscellaneous Updates
104
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
105
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
106
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
107
-
108
- # 14.7.6-beta.1 - 05/18/2022
109
-
110
- ## Miscellaneous Updates
111
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
112
- * [[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)
113
11
 
114
12
  # 14.7.5 - 05/17/2022
115
13
 
package/CHANGELOG.tmp CHANGED
@@ -1,24 +1,6 @@
1
- # 14.7.6-beta.7 - 05/19/2022
2
- ## Miscellaneous Updates
1
+ # 14.7.6 - 05/18/2022
3
2
 
4
3
  ## Miscellaneous Updates
5
- * [[3de9566](https://github.com/spothero/fe-ui/commit/3de9566)] - 14.7.6-beta.6 (sh-devtools-bot)
6
- * [[09af452](https://github.com/spothero/fe-ui/commit/09af452)] - 14.7.6-beta.5 (sh-devtools-bot)
7
- * [[7317aed](https://github.com/spothero/fe-ui/commit/7317aed)] - 14.7.6-beta.4 (sh-devtools-bot)
8
- * [[a9de37b](https://github.com/spothero/fe-ui/commit/a9de37b)] - 14.7.6-beta.3 (sh-devtools-bot)
9
- * [[167d9d2](https://github.com/spothero/fe-ui/commit/167d9d2)] - 14.7.6-beta.2 (sh-devtools-bot)
10
- * [[c382718](https://github.com/spothero/fe-ui/commit/c382718)] - 14.7.6-beta.1 (sh-devtools-bot)
11
- * [[3b7d3e2](https://github.com/spothero/fe-ui/commit/3b7d3e2)] - `test:` Move chakra-ui to externals (Tyler Williams)
12
- * [[b946448](https://github.com/spothero/fe-ui/commit/b946448)] - `test:` Readd Icon to Select (Tyler Williams)
13
- * [[dd4be4f](https://github.com/spothero/fe-ui/commit/dd4be4f)] - `test:` Externalize React as peer dep (Tyler Williams)
14
- * [[ba476e8](https://github.com/spothero/fe-ui/commit/ba476e8)] - `test:` Test output type (Tyler Williams)
15
- * [[102e0d7](https://github.com/spothero/fe-ui/commit/102e0d7)] - `fix:` Webpack's output.globalObject was set to self (Tyler Williams)
16
- * [[267afec](https://github.com/spothero/fe-ui/commit/267afec)] - `fix:` Package-lock (Tyler Williams)
17
- * [[7949efd](https://github.com/spothero/fe-ui/commit/7949efd)] - `fix:` Fix select story (Tyler Williams)
18
- * [[10dae6d](https://github.com/spothero/fe-ui/commit/10dae6d)] - `fix:` Add library configuration to webpack (Tyler Williams)
19
- * [[566919a](https://github.com/spothero/fe-ui/commit/566919a)] - `fix:` Fix path resolution for dex output (Tyler Williams)
20
- * [[210027e](https://github.com/spothero/fe-ui/commit/210027e)] - `fix:` Fix component index for v1 components (Tyler Williams)
21
- * [[c0e5458](https://github.com/spothero/fe-ui/commit/c0e5458)] - `fix:` Invalid version number for beta testing (Tyler Williams)
22
- * [[713036c](https://github.com/spothero/fe-ui/commit/713036c)] - `chore:` Update version (Tyler Williams)
23
- * [[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
24
6
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@spothero/ui",
3
- "version": "14.7.6-beta.7",
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": "TARGET_ENTRY=v1 NODE_ENV=production dex",
68
- "build:v2": "TARGET_ENTRY=v2 NODE_ENV=production dex",
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"
@@ -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: color.adjust($color-stop, $lightness: 35%);
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
@@ -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: list.nth($ct-series-colors, $i + 1);
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: list.nth($ct-series-colors, $i + 1);
68
- border-color: list.nth($ct-series-colors, $i + 1);
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
- .DayPicker-Day {
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
- /* stylelint-disable */
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 {
@@ -1,8 +1,6 @@
1
- @use "sass:color";
2
-
3
1
  @keyframes HIGHLIGHT {
4
2
  5% {
5
- background-color: color.adjust($color-highlight, $lightness: 40%);
3
+ background-color: lighten($color-highlight, 40%);
6
4
  }
7
5
  }
8
6
 
@@ -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
- &:hover {
60
- color: $color-cement;
61
- }
57
+ &:not([disabled]):hover {
58
+ color: $color-cement;
62
59
  }
63
60
  }
64
61
 
@@ -60,7 +60,6 @@
60
60
 
61
61
  &::before {
62
62
  @extend %radio-common;
63
-
64
63
  // Chakra's implementation created some small issues
65
64
  // with how elements were positioned, this updates the
66
65
  // element to parody the original design
@@ -11,7 +11,7 @@
11
11
  }
12
12
 
13
13
  .Select-icon {
14
- @include center;
14
+ @include center();
15
15
  line-height: 1;
16
16
 
17
17
  .Icon {
@@ -2,7 +2,7 @@
2
2
  @extend %form-element;
3
3
 
4
4
  .Icon {
5
- @include center;
5
+ @include center();
6
6
  width: 16px;
7
7
  fill: $color-cement;
8
8
  }
@@ -22,7 +22,7 @@
22
22
  }
23
23
 
24
24
  %form-element-item {
25
- @include font-family;
25
+ @include font-family();
26
26
  display: block;
27
27
  width: 100%;
28
28
  background-color: $color-white;
@@ -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;
@@ -14,7 +14,7 @@
14
14
  }
15
15
 
16
16
  .PulseLoader-pulse {
17
- @include center;
17
+ @include center();
18
18
  }
19
19
  }
20
20
 
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  .TextButton {
12
- @include font-family;
12
+ @include font-family();
13
13
  display: inline-block;
14
14
  cursor: pointer;
15
15
  white-space: nowrap;
@@ -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}