softable-pixels-web 1.0.0 → 1.0.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.
@@ -1,69 +0,0 @@
1
- import { CSSProperties, ReactNode } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/hooks/useThemedStyles/types/styleProps.d.ts
5
- type Space = number | string;
6
- type Size = number | string;
7
- interface MarginProps {
8
- m?: Space;
9
- mx?: Space;
10
- my?: Space;
11
- mt?: Space;
12
- mr?: Space;
13
- mb?: Space;
14
- ml?: Space;
15
- }
16
- interface PaddingProps {
17
- p?: Space;
18
- px?: Space;
19
- py?: Space;
20
- pt?: Space;
21
- pr?: Space;
22
- pb?: Space;
23
- pl?: Space;
24
- }
25
- interface TextProps {
26
- fontSize?: number | string;
27
- fontWeight?: React.CSSProperties['fontWeight'];
28
- lineHeight?: number | string;
29
- textAlign?: React.CSSProperties['textAlign'];
30
- }
31
- interface LayoutProps {
32
- w?: Size;
33
- h?: Size;
34
- minW?: Size;
35
- maxW?: Size;
36
- minH?: Size;
37
- maxH?: Size;
38
- }
39
- type CommonStyleProps = MarginProps & PaddingProps & TextProps & LayoutProps;
40
- //#endregion
41
- //#region src/components/toolkit/TabSwitch/styles.d.ts
42
- declare function createTabSwitchStyles<T>(props: TabSwitchProps<T>): {
43
- container: CSSProperties;
44
- };
45
- //#endregion
46
- //#region src/components/toolkit/TabSwitch/types.d.ts
47
- interface SwitchOption<T> {
48
- value: T;
49
- label: string;
50
- disabled?: boolean;
51
- icon?: ReactNode;
52
- }
53
- interface TabSwitchProps<T> extends CommonStyleProps {
54
- currentValue: T;
55
- options: SwitchOption<T>[];
56
- disabled?: boolean;
57
- fitContent?: boolean;
58
- layoutId?: string;
59
- selectedLabelColor?: string;
60
- variant?: 'default' | 'underline';
61
- styles?: Partial<ReturnType<typeof createTabSwitchStyles>>;
62
- onChange: (value: T) => void;
63
- }
64
- //#endregion
65
- //#region src/components/toolkit/TabSwitch/index.d.ts
66
- declare function TabSwitch<T>(props: TabSwitchProps<T>): react_jsx_runtime0.JSX.Element;
67
- //#endregion
68
- export { SwitchOption as n, TabSwitchProps as r, TabSwitch as t };
69
- //# sourceMappingURL=index-CZOu4S--.d.ts.map