@fewbox/den-web 0.1.37 → 0.1.39

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fewbox/den-web",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "main": "index.js",
5
5
  "types": "index-web.d.ts",
6
6
  "repository": "https://github.com/FewBox/fewbox-den.git",
@@ -1,8 +1,10 @@
1
1
  import { IBaseInputProps } from "..";
2
2
  import { ColorType } from "../../../Engine";
3
+ export type TLength = (string & {}) | 0;
3
4
  export interface IVRangeProps extends IBaseInputProps {
4
- controlBackgroundColor: ColorType;
5
- controlBorderColor: ColorType;
5
+ thumbColor: ColorType;
6
+ thumbBorderColor: ColorType;
7
+ trackColor: ColorType;
6
8
  }
7
9
  declare const VRange: (props: IVRangeProps) => React.JSX.Element;
8
10
  export default VRange;
@@ -1,5 +1,5 @@
1
1
  import { IBaseProps, TLength } from "../../Engine/Base";
2
- import { ColorType, FontSizeType } from "../../Engine";
2
+ import { FontSizeType } from "../../Engine";
3
3
  import { LabelCategory } from "../VLabel";
4
4
  import { Property } from 'csstype';
5
5
  export interface IBaseInputProps extends IBaseProps<'input'> {
@@ -12,7 +12,6 @@ export interface IBaseInputProps extends IBaseProps<'input'> {
12
12
  setStateHook?: (value: string) => void;
13
13
  isValueShow?: boolean;
14
14
  valueSize?: FontSizeType;
15
- valueColor?: ColorType;
16
15
  valueCategory?: LabelCategory;
17
16
  valuePadding?: Property.Padding<TLength>;
18
17
  inputStyle?: React.CSSProperties;
@@ -254,12 +254,6 @@ $border-positions: "all", "top", "right", "bottom", "left", "except-top", "excep
254
254
  @each $color, $value in v.$colors {
255
255
  .#{$color}-background {
256
256
  background-color: var(#{v.$var-prefix}color-#{$color});
257
- @if ($color == "primary") {
258
- color: var(#{v.$var-prefix}color-white);
259
- }
260
- &::-webkit-slider-thumb {
261
- background-color: var(#{v.$var-prefix}color-#{$color});
262
- }
263
257
  }
264
258
  }
265
259
  /* front */
@@ -272,9 +266,6 @@ $border-positions: "all", "top", "right", "bottom", "left", "except-top", "excep
272
266
  @each $color, $value in v.$colors {
273
267
  .#{$color}-border {
274
268
  border-color: var(#{v.$var-prefix}color-#{$color}) !important;
275
- &::-webkit-slider-thumb {
276
- border-color: var(#{v.$var-prefix}color-#{$color}) !important;
277
- }
278
269
  }
279
270
  }
280
271
  /* size */