@kanso-labs/react-native-kanso-ui 0.11.5 → 0.11.7
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 +15 -1
- package/dist/autocomplete/index.js +1 -2
- package/dist/badge/index.js +1 -2
- package/dist/button/group.js +1 -2
- package/dist/button/index.d.ts +0 -2
- package/dist/button/index.js +1 -2
- package/dist/button/palettes.js +1 -2
- package/dist/button/pending.js +1 -2
- package/dist/button/slots.js +1 -2
- package/dist/calendar/index.js +1 -2
- package/dist/calendar/styles.js +1 -2
- package/dist/carousel/arrangement.d.ts +0 -2
- package/dist/carousel/arrangement.js +0 -1
- package/dist/chequer/index.js +1 -2
- package/dist/chip/index.js +1 -2
- package/dist/chip/styles.js +0 -1
- package/dist/clipboard/index.js +1 -2
- package/dist/collection/index.d.ts +0 -2
- package/dist/collection/index.js +1 -2
- package/dist/color-thumb/index.js +1 -2
- package/dist/components/app-bar/index.d.ts +0 -2
- package/dist/components/app-bar/index.js +1 -2
- package/dist/components/autocomplete/index.d.ts +0 -2
- package/dist/components/autocomplete/index.js +1 -2
- package/dist/components/avatar/index.d.ts +0 -2
- package/dist/components/avatar/index.js +1 -2
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/badge/index.js +1 -2
- package/dist/components/badge/styles.js +1 -2
- package/dist/components/breadcrumbs/index.d.ts +0 -2
- package/dist/components/breadcrumbs/index.js +1 -2
- package/dist/components/button/index.d.ts +0 -2
- package/dist/components/button/index.js +1 -2
- package/dist/components/button-group/index.d.ts +0 -2
- package/dist/components/button-group/index.js +1 -2
- package/dist/components/calendar/index.d.ts +0 -2
- package/dist/components/calendar/index.js +1 -2
- package/dist/components/card/index.d.ts +0 -2
- package/dist/components/card/index.js +1 -2
- package/dist/components/carousel/index.d.ts +0 -2
- package/dist/components/carousel/index.js +1 -2
- package/dist/components/checkbox/index.d.ts +0 -2
- package/dist/components/checkbox/index.js +1 -2
- package/dist/components/checkbox-group/index.d.ts +0 -2
- package/dist/components/checkbox-group/index.js +1 -2
- package/dist/components/chip/index.d.ts +0 -2
- package/dist/components/chip/index.js +1 -2
- package/dist/components/chip-group/index.d.ts +0 -2
- package/dist/components/chip-group/index.js +1 -2
- package/dist/components/code/index.d.ts +0 -2
- package/dist/components/code/index.js +1 -2
- package/dist/components/color-area/index.d.ts +0 -2
- package/dist/components/color-area/index.js +1 -2
- package/dist/components/color-field/index.d.ts +0 -2
- package/dist/components/color-field/index.js +1 -2
- package/dist/components/color-picker/index.d.ts +0 -2
- package/dist/components/color-picker/index.js +1 -2
- package/dist/components/color-slider/index.d.ts +0 -2
- package/dist/components/color-slider/index.js +1 -2
- package/dist/components/color-swatch/index.d.ts +0 -2
- package/dist/components/color-swatch/index.js +1 -2
- package/dist/components/color-swatch-picker/index.d.ts +0 -2
- package/dist/components/color-swatch-picker/index.js +1 -2
- package/dist/components/color-wheel/index.d.ts +0 -2
- package/dist/components/color-wheel/index.js +1 -2
- package/dist/components/combo-box/index.d.ts +0 -2
- package/dist/components/combo-box/index.js +1 -2
- package/dist/components/container/index.d.ts +0 -2
- package/dist/components/container/index.js +1 -2
- package/dist/components/copy-field/index.d.ts +0 -2
- package/dist/components/copy-field/index.js +1 -2
- package/dist/components/currency/index.d.ts +0 -2
- package/dist/components/currency/index.js +1 -2
- package/dist/components/date-field/index.d.ts +0 -2
- package/dist/components/date-field/index.js +1 -2
- package/dist/components/date-picker/index.d.ts +0 -2
- package/dist/components/date-picker/index.js +1 -2
- package/dist/components/date-range-picker/index.d.ts +0 -2
- package/dist/components/date-range-picker/index.js +1 -2
- package/dist/components/dialog/index.d.ts +0 -2
- package/dist/components/dialog/index.js +1 -2
- package/dist/components/disclosure/index.d.ts +0 -2
- package/dist/components/disclosure/index.js +1 -2
- package/dist/components/disclosure-group/index.d.ts +0 -2
- package/dist/components/disclosure-group/index.js +1 -2
- package/dist/components/drop-zone/index.d.ts +0 -2
- package/dist/components/drop-zone/index.js +1 -2
- package/dist/components/fab/index.d.ts +0 -2
- package/dist/components/fab/index.js +1 -2
- package/dist/components/fab-menu/index.d.ts +0 -2
- package/dist/components/fab-menu/index.js +1 -2
- package/dist/components/feed/index.d.ts +0 -2
- package/dist/components/feed/index.js +1 -2
- package/dist/components/form/index.d.ts +0 -2
- package/dist/components/form/index.js +1 -2
- package/dist/components/icon-button/index.d.ts +0 -2
- package/dist/components/icon-button/index.js +1 -2
- package/dist/components/keycap/index.d.ts +0 -2
- package/dist/components/keycap/index.js +1 -2
- package/dist/components/link/index.d.ts +0 -2
- package/dist/components/link/index.js +1 -2
- package/dist/components/list/index.d.ts +0 -2
- package/dist/components/list/index.js +1 -2
- package/dist/components/list-box/index.d.ts +0 -2
- package/dist/components/list-box/index.js +1 -2
- package/dist/components/list-detail/index.d.ts +0 -2
- package/dist/components/list-detail/index.js +1 -2
- package/dist/components/list-item/index.d.ts +0 -2
- package/dist/components/list-item/index.js +1 -2
- package/dist/components/loading-indicator/index.d.ts +0 -2
- package/dist/components/loading-indicator/index.js +1 -2
- package/dist/components/menu/index.d.ts +0 -2
- package/dist/components/menu/index.js +1 -2
- package/dist/components/meter/index.d.ts +0 -2
- package/dist/components/meter/index.js +1 -2
- package/dist/components/navigation-bar/index.d.ts +0 -2
- package/dist/components/navigation-bar/index.js +1 -2
- package/dist/components/navigation-rail/index.d.ts +0 -2
- package/dist/components/navigation-rail/index.js +1 -2
- package/dist/components/navigation-tree/index.d.ts +0 -2
- package/dist/components/navigation-tree/index.js +1 -2
- package/dist/components/number-field/index.d.ts +0 -2
- package/dist/components/number-field/index.js +1 -2
- package/dist/components/popover/index.d.ts +0 -2
- package/dist/components/popover/index.js +1 -2
- package/dist/components/product-icon/index.d.ts +0 -2
- package/dist/components/product-icon/index.js +1 -2
- package/dist/components/progress-indicator/index.d.ts +0 -2
- package/dist/components/progress-indicator/index.js +1 -2
- package/dist/components/radio-group/index.d.ts +0 -2
- package/dist/components/radio-group/index.js +1 -2
- package/dist/components/range-calendar/index.d.ts +0 -2
- package/dist/components/range-calendar/index.js +1 -2
- package/dist/components/search-field/index.d.ts +0 -2
- package/dist/components/search-field/index.js +1 -2
- package/dist/components/search-view/index.d.ts +0 -2
- package/dist/components/search-view/index.js +1 -2
- package/dist/components/segmented-button/index.d.ts +0 -2
- package/dist/components/segmented-button/index.js +1 -2
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/select/index.js +1 -2
- package/dist/components/separator/index.d.ts +0 -2
- package/dist/components/separator/index.js +1 -2
- package/dist/components/sheet/index.d.ts +0 -2
- package/dist/components/sheet/index.js +1 -2
- package/dist/components/slider/index.d.ts +0 -2
- package/dist/components/slider/index.js +1 -2
- package/dist/components/snackbar/index.d.ts +0 -2
- package/dist/components/snackbar/index.js +1 -2
- package/dist/components/split-button/index.d.ts +0 -2
- package/dist/components/split-button/index.js +1 -2
- package/dist/components/stack/index.d.ts +0 -2
- package/dist/components/stack/index.js +1 -2
- package/dist/components/supporting-pane/index.d.ts +0 -2
- package/dist/components/supporting-pane/index.js +1 -2
- package/dist/components/switch/index.d.ts +0 -2
- package/dist/components/switch/index.js +1 -2
- package/dist/components/table/index.d.ts +0 -2
- package/dist/components/table/index.js +1 -2
- package/dist/components/tabs/index.d.ts +0 -2
- package/dist/components/tabs/index.js +1 -2
- package/dist/components/tag/index.d.ts +0 -2
- package/dist/components/tag/index.js +1 -2
- package/dist/components/text/index.d.ts +0 -2
- package/dist/components/text/index.js +1 -2
- package/dist/components/text-area/index.d.ts +0 -2
- package/dist/components/text-area/index.js +1 -2
- package/dist/components/text-field/index.d.ts +0 -2
- package/dist/components/text-field/index.js +1 -2
- package/dist/components/time-field/index.d.ts +0 -2
- package/dist/components/time-field/index.js +1 -2
- package/dist/components/time-picker/index.d.ts +0 -2
- package/dist/components/time-picker/index.js +1 -2
- package/dist/components/token-field/index.d.ts +0 -2
- package/dist/components/token-field/index.js +1 -2
- package/dist/components/toolbar/index.d.ts +0 -2
- package/dist/components/toolbar/index.js +1 -2
- package/dist/components/tooltip/index.d.ts +0 -2
- package/dist/components/tooltip/index.js +1 -2
- package/dist/components/tree/index.d.ts +0 -2
- package/dist/components/tree/index.js +1 -2
- package/dist/control/checkbox-box.js +1 -2
- package/dist/control/group.js +1 -2
- package/dist/control/index.js +1 -2
- package/dist/control/styles.js +0 -1
- package/dist/disclosure/chevron.js +1 -2
- package/dist/disclosure/index.js +1 -2
- package/dist/drop/index.d.ts +0 -2
- package/dist/drop/index.js +1 -2
- package/dist/fab/index.d.ts +0 -2
- package/dist/fab/index.js +1 -2
- package/dist/field/chevron.js +1 -2
- package/dist/field/index.d.ts +0 -2
- package/dist/field/index.js +1 -2
- package/dist/field/styles.js +1 -2
- package/dist/files/index.d.ts +0 -2
- package/dist/files/index.js +1 -2
- package/dist/form/index.d.ts +0 -2
- package/dist/form/index.js +1 -2
- package/dist/glyphs/hidden.js +1 -2
- package/dist/glyphs/icon-style.d.ts +0 -2
- package/dist/glyphs/icon-style.js +1 -2
- package/dist/glyphs/index.js +1 -2
- package/dist/glyphs/styles.js +1 -2
- package/dist/hooks/useAppBarScroll.d.ts +0 -2
- package/dist/hooks/useAppBarScroll.js +0 -1
- package/dist/hooks/useWindowSizeClass.d.ts +0 -2
- package/dist/hooks/useWindowSizeClass.js +1 -2
- package/dist/i18n/index.js +1 -2
- package/dist/i18n/messages.js +1 -2
- package/dist/i18n/provider.d.ts +0 -2
- package/dist/i18n/provider.js +1 -2
- package/dist/indicator/index.d.ts +0 -2
- package/dist/indicator/index.js +1 -2
- package/dist/indicator/motion.js +1 -2
- package/dist/indicator/paths.js +1 -2
- package/dist/indicator/styles.js +0 -1
- package/dist/kanso-ui-core/defaults-DMH0HWCw.d.ts +0 -2
- package/dist/kanso-ui-core/glyphs.js +1 -2
- package/dist/kanso-ui-core/index.js +1 -2
- package/dist/mark/image.js +1 -2
- package/dist/mark/index.d.ts +0 -2
- package/dist/mark/index.js +1 -2
- package/dist/mark/initials.js +1 -2
- package/dist/mark/styles.js +1 -2
- package/dist/modal/index.d.ts +0 -2
- package/dist/modal/index.js +1 -2
- package/dist/navigation/index.d.ts +0 -2
- package/dist/navigation/index.js +1 -2
- package/dist/navigation/styles.js +1 -2
- package/dist/number/count.js +1 -2
- package/dist/number/keyboard.js +1 -2
- package/dist/number/locale.js +1 -2
- package/dist/number/parser.js +1 -2
- package/dist/number/state.js +1 -2
- package/dist/overlay/anchored.js +1 -2
- package/dist/overlay/host.js +1 -2
- package/dist/overlay/keyboard.js +1 -2
- package/dist/overlay/panel.js +1 -2
- package/dist/overlay/placement.d.ts +0 -2
- package/dist/overlay/placement.js +1 -2
- package/dist/picker/index.js +1 -2
- package/dist/press/index.js +0 -1
- package/dist/press/styles.js +1 -2
- package/dist/ref/index.js +1 -2
- package/dist/router/index.d.ts +0 -2
- package/dist/router/index.js +1 -2
- package/dist/row/index.js +1 -2
- package/dist/row/styles.js +1 -2
- package/dist/segments/field.js +1 -2
- package/dist/segments/index.js +1 -2
- package/dist/segments/styles.js +1 -2
- package/dist/separator/index.js +1 -2
- package/dist/slider/index.js +1 -2
- package/dist/swatch/index.js +1 -2
- package/dist/theme/color.js +1 -2
- package/dist/theme/resolve.d.ts +0 -2
- package/dist/theme/resolve.js +1 -2
- package/dist/theme/scope.d.ts +0 -2
- package/dist/theme/scope.js +1 -2
- package/dist/theme/styles.js +1 -2
- package/dist/theme-scope.d.ts +0 -2
- package/dist/theme-scope.js +1 -2
- package/dist/typography/fonts.js +1 -2
- package/dist/typography/roles.d.ts +0 -2
- package/dist/typography/roles.js +1 -2
- package/dist/typography/size.js +1 -2
- package/package.json +4 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NavigationItemProps } from "../../navigation/index.js";
|
|
2
2
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
|
-
//#region src/components/navigation-bar/index.d.ts
|
|
5
4
|
type NavigationBarItemProps = NavigationItemProps;
|
|
6
5
|
type NavigationBarProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
7
6
|
/** The destinations, each a `NavigationBar.Item`. */
|
|
@@ -159,6 +158,5 @@ declare function NavigationBarItem(props: NavigationBarItemProps): import("react
|
|
|
159
158
|
* `NavigationBar`.
|
|
160
159
|
*/
|
|
161
160
|
declare function NavigationTabBar({ descriptors, emitter, insets: _insets, navigateToTab, navigation, state, ...props }: NavigationTabBarProps): import("react").JSX.Element;
|
|
162
|
-
//#endregion
|
|
163
161
|
export { NavigationBar, NavigationBarItem, type NavigationBarItemProps, type NavigationBarProps, NavigationTabBar, type NavigationTabBarProps };
|
|
164
162
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import { StyleSheet, View } from "react-native";
|
|
|
7
7
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
8
8
|
import { use, useState } from "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/components/navigation-bar/index.tsx
|
|
11
11
|
const MEASURING_ROOM = 1e4;
|
|
12
12
|
const ICON_SIZE = 24;
|
|
13
13
|
const NO_OPTIONS = {};
|
|
@@ -464,7 +464,6 @@ function widthThen(setWidth) {
|
|
|
464
464
|
};
|
|
465
465
|
}
|
|
466
466
|
NavigationBar.Item = NavigationBarItem;
|
|
467
|
-
//#endregion
|
|
468
467
|
export { NavigationBar, NavigationBarItem, NavigationTabBar };
|
|
469
468
|
|
|
470
469
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NavigationItemProps } from "../../navigation/index.js";
|
|
2
2
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
|
-
//#region src/components/navigation-rail/index.d.ts
|
|
5
4
|
type NavigationRailItemProps = NavigationItemProps;
|
|
6
5
|
type NavigationRailProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
7
6
|
/** The destinations: `NavigationRail.Item`s. */
|
|
@@ -63,6 +62,5 @@ declare namespace NavigationRail {
|
|
|
63
62
|
* `style`, `ref` and `testID` land on the destination's `Pressable`.
|
|
64
63
|
*/
|
|
65
64
|
declare function NavigationRailItem(props: NavigationRailItemProps): import("react").JSX.Element;
|
|
66
|
-
//#endregion
|
|
67
65
|
export { NavigationRail, NavigationRailItem, type NavigationRailItemProps, type NavigationRailProps };
|
|
68
66
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, w
|
|
|
7
7
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
8
8
|
import "react";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/components/navigation-rail/index.tsx
|
|
11
11
|
const COLLAPSED_WIDTH = 96;
|
|
12
12
|
const EXPANDED_MIN_WIDTH = 220;
|
|
13
13
|
const EXPANDED_MAX_WIDTH = 360;
|
|
@@ -288,7 +288,6 @@ function widthThen(width, reduceMotion, timing) {
|
|
|
288
288
|
};
|
|
289
289
|
}
|
|
290
290
|
NavigationRail.Item = NavigationRailItem;
|
|
291
|
-
//#endregion
|
|
292
291
|
export { NavigationRail, NavigationRailItem };
|
|
293
292
|
|
|
294
293
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CollectionProps, CollectionRowProps, CollectionSectionProps, sectionNode } from "../../collection/index.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { Key } from "react-stately";
|
|
4
|
-
//#region src/components/navigation-tree/index.d.ts
|
|
5
4
|
type NavigationTreeItemProps = NavigationTreeItemText & Omit<CollectionRowProps, 'children' | 'onAction' | 'overline' | 'textValue'> & {
|
|
6
5
|
/**
|
|
7
6
|
* The rows nested under this one, as further `NavigationTree.Item`
|
|
@@ -112,6 +111,5 @@ declare function navigationItemNode(props: NavigationTreeItemProps): Generator<{
|
|
|
112
111
|
textValue: string;
|
|
113
112
|
type: string;
|
|
114
113
|
}, void, unknown>;
|
|
115
|
-
//#endregion
|
|
116
114
|
export { NavigationTree, NavigationTreeItem, type NavigationTreeItemProps, type NavigationTreeProps, NavigationTreeSection, type NavigationTreeSectionProps };
|
|
117
115
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { CollectionView, nestedRowNode, sectionNode } from "../../collection/ind
|
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useTreeState } from "react-stately/useTreeState";
|
|
5
|
-
|
|
5
|
+
// src/components/navigation-tree/index.tsx
|
|
6
6
|
/**
|
|
7
7
|
* A nested set of links, with the current one marked. Give the tree a
|
|
8
8
|
* `selectedRoute` and each row an `href`, and the row whose `href` matches is
|
|
@@ -129,7 +129,6 @@ function nothing() {
|
|
|
129
129
|
}
|
|
130
130
|
NavigationTree.Item = NavigationTreeItem;
|
|
131
131
|
NavigationTree.Section = NavigationTreeSection;
|
|
132
|
-
//#endregion
|
|
133
132
|
export { NavigationTree, NavigationTreeItem, NavigationTreeSection };
|
|
134
133
|
|
|
135
134
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { ValidationResult } from "../../form/index.js";
|
|
|
2
2
|
import { FieldVariant } from "../../field/index.js";
|
|
3
3
|
import { StyleProp, TextInput, TextInputProps, View, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, Ref } from "react";
|
|
5
|
-
//#region src/components/number-field/index.d.ts
|
|
6
5
|
type NumberFieldProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityLabel' | 'aria-disabled' | 'aria-label' | 'autoComplete' | 'autoCorrect' | 'children' | 'cursorColor' | 'defaultValue' | 'editable' | 'inputMode' | 'keyboardType' | 'maxLength' | 'multiline' | 'numberOfLines' | 'onChange' | 'onChangeText' | 'placeholder' | 'placeholderTextColor' | 'readOnly' | 'selectionColor' | 'spellCheck' | 'style' | 'underlineColorAndroid' | 'value'> & {
|
|
7
6
|
/**
|
|
8
7
|
* The name of the stepper that lowers the value, for a screen reader. Left
|
|
@@ -150,6 +149,5 @@ type NumberFieldProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilit
|
|
|
150
149
|
* ```
|
|
151
150
|
*/
|
|
152
151
|
declare function NumberField({ decrementLabel, defaultValue, description, error, floatingLabel, formatOptions, incrementLabel, inputRef, isDisabled, isReadOnly, isRequired, label, locale, maxValue, minValue, name, numeric, onBlur, onChange, onFocus, onSubmitEditing, ref, returnKeyType, step, steppers, style, validate, value, variant, ...props }: NumberFieldProps): import("react").JSX.Element;
|
|
153
|
-
//#endregion
|
|
154
152
|
export { NumberField, type NumberFieldProps };
|
|
155
153
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -15,7 +15,7 @@ import { c } from "react/compiler-runtime";
|
|
|
15
15
|
import { AccessibilityInfo, Platform, Pressable, StyleSheet, View, useWindowDimensions } from "react-native";
|
|
16
16
|
import { useEffect, useId, useImperativeHandle, useRef, useState } from "react";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
|
-
|
|
18
|
+
// src/components/number-field/index.tsx
|
|
19
19
|
const STEPPER_WIDTH = 32;
|
|
20
20
|
const GLYPH_SIZE = 20;
|
|
21
21
|
const SPIN_DELAY = 600;
|
|
@@ -829,7 +829,6 @@ function useStepAnnouncement(text) {
|
|
|
829
829
|
} else t2 = $[3];
|
|
830
830
|
return t2;
|
|
831
831
|
}
|
|
832
|
-
//#endregion
|
|
833
832
|
export { NumberField };
|
|
834
833
|
|
|
835
834
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { OverlayAlign, OverlaySide } from "../../overlay/placement.js";
|
|
|
2
2
|
import "../../overlay/index.js";
|
|
3
3
|
import { HostInstance, StyleProp, TextProps, ViewProps, ViewStyle } from "react-native";
|
|
4
4
|
import { ReactNode, Ref, RefObject } from "react";
|
|
5
|
-
//#region src/components/popover/index.d.ts
|
|
6
5
|
/** Where the panel sits along the side it opens on. */
|
|
7
6
|
type PopoverAlign = OverlayAlign;
|
|
8
7
|
type PopoverContentProps = Omit<ViewProps, 'children' | 'role' | 'style'> & {
|
|
@@ -135,6 +134,5 @@ declare function PopoverDescription({ style, ...props }: PopoverDescriptionProps
|
|
|
135
134
|
* React Native's own Text.
|
|
136
135
|
*/
|
|
137
136
|
declare function PopoverTitle({ ref, style, ...props }: PopoverTitleProps): import("react").JSX.Element;
|
|
138
|
-
//#endregion
|
|
139
137
|
export { Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, type PopoverProps, type PopoverSide, type PopoverSize, PopoverTitle, type PopoverTitleProps, type PopoverTrigger };
|
|
140
138
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@ import Animated from "react-native-reanimated";
|
|
|
13
13
|
import { createContext, use, useEffect, useId, useRef, useState } from "react";
|
|
14
14
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
import { useOverlayTriggerState } from "react-stately/useOverlayTriggerState";
|
|
16
|
-
|
|
16
|
+
// src/components/popover/index.tsx
|
|
17
17
|
const DEFAULT_HOVER_DELAY = 600;
|
|
18
18
|
const DEFAULT_HOVER_CLOSE_DELAY = 200;
|
|
19
19
|
const WIDTHS = {
|
|
@@ -698,7 +698,6 @@ function useHoverTrigger(state, delay, closeDelay) {
|
|
|
698
698
|
Popover.Content = PopoverContent;
|
|
699
699
|
Popover.Description = PopoverDescription;
|
|
700
700
|
Popover.Title = PopoverTitle;
|
|
701
|
-
//#endregion
|
|
702
701
|
export { Popover, PopoverContent, PopoverDescription, PopoverTitle };
|
|
703
702
|
|
|
704
703
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MarkImageProps } from "../../mark/index.js";
|
|
2
2
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, Ref } from "react";
|
|
4
|
-
//#region src/components/product-icon/index.d.ts
|
|
5
4
|
type ProductIconProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
6
5
|
/**
|
|
7
6
|
* Hides the mark from screen readers, for one beside the name of what it
|
|
@@ -65,6 +64,5 @@ type ProductIconProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
|
65
64
|
* one. `style`, `ref` and `testID` land on the square.
|
|
66
65
|
*/
|
|
67
66
|
declare function ProductIcon({ size, tone, ...props }: ProductIconProps): import("react").JSX.Element;
|
|
68
|
-
//#endregion
|
|
69
67
|
export { ProductIcon, type ProductIconProps };
|
|
70
68
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Mark } from "../../mark/index.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/product-icon/index.tsx
|
|
5
5
|
/**
|
|
6
6
|
* A small square mark identifying something that is not a person, such as
|
|
7
7
|
* an application, a service or a brand. Reach for Avatar when it is a
|
|
@@ -54,7 +54,6 @@ function ProductIcon(t0) {
|
|
|
54
54
|
} else t3 = $[7];
|
|
55
55
|
return t3;
|
|
56
56
|
}
|
|
57
|
-
//#endregion
|
|
58
57
|
export { ProductIcon };
|
|
59
58
|
|
|
60
59
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IndicatorTone } from "../../indicator/index.js";
|
|
2
2
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, Ref } from "react";
|
|
4
|
-
//#region src/components/progress-indicator/index.d.ts
|
|
5
4
|
type ProgressIndicatorProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
6
5
|
/**
|
|
7
6
|
* How far the work is loaded ahead of the value, a video's buffered
|
|
@@ -109,6 +108,5 @@ type ProgressIndicatorVariant = 'circular' | 'linear';
|
|
|
109
108
|
* view a layout positions.
|
|
110
109
|
*/
|
|
111
110
|
declare function ProgressIndicator({ 'aria-label': ariaLabel, buffer, diameter, formatOptions, isIndeterminate, label, locale, maxValue, minValue, shape, showValue, style, tone, value, valueLabel, variant, ...props }: ProgressIndicatorProps): import("react").JSX.Element;
|
|
112
|
-
//#endregion
|
|
113
111
|
export { ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorShape, type ProgressIndicatorTone, type ProgressIndicatorVariant };
|
|
114
112
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import { I18nManager, StyleSheet, View } from "react-native";
|
|
|
12
12
|
import Animated, { useAnimatedProps, useAnimatedStyle, useDerivedValue, useReducedMotion } from "react-native-reanimated";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import Svg, { Path } from "react-native-svg";
|
|
15
|
-
|
|
15
|
+
// src/components/progress-indicator/index.tsx
|
|
16
16
|
const CIRCULAR_SIZE = 40;
|
|
17
17
|
const RADIUS = 18;
|
|
18
18
|
const ARC_MS = 1333;
|
|
@@ -1020,7 +1020,6 @@ function WaveBar(t0) {
|
|
|
1020
1020
|
function widthOf(width) {
|
|
1021
1021
|
return { width };
|
|
1022
1022
|
}
|
|
1023
|
-
//#endregion
|
|
1024
1023
|
export { ProgressIndicator };
|
|
1025
1024
|
|
|
1026
1025
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/radio-group/index.d.ts
|
|
4
3
|
/** Which way a `RadioGroup` lays out its buttons. */
|
|
5
4
|
type RadioGroupOrientation = 'horizontal' | 'vertical';
|
|
6
5
|
type RadioGroupProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
@@ -100,6 +99,5 @@ declare function Radio({ 'aria-label': ariaLabel, children, description, isDisab
|
|
|
100
99
|
* land on the group as a whole, which is the element a layout positions.
|
|
101
100
|
*/
|
|
102
101
|
declare function RadioGroup({ children, defaultValue, description, error, isDisabled, isReadOnly, label, onChange, orientation, style, value, ...props }: RadioGroupProps): import("react").JSX.Element;
|
|
103
|
-
//#endregion
|
|
104
102
|
export { Radio, RadioGroup, type RadioGroupOrientation, type RadioGroupProps, type RadioProps };
|
|
105
103
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, withTiming } from
|
|
|
11
11
|
import { createContext, use, useId } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useRadioGroupState } from "react-stately/useRadioGroupState";
|
|
14
|
-
|
|
14
|
+
// src/components/radio-group/index.tsx
|
|
15
15
|
const RING_SIZE = 20;
|
|
16
16
|
const RING_RULE = 2;
|
|
17
17
|
const DOT_SIZE = 10;
|
|
@@ -591,7 +591,6 @@ function useRingColor(color) {
|
|
|
591
591
|
return { borderColor: reduceMotion ? color : withTiming(color, timing) };
|
|
592
592
|
});
|
|
593
593
|
}
|
|
594
|
-
//#endregion
|
|
595
594
|
export { Radio, RadioGroup };
|
|
596
595
|
|
|
597
596
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { StyleProp, View, ViewStyle } from "react-native";
|
|
|
2
2
|
import { ComponentRef, Ref } from "react";
|
|
3
3
|
import { DateDuration } from "@internationalized/date";
|
|
4
4
|
import { DateValue, RangeCalendarProps } from "react-stately/useRangeCalendarState";
|
|
5
|
-
//#region src/components/range-calendar/index.d.ts
|
|
6
5
|
type RangeCalendarProps$1<T extends DateValue = DateValue> = Pick<RangeCalendarProps<T>, 'allowsNonContiguousRanges' | 'defaultFocusedValue' | 'defaultValue' | 'firstDayOfWeek' | 'focusedValue' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'maxValue' | 'minValue' | 'onChange' | 'onFocusChange' | 'value'> & {
|
|
7
6
|
/**
|
|
8
7
|
* The calendar's name. The month shown, or the months, is added to it, as
|
|
@@ -64,6 +63,5 @@ type RangeCalendarProps$1<T extends DateValue = DateValue> = Pick<RangeCalendarP
|
|
|
64
63
|
* `style`, `ref` and `testID` land on the container.
|
|
65
64
|
*/
|
|
66
65
|
declare function RangeCalendar<T extends DateValue = DateValue>({ 'aria-label': ariaLabel, locale, ref, showMonthYearMenus, style, testID, visibleDuration, ...props }: RangeCalendarProps$1<T>): import("react").JSX.Element;
|
|
67
|
-
//#endregion
|
|
68
66
|
export { RangeCalendar, type RangeCalendarProps$1 as RangeCalendarProps };
|
|
69
67
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { View } from "react-native";
|
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { createCalendar } from "@internationalized/date";
|
|
8
8
|
import { useRangeCalendarState } from "react-stately/useRangeCalendarState";
|
|
9
|
-
|
|
9
|
+
// src/components/range-calendar/index.tsx
|
|
10
10
|
/**
|
|
11
11
|
* A calendar for picking a range of dates. The value is a `{ start, end }`
|
|
12
12
|
* pair of `@internationalized/date` values, as on web: pass `value` with
|
|
@@ -138,7 +138,6 @@ function RangeCalendar(t0) {
|
|
|
138
138
|
} else t8 = $[32];
|
|
139
139
|
return t8;
|
|
140
140
|
}
|
|
141
|
-
//#endregion
|
|
142
141
|
export { RangeCalendar };
|
|
143
142
|
|
|
144
143
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ValidationResult } from "../../form/index.js";
|
|
2
2
|
import { StyleProp, TextInput, TextInputProps, View, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, Ref } from "react";
|
|
4
|
-
//#region src/components/search-field/index.d.ts
|
|
5
4
|
type SearchFieldProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilityLabel' | 'aria-disabled' | 'aria-label' | 'children' | 'cursorColor' | 'defaultValue' | 'editable' | 'multiline' | 'numberOfLines' | 'onChange' | 'onChangeText' | 'placeholderTextColor' | 'readOnly' | 'returnKeyType' | 'role' | 'selectionColor' | 'style' | 'underlineColorAndroid' | 'value'> & {
|
|
6
5
|
/**
|
|
7
6
|
* The name of the button that clears the field, for a screen reader.
|
|
@@ -101,6 +100,5 @@ type SearchFieldProps = Omit<TextInputProps, 'accessibilityHint' | 'accessibilit
|
|
|
101
100
|
* ```
|
|
102
101
|
*/
|
|
103
102
|
declare function SearchField({ clearLabel: ownClearLabel, defaultValue, description, error, inputRef, isDisabled, isRequired, label, name, onBlur, onChange, onClear, onFocus, onKeyPress, onSubmit, onSubmitEditing, ref, style, validate, value, ...props }: SearchFieldProps): import("react").JSX.Element;
|
|
104
|
-
//#endregion
|
|
105
103
|
export { SearchField, type SearchFieldProps };
|
|
106
104
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { c } from "react/compiler-runtime";
|
|
|
13
13
|
import { Pressable, StyleSheet, View, useWindowDimensions } from "react-native";
|
|
14
14
|
import { use, useId, useImperativeHandle, useRef, useState } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
-
|
|
16
|
+
// src/components/search-field/index.tsx
|
|
17
17
|
const ICON_SIZE = 24;
|
|
18
18
|
const MAX_WIDTH = 720;
|
|
19
19
|
const stylesOf = themedStyles(({ colors, radii, spacing, stateLayerOpacity }) => StyleSheet.create({
|
|
@@ -522,7 +522,6 @@ function submitInto(value, onSubmit, onSubmitEditing) {
|
|
|
522
522
|
onSubmitEditing?.(event);
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
|
-
//#endregion
|
|
526
525
|
export { SearchField };
|
|
527
526
|
|
|
528
527
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AutocompleteProps } from "../autocomplete/index.js";
|
|
2
2
|
import { HostInstance, StyleProp, ViewStyle } from "react-native";
|
|
3
3
|
import { ReactNode, Ref } from "react";
|
|
4
|
-
//#region src/components/search-view/index.d.ts
|
|
5
4
|
type SearchViewContentProps<T extends object = object> = Omit<AutocompleteProps<T>, 'children'> & {
|
|
6
5
|
/**
|
|
7
6
|
* What the back button is called, for a screen reader. Left out, the
|
|
@@ -74,6 +73,5 @@ declare namespace SearchView {
|
|
|
74
73
|
* `style`, `ref` and `testID` land on the view's surface.
|
|
75
74
|
*/
|
|
76
75
|
declare function SearchViewContent<T extends object = object>({ backLabel, clearLabel, defaultInputValue, filter, inputValue, label, onInputChange, ...props }: SearchViewContentProps<T>): import("react").JSX.Element | null;
|
|
77
|
-
//#endregion
|
|
78
76
|
export { SearchView, SearchViewContent, type SearchViewContentProps, type SearchViewProps };
|
|
79
77
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -20,7 +20,7 @@ import { SafeAreaInsetsContext } from "react-native-safe-area-context";
|
|
|
20
20
|
import { createContext, use, useRef, useState } from "react";
|
|
21
21
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
import { useOverlayTriggerState } from "react-stately/useOverlayTriggerState";
|
|
23
|
-
|
|
23
|
+
// src/components/search-view/index.tsx
|
|
24
24
|
const FULL_HEADER = 72;
|
|
25
25
|
const MIN_WIDTH = 360;
|
|
26
26
|
const MAX_WIDTH = 720;
|
|
@@ -565,7 +565,6 @@ function SearchViewPanel(t0) {
|
|
|
565
565
|
return t19;
|
|
566
566
|
}
|
|
567
567
|
SearchView.Content = SearchViewContent;
|
|
568
|
-
//#endregion
|
|
569
568
|
export { SearchView, SearchViewContent };
|
|
570
569
|
|
|
571
570
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { PressableProps, StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
3
|
import { Key } from "react-stately";
|
|
4
|
-
//#region src/components/segmented-button/index.d.ts
|
|
5
4
|
/** A name for the set: its own label, or the id of what labels it. */
|
|
6
5
|
type LabelledBy = {
|
|
7
6
|
readonly 'aria-label': string;
|
|
@@ -108,6 +107,5 @@ declare namespace SegmentedButton {
|
|
|
108
107
|
* `style`, `ref` and `testID` land on the segment's `Pressable`.
|
|
109
108
|
*/
|
|
110
109
|
declare function SegmentedButtonSegment({ children, disableRipple, hitSlop: ownHitSlop, icon, id, isDisabled: ownDisabled, onBlur, onFocus, onHoverIn, onHoverOut, onLayout, onPress, onPressIn, onPressOut, style, ...props }: SegmentedButtonSegmentProps): import("react").JSX.Element | null;
|
|
111
|
-
//#endregion
|
|
112
110
|
export { SegmentedButton, type SegmentedButtonProps, SegmentedButtonSegment, type SegmentedButtonSegmentProps };
|
|
113
111
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, w
|
|
|
12
12
|
import { Children, Fragment, createContext, isValidElement, use, useLayoutEffect, useRef, useState } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { useToggleGroupState } from "react-stately/useToggleGroupState";
|
|
15
|
-
|
|
15
|
+
// src/components/segmented-button/index.tsx
|
|
16
16
|
const GLYPH_SIZE = 18;
|
|
17
17
|
const RULE_WIDTH = 1;
|
|
18
18
|
const CHECK = /* @__PURE__ */ jsx(CheckGlyph, {});
|
|
@@ -931,7 +931,6 @@ function useSegmentMotion(t0) {
|
|
|
931
931
|
return t7;
|
|
932
932
|
}
|
|
933
933
|
SegmentedButton.Segment = SegmentedButtonSegment;
|
|
934
|
-
//#endregion
|
|
935
934
|
export { SegmentedButton, SegmentedButtonSegment };
|
|
936
935
|
|
|
937
936
|
//# sourceMappingURL=index.js.map
|
|
@@ -4,7 +4,6 @@ import { StyleProp, View, ViewStyle } from "react-native";
|
|
|
4
4
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
5
5
|
import { Key } from "react-stately";
|
|
6
6
|
import { ChangeValueType, SelectionMode as SelectionMode$1, ValueType } from "react-stately/useSelectState";
|
|
7
|
-
//#region src/components/select/index.d.ts
|
|
8
7
|
type SelectProps<M extends SelectionMode$1 = 'single'> = {
|
|
9
8
|
/**
|
|
10
9
|
* Lets the list open with no options in it, showing its empty state.
|
|
@@ -147,6 +146,5 @@ type SelectProps<M extends SelectionMode$1 = 'single'> = {
|
|
|
147
146
|
* `testID` the box.
|
|
148
147
|
*/
|
|
149
148
|
declare function Select<M extends SelectionMode$1 = 'single'>({ allowsEmptyCollection, defaultOpen, defaultValue, description, disabledKeys, error, floatingLabel, isDisabled, isOpen, isRequired, label, leadingIcon, name, onChange, onOpenChange, options, placeholder, ref, selectionMode, shouldCloseOnSelect, style, testID, validate, value, variant }: SelectProps<M>): import("react").JSX.Element;
|
|
150
|
-
//#endregion
|
|
151
149
|
export { Select, type SelectProps };
|
|
152
150
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -15,7 +15,7 @@ import Animated from "react-native-reanimated";
|
|
|
15
15
|
import { useId, useRef, useState } from "react";
|
|
16
16
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useSelectState } from "react-stately/useSelectState";
|
|
18
|
-
|
|
18
|
+
// src/components/select/index.tsx
|
|
19
19
|
const SHRINKS = { flexGrow: 0 };
|
|
20
20
|
const stylesOf = themedStyles(({ colors, radii, shadows }) => StyleSheet.create({ list: {
|
|
21
21
|
backgroundColor: colors.surfaceContainerLow,
|
|
@@ -413,7 +413,6 @@ function triggerFor(state, { described, name, setFocused, testID }) {
|
|
|
413
413
|
testID
|
|
414
414
|
};
|
|
415
415
|
}
|
|
416
|
-
//#endregion
|
|
417
416
|
export { Select };
|
|
418
417
|
|
|
419
418
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { View, ViewProps } from "react-native";
|
|
2
2
|
import { ComponentRef, Ref } from "react";
|
|
3
|
-
//#region src/components/separator/index.d.ts
|
|
4
3
|
type SeparatorInset = 'both' | 'none' | 'start';
|
|
5
4
|
type SeparatorProps = ViewProps & {
|
|
6
5
|
/**
|
|
@@ -41,6 +40,5 @@ type SeparatorProps = ViewProps & {
|
|
|
41
40
|
* `style` there applies over the rule's own.
|
|
42
41
|
*/
|
|
43
42
|
declare function Separator({ inset, orientation: own, style, ...props }: SeparatorProps): import("react").JSX.Element;
|
|
44
|
-
//#endregion
|
|
45
43
|
export { Separator, type SeparatorInset, type SeparatorProps };
|
|
46
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { c } from "react/compiler-runtime";
|
|
|
5
5
|
import { StyleSheet, View } from "react-native";
|
|
6
6
|
import { use } from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/separator/index.tsx
|
|
9
9
|
const styles = StyleSheet.create({
|
|
10
10
|
horizontal: {
|
|
11
11
|
alignSelf: "stretch",
|
|
@@ -106,7 +106,6 @@ function Separator(t0) {
|
|
|
106
106
|
} else t4 = $[13];
|
|
107
107
|
return t4;
|
|
108
108
|
}
|
|
109
|
-
//#endregion
|
|
110
109
|
export { Separator };
|
|
111
110
|
|
|
112
111
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ModalOpenProps } from "../../modal/index.js";
|
|
2
2
|
import { HostInstance, ScrollView, ScrollViewProps, StyleProp, TextProps, View, ViewProps, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
|
-
//#region src/components/sheet/index.d.ts
|
|
5
4
|
type SheetBodyProps = ScrollViewProps & {
|
|
6
5
|
readonly ref?: Ref<ComponentRef<typeof ScrollView>>;
|
|
7
6
|
};
|
|
@@ -141,6 +140,5 @@ declare function SheetHeader({ style, ...props }: SheetPartProps): import("react
|
|
|
141
140
|
* `style`, `ref` and `testID` land on React Native's own Text.
|
|
142
141
|
*/
|
|
143
142
|
declare function SheetTitle({ ref, style, ...props }: SheetTitleProps): import("react").JSX.Element;
|
|
144
|
-
//#endregion
|
|
145
143
|
export { Sheet, SheetBody, type SheetBodyProps, SheetContent, type SheetContentProps, SheetFooter, SheetHandle, type SheetHandleProps, SheetHeader, type SheetPartProps, type SheetProps, SheetTitle, type SheetTitleProps };
|
|
146
144
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -14,7 +14,7 @@ import { SafeAreaInsetsContext } from "react-native-safe-area-context";
|
|
|
14
14
|
import { createContext, use, useEffect, useId, useState } from "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
import { Gesture, GestureDetector, GestureHandlerRootView } from "react-native-gesture-handler";
|
|
17
|
-
|
|
17
|
+
// src/components/sheet/index.tsx
|
|
18
18
|
const SIDE_WIDTH = 400;
|
|
19
19
|
const TOP_MARGIN = 72;
|
|
20
20
|
const PARTIAL = .5;
|
|
@@ -1086,7 +1086,6 @@ Sheet.Footer = SheetFooter;
|
|
|
1086
1086
|
Sheet.Handle = SheetHandle;
|
|
1087
1087
|
Sheet.Header = SheetHeader;
|
|
1088
1088
|
Sheet.Title = SheetTitle;
|
|
1089
|
-
//#endregion
|
|
1090
1089
|
export { Sheet, SheetBody, SheetContent, SheetFooter, SheetHandle, SheetHeader, SheetTitle };
|
|
1091
1090
|
|
|
1092
1091
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StyleProp, View, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/slider/index.d.ts
|
|
4
3
|
type SliderProps = {
|
|
5
4
|
/**
|
|
6
5
|
* The slider's name for a screen reader, when no `label` is drawn: a
|
|
@@ -106,6 +105,5 @@ type SliderSize = 'lg' | 'md' | 'sm' | 'xl' | 'xs';
|
|
|
106
105
|
* `<testID>-tap`, which its `getByGestureTestId` finds in a test.
|
|
107
106
|
*/
|
|
108
107
|
declare function Slider({ 'aria-label': ariaLabel, defaultValue, formatOptions, icon, isDisabled, label, maxValue, minValue, onChange, onChangeEnd, orientation, ref, showStops, size, step, style, testID, thumbLabels, value }: SliderProps): import("react").JSX.Element;
|
|
109
|
-
//#endregion
|
|
110
108
|
export { Slider, type SliderProps, type SliderSize };
|
|
111
109
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -13,7 +13,7 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
import { NumberFormatter } from "@internationalized/number";
|
|
14
14
|
import { GestureDetector, GestureHandlerRootView } from "react-native-gesture-handler";
|
|
15
15
|
import { useSliderState } from "react-stately/useSliderState";
|
|
16
|
-
|
|
16
|
+
// src/components/slider/index.tsx
|
|
17
17
|
const GAP = 6;
|
|
18
18
|
const HANDLE_WIDTH = 4;
|
|
19
19
|
/** The handle's width while it is dragged. */
|
|
@@ -667,7 +667,6 @@ function useHandleMotion(dragging, vertical) {
|
|
|
667
667
|
return vertical ? { height: to } : { width: to };
|
|
668
668
|
});
|
|
669
669
|
}
|
|
670
|
-
//#endregion
|
|
671
670
|
export { Slider };
|
|
672
671
|
|
|
673
672
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, Ref } from "react";
|
|
3
|
-
//#region src/components/snackbar/index.d.ts
|
|
4
3
|
type ShownMessage = {
|
|
5
4
|
readonly action: SnackbarAction | undefined;
|
|
6
5
|
readonly key: string;
|
|
@@ -115,6 +114,5 @@ declare function Snackbar({ closeLabel: ownCloseLabel, queue, style, ...props }:
|
|
|
115
114
|
declare namespace Snackbar {
|
|
116
115
|
var Queue: typeof SnackbarQueue;
|
|
117
116
|
}
|
|
118
|
-
//#endregion
|
|
119
117
|
export { Snackbar, type SnackbarAction, type SnackbarOptions, type SnackbarProps, type SnackbarQueue };
|
|
120
118
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -12,7 +12,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, w
|
|
|
12
12
|
import { SafeAreaInsetsContext } from "react-native-safe-area-context";
|
|
13
13
|
import { use, useEffect, useRef, useState, useSyncExternalStore } from "react";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
|
-
|
|
15
|
+
// src/components/snackbar/index.tsx
|
|
16
16
|
const MESSAGE_MS = 5e3;
|
|
17
17
|
const UNTIL_CLOSED = 0;
|
|
18
18
|
const MIN_WIDE = 320;
|
|
@@ -536,7 +536,6 @@ function useShownFor(timeout) {
|
|
|
536
536
|
return asks ? recommended : timeout;
|
|
537
537
|
}
|
|
538
538
|
Snackbar.Queue = SnackbarQueue;
|
|
539
|
-
//#endregion
|
|
540
539
|
export { Snackbar };
|
|
541
540
|
|
|
542
541
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,7 +3,6 @@ import { ButtonProps } from "../button/index.js";
|
|
|
3
3
|
import { StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
5
5
|
import { Key } from "react-stately";
|
|
6
|
-
//#region src/components/split-button/index.d.ts
|
|
7
6
|
type SplitButtonActionProps = ButtonProps extends (infer Props) ? Props extends unknown ? Omit<Props, 'shape' | 'size' | 'variant'> : never : never;
|
|
8
7
|
type SplitButtonMenuProps = {
|
|
9
8
|
/** What the menu offers, in words: the trailing half is an icon alone. */
|
|
@@ -72,6 +71,5 @@ declare function SplitButtonAction(props: SplitButtonActionProps): import("react
|
|
|
72
71
|
* of alternatives its children describe, below its end edge.
|
|
73
72
|
*/
|
|
74
73
|
declare function SplitButtonMenu({ 'aria-label': label, children, defaultOpen, isDisabled, isOpen, onAction, onOpenChange }: SplitButtonMenuProps): import("react").JSX.Element;
|
|
75
|
-
//#endregion
|
|
76
74
|
export { SplitButton, SplitButtonAction, type SplitButtonActionProps, SplitButtonMenu, type SplitButtonMenuProps, type SplitButtonProps, type SplitButtonVariant };
|
|
77
75
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { c } from "react/compiler-runtime";
|
|
|
9
9
|
import { StyleSheet, View } from "react-native";
|
|
10
10
|
import { createContext, use, useState } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
|
|
12
|
+
// src/components/split-button/index.tsx
|
|
13
13
|
const TRAILING_PADDING = {
|
|
14
14
|
lg: 15,
|
|
15
15
|
md: 13,
|
|
@@ -348,7 +348,6 @@ function SplitButtonMenu(t0) {
|
|
|
348
348
|
}
|
|
349
349
|
SplitButton.Action = SplitButtonAction;
|
|
350
350
|
SplitButton.Menu = SplitButtonMenu;
|
|
351
|
-
//#endregion
|
|
352
351
|
export { SplitButton, SplitButtonAction, SplitButtonMenu };
|
|
353
352
|
|
|
354
353
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { View, ViewProps } from "react-native";
|
|
2
2
|
import { ComponentRef, Ref } from "react";
|
|
3
|
-
//#region src/components/stack/index.d.ts
|
|
4
3
|
type StackAlign = 'baseline' | 'center' | 'end' | 'start' | 'stretch';
|
|
5
4
|
type StackGap = 'lg' | 'md' | 'none' | 'sm' | 'xl' | 'xs' | 'xxl' | 'xxs' | 'xxxl';
|
|
6
5
|
type StackJustify = 'around' | 'between' | 'center' | 'end' | 'start';
|
|
@@ -65,6 +64,5 @@ type StackProps = ViewProps & {
|
|
|
65
64
|
* there applies over the stack's own.
|
|
66
65
|
*/
|
|
67
66
|
declare function Stack({ align, direction, gap, justify, style, wrap, ...props }: StackProps): import("react").JSX.Element;
|
|
68
|
-
//#endregion
|
|
69
67
|
export { Stack, type StackAlign, type StackGap, type StackJustify, type StackProps };
|
|
70
68
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { composeStyles, themedStyles } from "../../theme/styles.js";
|
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { StyleSheet, View } from "react-native";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// src/components/stack/index.tsx
|
|
7
7
|
const alignments = StyleSheet.create({
|
|
8
8
|
baseline: { alignItems: "baseline" },
|
|
9
9
|
center: { alignItems: "center" },
|
|
@@ -101,7 +101,6 @@ function Stack(t0) {
|
|
|
101
101
|
} else t5 = $[11];
|
|
102
102
|
return t5;
|
|
103
103
|
}
|
|
104
|
-
//#endregion
|
|
105
104
|
export { Stack };
|
|
106
105
|
|
|
107
106
|
//# sourceMappingURL=index.js.map
|