@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 CHANGED
@@ -1,4 +1,4 @@
1
- import { ReactNode, FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
2
 
3
3
  declare const AVATAR_SIZES: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
4
4
  type AvatarSize = (typeof AVATAR_SIZES)[number];
package/dist/badge.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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>) => react_jsx_runtime.JSX.Element;
143
- declare const BadgeWithDot: <T extends BadgeTypes>({ size, color, type, className, children, }: BadgeWithDotProps<T>) => react_jsx_runtime.JSX.Element;
144
- declare const BadgeWithIcon: <T extends BadgeTypes>({ size, color, type, iconLeading: IconLeading, iconTrailing: IconTrailing, children, className, }: BadgeWithIconProps<T>) => react_jsx_runtime.JSX.Element;
145
- declare const BadgeWithImage: <T extends BadgeTypes>({ size, color, type, imgSrc, children, className, }: BadgeWithImageProps<T>) => react_jsx_runtime.JSX.Element;
146
- declare const BadgeWithButton: <T extends BadgeTypes>({ size, color, type, icon: Icon, buttonLabel, children, onButtonPress, className, }: BadgeWithButtonProps<T>) => react_jsx_runtime.JSX.Element;
147
- declare const BadgeIcon: <T extends BadgeTypes>({ size, color, type, icon: Icon, className, }: BadgeIconProps<T>) => react_jsx_runtime.JSX.Element;
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 };
@@ -1,4 +1,4 @@
1
- import { ReactNode, FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
2
 
3
3
  declare const BUTTON_GROUP_SIZES: readonly ["sm", "md", "lg"];
4
4
  type ButtonGroupSize = (typeof BUTTON_GROUP_SIZES)[number];
@@ -1,4 +1,4 @@
1
- import { ReactNode, FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
2
 
3
3
  declare const CHECKBOX_SIZES: readonly ["sm", "md"];
4
4
  type CheckboxSize = (typeof CHECKBOX_SIZES)[number];
@@ -1,4 +1,4 @@
1
- import { ReactNode, FC } from 'react';
1
+ import { FC, ReactNode } from 'react';
2
2
  import { TextInputProps } from 'react-native';
3
3
  import { C as CommonProps, S as SelectItemType } from './select-shared-Ah_SqhzA.js';
4
4
  import './select-BJtrES5I.js';
package/dist/combobox.js CHANGED
@@ -1,4 +1,4 @@
1
- import { createContext, forwardRef, useContext, useState, useRef, useMemo, isValidElement, useEffect } from 'react';
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, cloneElement, isValidElement, useContext, useEffect } from 'react';
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, ComponentType, ReactNode } from 'react';
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-C3ctbnUG.js';
5
- export { N as NativeSelect, c as NativeSelectOption, b as NativeSelectProps } from './select-native-C3ctbnUG.js';
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): react_jsx_runtime.JSX.Element;
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"> {