@knitui/components 0.1.1 → 0.3.0
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/README.md +8 -15
- package/lib/typescript/ActionIcon/ActionIcon.d.ts +7 -7
- package/lib/typescript/Alert/Alert.d.ts +7 -7
- package/lib/typescript/Autocomplete/Autocomplete.d.ts +2 -2
- package/lib/typescript/Avatar/Avatar.d.ts +23 -23
- package/lib/typescript/Badge/Badge.d.ts +7 -7
- package/lib/typescript/Blockquote/Blockquote.d.ts +7 -7
- package/lib/typescript/Button/Button.d.ts +9 -9
- package/lib/typescript/Checkbox/Checkbox.d.ts +8 -8
- package/lib/typescript/Chip/Chip.d.ts +7 -7
- package/lib/typescript/CloseButton/CloseButton.d.ts +7 -7
- package/lib/typescript/ColorSwatch/ColorSwatch.d.ts +7 -7
- package/lib/typescript/Combobox/Combobox.d.ts +3 -3
- package/lib/typescript/Combobox/index.d.ts +3 -3
- package/lib/typescript/Container/Container.d.ts +1 -1
- package/lib/typescript/Dialog/Dialog.d.ts +13 -13
- package/lib/typescript/Image/Image.d.ts +16 -16
- package/lib/typescript/Image/createImage.d.ts +19 -19
- package/lib/typescript/Indicator/Indicator.d.ts +2 -2
- package/lib/typescript/Input/Input.d.ts +13 -13
- package/lib/typescript/Input/Input.native.d.ts +11 -11
- package/lib/typescript/Input/shared.d.ts +9 -9
- package/lib/typescript/InputBase/InputBase.d.ts +2 -2
- package/lib/typescript/Kbd/Kbd.d.ts +1 -1
- package/lib/typescript/Mark/Mark.d.ts +1 -1
- package/lib/typescript/MaskInput/MaskInput.d.ts +2 -2
- package/lib/typescript/Menu/Menu.d.ts +2 -2
- package/lib/typescript/Modal/Modal.d.ts +13 -13
- package/lib/typescript/MultiSelect/MultiSelect.d.ts +2 -2
- package/lib/typescript/NumberInput/NumberInput.d.ts +5 -5
- package/lib/typescript/Pagination/Pagination.d.ts +5 -5
- package/lib/typescript/Paper/Paper.d.ts +1 -1
- package/lib/typescript/PasswordInput/PasswordInput.d.ts +11 -11
- package/lib/typescript/Pill/Pill.d.ts +13 -13
- package/lib/typescript/PinInput/PinInput.d.ts +13 -13
- package/lib/typescript/Progress/Progress.d.ts +9 -9
- package/lib/typescript/Radio/Radio.d.ts +8 -8
- package/lib/typescript/SegmentedControl/SegmentedControl.d.ts +7 -7
- package/lib/typescript/Select/Select.d.ts +2 -2
- package/lib/typescript/Stepper/Stepper.d.ts +2 -2
- package/lib/typescript/Switch/Switch.d.ts +7 -7
- package/lib/typescript/Table/Table.d.ts +4 -4
- package/lib/typescript/TableOfContents/TableOfContents.d.ts +3 -3
- package/lib/typescript/Tabs/Tabs.d.ts +6 -6
- package/lib/typescript/TagsInput/TagsInput.d.ts +2 -2
- package/lib/typescript/TextInput/TextInput.d.ts +2 -2
- package/lib/typescript/Textarea/Textarea.d.ts +2 -2
- package/lib/typescript/ThemeIcon/ThemeIcon.d.ts +7 -7
- package/lib/typescript/TreeSelect/TreeSelect.d.ts +7 -7
- package/package.json +7 -7
|
@@ -7,8 +7,8 @@ import { type SizeKey } from "../internal/style-props";
|
|
|
7
7
|
import { type SlotStyles } from "../internal/styles";
|
|
8
8
|
export type DialogSize = SizeKey;
|
|
9
9
|
declare const DialogFrame: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
10
|
-
size?: string | number | undefined;
|
|
11
10
|
radius?: string | number | undefined;
|
|
11
|
+
size?: string | number | undefined;
|
|
12
12
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
13
13
|
withBorder?: boolean | undefined;
|
|
14
14
|
}, import("@tamagui/web").StaticConfigPublic>;
|
|
@@ -69,75 +69,75 @@ export interface DialogProps extends Omit<GetProps<typeof DialogFrame>, "positio
|
|
|
69
69
|
duration?: number;
|
|
70
70
|
}
|
|
71
71
|
export declare const Dialog: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
72
|
-
size?: string | number | undefined;
|
|
73
72
|
radius?: string | number | undefined;
|
|
73
|
+
size?: string | number | undefined;
|
|
74
74
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
75
75
|
withBorder?: boolean | undefined;
|
|
76
76
|
}>, keyof DialogProps> & DialogProps & React.RefAttributes<import("@tamagui/web").TamaguiElement>> & import("@tamagui/web").StaticComponentObject<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
77
|
-
size?: string | number | undefined;
|
|
78
77
|
radius?: string | number | undefined;
|
|
78
|
+
size?: string | number | undefined;
|
|
79
79
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
80
80
|
withBorder?: boolean | undefined;
|
|
81
81
|
}>, keyof DialogProps> & DialogProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & DialogProps, import("@tamagui/web").StackStyleBase, {
|
|
82
|
-
size?: string | number | undefined;
|
|
83
82
|
radius?: string | number | undefined;
|
|
83
|
+
size?: string | number | undefined;
|
|
84
84
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
85
85
|
withBorder?: boolean | undefined;
|
|
86
86
|
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
87
87
|
__tama: [Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
88
|
-
size?: string | number | undefined;
|
|
89
88
|
radius?: string | number | undefined;
|
|
89
|
+
size?: string | number | undefined;
|
|
90
90
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
91
91
|
withBorder?: boolean | undefined;
|
|
92
92
|
}>, keyof DialogProps> & DialogProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & DialogProps, import("@tamagui/web").StackStyleBase, {
|
|
93
|
-
size?: string | number | undefined;
|
|
94
93
|
radius?: string | number | undefined;
|
|
94
|
+
size?: string | number | undefined;
|
|
95
95
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
96
96
|
withBorder?: boolean | undefined;
|
|
97
97
|
}, import("@tamagui/web").StaticConfigPublic];
|
|
98
98
|
} & {
|
|
99
99
|
Content: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
100
|
-
size?: string | number | undefined;
|
|
101
100
|
radius?: string | number | undefined;
|
|
101
|
+
size?: string | number | undefined;
|
|
102
102
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
103
103
|
withBorder?: boolean | undefined;
|
|
104
104
|
}, import("@tamagui/web").StaticConfigPublic>;
|
|
105
105
|
CloseButton: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
106
|
-
size?: string | number | undefined;
|
|
107
106
|
radius?: string | number | undefined;
|
|
107
|
+
size?: string | number | undefined;
|
|
108
108
|
disabled?: boolean | undefined;
|
|
109
109
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
110
110
|
variant?: "default" | "white" | "light" | "transparent" | "outline" | "filled" | "subtle" | "gradient" | undefined;
|
|
111
111
|
}>, keyof CloseButtonProps> & CloseButtonProps & React.RefAttributes<import("@tamagui/web").TamaguiElement>> & import("@tamagui/web").StaticComponentObject<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
112
|
-
size?: string | number | undefined;
|
|
113
112
|
radius?: string | number | undefined;
|
|
113
|
+
size?: string | number | undefined;
|
|
114
114
|
disabled?: boolean | undefined;
|
|
115
115
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
116
116
|
variant?: "default" | "white" | "light" | "transparent" | "outline" | "filled" | "subtle" | "gradient" | undefined;
|
|
117
117
|
}>, keyof CloseButtonProps> & CloseButtonProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & CloseButtonProps, import("@tamagui/web").StackStyleBase, {
|
|
118
|
-
size?: string | number | undefined;
|
|
119
118
|
radius?: string | number | undefined;
|
|
119
|
+
size?: string | number | undefined;
|
|
120
120
|
disabled?: boolean | undefined;
|
|
121
121
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
122
122
|
variant?: "default" | "white" | "light" | "transparent" | "outline" | "filled" | "subtle" | "gradient" | undefined;
|
|
123
123
|
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
124
124
|
__tama: [Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
125
|
-
size?: string | number | undefined;
|
|
126
125
|
radius?: string | number | undefined;
|
|
126
|
+
size?: string | number | undefined;
|
|
127
127
|
disabled?: boolean | undefined;
|
|
128
128
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
129
129
|
variant?: "default" | "white" | "light" | "transparent" | "outline" | "filled" | "subtle" | "gradient" | undefined;
|
|
130
130
|
}>, keyof CloseButtonProps> & CloseButtonProps, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & CloseButtonProps, import("@tamagui/web").StackStyleBase, {
|
|
131
|
-
size?: string | number | undefined;
|
|
132
131
|
radius?: string | number | undefined;
|
|
132
|
+
size?: string | number | undefined;
|
|
133
133
|
disabled?: boolean | undefined;
|
|
134
134
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
135
135
|
variant?: "default" | "white" | "light" | "transparent" | "outline" | "filled" | "subtle" | "gradient" | undefined;
|
|
136
136
|
}, import("@tamagui/web").StaticConfigPublic];
|
|
137
137
|
} & {
|
|
138
138
|
Frame: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
139
|
-
size?: string | number | undefined;
|
|
140
139
|
radius?: string | number | undefined;
|
|
140
|
+
size?: string | number | undefined;
|
|
141
141
|
disabled?: boolean | undefined;
|
|
142
142
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
143
143
|
variant?: "default" | "white" | "light" | "transparent" | "outline" | "filled" | "subtle" | "gradient" | undefined;
|