@instructure/ui-range-input 8.9.2-snapshot.4 → 8.10.1-snapshot.4
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 +4 -0
- package/es/RangeInput/index.js +2 -2
- package/lib/RangeInput/index.js +2 -2
- package/package.json +19 -19
- package/src/RangeInput/index.tsx +5 -2
- package/src/RangeInput/props.ts +9 -4
- package/src/RangeInput/styles.ts +3 -3
- package/types/RangeInput/index.d.ts.map +1 -1
- package/types/RangeInput/props.d.ts +5 -4
- package/types/RangeInput/props.d.ts.map +1 -1
- package/types/RangeInput/styles.d.ts +3 -117
- package/types/RangeInput/styles.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [8.10.0](https://github.com/instructure/instructure-ui/compare/v8.9.1...v8.10.0) (2021-09-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @instructure/ui-range-input
|
|
9
|
+
|
|
6
10
|
## [8.9.1](https://github.com/instructure/instructure-ui/compare/v8.9.0...v8.9.1) (2021-09-16)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @instructure/ui-range-input
|
package/es/RangeInput/index.js
CHANGED
|
@@ -143,10 +143,10 @@ let RangeInput = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
|
|
|
143
143
|
formatValue = _this$props4.formatValue,
|
|
144
144
|
disabled = _this$props4.disabled,
|
|
145
145
|
readOnly = _this$props4.readOnly;
|
|
146
|
-
const props = omitProps(this.props, RangeInput.
|
|
146
|
+
const props = omitProps(this.props, RangeInput.allowedProps);
|
|
147
147
|
/* eslint-disable jsx-a11y/no-redundant-roles */
|
|
148
148
|
|
|
149
|
-
return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.
|
|
149
|
+
return jsx(FormField, Object.assign({}, pickProps(this.props, FormField.allowedProps), {
|
|
150
150
|
id: this.id
|
|
151
151
|
}), jsx("div", {
|
|
152
152
|
css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.rangeInput
|
package/lib/RangeInput/index.js
CHANGED
|
@@ -139,10 +139,10 @@ let RangeInput = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
|
|
|
139
139
|
formatValue = _this$props4.formatValue,
|
|
140
140
|
disabled = _this$props4.disabled,
|
|
141
141
|
readOnly = _this$props4.readOnly;
|
|
142
|
-
const props = (0, _omitProps.omitProps)(this.props, RangeInput.
|
|
142
|
+
const props = (0, _omitProps.omitProps)(this.props, RangeInput.allowedProps);
|
|
143
143
|
/* eslint-disable jsx-a11y/no-redundant-roles */
|
|
144
144
|
|
|
145
|
-
return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.
|
|
145
|
+
return (0, _emotion.jsx)(_FormField.FormField, Object.assign({}, (0, _pickProps.pickProps)(this.props, _FormField.FormField.allowedProps), {
|
|
146
146
|
id: this.id
|
|
147
147
|
}), (0, _emotion.jsx)("div", {
|
|
148
148
|
css: (_this$props$styles2 = this.props.styles) === null || _this$props$styles2 === void 0 ? void 0 : _this$props$styles2.rangeInput
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-range-input",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.1-snapshot.4+6c5c9e653",
|
|
4
4
|
"description": "A styled HTML range input",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -25,26 +25,26 @@
|
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@babel/runtime": "^7.13.10",
|
|
28
|
-
"@instructure/console": "8.
|
|
29
|
-
"@instructure/emotion": "8.
|
|
30
|
-
"@instructure/shared-types": "8.
|
|
31
|
-
"@instructure/ui-color-utils": "8.
|
|
32
|
-
"@instructure/ui-dom-utils": "8.
|
|
33
|
-
"@instructure/ui-form-field": "8.
|
|
34
|
-
"@instructure/ui-i18n": "8.
|
|
35
|
-
"@instructure/ui-prop-types": "8.
|
|
36
|
-
"@instructure/ui-react-utils": "8.
|
|
37
|
-
"@instructure/ui-testable": "8.
|
|
38
|
-
"@instructure/ui-utils": "8.
|
|
39
|
-
"@instructure/ui-view": "8.
|
|
40
|
-
"@instructure/uid": "8.
|
|
28
|
+
"@instructure/console": "8.10.1-snapshot.4+6c5c9e653",
|
|
29
|
+
"@instructure/emotion": "8.10.1-snapshot.4+6c5c9e653",
|
|
30
|
+
"@instructure/shared-types": "8.10.1-snapshot.4+6c5c9e653",
|
|
31
|
+
"@instructure/ui-color-utils": "8.10.1-snapshot.4+6c5c9e653",
|
|
32
|
+
"@instructure/ui-dom-utils": "8.10.1-snapshot.4+6c5c9e653",
|
|
33
|
+
"@instructure/ui-form-field": "8.10.1-snapshot.4+6c5c9e653",
|
|
34
|
+
"@instructure/ui-i18n": "8.10.1-snapshot.4+6c5c9e653",
|
|
35
|
+
"@instructure/ui-prop-types": "8.10.1-snapshot.4+6c5c9e653",
|
|
36
|
+
"@instructure/ui-react-utils": "8.10.1-snapshot.4+6c5c9e653",
|
|
37
|
+
"@instructure/ui-testable": "8.10.1-snapshot.4+6c5c9e653",
|
|
38
|
+
"@instructure/ui-utils": "8.10.1-snapshot.4+6c5c9e653",
|
|
39
|
+
"@instructure/ui-view": "8.10.1-snapshot.4+6c5c9e653",
|
|
40
|
+
"@instructure/uid": "8.10.1-snapshot.4+6c5c9e653",
|
|
41
41
|
"prop-types": "^15"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@instructure/ui-babel-preset": "8.
|
|
45
|
-
"@instructure/ui-test-locator": "8.
|
|
46
|
-
"@instructure/ui-test-utils": "8.
|
|
47
|
-
"@instructure/ui-themes": "8.
|
|
44
|
+
"@instructure/ui-babel-preset": "8.10.1-snapshot.4+6c5c9e653",
|
|
45
|
+
"@instructure/ui-test-locator": "8.10.1-snapshot.4+6c5c9e653",
|
|
46
|
+
"@instructure/ui-test-utils": "8.10.1-snapshot.4+6c5c9e653",
|
|
47
|
+
"@instructure/ui-themes": "8.10.1-snapshot.4+6c5c9e653"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": ">=16.8 <=17"
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"sideEffects": false,
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "6c5c9e653f7ce3d239296f4ed19c5679fdddcd5b"
|
|
57
57
|
}
|
package/src/RangeInput/index.tsx
CHANGED
|
@@ -175,12 +175,15 @@ class RangeInput extends Component<RangeInputProps> {
|
|
|
175
175
|
render() {
|
|
176
176
|
const { formatValue, disabled, readOnly } = this.props
|
|
177
177
|
|
|
178
|
-
const props = omitProps(this.props, RangeInput.
|
|
178
|
+
const props = omitProps(this.props, RangeInput.allowedProps)
|
|
179
179
|
|
|
180
180
|
/* eslint-disable jsx-a11y/no-redundant-roles */
|
|
181
181
|
return (
|
|
182
182
|
// @ts-expect-error ts-migrate(2554) FIXME: no overload..
|
|
183
|
-
<FormField
|
|
183
|
+
<FormField
|
|
184
|
+
{...pickProps(this.props, FormField.allowedProps)}
|
|
185
|
+
id={this.id}
|
|
186
|
+
>
|
|
184
187
|
<div css={this.props.styles?.rangeInput}>
|
|
185
188
|
<input
|
|
186
189
|
css={this.props.styles?.rangeInputInput}
|
package/src/RangeInput/props.ts
CHANGED
|
@@ -26,9 +26,9 @@ import PropTypes from 'prop-types'
|
|
|
26
26
|
import { controllable } from '@instructure/ui-prop-types'
|
|
27
27
|
import { FormPropTypes } from '@instructure/ui-form-field'
|
|
28
28
|
|
|
29
|
-
import type { PropValidators } from '@instructure/shared-types'
|
|
29
|
+
import type { PropValidators, RangeInputTheme } from '@instructure/shared-types'
|
|
30
30
|
import type { FormMessage } from '@instructure/ui-form-field'
|
|
31
|
-
import type { WithStyleProps } from '@instructure/emotion'
|
|
31
|
+
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
32
32
|
|
|
33
33
|
type RangeInputOwnProps = {
|
|
34
34
|
min: number
|
|
@@ -53,7 +53,12 @@ type PropKeys = keyof RangeInputOwnProps
|
|
|
53
53
|
|
|
54
54
|
type AllowedPropKeys = Readonly<Array<PropKeys>>
|
|
55
55
|
|
|
56
|
-
type RangeInputProps = RangeInputOwnProps &
|
|
56
|
+
type RangeInputProps = RangeInputOwnProps &
|
|
57
|
+
WithStyleProps<RangeInputTheme, RangeInputStyle>
|
|
58
|
+
|
|
59
|
+
type RangeInputStyle = ComponentStyle<
|
|
60
|
+
'rangeInput' | 'rangeInputInput' | 'rangeInputInputValue'
|
|
61
|
+
>
|
|
57
62
|
|
|
58
63
|
const propTypes: PropValidators<PropKeys> = {
|
|
59
64
|
min: PropTypes.number.isRequired,
|
|
@@ -111,5 +116,5 @@ const allowedProps: AllowedPropKeys = [
|
|
|
111
116
|
'readOnly'
|
|
112
117
|
]
|
|
113
118
|
|
|
114
|
-
export type { RangeInputProps }
|
|
119
|
+
export type { RangeInputProps, RangeInputStyle }
|
|
115
120
|
export { propTypes, allowedProps }
|
package/src/RangeInput/styles.ts
CHANGED
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
import { RangeInputTheme } from '@instructure/shared-types'
|
|
26
|
-
import { RangeInputProps } from './props'
|
|
25
|
+
import type { RangeInputTheme } from '@instructure/shared-types'
|
|
26
|
+
import type { RangeInputProps, RangeInputStyle } from './props'
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* ---
|
|
@@ -38,7 +38,7 @@ import { RangeInputProps } from './props'
|
|
|
38
38
|
const generateStyle = (
|
|
39
39
|
componentTheme: RangeInputTheme,
|
|
40
40
|
props: RangeInputProps
|
|
41
|
-
) => {
|
|
41
|
+
): RangeInputStyle => {
|
|
42
42
|
const { size } = props
|
|
43
43
|
const valueSizeVariants = {
|
|
44
44
|
small: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RangeInput/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C;;;;GAIG;AACH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAO;IACtC,cAAc,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAChD,eAAe,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;gBAGrC,KAAK,KAAA;IAejB,iBAAiB;IAkBjB,oBAAoB;IAWpB,kBAAkB;IAKlB,YAAY,uBAUX;IAGD,UAAU,aAAW;IAErB,IAAI,KAAK,QAKR;IAED,IAAI,OAAO,wBAOV;IAED,IAAI,EAAE,QAGL;IAGD,WAAW;IAgBX,MAAM;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RangeInput/index.tsx"],"names":[],"mappings":"AAwBA,eAAe;AACf,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMjC,OAAO,EAAa,GAAG,EAAE,MAAM,sBAAsB,CAAA;AAMrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C;;;;GAIG;AACH,cAEM,UAAW,SAAQ,SAAS,CAAC,eAAe,CAAC;IACjD,MAAM,CAAC,QAAQ,CAAC,WAAW,gBAAe;IAE1C,MAAM,CAAC,YAAY;;;;;;;;;;;;;;;;;SAAe;IAClC,MAAM,CAAC,SAAS;;;;;;;;;;;;;;;;;OAAY;IAE5B,MAAM,CAAC,YAAY;;;;;;;;;;;MAYlB;IAED,MAAM,EAAE,gBAAgB,GAAG,IAAI,CAAO;IACtC,cAAc,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;IAChD,eAAe,EAAE;QAAE,MAAM,IAAI,IAAI,CAAA;KAAE,GAAG,IAAI,CAAO;gBAGrC,KAAK,KAAA;IAejB,iBAAiB;IAkBjB,oBAAoB;IAWpB,kBAAkB;IAKlB,YAAY,uBAUX;IAGD,UAAU,aAAW;IAErB,IAAI,KAAK,QAKR;IAED,IAAI,OAAO,wBAOV;IAED,IAAI,EAAE,QAGL;IAGD,WAAW;IAgBX,MAAM;CAyCP;AAED,eAAe,UAAU,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import type { PropValidators } from '@instructure/shared-types';
|
|
2
|
+
import type { PropValidators, RangeInputTheme } from '@instructure/shared-types';
|
|
3
3
|
import type { FormMessage } from '@instructure/ui-form-field';
|
|
4
|
-
import type { WithStyleProps } from '@instructure/emotion';
|
|
4
|
+
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion';
|
|
5
5
|
declare type RangeInputOwnProps = {
|
|
6
6
|
min: number;
|
|
7
7
|
max: number;
|
|
@@ -22,9 +22,10 @@ declare type RangeInputOwnProps = {
|
|
|
22
22
|
};
|
|
23
23
|
declare type PropKeys = keyof RangeInputOwnProps;
|
|
24
24
|
declare type AllowedPropKeys = Readonly<Array<PropKeys>>;
|
|
25
|
-
declare type RangeInputProps = RangeInputOwnProps & WithStyleProps
|
|
25
|
+
declare type RangeInputProps = RangeInputOwnProps & WithStyleProps<RangeInputTheme, RangeInputStyle>;
|
|
26
|
+
declare type RangeInputStyle = ComponentStyle<'rangeInput' | 'rangeInputInput' | 'rangeInputInputValue'>;
|
|
26
27
|
declare const propTypes: PropValidators<PropKeys>;
|
|
27
28
|
declare const allowedProps: AllowedPropKeys;
|
|
28
|
-
export type { RangeInputProps };
|
|
29
|
+
export type { RangeInputProps, RangeInputStyle };
|
|
29
30
|
export { propTypes, allowedProps };
|
|
30
31
|
//# sourceMappingURL=props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/RangeInput/props.ts"],"names":[],"mappings":";AA4BA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"props.d.ts","sourceRoot":"","sources":["../../src/RangeInput/props.ts"],"names":[],"mappings":";AA4BA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1E,aAAK,kBAAkB,GAAG;IACxB,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,GAAG,CAAA;IACX,QAAQ,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IAClC,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;IACxB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAA;IACnC,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAA;IACrC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,aAAK,QAAQ,GAAG,MAAM,kBAAkB,CAAA;AAExC,aAAK,eAAe,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAA;AAEhD,aAAK,eAAe,GAAG,kBAAkB,GACvC,cAAc,CAAC,eAAe,EAAE,eAAe,CAAC,CAAA;AAElD,aAAK,eAAe,GAAG,cAAc,CACnC,YAAY,GAAG,iBAAiB,GAAG,sBAAsB,CAC1D,CAAA;AAED,QAAA,MAAM,SAAS,EAAE,cAAc,CAAC,QAAQ,CAmCvC,CAAA;AAED,QAAA,MAAM,YAAY,EAAE,eAiBnB,CAAA;AAED,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,CAAA;AAChD,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RangeInputTheme } from '@instructure/shared-types';
|
|
2
|
-
import { RangeInputProps } from './props';
|
|
1
|
+
import type { RangeInputTheme } from '@instructure/shared-types';
|
|
2
|
+
import type { RangeInputProps, RangeInputStyle } from './props';
|
|
3
3
|
/**
|
|
4
4
|
* ---
|
|
5
5
|
* private: true
|
|
@@ -10,120 +10,6 @@ import { RangeInputProps } from './props';
|
|
|
10
10
|
* @param {Object} state the state of the component, the style is applied to
|
|
11
11
|
* @return {Object} The final style object, which will be used in the component
|
|
12
12
|
*/
|
|
13
|
-
declare const generateStyle: (componentTheme: RangeInputTheme, props: RangeInputProps) =>
|
|
14
|
-
rangeInput: {
|
|
15
|
-
label: string;
|
|
16
|
-
display: string;
|
|
17
|
-
justifyContent: string;
|
|
18
|
-
alignItems: string;
|
|
19
|
-
minWidth: string | 0;
|
|
20
|
-
};
|
|
21
|
-
rangeInputInput: {
|
|
22
|
-
label: string;
|
|
23
|
-
all: string;
|
|
24
|
-
flex: string;
|
|
25
|
-
boxSizing: string;
|
|
26
|
-
appearance: string;
|
|
27
|
-
width: string;
|
|
28
|
-
outline: string;
|
|
29
|
-
margin: number;
|
|
30
|
-
'&::-webkit-slider-thumb': {
|
|
31
|
-
marginTop: string;
|
|
32
|
-
appearance: string;
|
|
33
|
-
borderRadius: string;
|
|
34
|
-
cursor: string;
|
|
35
|
-
transition: string;
|
|
36
|
-
width: string | 0;
|
|
37
|
-
height: string | 0;
|
|
38
|
-
background: string;
|
|
39
|
-
boxShadow: string;
|
|
40
|
-
'&:hover': {
|
|
41
|
-
background: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
'&::-moz-range-thumb': {
|
|
45
|
-
appearance: string;
|
|
46
|
-
borderRadius: string;
|
|
47
|
-
cursor: string;
|
|
48
|
-
transition: string;
|
|
49
|
-
width: string | 0;
|
|
50
|
-
height: string | 0;
|
|
51
|
-
background: string;
|
|
52
|
-
boxShadow: string;
|
|
53
|
-
'&:hover': {
|
|
54
|
-
background: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
'&:focus, &:active': {
|
|
58
|
-
outline: string;
|
|
59
|
-
'&::-webkit-slider-thumb': {
|
|
60
|
-
boxShadow: string;
|
|
61
|
-
};
|
|
62
|
-
'&::-moz-range-thumb': {
|
|
63
|
-
boxShadow: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
'&::-moz-focus-inner, &::-moz-focus-outer': {
|
|
67
|
-
border: number;
|
|
68
|
-
outline: string;
|
|
69
|
-
};
|
|
70
|
-
'&::-webkit-slider-runnable-track': {
|
|
71
|
-
borderRadius: string;
|
|
72
|
-
borderColor: string;
|
|
73
|
-
color: string;
|
|
74
|
-
cursor: string;
|
|
75
|
-
background: string;
|
|
76
|
-
height: string;
|
|
77
|
-
};
|
|
78
|
-
'&::-moz-range-track': {
|
|
79
|
-
borderRadius: string;
|
|
80
|
-
borderColor: string;
|
|
81
|
-
color: string;
|
|
82
|
-
cursor: string;
|
|
83
|
-
background: string;
|
|
84
|
-
height: string;
|
|
85
|
-
};
|
|
86
|
-
'[dir="rtl"] &': {
|
|
87
|
-
direction: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
rangeInputInputValue: {
|
|
91
|
-
fontSize: string | 0;
|
|
92
|
-
padding: string | 0;
|
|
93
|
-
lineHeight: string;
|
|
94
|
-
label: string;
|
|
95
|
-
all: string;
|
|
96
|
-
boxSizing: string;
|
|
97
|
-
display: string;
|
|
98
|
-
color: string;
|
|
99
|
-
fontFamily: string;
|
|
100
|
-
fontWeight: number;
|
|
101
|
-
textAlign: string;
|
|
102
|
-
} | {
|
|
103
|
-
fontSize: string | 0;
|
|
104
|
-
padding: string | 0;
|
|
105
|
-
lineHeight: string;
|
|
106
|
-
label: string;
|
|
107
|
-
all: string;
|
|
108
|
-
boxSizing: string;
|
|
109
|
-
display: string;
|
|
110
|
-
color: string;
|
|
111
|
-
fontFamily: string;
|
|
112
|
-
fontWeight: number;
|
|
113
|
-
textAlign: string;
|
|
114
|
-
} | {
|
|
115
|
-
fontSize: string | 0;
|
|
116
|
-
padding: string | 0;
|
|
117
|
-
lineHeight: string;
|
|
118
|
-
label: string;
|
|
119
|
-
all: string;
|
|
120
|
-
boxSizing: string;
|
|
121
|
-
display: string;
|
|
122
|
-
color: string;
|
|
123
|
-
fontFamily: string;
|
|
124
|
-
fontWeight: number;
|
|
125
|
-
textAlign: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
13
|
+
declare const generateStyle: (componentTheme: RangeInputTheme, props: RangeInputProps) => RangeInputStyle;
|
|
128
14
|
export default generateStyle;
|
|
129
15
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/RangeInput/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../src/RangeInput/styles.ts"],"names":[],"mappings":"AAwBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE/D;;;;;;;;;GASG;AACH,QAAA,MAAM,aAAa,mBACD,eAAe,SACxB,eAAe,KACrB,eA8FF,CAAA;AAED,eAAe,aAAa,CAAA"}
|