Skip to content

Commit 3aabfa3

Browse files
author
Shammamah Hossain
authored
Add Dash DAQ slider styling to package; update slider styling. (#82)
* Add rc-slider CSS and insert it at top of head. * Remove rc-slider dot styling. * Ignore css when linting and add css loaders. * Remove old stylesheet. * Remove standalone stylesheet and update rc-slider package. * Add autogenerated files. * Remove css from eslintignore. * Update package-lock. * Update version. * Update CHANGELOG. * Add autogenerated files.
1 parent e14f92b commit 3aabfa3

16 files changed

+421
-382
lines changed

.eslintrc

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,10 @@
66
"plugins": [
77
"react",
88
"import"
9-
]
9+
],
10+
"settings": {
11+
"import/extensions": [
12+
".css$"
13+
]
14+
}
1015
}

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a
66
Changelog](http://keepachangelog.com/en/1.0.0/) and this project
77
adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
88

9+
## [0.3.3] - 2020-01-23
10+
### Changed
11+
* [#82](https://github.com/plotly/dash-daq/pull/82) Updated `rc-slider` package and `daq.Slider` styling.
12+
913
## [0.3.2] - 2020-01-22
1014
### Fixed
1115
* [#84](https://github.com/plotly/dash-daq/pull/84) Fixed JS map not being included in the `js_dist` for the Python package.

MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ include dash_daq/dash_daq.min.js.map
33
include dash_daq/async~*.js
44
include dash_daq/async~*.js.map
55
include dash_daq/metadata.json
6-
include dash_daq/[email protected]
76
include dash_daq/package-info.json
87
include README.md
98
include LICENSE.md

dash_daq/async~colorpicker.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/async~colorpicker.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/async~slider.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/async~slider.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/dash_daq.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/dash_daq.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_daq/package-info.json

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dash-daq",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"engines": {
55
"node": ">=8"
66
},
@@ -50,7 +50,7 @@
5050
"nipplejs": "^0.7.1",
5151
"prop-types": "^15.5.9",
5252
"ramda": "^0.25.0",
53-
"rc-slider": "^8.6.1",
53+
"rc-slider": "^9.1.0",
5454
"react": "^16.8.6",
5555
"react-color": "^2.14.1",
5656
"react-dom": "^16.8.6",
@@ -69,11 +69,13 @@
6969
"babel-eslint": "^10.0.3",
7070
"babel-loader": "^8.0.6",
7171
"chalk": "^2.3.1",
72+
"css-loader": "^3.4.2",
7273
"dash-components-archetype-dev": "^0.2.11",
7374
"enzyme": "^3.10.0",
7475
"enzyme-adapter-react-16": "^1.14.0",
7576
"es-check": "^5.0.0",
7677
"fs-extra": "^5.0.0",
78+
"identity-obj-proxy": "^3.0.0",
7779
"jest": "^24.9.0",
7880
"jest-canvas-mock": "^2.1.1",
7981
"pre-commit": "^1.2.2",
@@ -82,6 +84,7 @@
8284
"react-docgen-markdown-renderer": "^1.0.2",
8385
"react-test-renderer": "^16.8.6",
8486
"sinon": "^4.3.0",
87+
"style-loader": "^1.1.3",
8588
"webpack-cli": "^3.3.9"
8689
},
8790
"jest": {
@@ -92,11 +95,13 @@
9295
"testURL": "http://localhost",
9396
"setupFiles": [
9497
"jest-canvas-mock"
95-
]
98+
],
99+
"moduleNameMapper": {
100+
"\\.css": "identity-obj-proxy"
101+
}
96102
},
97103
"files": [
98-
"dash_daq/*{.js,.map}",
99-
"dash_daq/[email protected]"
104+
"dash_daq/*{.js,.map}"
100105
],
101106
"pre-commit": [
102107
"test",

dash_daq/[email protected]

-290
This file was deleted.

0 commit comments

Comments
 (0)