@kanso-labs/react-native-kanso-ui 0.11.5 → 0.11.6
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 +3 -3
|
@@ -3,7 +3,6 @@ import { StyleProp, View, ViewStyle } from "react-native";
|
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
4
|
import { DateDuration } from "@internationalized/date";
|
|
5
5
|
import { DateRangePickerStateOptions, DateValue } from "react-stately/useDateRangePickerState";
|
|
6
|
-
//#region src/components/date-range-picker/index.d.ts
|
|
7
6
|
type DateRangePickerProps<T extends DateValue = DateValue> = Pick<DateRangePickerStateOptions<T>, 'allowsNonContiguousRanges' | 'defaultOpen' | 'defaultValue' | 'endName' | 'firstDayOfWeek' | 'granularity' | 'hideTimeZone' | 'hourCycle' | 'isDateUnavailable' | 'isOpen' | 'maxValue' | 'minValue' | 'onChange' | 'onOpenChange' | 'placeholderValue' | 'shouldCloseOnSelect' | 'shouldForceLeadingZeros' | 'startName' | 'validate' | 'value'> & {
|
|
8
7
|
/**
|
|
9
8
|
* A hint shown under the field. Replaced by `error` when there is one, so
|
|
@@ -134,6 +133,5 @@ type DateRangePickerProps<T extends DateValue = DateValue> = Pick<DateRangePicke
|
|
|
134
133
|
* `style`, `ref` and `testID` land on the picker as a whole.
|
|
135
134
|
*/
|
|
136
135
|
declare function DateRangePicker<T extends DateValue = DateValue>({ allowsNonContiguousRanges, defaultOpen, defaultValue, endName, firstDayOfWeek, granularity, hideTimeZone, hourCycle, isDateUnavailable, isDisabled, isOpen, isReadOnly, isRequired, label, locale, maxValue, minValue, onChange, onOpenChange, placeholderValue, separator, shouldCloseOnSelect, shouldForceLeadingZeros, showMonthYearMenus, startName, triggerLabel, validate, value, visibleDuration, ...props }: DateRangePickerProps<T>): import("react").JSX.Element;
|
|
137
|
-
//#endregion
|
|
138
136
|
export { DateRangePicker, type DateRangePickerProps };
|
|
139
137
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -9,7 +9,7 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
|
9
9
|
import { createCalendar } from "@internationalized/date";
|
|
10
10
|
import { useDateFieldState } from "react-stately/useDateFieldState";
|
|
11
11
|
import { useDateRangePickerState } from "react-stately/useDateRangePickerState";
|
|
12
|
-
|
|
12
|
+
// src/components/date-range-picker/index.tsx
|
|
13
13
|
function chosenOf(state) {
|
|
14
14
|
const { dateRange } = state;
|
|
15
15
|
return dateRange?.start == null || dateRange.end == null ? null : {
|
|
@@ -415,7 +415,6 @@ function DateRangePicker(t0) {
|
|
|
415
415
|
function triggerOf(props) {
|
|
416
416
|
return /* @__PURE__ */ jsx(PickerTrigger, { ...props });
|
|
417
417
|
}
|
|
418
|
-
//#endregion
|
|
419
418
|
export { DateRangePicker };
|
|
420
419
|
|
|
421
420
|
//# 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/dialog/index.d.ts
|
|
5
4
|
type DialogBodyProps = ScrollViewProps & {
|
|
6
5
|
readonly ref?: Ref<ComponentRef<typeof ScrollView>>;
|
|
7
6
|
};
|
|
@@ -127,6 +126,5 @@ declare function DialogHeader({ style, ...props }: DialogPartProps): import("rea
|
|
|
127
126
|
* `style`, `ref` and `testID` land on React Native's own Text.
|
|
128
127
|
*/
|
|
129
128
|
declare function DialogTitle({ ref, style, ...props }: DialogTitleProps): import("react").JSX.Element;
|
|
130
|
-
//#endregion
|
|
131
129
|
export { Dialog, DialogBody, type DialogBodyProps, DialogContent, type DialogContentProps, DialogFooter, DialogHeader, type DialogPartProps, type DialogProps, DialogTitle, type DialogTitleProps };
|
|
132
130
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, w
|
|
|
11
11
|
import { SafeAreaInsetsContext } from "react-native-safe-area-context";
|
|
12
12
|
import { createContext, use, useEffect, useId, useLayoutEffect, useState } from "react";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
|
-
|
|
14
|
+
// src/components/dialog/index.tsx
|
|
15
15
|
const MIN_WIDTH = 280;
|
|
16
16
|
const MAX_WIDTH = 560;
|
|
17
17
|
const SCALE_FROM = .9;
|
|
@@ -718,7 +718,6 @@ Dialog.Content = DialogContent;
|
|
|
718
718
|
Dialog.Footer = DialogFooter;
|
|
719
719
|
Dialog.Header = DialogHeader;
|
|
720
720
|
Dialog.Title = DialogTitle;
|
|
721
|
-
//#endregion
|
|
722
721
|
export { Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle };
|
|
723
722
|
|
|
724
723
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StyleProp, View, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
3
|
import { Key } from "react-stately";
|
|
4
|
-
//#region src/components/disclosure/index.d.ts
|
|
5
4
|
type DisclosureHeaderProps = {
|
|
6
5
|
/** The header's headline, what the section is about. */
|
|
7
6
|
readonly children?: ReactNode;
|
|
@@ -89,6 +88,5 @@ declare function DisclosureHeader({ children, leading, ref, style, supporting, t
|
|
|
89
88
|
* up with the headline above it, and it is named by the header.
|
|
90
89
|
*/
|
|
91
90
|
declare function DisclosurePanel({ children, ref, role, style, testID }: DisclosurePanelProps): import("react").JSX.Element;
|
|
92
|
-
//#endregion
|
|
93
91
|
export { Disclosure, DisclosureHeader, type DisclosureHeaderProps, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps };
|
|
94
92
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, w
|
|
|
11
11
|
import { createContext, use, useEffect, useId, useState } from "react";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { useDisclosureState } from "react-stately/useDisclosureState";
|
|
14
|
-
|
|
14
|
+
// src/components/disclosure/index.tsx
|
|
15
15
|
const stylesOf = themedStyles(({ spacing }) => StyleSheet.create({ inner: {
|
|
16
16
|
paddingBottom: spacing.lg,
|
|
17
17
|
paddingHorizontal: spacing.lg
|
|
@@ -359,7 +359,6 @@ function useDisclosure(part) {
|
|
|
359
359
|
}
|
|
360
360
|
Disclosure.Header = DisclosureHeader;
|
|
361
361
|
Disclosure.Panel = DisclosurePanel;
|
|
362
|
-
//#endregion
|
|
363
362
|
export { Disclosure, DisclosureHeader, DisclosurePanel };
|
|
364
363
|
|
|
365
364
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StyleProp, View, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
3
|
import { Key } from "react-stately";
|
|
4
|
-
//#region src/components/disclosure-group/index.d.ts
|
|
5
4
|
type DisclosureGroupProps = {
|
|
6
5
|
/**
|
|
7
6
|
* Whether several sections may be open at once. Otherwise opening one
|
|
@@ -56,6 +55,5 @@ type DisclosureGroupProps = {
|
|
|
56
55
|
* positions.
|
|
57
56
|
*/
|
|
58
57
|
declare function DisclosureGroup({ allowsMultipleExpanded, children, defaultExpandedKeys, divided, expandedKeys, isDisabled, onExpandedChange, ref, style, testID }: DisclosureGroupProps): import("react").JSX.Element;
|
|
59
|
-
//#endregion
|
|
60
58
|
export { DisclosureGroup, type DisclosureGroupProps };
|
|
61
59
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -5,7 +5,7 @@ import { View } from "react-native";
|
|
|
5
5
|
import { Children, Fragment, isValidElement } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { useDisclosureGroupState } from "react-stately/useDisclosureGroupState";
|
|
8
|
-
|
|
8
|
+
// src/components/disclosure-group/index.tsx
|
|
9
9
|
/**
|
|
10
10
|
* A stack of `Disclosure` sections that agree about what is open. Pass
|
|
11
11
|
* `expandedKeys` with `onExpandedChange` to hold which are open, or
|
|
@@ -94,7 +94,6 @@ function flatten(children) {
|
|
|
94
94
|
function keyOf(section, index) {
|
|
95
95
|
return isValidElement(section) && section.key !== null ? section.key : String(index);
|
|
96
96
|
}
|
|
97
|
-
//#endregion
|
|
98
97
|
export { DisclosureGroup };
|
|
99
98
|
|
|
100
99
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { PickedFile } from "../../files/index.js";
|
|
|
2
2
|
import { DragTypes, DropEnterEvent, DropEvent, DropExitEvent, DropOperation } from "../../drop/index.js";
|
|
3
3
|
import { StyleProp, View, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
5
|
-
//#region src/components/drop-zone/index.d.ts
|
|
6
5
|
type DropZoneProps = {
|
|
7
6
|
/**
|
|
8
7
|
* Names the target without drawing anything, for a page that already says
|
|
@@ -108,6 +107,5 @@ declare function DropZone({ 'aria-label': ariaLabel, children, getDropOperation,
|
|
|
108
107
|
* which package is missing, and nothing opens.
|
|
109
108
|
*/
|
|
110
109
|
declare function FileTrigger({ acceptedFileTypes, allowsMultiple, children, defaultCamera, onSelect }: FileTriggerProps): import("react").JSX.Element;
|
|
111
|
-
//#endregion
|
|
112
110
|
export { DropZone, type DropZoneProps, FileTrigger, type FileTriggerProps };
|
|
113
111
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { c } from "react/compiler-runtime";
|
|
|
11
11
|
import { Platform, Pressable, StyleSheet, Text, View } from "react-native";
|
|
12
12
|
import { useEffect, useEffectEvent, useRef, useState } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
|
|
14
|
+
// src/components/drop-zone/index.tsx
|
|
15
15
|
const MIN_HEIGHT = 160;
|
|
16
16
|
const stylesOf = themedStyles(({ colors, radii, spacing, stateLayerOpacity }) => {
|
|
17
17
|
const disabled = withOpacity(colors.onSurface, stateLayerOpacity.disabledContent);
|
|
@@ -298,7 +298,6 @@ function pressOf(getDropOperation, onDrop) {
|
|
|
298
298
|
function slotsOf(pick) {
|
|
299
299
|
return { default: pick };
|
|
300
300
|
}
|
|
301
|
-
//#endregion
|
|
302
301
|
export { DropZone, FileTrigger };
|
|
303
302
|
|
|
304
303
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { ButtonLinkForm, ButtonPressForm } from "../../button/index.js";
|
|
|
2
2
|
import { FabSize, FabTone, FabVariant } from "../../fab/index.js";
|
|
3
3
|
import { PressableProps, StyleProp, View, ViewStyle } from "react-native";
|
|
4
4
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
5
|
-
//#region src/components/fab/index.d.ts
|
|
6
5
|
type FabNaming = {
|
|
7
6
|
/**
|
|
8
7
|
* What the FAB does, in words. A FAB without a `label` is an icon
|
|
@@ -75,6 +74,5 @@ type FabProps = (ButtonLinkForm | FabPressForm) & FabNaming & Omit<PressableProp
|
|
|
75
74
|
* site positions over its screen.
|
|
76
75
|
*/
|
|
77
76
|
declare function Fab({ accessibilityHint, children, delayLongPress, disableRipple, href, isDisabled, label, onBlur, onFocus, onHoverIn, onHoverOut, onLongPress, onPress, onPressIn, onPressOut, ref, size, slot, style, tone, type, variant, ...props }: FabProps): import("react").JSX.Element;
|
|
78
|
-
//#endregion
|
|
79
77
|
export { Fab, type FabProps, type FabSize, type FabTone, type FabVariant };
|
|
80
78
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { EXTENDED_FAB_ROLES, FAB_ICON_SIZES, extendedFabSizesOf, fabCornersOf, f
|
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { StyleSheet, Text, View } from "react-native";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
|
-
|
|
11
|
+
// src/components/fab/index.tsx
|
|
12
12
|
const styles = StyleSheet.create({
|
|
13
13
|
base: {
|
|
14
14
|
alignItems: "center",
|
|
@@ -240,7 +240,6 @@ function iconStyleOf(color, size) {
|
|
|
240
240
|
size: FAB_ICON_SIZES[size]
|
|
241
241
|
};
|
|
242
242
|
}
|
|
243
|
-
//#endregion
|
|
244
243
|
export { Fab };
|
|
245
244
|
|
|
246
245
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,7 +2,6 @@ import { FabSize, FabTone } from "../../fab/index.js";
|
|
|
2
2
|
import { HostInstance, PressableProps, StyleProp, View, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
4
|
import { Key } from "react-stately";
|
|
5
|
-
//#region src/components/fab-menu/index.d.ts
|
|
6
5
|
type FabMenuItemProps = Omit<PressableProps, 'children' | 'disabled' | 'id' | 'role' | 'style'> & {
|
|
7
6
|
/** The action's name, drawn as its label. */
|
|
8
7
|
readonly children: ReactNode;
|
|
@@ -115,6 +114,5 @@ declare namespace FabMenuItem {
|
|
|
115
114
|
type: string;
|
|
116
115
|
}, void, unknown>;
|
|
117
116
|
}
|
|
118
|
-
//#endregion
|
|
119
117
|
export { FabMenu, FabMenuItem, type FabMenuItemProps, type FabMenuProps };
|
|
120
118
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -17,7 +17,7 @@ import { useEffect, useRef, useState } from "react";
|
|
|
17
17
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
import { useMenuTriggerState } from "react-stately/useMenuTriggerState";
|
|
19
19
|
import { useTreeState } from "react-stately/useTreeState";
|
|
20
|
-
|
|
20
|
+
// src/components/fab-menu/index.tsx
|
|
21
21
|
const CLOSE_SIZE = 20;
|
|
22
22
|
const RISE_FROM = 8;
|
|
23
23
|
const HAS_MENU = { "aria-haspopup": "menu" };
|
|
@@ -634,7 +634,6 @@ function useRiseIn(placed) {
|
|
|
634
634
|
});
|
|
635
635
|
}
|
|
636
636
|
FabMenu.Item = FabMenuItem;
|
|
637
|
-
//#endregion
|
|
638
637
|
export { FabMenu, FabMenuItem };
|
|
639
638
|
|
|
640
639
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { View, ViewProps } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/feed/index.d.ts
|
|
4
3
|
type FeedProps = Omit<ViewProps, 'children'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The items, each laid into a cell of its own. An element is one item,
|
|
@@ -52,6 +51,5 @@ type FeedProps = Omit<ViewProps, 'children'> & {
|
|
|
52
51
|
* applies over the feed's own.
|
|
53
52
|
*/
|
|
54
53
|
declare function Feed({ children, minItemWidth, style, ...props }: FeedProps): import("react").JSX.Element;
|
|
55
|
-
//#endregion
|
|
56
54
|
export { Feed, type FeedProps };
|
|
57
55
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@ import { c } from "react/compiler-runtime";
|
|
|
4
4
|
import { StyleSheet, View, useWindowDimensions } from "react-native";
|
|
5
5
|
import { Children, Fragment, isValidElement, useState } from "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/components/feed/index.tsx
|
|
8
8
|
const DEFAULT_MIN_ITEM_WIDTH = 180;
|
|
9
9
|
const ROUNDING = .5;
|
|
10
10
|
const EPSILON = 1e-6;
|
|
@@ -161,7 +161,6 @@ function widthTo(onMeasure) {
|
|
|
161
161
|
onMeasure(event.nativeEvent.layout.width);
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
|
-
//#endregion
|
|
165
164
|
export { Feed };
|
|
166
165
|
|
|
167
166
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { FormValidationBehavior, FormValues, ValidationErrors } from "../../form/index.js";
|
|
2
2
|
import { ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/form/index.d.ts
|
|
4
3
|
/** What a form's ref holds. */
|
|
5
4
|
type FormHandle = {
|
|
6
5
|
/**
|
|
@@ -80,6 +79,5 @@ type FormProps = {
|
|
|
80
79
|
* `requestSubmit()` submits it.
|
|
81
80
|
*/
|
|
82
81
|
declare function Form({ children, onSubmit, ref, validationBehavior, validationErrors }: FormProps): import("react").JSX.Element;
|
|
83
|
-
//#endregion
|
|
84
82
|
export { Form, type FormHandle, type FormProps };
|
|
85
83
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -2,7 +2,7 @@ import { FIELD_VALIDATION_BEHAVIOR, FormContext, createRegistry, submitOf } from
|
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { useImperativeHandle, useState } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// src/components/form/index.tsx
|
|
6
6
|
const NO_ERRORS = {};
|
|
7
7
|
/**
|
|
8
8
|
* A form: the fields inside it and what they are told about validation. Pass
|
|
@@ -89,7 +89,6 @@ function Form(t0) {
|
|
|
89
89
|
} else t7 = $[14];
|
|
90
90
|
return t7;
|
|
91
91
|
}
|
|
92
|
-
//#endregion
|
|
93
92
|
export { Form };
|
|
94
93
|
|
|
95
94
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ButtonLinkForm, ButtonPressForm, ButtonToggleForm } from "../../button/index.js";
|
|
2
2
|
import { PressableProps, StyleProp, View, ViewStyle } from "react-native";
|
|
3
3
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
4
|
-
//#region src/components/icon-button/index.d.ts
|
|
5
4
|
type IconButtonProps = (ButtonLinkForm | ButtonPressForm | ButtonToggleForm) & Omit<PressableProps, 'aria-label' | 'children' | 'disabled' | 'style'> & {
|
|
6
5
|
/**
|
|
7
6
|
* What the button does, in words. Required rather than optional: an icon
|
|
@@ -65,6 +64,5 @@ type IconButtonVariant = 'filled' | 'outlined' | 'standard' | 'tonal';
|
|
|
65
64
|
* `style`, `ref` and `testID` land on the `Pressable`.
|
|
66
65
|
*/
|
|
67
66
|
declare function IconButton({ accessibilityHint, children, defaultSelected, delayLongPress, disableRipple, hitSlop: ownHitSlop, href, id, isDisabled: ownDisabled, isPending, isSelected, onBlur, onChange, onFocus, onHoverIn, onHoverOut, onLayout, onLongPress, onPress, onPressIn, onPressOut, pendingLabel, ref, size: ownSize, slot, style, type, variant, ...props }: IconButtonProps): import("react").JSX.Element;
|
|
68
|
-
//#endregion
|
|
69
67
|
export { IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant };
|
|
70
68
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -11,7 +11,7 @@ import { StyleSheet } from "react-native";
|
|
|
11
11
|
import Animated, { useSharedValue } from "react-native-reanimated";
|
|
12
12
|
import { use } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
|
-
|
|
14
|
+
// src/components/icon-button/index.tsx
|
|
15
15
|
const DISABLED = {
|
|
16
16
|
filled: "filledDisabled",
|
|
17
17
|
outlined: "outlinedDisabled",
|
|
@@ -418,7 +418,6 @@ function iconStyleOf(color, size) {
|
|
|
418
418
|
size: ICON_SIZES[size]
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
//#endregion
|
|
422
421
|
export { IconButton };
|
|
423
422
|
|
|
424
423
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { View, ViewProps } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/keycap/index.d.ts
|
|
4
3
|
type KeycapProps = Omit<ViewProps, 'children'> & {
|
|
5
4
|
/** The key's name, as the instruction writes it, such as `Enter` or `Esc`. */
|
|
6
5
|
readonly children?: ReactNode;
|
|
@@ -22,6 +21,5 @@ type KeycapProps = Omit<ViewProps, 'children'> & {
|
|
|
22
21
|
* cap's `View`, and a `style` there applies over its own.
|
|
23
22
|
*/
|
|
24
23
|
declare function Keycap({ children, style, ...props }: KeycapProps): import("react").JSX.Element;
|
|
25
|
-
//#endregion
|
|
26
24
|
export { Keycap, type KeycapProps };
|
|
27
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import { c } from "react/compiler-runtime";
|
|
|
7
7
|
import { Platform, StyleSheet, Text, View } from "react-native";
|
|
8
8
|
import { isValidElement } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/components/keycap/index.tsx
|
|
11
11
|
const SHARE = .8125;
|
|
12
12
|
const LINE = 1.4;
|
|
13
13
|
const RULE = 1;
|
|
@@ -130,7 +130,6 @@ function spoken(node) {
|
|
|
130
130
|
if (node.props.onPress !== void 0 || node.props.children === void 0) return null;
|
|
131
131
|
return spoken(node.props.children);
|
|
132
132
|
}
|
|
133
|
-
//#endregion
|
|
134
133
|
export { Keycap, sentenceLabel };
|
|
135
134
|
|
|
136
135
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Text, TextProps } from "react-native";
|
|
2
2
|
import { ComponentRef, Ref } from "react";
|
|
3
|
-
//#region src/components/link/index.d.ts
|
|
4
3
|
type LinkProps = Omit<TextProps, 'disabled'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Where the link leads. A press opens it through the `RouterProvider`
|
|
@@ -54,6 +53,5 @@ type LinkUnderline = 'always' | 'hover' | 'none';
|
|
|
54
53
|
* `style`, `ref` and `testID` land on React Native's own Text.
|
|
55
54
|
*/
|
|
56
55
|
declare function Link({ href, isDisabled, onPress, style, suppressHighlighting, tone, underline, ...props }: LinkProps): import("react").JSX.Element;
|
|
57
|
-
//#endregion
|
|
58
56
|
export { Link, type LinkProps, type LinkTone, type LinkUnderline };
|
|
59
57
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -7,7 +7,7 @@ import { c } from "react/compiler-runtime";
|
|
|
7
7
|
import { Platform, StyleSheet, Text } from "react-native";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
// src/components/link/index.tsx
|
|
11
11
|
const underlines = StyleSheet.create({
|
|
12
12
|
always: { textDecorationLine: "underline" },
|
|
13
13
|
hover: { textDecorationLine: "none" },
|
|
@@ -185,7 +185,6 @@ function webPropsOf(isDisabled, setHovered, setRingShown) {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
}
|
|
188
|
-
//#endregion
|
|
189
188
|
export { Link };
|
|
190
189
|
|
|
191
190
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CollectionLoadMoreProps, CollectionProps, CollectionRowProps, CollectionSectionProps, loaderNode, rowNode, sectionNode } from "../../collection/index.js";
|
|
2
|
-
//#region src/components/list/index.d.ts
|
|
3
2
|
type ListLoadMoreProps = CollectionLoadMoreProps;
|
|
4
3
|
type ListProps<T extends object = object> = CollectionProps<T>;
|
|
5
4
|
type ListRowProps = CollectionRowProps;
|
|
@@ -69,6 +68,5 @@ declare function ListSection(_props: ListSectionProps): null;
|
|
|
69
68
|
declare namespace ListSection {
|
|
70
69
|
var getCollectionNode: typeof sectionNode;
|
|
71
70
|
}
|
|
72
|
-
//#endregion
|
|
73
71
|
export { List, ListLoadMore, type ListLoadMoreProps, type ListProps, ListRow, type ListRowProps, ListSection, type ListSectionProps };
|
|
74
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Collection, loaderNode, rowNode, sectionNode } from "../../collection/index.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/list/index.tsx
|
|
5
5
|
/**
|
|
6
6
|
* A list of rows, one or more of which can be selected. Selection is React
|
|
7
7
|
* Stately's, as web's is React Aria's: set `selectionMode` to `single` or
|
|
@@ -77,7 +77,6 @@ ListSection.getCollectionNode = sectionNode;
|
|
|
77
77
|
List.Item = ListRow;
|
|
78
78
|
List.LoadMore = ListLoadMore;
|
|
79
79
|
List.Section = ListSection;
|
|
80
|
-
//#endregion
|
|
81
80
|
export { List, ListLoadMore, ListRow, ListSection };
|
|
82
81
|
|
|
83
82
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CollectionLoadMoreProps, CollectionProps, CollectionRowProps, CollectionSectionProps, loaderNode, rowNode, sectionNode } from "../../collection/index.js";
|
|
2
|
-
//#region src/components/list-box/index.d.ts
|
|
3
2
|
type ListBoxItemProps = CollectionRowProps;
|
|
4
3
|
type ListBoxLoadMoreProps = CollectionLoadMoreProps;
|
|
5
4
|
type ListBoxProps<T extends object = object> = CollectionProps<T>;
|
|
@@ -68,6 +67,5 @@ declare function ListBoxSection(_props: ListBoxSectionProps): null;
|
|
|
68
67
|
declare namespace ListBoxSection {
|
|
69
68
|
var getCollectionNode: typeof sectionNode;
|
|
70
69
|
}
|
|
71
|
-
//#endregion
|
|
72
70
|
export { ListBox, ListBoxItem, type ListBoxItemProps, ListBoxLoadMore, type ListBoxLoadMoreProps, type ListBoxProps, ListBoxSection, type ListBoxSectionProps };
|
|
73
71
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Collection, loaderNode, rowNode, sectionNode } from "../../collection/index.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/list-box/index.tsx
|
|
5
5
|
/**
|
|
6
6
|
* A list of options one or more of which can be selected. Selection is React
|
|
7
7
|
* Stately's, as web's is React Aria's: set `selectionMode` to `single` or
|
|
@@ -76,7 +76,6 @@ ListBoxSection.getCollectionNode = sectionNode;
|
|
|
76
76
|
ListBox.Item = ListBoxItem;
|
|
77
77
|
ListBox.LoadMore = ListBoxLoadMore;
|
|
78
78
|
ListBox.Section = ListBoxSection;
|
|
79
|
-
//#endregion
|
|
80
79
|
export { ListBox, ListBoxItem, ListBoxLoadMore, ListBoxSection };
|
|
81
80
|
|
|
82
81
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { View, ViewProps } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/list-detail/index.d.ts
|
|
4
3
|
type ListDetailProps = Omit<ViewProps, 'children'> & {
|
|
5
4
|
/**
|
|
6
5
|
* The selected item's content. It stands on its own, and takes the
|
|
@@ -51,6 +50,5 @@ type ListDetailProps = Omit<ViewProps, 'children'> & {
|
|
|
51
50
|
* The stories show the wiring with Expo Router and React Navigation.
|
|
52
51
|
*/
|
|
53
52
|
declare function ListDetail({ detail, list, showing, style, ...props }: ListDetailProps): import("react").JSX.Element;
|
|
54
|
-
//#endregion
|
|
55
53
|
export { ListDetail, type ListDetailProps };
|
|
56
54
|
//# 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 { SafeAreaView } from "react-native-safe-area-context";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
-
|
|
8
|
+
// src/components/list-detail/index.tsx
|
|
9
9
|
const LIST_PANE = 360;
|
|
10
10
|
const LIST_PANE_EXTRA_LARGE = 412;
|
|
11
11
|
const BOTH = /* @__PURE__ */ new Set([
|
|
@@ -163,7 +163,6 @@ function Pane(t0) {
|
|
|
163
163
|
} else t4 = $[8];
|
|
164
164
|
return t4;
|
|
165
165
|
}
|
|
166
|
-
//#endregion
|
|
167
166
|
export { ListDetail };
|
|
168
167
|
|
|
169
168
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PressableProps, StyleProp, View, ViewProps, ViewStyle } from "react-native";
|
|
2
2
|
import { ComponentRef, ReactNode, Ref } from "react";
|
|
3
|
-
//#region src/components/list-item/index.d.ts
|
|
4
3
|
type InteractiveListItemForm = Omit<PressableProps, 'children' | 'disabled' | 'style'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Makes the row the thing you press: a `Pressable` announced as a button,
|
|
@@ -58,6 +57,5 @@ type StaticListItemForm = Omit<ViewProps, 'children' | 'style'> & {
|
|
|
58
57
|
* own view.
|
|
59
58
|
*/
|
|
60
59
|
declare function ListItem(props: ListItemProps): import("react").JSX.Element;
|
|
61
|
-
//#endregion
|
|
62
60
|
export { ListItem, type ListItemProps };
|
|
63
61
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { RowContent, rowStyleOf } from "../../row/index.js";
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { Pressable, View } from "react-native";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/components/list-item/index.tsx
|
|
10
10
|
function InteractiveListItem(t0) {
|
|
11
11
|
const $ = c(47);
|
|
12
12
|
let children;
|
|
@@ -269,7 +269,6 @@ function StaticListItem(t0) {
|
|
|
269
269
|
} else t5 = $[25];
|
|
270
270
|
return t5;
|
|
271
271
|
}
|
|
272
|
-
//#endregion
|
|
273
272
|
export { ListItem };
|
|
274
273
|
|
|
275
274
|
//# 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/loading-indicator/index.d.ts
|
|
4
3
|
type LoadingIndicatorProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
5
4
|
/**
|
|
6
5
|
* Draws the shape on a circular container in the primary container pair,
|
|
@@ -27,6 +26,5 @@ type LoadingIndicatorProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
|
27
26
|
* which is the view a layout positions.
|
|
28
27
|
*/
|
|
29
28
|
declare function LoadingIndicator({ contained, style, ...props }: LoadingIndicatorProps): import("react").JSX.Element;
|
|
30
|
-
//#endregion
|
|
31
29
|
export { LoadingIndicator, type LoadingIndicatorProps };
|
|
32
30
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -8,7 +8,7 @@ import { StyleSheet, View } from "react-native";
|
|
|
8
8
|
import Animated, { useAnimatedProps, useReducedMotion } from "react-native-reanimated";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
import Svg, { Path } from "react-native-svg";
|
|
11
|
-
|
|
11
|
+
// src/components/loading-indicator/index.tsx
|
|
12
12
|
const SHAPES = {
|
|
13
13
|
cookie4Sided: "polygon(79% 50%, 79.1% 52%, 79.6% 54.2%, 80.4% 56.5%, 81.5% 59%, 82.5% 61.8%, 82.9% 64.7%, 82.9% 67.5%, 82.4% 70.3%, 81.5% 72.9%, 80.2% 75.3%, 78.5% 77.5%, 76.4% 79.4%, 74.1% 80.9%, 71.6% 82%, 68.9% 82.7%, 66.1% 83%, 63.2% 82.8%, 60.4% 82.1%, 57.7% 80.9%, 55.3% 79.9%, 53.1% 79.3%, 51% 79%, 49% 79%, 46.9% 79.3%, 44.7% 79.9%, 42.3% 81%, 39.6% 82.1%, 36.8% 82.8%, 33.9% 83%, 31.1% 82.7%, 28.4% 82%, 25.9% 80.9%, 23.6% 79.4%, 21.5% 77.5%, 19.8% 75.3%, 18.5% 72.9%, 17.6% 70.3%, 17.1% 67.5%, 17.1% 64.7%, 17.5% 61.8%, 18.5% 59%, 19.6% 56.5%, 20.4% 54.2%, 20.9% 52%, 21% 50%, 20.9% 48%, 20.4% 45.8%, 19.6% 43.5%, 18.5% 41%, 17.5% 38.2%, 17.1% 35.3%, 17.1% 32.5%, 17.6% 29.7%, 18.5% 27.1%, 19.8% 24.7%, 21.5% 22.5%, 23.6% 20.6%, 25.9% 19.1%, 28.4% 18%, 31.1% 17.3%, 33.9% 17%, 36.8% 17.2%, 39.6% 17.9%, 42.3% 19.1%, 44.7% 20.1%, 46.9% 20.7%, 49% 21%, 51% 21%, 53.1% 20.7%, 55.3% 20.1%, 57.7% 19%, 60.4% 17.9%, 63.2% 17.2%, 66.1% 17%, 68.9% 17.3%, 71.6% 18%, 74.1% 19.1%, 76.4% 20.6%, 78.5% 22.5%, 80.2% 24.7%, 81.5% 27.1%, 82.4% 29.7%, 82.9% 32.5%, 82.9% 35.3%, 82.5% 38.2%, 81.5% 41%, 80.4% 43.5%, 79.6% 45.8%, 79.1% 48%)",
|
|
14
14
|
cookie9Sided: "polygon(82.5% 50%, 81.4% 52.2%, 80.4% 54.3%, 79.9% 56.4%, 79.8% 58.6%, 80.2% 61%, 80.2% 63.4%, 79.6% 65.8%, 78.6% 67.9%, 77.1% 69.7%, 75.2% 71.1%, 72.9% 72.1%, 70.8% 73.1%, 69.1% 74.4%, 67.6% 76.1%, 66.3% 78.3%, 64.7% 80.1%, 62.7% 81.4%, 60.5% 82.3%, 58.1% 82.6%, 55.7% 82.4%, 53.3% 81.7%, 51.1% 81.2%, 48.9% 81.2%, 46.7% 81.7%, 44.3% 82.4%, 41.9% 82.6%, 39.5% 82.3%, 37.3% 81.4%, 35.3% 80.1%, 33.7% 78.3%, 32.4% 76.1%, 30.9% 74.4%, 29.2% 73.1%, 27.1% 72.1%, 24.8% 71.1%, 22.9% 69.7%, 21.4% 67.9%, 20.4% 65.8%, 19.8% 63.4%, 19.8% 61%, 20.2% 58.6%, 20.1% 56.4%, 19.6% 54.3%, 18.6% 52.2%, 17.5% 50%, 17.1% 47.7%, 17.1% 45.4%, 17.7% 43.1%, 18.7% 41%, 20.3% 39.2%, 22.1% 37.6%, 23.4% 35.9%, 24.4% 34%, 24.9% 31.8%, 25.5% 29.5%, 26.6% 27.4%, 28.1% 25.6%, 29.9% 24.2%, 32% 23.3%, 34.3% 22.8%, 36.7% 22.7%, 38.8% 22.4%, 40.8% 21.6%, 42.6% 20.4%, 44.5% 18.9%, 46.6% 17.9%, 48.9% 17.4%, 51.1% 17.4%, 53.4% 17.9%, 55.5% 18.9%, 57.4% 20.4%, 59.2% 21.6%, 61.2% 22.4%, 63.3% 22.7%, 65.7% 22.8%, 68% 23.3%, 70.1% 24.2%, 71.9% 25.6%, 73.4% 27.4%, 74.5% 29.5%, 75.1% 31.8%, 75.6% 34%, 76.6% 35.9%, 77.9% 37.6%, 79.7% 39.2%, 81.3% 41%, 82.3% 43.1%, 82.9% 45.4%, 82.9% 47.7%)",
|
|
@@ -168,7 +168,6 @@ function LoadingIndicator(t0) {
|
|
|
168
168
|
} else t9 = $[13];
|
|
169
169
|
return t9;
|
|
170
170
|
}
|
|
171
|
-
//#endregion
|
|
172
171
|
export { LoadingIndicator };
|
|
173
172
|
|
|
174
173
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,7 +3,6 @@ import "../../overlay/index.js";
|
|
|
3
3
|
import { HostInstance, PressableProps, StyleProp, ViewProps, ViewStyle } from "react-native";
|
|
4
4
|
import { ReactElement, ReactNode, Ref } from "react";
|
|
5
5
|
import { Key, Selection, SelectionMode } from "react-stately";
|
|
6
|
-
//#region src/components/menu/index.d.ts
|
|
7
6
|
type ItemNodeProps = MenuItemProps & {
|
|
8
7
|
readonly submenu?: ReactElement<MenuContentProps>;
|
|
9
8
|
};
|
|
@@ -305,6 +304,5 @@ declare namespace MenuSubmenu {
|
|
|
305
304
|
type: string;
|
|
306
305
|
}, void, unknown>;
|
|
307
306
|
}
|
|
308
|
-
//#endregion
|
|
309
307
|
export { Menu, type MenuAlign, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLoadMore, type MenuLoadMoreProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, type MenuSeparatorProps, type MenuSide, MenuSubmenu, type MenuSubmenuProps, type MenuTrigger };
|
|
310
308
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -21,7 +21,7 @@ import { Children, createContext, use, useEffect, useId, useRef, useState } from
|
|
|
21
21
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
import { useMenuTriggerState, useSubmenuTriggerState } from "react-stately/useMenuTriggerState";
|
|
23
23
|
import { useTreeState } from "react-stately/useTreeState";
|
|
24
|
-
|
|
24
|
+
// src/components/menu/index.tsx
|
|
25
25
|
const MENU_MIN = 112;
|
|
26
26
|
const MENU_MAX = 280;
|
|
27
27
|
const CHECK_SIZE = 24;
|
|
@@ -1270,7 +1270,6 @@ Menu.LoadMore = MenuLoadMore;
|
|
|
1270
1270
|
Menu.Section = MenuSection;
|
|
1271
1271
|
Menu.Separator = MenuSeparator;
|
|
1272
1272
|
Menu.Submenu = MenuSubmenu;
|
|
1273
|
-
//#endregion
|
|
1274
1273
|
export { Menu, MenuContent, MenuItem, MenuLoadMore, MenuSection, MenuSeparator, MenuSubmenu };
|
|
1275
1274
|
|
|
1276
1275
|
//# 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/meter/index.d.ts
|
|
5
4
|
type MeterProps = Omit<ViewProps, 'children' | 'style'> & {
|
|
6
5
|
/**
|
|
7
6
|
* How the value reads.
|
|
@@ -69,6 +68,5 @@ type MeterTone = Extract<IndicatorTone, 'negative' | 'positive' | 'primary'>;
|
|
|
69
68
|
* a whole, which is the view a layout positions.
|
|
70
69
|
*/
|
|
71
70
|
declare function Meter({ 'aria-label': ariaLabel, formatOptions, label, locale, maxValue, minValue, showValue, style, tone, value, valueLabel, ...props }: MeterProps): import("react").JSX.Element;
|
|
72
|
-
//#endregion
|
|
73
71
|
export { Meter, type MeterProps, type MeterTone };
|
|
74
72
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -6,7 +6,7 @@ import { IndicatorLabels, IndicatorLine, readingOf, useEased, useIndicatorColors
|
|
|
6
6
|
import { c } from "react/compiler-runtime";
|
|
7
7
|
import { StyleSheet, View } from "react-native";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
|
|
9
|
+
// src/components/meter/index.tsx
|
|
10
10
|
const styles = StyleSheet.create({ line: { alignSelf: "stretch" } });
|
|
11
11
|
/**
|
|
12
12
|
* How full something is, on a scale it names: disk used, storage left, a
|
|
@@ -175,7 +175,6 @@ function Meter(t0) {
|
|
|
175
175
|
} else t16 = $[44];
|
|
176
176
|
return t16;
|
|
177
177
|
}
|
|
178
|
-
//#endregion
|
|
179
178
|
export { Meter };
|
|
180
179
|
|
|
181
180
|
//# sourceMappingURL=index.js.map
|