@everlywell/ui-kit 1.1.1 → 1.1.3
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 +194 -174
- package/lib/theme/actions/Checkbox/Checkbox.config.d.ts +1 -0
- 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 +40 -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;
|
|
@@ -398,6 +390,7 @@ export declare const theme: {
|
|
|
398
390
|
boxSize: number;
|
|
399
391
|
padding: number;
|
|
400
392
|
borderRadius: string;
|
|
393
|
+
borderStyle: string;
|
|
401
394
|
borderWidth: number;
|
|
402
395
|
borderColor: string;
|
|
403
396
|
color: string;
|
|
@@ -1026,6 +1019,24 @@ export declare const theme: {
|
|
|
1026
1019
|
} | undefined;
|
|
1027
1020
|
parts: ("label" | "track" | "filledTrack")[];
|
|
1028
1021
|
};
|
|
1022
|
+
Slider: {
|
|
1023
|
+
baseStyle?: {
|
|
1024
|
+
thumb: {
|
|
1025
|
+
cursor: string;
|
|
1026
|
+
boxShadow: string;
|
|
1027
|
+
};
|
|
1028
|
+
track: {
|
|
1029
|
+
h: string;
|
|
1030
|
+
};
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
sizes?: {} | undefined;
|
|
1033
|
+
variants?: {} | undefined;
|
|
1034
|
+
defaultProps?: {
|
|
1035
|
+
size?: undefined;
|
|
1036
|
+
variant?: undefined;
|
|
1037
|
+
colorScheme?: string | undefined;
|
|
1038
|
+
} | undefined;
|
|
1039
|
+
};
|
|
1029
1040
|
Spinner: {
|
|
1030
1041
|
baseStyle?: {} | undefined;
|
|
1031
1042
|
sizes?: {
|
|
@@ -2077,15 +2088,7 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2077
2088
|
bg: string;
|
|
2078
2089
|
color: string;
|
|
2079
2090
|
};
|
|
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
|
-
*/
|
|
2091
|
+
};
|
|
2089
2092
|
secondary: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
2090
2093
|
color: string;
|
|
2091
2094
|
boxShadow: (theme: Record<string, any>) => string;
|
|
@@ -2117,6 +2120,7 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2117
2120
|
boxSize: number;
|
|
2118
2121
|
padding: number;
|
|
2119
2122
|
borderRadius: string;
|
|
2123
|
+
borderStyle: string;
|
|
2120
2124
|
borderWidth: number;
|
|
2121
2125
|
borderColor: string;
|
|
2122
2126
|
color: string;
|
|
@@ -2745,6 +2749,24 @@ export declare const useTheme: () => import("@chakra-ui/styled-system").WithCSSV
|
|
|
2745
2749
|
} | undefined;
|
|
2746
2750
|
parts: ("label" | "track" | "filledTrack")[];
|
|
2747
2751
|
};
|
|
2752
|
+
Slider: {
|
|
2753
|
+
baseStyle?: {
|
|
2754
|
+
thumb: {
|
|
2755
|
+
cursor: string;
|
|
2756
|
+
boxShadow: string;
|
|
2757
|
+
};
|
|
2758
|
+
track: {
|
|
2759
|
+
h: string;
|
|
2760
|
+
};
|
|
2761
|
+
} | undefined;
|
|
2762
|
+
sizes?: {} | undefined;
|
|
2763
|
+
variants?: {} | undefined;
|
|
2764
|
+
defaultProps?: {
|
|
2765
|
+
size?: undefined;
|
|
2766
|
+
variant?: undefined;
|
|
2767
|
+
colorScheme?: string | undefined;
|
|
2768
|
+
} | undefined;
|
|
2769
|
+
};
|
|
2748
2770
|
Spinner: {
|
|
2749
2771
|
baseStyle?: {} | undefined;
|
|
2750
2772
|
sizes?: {
|