@avenue-ticketing/native 0.1.13 → 0.1.14
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/dist/avatar.d.ts +1 -1
- package/dist/badge.d.ts +7 -7
- package/dist/button-group.d.ts +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/combobox.d.ts +1 -1
- package/dist/combobox.js +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/input.d.ts +4 -5
- package/dist/input.js +2 -2
- package/dist/input.js.map +1 -1
- package/dist/multi-select.d.ts +1 -1
- package/dist/multi-select.js +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/radio.d.ts +1 -1
- package/dist/{select-native-C3ctbnUG.d.ts → select-native-D6wLBN5N.d.ts} +1 -1
- package/dist/select-native.d.ts +1 -1
- package/dist/select-native.js +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.js +1 -1
- package/dist/tabs.d.ts +10 -0
- package/dist/tabs.js +25 -6
- package/dist/tabs.js.map +1 -1
- package/dist/tag-select.d.ts +1 -1
- package/dist/tag-select.js +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.js +1 -1
- package/dist/toast.d.ts +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/package.json +1 -1
package/dist/avatar.d.ts
CHANGED
package/dist/badge.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react from 'react';
|
|
2
2
|
import { FC, ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
declare const BADGE_SIZES: readonly ["sm", "md", "lg"];
|
|
@@ -139,11 +139,11 @@ interface BadgeIconProps<T extends BadgeTypes = BadgeTypes> {
|
|
|
139
139
|
/**
|
|
140
140
|
* NativeWind badge — shared Tailwind class maps from `@avenue-ticketing/core/badge`.
|
|
141
141
|
*/
|
|
142
|
-
declare const Badge: <T extends BadgeTypes>({ type, size, color, children, className, }: BadgeProps<T>) =>
|
|
143
|
-
declare const BadgeWithDot: <T extends BadgeTypes>({ size, color, type, className, children, }: BadgeWithDotProps<T>) =>
|
|
144
|
-
declare const BadgeWithIcon: <T extends BadgeTypes>({ size, color, type, iconLeading: IconLeading, iconTrailing: IconTrailing, children, className, }: BadgeWithIconProps<T>) =>
|
|
145
|
-
declare const BadgeWithImage: <T extends BadgeTypes>({ size, color, type, imgSrc, children, className, }: BadgeWithImageProps<T>) =>
|
|
146
|
-
declare const BadgeWithButton: <T extends BadgeTypes>({ size, color, type, icon: Icon, buttonLabel, children, onButtonPress, className, }: BadgeWithButtonProps<T>) =>
|
|
147
|
-
declare const BadgeIcon: <T extends BadgeTypes>({ size, color, type, icon: Icon, className, }: BadgeIconProps<T>) =>
|
|
142
|
+
declare const Badge: <T extends BadgeTypes>({ type, size, color, children, className, }: BadgeProps<T>) => react.JSX.Element;
|
|
143
|
+
declare const BadgeWithDot: <T extends BadgeTypes>({ size, color, type, className, children, }: BadgeWithDotProps<T>) => react.JSX.Element;
|
|
144
|
+
declare const BadgeWithIcon: <T extends BadgeTypes>({ size, color, type, iconLeading: IconLeading, iconTrailing: IconTrailing, children, className, }: BadgeWithIconProps<T>) => react.JSX.Element;
|
|
145
|
+
declare const BadgeWithImage: <T extends BadgeTypes>({ size, color, type, imgSrc, children, className, }: BadgeWithImageProps<T>) => react.JSX.Element;
|
|
146
|
+
declare const BadgeWithButton: <T extends BadgeTypes>({ size, color, type, icon: Icon, buttonLabel, children, onButtonPress, className, }: BadgeWithButtonProps<T>) => react.JSX.Element;
|
|
147
|
+
declare const BadgeIcon: <T extends BadgeTypes>({ size, color, type, icon: Icon, className, }: BadgeIconProps<T>) => react.JSX.Element;
|
|
148
148
|
|
|
149
149
|
export { BADGE_COLORS, BADGE_SIZES, Badge, type BadgeColor, type BadgeColorName, BadgeIcon, type BadgeIconComponent, type BadgeIconProps, type BadgeProps, type BadgeSize, type BadgeTypes, BadgeWithButton, type BadgeWithButtonProps, BadgeWithDot, type BadgeWithDotProps, BadgeWithIcon, type BadgeWithIconProps, BadgeWithImage, type BadgeWithImageProps, badgeTypes, badgeFilledColors as filledColors };
|
package/dist/button-group.d.ts
CHANGED
package/dist/checkbox.d.ts
CHANGED
package/dist/combobox.d.ts
CHANGED
package/dist/combobox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, forwardRef,
|
|
1
|
+
import { createContext, forwardRef, useState, useContext, useRef, useMemo, isValidElement, useEffect } from 'react';
|
|
2
2
|
import { View, TextInput, Pressable, Text, ScrollView } from 'react-native-css/components';
|
|
3
3
|
import { useNativeVariable } from 'react-native-css';
|
|
4
4
|
import { CaretDownIcon } from 'phosphor-react-native/src/icons/CaretDown';
|
package/dist/dropdown.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createContext, useState, useMemo, Children,
|
|
1
|
+
import { createContext, useState, useMemo, Children, isValidElement, cloneElement, useContext, useEffect } from 'react';
|
|
2
2
|
import { useWindowDimensions, Modal, Image } from 'react-native';
|
|
3
3
|
import { View, Text, Pressable, ScrollView } from 'react-native-css/components';
|
|
4
4
|
import { useNativeVariable } from 'react-native-css';
|
package/dist/input.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import { FC,
|
|
2
|
+
import { FC, ReactNode, ComponentType } from 'react';
|
|
3
3
|
import { TextInputProps, TextInput } from 'react-native';
|
|
4
|
-
import { I as InputSize, a as InputType } from './select-native-
|
|
5
|
-
export { N as NativeSelect,
|
|
6
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
+
import { I as InputSize, a as InputType } from './select-native-D6wLBN5N.js';
|
|
5
|
+
export { N as NativeSelect, b as NativeSelectOption, c as NativeSelectProps } from './select-native-D6wLBN5N.js';
|
|
7
6
|
|
|
8
7
|
interface LabelProps {
|
|
9
8
|
children: ReactNode;
|
|
@@ -308,7 +307,7 @@ interface InputClearButtonProps {
|
|
|
308
307
|
}
|
|
309
308
|
/** Clear control for search / filter fields (X-in-circle). */
|
|
310
309
|
declare const InputClearButton: {
|
|
311
|
-
({ label, onClear, className, size }: InputClearButtonProps):
|
|
310
|
+
({ label, onClear, className, size }: InputClearButtonProps): react.JSX.Element;
|
|
312
311
|
displayName: string;
|
|
313
312
|
};
|
|
314
313
|
interface SearchInputProps extends Omit<InputBaseProps, "type" | "icon" | "className"> {
|