@sheinx/shineout-style 3.0.9 → 3.0.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AA6C1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAoiBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AA6C1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAujBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -116,6 +116,7 @@ var datePickerStyle = _objectSpread(_objectSpread({
116
116
  resultText: {
117
117
  lineHeight: _theme.default.lineHeightDynamic,
118
118
  position: 'relative',
119
+ zIndex: 0,
119
120
  flex: '1',
120
121
  minWidth: 0,
121
122
  '&::before': {
@@ -124,7 +125,25 @@ var datePickerStyle = _objectSpread(_objectSpread({
124
125
  }
125
126
  },
126
127
  resultTextPadding: {
128
+ position: 'relative',
129
+ zIndex: 2,
130
+ '& > input': {
131
+ color: 'inherit',
132
+ padding: '0',
133
+ border: '0',
134
+ outline: '0',
135
+ fontSize: 'inherit',
136
+ lineHeight: _theme.default.lineHeightDynamic,
137
+ backgroundColor: 'transparent',
138
+ width: '100%',
139
+ '&::placeholder': {
140
+ color: _theme.default.datePickerPlaceholderColor
141
+ }
142
+ }
143
+ },
144
+ resultTextBg: {
127
145
  position: 'absolute',
146
+ zIndex: 1,
128
147
  padding: "0 ".concat(_theme.default.datePickerResultTextPaddingX),
129
148
  left: "calc(-1 * ".concat(_theme.default.datePickerResultTextPaddingX, ")"),
130
149
  right: "calc(-1 * ".concat(_theme.default.datePickerResultTextPaddingX, ")"),
@@ -146,7 +165,7 @@ var datePickerStyle = _objectSpread(_objectSpread({
146
165
  }
147
166
  },
148
167
  resultTextActive: {
149
- '& $resultTextPadding': {
168
+ '& $resultTextBg': {
150
169
  backgroundColor: _theme.default.datePickerResultTextActiveBackgroundColor
151
170
  }
152
171
  },
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.0.9";
1
+ declare const _default: "3.0.10";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAwB"}
package/cjs/version.js CHANGED
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '3.0.9';
7
+ var _default = exports.default = '3.0.10';
@@ -1 +1 @@
1
- {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AA6C1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAoiBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"date-picker.d.ts","sourceRoot":"","sources":["date-picker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAGxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AA6C1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAujBlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -109,6 +109,7 @@ var datePickerStyle = _objectSpread(_objectSpread({
109
109
  resultText: {
110
110
  lineHeight: token.lineHeightDynamic,
111
111
  position: 'relative',
112
+ zIndex: 0,
112
113
  flex: '1',
113
114
  minWidth: 0,
114
115
  '&::before': {
@@ -117,7 +118,25 @@ var datePickerStyle = _objectSpread(_objectSpread({
117
118
  }
118
119
  },
119
120
  resultTextPadding: {
121
+ position: 'relative',
122
+ zIndex: 2,
123
+ '& > input': {
124
+ color: 'inherit',
125
+ padding: '0',
126
+ border: '0',
127
+ outline: '0',
128
+ fontSize: 'inherit',
129
+ lineHeight: token.lineHeightDynamic,
130
+ backgroundColor: 'transparent',
131
+ width: '100%',
132
+ '&::placeholder': {
133
+ color: token.datePickerPlaceholderColor
134
+ }
135
+ }
136
+ },
137
+ resultTextBg: {
120
138
  position: 'absolute',
139
+ zIndex: 1,
121
140
  padding: "0 ".concat(token.datePickerResultTextPaddingX),
122
141
  left: "calc(-1 * ".concat(token.datePickerResultTextPaddingX, ")"),
123
142
  right: "calc(-1 * ".concat(token.datePickerResultTextPaddingX, ")"),
@@ -139,7 +158,7 @@ var datePickerStyle = _objectSpread(_objectSpread({
139
158
  }
140
159
  },
141
160
  resultTextActive: {
142
- '& $resultTextPadding': {
161
+ '& $resultTextBg': {
143
162
  backgroundColor: token.datePickerResultTextActiveBackgroundColor
144
163
  }
145
164
  },
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.0.9";
1
+ declare const _default: "3.0.10";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAuB"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["version.ts"],"names":[],"mappings":";AAAA,wBAAwB"}
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.0.9';
1
+ export default '3.0.10';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "dependencies": {
18
18
  "jss": "10.9.2",
19
19
  "react-jss": "10.9.2",
20
- "@sheinx/theme": "3.0.9",
21
- "@sheinx/base": "3.0.9"
20
+ "@sheinx/theme": "3.0.10",
21
+ "@sheinx/base": "3.0.10"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"