dash-core-components 4.1.0 → 4.3.0

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 (55) hide show
  1. package/dash_core_components/async-datepicker.js +1 -1
  2. package/dash_core_components/async-datepicker.js.map +1 -1
  3. package/dash_core_components/async-dropdown.js +1 -1
  4. package/dash_core_components/async-dropdown.js.map +1 -1
  5. package/dash_core_components/async-graph.js +1 -1
  6. package/dash_core_components/async-graph.js.map +1 -1
  7. package/dash_core_components/async-highlight.js +1 -1
  8. package/dash_core_components/async-highlight.js.map +1 -1
  9. package/dash_core_components/async-markdown.js +1 -1
  10. package/dash_core_components/async-markdown.js.map +1 -1
  11. package/dash_core_components/async-slider.js +1 -1
  12. package/dash_core_components/async-slider.js.map +1 -1
  13. package/dash_core_components/async-upload.js +2 -1
  14. package/dash_core_components/async-upload.js.map +1 -1
  15. package/dash_core_components/dash_core_components-shared.js +1 -1
  16. package/dash_core_components/dash_core_components-shared.js.map +1 -1
  17. package/dash_core_components/dash_core_components.js +1 -1
  18. package/dash_core_components/dash_core_components.js.map +1 -1
  19. package/dash_core_components/proptypes.js +1 -0
  20. package/lib/components/Clipboard.react.js +220 -126
  21. package/lib/components/ConfirmDialog.react.js +62 -35
  22. package/lib/components/ConfirmDialogProvider.react.js +45 -22
  23. package/lib/components/Download.react.js +46 -24
  24. package/lib/components/Geolocation.react.js +92 -64
  25. package/lib/components/Graph.react.js +112 -75
  26. package/lib/components/Input.tsx +2 -2
  27. package/lib/components/Interval.react.js +88 -57
  28. package/lib/components/Link.react.js +16 -18
  29. package/lib/components/Location.react.js +127 -101
  30. package/lib/components/Markdown.react.js +43 -15
  31. package/lib/components/Store.react.js +177 -131
  32. package/lib/components/Upload.react.js +28 -8
  33. package/lib/components/css/dropdown.css +6 -0
  34. package/lib/components/css/sliders.css +1 -0
  35. package/lib/fragments/DatePickerRange.tsx +147 -148
  36. package/lib/fragments/DatePickerSingle.tsx +115 -116
  37. package/lib/fragments/Dropdown.tsx +42 -2
  38. package/lib/fragments/Graph.privateprops.js +9 -3
  39. package/lib/fragments/Graph.react.js +418 -322
  40. package/lib/fragments/Markdown.react.js +163 -112
  41. package/lib/fragments/Math.react.js +49 -24
  42. package/lib/fragments/Upload.react.js +344 -220
  43. package/lib/types.ts +7 -0
  44. package/lib/utils/LazyLoader/graph.js +3 -2
  45. package/lib/utils/LazyLoader/hljs.js +5 -2
  46. package/lib/utils/LazyLoader/markdown.js +3 -2
  47. package/lib/utils/LazyLoader/mathjax.js +5 -2
  48. package/lib/utils/LazyLoader/plotly.js +6 -7
  49. package/lib/utils/LazyLoader/upload.js +3 -2
  50. package/lib/utils/LoadingElement.js +5 -5
  51. package/lib/utils/MarkdownHighlighter.js +6 -5
  52. package/lib/utils/ResizeDetector.js +17 -14
  53. package/lib/utils/dropdownSearch.ts +32 -12
  54. package/lib/utils/optionRendering.tsx +3 -0
  55. package/package.json +3 -3
@@ -8,174 +8,220 @@ var _ramda = require("ramda");
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _propTypes = _interopRequireDefault(require("prop-types"));
10
10
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
11
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
12
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
13
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
14
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
15
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
16
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
17
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
18
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
19
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
20
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
21
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
22
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
23
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
11
24
  /**
12
25
  * Abstraction for the memory storage_type to work the same way as local/session
13
26
  *
14
27
  * Each memory Store component get it's own MemStore.
15
28
  */
16
- class MemStore {
17
- constructor() {
29
+ var MemStore = /*#__PURE__*/function () {
30
+ function MemStore() {
31
+ _classCallCheck(this, MemStore);
18
32
  this._data = {};
19
33
  this._modified = -1;
20
34
  }
21
- getItem(key) {
22
- return this._data[key];
23
- }
24
- setItem(key, value) {
25
- this._data[key] = value;
26
- this.setModified(key);
27
- }
28
- removeItem(key) {
29
- delete this._data[key];
30
- this.setModified(key);
31
- }
32
-
33
- // noinspection JSUnusedLocalSymbols
34
- setModified(_) {
35
- this._modified = Date.now();
36
- }
35
+ return _createClass(MemStore, [{
36
+ key: "getItem",
37
+ value: function getItem(key) {
38
+ return this._data[key];
39
+ }
40
+ }, {
41
+ key: "setItem",
42
+ value: function setItem(key, value) {
43
+ this._data[key] = value;
44
+ this.setModified(key);
45
+ }
46
+ }, {
47
+ key: "removeItem",
48
+ value: function removeItem(key) {
49
+ delete this._data[key];
50
+ this.setModified(key);
51
+ }
37
52
 
38
- // noinspection JSUnusedLocalSymbols
39
- getModified(_) {
40
- return this._modified;
41
- }
42
- }
53
+ // noinspection JSUnusedLocalSymbols
54
+ }, {
55
+ key: "setModified",
56
+ value: function setModified(_) {
57
+ this._modified = Date.now();
58
+ }
43
59
 
60
+ // noinspection JSUnusedLocalSymbols
61
+ }, {
62
+ key: "getModified",
63
+ value: function getModified(_) {
64
+ return this._modified;
65
+ }
66
+ }]);
67
+ }();
44
68
  /**
45
69
  * Abstraction for local/session storage_type.
46
70
  *
47
71
  * Single instances for localStorage, sessionStorage
48
72
  */
49
- class WebStore {
50
- constructor(storage) {
73
+ var WebStore = /*#__PURE__*/function () {
74
+ function WebStore(storage) {
75
+ _classCallCheck(this, WebStore);
51
76
  this._storage = storage;
52
77
  }
53
- getItem(key) {
54
- try {
55
- return JSON.parse(this._storage.getItem(key));
56
- } catch (e) {
57
- // in case we somehow got a non-JSON value in storage,
58
- // just ignore it.
59
- return null;
78
+ return _createClass(WebStore, [{
79
+ key: "getItem",
80
+ value: function getItem(key) {
81
+ try {
82
+ return JSON.parse(this._storage.getItem(key));
83
+ } catch (e) {
84
+ // in case we somehow got a non-JSON value in storage,
85
+ // just ignore it.
86
+ return null;
87
+ }
60
88
  }
61
- }
62
- setItem(key, value) {
63
- this._storage.setItem(key, JSON.stringify(value));
64
- this.setModified(key);
65
- }
66
- removeItem(key) {
67
- this._storage.removeItem(key);
68
- this._storage.removeItem("".concat(key, "-timestamp"));
69
- }
70
- setModified(key) {
71
- this._storage.setItem("".concat(key, "-timestamp"), Date.now());
72
- }
73
- getModified(key) {
74
- return Number.parseInt(this._storage.getItem("".concat(key, "-timestamp")), 10) || -1;
75
- }
76
- }
77
-
89
+ }, {
90
+ key: "setItem",
91
+ value: function setItem(key, value) {
92
+ this._storage.setItem(key, JSON.stringify(value));
93
+ this.setModified(key);
94
+ }
95
+ }, {
96
+ key: "removeItem",
97
+ value: function removeItem(key) {
98
+ this._storage.removeItem(key);
99
+ this._storage.removeItem("".concat(key, "-timestamp"));
100
+ }
101
+ }, {
102
+ key: "setModified",
103
+ value: function setModified(key) {
104
+ this._storage.setItem("".concat(key, "-timestamp"), Date.now());
105
+ }
106
+ }, {
107
+ key: "getModified",
108
+ value: function getModified(key) {
109
+ return Number.parseInt(this._storage.getItem("".concat(key, "-timestamp")), 10) || -1;
110
+ }
111
+ }]);
112
+ }();
78
113
  /**
79
114
  * Easily keep data on the client side with this component.
80
115
  * The data is not inserted in the DOM.
81
116
  * Data can be in memory, localStorage or sessionStorage.
82
117
  * The data will be kept with the id as key.
83
118
  */
84
- class Store extends _react.default.Component {
85
- constructor(props) {
86
- super(props);
119
+ var Store = exports.default = /*#__PURE__*/function (_React$Component) {
120
+ function Store(props) {
121
+ var _this;
122
+ _classCallCheck(this, Store);
123
+ _this = _callSuper(this, Store, [props]);
87
124
  if (props.storage_type === 'local') {
88
- this._backstore = new WebStore(window.localStorage);
125
+ _this._backstore = new WebStore(window.localStorage);
89
126
  } else if (props.storage_type === 'session') {
90
- this._backstore = new WebStore(window.sessionStorage);
127
+ _this._backstore = new WebStore(window.sessionStorage);
91
128
  } else if (props.storage_type === 'memory') {
92
- this._backstore = new MemStore();
93
- }
94
- this.onStorageChange = this.onStorageChange.bind(this);
95
- }
96
- onStorageChange(e) {
97
- var {
98
- id,
99
- setProps
100
- } = this.props;
101
- if (e.key === id && setProps && e.newValue !== e.oldValue) {
102
- setProps({
103
- data: JSON.parse(e.newValue),
104
- modified_timestamp: this._backstore.getModified(id)
105
- });
129
+ _this._backstore = new MemStore();
106
130
  }
131
+ _this.onStorageChange = _this.onStorageChange.bind(_this);
132
+ return _this;
107
133
  }
108
- UNSAFE_componentWillMount() {
109
- var {
110
- setProps,
111
- id,
112
- data,
113
- storage_type
114
- } = this.props;
115
- if (storage_type !== 'memory') {
116
- window.addEventListener('storage', this.onStorageChange);
117
- }
118
- var old = this._backstore.getItem(id);
119
- if ((0, _ramda.isNil)(old) && !(0, _ramda.isNil)(data)) {
120
- // Initial data mount
121
- this._backstore.setItem(id, data);
122
- setProps({
123
- modified_timestamp: this._backstore.getModified(id)
124
- });
125
- return;
126
- }
127
- if (!(0, _ramda.equals)(old, data)) {
128
- setProps({
129
- data: old,
130
- modified_timestamp: this._backstore.getModified(id)
131
- });
132
- }
133
- }
134
- componentWillUnmount() {
135
- if (this.props.storage_type !== 'memory') {
136
- window.removeEventListener('storage', this.onStorageChange);
137
- }
138
- }
139
- componentDidUpdate() {
140
- var {
141
- data,
142
- id,
143
- clear_data,
144
- setProps
145
- } = this.props;
146
- if (clear_data) {
147
- this._backstore.removeItem(id);
148
- setProps({
149
- clear_data: false,
150
- data: null,
151
- modified_timestamp: this._backstore.getModified(id)
152
- });
153
- return;
154
- }
155
- var old = this._backstore.getItem(id);
156
- // Only set the data if it's not the same data.
157
- // If the new data is undefined, we got here by overwriting the entire
158
- // component with a new copy that has no `data` specified - so pull back
159
- // out the old value.
160
- // Note: this still allows you to set data to null
161
- if (!(0, _ramda.equals)(data, old)) {
162
- if (data === undefined) {
134
+ _inherits(Store, _React$Component);
135
+ return _createClass(Store, [{
136
+ key: "onStorageChange",
137
+ value: function onStorageChange(e) {
138
+ var _this$props = this.props,
139
+ id = _this$props.id,
140
+ setProps = _this$props.setProps;
141
+ if (e.key === id && setProps && e.newValue !== e.oldValue) {
163
142
  setProps({
164
- data: old
143
+ data: JSON.parse(e.newValue),
144
+ modified_timestamp: this._backstore.getModified(id)
165
145
  });
166
- } else {
146
+ }
147
+ }
148
+ }, {
149
+ key: "UNSAFE_componentWillMount",
150
+ value: function UNSAFE_componentWillMount() {
151
+ var _this$props2 = this.props,
152
+ setProps = _this$props2.setProps,
153
+ id = _this$props2.id,
154
+ data = _this$props2.data,
155
+ storage_type = _this$props2.storage_type;
156
+ if (storage_type !== 'memory') {
157
+ window.addEventListener('storage', this.onStorageChange);
158
+ }
159
+ var old = this._backstore.getItem(id);
160
+ if ((0, _ramda.isNil)(old) && !(0, _ramda.isNil)(data)) {
161
+ // Initial data mount
167
162
  this._backstore.setItem(id, data);
168
163
  setProps({
169
164
  modified_timestamp: this._backstore.getModified(id)
170
165
  });
166
+ return;
167
+ }
168
+ if (!(0, _ramda.equals)(old, data)) {
169
+ setProps({
170
+ data: old,
171
+ modified_timestamp: this._backstore.getModified(id)
172
+ });
171
173
  }
172
174
  }
173
- }
174
- render() {
175
- return null;
176
- }
177
- }
178
- exports.default = Store;
175
+ }, {
176
+ key: "componentWillUnmount",
177
+ value: function componentWillUnmount() {
178
+ if (this.props.storage_type !== 'memory') {
179
+ window.removeEventListener('storage', this.onStorageChange);
180
+ }
181
+ }
182
+ }, {
183
+ key: "componentDidUpdate",
184
+ value: function componentDidUpdate() {
185
+ var _this$props3 = this.props,
186
+ data = _this$props3.data,
187
+ id = _this$props3.id,
188
+ clear_data = _this$props3.clear_data,
189
+ setProps = _this$props3.setProps;
190
+ if (clear_data) {
191
+ this._backstore.removeItem(id);
192
+ setProps({
193
+ clear_data: false,
194
+ data: null,
195
+ modified_timestamp: this._backstore.getModified(id)
196
+ });
197
+ return;
198
+ }
199
+ var old = this._backstore.getItem(id);
200
+ // Only set the data if it's not the same data.
201
+ // If the new data is undefined, we got here by overwriting the entire
202
+ // component with a new copy that has no `data` specified - so pull back
203
+ // out the old value.
204
+ // Note: this still allows you to set data to null
205
+ if (!(0, _ramda.equals)(data, old)) {
206
+ if (data === undefined) {
207
+ setProps({
208
+ data: old
209
+ });
210
+ } else {
211
+ this._backstore.setItem(id, data);
212
+ setProps({
213
+ modified_timestamp: this._backstore.getModified(id)
214
+ });
215
+ }
216
+ }
217
+ }
218
+ }, {
219
+ key: "render",
220
+ value: function render() {
221
+ return null;
222
+ }
223
+ }]);
224
+ }(_react.default.Component);
179
225
  Store.defaultProps = {
180
226
  storage_type: 'memory',
181
227
  clear_data: false,
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
@@ -7,21 +8,40 @@ exports.propTypes = exports.defaultProps = exports.default = void 0;
7
8
  var _propTypes = _interopRequireDefault(require("prop-types"));
8
9
  var _react = _interopRequireWildcard(require("react"));
9
10
  var _upload = _interopRequireDefault(require("../utils/LazyLoader/upload"));
10
- function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
11
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
11
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
13
+ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
+ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
+ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
19
+ function _possibleConstructorReturn(t, e) { if (e && ("object" == _typeof(e) || "function" == typeof e)) return e; if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined"); return _assertThisInitialized(t); }
20
+ function _assertThisInitialized(e) { if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); return e; }
21
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
22
+ function _getPrototypeOf(t) { return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) { return t.__proto__ || Object.getPrototypeOf(t); }, _getPrototypeOf(t); }
23
+ function _inherits(t, e) { if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function"); t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && _setPrototypeOf(t, e); }
24
+ function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
12
25
  var RealUpload = /*#__PURE__*/(0, _react.lazy)(_upload.default);
13
26
 
14
27
  /**
15
28
  * Upload components allow your app to accept user-uploaded files via drag'n'drop
16
29
  */
17
- class Upload extends _react.Component {
18
- render() {
19
- return /*#__PURE__*/_react.default.createElement(_react.Suspense, {
20
- fallback: null
21
- }, /*#__PURE__*/_react.default.createElement(RealUpload, this.props));
30
+ var Upload = exports.default = /*#__PURE__*/function (_Component) {
31
+ function Upload() {
32
+ _classCallCheck(this, Upload);
33
+ return _callSuper(this, Upload, arguments);
22
34
  }
23
- }
24
- exports.default = Upload;
35
+ _inherits(Upload, _Component);
36
+ return _createClass(Upload, [{
37
+ key: "render",
38
+ value: function render() {
39
+ return /*#__PURE__*/_react.default.createElement(_react.Suspense, {
40
+ fallback: null
41
+ }, /*#__PURE__*/_react.default.createElement(RealUpload, this.props));
42
+ }
43
+ }]);
44
+ }(_react.Component);
25
45
  Upload.propTypes = {
26
46
  /**
27
47
  * The ID of this component, used to identify dash components
@@ -55,6 +55,12 @@
55
55
  cursor: not-allowed;
56
56
  }
57
57
 
58
+ .dash-dropdown-focus-target {
59
+ position: absolute;
60
+ opacity: 0;
61
+ pointer-events: none;
62
+ }
63
+
58
64
  .dash-dropdown-value {
59
65
  max-width: 100%;
60
66
  text-align: left;
@@ -92,6 +92,7 @@
92
92
  .dash-slider-mark {
93
93
  position: absolute;
94
94
  font-size: 12px;
95
+ height: 12px;
95
96
  line-height: 12px;
96
97
  color: var(--Dash-Text-Strong);
97
98
  white-space: nowrap;