@everlywell/ui-kit 1.1.1 → 1.1.2
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/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +5 -5
- package/index.mjs +193 -174
- package/lib/theme/actions/Slider/Slider.config.d.ts +19 -0
- package/lib/theme/actions/Slider/Slider.d.ts +3 -0
- package/lib/theme/index.d.ts +38 -18
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
thumb: {
|
|
4
|
+
cursor: string;
|
|
5
|
+
boxShadow: string;
|
|
6
|
+
};
|
|
7
|
+
track: {
|
|
8
|
+
h: string;
|
|
9
|
+
};
|
|
10
|
+
} | undefined;
|
|
11
|
+
sizes?: {} | undefined;
|
|
12
|
+
variants?: {} | undefined;
|
|
13
|
+
defaultProps?: {
|
|
14
|
+
size?: undefined;
|
|
15
|
+
variant?: undefined;
|
|
16
|
+
colorScheme?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { Slider } from '@chakra-ui/react';
|
|
2
|
+
export { Slider, type SliderProps, SliderTrack, type SliderTrackProps, SliderFilledTrack, type SliderInnerTrackProps, SliderThumb, type SliderThumbProps, SliderMark, type SliderMarkProps, } from '@chakra-ui/react';
|
|
3
|
+
export default Slider;
|
package/lib/theme/index.d.ts
CHANGED
|
@@ -358,15 +358,7 @@ export declare const theme: {
|
|
|
358
358
|
bg: string;
|
|
359
359
|
color: string;
|
|
360
360
|
};
|
|
361
|
-
};
|
|
362
|
-
* Base unit: 4px
|
|
363
|
-
* 1 rem = 16px
|
|
364
|
-
*
|
|
365
|
-
* Mental model:
|
|
366
|
-
*
|
|
367
|
-
* If you need a spacing of 40px, divide it by 4.
|
|
368
|
-
* That'll give you 10. Then use it in your component.
|
|
369
|
-
*/
|
|
361
|
+
};
|
|
370
362
|
secondary: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
371
363
|
color: string;
|
|
372
364
|
boxShadow: (theme: Record<string, any>) => string;
|
|
@@ -1026,6 +1018,24 @@ export declare const theme: {
|
|
|
1026
1018
|
} | undefined;
|
|
1027
1019
|
parts: ("label" | "track" | "filledTrack")[];
|
|
1028
1020
|
};
|
|
1021
|
+
Slider: {
|
|
1022
|
+
baseStyle?: {
|
|
1023
|
+
thumb: {
|
|
1024
|
+
cursor: string;
|
|
1025
|
+
boxShadow: string;
|
|
1026
|
+
};
|
|
1027
|
+
track: {
|
|
1028
|
+
h: string;
|
|
1029
|
+
};
|
|
1030
|
+
} | undefined;
|
|
1031
|
+
sizes?: {} | undefined;
|
|
1032
|
+
variants?: {} | undefined;
|
|
1033
|
+
defaultProps?: {
|
|
1034
|
+
size?: undefined;
|
|
1035
|
+
variant?: undefined;
|
|
1036
|
+
colorScheme?: string | undefined;
|
|
1037
|
+
} | undefined;
|
|
1038
|
+
};
|
|
1029
1039
|
Spinner: {
|
|
1030
1040
|
baseStyle?: {} | undefined;
|
|
1031
1041
|
sizes?: {
|
|
@@ -2077,15 +2087,7 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2077
2087
|
bg: string;
|
|
2078
2088
|
color: string;
|
|
2079
2089
|
};
|
|
2080
|
-
};
|
|
2081
|
-
* Base unit: 4px
|
|
2082
|
-
* 1 rem = 16px
|
|
2083
|
-
*
|
|
2084
|
-
* Mental model:
|
|
2085
|
-
*
|
|
2086
|
-
* If you need a spacing of 40px, divide it by 4.
|
|
2087
|
-
* That'll give you 10. Then use it in your component.
|
|
2088
|
-
*/
|
|
2090
|
+
};
|
|
2089
2091
|
secondary: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
2090
2092
|
color: string;
|
|
2091
2093
|
boxShadow: (theme: Record<string, any>) => string;
|
|
@@ -2745,6 +2747,24 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2745
2747
|
} | undefined;
|
|
2746
2748
|
parts: ("label" | "track" | "filledTrack")[];
|
|
2747
2749
|
};
|
|
2750
|
+
Slider: {
|
|
2751
|
+
baseStyle?: {
|
|
2752
|
+
thumb: {
|
|
2753
|
+
cursor: string;
|
|
2754
|
+
boxShadow: string;
|
|
2755
|
+
};
|
|
2756
|
+
track: {
|
|
2757
|
+
h: string;
|
|
2758
|
+
};
|
|
2759
|
+
} | undefined;
|
|
2760
|
+
sizes?: {} | undefined;
|
|
2761
|
+
variants?: {} | undefined;
|
|
2762
|
+
defaultProps?: {
|
|
2763
|
+
size?: undefined;
|
|
2764
|
+
variant?: undefined;
|
|
2765
|
+
colorScheme?: string | undefined;
|
|
2766
|
+
} | undefined;
|
|
2767
|
+
};
|
|
2748
2768
|
Spinner: {
|
|
2749
2769
|
baseStyle?: {} | undefined;
|
|
2750
2770
|
sizes?: {
|